From f84a7ca5bdfe31760d0746a34d4112728775757a Mon Sep 17 00:00:00 2001 From: Ayan Sinha Mahapatra Date: Wed, 21 Oct 2026 14:01:06 -0700 Subject: [PATCH 1/3] Update the license sync script to fetch from spdx licenses Update the license sync script to fetch from spdx licenses, attempt to match to existing scancode licenses and rules, and add new licenses or update existing licenses as required accordingly. Also add matched license detections as debug for imperfect license detections for new licenses. Signed-off-by: Ayan Sinha Mahapatra --- etc/scripts/licenses/synclic.py | 719 ++++++++++++++++---------------- 1 file changed, 361 insertions(+), 358 deletions(-) diff --git a/etc/scripts/licenses/synclic.py b/etc/scripts/licenses/synclic.py index e3208430f81..2b1313ff865 100644 --- a/etc/scripts/licenses/synclic.py +++ b/etc/scripts/licenses/synclic.py @@ -18,18 +18,31 @@ from os.path import exists from os.path import realpath from pprint import pprint +from dataclasses import dataclass, field import click import requests from commoncode import fetch from commoncode import fileutils +from license_expression import Licensing +from saneyaml import dump as saneyaml_dump + import licensedcode from licensedcode.cache import get_licenses_by_spdx_key from licensedcode import models from licensedcode.models import load_licenses from licensedcode.models import License +from licensedcode.models import licenses_data_dir +from licensedcode.models import rules_data_dir + +from licensedcode.detection import detect_licenses +from licensedcode.detection import analyze_detection +from licensedcode.detection import DetectionCategory + +from scancode_config import spdx_license_list_version + """ Sync and update the ScanCode licenses against: @@ -93,34 +106,37 @@ class ExternalLicensesSource: # from this source. They can only be set when creating a new license. non_updatable_attributes = tuple() - def __init__(self, external_base_dir=None): + external_base_dirname = None + + def __init__(self): """ `external_base_dir` is the base directory where the License objects are dumped as a pair of .LICENSE/.yml files. """ - if external_base_dir: - external_base_dir = realpath(external_base_dir) - self.external_base_dir = external_base_dir - - # we use four sub-directories: - # we store the original fetched licenses in this directory - self.original_dir = os.path.join(external_base_dir, "original") - # we store updated external licenses in this directory - self.update_dir = os.path.join(external_base_dir, "updated") - # we store new external licenses in this directory - self.new_dir = os.path.join(external_base_dir, "new") - - if not exists(self.original_dir): - mkdir(self.original_dir) - - # always cleanup updated and new - if exists(self.update_dir): - fileutils.delete(self.update_dir) - mkdir(self.update_dir) - - if exists(self.new_dir): - fileutils.delete(self.new_dir) - mkdir(self.new_dir) + self.external_base_dir = realpath(self.external_base_dirname) + if exists(self.external_base_dir): + fileutils.delete(self.external_base_dir) + mkdir(self.external_base_dir) + + # we use four sub-directories: + # we store the original fetched licenses in this directory + self.original_dir = os.path.join(self.external_base_dir, "original") + # we store updated external licenses in this directory + self.update_dir = os.path.join(self.external_base_dir, "updated") + # we store new external licenses in this directory + self.new_dir = os.path.join(self.external_base_dir, "new") + + if not exists(self.original_dir): + mkdir(self.original_dir) + + # always cleanup updated and new + if exists(self.update_dir): + fileutils.delete(self.update_dir) + mkdir(self.update_dir) + + if exists(self.new_dir): + fileutils.delete(self.new_dir) + mkdir(self.new_dir) def get_licenses( self, @@ -185,97 +201,6 @@ def fetch_licenses(self, scancode_licenses, **kwargs): raise NotImplementedError -def get_key_through_text_match(key, text, scancode_licenses, match_approx=False): - """ - Match text and returna matched license key or None. - """ - if TRACE_DEEP: - print("Matching text for:", key, end=". ") - new_key, exact, score, match_text = get_match(text) - if not new_key: - if TRACE_DEEP: - print("Not TEXT MATCHED:", key, end=". ") - return None - if exact is True and score == 100: - if TRACE_DEEP: - print("EXACT match to:", new_key, "text:\n", match_text) - return new_key - - if match_approx: - if exact is False: - if TRACE_DEEP: - print("OK matched to:", new_key, "with score:", score, "text:\n", match_text) - return new_key - - if exact is None: - if TRACE_DEEP: - print("WEAK matched to:", new_key, "with score:", score, "text:\n", match_text) - return new_key - - if exact == -1: - if TRACE_DEEP: - print("JUNK MATCH to:", new_key, "with score:", score, "text:\n", match_text) - return new_key - - else: - if TRACE_DEEP: - print( - "SKIPPED: WEAK/JUNK MATCH to:", new_key, "with score:", score, "text:\n", match_text - ) - - -def get_match(text): - """ - Return a tuple of (license key, True if exact match, match score, match text) - e.g.: - - top matched license key or None, - - True if this an exact match, False if the match is ok, None if the match is weak, - - match score or 0 or None - - matched text or None - """ - - from licensedcode.cache import get_index - - idx = get_index() - matches = list(idx.match(query_string=text, min_score=80)) - if not matches: - return None, None, 0, None - - match = matches[0] - matched_text = match.matched_text(whole_lines=False) - query = match.query - query_len = len(query.whole_query_run().tokens) - rule = match.rule - rule_licenses = rule.license_keys() - key = rule_licenses[0] - - is_exact = ( - len(matches) == 1 - and rule.is_from_license - and len(rule_licenses) == 1 - and match.matcher == "1-hash" - and match.score() == 100 - and match.len() == query_len - ) - - if is_exact: - return key, True, 100, matched_text - - is_ok = len(rule_licenses) == 1 and match.coverage() > 95 and match.score() > 95 - if is_ok: - return key, False, match.score(), matched_text - - is_weak = len(rule_licenses) == 1 and match.coverage() > 90 and match.score() > 90 - if is_weak: - return key, None, match.score(), matched_text - - if match.score() > 85: - # junk match - return key, -1, match.score(), matched_text - else: - return None, None, None, None - - def get_response(url, headers, params): """ Return a native Python object of the JSON response of a GET HTTP @@ -313,6 +238,7 @@ class SpdxSource(ExternalLicensesSource): """ matching_key = "spdx_license_key" + external_base_dirname = "spdx_licenses" updatable_attributes = ( "spdx_license_key", @@ -328,6 +254,8 @@ class SpdxSource(ExternalLicensesSource): "notes", ) + spdx_license_list_version = spdx_license_list_version + def fetch_licenses( self, scancode_licenses=None, @@ -377,6 +305,8 @@ def fetch_spdx_licenses( else: tag = commitish + self.spdx_license_list_version = tag + # fetch licenses and exceptions # note that exceptions data have -- weirdly enough -- a different schema zip_url = "https://github.com/{from_repo}/archive/{tag}.zip".format(**locals()) @@ -509,6 +439,7 @@ class DejaSource(ExternalLicensesSource): """ License source for DejaCode licenses fetched through its API. """ + external_base_dirname = "deja_licenses" key_attribute = "key" @@ -1076,12 +1007,44 @@ def update_external(_attrib, _sc_val, _ext_val): return updated_scancode_attributes, updated_external_attributes +@dataclass +class LicenseSyncMappingsandResults: + """ + Stores all license key -> license instance mappings and all results/debug + information required for performing a license synchronization from another + source. + """ + external_source : SpdxSource|DejaSource + scancode_licenses : dict = field(default_factory=dict) + + # track changes with sets of license keys + identical_licenses: set[str] = field(default_factory=set) + added_to_scancode: set[str] = field(default_factory=set) + added_to_external: set[str] = field(default_factory=set) + updated_in_scancode: set[str] = field(default_factory=set) + updated_in_external: set[str] = field(default_factory=set) + + # extra fields to track results/debug issues + unmatched_scancode_by_key : dict = field(default_factory=dict) + + # license key: license instance pairs for scancode/external licenses + # by scancode/spdx license keys + externals_by_key : dict = field(default_factory=dict) + externals_by_spdx_key : dict = field(default_factory=dict) + + @property + def scancodes_by_key(self): + return self.scancode_licenses.by_key + + @property + def scancodes_by_spdx_key(self): + return self.scancode_licenses.by_spdx_key + + def synchronize_licenses( scancode_licenses, external_source, - use_spdx_key=False, - match_text=False, - match_approx=False, + from_spdx=False, commitish=None, use_cache=False, ): @@ -1119,54 +1082,44 @@ def synchronize_licenses( find a possible license text match with a license """ - if TRACE: - print("Synchronize_licenses using SPDX keys:", use_spdx_key) - - # mappings of key -> License - scancodes_by_key = scancode_licenses.by_key - if TRACE_DEEP: start = time.time() - externals_by_key = external_source.get_licenses( + mappings_results = LicenseSyncMappingsandResults( + external_source=external_source, + scancode_licenses=scancode_licenses, + ) + mappings_results.externals_by_key = external_source.get_licenses( scancode_licenses, commitish=commitish, use_cache=use_cache, ) + mappings_results.externals_by_spdx_key = get_licenses_by_spdx_key( + licenses=mappings_results.externals_by_key.values(), + ) if TRACE_DEEP: print("Fetched all externals_by_key licenses in:", int(time.time() - start)) - if use_spdx_key: - scancodes_by_key = scancode_licenses.by_spdx_key - externals_by_key = get_licenses_by_spdx_key(externals_by_key.values()) - - externals_by_spdx_key = get_licenses_by_spdx_key(externals_by_key.values()) - - # track changes with sets of license keys - same = set() - added_to_scancode = set() - added_to_external = set() - updated_in_scancode = set() - updated_in_external = set() - - unmatched_scancode_by_key = {} + if from_spdx: + scancode_licenses_by_keys = mappings_results.scancodes_by_spdx_key + external_licenses_by_keys = mappings_results.externals_by_spdx_key + else: + scancode_licenses_by_keys = mappings_results.scancodes_by_key + external_licenses_by_keys = mappings_results.externals_by_key # FIXME: track deprecated # removed = set() # 1. iterate scancode licenses and compare with other - for matching_key, scancode_license in sorted(scancodes_by_key.items()): - - if not TRACE: - print(".", end="") + for scancode_key, scancode_license in sorted(scancode_licenses_by_keys.items()): # does this scancode license exists in others based on the matching key? - external_license = externals_by_key.get(matching_key) + external_license = external_licenses_by_keys.get(scancode_key) if not external_license: if TRACE_DEEP: - print("ScanCode license not in External:", matching_key) - unmatched_scancode_by_key[scancode_license.key] = scancode_license + print("ScanCode license not in External:", scancode_key) + mappings_results.unmatched_scancode_by_key[scancode_license.key] = scancode_license continue # the matching key exists on both sides: merge/update both licenses @@ -1174,233 +1127,285 @@ def synchronize_licenses( scancode_license=scancode_license, external_license=external_license, updatable_attributes=external_source.updatable_attributes, - from_spdx=use_spdx_key, + from_spdx=from_spdx, ) if not scancode_updated and not external_updated: if TRACE_DEEP: - print("License attributes are identical:", matching_key) - same.add(matching_key) + print("License attributes are identical:", scancode_key) + mappings_results.identical_licenses.add(scancode_key) if scancode_updated: if TRACE: - print( - "ScanCode license updated: SPDX:", - use_spdx_key, - matching_key, - end=". Attributes: ", - ) + print("ScanCode license updated: SPDX:", from_spdx, scancode_key) for attrib, oldv, newv in scancode_updated: if TRACE: - print(" %(attrib)s: %(oldv)r -> %(newv)r" % locals()) - updated_in_scancode.add(matching_key) + print(f" {attrib}: {oldv} -> {newv}") + mappings_results.updated_in_scancode.add(scancode_key) if external_updated: if TRACE: - print( - "External license updated: SPDX:", - use_spdx_key, - matching_key, - end=". Attributes: ", - ) + print("ScanCode license updated: SPDX:", from_spdx, scancode_key) for attrib, oldv, newv in external_updated: if TRACE: - print(" %(attrib)s: %(oldv)r -> %(newv)r" % locals()) - updated_in_external.add(matching_key) + print(f" {attrib}: {oldv} -> {newv}") + updated_in_external.add(scancode_key) # 2. iterate other licenses and compare with ScanCode - if TRACE: - print() - for matching_key, external_license in sorted(externals_by_key.items()): + for external_key, external_license in sorted(external_licenses_by_keys.items()): # does this key exists in scancode? - scancode_license = scancodes_by_key.get(matching_key) + scancode_license = scancode_licenses_by_keys.get(external_key) if scancode_license: # we already dealt with this in the first loop continue - if not TRACE: - print(".", end="") + # Case: key doesn't exist in scancode but exists in external source + # so we try to match to existing licenses/rules + print(f"processing new license: {external_key}") - if match_text: + detections = list(detect_licenses(query_string=external_license.text)) + license_added = add_new_license_from_sources( + external_key=external_key, + external_license=external_license, + detections=detections, + added_to_scancode=mappings_results.added_to_scancode, + ) + if license_added: + continue - matched_key = get_key_through_text_match( - key=matching_key, - text=external_license.text, - scancode_licenses=scancode_licenses, - match_approx=match_approx, - ) + add_matched_license_from_sources( + external_key=external_key, + external_license=external_license, + detections=detections, + scancodes_by_key=mappings_results.scancodes_by_key, + added_to_scancode=mappings_results.added_to_scancode, + external_source=external_source, + ) - if TRACE: - print( - "External license with different key:", - matching_key, - "and text matched to ScanCode key:", - matched_key, - ) + # 3. For scancode licenses that were not matched to anything in external add them in external + # in the case that the external source is dejacode. + if not from_spdx: + if TRACE: + print() + print("Processing unmatched_scancode_by_key.") + + for lkey, scancode_license in sorted(mappings_results.unmatched_scancode_by_key.items()): + if lkey in set( + [ + "here-proprietary" + # these licenses are ignored for now for some weirdness + # invalid case + "sun-jta-spec-1.0.1b", + "sun-jta-spec-1.0.1B", + ] + ): + continue - if matched_key: - print( - "External license with different key:", - matching_key, - "and text matched to ScanCode key:", - matched_key, - ) - if matched_key in unmatched_scancode_by_key: - del unmatched_scancode_by_key[matched_key] + if scancode_license.is_deprecated: + continue - scancode_license = scancodes_by_key.get(matched_key) - if TRACE: - print("scancode_license:", matching_key, scancode_license) + scancode_license.dump(licenses_data_dir=external_source.new_dir) + mappings_results.added_to_external.add(lkey) + mappings_results.externals_by_key[lkey] = scancode_license - scancode_updated, external_updated = merge_licenses( - scancode_license=scancode_license, - external_license=external_license, - updatable_attributes=external_source.updatable_attributes, - from_spdx=use_spdx_key, - ) + if TRACE_DEEP: + print("ScanCode license key not in External:", lkey, "created in External.") - if not scancode_updated and not external_updated: - if TRACE_DEEP: - print("License attributes are identical:", matching_key) - same.add(matching_key) + if TRACE_DEEP: + print( + "updated_in_external:", + len(mappings_results.updated_in_external), + "added_to_external:", + len(mappings_results.added_to_external), + ) - if scancode_updated: - if TRACE: - print( - "ScanCode license updated: SPDX:", - use_spdx_key, - matching_key, - end=". Attributes: ", - ) - for attrib, oldv, newv in scancode_updated: - if TRACE: - print(" %(attrib)s: %(oldv)r -> %(newv)r" % locals()) - updated_in_scancode.add(matching_key) - - if external_updated: - if TRACE: - print( - "External license updated: SPDX:", - use_spdx_key, - matching_key, - end=". Attributes: ", - ) - for attrib, oldv, newv in external_updated: - if TRACE: - print(" %(attrib)s: %(oldv)r -> %(newv)r" % locals()) - updated_in_external.add(matching_key) + for key in sorted(mappings_results.added_to_external): + lic = scancode_licenses_by_keys[key] + if not lic.owner: + print("New external license without owner:", key) - else: - # Create a new ScanCode license - external_license.key = matching_key - external_license.dump( - licenses_data_dir=licensedcode.models.licenses_data_dir + print() + print("#####################################################") + print("Same licenses: ", len(mappings_results.identical_licenses)) + print("Add to ScanCode: ", len(mappings_results.added_to_scancode)) + print("Updated in ScanCode: ", len(mappings_results.updated_in_scancode)) + print("Added to External:: ", len(mappings_results.added_to_external)) + print("Updated in External: ", len(mappings_results.updated_in_external)) + print("#####################################################") + + added_to_external = [mappings_results.externals_by_key[k] for k in mappings_results.added_to_external] + updated_in_external = [mappings_results.externals_by_key[k] for k in mappings_results.updated_in_external] + external_source.externals_by_key = mappings_results.externals_by_key + return sorted(added_to_external), sorted(updated_in_external) + + +def add_new_license_from_sources(external_key, external_license, detections, added_to_scancode): + + # If there are no detections, multiple detections, or imperfect detections, + # we likely need a new license added to sacncode, after reviewing the matches + # This is same for both sources: spdx/dejacode licenses + if not detections: + print(f"No detections at: {external_key}") + external_license.notes = "No licenses detected by scancode on this text" + external_license.dump(licenses_data_dir=licenses_data_dir) + added_to_scancode.add(external_key) + return True + + if len(detections) != 1: + print(f"More detections: more than one detections {external_key}") + notes = "Multiple licenses detected by scancode on this text" + "\n" + for detection in detections: + notes += saneyaml_dump( + detection.to_dict(include_text=True, license_text_diagnostics=True, license_diagnostics=True) ) - added_to_scancode.add(matching_key) - scancodes_by_key[matching_key] = external_license - if TRACE: - print( - "External license key not in ScanCode:", - matching_key, - "created in ScanCode.", - "SPDX:", - use_spdx_key, - ) + external_license.notes = notes + external_license.dump(licenses_data_dir=licenses_data_dir) + added_to_scancode.add(external_key) + return True + + detection = detections[0] + analysis = analyze_detection(detection.matches) + print(f"Detection Analysis: {analysis}") + + # Create a new license if they are low quality matches + if analysis == DetectionCategory.LOW_QUALITY_MATCH_FRAGMENTS.value: + external_license.dump(licenses_data_dir=licenses_data_dir) + added_to_scancode.add(external_key) + return True + + # These has to be reviewed, so creating new license with added diagnostics + elif analysis == DetectionCategory.IMPERFECT_COVERAGE.value or analysis == DetectionCategory.EXTRA_WORDS.value: + print(f"WARNING: review imperfect detections: {external_key}") + notes = "WARNING: review imperfect detections" + "\n" + external_license.notes = notes + saneyaml_dump( + detection.to_dict(include_text=True, license_text_diagnostics=True, license_diagnostics=True) + ) + external_license.dump(licenses_data_dir=licenses_data_dir) + added_to_scancode.add(external_key) + return True + + elif analysis != DetectionCategory.PERFECT_DETECTION.value: + print(f"WARNING: Other detection type: {external_key}") + notes = "WARNING: Other detection type" + "\n" + external_license.notes = notes + saneyaml_dump( + detection.to_dict(include_text=True, license_text_diagnostics=True, license_diagnostics=True) + ) + external_license.dump(licenses_data_dir=licenses_data_dir) + added_to_scancode.add(external_key) + return True - # 3. For scancode licenses that were not matched to anything in external add them in external - if TRACE: - print() - print("Processing unmatched_scancode_by_key.") + return False - for lkey, scancode_license in sorted(unmatched_scancode_by_key.items()): - if lkey in set( - [ - "here-proprietary" - # these licenses are ignored for now for some weirdness - # invalid case - "sun-jta-spec-1.0.1b", - "sun-jta-spec-1.0.1B", - ] - ): - continue - if scancode_license.is_deprecated: - continue +def add_matched_license_from_sources(external_key, external_license, detections, scancodes_by_key, added_to_scancode, external_source): + # If they are a perfect detection to existing licenses/rules + # we have to update that license with the new key or + # requalify the rule as a license - scancode_license.dump(licenses_data_dir=external_source.new_dir) - added_to_external.add(lkey) - externals_by_key[lkey] = scancode_license + license_source_note = "" + if isinstance(external_source, SpdxSource): + license_source_note = f"Added in SPDX license list {external_source.spdx_license_list_version} \n" - if TRACE_DEEP: - print("ScanCode license key not in External:", lkey, "created in External.") + deprecated_rules = [] + licensing = Licensing() - # finally write changes in place for updated and new - for k in sorted(updated_in_scancode | added_to_scancode): - lic = scancodes_by_key[k] - if not lic: - raise Exception(k) - models.update_ignorables(lic, verbose=False) - lic.dump(licenses_data_dir=licensedcode.models.licenses_data_dir) + detection = detections[0] + license_keys = licensing.license_keys(detection.license_expression) + if len(license_keys) != 1: + print(f"More detections: perfect detections to more than 1 license: {external_key}") + notes = "WARNING: perfect detections to more than 1 license/rules" + "\n" + external_license.notes = notes + saneyaml_dump( + detection.to_dict(include_text=True, license_text_diagnostics=True, license_diagnostics=True) + ) + external_license.dump(licenses_data_dir=licenses_data_dir) + added_to_scancode.add(external_key) + return - if TRACE_DEEP: - print( - "updated_in_external:", - len(updated_in_external), - "added_to_external:", - len(added_to_external), + detected_license_key = license_keys[0] + scancode_license_for_spdx = scancodes_by_key.get(detected_license_key) + if not scancode_license_for_spdx: + return + + # If this is a generic license, then the rule is the new license + if scancode_license_for_spdx.is_generic: + if len(detection.matches) != 1: + print(f"ERROR: More detections: more matches in generic: {external_key}") + return + + match = detection.matches[0] + rule = match.rule + rule.is_deprecated = True + deprecated_rules.append(rule.identifier) + notes = ( + license_source_note + + "Replaced by license: " + str(external_key) + ".LICENSE" + ) + if rule.notes: + notes = "\n" + notes + rule.notes += notes + else: + rule.notes = notes + rule.dump(rules_data_dir=rules_data_dir) + external_license.notes = ( + license_source_note + + "This was previously the license rule: " + str(rule.identifier) ) - for k in sorted(updated_in_external | added_to_external): - lic = externals_by_key[k] - if not lic: - raise Exception(f"Failed to process added or updated license: {k}") - lic.dump(licenses_data_dir=licensedcode.models.licenses_data_dir) - - # TODO: at last: print report of incorrect OTHER licenses to submit - # updates eg. make API calls to DejaCode to create or update - # licenses and submit review request e.g. submit requests to SPDX - # for addition - for key in sorted(added_to_external): - lic = externals_by_key[key] - if not lic.owner: - print("New external license without owner:", key) + external_license.dump(licenses_data_dir=licenses_data_dir) + return - print() - print("#####################################################") - print("Same licenses: ", len(same)) - print("Add to ScanCode: ", len(added_to_scancode)) - print("Updated in ScanCode: ", len(updated_in_scancode)) - print("Added to External:: ", len(added_to_external)) - print("Updated in External: ", len(updated_in_external)) - print("#####################################################") + spdx_old_key = scancode_license_for_spdx.spdx_license_key + if "LicenseRef-scancode" in spdx_old_key: + print(f"Updating external SPDX key: from {spdx_old_key} to {external_license.spdx_license_key}") + old_urls = scancode_license_for_spdx.other_urls + new_urls = external_license.other_urls + scancode_license_for_spdx.other_urls = list(set(old_urls + new_urls)) + + scancode_license_for_spdx.other_spdx_license_keys= [spdx_old_key] + scancode_license_for_spdx.spdx_license_key = external_license.spdx_license_key + scancode_license_for_spdx.dump(licenses_data_dir=licenses_data_dir) + return - added_to_external = [externals_by_key[k] for k in added_to_external] - updated_in_external = [externals_by_key[k] for k in updated_in_external] - external_source.externals_by_key = externals_by_key - return sorted(added_to_external), sorted(updated_in_external) + if len(detection.matches) == 1 and ".RULE" in detection.matches[0].rule.identifier: + rule_id = detection.matches[0].rule.identifier + print(f"Matched to an existing license rule: from {spdx_old_key} to {rule_id}") + deprecated_rules.append(rule_id) + rule = detection.matches[0].rule + rule.is_deprecated = True + notes = ( + license_source_note + + + "Replaced by license: " + str(external_key) + ) + if rule.notes: + notes = "\n" + notes + rule.notes += notes + else: + rule.notes = notes + rule.dump(rules_data_dir=rules_data_dir) + external_license.notes = ( + license_source_note + + "This was previously the license rule: " + str(rule.identifier) + ) + external_license.dump(licenses_data_dir=licenses_data_dir) + return + + print(f"Matched to a license with existing SPDX key: from {external_key} to {external_license.spdx_license_key}") + external_license.notes = saneyaml_dump( + detection.to_dict(include_text=True, license_text_diagnostics=True, license_diagnostics=True) + ) + notes = "\n" + "Exact match to license: " + str(spdx_old_key) + external_license.notes += notes + external_license.dump(licenses_data_dir=licenses_data_dir) + added_to_scancode.add(external_key) + return -@click.command() -@click.argument("license_dir", type=click.Path(), metavar="DIR") +@click.command(name='sync-licenses') @click.option( "-s", "--source", type=click.Choice(EXTERNAL_LICENSE_SYNCHRONIZATION_SOURCES), help="Select an external license source.", ) -@click.option( - "-m", - "--match-text", - is_flag=True, - default=False, - help="Match external license texts with license detection to find a matching ScanCode license.", -) -@click.option( - "-a", - "--match-approx", - is_flag=True, - default=False, - help="Include approximate license detection matches when matching ScanCode license.", -) @click.option("-t", "--trace", is_flag=True, default=False, help="Print execution trace.") @click.option( "--create-external", @@ -1427,11 +1432,8 @@ def synchronize_licenses( help="Use cached data, do not re-fetch external licenses. Instead, reuse previously fetched external licenses if available.", ) @click.help_option("-h", "--help") -def cli( - license_dir, +def sync_licenses( source, - match_text, - match_approx, trace, create_external, update_external, @@ -1453,45 +1455,46 @@ def cli( TRACE = trace licenses_source_class = EXTERNAL_LICENSE_SYNCHRONIZATION_SOURCES[source] - external_source = licenses_source_class(license_dir) + external_source = licenses_source_class() scancode_licenses = ScanCodeLicenses() - use_spdx_key = source == "spdx" + from_spdx = source == "spdx" added_to_external, updated_in_external = synchronize_licenses( scancode_licenses, external_source, - use_spdx_key=use_spdx_key, - match_text=match_text, - match_approx=match_approx, + from_spdx=from_spdx, commitish=commitish, use_cache=use_cache, ) - print() - if source == "dejacode": - if create_external: - api_url = external_source.api_base_url - api_key = external_source.api_key - for new_lic in added_to_external: - if new_lic.key in dejacode_special_skippable_keys: - continue - if TRACE: - print(f"Creating external: {new_lic}") - create_or_update_license(api_url, api_key, lico=new_lic) - if update_external: - externals_by_key = external_source.externals_by_key - for modified_lic in updated_in_external: - if modified_lic.key in dejacode_special_skippable_keys: - continue - mold = license_to_dict(modified_lic) - original = externals_by_key[modified_lic.key] - orld = license_to_dict(original) - if mold != orld: - # we need to update - if TRACE: - print(f"Updating external: {modified_lic}") - create_or_update_license(api_url, api_key, lico=modified_lic, update=True) + if from_spdx: + return + + # In the case of dejacode, we also need to update the external source + if create_external: + api_url = external_source.api_base_url + api_key = external_source.api_key + for new_lic in added_to_external: + if new_lic.key in dejacode_special_skippable_keys: + continue + if TRACE: + print(f"Creating external: {new_lic}") + create_or_update_license(api_url, api_key, lico=new_lic) + + if update_external: + externals_by_key = external_source.externals_by_key + for modified_lic in updated_in_external: + if modified_lic.key in dejacode_special_skippable_keys: + continue + mold = license_to_dict(modified_lic) + original = externals_by_key[modified_lic.key] + orld = license_to_dict(original) + if mold != orld: + # we need to update + if TRACE: + print(f"Updating external: {modified_lic}") + create_or_update_license(api_url, api_key, lico=modified_lic, update=True) if __name__ == "__main__": - cli() + sync_licenses() From edf2ad2430409509b417979e8cad3ecc326de920 Mon Sep 17 00:00:00 2001 From: Ayan Sinha Mahapatra Date: Wed, 21 Oct 2026 14:18:39 -0700 Subject: [PATCH 2/3] Add new and updated licenses from spdx license list This contains the unchanged output of the license sync script. We have to remove the debug info and review and fix certain cases after careful review. Reference: https://github.com/aboutcode-org/scancode-toolkit/issues/5322 Signed-off-by: Ayan Sinha Mahapatra --- .../data/licenses/atc-game.LICENSE | 15 + .../licenses/brian-gladman-3-clause.LICENSE | 5 +- .../bsd-2-clause-pos-unchanged.LICENSE | 97 ++++ .../licenses/bsd-3-clause-openwebui.LICENSE | 181 +++++++ .../data/licenses/bsd-ask-to-endorse.LICENSE | 84 ++++ .../bsd-no-disclaimer-unmodified.LICENSE | 6 +- .../data/licenses/bsd-source-alt-gpl.LICENSE | 99 ++++ .../data/licenses/bugroff.LICENSE | 168 +++++++ .../data/licenses/cc-by-nc-3.0-igo.LICENSE | 79 +++ .../data/licenses/fdk-mpeg-h.LICENSE | 206 ++++++++ .../google-patent-license-webm.LICENSE | 6 +- .../licenses/hippocratic-3.0-core.LICENSE | 462 ++++++++++++++++++ .../data/licenses/informatica.LICENSE | 22 + .../data/licenses/mvt-1.1.LICENSE | 8 +- .../spelling-provider-lgpl-exception.LICENSE | 71 +++ 15 files changed, 1505 insertions(+), 4 deletions(-) create mode 100644 src/licensedcode/data/licenses/atc-game.LICENSE create mode 100644 src/licensedcode/data/licenses/bsd-2-clause-pos-unchanged.LICENSE create mode 100644 src/licensedcode/data/licenses/bsd-3-clause-openwebui.LICENSE create mode 100644 src/licensedcode/data/licenses/bsd-ask-to-endorse.LICENSE create mode 100644 src/licensedcode/data/licenses/bsd-source-alt-gpl.LICENSE create mode 100644 src/licensedcode/data/licenses/bugroff.LICENSE create mode 100644 src/licensedcode/data/licenses/cc-by-nc-3.0-igo.LICENSE create mode 100644 src/licensedcode/data/licenses/fdk-mpeg-h.LICENSE create mode 100644 src/licensedcode/data/licenses/hippocratic-3.0-core.LICENSE create mode 100644 src/licensedcode/data/licenses/informatica.LICENSE create mode 100644 src/licensedcode/data/licenses/spelling-provider-lgpl-exception.LICENSE diff --git a/src/licensedcode/data/licenses/atc-game.LICENSE b/src/licensedcode/data/licenses/atc-game.LICENSE new file mode 100644 index 00000000000..ba6694b0a2a --- /dev/null +++ b/src/licensedcode/data/licenses/atc-game.LICENSE @@ -0,0 +1,15 @@ +--- +key: atc-game +short_name: atc Game License +name: atc Game License +spdx_license_key: atc-game +other_urls: + - https://github.com/vattam/BSDGames/blob/master/atc/extern.c#L36 +--- + +Copyright (c) 1987 by Ed James, UC Berkeley. All rights reserved. + +Copy permission is hereby granted provided that this notice is +retained on all partial or complete copies. + +For more info on this and all of my stuff, mail edjames@berkeley.edu. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/brian-gladman-3-clause.LICENSE b/src/licensedcode/data/licenses/brian-gladman-3-clause.LICENSE index 871b5e3664c..3be2e7dcc57 100644 --- a/src/licensedcode/data/licenses/brian-gladman-3-clause.LICENSE +++ b/src/licensedcode/data/licenses/brian-gladman-3-clause.LICENSE @@ -7,9 +7,12 @@ owner: Brian Gladman notes: | There is now a SPDX license with the same name as this license but this is actually a license that we track at brian-gladman-dual. -spdx_license_key: LicenseRef-scancode-brian-gladman-3-clause +spdx_license_key: Brian-Gladman-3-Clause-no-conversion +other_spdx_license_keys: + - LicenseRef-scancode-brian-gladman-3-clause other_urls: - https://github.com/SWI-Prolog/packages-clib/blob/master/sha1/brg_endian.h + - https://github.com/krb5/krb5/blob/kfw-4.0.1-beta1/src/lib/crypto/builtin/aes/aesopt.h --- LICENSE TERMS diff --git a/src/licensedcode/data/licenses/bsd-2-clause-pos-unchanged.LICENSE b/src/licensedcode/data/licenses/bsd-2-clause-pos-unchanged.LICENSE new file mode 100644 index 00000000000..ae42818e95c --- /dev/null +++ b/src/licensedcode/data/licenses/bsd-2-clause-pos-unchanged.LICENSE @@ -0,0 +1,97 @@ +--- +key: bsd-2-clause-pos-unchanged +short_name: BSD 2-Clause - position unchanged variant +name: BSD 2-Clause - position unchanged variant +notes: | + WARNING: review imperfect detections + license_expression: bsd-unchanged + license_expression_spdx: LicenseRef-scancode-bsd-unchanged + matches: + - license_expression: bsd-unchanged + license_expression_spdx: LicenseRef-scancode-bsd-unchanged + from_file: + start_line: 4 + end_line: 23 + matcher: 3-seq + score: '98.92' + matched_length: 184 + match_coverage: '98.92' + rule_relevance: 100 + rule_identifier: bsd-unchanged_2.RULE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-unchanged_2.RULE + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer + in this position and unchanged. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + matched_text_diagnostics: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer + in this position and unchanged. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + detection_log: + - imperfect-match-coverage + identifier: bsd_unchanged-5b493d96-c370-5efb-7b0b-c84529fae0d0 +spdx_license_key: BSD-2-Clause-pos-unchanged +other_urls: + - https://scancode-licensedb.aboutcode.org/bsd-unchanged + - https://cgit.freebsd.org/src/tree/usr.bin/sockstat/sockstat.c + - https://github.com/libarchive/libarchive/blob/master/libarchive_fe/line_reader.c + - https://github.com/freebsd/pkg/blob/main/src/add.c +--- + +Copyright (c) +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer + in this position and unchanged. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/bsd-3-clause-openwebui.LICENSE b/src/licensedcode/data/licenses/bsd-3-clause-openwebui.LICENSE new file mode 100644 index 00000000000..6ca73187815 --- /dev/null +++ b/src/licensedcode/data/licenses/bsd-3-clause-openwebui.LICENSE @@ -0,0 +1,181 @@ +--- +key: bsd-3-clause-openwebui +short_name: BSD 3-Clause - OpenWebUI variant +name: BSD 3-Clause - OpenWebUI variant +notes: | + Multiple licenses detected by scancode on this text + license_expression: bsd-new + license_expression_spdx: BSD-3-Clause + matches: + - license_expression: bsd-new + license_expression_spdx: BSD-3-Clause + from_file: + start_line: 6 + end_line: 18 + matcher: 3-seq + score: '46.76' + matched_length: 101 + match_coverage: '46.76' + rule_relevance: 100 + rule_identifier: bsd-new_105.RULE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_105.RULE + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + matched_text_diagnostics: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + 3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + detection_log: + - low-quality-matches + - not-license-clues-as-more-detections-present + identifier: bsd_new-73f7f2cd-acc1-c96c-be3b-60ece2888bc6 + license_expression: generic-cla AND bsd-new + license_expression_spdx: LicenseRef-scancode-generic-cla AND BSD-3-Clause + matches: + - license_expression: generic-cla + license_expression_spdx: LicenseRef-scancode-generic-cla + from_file: + start_line: 39 + end_line: 40 + matcher: 2-aho + score: '80.0' + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 80 + rule_identifier: generic-cla5.RULE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/generic-cla5.RULE + matched_text: | + By contributing to this project, you agree to the project's Contributor + License Agreement (CONTRIBUTOR_LICENSE_AGREEMENT). + matched_text_diagnostics: | + Contributor + License Agreement ( + - license_expression: generic-cla + license_expression_spdx: LicenseRef-scancode-generic-cla + from_file: + start_line: 40 + end_line: 40 + matcher: 2-aho + score: '80.0' + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 80 + rule_identifier: generic-cla5.RULE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/generic-cla5.RULE + matched_text: License Agreement (CONTRIBUTOR_LICENSE_AGREEMENT). + matched_text_diagnostics: CONTRIBUTOR_LICENSE_AGREEMENT). + - license_expression: bsd-new + license_expression_spdx: BSD-3-Clause + from_file: + start_line: 42 + end_line: 51 + matcher: 3-seq + score: '55.83' + matched_length: 115 + match_coverage: '55.83' + rule_relevance: 100 + rule_identifier: bsd-new_781.RULE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_781.RULE + matched_text: | + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + matched_text_diagnostics: | + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + detection_log: + - imperfect-match-coverage + identifier: generic_cla_and_bsd_new-5dd50a49-a0e2-5f70-b540-803acab906d7 +spdx_license_key: BSD-3-Clause-OpenWebUI +other_urls: + - https://github.com/open-webui/open-webui/blob/main/LICENSE +--- + +Open WebUI License + +Copyright (c) 2023- Open WebUI Inc. [Created by Timothy Jaeryang Baek] +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +4. Notwithstanding any other provision of this License, and as a material + condition of the rights granted herein, licensees are strictly prohibited + from altering, removing, obscuring, or replacing any "Open WebUI" + branding, including but not limited to the name, logo, or any visual, + textual, or symbolic identifiers that distinguish the software and its + interfaces, in any deployment or distribution, except in the following + circumstances: (i) deployments or distributions where the total number + of end users (defined as individual natural persons with direct access + to the application) does not exceed fifty (50) within any rolling + thirty (30) day period; (ii) the licensee has obtained specific prior + written permission from the copyright holder; or (iii) where the + licensee has obtained a duly executed enterprise license expressly + permitting such modification. For all other cases, any removal or + alteration of the "Open WebUI" branding shall constitute a material + breach of license. + +Materials governed by prior licenses retain those original license +terms, as specified in LICENSE_HISTORY. + +By contributing to this project, you agree to the project's Contributor +License Agreement (CONTRIBUTOR_LICENSE_AGREEMENT). + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/bsd-ask-to-endorse.LICENSE b/src/licensedcode/data/licenses/bsd-ask-to-endorse.LICENSE new file mode 100644 index 00000000000..c763b654fd9 --- /dev/null +++ b/src/licensedcode/data/licenses/bsd-ask-to-endorse.LICENSE @@ -0,0 +1,84 @@ +--- +key: bsd-ask-to-endorse +short_name: BSD - ask to endorse +name: BSD - ask to endorse +notes: | + WARNING: review imperfect detections + license_expression: bsd-source-code + license_expression_spdx: BSD-Source-Code + matches: + - license_expression: bsd-source-code + license_expression_spdx: BSD-Source-Code + from_file: + start_line: 3 + end_line: 19 + matcher: 2-aho + score: '83.94' + matched_length: 158 + match_coverage: '100.0' + rule_relevance: 85 + rule_identifier: bsd-source-code_2.RULE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-source-code_2.RULE + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that neither the name of Emin + Martinian nor the names of any contributors are be used to endorse or + promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + matched_text_diagnostics: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that neither the name of [Emin] + [Martinian] nor the names of any contributors are be used to endorse or + promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + detection_log: + - extra-words + identifier: bsd_source_code-08214d2b-de27-cfe1-7012-c975b2d77038 +spdx_license_key: BSD-ask-to-endorse +other_urls: + - https://github.com/sudo-project/sudo/blob/c1307ea9ff340ce0538779f8e456501461fc44b7/plugins/sudoers/redblack.c#L24-L43 +--- + +Copyright (c) 2001 Emin Martinian + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that neither the name of Emin + Martinian nor the names of any contributors are be used to endorse or + promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/bsd-no-disclaimer-unmodified.LICENSE b/src/licensedcode/data/licenses/bsd-no-disclaimer-unmodified.LICENSE index 03c2654c730..9f8a2529985 100644 --- a/src/licensedcode/data/licenses/bsd-no-disclaimer-unmodified.LICENSE +++ b/src/licensedcode/data/licenses/bsd-no-disclaimer-unmodified.LICENSE @@ -6,7 +6,11 @@ category: Permissive owner: Unspecified notes: A rare variant that comes with a slightly different wording and no warranty disclaimer and the words "without modifications" applying to the license conditions -spdx_license_key: LicenseRef-scancode-bsd-no-disclaimer-unmodified +spdx_license_key: BSD-Source-Code-no-disclaimer +other_spdx_license_keys: + - LicenseRef-scancode-bsd-no-disclaimer-unmodified +other_urls: + - https://github.com/PicoEFI/PicoEFI/blob/2263ac1a2bc98e5534d64a4896d3cfbbae00745a/LICENSES/LicenseRef-scancode-bsd-no-disclaimer-unmodified.txt --- * Redistribution and use in source and binary forms, with or without diff --git a/src/licensedcode/data/licenses/bsd-source-alt-gpl.LICENSE b/src/licensedcode/data/licenses/bsd-source-alt-gpl.LICENSE new file mode 100644 index 00000000000..ec2d1c3e906 --- /dev/null +++ b/src/licensedcode/data/licenses/bsd-source-alt-gpl.LICENSE @@ -0,0 +1,99 @@ +--- +key: bsd-source-alt-gpl +short_name: BSD Source Code Attribution - GPL alternative +name: BSD Source Code Attribution - GPL alternative +notes: | + WARNING: perfect detections to more than 1 license/rules + license_expression: bsd-axis-nomod OR gpl-1.0-plus + license_expression_spdx: LicenseRef-scancode-bsd-axis-nomod OR GPL-1.0-or-later + matches: + - license_expression: bsd-axis-nomod OR gpl-1.0-plus + license_expression_spdx: LicenseRef-scancode-bsd-axis-nomod OR GPL-1.0-or-later + from_file: + start_line: 1 + end_line: 23 + matcher: 1-hash + score: '100.0' + matched_length: 194 + match_coverage: '100.0' + rule_relevance: 100 + rule_identifier: bsd-axis-nomod_or_gpl4.RULE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-axis-nomod_or_gpl4.RULE + matched_text: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions, and the following disclaimer, + without modification. + 2. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + Alternatively, this software may be distributed under the terms of the + GNU Public License ("GPL"). + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + matched_text_diagnostics: | + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions, and the following disclaimer, + without modification. + 2. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + Alternatively, this software may be distributed under the terms of the + GNU Public License ("GPL"). + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + detection_log: [] + identifier: bsd_axis_nomod_or_gpl_1_0_plus-ccc013ff-bc59-543e-c5e3-8276ac2e8bf5 +spdx_license_key: BSD-Source-alt-GPL +other_urls: + - https://cgit.freebsd.org/src/plain/sys/dev/aic7xxx/aic7xxx_osm.c +--- + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions, and the following disclaimer, + without modification. +2. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +Alternatively, this software may be distributed under the terms of the +GNU Public License ("GPL"). + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/bugroff.LICENSE b/src/licensedcode/data/licenses/bugroff.LICENSE new file mode 100644 index 00000000000..94a4150f16b --- /dev/null +++ b/src/licensedcode/data/licenses/bugroff.LICENSE @@ -0,0 +1,168 @@ +--- +key: bugroff +short_name: Bugroff License +name: Bugroff License +notes: | + Multiple licenses detected by scancode on this text + license_expression: gpl-1.0-plus + license_expression_spdx: GPL-1.0-or-later + matches: + - license_expression: gpl-1.0-plus + license_expression_spdx: GPL-1.0-or-later + from_file: + start_line: 3 + end_line: 3 + matcher: 2-aho + score: '100.0' + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + rule_identifier: gpl_178.RULE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_178.RULE + matched_text: Richard Stallman of the Free Software Foundation devised, in addition to some + marvelous software, the GNU General Public License (GPL for short). Or the CopyLeft it + is sometimes called. + matched_text_diagnostics: the GNU General Public License (GPL + detection_log: [] + identifier: gpl_1_0_plus-32829990-d8b3-e2de-a325-2e176ecc8d2e + license_expression: lgpl-2.0-plus AND gpl-1.0-plus + license_expression_spdx: LGPL-2.0-or-later AND GPL-1.0-or-later + matches: + - license_expression: lgpl-2.0-plus + license_expression_spdx: LGPL-2.0-or-later + from_file: + start_line: 9 + end_line: 9 + matcher: 2-aho + score: '60.0' + matched_length: 1 + match_coverage: '100.0' + rule_relevance: 60 + 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 + matched_text: In fact, various inconveniences relating to this have resulted in modifications + such as the LGPL (Library General Public License) and more recently the NPL (Netscape + Public License) + matched_text_diagnostics: LGPL ( + - license_expression: lgpl-2.0-plus + license_expression_spdx: LGPL-2.0-or-later + from_file: + start_line: 9 + end_line: 9 + matcher: 2-aho + score: '100.0' + matched_length: 4 + match_coverage: '100.0' + rule_relevance: 100 + rule_identifier: lgpl-2.0-plus_187.RULE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_187.RULE + matched_text: In fact, various inconveniences relating to this have resulted in modifications + such as the LGPL (Library General Public License) and more recently the NPL (Netscape + Public License) + matched_text_diagnostics: Library General Public License) + - license_expression: gpl-1.0-plus + license_expression_spdx: GPL-1.0-or-later + from_file: + start_line: 11 + end_line: 11 + matcher: 2-aho + score: '85.0' + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 85 + 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: I call these matters mere inconveniences, the real damage will occur when + the Jackal's, (sorry, I mean lawyers), actually get to test the GPL in court for the first + time. + matched_text_diagnostics: the GPL + detection_log: [] + identifier: lgpl_2_0_plus_and_gpl_1_0_plus-5da55cb2-db70-d91a-6016-220a9036e0f5 + license_expression: other-permissive + license_expression_spdx: LicenseRef-scancode-other-permissive + matches: + - license_expression: other-permissive + license_expression_spdx: LicenseRef-scancode-other-permissive + from_file: + start_line: 27 + end_line: 27 + matcher: 2-aho + score: '100.0' + matched_length: 11 + match_coverage: '100.0' + rule_relevance: 100 + rule_identifier: other-permissive_118.RULE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_118.RULE + matched_text: Sure, No problem. Don't worry, be happy. Now bugger off. + matched_text_diagnostics: Sure, No problem. Don't worry, be happy. Now bugger off. + detection_log: [] + identifier: other_permissive-1c246c07-511e-255f-6d2a-b883fcf106e1 + license_expression: gpl-1.0-plus + license_expression_spdx: GPL-1.0-or-later + matches: + - license_expression: gpl-1.0-plus + license_expression_spdx: GPL-1.0-or-later + from_file: + start_line: 33 + end_line: 33 + matcher: 2-aho + score: '85.0' + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 85 + 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: ' Now bugger off. The only way to get rid of pushy Jackals is to ignore + them and not feed them. The GPL is just begging somebody to take it to court. Can''t you + just see it. Exactly the same thing that happened when some twit (not Linus) registered + Linux as his own personal trademark. People got upset, started a fund, and hired, off + all ruddy things, a Jackal to try and defend the chicken! Who really benefits from this + trademark / patent / copyright thing anyway? The lawyers. Who made it up in the first + place? The lawyers.' + matched_text_diagnostics: The GPL + detection_log: [] + identifier: gpl_1_0_plus-0275ca3c-0d0c-8224-0676-9b6f2b7ff11c +spdx_license_key: Bugroff +other_urls: + - https://tunes.org/legalese/bugroff.html +--- + +The "No problem Bugroff" license. + +Richard Stallman of the Free Software Foundation devised, in addition to some marvelous software, the GNU General Public License (GPL for short). Or the CopyLeft it is sometimes called. + +It is quite a revolutionary document, using the "copyright" tool to to protect your right to use free software. + +Unfortunately using copyright to protect free software is a lot like using a Jackal to guard the hens. + +In fact, various inconveniences relating to this have resulted in modifications such as the LGPL (Library General Public License) and more recently the NPL (Netscape Public License) + +I call these matters mere inconveniences, the real damage will occur when the Jackal's, (sorry, I mean lawyers), actually get to test the GPL in court for the first time. + +Thus enter my version. + +Its very simple. + +Entirely consistent. + +Completely unrestrictive. + +Easy to apply. + +The "No problem Bugroff" license is as follows... + +The answer to any and every question relating to the copyright, patents, legal issues of Bugroff licensed software is.... + +Sure, No problem. Don't worry, be happy. Now bugger off. + +All portions of this license are important.. + + "Sure, no problem." Gives you complete freedom. I mean it. Utterly complete. A bit of a joke really. You have complete freedom anyway. + "Don't worry, be happy." Apart from being good advice and a good song, it also says :- No matter what anyone else says or does, you still have complete freedom. + Now bugger off. The only way to get rid of pushy Jackals is to ignore them and not feed them. The GPL is just begging somebody to take it to court. Can't you just see it. Exactly the same thing that happened when some twit (not Linus) registered Linux as his own personal trademark. People got upset, started a fund, and hired, off all ruddy things, a Jackal to try and defend the chicken! Who really benefits from this trademark / patent / copyright thing anyway? The lawyers. Who made it up in the first place? The lawyers. + +OK so the last part of the license sounds a bit harsh, but seriously folks, if you are a :- + + Lawyer asking these legalese questions... You should go off and learn an honest trade that will actually contribute to life instead of draining it. + Programmer asking these legalese questions... You have amazingly powerful tools in your hands and mind, use them to ask and answer the worthwhile questions of life, the universe and everything. Stop mucking about with such legal nonsense and get back to programming. + User/reader asking these question... Don't worry. Go off and be happy. Have fun. Enjoy what has been created for you. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/cc-by-nc-3.0-igo.LICENSE b/src/licensedcode/data/licenses/cc-by-nc-3.0-igo.LICENSE new file mode 100644 index 00000000000..561a8ac09fa --- /dev/null +++ b/src/licensedcode/data/licenses/cc-by-nc-3.0-igo.LICENSE @@ -0,0 +1,79 @@ +--- +key: cc-by-nc-3.0-igo +short_name: Creative Commons Attribution Non Commercial 3.0 IGO +name: Creative Commons Attribution Non Commercial 3.0 IGO +spdx_license_key: CC-BY-NC-3.0-IGO +other_urls: + - https://creativecommons.org/licenses/by-nc/3.0/igo/legalcode +--- + +Attribution-NonCommercial 3.0 IGO + +CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM ITS USE. THE LICENSOR IS NOT NECESSARILY AN INTERGOVERNMENTAL ORGANIZATION (IGO), AS DEFINED IN THE LICENSE BELOW. +License +THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE (“LICENSE”). THE LICENSOR (DEFINED BELOW) HOLDS COPYRIGHT AND OTHER RIGHTS IN THE WORK. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE IS PROHIBITED. + +BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION FOR YOUR ACCEPTANCE AND AGREEMENT TO THE TERMS OF THE LICENSE. + +1. Definitions + +“IGO” means, solely and exclusively for purposes of this License, an organization established by a treaty or other instrument governed by international law and possessing its own international legal personality. Other organizations established to carry out activities across national borders and that accordingly enjoy immunity from legal process are also IGOs for the sole and exclusive purposes of this License. IGOs may include as members, in addition to states, other entities. +"Work" means the literary and/or artistic work eligible for copyright protection, whatever may be the mode or form of its expression including digital form, and offered under the terms of this License. It is understood that a database, which by reason of the selection and arrangement of its contents constitutes an intellectual creation, is considered a Work. +"Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License and may be, but is not necessarily, an IGO. +"You" means an individual or entity exercising rights under this License. +"Reproduce" means to make a copy of the Work in any manner or form, and by any means. +"Distribute" means the activity of making publicly available the Work or Adaptation (or copies of the Work or Adaptation), as applicable, by sale, rental, public lending or any other known form of transfer of ownership or possession of the Work or copy of the Work. +"Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images. +"Adaptation" means a work derived from or based upon the Work, or upon the Work and other pre-existing works. Adaptations may include works such as translations, derivative works, or any alterations and arrangements of any kind involving the Work. For purposes of this License, where the Work is a musical work, performance, or phonogram, the synchronization of the Work in timed-relation with a moving image is an Adaptation. For the avoidance of doubt, including the Work in a Collection is not an Adaptation. +"Collection" means a collection of literary or artistic works or other works or subject matter other than works listed in Section 1(b) which by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. For the avoidance of doubt, a Collection will not be considered as an Adaptation. +2. Scope of this License. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright protection. + +3. License Grant. Subject to the terms and conditions of this License, the Licensor hereby grants You a worldwide, royalty-free, non-exclusive license to exercise the rights in the Work as follows: + +to Reproduce, Distribute and Publicly Perform the Work, to incorporate the Work into one or more Collections, and to Reproduce, Distribute and Publicly Perform the Work as incorporated in the Collections; and, +to create, Reproduce, Distribute and Publicly Perform Adaptations, provided that You clearly label, demarcate or otherwise identify that changes were made to the original Work. +This License lasts for the duration of the term of the copyright in the Work licensed by the Licensor. The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by the Licensor are hereby reserved, including but not limited to the rights set forth in Section 4(d). + +4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: + +You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work (see section 8(a)). You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from a Licensor You must, to the extent practicable, remove from the Collection any credit (inclusive of any logo, trademark, official mark or official emblem) as required by Section 4(c), as requested. If You create an Adaptation, upon notice from a Licensor You must, to the extent practicable, remove from the Adaptation any credit (inclusive of any logo, trademark, official mark or official emblem) as required by Section 4(c), as requested. +You may not exercise any of the rights granted to You in Section 3 above in any manner that is primarily intended for or directed toward commercial advantage or private monetary compensation. The exchange of the Work for other copyrighted works by means of digital file-sharing or otherwise shall not be considered to be primarily intended for or directed toward commercial advantage or private monetary compensation, provided there is no payment of any monetary compensation in connection with the exchange of copyrighted works. +If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) any attributions that the Licensor indicates be associated with the Work as indicated in a copyright notice, (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that the Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and, (iv) consistent with Section 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation. The credit required by this Section 4(c) may be implemented in any reasonable manner; provided, however, that in the case of an Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributors to the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Licensor or others designated for attribution, of You or Your use of the Work, without the separate, express prior written permission of the Licensor or such others. +For the avoidance of doubt: + +Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; +Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License if Your exercise of such rights is for a purpose or use which is otherwise than noncommercial as permitted under Section 4(b) and otherwise waives the right to collect royalties through any statutory or compulsory licensing scheme; and, +Voluntary License Schemes. To the extent possible, the Licensor waives the right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary licensing scheme. In all other cases the Licensor expressly reserves the right to collect such royalties. +Except as otherwise agreed in writing by the Licensor, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the honor or reputation of the Licensor where moral rights apply. +5. Representations, Warranties and Disclaimer + +THE 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, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. + +6. Limitation on Liability + +IN NO EVENT WILL THE 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 THE LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. Termination + +Subject to the terms and conditions set forth in this License, the license granted here lasts for the duration of the term of the copyright in the Work licensed by the Licensor as stated in Section 3. Notwithstanding the above, the 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 below. +If You fail to comply with this License, then this License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. Notwithstanding the foregoing, this License reinstates automatically as of the date the violation is cured, provided it is cured within 30 days of You discovering the violation, or upon express reinstatement by the Licensor. For the avoidance of doubt, this Section 7(b) does not affect any rights the Licensor may have to seek remedies for violations of this License by You. +8. Miscellaneous + +Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. +Each time You Distribute or Publicly Perform an Adaptation, the Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. +If any provision of this License is invalid or unenforceable, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. +No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the Licensor. +This License constitutes the entire agreement between You and the Licensor with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. The Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You. +The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). Interpretation of the scope of the rights granted by the Licensor and the conditions imposed on You under this License, this License, and the rights and conditions set forth herein shall be made with reference to copyright as determined in accordance with general principles of international law, including the above mentioned conventions. +Nothing in this License constitutes or may be interpreted as a limitation upon or waiver of any privileges and immunities that may apply to the Licensor or You, including immunity from the legal processes of any jurisdiction, national court or other authority. +Where the Licensor is an IGO, any and all disputes arising under this License that cannot be settled amicably shall be resolved in accordance with the following procedure: + +Pursuant to a notice of mediation communicated by reasonable means by either You or the Licensor to the other, the dispute shall be submitted to non-binding mediation conducted in accordance with rules designated by the Licensor in the copyright notice published with the Work, or if none then in accordance with those communicated in the notice of mediation. The language used in the mediation proceedings shall be English unless otherwise agreed. +If any such dispute has not been settled within 45 days following the date on which the notice of mediation is provided, either You or the Licensor may, pursuant to a notice of arbitration communicated by reasonable means to the other, elect to have the dispute referred to and finally determined by arbitration. The arbitration shall be conducted in accordance with the rules designated by the Licensor in the copyright notice published with the Work, or if none then in accordance with the UNCITRAL Arbitration Rules as then in force. The arbitral tribunal shall consist of a sole arbitrator and the language of the proceedings shall be English unless otherwise agreed. The place of arbitration shall be where the Licensor has its headquarters. The arbitral proceedings shall be conducted remotely (e.g., via telephone conference or written submissions) whenever practicable. +Interpretation of this License in any dispute submitted to mediation or arbitration shall be as set forth in Section 8(f), above. +Creative Commons Notice +Creative Commons is not a party to this License, and makes no warranty whatsoever in connection with the Work. Creative Commons will not be liable to You or any party on any legal theory for any damages whatsoever, including without limitation any general, special, incidental or consequential damages arising in connection to this license. Notwithstanding the foregoing two (2) sentences, if Creative Commons has expressly identified itself as the Licensor hereunder, it shall have all rights and obligations of the Licensor. + +Except for the limited purpose of indicating to the public that the Work is licensed under the CCPL, Creative Commons does not authorize the use by either party of the trademark "Creative Commons" or any related trademark or logo of Creative Commons without the prior written consent of Creative Commons. Any permitted use will be in compliance with Creative Commons' then-current trademark usage guidelines, as may be published on its website or otherwise made available upon request from time to time. For the avoidance of doubt, this trademark restriction does not form part of this License. + +Creative Commons may be contacted at https://creativecommons.org/ . \ No newline at end of file diff --git a/src/licensedcode/data/licenses/fdk-mpeg-h.LICENSE b/src/licensedcode/data/licenses/fdk-mpeg-h.LICENSE new file mode 100644 index 00000000000..4c444472f66 --- /dev/null +++ b/src/licensedcode/data/licenses/fdk-mpeg-h.LICENSE @@ -0,0 +1,206 @@ +--- +key: fdk-mpeg-h +short_name: Fraunhofer FDK MPEG-H Software +name: Fraunhofer FDK MPEG-H Software +notes: | + Multiple licenses detected by scancode on this text + license_expression: + license_expression_spdx: + matches: + - license_expression: bsd-no-disclaimer-unmodified + license_expression_spdx: LicenseRef-scancode-bsd-no-disclaimer-unmodified + from_file: + start_line: 23 + end_line: 27 + matcher: 3-seq + score: '26.98' + matched_length: 17 + match_coverage: '26.98' + rule_relevance: 100 + rule_identifier: bsd-no-disclaimer-unmodified.LICENSE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-no-disclaimer-unmodified.LICENSE + matched_text: | + Redistribution and use in source and binary forms, with or without modification, + are permitted without payment of copyright license fees provided that you + satisfy the following conditions: + + * You must retain the complete text of this software license in redistributions + matched_text_diagnostics: | + Redistribution and use in source and binary forms, with or without modification, + are permitted [without] [payment] [of] [copyright] [license] [fees] [provided] [that] [you] + [satisfy] [the] [following] [conditions]: + + * [You] must retain the + detection_log: + - low-quality-matches + identifier: + license_expression: + license_expression_spdx: + matches: + - license_expression: bsd-axis-nomod OR gpl-1.0-plus + license_expression_spdx: LicenseRef-scancode-bsd-axis-nomod OR GPL-1.0-or-later + from_file: + start_line: 38 + end_line: 41 + matcher: 3-seq + score: '18.29' + matched_length: 15 + match_coverage: '18.29' + rule_relevance: 100 + rule_identifier: bsd-axis-nomod_or_gpl2.RULE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-axis-nomod_or_gpl2.RULE + matched_text: | + * The name of Fraunhofer may not be used to endorse or promote products derived + from the Fraunhofer FDK MPEG-H Software without prior written permission. + + * You may not charge copyright license fees for anyone to use, copy or + matched_text_diagnostics: | + may not be used to endorse or promote products derived + from [the] [Fraunhofer] [FDK] [MPEG]-[H] [Software] [without] prior written permission. + + * [You] [may] [not] [charge] [copyright] license + detection_log: + - low-quality-matches + identifier: + license_expression: warranty-disclaimer + license_expression_spdx: LicenseRef-scancode-warranty-disclaimer + matches: + - license_expression: warranty-disclaimer + license_expression_spdx: LicenseRef-scancode-warranty-disclaimer + from_file: + start_line: 54 + end_line: 54 + matcher: 2-aho + score: '90.0' + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + rule_identifier: warranty-disclaimer_24.RULE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/warranty-disclaimer_24.RULE + matched_text: Fraunhofer provides no warranty of patent non-infringement with respect to + this + matched_text_diagnostics: no warranty + detection_log: [] + identifier: warranty_disclaimer-48391dcb-9e03-9def-3286-75d32c5d446b + license_expression: other-permissive + license_expression_spdx: LicenseRef-scancode-other-permissive + matches: + - license_expression: other-permissive + license_expression_spdx: LicenseRef-scancode-other-permissive + from_file: + start_line: 62 + end_line: 70 + matcher: 3-seq + score: '72.87' + matched_length: 94 + match_coverage: '72.87' + rule_relevance: 100 + rule_identifier: other-permissive_17.RULE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_17.RULE + matched_text: | + WARRANTIES, including but not limited to the implied warranties of + merchantability and fitness for a particular purpose. IN NO EVENT SHALL THE + COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE for any direct, indirect, + incidental, special, exemplary, or consequential damages, including but not + limited to procurement of substitute goods or services; loss of use, data, or + profits, or business interruption, however caused and on any theory of + liability, whether in contract, strict liability, or tort (including + negligence), arising in any way out of the use of this software, even if + advised of the possibility of such damage. + matched_text_diagnostics: | + WARRANTIES, including but not limited to the implied warranties of + merchantability and fitness for a particular purpose. IN NO EVENT SHALL THE + COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE for any direct, indirect, + incidental, special, exemplary, or consequential damages, including but not + limited to procurement of substitute goods or services; loss of use, data, or + profits, or business interruption, however caused and on any theory of + liability, whether in contract, strict liability, or tort (including + negligence), arising in any way out of the use of this software, even if + advised of the possibility of such damage. + detection_log: + - imperfect-match-coverage + identifier: other_permissive-7dfbf3e1-8fc8-ba19-3634-2327b747ef09 +spdx_license_key: FDK-MPEG-H +other_urls: + - https://github.com/Fraunhofer-IIS/mpeghdec/blob/main/LICENSE.txt +--- + +Software License for The Fraunhofer FDK MPEG-H Software + +Copyright (c) 2021 - 2023 Fraunhofer-Gesellschaft zur Förderung der angewandten +Forschung e.V. and Contributors +All rights reserved. + +1. INTRODUCTION + +The "Fraunhofer FDK MPEG-H Software" is software that implements the ISO/MPEG +MPEG-H 3D Audio standard for digital audio or related system features. Patent +licenses for necessary patent claims for the Fraunhofer FDK MPEG-H Software +(including those of Fraunhofer), for the use in commercial products and +services, may be obtained from the respective patent owners individually and/or +from Via LA (www.via-la.com). + +Fraunhofer supports the development of MPEG-H products and services by offering +additional software, documentation, and technical advice. In addition, it +operates the MPEG-H Trademark Program to ease interoperability testing of end- +products. Please visit www.mpegh.com for more information. + +2. COPYRIGHT LICENSE + +Redistribution and use in source and binary forms, with or without modification, +are permitted without payment of copyright license fees provided that you +satisfy the following conditions: + +* You must retain the complete text of this software license in redistributions +of the Fraunhofer FDK MPEG-H Software or your modifications thereto in source +code form. + +* You must retain the complete text of this software license in the +documentation and/or other materials provided with redistributions of +the Fraunhofer FDK MPEG-H Software or your modifications thereto in binary form. +You must make available free of charge copies of the complete source code of +the Fraunhofer FDK MPEG-H Software and your modifications thereto to recipients +of copies in binary form. + +* The name of Fraunhofer may not be used to endorse or promote products derived +from the Fraunhofer FDK MPEG-H Software without prior written permission. + +* You may not charge copyright license fees for anyone to use, copy or +distribute the Fraunhofer FDK MPEG-H Software or your modifications thereto. + +* Your modified versions of the Fraunhofer FDK MPEG-H Software must carry +prominent notices stating that you changed the software and the date of any +change. For modified versions of the Fraunhofer FDK MPEG-H Software, the term +"Fraunhofer FDK MPEG-H Software" must be replaced by the term "Third-Party +Modified Version of the Fraunhofer FDK MPEG-H Software". + +3. No PATENT LICENSE + +NO EXPRESS OR IMPLIED LICENSES TO ANY PATENT CLAIMS, including without +limitation the patents of Fraunhofer, ARE GRANTED BY THIS SOFTWARE LICENSE. +Fraunhofer provides no warranty of patent non-infringement with respect to this +software. You may use this Fraunhofer FDK MPEG-H Software or modifications +thereto only for purposes that are authorized by appropriate patent licenses. + +4. DISCLAIMER + +This Fraunhofer FDK MPEG-H Software is provided by Fraunhofer on behalf of the +copyright holders and contributors "AS IS" and WITHOUT ANY EXPRESS OR IMPLIED +WARRANTIES, including but not limited to the implied warranties of +merchantability and fitness for a particular purpose. IN NO EVENT SHALL THE +COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE for any direct, indirect, +incidental, special, exemplary, or consequential damages, including but not +limited to procurement of substitute goods or services; loss of use, data, or +profits, or business interruption, however caused and on any theory of +liability, whether in contract, strict liability, or tort (including +negligence), arising in any way out of the use of this software, even if +advised of the possibility of such damage. + +5. CONTACT INFORMATION + +Fraunhofer Institute for Integrated Circuits IIS +Attention: Division Audio and Media Technologies - MPEG-H FDK +Am Wolfsmantel 33 +91058 Erlangen, Germany +www.iis.fraunhofer.de/amm +amm-info@iis.fraunhofer.de \ No newline at end of file diff --git a/src/licensedcode/data/licenses/google-patent-license-webm.LICENSE b/src/licensedcode/data/licenses/google-patent-license-webm.LICENSE index e28a82d58d9..39015139790 100644 --- a/src/licensedcode/data/licenses/google-patent-license-webm.LICENSE +++ b/src/licensedcode/data/licenses/google-patent-license-webm.LICENSE @@ -5,7 +5,11 @@ name: Google Patent License for WebM category: Patent License owner: Google homepage_url: https://www.webmproject.org/license/additional/ -spdx_license_key: LicenseRef-scancode-google-patent-license-webm +spdx_license_key: Google-Patent-WebM +other_spdx_license_keys: + - LicenseRef-scancode-google-patent-license-webm +other_urls: + - https://www.webmproject.org/license/additional/ --- Additional IP Rights Grant (Patents) diff --git a/src/licensedcode/data/licenses/hippocratic-3.0-core.LICENSE b/src/licensedcode/data/licenses/hippocratic-3.0-core.LICENSE new file mode 100644 index 00000000000..b0504bd09da --- /dev/null +++ b/src/licensedcode/data/licenses/hippocratic-3.0-core.LICENSE @@ -0,0 +1,462 @@ +--- +key: hippocratic-3.0-core +short_name: Hippocratic License 3.0 +name: Hippocratic License 3.0 +notes: | + Multiple licenses detected by scancode on this text + license_expression: hippocratic-1.2 + license_expression_spdx: LicenseRef-scancode-hippocratic-1.2 + matches: + - license_expression: hippocratic-1.2 + license_expression_spdx: LicenseRef-scancode-hippocratic-1.2 + from_file: + start_line: 1 + end_line: 1 + matcher: 2-aho + score: '100.0' + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 100 + rule_identifier: hippocratic-1.2_7.RULE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/hippocratic-1.2_7.RULE + matched_text: HIPPOCRATIC LICENSE + matched_text_diagnostics: HIPPOCRATIC LICENSE + - license_expression: hippocratic-1.2 + license_expression_spdx: LicenseRef-scancode-hippocratic-1.2 + from_file: + start_line: 5 + end_line: 5 + matcher: 2-aho + score: '100.0' + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + rule_identifier: hippocratic-1.2_8.RULE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/hippocratic-1.2_8.RULE + matched_text: https://firstdonoharm.dev/version/3/0/core.txt + matched_text_diagnostics: https://firstdonoharm.dev/ + detection_log: [] + identifier: hippocratic_1_2-05552642-5dba-2389-c065-dbc3503a0cf4 + license_expression: warranty-disclaimer AND unknown-license-reference + license_expression_spdx: LicenseRef-scancode-warranty-disclaimer AND LicenseRef-scancode-unknown-license-reference + matches: + - license_expression: unknown-license-reference + license_expression_spdx: LicenseRef-scancode-unknown-license-reference + from_file: + start_line: 14 + end_line: 14 + matcher: 2-aho + score: '90.0' + matched_length: 2 + match_coverage: '100.0' + rule_relevance: 90 + rule_identifier: license-intro_22.RULE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_22.RULE + matched_text: This section defines certain terms used throughout this license agreement. + matched_text_diagnostics: license agreement. + - license_expression: unknown-license-reference + license_expression_spdx: LicenseRef-scancode-unknown-license-reference + from_file: + start_line: 52 + end_line: 52 + matcher: 2-aho + score: '100.0' + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + rule_identifier: license-intro_35.RULE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE + matched_text: '2.1. Grant of Copyright License: Subject to the terms and conditions of this' + matched_text_diagnostics: Subject to the terms and conditions + - license_expression: unknown-license-reference + license_expression_spdx: LicenseRef-scancode-unknown-license-reference + from_file: + start_line: 58 + end_line: 58 + matcher: 2-aho + score: '100.0' + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + rule_identifier: license-intro_35.RULE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE + matched_text: '2.2. Grant of Patent License: Subject to the terms and conditions of this' + matched_text_diagnostics: Subject to the terms and conditions + - license_expression: unknown-license-reference + license_expression_spdx: LicenseRef-scancode-unknown-license-reference + from_file: + start_line: 214 + end_line: 214 + matcher: 2-aho + score: '100.0' + matched_length: 6 + match_coverage: '100.0' + rule_relevance: 100 + rule_identifier: license-intro_35.RULE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE + matched_text: above and is subject to the terms and conditions of this License. + matched_text_diagnostics: subject to the terms and conditions + - license_expression: warranty-disclaimer + license_expression_spdx: LicenseRef-scancode-warranty-disclaimer + from_file: + start_line: 218 + end_line: 218 + matcher: 2-aho + score: '100.0' + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + rule_identifier: license-clue_warranty-disclaimer_2.RULE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-clue_warranty-disclaimer_2.RULE + matched_text: '6.1. Disclaimer of Warranty: TO THE FULL EXTENT ALLOWED BY LAW, THIS SOFTWARE' + matched_text_diagnostics: 'Disclaimer of Warranty:' + - license_expression: warranty-disclaimer + license_expression_spdx: LicenseRef-scancode-warranty-disclaimer + from_file: + start_line: 219 + end_line: 221 + matcher: 3-seq + score: '41.94' + matched_length: 13 + match_coverage: '41.94' + rule_relevance: 100 + rule_identifier: warranty-disclaimer_43.RULE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/warranty-disclaimer_43.RULE + matched_text: | + COMES “AS IS,” WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED, AND LICENSOR SHALL NOT + BE LIABLE TO ANY PERSON OR ENTITY FOR ANY DAMAGES OR OTHER LIABILITY ARISING + FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THIS LICENSE, UNDER ANY + matched_text_diagnostics: | + WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED, [AND] [LICENSOR] [SHALL] [NOT] + BE LIABLE [TO] [ANY] [PERSON] [OR] [ENTITY] FOR ANY DAMAGES [OR] [OTHER] [LIABILITY] ARISING + FROM, + - license_expression: unknown-license-reference + license_expression_spdx: LicenseRef-scancode-unknown-license-reference + from_file: + start_line: 224 + end_line: 224 + matcher: 2-aho + score: '100.0' + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 100 + rule_identifier: unknown-license-reference_351.RULE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_351.RULE + matched_text: '6.2. Limitation of Liability: LICENSEE SHALL HOLD LICENSOR HARMLESS AGAINST + ANY' + matched_text_diagnostics: 'Limitation of Liability:' + detection_log: + - unknown-intro-followed-by-match + identifier: warranty_disclaimer_and_unknown_license_reference-84fa0d12-fb71-2b1a-17d0-75b58a67c988 +spdx_license_key: Hippocratic-3.0-core +other_urls: + - https://firstdonoharm.dev/version/3/0/core.txt +--- + +HIPPOCRATIC LICENSE + +Version 3.0, October 2021 + +https://firstdonoharm.dev/version/3/0/core.txt + +TERMS AND CONDITIONS + +TERMS AND CONDITIONS FOR USE, COPY, MODIFICATION, PREPARATION OF DERIVATIVE +WORK, REPRODUCTION, AND DISTRIBUTION: + +1. DEFINITIONS: + +This section defines certain terms used throughout this license agreement. + +1.1. “License” means the terms and conditions, as stated herein, for use, copy, +modification, preparation of derivative work, reproduction, and distribution of +Software (as defined below). + +1.2. “Licensor” means the copyright and/or patent owner or entity authorized by +the copyright and/or patent owner that is granting the License. + +1.3. “Licensee” means the individual or entity exercising permissions granted by +this License, including the use, copy, modification, preparation of derivative +work, reproduction, and distribution of Software (as defined below). + +1.4. “Software” means any copyrighted work, including but not limited to +software code, authored by Licensor and made available under this License. + +1.5. “Supply Chain” means the sequence of processes involved in the production +and/or distribution of a commodity, good, or service offered by the Licensee. + +1.6. “Supply Chain Impacted Party” or “Supply Chain Impacted Parties” means any +person(s) directly impacted by any of Licensee’s Supply Chain, including the +practices of all persons or entities within the Supply Chain prior to a good or +service reaching the Licensee. + +1.7. “Duty of Care” is defined by its use in tort law, delict law, and/or +similar bodies of law closely related to tort and/or delict law, including +without limitation, a requirement to act with the watchfulness, attention, +caution, and prudence that a reasonable person in the same or similar +circumstances would use towards any Supply Chain Impacted Party. + +1.8. “Worker” is defined to include any and all permanent, temporary, and agency +workers, as well as piece-rate, salaried, hourly paid, legal young (minors), +part-time, night, and migrant workers. + +2. INTELLECTUAL PROPERTY GRANTS: + +This section identifies intellectual property rights granted to a Licensee. + +2.1. Grant of Copyright License: Subject to the terms and conditions of this +License, Licensor hereby grants to Licensee a worldwide, non-exclusive, +no-charge, royalty-free copyright license to use, copy, modify, prepare +derivative work, reproduce, or distribute the Software, Licensor authored +modified software, or other work derived from the Software. + +2.2. Grant of Patent License: Subject to the terms and conditions of this +License, Licensor hereby grants Licensee a worldwide, non-exclusive, no-charge, +royalty-free patent license to make, have made, use, offer to sell, sell, +import, and otherwise transfer Software. + +3. ETHICAL STANDARDS: + +This section lists conditions the Licensee must comply with in order to have +rights under this License. + +The rights granted to the Licensee by this License are expressly made subject to +the Licensee’s ongoing compliance with the following conditions: + + * 3.1. The Licensee SHALL NOT, whether directly or indirectly, through agents + or assigns: + + * 3.1.1. Infringe upon any person’s right to life or security of person, + engage in extrajudicial killings, or commit murder, without lawful cause + (See Article 3, United Nations Universal Declaration of Human Rights; + Article 6, International Covenant on Civil and Political Rights) + + * 3.1.2. Hold any person in slavery, servitude, or forced labor (See Article + 4, United Nations Universal Declaration of Human Rights; Article 8, + International Covenant on Civil and Political Rights); + + * 3.1.3. Contribute to the institution of slavery, slave trading, forced + labor, or unlawful child labor (See Article 4, United Nations Universal + Declaration of Human Rights; Article 8, International Covenant on Civil and + Political Rights); + + * 3.1.4. Torture or subject any person to cruel, inhumane, or degrading + treatment or punishment (See Article 5, United Nations Universal + Declaration of Human Rights; Article 7, International Covenant on Civil and + Political Rights); + + * 3.1.5. Discriminate on the basis of sex, gender, sexual orientation, race, + ethnicity, nationality, religion, caste, age, medical disability or + impairment, and/or any other like circumstances (See Article 7, United + Nations Universal Declaration of Human Rights; Article 2, International + Covenant on Economic, Social and Cultural Rights; Article 26, International + Covenant on Civil and Political Rights); + + * 3.1.6. Prevent any person from exercising his/her/their right to seek an + effective remedy by a competent court or national tribunal (including + domestic judicial systems, international courts, arbitration bodies, and + other adjudicating bodies) for actions violating the fundamental rights + granted to him/her/them by applicable constitutions, applicable laws, or by + this License (See Article 8, United Nations Universal Declaration of Human + Rights; Articles 9 and 14, International Covenant on Civil and Political + Rights); + + * 3.1.7. Subject any person to arbitrary arrest, detention, or exile (See + Article 9, United Nations Universal Declaration of Human Rights; Article 9, + International Covenant on Civil and Political Rights); + + * 3.1.8. Subject any person to arbitrary interference with a person’s + privacy, family, home, or correspondence without the express written + consent of the person (See Article 12, United Nations Universal Declaration + of Human Rights; Article 17, International Covenant on Civil and Political + Rights); + + * 3.1.9. Arbitrarily deprive any person of his/her/their property (See + Article 17, United Nations Universal Declaration of Human Rights); + + * 3.1.10. Forcibly remove indigenous peoples from their lands or territories + or take any action with the aim or effect of dispossessing indigenous + peoples from their lands, territories, or resources, including without + limitation the intellectual property or traditional knowledge of indigenous + peoples, without the free, prior, and informed consent of indigenous + peoples concerned (See Articles 8 and 10, United Nations Declaration on the + Rights of Indigenous Peoples); + + * 3.1.11. Interfere with Workers’ free exercise of the right to organize and + associate (See Article 20, United Nations Universal Declaration of Human + Rights; C087 - Freedom of Association and Protection of the Right to + Organise Convention, 1948 (No. 87), International Labour Organization; + Article 8, International Covenant on Economic, Social and Cultural Rights); + and + + * 3.1.12. Harm the environment in a manner inconsistent with local, state, + national, or international law. + + * 3.2. The Licensee SHALL: + + * 3.2.1. Provide equal pay for equal work where the performance of such work + requires equal skill, effort, and responsibility, and which are performed + under similar working conditions, except where such payment is made + pursuant to: + + * 3.2.1.1. A seniority system; + + * 3.2.1.2. A merit system; + + * 3.2.1.3. A system which measures earnings by quantity or quality of + production; or + + * 3.2.1.4. A differential based on any other factor other than sex, gender, + sexual orientation, race, ethnicity, nationality, religion, caste, age, + medical disability or impairment, and/or any other like circumstances + (See 29 U.S.C.A. § 206(d)(1); Article 23, United Nations Universal + Declaration of Human Rights; Article 7, International Covenant on + Economic, Social and Cultural Rights; Article 26, International Covenant + on Civil and Political Rights); and + + * 3.2.2. Allow for reasonable limitation of working hours and periodic + holidays with pay (See Article 24, United Nations Universal Declaration of + Human Rights; Article 7, International Covenant on Economic, Social and + Cultural Rights). + +4. SUPPLY CHAIN IMPACTED PARTIES: + +This section identifies additional individuals or entities that a Licensee could +harm as a result of violating the Ethical Standards section, the condition that +the Licensee must voluntarily accept a Duty of Care for those individuals or +entities, and the right to a private right of action that those individuals or +entities possess as a result of violations of the Ethical Standards section. + +4.1. In addition to the above Ethical Standards, Licensee voluntarily accepts a +Duty of Care for Supply Chain Impacted Parties of this License, including +individuals and communities impacted by violations of the Ethical Standards. The +Duty of Care is breached when a provision within the Ethical Standards section +is violated by a Licensee, one of its successors or assigns, or by an individual +or entity that exists within the Supply Chain prior to a good or service +reaching the Licensee. + +4.2. Breaches of the Duty of Care, as stated within this section, shall create a +private right of action, allowing any Supply Chain Impacted Party harmed by the +Licensee to take legal action against the Licensee in accordance with applicable +negligence laws, whether they be in tort law, delict law, and/or similar bodies +of law closely related to tort and/or delict law, regardless if Licensee is +directly responsible for the harms suffered by a Supply Chain Impacted Party. +Nothing in this section shall be interpreted to include acts committed by +individuals outside of the scope of his/her/their employment. + +5. NOTICE: This section explains when a Licensee must notify others of the +License. + +5.1. Distribution of Notice: Licensee must ensure that everyone who receives a +copy of or uses any part of Software from Licensee, with or without changes, +also receives the License and the copyright notice included with Software (and +if included by the Licensor, patent, trademark, and attribution notice). +Licensee must ensure that License is prominently displayed so that any +individual or entity seeking to download, copy, use, or otherwise receive any +part of Software from Licensee is notified of this License and its terms and +conditions. Licensee must cause any modified versions of the Software to carry +prominent notices stating that Licensee changed the Software. + +5.2. Modified Software: Licensee is free to create modifications of the Software +and distribute only the modified portion created by Licensee, however, any +derivative work stemming from the Software or its code must be distributed +pursuant to this License, including this Notice provision. + +5.3. Recipients as Licensees: Any individual or entity that uses, copies, +modifies, reproduces, distributes, or prepares derivative work based upon the +Software, all or part of the Software’s code, or a derivative work developed by +using the Software, including a portion of its code, is a Licensee as defined +above and is subject to the terms and conditions of this License. + +6. REPRESENTATIONS AND WARRANTIES: + +6.1. Disclaimer of Warranty: TO THE FULL EXTENT ALLOWED BY LAW, THIS SOFTWARE +COMES “AS IS,” WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED, AND LICENSOR SHALL NOT +BE LIABLE TO ANY PERSON OR ENTITY FOR ANY DAMAGES OR OTHER LIABILITY ARISING +FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THIS LICENSE, UNDER ANY +LEGAL CLAIM. + +6.2. Limitation of Liability: LICENSEE SHALL HOLD LICENSOR HARMLESS AGAINST ANY +AND ALL CLAIMS, DEBTS, DUES, LIABILITIES, LIENS, CAUSES OF ACTION, DEMANDS, +OBLIGATIONS, DISPUTES, DAMAGES, LOSSES, EXPENSES, ATTORNEYS’ FEES, COSTS, +LIABILITIES, AND ALL OTHER CLAIMS OF EVERY KIND AND NATURE WHATSOEVER, WHETHER +KNOWN OR UNKNOWN, ANTICIPATED OR UNANTICIPATED, FORESEEN OR UNFORESEEN, ACCRUED +OR UNACCRUED, DISCLOSED OR UNDISCLOSED, ARISING OUT OF OR RELATING TO LICENSEE’S +USE OF THE SOFTWARE. NOTHING IN THIS SECTION SHOULD BE INTERPRETED TO REQUIRE +LICENSEE TO INDEMNIFY LICENSOR, NOR REQUIRE LICENSOR TO INDEMNIFY LICENSEE. + +7. TERMINATION + +7.1. Violations of Ethical Standards or Breaching Duty of Care: If Licensee +violates the Ethical Standards section or Licensee, or any other person or +entity within the Supply Chain prior to a good or service reaching the Licensee, +breaches its Duty of Care to Supply Chain Impacted Parties, Licensee must remedy +the violation or harm caused by Licensee within 30 days of being notified of the +violation or harm. If Licensee fails to remedy the violation or harm within 30 +days, all rights in the Software granted to Licensee by License will be null and +void as between Licensor and Licensee. + +7.2. Failure of Notice: If any person or entity notifies Licensee in writing +that Licensee has not complied with the Notice section of this License, Licensee +can keep this License by taking all practical steps to comply within 30 days +after the notice of noncompliance. If Licensee does not do so, Licensee’s +License (and all rights licensed hereunder) will end immediately. + +7.3. Judicial Findings: In the event Licensee is found by a civil, criminal, +administrative, or other court of competent jurisdiction, or some other +adjudicating body with legal authority, to have committed actions which are in +violation of the Ethical Standards or Supply Chain Impacted Party sections of +this License, all rights granted to Licensee by this License will terminate +immediately. + +7.4. Patent Litigation: If Licensee institutes patent litigation against any +entity (including a cross-claim or counterclaim in a suit) alleging that the +Software, all or part of the Software’s code, or a derivative work developed +using the Software, including a portion of its code, constitutes direct or +contributory patent infringement, then any patent license, along with all other +rights, granted to Licensee under this License will terminate as of the date +such litigation is filed. + +7.5. Additional Remedies: Termination of the License by failing to remedy harms +in no way prevents Licensor or Supply Chain Impacted Party from seeking +appropriate remedies at law or in equity. + +8. MISCELLANEOUS: + +8.1. Conditions: Sections 3, 4.1, 5.1, 5.2, 7.1, 7.2, 7.3, and 7.4 are +conditions of the rights granted to Licensee in the License. + +8.2. Equitable Relief: Licensor and any Supply Chain Impacted Party shall be +entitled to equitable relief, including injunctive relief or specific +performance of the terms hereof, in addition to any other remedy to which they +are entitled at law or in equity. + +8.3. Severability: If any term or provision of this License is determined to be +invalid, illegal, or unenforceable by a court of competent jurisdiction, any +such determination of invalidity, illegality, or unenforceability shall not +affect any other term or provision of this License or invalidate or render +unenforceable such term or provision in any other jurisdiction. If the +determination of invalidity, illegality, or unenforceability by a court of +competent jurisdiction pertains to the terms or provisions contained in the +Ethical Standards section of this License, all rights in the Software granted to +Licensee shall be deemed null and void as between Licensor and Licensee. + +8.4. Section Titles: Section titles are solely written for organizational +purposes and should not be used to interpret the language within each section. + +8.5. Citations: Citations are solely written to provide context for the source +of the provisions in the Ethical Standards. + +8.6. Section Summaries: Some sections have a brief italicized description which +is provided for the sole purpose of briefly describing the section and should +not be used to interpret the terms of the License. + +8.7. Entire License: This is the entire License between the Licensor and +Licensee with respect to the claims released herein and that the consideration +stated herein is the only consideration or compensation to be paid or exchanged +between them for this License. This License cannot be modified or amended except +in a writing signed by Licensor and Licensee. + +8.8. Successors and Assigns: This License shall be binding upon and inure to the +benefit of the Licensor’s and Licensee’s respective heirs, successors, and +assigns. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/informatica.LICENSE b/src/licensedcode/data/licenses/informatica.LICENSE new file mode 100644 index 00000000000..5661cd5bf42 --- /dev/null +++ b/src/licensedcode/data/licenses/informatica.LICENSE @@ -0,0 +1,22 @@ +--- +key: informatica +short_name: Informatica License +name: Informatica License +spdx_license_key: Informatica +other_urls: + - https://raw.githubusercontent.com/landtuna/open-mtools/6c04c2882eca7c4313ec267766ea53ac9bfe129b/msend.c + - https://raw.githubusercontent.com/landtuna/open-mtools/6c04c2882eca7c4313ec267766ea53ac9bfe129b/mdump.c +--- + +Redistribution and use in source and binary forms, with or without + modification, are permitted without restriction. + +THE SOFTWARE IS PROVIDED "AS IS" AND INFORMATICA DISCLAIMS ALL WARRANTIES +EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF +NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR +PURPOSE. INFORMATICA DOES NOT WARRANT THAT USE OF THE SOFTWARE WILL BE +UNINTERRUPTED OR ERROR-FREE. INFORMATICA SHALL NOT, UNDER ANY CIRCUMSTANCES, +BE LIABLE TO LICENSEE FOR LOST PROFITS, CONSEQUENTIAL, INCIDENTAL, SPECIAL OR +INDIRECT DAMAGES ARISING OUT OF OR RELATED TO THIS AGREEMENT OR THE +TRANSACTIONS CONTEMPLATED HEREUNDER, EVEN IF INFORMATICA HAS BEEN APPRISED OF +THE LIKELIHOOD OF SUCH DAMAGES. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/mvt-1.1.LICENSE b/src/licensedcode/data/licenses/mvt-1.1.LICENSE index 8a11022d301..1b295e21db3 100644 --- a/src/licensedcode/data/licenses/mvt-1.1.LICENSE +++ b/src/licensedcode/data/licenses/mvt-1.1.LICENSE @@ -5,7 +5,13 @@ name: MVT License 1.1 category: Free Restricted owner: MVT homepage_url: https://github.com/mvt-project/license/blob/main/MVT%20License%201.1.txt -spdx_license_key: LicenseRef-scancode-mvt-1.1 +spdx_license_key: MVT-1.1 +other_spdx_license_keys: + - LicenseRef-scancode-mvt-1.1 +other_urls: + - https://github.com/mvt-project/mvt/blob/main/LICENSE + - https://docs.mvt.re/en/latest/license/ + - https://license.mvt.re/1.1/ ignorable_urls: - https://license.mvt.re/1.1 --- diff --git a/src/licensedcode/data/licenses/spelling-provider-lgpl-exception.LICENSE b/src/licensedcode/data/licenses/spelling-provider-lgpl-exception.LICENSE new file mode 100644 index 00000000000..3a92db0818e --- /dev/null +++ b/src/licensedcode/data/licenses/spelling-provider-lgpl-exception.LICENSE @@ -0,0 +1,71 @@ +--- +key: spelling-provider-lgpl-exception +short_name: Spelling Provider LGPL exception +name: Spelling Provider LGPL exception +notes: | + WARNING: review imperfect detections + license_expression: generic-exception AND spell-checker-exception-lgpl-2.1-plus + license_expression_spdx: LicenseRef-scancode-generic-exception AND LicenseRef-scancode-spell-exception-lgpl-2.1-plus + matches: + - license_expression: generic-exception + license_expression_spdx: LicenseRef-scancode-generic-exception + from_file: + start_line: 1 + end_line: 1 + matcher: 2-aho + score: '99.0' + matched_length: 3 + match_coverage: '100.0' + rule_relevance: 99 + rule_identifier: license-intro_8.RULE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_8.RULE + matched_text: In addition, as a special exception, the copyright holders give + matched_text_diagnostics: as a special exception, + - license_expression: spell-checker-exception-lgpl-2.1-plus + license_expression_spdx: LicenseRef-scancode-spell-exception-lgpl-2.1-plus + from_file: + start_line: 2 + end_line: 9 + matcher: 3-seq + score: '91.67' + matched_length: 88 + match_coverage: '91.67' + rule_relevance: 100 + rule_identifier: spell-checker-exception-lgpl-2.1-plus.LICENSE + rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/spell-checker-exception-lgpl-2.1-plus.LICENSE + matched_text: | + permission to link the code of this program with non-LGPL Spelling + Provider libraries (eg: a MSFT Office spell checker backend) + and distribute linked combinations including the two. You must + obey the GNU Lesser General Public License in all respects for + all of the code used other than said providers. If you modify + this file, you may extend this exception to your version of the + file, but you are not obligated to do so. If you do not wish + to do so, delete this exception statement from your version. + matched_text_diagnostics: | + permission to link the code of this program with non-LGPL Spelling + Provider libraries (eg: a MSFT Office spell checker backend) + and distribute linked combinations including the two. You must + obey the GNU Lesser General Public License in all respects for + all of the code used other than said providers. If you modify + this file, you may extend this exception to your version of the + file, but you are not obligated to do so. If you do not wish + to do so, delete this exception statement from your version. + detection_log: + - imperfect-match-coverage + identifier: generic_exception_and_spell_checker_exception_lgpl_2_1_plus-1809db91-005e-65a2-28cd-74b48c51ca6e +is_exception: yes +spdx_license_key: Spelling-Provider-LGPL-exception +other_urls: + - https://github.com/rrthomas/enchant/blob/774ff6dc2e441ba2b9b786f8edbe00e014960408/lib/internal.vapi#L18 +--- + +In addition, as a special exception, the copyright holders give +permission to link the code of this program with non-LGPL Spelling +Provider libraries (eg: a MSFT Office spell checker backend) +and distribute linked combinations including the two. You must +obey the GNU Lesser General Public License in all respects for +all of the code used other than said providers. If you modify +this file, you may extend this exception to your version of the +file, but you are not obligated to do so. If you do not wish +to do so, delete this exception statement from your version. \ No newline at end of file From 7792be2820c92379e4bad18d0197ade08bb8a5bf Mon Sep 17 00:00:00 2001 From: Ayan Sinha Mahapatra Date: Thu, 22 Oct 2026 17:33:57 -0700 Subject: [PATCH 3/3] Update licenses and license rules Review and modify new license additions and adjust old licenses and license rules accordingly. Remove debug detection details and add license attributes as required. Reference: https://github.com/aboutcode-org/scancode-toolkit/issues/5322 Signed-off-by: Ayan Sinha Mahapatra --- .../data/licenses/atc-game.LICENSE | 2 + .../bsd-2-clause-pos-unchanged.LICENSE | 97 ------------ .../licenses/bsd-3-clause-openwebui.LICENSE | 123 +-------------- .../data/licenses/bsd-ask-to-endorse.LICENSE | 60 +------ .../data/licenses/bsd-source-alt-gpl.LICENSE | 72 +-------- .../data/licenses/bsd-unchanged.LICENSE | 9 +- .../data/licenses/bugroff.LICENSE | 122 +-------------- .../data/licenses/cc-by-nc-3.0-igo.LICENSE | 4 +- .../data/licenses/fdk-mpeg-h.LICENSE | 120 +------------- .../licenses/hippocratic-3.0-core.LICENSE | 148 +----------------- .../data/licenses/informatica.LICENSE | 2 + .../spelling-provider-lgpl-exception.LICENSE | 54 +------ .../data/rules/bsd-ask-to-endorse_1.RULE | 22 +++ .../rules/bsd-axis-nomod_or_gpl-2.0-plus.RULE | 3 + .../data/rules/bsd-axis-nomod_or_gpl.RULE | 4 +- .../data/rules/bsd-axis-nomod_or_gpl2.RULE | 3 + .../data/rules/bsd-axis-nomod_or_gpl3.RULE | 3 + .../data/rules/bsd-axis-nomod_or_gpl4.RULE | 4 + .../data/rules/bsd-source-alt-gpl_1.RULE | 31 ++++ .../data/rules/bsd-source-alt-gpl_2.RULE | 17 ++ .../data/rules/bsd-source-alt-gpl_3.RULE | 27 ++++ .../data/rules/bsd-source-alt-gpl_4.RULE | 29 ++++ .../data/rules/bsd-source-code_2.RULE | 1 + .../data/rules/bsd-unchanged_5.RULE | 34 ++++ 24 files changed, 209 insertions(+), 782 deletions(-) delete mode 100644 src/licensedcode/data/licenses/bsd-2-clause-pos-unchanged.LICENSE create mode 100644 src/licensedcode/data/rules/bsd-ask-to-endorse_1.RULE create mode 100644 src/licensedcode/data/rules/bsd-source-alt-gpl_1.RULE create mode 100644 src/licensedcode/data/rules/bsd-source-alt-gpl_2.RULE create mode 100644 src/licensedcode/data/rules/bsd-source-alt-gpl_3.RULE create mode 100644 src/licensedcode/data/rules/bsd-source-alt-gpl_4.RULE create mode 100644 src/licensedcode/data/rules/bsd-unchanged_5.RULE diff --git a/src/licensedcode/data/licenses/atc-game.LICENSE b/src/licensedcode/data/licenses/atc-game.LICENSE index ba6694b0a2a..3f79d414b29 100644 --- a/src/licensedcode/data/licenses/atc-game.LICENSE +++ b/src/licensedcode/data/licenses/atc-game.LICENSE @@ -2,6 +2,8 @@ key: atc-game short_name: atc Game License name: atc Game License +category: Permissive +owner: Ed James spdx_license_key: atc-game other_urls: - https://github.com/vattam/BSDGames/blob/master/atc/extern.c#L36 diff --git a/src/licensedcode/data/licenses/bsd-2-clause-pos-unchanged.LICENSE b/src/licensedcode/data/licenses/bsd-2-clause-pos-unchanged.LICENSE deleted file mode 100644 index ae42818e95c..00000000000 --- a/src/licensedcode/data/licenses/bsd-2-clause-pos-unchanged.LICENSE +++ /dev/null @@ -1,97 +0,0 @@ ---- -key: bsd-2-clause-pos-unchanged -short_name: BSD 2-Clause - position unchanged variant -name: BSD 2-Clause - position unchanged variant -notes: | - WARNING: review imperfect detections - license_expression: bsd-unchanged - license_expression_spdx: LicenseRef-scancode-bsd-unchanged - matches: - - license_expression: bsd-unchanged - license_expression_spdx: LicenseRef-scancode-bsd-unchanged - from_file: - start_line: 4 - end_line: 23 - matcher: 3-seq - score: '98.92' - matched_length: 184 - match_coverage: '98.92' - rule_relevance: 100 - rule_identifier: bsd-unchanged_2.RULE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-unchanged_2.RULE - matched_text: | - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer - in this position and unchanged. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR - IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, - INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - matched_text_diagnostics: | - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer - in this position and unchanged. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR - IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, - INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - detection_log: - - imperfect-match-coverage - identifier: bsd_unchanged-5b493d96-c370-5efb-7b0b-c84529fae0d0 -spdx_license_key: BSD-2-Clause-pos-unchanged -other_urls: - - https://scancode-licensedb.aboutcode.org/bsd-unchanged - - https://cgit.freebsd.org/src/tree/usr.bin/sockstat/sockstat.c - - https://github.com/libarchive/libarchive/blob/master/libarchive_fe/line_reader.c - - https://github.com/freebsd/pkg/blob/main/src/add.c ---- - -Copyright (c) -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer - in this position and unchanged. -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/bsd-3-clause-openwebui.LICENSE b/src/licensedcode/data/licenses/bsd-3-clause-openwebui.LICENSE index 6ca73187815..119220b4038 100644 --- a/src/licensedcode/data/licenses/bsd-3-clause-openwebui.LICENSE +++ b/src/licensedcode/data/licenses/bsd-3-clause-openwebui.LICENSE @@ -2,127 +2,8 @@ key: bsd-3-clause-openwebui short_name: BSD 3-Clause - OpenWebUI variant name: BSD 3-Clause - OpenWebUI variant -notes: | - Multiple licenses detected by scancode on this text - license_expression: bsd-new - license_expression_spdx: BSD-3-Clause - matches: - - license_expression: bsd-new - license_expression_spdx: BSD-3-Clause - from_file: - start_line: 6 - end_line: 18 - matcher: 3-seq - score: '46.76' - matched_length: 101 - match_coverage: '46.76' - rule_relevance: 100 - rule_identifier: bsd-new_105.RULE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_105.RULE - matched_text: | - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - 3. Neither the name of the copyright holder nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - matched_text_diagnostics: | - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - 3. Neither the name of the copyright holder nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - detection_log: - - low-quality-matches - - not-license-clues-as-more-detections-present - identifier: bsd_new-73f7f2cd-acc1-c96c-be3b-60ece2888bc6 - license_expression: generic-cla AND bsd-new - license_expression_spdx: LicenseRef-scancode-generic-cla AND BSD-3-Clause - matches: - - license_expression: generic-cla - license_expression_spdx: LicenseRef-scancode-generic-cla - from_file: - start_line: 39 - end_line: 40 - matcher: 2-aho - score: '80.0' - matched_length: 3 - match_coverage: '100.0' - rule_relevance: 80 - rule_identifier: generic-cla5.RULE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/generic-cla5.RULE - matched_text: | - By contributing to this project, you agree to the project's Contributor - License Agreement (CONTRIBUTOR_LICENSE_AGREEMENT). - matched_text_diagnostics: | - Contributor - License Agreement ( - - license_expression: generic-cla - license_expression_spdx: LicenseRef-scancode-generic-cla - from_file: - start_line: 40 - end_line: 40 - matcher: 2-aho - score: '80.0' - matched_length: 3 - match_coverage: '100.0' - rule_relevance: 80 - rule_identifier: generic-cla5.RULE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/generic-cla5.RULE - matched_text: License Agreement (CONTRIBUTOR_LICENSE_AGREEMENT). - matched_text_diagnostics: CONTRIBUTOR_LICENSE_AGREEMENT). - - license_expression: bsd-new - license_expression_spdx: BSD-3-Clause - from_file: - start_line: 42 - end_line: 51 - matcher: 3-seq - score: '55.83' - matched_length: 115 - match_coverage: '55.83' - rule_relevance: 100 - rule_identifier: bsd-new_781.RULE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_781.RULE - matched_text: | - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - matched_text_diagnostics: | - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - detection_log: - - imperfect-match-coverage - identifier: generic_cla_and_bsd_new-5dd50a49-a0e2-5f70-b540-803acab906d7 +category: Permissive +owner: Open WebUI Inc. spdx_license_key: BSD-3-Clause-OpenWebUI other_urls: - https://github.com/open-webui/open-webui/blob/main/LICENSE diff --git a/src/licensedcode/data/licenses/bsd-ask-to-endorse.LICENSE b/src/licensedcode/data/licenses/bsd-ask-to-endorse.LICENSE index c763b654fd9..0ff9b2242ed 100644 --- a/src/licensedcode/data/licenses/bsd-ask-to-endorse.LICENSE +++ b/src/licensedcode/data/licenses/bsd-ask-to-endorse.LICENSE @@ -1,63 +1,9 @@ --- key: bsd-ask-to-endorse -short_name: BSD - ask to endorse +short_name: BSD ask to endorse name: BSD - ask to endorse -notes: | - WARNING: review imperfect detections - license_expression: bsd-source-code - license_expression_spdx: BSD-Source-Code - matches: - - license_expression: bsd-source-code - license_expression_spdx: BSD-Source-Code - from_file: - start_line: 3 - end_line: 19 - matcher: 2-aho - score: '83.94' - matched_length: 158 - match_coverage: '100.0' - rule_relevance: 85 - rule_identifier: bsd-source-code_2.RULE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-source-code_2.RULE - matched_text: | - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that neither the name of Emin - Martinian nor the names of any contributors are be used to endorse or - promote products derived from this software without specific prior - written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - matched_text_diagnostics: | - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that neither the name of [Emin] - [Martinian] nor the names of any contributors are be used to endorse or - promote products derived from this software without specific prior - written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - detection_log: - - extra-words - identifier: bsd_source_code-08214d2b-de27-cfe1-7012-c975b2d77038 +category: Permissive +owner: Emin Martinian spdx_license_key: BSD-ask-to-endorse other_urls: - https://github.com/sudo-project/sudo/blob/c1307ea9ff340ce0538779f8e456501461fc44b7/plugins/sudoers/redblack.c#L24-L43 diff --git a/src/licensedcode/data/licenses/bsd-source-alt-gpl.LICENSE b/src/licensedcode/data/licenses/bsd-source-alt-gpl.LICENSE index ec2d1c3e906..e1dc5954348 100644 --- a/src/licensedcode/data/licenses/bsd-source-alt-gpl.LICENSE +++ b/src/licensedcode/data/licenses/bsd-source-alt-gpl.LICENSE @@ -1,77 +1,13 @@ --- key: bsd-source-alt-gpl -short_name: BSD Source Code Attribution - GPL alternative +short_name: BSD Source Code Attribution GPL alternative name: BSD Source Code Attribution - GPL alternative -notes: | - WARNING: perfect detections to more than 1 license/rules - license_expression: bsd-axis-nomod OR gpl-1.0-plus - license_expression_spdx: LicenseRef-scancode-bsd-axis-nomod OR GPL-1.0-or-later - matches: - - license_expression: bsd-axis-nomod OR gpl-1.0-plus - license_expression_spdx: LicenseRef-scancode-bsd-axis-nomod OR GPL-1.0-or-later - from_file: - start_line: 1 - end_line: 23 - matcher: 1-hash - score: '100.0' - matched_length: 194 - match_coverage: '100.0' - rule_relevance: 100 - rule_identifier: bsd-axis-nomod_or_gpl4.RULE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-axis-nomod_or_gpl4.RULE - matched_text: | - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions, and the following disclaimer, - without modification. - 2. The name of the author may not be used to endorse or promote products - derived from this software without specific prior written permission. - - Alternatively, this software may be distributed under the terms of the - GNU Public License ("GPL"). - - THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR - ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - SUCH DAMAGE. - matched_text_diagnostics: | - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions, and the following disclaimer, - without modification. - 2. The name of the author may not be used to endorse or promote products - derived from this software without specific prior written permission. - - Alternatively, this software may be distributed under the terms of the - GNU Public License ("GPL"). - - THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR - ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - SUCH DAMAGE. - detection_log: [] - identifier: bsd_axis_nomod_or_gpl_1_0_plus-ccc013ff-bc59-543e-c5e3-8276ac2e8bf5 +category: Permissive +owner: Justin T. Gibbs spdx_license_key: BSD-Source-alt-GPL other_urls: - https://cgit.freebsd.org/src/plain/sys/dev/aic7xxx/aic7xxx_osm.c +notes: These were present as `bsd-axis-nomod OR gpl-2.0-plus` rules previously --- Redistribution and use in source and binary forms, with or without diff --git a/src/licensedcode/data/licenses/bsd-unchanged.LICENSE b/src/licensedcode/data/licenses/bsd-unchanged.LICENSE index 6d6aec87909..179db2067f5 100644 --- a/src/licensedcode/data/licenses/bsd-unchanged.LICENSE +++ b/src/licensedcode/data/licenses/bsd-unchanged.LICENSE @@ -8,8 +8,15 @@ notes: | Contains this extra text "in this position and unchanged" when compared with a bsd-simplified. Found in the BSD codebase, for instance at http://web.mit.edu/freebsd/head/sys/sys/sbuf.h -spdx_license_key: LicenseRef-scancode-bsd-unchanged +spdx_license_key: BSD-2-Clause-pos-unchanged +other_spdx_license_keys: + - LicenseRef-scancode-bsd-unchanged minimum_coverage: 98 +other_urls: + - https://scancode-licensedb.aboutcode.org/bsd-unchanged + - https://cgit.freebsd.org/src/tree/usr.bin/sockstat/sockstat.c + - https://github.com/libarchive/libarchive/blob/master/libarchive_fe/line_reader.c + - https://github.com/freebsd/pkg/blob/main/src/add.c --- Redistribution and use in source and binary forms, with or without diff --git a/src/licensedcode/data/licenses/bugroff.LICENSE b/src/licensedcode/data/licenses/bugroff.LICENSE index 94a4150f16b..d72b681df97 100644 --- a/src/licensedcode/data/licenses/bugroff.LICENSE +++ b/src/licensedcode/data/licenses/bugroff.LICENSE @@ -2,126 +2,8 @@ key: bugroff short_name: Bugroff License name: Bugroff License -notes: | - Multiple licenses detected by scancode on this text - license_expression: gpl-1.0-plus - license_expression_spdx: GPL-1.0-or-later - matches: - - license_expression: gpl-1.0-plus - license_expression_spdx: GPL-1.0-or-later - from_file: - start_line: 3 - end_line: 3 - matcher: 2-aho - score: '100.0' - matched_length: 6 - match_coverage: '100.0' - rule_relevance: 100 - rule_identifier: gpl_178.RULE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl_178.RULE - matched_text: Richard Stallman of the Free Software Foundation devised, in addition to some - marvelous software, the GNU General Public License (GPL for short). Or the CopyLeft it - is sometimes called. - matched_text_diagnostics: the GNU General Public License (GPL - detection_log: [] - identifier: gpl_1_0_plus-32829990-d8b3-e2de-a325-2e176ecc8d2e - license_expression: lgpl-2.0-plus AND gpl-1.0-plus - license_expression_spdx: LGPL-2.0-or-later AND GPL-1.0-or-later - matches: - - license_expression: lgpl-2.0-plus - license_expression_spdx: LGPL-2.0-or-later - from_file: - start_line: 9 - end_line: 9 - matcher: 2-aho - score: '60.0' - matched_length: 1 - match_coverage: '100.0' - rule_relevance: 60 - 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 - matched_text: In fact, various inconveniences relating to this have resulted in modifications - such as the LGPL (Library General Public License) and more recently the NPL (Netscape - Public License) - matched_text_diagnostics: LGPL ( - - license_expression: lgpl-2.0-plus - license_expression_spdx: LGPL-2.0-or-later - from_file: - start_line: 9 - end_line: 9 - matcher: 2-aho - score: '100.0' - matched_length: 4 - match_coverage: '100.0' - rule_relevance: 100 - rule_identifier: lgpl-2.0-plus_187.RULE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.0-plus_187.RULE - matched_text: In fact, various inconveniences relating to this have resulted in modifications - such as the LGPL (Library General Public License) and more recently the NPL (Netscape - Public License) - matched_text_diagnostics: Library General Public License) - - license_expression: gpl-1.0-plus - license_expression_spdx: GPL-1.0-or-later - from_file: - start_line: 11 - end_line: 11 - matcher: 2-aho - score: '85.0' - matched_length: 2 - match_coverage: '100.0' - rule_relevance: 85 - 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: I call these matters mere inconveniences, the real damage will occur when - the Jackal's, (sorry, I mean lawyers), actually get to test the GPL in court for the first - time. - matched_text_diagnostics: the GPL - detection_log: [] - identifier: lgpl_2_0_plus_and_gpl_1_0_plus-5da55cb2-db70-d91a-6016-220a9036e0f5 - license_expression: other-permissive - license_expression_spdx: LicenseRef-scancode-other-permissive - matches: - - license_expression: other-permissive - license_expression_spdx: LicenseRef-scancode-other-permissive - from_file: - start_line: 27 - end_line: 27 - matcher: 2-aho - score: '100.0' - matched_length: 11 - match_coverage: '100.0' - rule_relevance: 100 - rule_identifier: other-permissive_118.RULE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_118.RULE - matched_text: Sure, No problem. Don't worry, be happy. Now bugger off. - matched_text_diagnostics: Sure, No problem. Don't worry, be happy. Now bugger off. - detection_log: [] - identifier: other_permissive-1c246c07-511e-255f-6d2a-b883fcf106e1 - license_expression: gpl-1.0-plus - license_expression_spdx: GPL-1.0-or-later - matches: - - license_expression: gpl-1.0-plus - license_expression_spdx: GPL-1.0-or-later - from_file: - start_line: 33 - end_line: 33 - matcher: 2-aho - score: '85.0' - matched_length: 2 - match_coverage: '100.0' - rule_relevance: 85 - 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: ' Now bugger off. The only way to get rid of pushy Jackals is to ignore - them and not feed them. The GPL is just begging somebody to take it to court. Can''t you - just see it. Exactly the same thing that happened when some twit (not Linus) registered - Linux as his own personal trademark. People got upset, started a fund, and hired, off - all ruddy things, a Jackal to try and defend the chicken! Who really benefits from this - trademark / patent / copyright thing anyway? The lawyers. Who made it up in the first - place? The lawyers.' - matched_text_diagnostics: The GPL - detection_log: [] - identifier: gpl_1_0_plus-0275ca3c-0d0c-8224-0676-9b6f2b7ff11c +category: Permissive +owner: The Tunes Project spdx_license_key: Bugroff other_urls: - https://tunes.org/legalese/bugroff.html diff --git a/src/licensedcode/data/licenses/cc-by-nc-3.0-igo.LICENSE b/src/licensedcode/data/licenses/cc-by-nc-3.0-igo.LICENSE index 561a8ac09fa..b672839bb4d 100644 --- a/src/licensedcode/data/licenses/cc-by-nc-3.0-igo.LICENSE +++ b/src/licensedcode/data/licenses/cc-by-nc-3.0-igo.LICENSE @@ -1,7 +1,9 @@ --- key: cc-by-nc-3.0-igo -short_name: Creative Commons Attribution Non Commercial 3.0 IGO +short_name: cc-by-nc-3.0 IGO name: Creative Commons Attribution Non Commercial 3.0 IGO +category: Non-Commercial +owner: Creative Commons spdx_license_key: CC-BY-NC-3.0-IGO other_urls: - https://creativecommons.org/licenses/by-nc/3.0/igo/legalcode diff --git a/src/licensedcode/data/licenses/fdk-mpeg-h.LICENSE b/src/licensedcode/data/licenses/fdk-mpeg-h.LICENSE index 4c444472f66..c96070fce9d 100644 --- a/src/licensedcode/data/licenses/fdk-mpeg-h.LICENSE +++ b/src/licensedcode/data/licenses/fdk-mpeg-h.LICENSE @@ -2,124 +2,8 @@ key: fdk-mpeg-h short_name: Fraunhofer FDK MPEG-H Software name: Fraunhofer FDK MPEG-H Software -notes: | - Multiple licenses detected by scancode on this text - license_expression: - license_expression_spdx: - matches: - - license_expression: bsd-no-disclaimer-unmodified - license_expression_spdx: LicenseRef-scancode-bsd-no-disclaimer-unmodified - from_file: - start_line: 23 - end_line: 27 - matcher: 3-seq - score: '26.98' - matched_length: 17 - match_coverage: '26.98' - rule_relevance: 100 - rule_identifier: bsd-no-disclaimer-unmodified.LICENSE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/bsd-no-disclaimer-unmodified.LICENSE - matched_text: | - Redistribution and use in source and binary forms, with or without modification, - are permitted without payment of copyright license fees provided that you - satisfy the following conditions: - - * You must retain the complete text of this software license in redistributions - matched_text_diagnostics: | - Redistribution and use in source and binary forms, with or without modification, - are permitted [without] [payment] [of] [copyright] [license] [fees] [provided] [that] [you] - [satisfy] [the] [following] [conditions]: - - * [You] must retain the - detection_log: - - low-quality-matches - identifier: - license_expression: - license_expression_spdx: - matches: - - license_expression: bsd-axis-nomod OR gpl-1.0-plus - license_expression_spdx: LicenseRef-scancode-bsd-axis-nomod OR GPL-1.0-or-later - from_file: - start_line: 38 - end_line: 41 - matcher: 3-seq - score: '18.29' - matched_length: 15 - match_coverage: '18.29' - rule_relevance: 100 - rule_identifier: bsd-axis-nomod_or_gpl2.RULE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-axis-nomod_or_gpl2.RULE - matched_text: | - * The name of Fraunhofer may not be used to endorse or promote products derived - from the Fraunhofer FDK MPEG-H Software without prior written permission. - - * You may not charge copyright license fees for anyone to use, copy or - matched_text_diagnostics: | - may not be used to endorse or promote products derived - from [the] [Fraunhofer] [FDK] [MPEG]-[H] [Software] [without] prior written permission. - - * [You] [may] [not] [charge] [copyright] license - detection_log: - - low-quality-matches - identifier: - license_expression: warranty-disclaimer - license_expression_spdx: LicenseRef-scancode-warranty-disclaimer - matches: - - license_expression: warranty-disclaimer - license_expression_spdx: LicenseRef-scancode-warranty-disclaimer - from_file: - start_line: 54 - end_line: 54 - matcher: 2-aho - score: '90.0' - matched_length: 2 - match_coverage: '100.0' - rule_relevance: 90 - rule_identifier: warranty-disclaimer_24.RULE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/warranty-disclaimer_24.RULE - matched_text: Fraunhofer provides no warranty of patent non-infringement with respect to - this - matched_text_diagnostics: no warranty - detection_log: [] - identifier: warranty_disclaimer-48391dcb-9e03-9def-3286-75d32c5d446b - license_expression: other-permissive - license_expression_spdx: LicenseRef-scancode-other-permissive - matches: - - license_expression: other-permissive - license_expression_spdx: LicenseRef-scancode-other-permissive - from_file: - start_line: 62 - end_line: 70 - matcher: 3-seq - score: '72.87' - matched_length: 94 - match_coverage: '72.87' - rule_relevance: 100 - rule_identifier: other-permissive_17.RULE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/other-permissive_17.RULE - matched_text: | - WARRANTIES, including but not limited to the implied warranties of - merchantability and fitness for a particular purpose. IN NO EVENT SHALL THE - COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE for any direct, indirect, - incidental, special, exemplary, or consequential damages, including but not - limited to procurement of substitute goods or services; loss of use, data, or - profits, or business interruption, however caused and on any theory of - liability, whether in contract, strict liability, or tort (including - negligence), arising in any way out of the use of this software, even if - advised of the possibility of such damage. - matched_text_diagnostics: | - WARRANTIES, including but not limited to the implied warranties of - merchantability and fitness for a particular purpose. IN NO EVENT SHALL THE - COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE for any direct, indirect, - incidental, special, exemplary, or consequential damages, including but not - limited to procurement of substitute goods or services; loss of use, data, or - profits, or business interruption, however caused and on any theory of - liability, whether in contract, strict liability, or tort (including - negligence), arising in any way out of the use of this software, even if - advised of the possibility of such damage. - detection_log: - - imperfect-match-coverage - identifier: other_permissive-7dfbf3e1-8fc8-ba19-3634-2327b747ef09 +category: Permissive +owner: Fraunhofer Institute for Integrated Circuits spdx_license_key: FDK-MPEG-H other_urls: - https://github.com/Fraunhofer-IIS/mpeghdec/blob/main/LICENSE.txt diff --git a/src/licensedcode/data/licenses/hippocratic-3.0-core.LICENSE b/src/licensedcode/data/licenses/hippocratic-3.0-core.LICENSE index b0504bd09da..c4d096e085f 100644 --- a/src/licensedcode/data/licenses/hippocratic-3.0-core.LICENSE +++ b/src/licensedcode/data/licenses/hippocratic-3.0-core.LICENSE @@ -2,152 +2,8 @@ key: hippocratic-3.0-core short_name: Hippocratic License 3.0 name: Hippocratic License 3.0 -notes: | - Multiple licenses detected by scancode on this text - license_expression: hippocratic-1.2 - license_expression_spdx: LicenseRef-scancode-hippocratic-1.2 - matches: - - license_expression: hippocratic-1.2 - license_expression_spdx: LicenseRef-scancode-hippocratic-1.2 - from_file: - start_line: 1 - end_line: 1 - matcher: 2-aho - score: '100.0' - matched_length: 2 - match_coverage: '100.0' - rule_relevance: 100 - rule_identifier: hippocratic-1.2_7.RULE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/hippocratic-1.2_7.RULE - matched_text: HIPPOCRATIC LICENSE - matched_text_diagnostics: HIPPOCRATIC LICENSE - - license_expression: hippocratic-1.2 - license_expression_spdx: LicenseRef-scancode-hippocratic-1.2 - from_file: - start_line: 5 - end_line: 5 - matcher: 2-aho - score: '100.0' - matched_length: 3 - match_coverage: '100.0' - rule_relevance: 100 - rule_identifier: hippocratic-1.2_8.RULE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/hippocratic-1.2_8.RULE - matched_text: https://firstdonoharm.dev/version/3/0/core.txt - matched_text_diagnostics: https://firstdonoharm.dev/ - detection_log: [] - identifier: hippocratic_1_2-05552642-5dba-2389-c065-dbc3503a0cf4 - license_expression: warranty-disclaimer AND unknown-license-reference - license_expression_spdx: LicenseRef-scancode-warranty-disclaimer AND LicenseRef-scancode-unknown-license-reference - matches: - - license_expression: unknown-license-reference - license_expression_spdx: LicenseRef-scancode-unknown-license-reference - from_file: - start_line: 14 - end_line: 14 - matcher: 2-aho - score: '90.0' - matched_length: 2 - match_coverage: '100.0' - rule_relevance: 90 - rule_identifier: license-intro_22.RULE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_22.RULE - matched_text: This section defines certain terms used throughout this license agreement. - matched_text_diagnostics: license agreement. - - license_expression: unknown-license-reference - license_expression_spdx: LicenseRef-scancode-unknown-license-reference - from_file: - start_line: 52 - end_line: 52 - matcher: 2-aho - score: '100.0' - matched_length: 6 - match_coverage: '100.0' - rule_relevance: 100 - rule_identifier: license-intro_35.RULE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE - matched_text: '2.1. Grant of Copyright License: Subject to the terms and conditions of this' - matched_text_diagnostics: Subject to the terms and conditions - - license_expression: unknown-license-reference - license_expression_spdx: LicenseRef-scancode-unknown-license-reference - from_file: - start_line: 58 - end_line: 58 - matcher: 2-aho - score: '100.0' - matched_length: 6 - match_coverage: '100.0' - rule_relevance: 100 - rule_identifier: license-intro_35.RULE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE - matched_text: '2.2. Grant of Patent License: Subject to the terms and conditions of this' - matched_text_diagnostics: Subject to the terms and conditions - - license_expression: unknown-license-reference - license_expression_spdx: LicenseRef-scancode-unknown-license-reference - from_file: - start_line: 214 - end_line: 214 - matcher: 2-aho - score: '100.0' - matched_length: 6 - match_coverage: '100.0' - rule_relevance: 100 - rule_identifier: license-intro_35.RULE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_35.RULE - matched_text: above and is subject to the terms and conditions of this License. - matched_text_diagnostics: subject to the terms and conditions - - license_expression: warranty-disclaimer - license_expression_spdx: LicenseRef-scancode-warranty-disclaimer - from_file: - start_line: 218 - end_line: 218 - matcher: 2-aho - score: '100.0' - matched_length: 3 - match_coverage: '100.0' - rule_relevance: 100 - rule_identifier: license-clue_warranty-disclaimer_2.RULE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-clue_warranty-disclaimer_2.RULE - matched_text: '6.1. Disclaimer of Warranty: TO THE FULL EXTENT ALLOWED BY LAW, THIS SOFTWARE' - matched_text_diagnostics: 'Disclaimer of Warranty:' - - license_expression: warranty-disclaimer - license_expression_spdx: LicenseRef-scancode-warranty-disclaimer - from_file: - start_line: 219 - end_line: 221 - matcher: 3-seq - score: '41.94' - matched_length: 13 - match_coverage: '41.94' - rule_relevance: 100 - rule_identifier: warranty-disclaimer_43.RULE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/warranty-disclaimer_43.RULE - matched_text: | - COMES “AS IS,” WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED, AND LICENSOR SHALL NOT - BE LIABLE TO ANY PERSON OR ENTITY FOR ANY DAMAGES OR OTHER LIABILITY ARISING - FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THIS LICENSE, UNDER ANY - matched_text_diagnostics: | - WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED, [AND] [LICENSOR] [SHALL] [NOT] - BE LIABLE [TO] [ANY] [PERSON] [OR] [ENTITY] FOR ANY DAMAGES [OR] [OTHER] [LIABILITY] ARISING - FROM, - - license_expression: unknown-license-reference - license_expression_spdx: LicenseRef-scancode-unknown-license-reference - from_file: - start_line: 224 - end_line: 224 - matcher: 2-aho - score: '100.0' - matched_length: 3 - match_coverage: '100.0' - rule_relevance: 100 - rule_identifier: unknown-license-reference_351.RULE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/unknown-license-reference_351.RULE - matched_text: '6.2. Limitation of Liability: LICENSEE SHALL HOLD LICENSOR HARMLESS AGAINST - ANY' - matched_text_diagnostics: 'Limitation of Liability:' - detection_log: - - unknown-intro-followed-by-match - identifier: warranty_disclaimer_and_unknown_license_reference-84fa0d12-fb71-2b1a-17d0-75b58a67c988 +category: Free Restricted +owner: Ethical Source spdx_license_key: Hippocratic-3.0-core other_urls: - https://firstdonoharm.dev/version/3/0/core.txt diff --git a/src/licensedcode/data/licenses/informatica.LICENSE b/src/licensedcode/data/licenses/informatica.LICENSE index 5661cd5bf42..a0189fe2dd8 100644 --- a/src/licensedcode/data/licenses/informatica.LICENSE +++ b/src/licensedcode/data/licenses/informatica.LICENSE @@ -2,6 +2,8 @@ key: informatica short_name: Informatica License name: Informatica License +category: Permissive +owner: Informatica Inc. spdx_license_key: Informatica other_urls: - https://raw.githubusercontent.com/landtuna/open-mtools/6c04c2882eca7c4313ec267766ea53ac9bfe129b/msend.c diff --git a/src/licensedcode/data/licenses/spelling-provider-lgpl-exception.LICENSE b/src/licensedcode/data/licenses/spelling-provider-lgpl-exception.LICENSE index 3a92db0818e..97bb355ab42 100644 --- a/src/licensedcode/data/licenses/spelling-provider-lgpl-exception.LICENSE +++ b/src/licensedcode/data/licenses/spelling-provider-lgpl-exception.LICENSE @@ -2,58 +2,8 @@ key: spelling-provider-lgpl-exception short_name: Spelling Provider LGPL exception name: Spelling Provider LGPL exception -notes: | - WARNING: review imperfect detections - license_expression: generic-exception AND spell-checker-exception-lgpl-2.1-plus - license_expression_spdx: LicenseRef-scancode-generic-exception AND LicenseRef-scancode-spell-exception-lgpl-2.1-plus - matches: - - license_expression: generic-exception - license_expression_spdx: LicenseRef-scancode-generic-exception - from_file: - start_line: 1 - end_line: 1 - matcher: 2-aho - score: '99.0' - matched_length: 3 - match_coverage: '100.0' - rule_relevance: 99 - rule_identifier: license-intro_8.RULE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/license-intro_8.RULE - matched_text: In addition, as a special exception, the copyright holders give - matched_text_diagnostics: as a special exception, - - license_expression: spell-checker-exception-lgpl-2.1-plus - license_expression_spdx: LicenseRef-scancode-spell-exception-lgpl-2.1-plus - from_file: - start_line: 2 - end_line: 9 - matcher: 3-seq - score: '91.67' - matched_length: 88 - match_coverage: '91.67' - rule_relevance: 100 - rule_identifier: spell-checker-exception-lgpl-2.1-plus.LICENSE - rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/spell-checker-exception-lgpl-2.1-plus.LICENSE - matched_text: | - permission to link the code of this program with non-LGPL Spelling - Provider libraries (eg: a MSFT Office spell checker backend) - and distribute linked combinations including the two. You must - obey the GNU Lesser General Public License in all respects for - all of the code used other than said providers. If you modify - this file, you may extend this exception to your version of the - file, but you are not obligated to do so. If you do not wish - to do so, delete this exception statement from your version. - matched_text_diagnostics: | - permission to link the code of this program with non-LGPL Spelling - Provider libraries (eg: a MSFT Office spell checker backend) - and distribute linked combinations including the two. You must - obey the GNU Lesser General Public License in all respects for - all of the code used other than said providers. If you modify - this file, you may extend this exception to your version of the - file, but you are not obligated to do so. If you do not wish - to do so, delete this exception statement from your version. - detection_log: - - imperfect-match-coverage - identifier: generic_exception_and_spell_checker_exception_lgpl_2_1_plus-1809db91-005e-65a2-28cd-74b48c51ca6e +category: Copyleft Limited +owner: Reuben Thomas is_exception: yes spdx_license_key: Spelling-Provider-LGPL-exception other_urls: diff --git a/src/licensedcode/data/rules/bsd-ask-to-endorse_1.RULE b/src/licensedcode/data/rules/bsd-ask-to-endorse_1.RULE new file mode 100644 index 00000000000..d43a5f8a0a5 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-ask-to-endorse_1.RULE @@ -0,0 +1,22 @@ +--- +license_expression: bsd-ask-to-endorse +is_license_text: yes +--- + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that neither the name of +nor the names of any contributors are {{be used to endorse or +promote products derived from this software without specific prior +written permission}}. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-axis-nomod_or_gpl-2.0-plus.RULE b/src/licensedcode/data/rules/bsd-axis-nomod_or_gpl-2.0-plus.RULE index 921bae2d5c2..a5cc32267fe 100644 --- a/src/licensedcode/data/rules/bsd-axis-nomod_or_gpl-2.0-plus.RULE +++ b/src/licensedcode/data/rules/bsd-axis-nomod_or_gpl-2.0-plus.RULE @@ -1,6 +1,9 @@ --- license_expression: bsd-axis-nomod OR gpl-2.0-plus is_license_notice: yes +is_deprecated: yes +replaced_by: + - bsd-source-alt-gpl --- Redistribution and use in source and binary forms, with or without diff --git a/src/licensedcode/data/rules/bsd-axis-nomod_or_gpl.RULE b/src/licensedcode/data/rules/bsd-axis-nomod_or_gpl.RULE index e55d58adae4..9b0a7479107 100644 --- a/src/licensedcode/data/rules/bsd-axis-nomod_or_gpl.RULE +++ b/src/licensedcode/data/rules/bsd-axis-nomod_or_gpl.RULE @@ -1,7 +1,9 @@ --- license_expression: bsd-axis-nomod OR gpl-1.0-plus is_license_notice: yes -minimum_coverage: 80 +is_deprecated: yes +replaced_by: + - bsd-source-alt-gpl --- Redistribution and use in source and binary forms, with or without diff --git a/src/licensedcode/data/rules/bsd-axis-nomod_or_gpl2.RULE b/src/licensedcode/data/rules/bsd-axis-nomod_or_gpl2.RULE index 832d8f08710..bfdd8fb30d7 100644 --- a/src/licensedcode/data/rules/bsd-axis-nomod_or_gpl2.RULE +++ b/src/licensedcode/data/rules/bsd-axis-nomod_or_gpl2.RULE @@ -1,6 +1,9 @@ --- license_expression: bsd-axis-nomod OR gpl-1.0-plus is_license_notice: yes +is_deprecated: yes +replaced_by: + - bsd-source-alt-gpl --- Redistribution and use in source and binary forms, with or without diff --git a/src/licensedcode/data/rules/bsd-axis-nomod_or_gpl3.RULE b/src/licensedcode/data/rules/bsd-axis-nomod_or_gpl3.RULE index 2c5ed7969eb..978f25e19e6 100644 --- a/src/licensedcode/data/rules/bsd-axis-nomod_or_gpl3.RULE +++ b/src/licensedcode/data/rules/bsd-axis-nomod_or_gpl3.RULE @@ -1,6 +1,9 @@ --- license_expression: bsd-axis-nomod OR gpl-1.0-plus is_license_notice: yes +is_deprecated: yes +replaced_by: + - bsd-source-alt-gpl --- Redistribution and use in source and binary forms, with or without diff --git a/src/licensedcode/data/rules/bsd-axis-nomod_or_gpl4.RULE b/src/licensedcode/data/rules/bsd-axis-nomod_or_gpl4.RULE index bf9d062bc0a..36f7c3ad0c6 100644 --- a/src/licensedcode/data/rules/bsd-axis-nomod_or_gpl4.RULE +++ b/src/licensedcode/data/rules/bsd-axis-nomod_or_gpl4.RULE @@ -1,6 +1,10 @@ --- license_expression: bsd-axis-nomod OR gpl-1.0-plus is_license_notice: yes +is_deprecated: yes +replaced_by: + - bsd-source-alt-gpl +notes: replaced by the bsd-source-alt-gpl.LICENSE added in spdx license list 3.29 --- Redistribution and use in source and binary forms, with or without diff --git a/src/licensedcode/data/rules/bsd-source-alt-gpl_1.RULE b/src/licensedcode/data/rules/bsd-source-alt-gpl_1.RULE new file mode 100644 index 00000000000..e26f797264f --- /dev/null +++ b/src/licensedcode/data/rules/bsd-source-alt-gpl_1.RULE @@ -0,0 +1,31 @@ +--- +license_expression: bsd-source-alt-gpl +is_license_text: yes +minimum_coverage: 95 +--- + +Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions, and the following disclaimer, + without modification. + 2. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + Alternatively, this software may be distributed and/or modified under the + terms of the GNU General Public License as published by the Free Software + Foundation; either version 2 of the License, or (at your option) any later + version. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-source-alt-gpl_2.RULE b/src/licensedcode/data/rules/bsd-source-alt-gpl_2.RULE new file mode 100644 index 00000000000..667e93c4340 --- /dev/null +++ b/src/licensedcode/data/rules/bsd-source-alt-gpl_2.RULE @@ -0,0 +1,17 @@ +--- +license_expression: bsd-source-alt-gpl +is_license_text: yes +minimum_coverage: 95 +--- + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions, and the following disclaimer, + without modification. +2. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +Alternatively, this software may be distributed under the terms of the +GNU General Public License ("GPL"). \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-source-alt-gpl_3.RULE b/src/licensedcode/data/rules/bsd-source-alt-gpl_3.RULE new file mode 100644 index 00000000000..112b6d30b4e --- /dev/null +++ b/src/licensedcode/data/rules/bsd-source-alt-gpl_3.RULE @@ -0,0 +1,27 @@ +--- +license_expression: bsd-source-alt-gpl +is_license_text: yes +minimum_coverage: 95 +--- + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions, and the following disclaimer, + without modification. +2. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +Alternatively, this software may be distributed under the terms of the +GNU General Public License ("GPL"). + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-source-alt-gpl_4.RULE b/src/licensedcode/data/rules/bsd-source-alt-gpl_4.RULE new file mode 100644 index 00000000000..b5370a2cd0c --- /dev/null +++ b/src/licensedcode/data/rules/bsd-source-alt-gpl_4.RULE @@ -0,0 +1,29 @@ +--- +license_expression: bsd-source-alt-gpl +is_license_text: yes +minimum_coverage: 95 +--- + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions, and the following disclaimer, + without modification. +2. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +Alternatively, this software may be distributed under the terms of the +GNU General Public License ("GPL"). + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. \ No newline at end of file diff --git a/src/licensedcode/data/rules/bsd-source-code_2.RULE b/src/licensedcode/data/rules/bsd-source-code_2.RULE index fad7bdf1693..c9833c1a14d 100644 --- a/src/licensedcode/data/rules/bsd-source-code_2.RULE +++ b/src/licensedcode/data/rules/bsd-source-code_2.RULE @@ -1,6 +1,7 @@ --- license_expression: bsd-source-code is_license_notice: yes +is_deprecated: yes relevance: 85 --- diff --git a/src/licensedcode/data/rules/bsd-unchanged_5.RULE b/src/licensedcode/data/rules/bsd-unchanged_5.RULE new file mode 100644 index 00000000000..6970821252b --- /dev/null +++ b/src/licensedcode/data/rules/bsd-unchanged_5.RULE @@ -0,0 +1,34 @@ +--- +license_expression: bsd-unchanged +is_license_text: yes +minimum_coverage: 98 +notes: this is verbatim the text in the SPDX license list, added in 3.29 +ignorable_copyrights: + - Copyright (c) +ignorable_holders: + - +--- + +Copyright (c) +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer + in this position and unchanged. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file