From d6f810945425a3f74932435229091f3fc2b9dae7 Mon Sep 17 00:00:00 2001 From: Ayan Sinha Mahapatra Date: Tue, 19 Mar 2024 14:27:54 +0530 Subject: [PATCH] Update referenced license detection from multiple files Signed-off-by: Ayan Sinha Mahapatra --- src/licensedcode/detection.py | 18 +- src/licensedcode/plugin_license.py | 80 +-- src/packagedcode/licensing.py | 52 +- .../or_and_problem.expected.json | 150 ++---- .../or_and_problem/COPYING-LGPL-2.1 | 507 ------------------ .../or_and_problem/COPYING-MPL-1.1 | 468 ---------------- 6 files changed, 120 insertions(+), 1155 deletions(-) diff --git a/src/licensedcode/detection.py b/src/licensedcode/detection.py index f60742988b9..ec99622c25f 100644 --- a/src/licensedcode/detection.py +++ b/src/licensedcode/detection.py @@ -1377,11 +1377,15 @@ def has_references_to_local_files(license_matches): def use_referenced_license_expression(referenced_license_expression, license_detection, licensing=Licensing()): """ - Return True if the `license_detection` LicenseDetection object should - include the referenced LicenseMatch objects (the `referenced_license_expression` - LicenseExpression string is the combined License Expression for these matches) - that it references, otherwise if return False if the LicenseDetection object - should remain intact. + Return True if the ``license_detection`` LicenseDetection should include + the matches represented by the ``referenced_license_expression`` string. + Return False otherwise. + + Used when we have a ``license_detection`` with a match to a license rule like + "See license in COPYING" and where the ``referenced_license_expression`` is the + expression found in the "COPYING" file, which is the combined expression from + all license detections found in "COPYING" (or multiple referenced files). + Reference: https://github.com/nexB/scancode-toolkit/issues/3547 """ #TODO: Also determing if referenced matches could be added but @@ -1416,6 +1420,10 @@ def use_referenced_license_expression(referenced_license_expression, license_det if same_license_keys and not same_expression: return False + # when there are many license keys in an expression, and there are no + # unknown or other cases, we cannot safely conclude that we should + # follow the license in the referenced filenames. This is likely + # a case where we have larger notices and several combined expressions, if len(referenced_license_keys) > 5: return False diff --git a/src/licensedcode/plugin_license.py b/src/licensedcode/plugin_license.py index cc031075dd5..1b9b046523b 100644 --- a/src/licensedcode/plugin_license.py +++ b/src/licensedcode/plugin_license.py @@ -45,7 +45,7 @@ def logger_debug(*args): logger = logging.getLogger(__name__) -if TRACE: +if TRACE or TRACE_REFERENCE: import sys logging.basicConfig(stream=sys.stdout) logger.setLevel(logging.DEBUG) @@ -217,6 +217,8 @@ def process_codebase(self, codebase, license_text=False, license_diagnostics=Fal f'before: {license_expressions_before}\n' f'after : {license_expressions_after}' ) + + #raise Exception() license_detections = collect_license_detections( codebase=codebase, @@ -273,8 +275,6 @@ def add_referenced_filenames_license_matches_for_detections(resource, codebase): license_detection_mapping=license_detection_mapping, file_path=resource.path, ) - detection_modified = False - detections_added = [] license_match_mappings = license_detection_mapping["matches"] referenced_filenames = get_referenced_filenames(license_detection.matches) @@ -285,6 +285,7 @@ def add_referenced_filenames_license_matches_for_detections(resource, codebase): ) continue + referenced_detections = [] for referenced_filename in referenced_filenames: referenced_resource = find_referenced_resource( referenced_filename=referenced_filename, @@ -293,46 +294,45 @@ def add_referenced_filenames_license_matches_for_detections(resource, codebase): ) if referenced_resource and referenced_resource.license_detections: - referenced_license_expression = combine_expressions( - expressions=[ - detection["license_expression"] - for detection in referenced_resource.license_detections - ], + referenced_detections.extend( + referenced_resource.license_detections ) - if not use_referenced_license_expression( - referenced_license_expression=referenced_license_expression, - license_detection=license_detection, - ): - if TRACE_REFERENCE: - logger_debug( - f'use_referenced_license_expression: False for ' - f'resource: {referenced_resource.path} and ' - f'license_expression: {referenced_license_expression}', - ) - continue - - if TRACE_REFERENCE: - logger_debug( - f'use_referenced_license_expression: True for ' - f'resource: {referenced_resource.path} and ' - f'license_expression: {referenced_license_expression}', - ) - - modified = True - detection_modified = True - detections_added.extend(referenced_resource.license_detections) - matches_to_extend = get_matches_from_detection_mappings( - license_detections=referenced_resource.license_detections - ) - populate_matches_with_path( - matches=matches_to_extend, - path=referenced_resource.path - ) - license_match_mappings.extend(matches_to_extend) - if not detection_modified: + referenced_license_expression = combine_expressions( + expressions=[ + detection["license_expression"] + for detection in referenced_detections + ], + ) + if not use_referenced_license_expression( + referenced_license_expression=referenced_license_expression, + license_detection=license_detection, + ): + if TRACE_REFERENCE: + logger_debug( + f'use_referenced_license_expression: False for ' + f'resource: {referenced_resource.path} and ' + f'license_expression: {referenced_license_expression}', + ) continue + if TRACE_REFERENCE: + logger_debug( + f'use_referenced_license_expression: True for ' + f'resource: {referenced_resource.path} and ' + f'license_expression: {referenced_license_expression}', + ) + + modified = True + matches_to_extend = get_matches_from_detection_mappings( + license_detections=referenced_detections + ) + populate_matches_with_path( + matches=matches_to_extend, + path=referenced_resource.path + ) + license_match_mappings.extend(matches_to_extend) + detection_log, license_expression = get_detected_license_expression( license_match_mappings=license_match_mappings, analysis=DetectionCategory.UNKNOWN_FILE_REFERENCE_LOCAL.value, @@ -348,7 +348,7 @@ def add_referenced_filenames_license_matches_for_detections(resource, codebase): license_detection_mapping["detection_log"] = detection_log license_detection_mapping["identifier"] = get_new_identifier_from_detections( initial_detection=license_detection_mapping, - detections_added=detections_added, + detections_added=referenced_detections, license_expression=license_expression, ) diff --git a/src/packagedcode/licensing.py b/src/packagedcode/licensing.py index 50c81f01859..c1599efe883 100644 --- a/src/packagedcode/licensing.py +++ b/src/packagedcode/licensing.py @@ -95,12 +95,12 @@ def add_referenced_license_matches_for_package(resource, codebase): ) detections_added = [] - detection_modified = False license_match_mappings = license_detection_mapping["matches"] referenced_filenames = get_referenced_filenames(license_detection_object.matches) if not referenced_filenames: continue + referenced_detections = [] for referenced_filename in referenced_filenames: referenced_resource = find_referenced_resource( referenced_filename=referenced_filename, @@ -109,35 +109,35 @@ def add_referenced_license_matches_for_package(resource, codebase): ) if referenced_resource and referenced_resource.license_detections: - referenced_license_expression = combine_expressions( - expressions=[ - detection["license_expression"] - for detection in referenced_resource.license_detections - ], + referenced_detections.extend( + referenced_resource.license_detections ) - if not use_referenced_license_expression( - referenced_license_expression=referenced_license_expression, - license_detection=license_detection_object, - ): - continue - modified = True - detection_modified = True - detections_added.extend(referenced_resource.license_detections) - matches_to_extend = get_matches_from_detection_mappings( - license_detections=referenced_resource.license_detections - ) - # For LicenseMatches with different resources as origin, add the - # resource path to these matches as origin info - populate_matches_with_path( - matches=matches_to_extend, - path=referenced_resource.path - ) - license_match_mappings.extend(matches_to_extend) - - if not detection_modified: + referenced_license_expression = combine_expressions( + expressions=[ + detection["license_expression"] + for detection in referenced_detections + ], + ) + if not use_referenced_license_expression( + referenced_license_expression=referenced_license_expression, + license_detection=license_detection_object, + ): continue + modified = True + detections_added.extend(referenced_resource.license_detections) + matches_to_extend = get_matches_from_detection_mappings( + license_detections=referenced_resource.license_detections, + ) + # For LicenseMatches with different resources as origin, add the + # resource path to these matches as origin info + populate_matches_with_path( + matches=matches_to_extend, + path=referenced_resource.path + ) + license_match_mappings.extend(matches_to_extend) + detection_log, license_expression = get_detected_license_expression( license_match_mappings=license_match_mappings, analysis=DetectionCategory.PACKAGE_UNKNOWN_FILE_REFERENCE_LOCAL.value, diff --git a/tests/licensedcode/data/plugin_license/ignored_reference/or_and_problem.expected.json b/tests/licensedcode/data/plugin_license/ignored_reference/or_and_problem.expected.json index 5fab10ae589..a04913b28a3 100644 --- a/tests/licensedcode/data/plugin_license/ignored_reference/or_and_problem.expected.json +++ b/tests/licensedcode/data/plugin_license/ignored_reference/or_and_problem.expected.json @@ -1,7 +1,7 @@ { "license_detections": [ { - "identifier": "lgpl_2_1-6f68aae0-12f1-d2b5-3667-1420ccd131f1", + "identifier": "lgpl_2_1-be3f3949-802d-9c3e-b5f0-b2466a0bd98b", "license_expression": "lgpl-2.1", "license_expression_spdx": "LGPL-2.1-only", "detection_count": 1, @@ -12,27 +12,25 @@ "license_expression_spdx": "LGPL-2.1-only", "from_file": "or_and_problem/COPYING-LGPL-2.1", "start_line": 2, - "end_line": 508, - "matcher": "1-hash", + "end_line": 3, + "matcher": "2-aho", "score": 100.0, - "matched_length": 4288, + "matched_length": 8, "match_coverage": 100.0, "rule_relevance": 100, - "rule_identifier": "lgpl-2.1_alternative.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1_alternative.RULE", - "matched_text": " GNU LESSER GENERAL PUBLIC LICENSE\n Version 2.1, February 1999\n\n Copyright (C) 1991, 1999 Free Software Foundation, Inc.\n 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\n as the successor of the GNU Library Public License, version 2, hence\n the version number 2.1.]\n\n Preamble\n\n The licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\n This license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations\nbelow.\n\n When we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\n To protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\n For example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\n We protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\n To protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\f\n Finally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\n Most GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\n When a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\n We call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\n For example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it\nbecomes a de-facto standard. To achieve this, non-free programs must\nbe allowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\n In other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\n Although the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\n The precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\f\n GNU LESSER GENERAL PUBLIC LICENSE\n TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n 0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\n A \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\n The \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n \"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control\ncompilation and installation of the library.\n\n Activities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n 1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\n You may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\f\n 2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\n a) The modified work must itself be a software library.\n\n b) You must cause the files modified to carry prominent notices\n stating that you changed the files and the date of any change.\n\n c) You must cause the whole of the work to be licensed at no\n charge to all third parties under the terms of this License.\n\n d) If a facility in the modified Library refers to a function or a\n table of data to be supplied by an application program that uses\n the facility, other than as an argument passed when the facility\n is invoked, then you must make a good faith effort to ensure that,\n in the event an application does not supply such function or\n table, the facility still operates, and performs whatever part of\n its purpose remains meaningful.\n\n (For example, a function in a library to compute square roots has\n a purpose that is entirely well-defined independent of the\n application. Therefore, Subsection 2d requires that any\n application-supplied function or table used by this function must\n be optional: if the application does not supply it, the square\n root function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n 3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\f\n Once this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\n This option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n 4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\n If distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n 5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\n However, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\n When a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\n If such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\n Otherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\f\n 6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\n You must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\n a) Accompany the work with the complete corresponding\n machine-readable source code for the Library including whatever\n changes were used in the work (which must be distributed under\n Sections 1 and 2 above); and, if the work is an executable linked\n with the Library, with the complete machine-readable \"work that\n uses the Library\", as object code and/or source code, so that the\n user can modify the Library and then relink to produce a modified\n executable containing the modified Library. (It is understood\n that the user who changes the contents of definitions files in the\n Library will not necessarily be able to recompile the application\n to use the modified definitions.)\n\n b) Use a suitable shared library mechanism for linking with the\n Library. A suitable mechanism is one that (1) uses at run time a\n copy of the library already present on the user's computer system,\n rather than copying library functions into the executable, and (2)\n will operate properly with a modified version of the library, if\n the user installs one, as long as the modified version is\n interface-compatible with the version that the work was made with.\n\n c) Accompany the work with a written offer, valid for at least\n three years, to give the same user the materials specified in\n Subsection 6a, above, for a charge no more than the cost of\n performing this distribution.\n\n d) If distribution of the work is made by offering access to copy\n from a designated place, offer equivalent access to copy the above\n specified materials from the same place.\n\n e) Verify that the user has already received a copy of these\n materials or that you have already sent this user a copy.\n\n For an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\n It may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\f\n 7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\n a) Accompany the combined library with a copy of the same work\n based on the Library, uncombined with any other library\n facilities. This must be distributed under the terms of the\n Sections above.\n\n b) Give prominent notice with the combined library of the fact\n that part of it is a work based on the Library, and explaining\n where to find the accompanying uncombined form of the same work.\n\n 8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n 9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n 10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\f\n 11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply, and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n 12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License\nmay add an explicit geographical distribution limitation excluding those\ncountries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n 13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\f\n 14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\n NO WARRANTY\n\n 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\n END OF TERMS AND CONDITIONS\n\f\n How to Apply These Terms to Your New Libraries\n\n If you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms\nof the ordinary General Public License).\n\n To apply these terms, attach the following notices to the library.\nIt is safest to attach them to the start of each source file to most\neffectively convey the exclusion of warranty; and each file should\nhave at least the \"copyright\" line and a pointer to where the full\nnotice is found.\n\n\n \n Copyright (C) \n\n This library is free software; you can redistribute it and/or\n modify it under the terms of the GNU Lesser General Public\n License as published by the Free Software Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\n This library is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this library; if not, write to the Free Software\n Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or\nyour school, if any, to sign a \"copyright disclaimer\" for the library,\nif necessary. Here is a sample; alter the names:\n\n Yoyodyne, Inc., hereby disclaims all copyright interest in the\n library `Frob' (a library for tweaking knobs) written by James\n Random Hacker.\n\n , 1 April 1990\n Ty Coon, President of Vice\n\nThat's all there is to it!", - "matched_text_diagnostics": "GNU LESSER GENERAL PUBLIC LICENSE\n Version 2.1, February 1999\n\n Copyright (C) 1991, 1999 Free Software Foundation, Inc.\n 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\n as the successor of the GNU Library Public License, version 2, hence\n the version number 2.1.]\n\n Preamble\n\n The licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\n This license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations\nbelow.\n\n When we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\n To protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\n For example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\n We protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\n To protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\f\n Finally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\n Most GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\n When a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\n We call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\n For example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it\nbecomes a de-facto standard. To achieve this, non-free programs must\nbe allowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\n In other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\n Although the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\n The precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\f\n GNU LESSER GENERAL PUBLIC LICENSE\n TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n 0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\n A \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\n The \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n \"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control\ncompilation and installation of the library.\n\n Activities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n 1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\n You may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\f\n 2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\n a) The modified work must itself be a software library.\n\n b) You must cause the files modified to carry prominent notices\n stating that you changed the files and the date of any change.\n\n c) You must cause the whole of the work to be licensed at no\n charge to all third parties under the terms of this License.\n\n d) If a facility in the modified Library refers to a function or a\n table of data to be supplied by an application program that uses\n the facility, other than as an argument passed when the facility\n is invoked, then you must make a good faith effort to ensure that,\n in the event an application does not supply such function or\n table, the facility still operates, and performs whatever part of\n its purpose remains meaningful.\n\n (For example, a function in a library to compute square roots has\n a purpose that is entirely well-defined independent of the\n application. Therefore, Subsection 2d requires that any\n application-supplied function or table used by this function must\n be optional: if the application does not supply it, the square\n root function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n 3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\f\n Once this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\n This option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n 4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\n If distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n 5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\n However, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\n When a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\n If such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\n Otherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\f\n 6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\n You must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\n a) Accompany the work with the complete corresponding\n machine-readable source code for the Library including whatever\n changes were used in the work (which must be distributed under\n Sections 1 and 2 above); and, if the work is an executable linked\n with the Library, with the complete machine-readable \"work that\n uses the Library\", as object code and/or source code, so that the\n user can modify the Library and then relink to produce a modified\n executable containing the modified Library. (It is understood\n that the user who changes the contents of definitions files in the\n Library will not necessarily be able to recompile the application\n to use the modified definitions.)\n\n b) Use a suitable shared library mechanism for linking with the\n Library. A suitable mechanism is one that (1) uses at run time a\n copy of the library already present on the user's computer system,\n rather than copying library functions into the executable, and (2)\n will operate properly with a modified version of the library, if\n the user installs one, as long as the modified version is\n interface-compatible with the version that the work was made with.\n\n c) Accompany the work with a written offer, valid for at least\n three years, to give the same user the materials specified in\n Subsection 6a, above, for a charge no more than the cost of\n performing this distribution.\n\n d) If distribution of the work is made by offering access to copy\n from a designated place, offer equivalent access to copy the above\n specified materials from the same place.\n\n e) Verify that the user has already received a copy of these\n materials or that you have already sent this user a copy.\n\n For an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\n It may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\f\n 7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\n a) Accompany the combined library with a copy of the same work\n based on the Library, uncombined with any other library\n facilities. This must be distributed under the terms of the\n Sections above.\n\n b) Give prominent notice with the combined library of the fact\n that part of it is a work based on the Library, and explaining\n where to find the accompanying uncombined form of the same work.\n\n 8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n 9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n 10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\f\n 11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply, and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n 12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License\nmay add an explicit geographical distribution limitation excluding those\ncountries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n 13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\f\n 14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\n NO WARRANTY\n\n 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\n END OF TERMS AND CONDITIONS\n\f\n How to Apply These Terms to Your New Libraries\n\n If you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms\nof the ordinary General Public License).\n\n To apply these terms, attach the following notices to the library.\nIt is safest to attach them to the start of each source file to most\neffectively convey the exclusion of warranty; and each file should\nhave at least the \"copyright\" line and a pointer to where the full\nnotice is found.\n\n\n \n Copyright (C) \n\n This library is free software; you can redistribute it and/or\n modify it under the terms of the GNU Lesser General Public\n License as published by the Free Software Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\n This library is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this library; if not, write to the Free Software\n Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or\nyour school, if any, to sign a \"copyright disclaimer\" for the library,\nif necessary. Here is a sample; alter the names:\n\n Yoyodyne, Inc., hereby disclaims all copyright interest in the\n library `Frob' (a library for tweaking knobs) written by James\n Random Hacker.\n\n , 1 April 1990\n Ty Coon, President of Vice\n\nThat's all there is to it!" + "rule_identifier": "lgpl-2.1_36.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1_36.RULE", + "matched_text": " GNU LESSER GENERAL PUBLIC LICENSE\n Version 2.1, February 1999", + "matched_text_diagnostics": "GNU LESSER GENERAL PUBLIC LICENSE\n Version 2.1," } ] }, { - "identifier": "lgpl_2_1_and_mpl_1_1-35e65e3b-f117-71b2-292b-049c5847d858", - "license_expression": "lgpl-2.1 AND mpl-1.1", - "license_expression_spdx": "LGPL-2.1-only AND MPL-1.1", + "identifier": "lgpl_2_1_or_mpl_1_1-2d702372-2b26-f1b1-7ebf-c9865d7bcfd0", + "license_expression": "lgpl-2.1 OR mpl-1.1", + "license_expression_spdx": "LGPL-2.1-only OR MPL-1.1", "detection_count": 1, - "detection_log": [ - "unknown-reference-to-local-file" - ], + "detection_log": [], "reference_matches": [ { "license_expression": "lgpl-2.1 OR mpl-1.1", @@ -49,43 +47,11 @@ "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1_or_mpl-1.1_4.RULE", "matched_text": " * This library is free software; you can redistribute it and/or\n * modify it either under the terms of the GNU Lesser General Public\n * License version 2.1 as published by the Free Software Foundation\n * (the \"LGPL\") or, at your option, under the terms of the Mozilla\n * Public License Version 1.1 (the \"MPL\"). If you do not alter this\n * notice, a recipient may use your version of this file under either\n * the MPL or the LGPL.\n *\n * You should have received a copy of the LGPL along with this library\n * in the file COPYING-LGPL-2.1; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA\n * You should have received a copy of the MPL along with this library\n * in the file COPYING-MPL-1.1\n *\n * The contents of this file are subject to the Mozilla Public License\n * Version 1.1 (the \"License\"); you may not use this file except in\n * compliance with the License. You may obtain a copy of the License at\n * http://www.mozilla.org/MPL/\n *\n * This software is distributed on an \"AS IS\" basis, WITHOUT WARRANTY\n * OF ANY KIND, either express or implied. See the LGPL or the MPL for\n * the specific language governing rights and limitations.\n *\n * The Original Code is the cairo graphics library.\n *\n * The Initial Developer of the Original Code is Keith Packard", "matched_text_diagnostics": "This library is free software; you can redistribute it and/or\n * modify it either under the terms of the GNU Lesser General Public\n * License version 2.1 as published by the Free Software Foundation\n * (the \"LGPL\") or, at your option, under the terms of the Mozilla\n * Public License Version 1.1 (the \"MPL\"). If you do not alter this\n * notice, a recipient may use your version of this file under either\n * the MPL or the LGPL.\n *\n * You should have received a copy of the LGPL along with this library\n * in the file COPYING-LGPL-2.1; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA\n * You should have received a copy of the MPL along with this library\n * in the file COPYING-MPL-1.1\n *\n * The contents of this file are subject to the Mozilla Public License\n * Version 1.1 (the \"License\"); you may not use this file except in\n * compliance with the License. You may obtain a copy of the License at\n * http://www.mozilla.org/MPL/\n *\n * This software is distributed on an \"AS IS\" basis, WITHOUT WARRANTY\n * OF ANY KIND, either express or implied. See the LGPL or the MPL for\n * the specific language governing rights and limitations.\n *\n * The Original Code is the cairo graphics library.\n *\n * The Initial Developer of the Original Code is" - }, - { - "license_expression": "lgpl-2.1", - "license_expression_spdx": "LGPL-2.1-only", - "from_file": "or_and_problem/COPYING-LGPL-2.1", - "start_line": 2, - "end_line": 508, - "matcher": "1-hash", - "score": 100.0, - "matched_length": 4288, - "match_coverage": 100.0, - "rule_relevance": 100, - "rule_identifier": "lgpl-2.1_alternative.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1_alternative.RULE", - "matched_text": " GNU LESSER GENERAL PUBLIC LICENSE\n Version 2.1, February 1999\n\n Copyright (C) 1991, 1999 Free Software Foundation, Inc.\n 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\n as the successor of the GNU Library Public License, version 2, hence\n the version number 2.1.]\n\n Preamble\n\n The licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\n This license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations\nbelow.\n\n When we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\n To protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\n For example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\n We protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\n To protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\f\n Finally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\n Most GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\n When a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\n We call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\n For example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it\nbecomes a de-facto standard. To achieve this, non-free programs must\nbe allowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\n In other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\n Although the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\n The precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\f\n GNU LESSER GENERAL PUBLIC LICENSE\n TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n 0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\n A \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\n The \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n \"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control\ncompilation and installation of the library.\n\n Activities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n 1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\n You may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\f\n 2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\n a) The modified work must itself be a software library.\n\n b) You must cause the files modified to carry prominent notices\n stating that you changed the files and the date of any change.\n\n c) You must cause the whole of the work to be licensed at no\n charge to all third parties under the terms of this License.\n\n d) If a facility in the modified Library refers to a function or a\n table of data to be supplied by an application program that uses\n the facility, other than as an argument passed when the facility\n is invoked, then you must make a good faith effort to ensure that,\n in the event an application does not supply such function or\n table, the facility still operates, and performs whatever part of\n its purpose remains meaningful.\n\n (For example, a function in a library to compute square roots has\n a purpose that is entirely well-defined independent of the\n application. Therefore, Subsection 2d requires that any\n application-supplied function or table used by this function must\n be optional: if the application does not supply it, the square\n root function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n 3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\f\n Once this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\n This option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n 4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\n If distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n 5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\n However, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\n When a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\n If such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\n Otherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\f\n 6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\n You must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\n a) Accompany the work with the complete corresponding\n machine-readable source code for the Library including whatever\n changes were used in the work (which must be distributed under\n Sections 1 and 2 above); and, if the work is an executable linked\n with the Library, with the complete machine-readable \"work that\n uses the Library\", as object code and/or source code, so that the\n user can modify the Library and then relink to produce a modified\n executable containing the modified Library. (It is understood\n that the user who changes the contents of definitions files in the\n Library will not necessarily be able to recompile the application\n to use the modified definitions.)\n\n b) Use a suitable shared library mechanism for linking with the\n Library. A suitable mechanism is one that (1) uses at run time a\n copy of the library already present on the user's computer system,\n rather than copying library functions into the executable, and (2)\n will operate properly with a modified version of the library, if\n the user installs one, as long as the modified version is\n interface-compatible with the version that the work was made with.\n\n c) Accompany the work with a written offer, valid for at least\n three years, to give the same user the materials specified in\n Subsection 6a, above, for a charge no more than the cost of\n performing this distribution.\n\n d) If distribution of the work is made by offering access to copy\n from a designated place, offer equivalent access to copy the above\n specified materials from the same place.\n\n e) Verify that the user has already received a copy of these\n materials or that you have already sent this user a copy.\n\n For an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\n It may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\f\n 7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\n a) Accompany the combined library with a copy of the same work\n based on the Library, uncombined with any other library\n facilities. This must be distributed under the terms of the\n Sections above.\n\n b) Give prominent notice with the combined library of the fact\n that part of it is a work based on the Library, and explaining\n where to find the accompanying uncombined form of the same work.\n\n 8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n 9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n 10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\f\n 11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply, and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n 12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License\nmay add an explicit geographical distribution limitation excluding those\ncountries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n 13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\f\n 14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\n NO WARRANTY\n\n 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\n END OF TERMS AND CONDITIONS\n\f\n How to Apply These Terms to Your New Libraries\n\n If you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms\nof the ordinary General Public License).\n\n To apply these terms, attach the following notices to the library.\nIt is safest to attach them to the start of each source file to most\neffectively convey the exclusion of warranty; and each file should\nhave at least the \"copyright\" line and a pointer to where the full\nnotice is found.\n\n\n \n Copyright (C) \n\n This library is free software; you can redistribute it and/or\n modify it under the terms of the GNU Lesser General Public\n License as published by the Free Software Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\n This library is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this library; if not, write to the Free Software\n Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or\nyour school, if any, to sign a \"copyright disclaimer\" for the library,\nif necessary. Here is a sample; alter the names:\n\n Yoyodyne, Inc., hereby disclaims all copyright interest in the\n library `Frob' (a library for tweaking knobs) written by James\n Random Hacker.\n\n , 1 April 1990\n Ty Coon, President of Vice\n\nThat's all there is to it!", - "matched_text_diagnostics": "GNU LESSER GENERAL PUBLIC LICENSE\n Version 2.1, February 1999\n\n Copyright (C) 1991, 1999 Free Software Foundation, Inc.\n 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\n as the successor of the GNU Library Public License, version 2, hence\n the version number 2.1.]\n\n Preamble\n\n The licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\n This license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations\nbelow.\n\n When we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\n To protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\n For example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\n We protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\n To protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\f\n Finally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\n Most GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\n When a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\n We call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\n For example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it\nbecomes a de-facto standard. To achieve this, non-free programs must\nbe allowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\n In other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\n Although the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\n The precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\f\n GNU LESSER GENERAL PUBLIC LICENSE\n TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n 0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\n A \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\n The \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n \"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control\ncompilation and installation of the library.\n\n Activities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n 1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\n You may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\f\n 2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\n a) The modified work must itself be a software library.\n\n b) You must cause the files modified to carry prominent notices\n stating that you changed the files and the date of any change.\n\n c) You must cause the whole of the work to be licensed at no\n charge to all third parties under the terms of this License.\n\n d) If a facility in the modified Library refers to a function or a\n table of data to be supplied by an application program that uses\n the facility, other than as an argument passed when the facility\n is invoked, then you must make a good faith effort to ensure that,\n in the event an application does not supply such function or\n table, the facility still operates, and performs whatever part of\n its purpose remains meaningful.\n\n (For example, a function in a library to compute square roots has\n a purpose that is entirely well-defined independent of the\n application. Therefore, Subsection 2d requires that any\n application-supplied function or table used by this function must\n be optional: if the application does not supply it, the square\n root function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n 3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\f\n Once this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\n This option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n 4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\n If distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n 5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\n However, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\n When a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\n If such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\n Otherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\f\n 6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\n You must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\n a) Accompany the work with the complete corresponding\n machine-readable source code for the Library including whatever\n changes were used in the work (which must be distributed under\n Sections 1 and 2 above); and, if the work is an executable linked\n with the Library, with the complete machine-readable \"work that\n uses the Library\", as object code and/or source code, so that the\n user can modify the Library and then relink to produce a modified\n executable containing the modified Library. (It is understood\n that the user who changes the contents of definitions files in the\n Library will not necessarily be able to recompile the application\n to use the modified definitions.)\n\n b) Use a suitable shared library mechanism for linking with the\n Library. A suitable mechanism is one that (1) uses at run time a\n copy of the library already present on the user's computer system,\n rather than copying library functions into the executable, and (2)\n will operate properly with a modified version of the library, if\n the user installs one, as long as the modified version is\n interface-compatible with the version that the work was made with.\n\n c) Accompany the work with a written offer, valid for at least\n three years, to give the same user the materials specified in\n Subsection 6a, above, for a charge no more than the cost of\n performing this distribution.\n\n d) If distribution of the work is made by offering access to copy\n from a designated place, offer equivalent access to copy the above\n specified materials from the same place.\n\n e) Verify that the user has already received a copy of these\n materials or that you have already sent this user a copy.\n\n For an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\n It may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\f\n 7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\n a) Accompany the combined library with a copy of the same work\n based on the Library, uncombined with any other library\n facilities. This must be distributed under the terms of the\n Sections above.\n\n b) Give prominent notice with the combined library of the fact\n that part of it is a work based on the Library, and explaining\n where to find the accompanying uncombined form of the same work.\n\n 8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n 9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n 10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\f\n 11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply, and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n 12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License\nmay add an explicit geographical distribution limitation excluding those\ncountries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n 13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\f\n 14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\n NO WARRANTY\n\n 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\n END OF TERMS AND CONDITIONS\n\f\n How to Apply These Terms to Your New Libraries\n\n If you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms\nof the ordinary General Public License).\n\n To apply these terms, attach the following notices to the library.\nIt is safest to attach them to the start of each source file to most\neffectively convey the exclusion of warranty; and each file should\nhave at least the \"copyright\" line and a pointer to where the full\nnotice is found.\n\n\n \n Copyright (C) \n\n This library is free software; you can redistribute it and/or\n modify it under the terms of the GNU Lesser General Public\n License as published by the Free Software Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\n This library is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this library; if not, write to the Free Software\n Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or\nyour school, if any, to sign a \"copyright disclaimer\" for the library,\nif necessary. Here is a sample; alter the names:\n\n Yoyodyne, Inc., hereby disclaims all copyright interest in the\n library `Frob' (a library for tweaking knobs) written by James\n Random Hacker.\n\n , 1 April 1990\n Ty Coon, President of Vice\n\nThat's all there is to it!" - }, - { - "license_expression": "mpl-1.1", - "license_expression_spdx": "MPL-1.1", - "from_file": "or_and_problem/COPYING-MPL-1.1", - "start_line": 1, - "end_line": 469, - "matcher": "1-hash", - "score": 100.0, - "matched_length": 3710, - "match_coverage": 100.0, - "rule_relevance": 100, - "rule_identifier": "mpl-1.1.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mpl-1.1.LICENSE", - "matched_text": " MOZILLA PUBLIC LICENSE\n Version 1.1\n\n ---------------\n\n1. Definitions.\n\n 1.0.1. \"Commercial Use\" means distribution or otherwise making the\n Covered Code available to a third party.\n\n 1.1. \"Contributor\" means each entity that creates or contributes to\n the creation of Modifications.\n\n 1.2. \"Contributor Version\" means the combination of the Original\n Code, prior Modifications used by a Contributor, and the Modifications\n made by that particular Contributor.\n\n 1.3. \"Covered Code\" means the Original Code or Modifications or the\n combination of the Original Code and Modifications, in each case\n including portions thereof.\n\n 1.4. \"Electronic Distribution Mechanism\" means a mechanism generally\n accepted in the software development community for the electronic\n transfer of data.\n\n 1.5. \"Executable\" means Covered Code in any form other than Source\n Code.\n\n 1.6. \"Initial Developer\" means the individual or entity identified\n as the Initial Developer in the Source Code notice required by Exhibit\n A.\n\n 1.7. \"Larger Work\" means a work which combines Covered Code or\n portions thereof with code not governed by the terms of this License.\n\n 1.8. \"License\" means this document.\n\n 1.8.1. \"Licensable\" means having the right to grant, to the maximum\n extent possible, whether at the time of the initial grant or\n subsequently acquired, any and all of the rights conveyed herein.\n\n 1.9. \"Modifications\" means any addition to or deletion from the\n substance or structure of either the Original Code or any previous\n Modifications. When Covered Code is released as a series of files, a\n Modification is:\n A. Any addition to or deletion from the contents of a file\n containing Original Code or previous Modifications.\n\n B. Any new file that contains any part of the Original Code or\n previous Modifications.\n\n 1.10. \"Original Code\" means Source Code of computer software code\n which is described in the Source Code notice required by Exhibit A as\n Original Code, and which, at the time of its release under this\n License is not already Covered Code governed by this License.\n\n 1.10.1. \"Patent Claims\" means any patent claim(s), now owned or\n hereafter acquired, including without limitation, method, process,\n and apparatus claims, in any patent Licensable by grantor.\n\n 1.11. \"Source Code\" means the preferred form of the Covered Code for\n making modifications to it, including all modules it contains, plus\n any associated interface definition files, scripts used to control\n compilation and installation of an Executable, or source code\n differential comparisons against either the Original Code or another\n well known, available Covered Code of the Contributor's choice. The\n Source Code can be in a compressed or archival form, provided the\n appropriate decompression or de-archiving software is widely available\n for no charge.\n\n 1.12. \"You\" (or \"Your\") means an individual or a legal entity\n exercising rights under, and complying with all of the terms of, this\n License or a future version of this License issued under Section 6.1.\n For legal entities, \"You\" includes any entity which controls, is\n controlled by, or is under common control with You. For purposes of\n this definition, \"control\" means (a) the power, direct or indirect,\n to cause the direction or management of such entity, whether by\n contract or otherwise, or (b) ownership of more than fifty percent\n (50%) of the outstanding shares or beneficial ownership of such\n entity.\n\n2. Source Code License.\n\n 2.1. The Initial Developer Grant.\n The Initial Developer hereby grants You a world-wide, royalty-free,\n non-exclusive license, subject to third party intellectual property\n claims:\n (a) under intellectual property rights (other than patent or\n trademark) Licensable by Initial Developer to use, reproduce,\n modify, display, perform, sublicense and distribute the Original\n Code (or portions thereof) with or without Modifications, and/or\n as part of a Larger Work; and\n\n (b) under Patents Claims infringed by the making, using or\n selling of Original Code, to make, have made, use, practice,\n sell, and offer for sale, and/or otherwise dispose of the\n Original Code (or portions thereof).\n\n (c) the licenses granted in this Section 2.1(a) and (b) are\n effective on the date Initial Developer first distributes\n Original Code under the terms of this License.\n\n (d) Notwithstanding Section 2.1(b) above, no patent license is\n granted: 1) for code that You delete from the Original Code; 2)\n separate from the Original Code; or 3) for infringements caused\n by: i) the modification of the Original Code or ii) the\n combination of the Original Code with other software or devices.\n\n 2.2. Contributor Grant.\n Subject to third party intellectual property claims, each Contributor\n hereby grants You a world-wide, royalty-free, non-exclusive license\n\n (a) under intellectual property rights (other than patent or\n trademark) Licensable by Contributor, to use, reproduce, modify,\n display, perform, sublicense and distribute the Modifications\n created by such Contributor (or portions thereof) either on an\n unmodified basis, with other Modifications, as Covered Code\n and/or as part of a Larger Work; and\n\n (b) under Patent Claims infringed by the making, using, or\n selling of Modifications made by that Contributor either alone\n and/or in combination with its Contributor Version (or portions\n of such combination), to make, use, sell, offer for sale, have\n made, and/or otherwise dispose of: 1) Modifications made by that\n Contributor (or portions thereof); and 2) the combination of\n Modifications made by that Contributor with its Contributor\n Version (or portions of such combination).\n\n (c) the licenses granted in Sections 2.2(a) and 2.2(b) are\n effective on the date Contributor first makes Commercial Use of\n the Covered Code.\n\n (d) Notwithstanding Section 2.2(b) above, no patent license is\n granted: 1) for any code that Contributor has deleted from the\n Contributor Version; 2) separate from the Contributor Version;\n 3) for infringements caused by: i) third party modifications of\n Contributor Version or ii) the combination of Modifications made\n by that Contributor with other software (except as part of the\n Contributor Version) or other devices; or 4) under Patent Claims\n infringed by Covered Code in the absence of Modifications made by\n that Contributor.\n\n3. Distribution Obligations.\n\n 3.1. Application of License.\n The Modifications which You create or to which You contribute are\n governed by the terms of this License, including without limitation\n Section 2.2. The Source Code version of Covered Code may be\n distributed only under the terms of this License or a future version\n of this License released under Section 6.1, and You must include a\n copy of this License with every copy of the Source Code You\n distribute. You may not offer or impose any terms on any Source Code\n version that alters or restricts the applicable version of this\n License or the recipients' rights hereunder. However, You may include\n an additional document offering the additional rights described in\n Section 3.5.\n\n 3.2. Availability of Source Code.\n Any Modification which You create or to which You contribute must be\n made available in Source Code form under the terms of this License\n either on the same media as an Executable version or via an accepted\n Electronic Distribution Mechanism to anyone to whom you made an\n Executable version available; and if made available via Electronic\n Distribution Mechanism, must remain available for at least twelve (12)\n months after the date it initially became available, or at least six\n (6) months after a subsequent version of that particular Modification\n has been made available to such recipients. You are responsible for\n ensuring that the Source Code version remains available even if the\n Electronic Distribution Mechanism is maintained by a third party.\n\n 3.3. Description of Modifications.\n You must cause all Covered Code to which You contribute to contain a\n file documenting the changes You made to create that Covered Code and\n the date of any change. You must include a prominent statement that\n the Modification is derived, directly or indirectly, from Original\n Code provided by the Initial Developer and including the name of the\n Initial Developer in (a) the Source Code, and (b) in any notice in an\n Executable version or related documentation in which You describe the\n origin or ownership of the Covered Code.\n\n 3.4. Intellectual Property Matters\n (a) Third Party Claims.\n If Contributor has knowledge that a license under a third party's\n intellectual property rights is required to exercise the rights\n granted by such Contributor under Sections 2.1 or 2.2,\n Contributor must include a text file with the Source Code\n distribution titled \"LEGAL\" which describes the claim and the\n party making the claim in sufficient detail that a recipient will\n know whom to contact. If Contributor obtains such knowledge after\n the Modification is made available as described in Section 3.2,\n Contributor shall promptly modify the LEGAL file in all copies\n Contributor makes available thereafter and shall take other steps\n (such as notifying appropriate mailing lists or newsgroups)\n reasonably calculated to inform those who received the Covered\n Code that new knowledge has been obtained.\n\n (b) Contributor APIs.\n If Contributor's Modifications include an application programming\n interface and Contributor has knowledge of patent licenses which\n are reasonably necessary to implement that API, Contributor must\n also include this information in the LEGAL file.\n\n (c) Representations.\n Contributor represents that, except as disclosed pursuant to\n Section 3.4(a) above, Contributor believes that Contributor's\n Modifications are Contributor's original creation(s) and/or\n Contributor has sufficient rights to grant the rights conveyed by\n this License.\n\n 3.5. Required Notices.\n You must duplicate the notice in Exhibit A in each file of the Source\n Code. If it is not possible to put such notice in a particular Source\n Code file due to its structure, then You must include such notice in a\n location (such as a relevant directory) where a user would be likely\n to look for such a notice. If You created one or more Modification(s)\n You may add your name as a Contributor to the notice described in\n Exhibit A. You must also duplicate this License in any documentation\n for the Source Code where You describe recipients' rights or ownership\n rights relating to Covered Code. You may choose to offer, and to\n charge a fee for, warranty, support, indemnity or liability\n obligations to one or more recipients of Covered Code. However, You\n may do so only on Your own behalf, and not on behalf of the Initial\n Developer or any Contributor. You must make it absolutely clear than\n any such warranty, support, indemnity or liability obligation is\n offered by You alone, and You hereby agree to indemnify the Initial\n Developer and every Contributor for any liability incurred by the\n Initial Developer or such Contributor as a result of warranty,\n support, indemnity or liability terms You offer.\n\n 3.6. Distribution of Executable Versions.\n You may distribute Covered Code in Executable form only if the\n requirements of Section 3.1-3.5 have been met for that Covered Code,\n and if You include a notice stating that the Source Code version of\n the Covered Code is available under the terms of this License,\n including a description of how and where You have fulfilled the\n obligations of Section 3.2. The notice must be conspicuously included\n in any notice in an Executable version, related documentation or\n collateral in which You describe recipients' rights relating to the\n Covered Code. You may distribute the Executable version of Covered\n Code or ownership rights under a license of Your choice, which may\n contain terms different from this License, provided that You are in\n compliance with the terms of this License and that the license for the\n Executable version does not attempt to limit or alter the recipient's\n rights in the Source Code version from the rights set forth in this\n License. If You distribute the Executable version under a different\n license You must make it absolutely clear that any terms which differ\n from this License are offered by You alone, not by the Initial\n Developer or any Contributor. You hereby agree to indemnify the\n Initial Developer and every Contributor for any liability incurred by\n the Initial Developer or such Contributor as a result of any such\n terms You offer.\n\n 3.7. Larger Works.\n You may create a Larger Work by combining Covered Code with other code\n not governed by the terms of this License and distribute the Larger\n Work as a single product. In such a case, You must make sure the\n requirements of this License are fulfilled for the Covered Code.\n\n4. Inability to Comply Due to Statute or Regulation.\n\n If it is impossible for You to comply with any of the terms of this\n License with respect to some or all of the Covered Code due to\n statute, judicial order, or regulation then You must: (a) comply with\n the terms of this License to the maximum extent possible; and (b)\n describe the limitations and the code they affect. Such description\n must be included in the LEGAL file described in Section 3.4 and must\n be included with all distributions of the Source Code. Except to the\n extent prohibited by statute or regulation, such description must be\n sufficiently detailed for a recipient of ordinary skill to be able to\n understand it.\n\n5. Application of this License.\n\n This License applies to code to which the Initial Developer has\n attached the notice in Exhibit A and to related Covered Code.\n\n6. Versions of the License.\n\n 6.1. New Versions.\n Netscape Communications Corporation (\"Netscape\") may publish revised\n and/or new versions of the License from time to time. Each version\n will be given a distinguishing version number.\n\n 6.2. Effect of New Versions.\n Once Covered Code has been published under a particular version of the\n License, You may always continue to use it under the terms of that\n version. You may also choose to use such Covered Code under the terms\n of any subsequent version of the License published by Netscape. No one\n other than Netscape has the right to modify the terms applicable to\n Covered Code created under this License.\n\n 6.3. Derivative Works.\n If You create or use a modified version of this License (which you may\n only do in order to apply it to code which is not already Covered Code\n governed by this License), You must (a) rename Your license so that\n the phrases \"Mozilla\", \"MOZILLAPL\", \"MOZPL\", \"Netscape\",\n \"MPL\", \"NPL\" or any confusingly similar phrase do not appear in your\n license (except to note that your license differs from this License)\n and (b) otherwise make it clear that Your version of the license\n contains terms which differ from the Mozilla Public License and\n Netscape Public License. (Filling in the name of the Initial\n Developer, Original Code or Contributor in the notice described in\n Exhibit A shall not of themselves be deemed to be modifications of\n this License.)\n\n7. DISCLAIMER OF WARRANTY.\n\n COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN \"AS IS\" BASIS,\n WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,\n WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF\n DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.\n THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE\n IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,\n YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE\n COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER\n OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF\n ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.\n\n8. TERMINATION.\n\n 8.1. This License and the rights granted hereunder will terminate\n automatically if You fail to comply with terms herein and fail to cure\n such breach within 30 days of becoming aware of the breach. All\n sublicenses to the Covered Code which are properly granted shall\n survive any termination of this License. Provisions which, by their\n nature, must remain in effect beyond the termination of this License\n shall survive.\n\n 8.2. If You initiate litigation by asserting a patent infringement\n claim (excluding declatory judgment actions) against Initial Developer\n or a Contributor (the Initial Developer or Contributor against whom\n You file such action is referred to as \"Participant\") alleging that:\n\n (a) such Participant's Contributor Version directly or indirectly\n infringes any patent, then any and all rights granted by such\n Participant to You under Sections 2.1 and/or 2.2 of this License\n shall, upon 60 days notice from Participant terminate prospectively,\n unless if within 60 days after receipt of notice You either: (i)\n agree in writing to pay Participant a mutually agreeable reasonable\n royalty for Your past and future use of Modifications made by such\n Participant, or (ii) withdraw Your litigation claim with respect to\n the Contributor Version against such Participant. If within 60 days\n of notice, a reasonable royalty and payment arrangement are not\n mutually agreed upon in writing by the parties or the litigation claim\n is not withdrawn, the rights granted by Participant to You under\n Sections 2.1 and/or 2.2 automatically terminate at the expiration of\n the 60 day notice period specified above.\n\n (b) any software, hardware, or device, other than such Participant's\n Contributor Version, directly or indirectly infringes any patent, then\n any rights granted to You by such Participant under Sections 2.1(b)\n and 2.2(b) are revoked effective as of the date You first made, used,\n sold, distributed, or had made, Modifications made by that\n Participant.\n\n 8.3. If You assert a patent infringement claim against Participant\n alleging that such Participant's Contributor Version directly or\n indirectly infringes any patent where such claim is resolved (such as\n by license or settlement) prior to the initiation of patent\n infringement litigation, then the reasonable value of the licenses\n granted by such Participant under Sections 2.1 or 2.2 shall be taken\n into account in determining the amount or value of any payment or\n license.\n\n 8.4. In the event of termination under Sections 8.1 or 8.2 above,\n all end user license agreements (excluding distributors and resellers)\n which have been validly granted by You or any distributor hereunder\n prior to termination shall survive termination.\n\n9. LIMITATION OF LIABILITY.\n\n UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT\n (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL\n DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,\n OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR\n ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY\n CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,\n WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER\n COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN\n INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF\n LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY\n RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW\n PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE\n EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO\n THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.\n\n10. U.S. GOVERNMENT END USERS.\n\n The Covered Code is a \"commercial item,\" as that term is defined in\n 48 C.F.R. 2.101 (Oct. 1995), consisting of \"commercial computer\n software\" and \"commercial computer software documentation,\" as such\n terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48\n C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),\n all U.S. Government End Users acquire Covered Code with only those\n rights set forth herein.\n\n11. MISCELLANEOUS.\n\n This License represents the complete agreement concerning subject\n matter hereof. If any provision of this License is held to be\n unenforceable, such provision shall be reformed only to the extent\n necessary to make it enforceable. This License shall be governed by\n California law provisions (except to the extent applicable law, if\n any, provides otherwise), excluding its conflict-of-law provisions.\n With respect to disputes in which at least one party is a citizen of,\n or an entity chartered or registered to do business in the United\n States of America, any litigation relating to this License shall be\n subject to the jurisdiction of the Federal Courts of the Northern\n District of California, with venue lying in Santa Clara County,\n California, with the losing party responsible for costs, including\n without limitation, court costs and reasonable attorneys' fees and\n expenses. The application of the United Nations Convention on\n Contracts for the International Sale of Goods is expressly excluded.\n Any law or regulation which provides that the language of a contract\n shall be construed against the drafter shall not apply to this\n License.\n\n12. RESPONSIBILITY FOR CLAIMS.\n\n As between Initial Developer and the Contributors, each party is\n responsible for claims and damages arising, directly or indirectly,\n out of its utilization of rights under this License and You agree to\n work with Initial Developer and Contributors to distribute such\n responsibility on an equitable basis. Nothing herein is intended or\n shall be deemed to constitute any admission of liability.\n\n13. MULTIPLE-LICENSED CODE.\n\n Initial Developer may designate portions of the Covered Code as\n \"Multiple-Licensed\". \"Multiple-Licensed\" means that the Initial\n Developer permits you to utilize portions of the Covered Code under\n Your choice of the NPL or the alternative licenses, if any, specified\n by the Initial Developer in the file described in Exhibit A.\n\nEXHIBIT A -Mozilla Public License.\n\n ``The contents of this file are subject to the Mozilla Public License\n Version 1.1 (the \"License\"); you may not use this file except in\n compliance with the License. You may obtain a copy of the License at\n http://www.mozilla.org/MPL/\n\n Software distributed under the License is distributed on an \"AS IS\"\n basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the\n License for the specific language governing rights and limitations\n under the License.\n\n The Original Code is ______________________________________.\n\n The Initial Developer of the Original Code is ________________________.\n Portions created by ______________________ are Copyright (C) ______\n _______________________. All Rights Reserved.\n\n Contributor(s): ______________________________________.\n\n Alternatively, the contents of this file may be used under the terms\n of the _____ license (the \"[___] License\"), in which case the\n provisions of [______] License are applicable instead of those\n above. If you wish to allow use of your version of this file only\n under the terms of the [____] License and not to allow others to use\n your version of this file under the MPL, indicate your decision by\n deleting the provisions above and replace them with the notice and\n other provisions required by the [___] License. If you do not delete\n the provisions above, a recipient may use your version of this file\n under either the MPL or the [___] License.\"\n\n [NOTE: The text of this Exhibit A may differ slightly from the text of\n the notices in the Source Code files of the Original Code. You should\n use the text of this Exhibit A rather than the text found in the\n Original Code Source Code for Your Modifications.]", - "matched_text_diagnostics": "MOZILLA PUBLIC LICENSE\n Version 1.1\n\n ---------------\n\n1. Definitions.\n\n 1.0.1. \"Commercial Use\" means distribution or otherwise making the\n Covered Code available to a third party.\n\n 1.1. \"Contributor\" means each entity that creates or contributes to\n the creation of Modifications.\n\n 1.2. \"Contributor Version\" means the combination of the Original\n Code, prior Modifications used by a Contributor, and the Modifications\n made by that particular Contributor.\n\n 1.3. \"Covered Code\" means the Original Code or Modifications or the\n combination of the Original Code and Modifications, in each case\n including portions thereof.\n\n 1.4. \"Electronic Distribution Mechanism\" means a mechanism generally\n accepted in the software development community for the electronic\n transfer of data.\n\n 1.5. \"Executable\" means Covered Code in any form other than Source\n Code.\n\n 1.6. \"Initial Developer\" means the individual or entity identified\n as the Initial Developer in the Source Code notice required by Exhibit\n A.\n\n 1.7. \"Larger Work\" means a work which combines Covered Code or\n portions thereof with code not governed by the terms of this License.\n\n 1.8. \"License\" means this document.\n\n 1.8.1. \"Licensable\" means having the right to grant, to the maximum\n extent possible, whether at the time of the initial grant or\n subsequently acquired, any and all of the rights conveyed herein.\n\n 1.9. \"Modifications\" means any addition to or deletion from the\n substance or structure of either the Original Code or any previous\n Modifications. When Covered Code is released as a series of files, a\n Modification is:\n A. Any addition to or deletion from the contents of a file\n containing Original Code or previous Modifications.\n\n B. Any new file that contains any part of the Original Code or\n previous Modifications.\n\n 1.10. \"Original Code\" means Source Code of computer software code\n which is described in the Source Code notice required by Exhibit A as\n Original Code, and which, at the time of its release under this\n License is not already Covered Code governed by this License.\n\n 1.10.1. \"Patent Claims\" means any patent claim(s), now owned or\n hereafter acquired, including without limitation, method, process,\n and apparatus claims, in any patent Licensable by grantor.\n\n 1.11. \"Source Code\" means the preferred form of the Covered Code for\n making modifications to it, including all modules it contains, plus\n any associated interface definition files, scripts used to control\n compilation and installation of an Executable, or source code\n differential comparisons against either the Original Code or another\n well known, available Covered Code of the Contributor's choice. The\n Source Code can be in a compressed or archival form, provided the\n appropriate decompression or de-archiving software is widely available\n for no charge.\n\n 1.12. \"You\" (or \"Your\") means an individual or a legal entity\n exercising rights under, and complying with all of the terms of, this\n License or a future version of this License issued under Section 6.1.\n For legal entities, \"You\" includes any entity which controls, is\n controlled by, or is under common control with You. For purposes of\n this definition, \"control\" means (a) the power, direct or indirect,\n to cause the direction or management of such entity, whether by\n contract or otherwise, or (b) ownership of more than fifty percent\n (50%) of the outstanding shares or beneficial ownership of such\n entity.\n\n2. Source Code License.\n\n 2.1. The Initial Developer Grant.\n The Initial Developer hereby grants You a world-wide, royalty-free,\n non-exclusive license, subject to third party intellectual property\n claims:\n (a) under intellectual property rights (other than patent or\n trademark) Licensable by Initial Developer to use, reproduce,\n modify, display, perform, sublicense and distribute the Original\n Code (or portions thereof) with or without Modifications, and/or\n as part of a Larger Work; and\n\n (b) under Patents Claims infringed by the making, using or\n selling of Original Code, to make, have made, use, practice,\n sell, and offer for sale, and/or otherwise dispose of the\n Original Code (or portions thereof).\n\n (c) the licenses granted in this Section 2.1(a) and (b) are\n effective on the date Initial Developer first distributes\n Original Code under the terms of this License.\n\n (d) Notwithstanding Section 2.1(b) above, no patent license is\n granted: 1) for code that You delete from the Original Code; 2)\n separate from the Original Code; or 3) for infringements caused\n by: i) the modification of the Original Code or ii) the\n combination of the Original Code with other software or devices.\n\n 2.2. Contributor Grant.\n Subject to third party intellectual property claims, each Contributor\n hereby grants You a world-wide, royalty-free, non-exclusive license\n\n (a) under intellectual property rights (other than patent or\n trademark) Licensable by Contributor, to use, reproduce, modify,\n display, perform, sublicense and distribute the Modifications\n created by such Contributor (or portions thereof) either on an\n unmodified basis, with other Modifications, as Covered Code\n and/or as part of a Larger Work; and\n\n (b) under Patent Claims infringed by the making, using, or\n selling of Modifications made by that Contributor either alone\n and/or in combination with its Contributor Version (or portions\n of such combination), to make, use, sell, offer for sale, have\n made, and/or otherwise dispose of: 1) Modifications made by that\n Contributor (or portions thereof); and 2) the combination of\n Modifications made by that Contributor with its Contributor\n Version (or portions of such combination).\n\n (c) the licenses granted in Sections 2.2(a) and 2.2(b) are\n effective on the date Contributor first makes Commercial Use of\n the Covered Code.\n\n (d) Notwithstanding Section 2.2(b) above, no patent license is\n granted: 1) for any code that Contributor has deleted from the\n Contributor Version; 2) separate from the Contributor Version;\n 3) for infringements caused by: i) third party modifications of\n Contributor Version or ii) the combination of Modifications made\n by that Contributor with other software (except as part of the\n Contributor Version) or other devices; or 4) under Patent Claims\n infringed by Covered Code in the absence of Modifications made by\n that Contributor.\n\n3. Distribution Obligations.\n\n 3.1. Application of License.\n The Modifications which You create or to which You contribute are\n governed by the terms of this License, including without limitation\n Section 2.2. The Source Code version of Covered Code may be\n distributed only under the terms of this License or a future version\n of this License released under Section 6.1, and You must include a\n copy of this License with every copy of the Source Code You\n distribute. You may not offer or impose any terms on any Source Code\n version that alters or restricts the applicable version of this\n License or the recipients' rights hereunder. However, You may include\n an additional document offering the additional rights described in\n Section 3.5.\n\n 3.2. Availability of Source Code.\n Any Modification which You create or to which You contribute must be\n made available in Source Code form under the terms of this License\n either on the same media as an Executable version or via an accepted\n Electronic Distribution Mechanism to anyone to whom you made an\n Executable version available; and if made available via Electronic\n Distribution Mechanism, must remain available for at least twelve (12)\n months after the date it initially became available, or at least six\n (6) months after a subsequent version of that particular Modification\n has been made available to such recipients. You are responsible for\n ensuring that the Source Code version remains available even if the\n Electronic Distribution Mechanism is maintained by a third party.\n\n 3.3. Description of Modifications.\n You must cause all Covered Code to which You contribute to contain a\n file documenting the changes You made to create that Covered Code and\n the date of any change. You must include a prominent statement that\n the Modification is derived, directly or indirectly, from Original\n Code provided by the Initial Developer and including the name of the\n Initial Developer in (a) the Source Code, and (b) in any notice in an\n Executable version or related documentation in which You describe the\n origin or ownership of the Covered Code.\n\n 3.4. Intellectual Property Matters\n (a) Third Party Claims.\n If Contributor has knowledge that a license under a third party's\n intellectual property rights is required to exercise the rights\n granted by such Contributor under Sections 2.1 or 2.2,\n Contributor must include a text file with the Source Code\n distribution titled \"LEGAL\" which describes the claim and the\n party making the claim in sufficient detail that a recipient will\n know whom to contact. If Contributor obtains such knowledge after\n the Modification is made available as described in Section 3.2,\n Contributor shall promptly modify the LEGAL file in all copies\n Contributor makes available thereafter and shall take other steps\n (such as notifying appropriate mailing lists or newsgroups)\n reasonably calculated to inform those who received the Covered\n Code that new knowledge has been obtained.\n\n (b) Contributor APIs.\n If Contributor's Modifications include an application programming\n interface and Contributor has knowledge of patent licenses which\n are reasonably necessary to implement that API, Contributor must\n also include this information in the LEGAL file.\n\n (c) Representations.\n Contributor represents that, except as disclosed pursuant to\n Section 3.4(a) above, Contributor believes that Contributor's\n Modifications are Contributor's original creation(s) and/or\n Contributor has sufficient rights to grant the rights conveyed by\n this License.\n\n 3.5. Required Notices.\n You must duplicate the notice in Exhibit A in each file of the Source\n Code. If it is not possible to put such notice in a particular Source\n Code file due to its structure, then You must include such notice in a\n location (such as a relevant directory) where a user would be likely\n to look for such a notice. If You created one or more Modification(s)\n You may add your name as a Contributor to the notice described in\n Exhibit A. You must also duplicate this License in any documentation\n for the Source Code where You describe recipients' rights or ownership\n rights relating to Covered Code. You may choose to offer, and to\n charge a fee for, warranty, support, indemnity or liability\n obligations to one or more recipients of Covered Code. However, You\n may do so only on Your own behalf, and not on behalf of the Initial\n Developer or any Contributor. You must make it absolutely clear than\n any such warranty, support, indemnity or liability obligation is\n offered by You alone, and You hereby agree to indemnify the Initial\n Developer and every Contributor for any liability incurred by the\n Initial Developer or such Contributor as a result of warranty,\n support, indemnity or liability terms You offer.\n\n 3.6. Distribution of Executable Versions.\n You may distribute Covered Code in Executable form only if the\n requirements of Section 3.1-3.5 have been met for that Covered Code,\n and if You include a notice stating that the Source Code version of\n the Covered Code is available under the terms of this License,\n including a description of how and where You have fulfilled the\n obligations of Section 3.2. The notice must be conspicuously included\n in any notice in an Executable version, related documentation or\n collateral in which You describe recipients' rights relating to the\n Covered Code. You may distribute the Executable version of Covered\n Code or ownership rights under a license of Your choice, which may\n contain terms different from this License, provided that You are in\n compliance with the terms of this License and that the license for the\n Executable version does not attempt to limit or alter the recipient's\n rights in the Source Code version from the rights set forth in this\n License. If You distribute the Executable version under a different\n license You must make it absolutely clear that any terms which differ\n from this License are offered by You alone, not by the Initial\n Developer or any Contributor. You hereby agree to indemnify the\n Initial Developer and every Contributor for any liability incurred by\n the Initial Developer or such Contributor as a result of any such\n terms You offer.\n\n 3.7. Larger Works.\n You may create a Larger Work by combining Covered Code with other code\n not governed by the terms of this License and distribute the Larger\n Work as a single product. In such a case, You must make sure the\n requirements of this License are fulfilled for the Covered Code.\n\n4. Inability to Comply Due to Statute or Regulation.\n\n If it is impossible for You to comply with any of the terms of this\n License with respect to some or all of the Covered Code due to\n statute, judicial order, or regulation then You must: (a) comply with\n the terms of this License to the maximum extent possible; and (b)\n describe the limitations and the code they affect. Such description\n must be included in the LEGAL file described in Section 3.4 and must\n be included with all distributions of the Source Code. Except to the\n extent prohibited by statute or regulation, such description must be\n sufficiently detailed for a recipient of ordinary skill to be able to\n understand it.\n\n5. Application of this License.\n\n This License applies to code to which the Initial Developer has\n attached the notice in Exhibit A and to related Covered Code.\n\n6. Versions of the License.\n\n 6.1. New Versions.\n Netscape Communications Corporation (\"Netscape\") may publish revised\n and/or new versions of the License from time to time. Each version\n will be given a distinguishing version number.\n\n 6.2. Effect of New Versions.\n Once Covered Code has been published under a particular version of the\n License, You may always continue to use it under the terms of that\n version. You may also choose to use such Covered Code under the terms\n of any subsequent version of the License published by Netscape. No one\n other than Netscape has the right to modify the terms applicable to\n Covered Code created under this License.\n\n 6.3. Derivative Works.\n If You create or use a modified version of this License (which you may\n only do in order to apply it to code which is not already Covered Code\n governed by this License), You must (a) rename Your license so that\n the phrases \"Mozilla\", \"MOZILLAPL\", \"MOZPL\", \"Netscape\",\n \"MPL\", \"NPL\" or any confusingly similar phrase do not appear in your\n license (except to note that your license differs from this License)\n and (b) otherwise make it clear that Your version of the license\n contains terms which differ from the Mozilla Public License and\n Netscape Public License. (Filling in the name of the Initial\n Developer, Original Code or Contributor in the notice described in\n Exhibit A shall not of themselves be deemed to be modifications of\n this License.)\n\n7. DISCLAIMER OF WARRANTY.\n\n COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN \"AS IS\" BASIS,\n WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,\n WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF\n DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.\n THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE\n IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,\n YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE\n COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER\n OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF\n ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.\n\n8. TERMINATION.\n\n 8.1. This License and the rights granted hereunder will terminate\n automatically if You fail to comply with terms herein and fail to cure\n such breach within 30 days of becoming aware of the breach. All\n sublicenses to the Covered Code which are properly granted shall\n survive any termination of this License. Provisions which, by their\n nature, must remain in effect beyond the termination of this License\n shall survive.\n\n 8.2. If You initiate litigation by asserting a patent infringement\n claim (excluding declatory judgment actions) against Initial Developer\n or a Contributor (the Initial Developer or Contributor against whom\n You file such action is referred to as \"Participant\") alleging that:\n\n (a) such Participant's Contributor Version directly or indirectly\n infringes any patent, then any and all rights granted by such\n Participant to You under Sections 2.1 and/or 2.2 of this License\n shall, upon 60 days notice from Participant terminate prospectively,\n unless if within 60 days after receipt of notice You either: (i)\n agree in writing to pay Participant a mutually agreeable reasonable\n royalty for Your past and future use of Modifications made by such\n Participant, or (ii) withdraw Your litigation claim with respect to\n the Contributor Version against such Participant. If within 60 days\n of notice, a reasonable royalty and payment arrangement are not\n mutually agreed upon in writing by the parties or the litigation claim\n is not withdrawn, the rights granted by Participant to You under\n Sections 2.1 and/or 2.2 automatically terminate at the expiration of\n the 60 day notice period specified above.\n\n (b) any software, hardware, or device, other than such Participant's\n Contributor Version, directly or indirectly infringes any patent, then\n any rights granted to You by such Participant under Sections 2.1(b)\n and 2.2(b) are revoked effective as of the date You first made, used,\n sold, distributed, or had made, Modifications made by that\n Participant.\n\n 8.3. If You assert a patent infringement claim against Participant\n alleging that such Participant's Contributor Version directly or\n indirectly infringes any patent where such claim is resolved (such as\n by license or settlement) prior to the initiation of patent\n infringement litigation, then the reasonable value of the licenses\n granted by such Participant under Sections 2.1 or 2.2 shall be taken\n into account in determining the amount or value of any payment or\n license.\n\n 8.4. In the event of termination under Sections 8.1 or 8.2 above,\n all end user license agreements (excluding distributors and resellers)\n which have been validly granted by You or any distributor hereunder\n prior to termination shall survive termination.\n\n9. LIMITATION OF LIABILITY.\n\n UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT\n (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL\n DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,\n OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR\n ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY\n CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,\n WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER\n COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN\n INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF\n LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY\n RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW\n PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE\n EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO\n THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.\n\n10. U.S. GOVERNMENT END USERS.\n\n The Covered Code is a \"commercial item,\" as that term is defined in\n 48 C.F.R. 2.101 (Oct. 1995), consisting of \"commercial computer\n software\" and \"commercial computer software documentation,\" as such\n terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48\n C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),\n all U.S. Government End Users acquire Covered Code with only those\n rights set forth herein.\n\n11. MISCELLANEOUS.\n\n This License represents the complete agreement concerning subject\n matter hereof. If any provision of this License is held to be\n unenforceable, such provision shall be reformed only to the extent\n necessary to make it enforceable. This License shall be governed by\n California law provisions (except to the extent applicable law, if\n any, provides otherwise), excluding its conflict-of-law provisions.\n With respect to disputes in which at least one party is a citizen of,\n or an entity chartered or registered to do business in the United\n States of America, any litigation relating to this License shall be\n subject to the jurisdiction of the Federal Courts of the Northern\n District of California, with venue lying in Santa Clara County,\n California, with the losing party responsible for costs, including\n without limitation, court costs and reasonable attorneys' fees and\n expenses. The application of the United Nations Convention on\n Contracts for the International Sale of Goods is expressly excluded.\n Any law or regulation which provides that the language of a contract\n shall be construed against the drafter shall not apply to this\n License.\n\n12. RESPONSIBILITY FOR CLAIMS.\n\n As between Initial Developer and the Contributors, each party is\n responsible for claims and damages arising, directly or indirectly,\n out of its utilization of rights under this License and You agree to\n work with Initial Developer and Contributors to distribute such\n responsibility on an equitable basis. Nothing herein is intended or\n shall be deemed to constitute any admission of liability.\n\n13. MULTIPLE-LICENSED CODE.\n\n Initial Developer may designate portions of the Covered Code as\n \"Multiple-Licensed\". \"Multiple-Licensed\" means that the Initial\n Developer permits you to utilize portions of the Covered Code under\n Your choice of the NPL or the alternative licenses, if any, specified\n by the Initial Developer in the file described in Exhibit A.\n\nEXHIBIT A -Mozilla Public License.\n\n ``The contents of this file are subject to the Mozilla Public License\n Version 1.1 (the \"License\"); you may not use this file except in\n compliance with the License. You may obtain a copy of the License at\n http://www.mozilla.org/MPL/\n\n Software distributed under the License is distributed on an \"AS IS\"\n basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the\n License for the specific language governing rights and limitations\n under the License.\n\n The Original Code is ______________________________________.\n\n The Initial Developer of the Original Code is ________________________.\n Portions created by ______________________ are Copyright (C) ______\n _______________________. All Rights Reserved.\n\n Contributor(s): ______________________________________.\n\n Alternatively, the contents of this file may be used under the terms\n of the _____ license (the \"[___] License\"), in which case the\n provisions of [______] License are applicable instead of those\n above. If you wish to allow use of your version of this file only\n under the terms of the [____] License and not to allow others to use\n your version of this file under the MPL, indicate your decision by\n deleting the provisions above and replace them with the notice and\n other provisions required by the [___] License. If you do not delete\n the provisions above, a recipient may use your version of this file\n under either the MPL or the [___] License.\"\n\n [NOTE: The text of this Exhibit A may differ slightly from the text of\n the notices in the Source Code files of the Original Code. You should\n use the text of this Exhibit A rather than the text found in the\n Original Code Source Code for Your Modifications.]" } ] }, { - "identifier": "mpl_1_1-07b8ff5c-17d0-b493-8c80-b5c5dd302ae0", + "identifier": "mpl_1_1-bda94646-bce9-7c88-28d3-e530599274c6", "license_expression": "mpl-1.1", "license_expression_spdx": "MPL-1.1", "detection_count": 1, @@ -96,16 +62,16 @@ "license_expression_spdx": "MPL-1.1", "from_file": "or_and_problem/COPYING-MPL-1.1", "start_line": 1, - "end_line": 469, + "end_line": 2, "matcher": "1-hash", "score": 100.0, - "matched_length": 3710, + "matched_length": 6, "match_coverage": 100.0, "rule_relevance": 100, - "rule_identifier": "mpl-1.1.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mpl-1.1.LICENSE", - "matched_text": " MOZILLA PUBLIC LICENSE\n Version 1.1\n\n ---------------\n\n1. Definitions.\n\n 1.0.1. \"Commercial Use\" means distribution or otherwise making the\n Covered Code available to a third party.\n\n 1.1. \"Contributor\" means each entity that creates or contributes to\n the creation of Modifications.\n\n 1.2. \"Contributor Version\" means the combination of the Original\n Code, prior Modifications used by a Contributor, and the Modifications\n made by that particular Contributor.\n\n 1.3. \"Covered Code\" means the Original Code or Modifications or the\n combination of the Original Code and Modifications, in each case\n including portions thereof.\n\n 1.4. \"Electronic Distribution Mechanism\" means a mechanism generally\n accepted in the software development community for the electronic\n transfer of data.\n\n 1.5. \"Executable\" means Covered Code in any form other than Source\n Code.\n\n 1.6. \"Initial Developer\" means the individual or entity identified\n as the Initial Developer in the Source Code notice required by Exhibit\n A.\n\n 1.7. \"Larger Work\" means a work which combines Covered Code or\n portions thereof with code not governed by the terms of this License.\n\n 1.8. \"License\" means this document.\n\n 1.8.1. \"Licensable\" means having the right to grant, to the maximum\n extent possible, whether at the time of the initial grant or\n subsequently acquired, any and all of the rights conveyed herein.\n\n 1.9. \"Modifications\" means any addition to or deletion from the\n substance or structure of either the Original Code or any previous\n Modifications. When Covered Code is released as a series of files, a\n Modification is:\n A. Any addition to or deletion from the contents of a file\n containing Original Code or previous Modifications.\n\n B. Any new file that contains any part of the Original Code or\n previous Modifications.\n\n 1.10. \"Original Code\" means Source Code of computer software code\n which is described in the Source Code notice required by Exhibit A as\n Original Code, and which, at the time of its release under this\n License is not already Covered Code governed by this License.\n\n 1.10.1. \"Patent Claims\" means any patent claim(s), now owned or\n hereafter acquired, including without limitation, method, process,\n and apparatus claims, in any patent Licensable by grantor.\n\n 1.11. \"Source Code\" means the preferred form of the Covered Code for\n making modifications to it, including all modules it contains, plus\n any associated interface definition files, scripts used to control\n compilation and installation of an Executable, or source code\n differential comparisons against either the Original Code or another\n well known, available Covered Code of the Contributor's choice. The\n Source Code can be in a compressed or archival form, provided the\n appropriate decompression or de-archiving software is widely available\n for no charge.\n\n 1.12. \"You\" (or \"Your\") means an individual or a legal entity\n exercising rights under, and complying with all of the terms of, this\n License or a future version of this License issued under Section 6.1.\n For legal entities, \"You\" includes any entity which controls, is\n controlled by, or is under common control with You. For purposes of\n this definition, \"control\" means (a) the power, direct or indirect,\n to cause the direction or management of such entity, whether by\n contract or otherwise, or (b) ownership of more than fifty percent\n (50%) of the outstanding shares or beneficial ownership of such\n entity.\n\n2. Source Code License.\n\n 2.1. The Initial Developer Grant.\n The Initial Developer hereby grants You a world-wide, royalty-free,\n non-exclusive license, subject to third party intellectual property\n claims:\n (a) under intellectual property rights (other than patent or\n trademark) Licensable by Initial Developer to use, reproduce,\n modify, display, perform, sublicense and distribute the Original\n Code (or portions thereof) with or without Modifications, and/or\n as part of a Larger Work; and\n\n (b) under Patents Claims infringed by the making, using or\n selling of Original Code, to make, have made, use, practice,\n sell, and offer for sale, and/or otherwise dispose of the\n Original Code (or portions thereof).\n\n (c) the licenses granted in this Section 2.1(a) and (b) are\n effective on the date Initial Developer first distributes\n Original Code under the terms of this License.\n\n (d) Notwithstanding Section 2.1(b) above, no patent license is\n granted: 1) for code that You delete from the Original Code; 2)\n separate from the Original Code; or 3) for infringements caused\n by: i) the modification of the Original Code or ii) the\n combination of the Original Code with other software or devices.\n\n 2.2. Contributor Grant.\n Subject to third party intellectual property claims, each Contributor\n hereby grants You a world-wide, royalty-free, non-exclusive license\n\n (a) under intellectual property rights (other than patent or\n trademark) Licensable by Contributor, to use, reproduce, modify,\n display, perform, sublicense and distribute the Modifications\n created by such Contributor (or portions thereof) either on an\n unmodified basis, with other Modifications, as Covered Code\n and/or as part of a Larger Work; and\n\n (b) under Patent Claims infringed by the making, using, or\n selling of Modifications made by that Contributor either alone\n and/or in combination with its Contributor Version (or portions\n of such combination), to make, use, sell, offer for sale, have\n made, and/or otherwise dispose of: 1) Modifications made by that\n Contributor (or portions thereof); and 2) the combination of\n Modifications made by that Contributor with its Contributor\n Version (or portions of such combination).\n\n (c) the licenses granted in Sections 2.2(a) and 2.2(b) are\n effective on the date Contributor first makes Commercial Use of\n the Covered Code.\n\n (d) Notwithstanding Section 2.2(b) above, no patent license is\n granted: 1) for any code that Contributor has deleted from the\n Contributor Version; 2) separate from the Contributor Version;\n 3) for infringements caused by: i) third party modifications of\n Contributor Version or ii) the combination of Modifications made\n by that Contributor with other software (except as part of the\n Contributor Version) or other devices; or 4) under Patent Claims\n infringed by Covered Code in the absence of Modifications made by\n that Contributor.\n\n3. Distribution Obligations.\n\n 3.1. Application of License.\n The Modifications which You create or to which You contribute are\n governed by the terms of this License, including without limitation\n Section 2.2. The Source Code version of Covered Code may be\n distributed only under the terms of this License or a future version\n of this License released under Section 6.1, and You must include a\n copy of this License with every copy of the Source Code You\n distribute. You may not offer or impose any terms on any Source Code\n version that alters or restricts the applicable version of this\n License or the recipients' rights hereunder. However, You may include\n an additional document offering the additional rights described in\n Section 3.5.\n\n 3.2. Availability of Source Code.\n Any Modification which You create or to which You contribute must be\n made available in Source Code form under the terms of this License\n either on the same media as an Executable version or via an accepted\n Electronic Distribution Mechanism to anyone to whom you made an\n Executable version available; and if made available via Electronic\n Distribution Mechanism, must remain available for at least twelve (12)\n months after the date it initially became available, or at least six\n (6) months after a subsequent version of that particular Modification\n has been made available to such recipients. You are responsible for\n ensuring that the Source Code version remains available even if the\n Electronic Distribution Mechanism is maintained by a third party.\n\n 3.3. Description of Modifications.\n You must cause all Covered Code to which You contribute to contain a\n file documenting the changes You made to create that Covered Code and\n the date of any change. You must include a prominent statement that\n the Modification is derived, directly or indirectly, from Original\n Code provided by the Initial Developer and including the name of the\n Initial Developer in (a) the Source Code, and (b) in any notice in an\n Executable version or related documentation in which You describe the\n origin or ownership of the Covered Code.\n\n 3.4. Intellectual Property Matters\n (a) Third Party Claims.\n If Contributor has knowledge that a license under a third party's\n intellectual property rights is required to exercise the rights\n granted by such Contributor under Sections 2.1 or 2.2,\n Contributor must include a text file with the Source Code\n distribution titled \"LEGAL\" which describes the claim and the\n party making the claim in sufficient detail that a recipient will\n know whom to contact. If Contributor obtains such knowledge after\n the Modification is made available as described in Section 3.2,\n Contributor shall promptly modify the LEGAL file in all copies\n Contributor makes available thereafter and shall take other steps\n (such as notifying appropriate mailing lists or newsgroups)\n reasonably calculated to inform those who received the Covered\n Code that new knowledge has been obtained.\n\n (b) Contributor APIs.\n If Contributor's Modifications include an application programming\n interface and Contributor has knowledge of patent licenses which\n are reasonably necessary to implement that API, Contributor must\n also include this information in the LEGAL file.\n\n (c) Representations.\n Contributor represents that, except as disclosed pursuant to\n Section 3.4(a) above, Contributor believes that Contributor's\n Modifications are Contributor's original creation(s) and/or\n Contributor has sufficient rights to grant the rights conveyed by\n this License.\n\n 3.5. Required Notices.\n You must duplicate the notice in Exhibit A in each file of the Source\n Code. If it is not possible to put such notice in a particular Source\n Code file due to its structure, then You must include such notice in a\n location (such as a relevant directory) where a user would be likely\n to look for such a notice. If You created one or more Modification(s)\n You may add your name as a Contributor to the notice described in\n Exhibit A. You must also duplicate this License in any documentation\n for the Source Code where You describe recipients' rights or ownership\n rights relating to Covered Code. You may choose to offer, and to\n charge a fee for, warranty, support, indemnity or liability\n obligations to one or more recipients of Covered Code. However, You\n may do so only on Your own behalf, and not on behalf of the Initial\n Developer or any Contributor. You must make it absolutely clear than\n any such warranty, support, indemnity or liability obligation is\n offered by You alone, and You hereby agree to indemnify the Initial\n Developer and every Contributor for any liability incurred by the\n Initial Developer or such Contributor as a result of warranty,\n support, indemnity or liability terms You offer.\n\n 3.6. Distribution of Executable Versions.\n You may distribute Covered Code in Executable form only if the\n requirements of Section 3.1-3.5 have been met for that Covered Code,\n and if You include a notice stating that the Source Code version of\n the Covered Code is available under the terms of this License,\n including a description of how and where You have fulfilled the\n obligations of Section 3.2. The notice must be conspicuously included\n in any notice in an Executable version, related documentation or\n collateral in which You describe recipients' rights relating to the\n Covered Code. You may distribute the Executable version of Covered\n Code or ownership rights under a license of Your choice, which may\n contain terms different from this License, provided that You are in\n compliance with the terms of this License and that the license for the\n Executable version does not attempt to limit or alter the recipient's\n rights in the Source Code version from the rights set forth in this\n License. If You distribute the Executable version under a different\n license You must make it absolutely clear that any terms which differ\n from this License are offered by You alone, not by the Initial\n Developer or any Contributor. You hereby agree to indemnify the\n Initial Developer and every Contributor for any liability incurred by\n the Initial Developer or such Contributor as a result of any such\n terms You offer.\n\n 3.7. Larger Works.\n You may create a Larger Work by combining Covered Code with other code\n not governed by the terms of this License and distribute the Larger\n Work as a single product. In such a case, You must make sure the\n requirements of this License are fulfilled for the Covered Code.\n\n4. Inability to Comply Due to Statute or Regulation.\n\n If it is impossible for You to comply with any of the terms of this\n License with respect to some or all of the Covered Code due to\n statute, judicial order, or regulation then You must: (a) comply with\n the terms of this License to the maximum extent possible; and (b)\n describe the limitations and the code they affect. Such description\n must be included in the LEGAL file described in Section 3.4 and must\n be included with all distributions of the Source Code. Except to the\n extent prohibited by statute or regulation, such description must be\n sufficiently detailed for a recipient of ordinary skill to be able to\n understand it.\n\n5. Application of this License.\n\n This License applies to code to which the Initial Developer has\n attached the notice in Exhibit A and to related Covered Code.\n\n6. Versions of the License.\n\n 6.1. New Versions.\n Netscape Communications Corporation (\"Netscape\") may publish revised\n and/or new versions of the License from time to time. Each version\n will be given a distinguishing version number.\n\n 6.2. Effect of New Versions.\n Once Covered Code has been published under a particular version of the\n License, You may always continue to use it under the terms of that\n version. You may also choose to use such Covered Code under the terms\n of any subsequent version of the License published by Netscape. No one\n other than Netscape has the right to modify the terms applicable to\n Covered Code created under this License.\n\n 6.3. Derivative Works.\n If You create or use a modified version of this License (which you may\n only do in order to apply it to code which is not already Covered Code\n governed by this License), You must (a) rename Your license so that\n the phrases \"Mozilla\", \"MOZILLAPL\", \"MOZPL\", \"Netscape\",\n \"MPL\", \"NPL\" or any confusingly similar phrase do not appear in your\n license (except to note that your license differs from this License)\n and (b) otherwise make it clear that Your version of the license\n contains terms which differ from the Mozilla Public License and\n Netscape Public License. (Filling in the name of the Initial\n Developer, Original Code or Contributor in the notice described in\n Exhibit A shall not of themselves be deemed to be modifications of\n this License.)\n\n7. DISCLAIMER OF WARRANTY.\n\n COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN \"AS IS\" BASIS,\n WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,\n WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF\n DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.\n THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE\n IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,\n YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE\n COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER\n OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF\n ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.\n\n8. TERMINATION.\n\n 8.1. This License and the rights granted hereunder will terminate\n automatically if You fail to comply with terms herein and fail to cure\n such breach within 30 days of becoming aware of the breach. All\n sublicenses to the Covered Code which are properly granted shall\n survive any termination of this License. Provisions which, by their\n nature, must remain in effect beyond the termination of this License\n shall survive.\n\n 8.2. If You initiate litigation by asserting a patent infringement\n claim (excluding declatory judgment actions) against Initial Developer\n or a Contributor (the Initial Developer or Contributor against whom\n You file such action is referred to as \"Participant\") alleging that:\n\n (a) such Participant's Contributor Version directly or indirectly\n infringes any patent, then any and all rights granted by such\n Participant to You under Sections 2.1 and/or 2.2 of this License\n shall, upon 60 days notice from Participant terminate prospectively,\n unless if within 60 days after receipt of notice You either: (i)\n agree in writing to pay Participant a mutually agreeable reasonable\n royalty for Your past and future use of Modifications made by such\n Participant, or (ii) withdraw Your litigation claim with respect to\n the Contributor Version against such Participant. If within 60 days\n of notice, a reasonable royalty and payment arrangement are not\n mutually agreed upon in writing by the parties or the litigation claim\n is not withdrawn, the rights granted by Participant to You under\n Sections 2.1 and/or 2.2 automatically terminate at the expiration of\n the 60 day notice period specified above.\n\n (b) any software, hardware, or device, other than such Participant's\n Contributor Version, directly or indirectly infringes any patent, then\n any rights granted to You by such Participant under Sections 2.1(b)\n and 2.2(b) are revoked effective as of the date You first made, used,\n sold, distributed, or had made, Modifications made by that\n Participant.\n\n 8.3. If You assert a patent infringement claim against Participant\n alleging that such Participant's Contributor Version directly or\n indirectly infringes any patent where such claim is resolved (such as\n by license or settlement) prior to the initiation of patent\n infringement litigation, then the reasonable value of the licenses\n granted by such Participant under Sections 2.1 or 2.2 shall be taken\n into account in determining the amount or value of any payment or\n license.\n\n 8.4. In the event of termination under Sections 8.1 or 8.2 above,\n all end user license agreements (excluding distributors and resellers)\n which have been validly granted by You or any distributor hereunder\n prior to termination shall survive termination.\n\n9. LIMITATION OF LIABILITY.\n\n UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT\n (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL\n DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,\n OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR\n ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY\n CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,\n WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER\n COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN\n INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF\n LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY\n RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW\n PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE\n EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO\n THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.\n\n10. U.S. GOVERNMENT END USERS.\n\n The Covered Code is a \"commercial item,\" as that term is defined in\n 48 C.F.R. 2.101 (Oct. 1995), consisting of \"commercial computer\n software\" and \"commercial computer software documentation,\" as such\n terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48\n C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),\n all U.S. Government End Users acquire Covered Code with only those\n rights set forth herein.\n\n11. MISCELLANEOUS.\n\n This License represents the complete agreement concerning subject\n matter hereof. If any provision of this License is held to be\n unenforceable, such provision shall be reformed only to the extent\n necessary to make it enforceable. This License shall be governed by\n California law provisions (except to the extent applicable law, if\n any, provides otherwise), excluding its conflict-of-law provisions.\n With respect to disputes in which at least one party is a citizen of,\n or an entity chartered or registered to do business in the United\n States of America, any litigation relating to this License shall be\n subject to the jurisdiction of the Federal Courts of the Northern\n District of California, with venue lying in Santa Clara County,\n California, with the losing party responsible for costs, including\n without limitation, court costs and reasonable attorneys' fees and\n expenses. The application of the United Nations Convention on\n Contracts for the International Sale of Goods is expressly excluded.\n Any law or regulation which provides that the language of a contract\n shall be construed against the drafter shall not apply to this\n License.\n\n12. RESPONSIBILITY FOR CLAIMS.\n\n As between Initial Developer and the Contributors, each party is\n responsible for claims and damages arising, directly or indirectly,\n out of its utilization of rights under this License and You agree to\n work with Initial Developer and Contributors to distribute such\n responsibility on an equitable basis. Nothing herein is intended or\n shall be deemed to constitute any admission of liability.\n\n13. MULTIPLE-LICENSED CODE.\n\n Initial Developer may designate portions of the Covered Code as\n \"Multiple-Licensed\". \"Multiple-Licensed\" means that the Initial\n Developer permits you to utilize portions of the Covered Code under\n Your choice of the NPL or the alternative licenses, if any, specified\n by the Initial Developer in the file described in Exhibit A.\n\nEXHIBIT A -Mozilla Public License.\n\n ``The contents of this file are subject to the Mozilla Public License\n Version 1.1 (the \"License\"); you may not use this file except in\n compliance with the License. You may obtain a copy of the License at\n http://www.mozilla.org/MPL/\n\n Software distributed under the License is distributed on an \"AS IS\"\n basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the\n License for the specific language governing rights and limitations\n under the License.\n\n The Original Code is ______________________________________.\n\n The Initial Developer of the Original Code is ________________________.\n Portions created by ______________________ are Copyright (C) ______\n _______________________. All Rights Reserved.\n\n Contributor(s): ______________________________________.\n\n Alternatively, the contents of this file may be used under the terms\n of the _____ license (the \"[___] License\"), in which case the\n provisions of [______] License are applicable instead of those\n above. If you wish to allow use of your version of this file only\n under the terms of the [____] License and not to allow others to use\n your version of this file under the MPL, indicate your decision by\n deleting the provisions above and replace them with the notice and\n other provisions required by the [___] License. If you do not delete\n the provisions above, a recipient may use your version of this file\n under either the MPL or the [___] License.\"\n\n [NOTE: The text of this Exhibit A may differ slightly from the text of\n the notices in the Source Code files of the Original Code. You should\n use the text of this Exhibit A rather than the text found in the\n Original Code Source Code for Your Modifications.]", - "matched_text_diagnostics": "MOZILLA PUBLIC LICENSE\n Version 1.1\n\n ---------------\n\n1. Definitions.\n\n 1.0.1. \"Commercial Use\" means distribution or otherwise making the\n Covered Code available to a third party.\n\n 1.1. \"Contributor\" means each entity that creates or contributes to\n the creation of Modifications.\n\n 1.2. \"Contributor Version\" means the combination of the Original\n Code, prior Modifications used by a Contributor, and the Modifications\n made by that particular Contributor.\n\n 1.3. \"Covered Code\" means the Original Code or Modifications or the\n combination of the Original Code and Modifications, in each case\n including portions thereof.\n\n 1.4. \"Electronic Distribution Mechanism\" means a mechanism generally\n accepted in the software development community for the electronic\n transfer of data.\n\n 1.5. \"Executable\" means Covered Code in any form other than Source\n Code.\n\n 1.6. \"Initial Developer\" means the individual or entity identified\n as the Initial Developer in the Source Code notice required by Exhibit\n A.\n\n 1.7. \"Larger Work\" means a work which combines Covered Code or\n portions thereof with code not governed by the terms of this License.\n\n 1.8. \"License\" means this document.\n\n 1.8.1. \"Licensable\" means having the right to grant, to the maximum\n extent possible, whether at the time of the initial grant or\n subsequently acquired, any and all of the rights conveyed herein.\n\n 1.9. \"Modifications\" means any addition to or deletion from the\n substance or structure of either the Original Code or any previous\n Modifications. When Covered Code is released as a series of files, a\n Modification is:\n A. Any addition to or deletion from the contents of a file\n containing Original Code or previous Modifications.\n\n B. Any new file that contains any part of the Original Code or\n previous Modifications.\n\n 1.10. \"Original Code\" means Source Code of computer software code\n which is described in the Source Code notice required by Exhibit A as\n Original Code, and which, at the time of its release under this\n License is not already Covered Code governed by this License.\n\n 1.10.1. \"Patent Claims\" means any patent claim(s), now owned or\n hereafter acquired, including without limitation, method, process,\n and apparatus claims, in any patent Licensable by grantor.\n\n 1.11. \"Source Code\" means the preferred form of the Covered Code for\n making modifications to it, including all modules it contains, plus\n any associated interface definition files, scripts used to control\n compilation and installation of an Executable, or source code\n differential comparisons against either the Original Code or another\n well known, available Covered Code of the Contributor's choice. The\n Source Code can be in a compressed or archival form, provided the\n appropriate decompression or de-archiving software is widely available\n for no charge.\n\n 1.12. \"You\" (or \"Your\") means an individual or a legal entity\n exercising rights under, and complying with all of the terms of, this\n License or a future version of this License issued under Section 6.1.\n For legal entities, \"You\" includes any entity which controls, is\n controlled by, or is under common control with You. For purposes of\n this definition, \"control\" means (a) the power, direct or indirect,\n to cause the direction or management of such entity, whether by\n contract or otherwise, or (b) ownership of more than fifty percent\n (50%) of the outstanding shares or beneficial ownership of such\n entity.\n\n2. Source Code License.\n\n 2.1. The Initial Developer Grant.\n The Initial Developer hereby grants You a world-wide, royalty-free,\n non-exclusive license, subject to third party intellectual property\n claims:\n (a) under intellectual property rights (other than patent or\n trademark) Licensable by Initial Developer to use, reproduce,\n modify, display, perform, sublicense and distribute the Original\n Code (or portions thereof) with or without Modifications, and/or\n as part of a Larger Work; and\n\n (b) under Patents Claims infringed by the making, using or\n selling of Original Code, to make, have made, use, practice,\n sell, and offer for sale, and/or otherwise dispose of the\n Original Code (or portions thereof).\n\n (c) the licenses granted in this Section 2.1(a) and (b) are\n effective on the date Initial Developer first distributes\n Original Code under the terms of this License.\n\n (d) Notwithstanding Section 2.1(b) above, no patent license is\n granted: 1) for code that You delete from the Original Code; 2)\n separate from the Original Code; or 3) for infringements caused\n by: i) the modification of the Original Code or ii) the\n combination of the Original Code with other software or devices.\n\n 2.2. Contributor Grant.\n Subject to third party intellectual property claims, each Contributor\n hereby grants You a world-wide, royalty-free, non-exclusive license\n\n (a) under intellectual property rights (other than patent or\n trademark) Licensable by Contributor, to use, reproduce, modify,\n display, perform, sublicense and distribute the Modifications\n created by such Contributor (or portions thereof) either on an\n unmodified basis, with other Modifications, as Covered Code\n and/or as part of a Larger Work; and\n\n (b) under Patent Claims infringed by the making, using, or\n selling of Modifications made by that Contributor either alone\n and/or in combination with its Contributor Version (or portions\n of such combination), to make, use, sell, offer for sale, have\n made, and/or otherwise dispose of: 1) Modifications made by that\n Contributor (or portions thereof); and 2) the combination of\n Modifications made by that Contributor with its Contributor\n Version (or portions of such combination).\n\n (c) the licenses granted in Sections 2.2(a) and 2.2(b) are\n effective on the date Contributor first makes Commercial Use of\n the Covered Code.\n\n (d) Notwithstanding Section 2.2(b) above, no patent license is\n granted: 1) for any code that Contributor has deleted from the\n Contributor Version; 2) separate from the Contributor Version;\n 3) for infringements caused by: i) third party modifications of\n Contributor Version or ii) the combination of Modifications made\n by that Contributor with other software (except as part of the\n Contributor Version) or other devices; or 4) under Patent Claims\n infringed by Covered Code in the absence of Modifications made by\n that Contributor.\n\n3. Distribution Obligations.\n\n 3.1. Application of License.\n The Modifications which You create or to which You contribute are\n governed by the terms of this License, including without limitation\n Section 2.2. The Source Code version of Covered Code may be\n distributed only under the terms of this License or a future version\n of this License released under Section 6.1, and You must include a\n copy of this License with every copy of the Source Code You\n distribute. You may not offer or impose any terms on any Source Code\n version that alters or restricts the applicable version of this\n License or the recipients' rights hereunder. However, You may include\n an additional document offering the additional rights described in\n Section 3.5.\n\n 3.2. Availability of Source Code.\n Any Modification which You create or to which You contribute must be\n made available in Source Code form under the terms of this License\n either on the same media as an Executable version or via an accepted\n Electronic Distribution Mechanism to anyone to whom you made an\n Executable version available; and if made available via Electronic\n Distribution Mechanism, must remain available for at least twelve (12)\n months after the date it initially became available, or at least six\n (6) months after a subsequent version of that particular Modification\n has been made available to such recipients. You are responsible for\n ensuring that the Source Code version remains available even if the\n Electronic Distribution Mechanism is maintained by a third party.\n\n 3.3. Description of Modifications.\n You must cause all Covered Code to which You contribute to contain a\n file documenting the changes You made to create that Covered Code and\n the date of any change. You must include a prominent statement that\n the Modification is derived, directly or indirectly, from Original\n Code provided by the Initial Developer and including the name of the\n Initial Developer in (a) the Source Code, and (b) in any notice in an\n Executable version or related documentation in which You describe the\n origin or ownership of the Covered Code.\n\n 3.4. Intellectual Property Matters\n (a) Third Party Claims.\n If Contributor has knowledge that a license under a third party's\n intellectual property rights is required to exercise the rights\n granted by such Contributor under Sections 2.1 or 2.2,\n Contributor must include a text file with the Source Code\n distribution titled \"LEGAL\" which describes the claim and the\n party making the claim in sufficient detail that a recipient will\n know whom to contact. If Contributor obtains such knowledge after\n the Modification is made available as described in Section 3.2,\n Contributor shall promptly modify the LEGAL file in all copies\n Contributor makes available thereafter and shall take other steps\n (such as notifying appropriate mailing lists or newsgroups)\n reasonably calculated to inform those who received the Covered\n Code that new knowledge has been obtained.\n\n (b) Contributor APIs.\n If Contributor's Modifications include an application programming\n interface and Contributor has knowledge of patent licenses which\n are reasonably necessary to implement that API, Contributor must\n also include this information in the LEGAL file.\n\n (c) Representations.\n Contributor represents that, except as disclosed pursuant to\n Section 3.4(a) above, Contributor believes that Contributor's\n Modifications are Contributor's original creation(s) and/or\n Contributor has sufficient rights to grant the rights conveyed by\n this License.\n\n 3.5. Required Notices.\n You must duplicate the notice in Exhibit A in each file of the Source\n Code. If it is not possible to put such notice in a particular Source\n Code file due to its structure, then You must include such notice in a\n location (such as a relevant directory) where a user would be likely\n to look for such a notice. If You created one or more Modification(s)\n You may add your name as a Contributor to the notice described in\n Exhibit A. You must also duplicate this License in any documentation\n for the Source Code where You describe recipients' rights or ownership\n rights relating to Covered Code. You may choose to offer, and to\n charge a fee for, warranty, support, indemnity or liability\n obligations to one or more recipients of Covered Code. However, You\n may do so only on Your own behalf, and not on behalf of the Initial\n Developer or any Contributor. You must make it absolutely clear than\n any such warranty, support, indemnity or liability obligation is\n offered by You alone, and You hereby agree to indemnify the Initial\n Developer and every Contributor for any liability incurred by the\n Initial Developer or such Contributor as a result of warranty,\n support, indemnity or liability terms You offer.\n\n 3.6. Distribution of Executable Versions.\n You may distribute Covered Code in Executable form only if the\n requirements of Section 3.1-3.5 have been met for that Covered Code,\n and if You include a notice stating that the Source Code version of\n the Covered Code is available under the terms of this License,\n including a description of how and where You have fulfilled the\n obligations of Section 3.2. The notice must be conspicuously included\n in any notice in an Executable version, related documentation or\n collateral in which You describe recipients' rights relating to the\n Covered Code. You may distribute the Executable version of Covered\n Code or ownership rights under a license of Your choice, which may\n contain terms different from this License, provided that You are in\n compliance with the terms of this License and that the license for the\n Executable version does not attempt to limit or alter the recipient's\n rights in the Source Code version from the rights set forth in this\n License. If You distribute the Executable version under a different\n license You must make it absolutely clear that any terms which differ\n from this License are offered by You alone, not by the Initial\n Developer or any Contributor. You hereby agree to indemnify the\n Initial Developer and every Contributor for any liability incurred by\n the Initial Developer or such Contributor as a result of any such\n terms You offer.\n\n 3.7. Larger Works.\n You may create a Larger Work by combining Covered Code with other code\n not governed by the terms of this License and distribute the Larger\n Work as a single product. In such a case, You must make sure the\n requirements of this License are fulfilled for the Covered Code.\n\n4. Inability to Comply Due to Statute or Regulation.\n\n If it is impossible for You to comply with any of the terms of this\n License with respect to some or all of the Covered Code due to\n statute, judicial order, or regulation then You must: (a) comply with\n the terms of this License to the maximum extent possible; and (b)\n describe the limitations and the code they affect. Such description\n must be included in the LEGAL file described in Section 3.4 and must\n be included with all distributions of the Source Code. Except to the\n extent prohibited by statute or regulation, such description must be\n sufficiently detailed for a recipient of ordinary skill to be able to\n understand it.\n\n5. Application of this License.\n\n This License applies to code to which the Initial Developer has\n attached the notice in Exhibit A and to related Covered Code.\n\n6. Versions of the License.\n\n 6.1. New Versions.\n Netscape Communications Corporation (\"Netscape\") may publish revised\n and/or new versions of the License from time to time. Each version\n will be given a distinguishing version number.\n\n 6.2. Effect of New Versions.\n Once Covered Code has been published under a particular version of the\n License, You may always continue to use it under the terms of that\n version. You may also choose to use such Covered Code under the terms\n of any subsequent version of the License published by Netscape. No one\n other than Netscape has the right to modify the terms applicable to\n Covered Code created under this License.\n\n 6.3. Derivative Works.\n If You create or use a modified version of this License (which you may\n only do in order to apply it to code which is not already Covered Code\n governed by this License), You must (a) rename Your license so that\n the phrases \"Mozilla\", \"MOZILLAPL\", \"MOZPL\", \"Netscape\",\n \"MPL\", \"NPL\" or any confusingly similar phrase do not appear in your\n license (except to note that your license differs from this License)\n and (b) otherwise make it clear that Your version of the license\n contains terms which differ from the Mozilla Public License and\n Netscape Public License. (Filling in the name of the Initial\n Developer, Original Code or Contributor in the notice described in\n Exhibit A shall not of themselves be deemed to be modifications of\n this License.)\n\n7. DISCLAIMER OF WARRANTY.\n\n COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN \"AS IS\" BASIS,\n WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,\n WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF\n DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.\n THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE\n IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,\n YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE\n COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER\n OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF\n ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.\n\n8. TERMINATION.\n\n 8.1. This License and the rights granted hereunder will terminate\n automatically if You fail to comply with terms herein and fail to cure\n such breach within 30 days of becoming aware of the breach. All\n sublicenses to the Covered Code which are properly granted shall\n survive any termination of this License. Provisions which, by their\n nature, must remain in effect beyond the termination of this License\n shall survive.\n\n 8.2. If You initiate litigation by asserting a patent infringement\n claim (excluding declatory judgment actions) against Initial Developer\n or a Contributor (the Initial Developer or Contributor against whom\n You file such action is referred to as \"Participant\") alleging that:\n\n (a) such Participant's Contributor Version directly or indirectly\n infringes any patent, then any and all rights granted by such\n Participant to You under Sections 2.1 and/or 2.2 of this License\n shall, upon 60 days notice from Participant terminate prospectively,\n unless if within 60 days after receipt of notice You either: (i)\n agree in writing to pay Participant a mutually agreeable reasonable\n royalty for Your past and future use of Modifications made by such\n Participant, or (ii) withdraw Your litigation claim with respect to\n the Contributor Version against such Participant. If within 60 days\n of notice, a reasonable royalty and payment arrangement are not\n mutually agreed upon in writing by the parties or the litigation claim\n is not withdrawn, the rights granted by Participant to You under\n Sections 2.1 and/or 2.2 automatically terminate at the expiration of\n the 60 day notice period specified above.\n\n (b) any software, hardware, or device, other than such Participant's\n Contributor Version, directly or indirectly infringes any patent, then\n any rights granted to You by such Participant under Sections 2.1(b)\n and 2.2(b) are revoked effective as of the date You first made, used,\n sold, distributed, or had made, Modifications made by that\n Participant.\n\n 8.3. If You assert a patent infringement claim against Participant\n alleging that such Participant's Contributor Version directly or\n indirectly infringes any patent where such claim is resolved (such as\n by license or settlement) prior to the initiation of patent\n infringement litigation, then the reasonable value of the licenses\n granted by such Participant under Sections 2.1 or 2.2 shall be taken\n into account in determining the amount or value of any payment or\n license.\n\n 8.4. In the event of termination under Sections 8.1 or 8.2 above,\n all end user license agreements (excluding distributors and resellers)\n which have been validly granted by You or any distributor hereunder\n prior to termination shall survive termination.\n\n9. LIMITATION OF LIABILITY.\n\n UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT\n (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL\n DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,\n OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR\n ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY\n CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,\n WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER\n COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN\n INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF\n LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY\n RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW\n PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE\n EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO\n THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.\n\n10. U.S. GOVERNMENT END USERS.\n\n The Covered Code is a \"commercial item,\" as that term is defined in\n 48 C.F.R. 2.101 (Oct. 1995), consisting of \"commercial computer\n software\" and \"commercial computer software documentation,\" as such\n terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48\n C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),\n all U.S. Government End Users acquire Covered Code with only those\n rights set forth herein.\n\n11. MISCELLANEOUS.\n\n This License represents the complete agreement concerning subject\n matter hereof. If any provision of this License is held to be\n unenforceable, such provision shall be reformed only to the extent\n necessary to make it enforceable. This License shall be governed by\n California law provisions (except to the extent applicable law, if\n any, provides otherwise), excluding its conflict-of-law provisions.\n With respect to disputes in which at least one party is a citizen of,\n or an entity chartered or registered to do business in the United\n States of America, any litigation relating to this License shall be\n subject to the jurisdiction of the Federal Courts of the Northern\n District of California, with venue lying in Santa Clara County,\n California, with the losing party responsible for costs, including\n without limitation, court costs and reasonable attorneys' fees and\n expenses. The application of the United Nations Convention on\n Contracts for the International Sale of Goods is expressly excluded.\n Any law or regulation which provides that the language of a contract\n shall be construed against the drafter shall not apply to this\n License.\n\n12. RESPONSIBILITY FOR CLAIMS.\n\n As between Initial Developer and the Contributors, each party is\n responsible for claims and damages arising, directly or indirectly,\n out of its utilization of rights under this License and You agree to\n work with Initial Developer and Contributors to distribute such\n responsibility on an equitable basis. Nothing herein is intended or\n shall be deemed to constitute any admission of liability.\n\n13. MULTIPLE-LICENSED CODE.\n\n Initial Developer may designate portions of the Covered Code as\n \"Multiple-Licensed\". \"Multiple-Licensed\" means that the Initial\n Developer permits you to utilize portions of the Covered Code under\n Your choice of the NPL or the alternative licenses, if any, specified\n by the Initial Developer in the file described in Exhibit A.\n\nEXHIBIT A -Mozilla Public License.\n\n ``The contents of this file are subject to the Mozilla Public License\n Version 1.1 (the \"License\"); you may not use this file except in\n compliance with the License. You may obtain a copy of the License at\n http://www.mozilla.org/MPL/\n\n Software distributed under the License is distributed on an \"AS IS\"\n basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the\n License for the specific language governing rights and limitations\n under the License.\n\n The Original Code is ______________________________________.\n\n The Initial Developer of the Original Code is ________________________.\n Portions created by ______________________ are Copyright (C) ______\n _______________________. All Rights Reserved.\n\n Contributor(s): ______________________________________.\n\n Alternatively, the contents of this file may be used under the terms\n of the _____ license (the \"[___] License\"), in which case the\n provisions of [______] License are applicable instead of those\n above. If you wish to allow use of your version of this file only\n under the terms of the [____] License and not to allow others to use\n your version of this file under the MPL, indicate your decision by\n deleting the provisions above and replace them with the notice and\n other provisions required by the [___] License. If you do not delete\n the provisions above, a recipient may use your version of this file\n under either the MPL or the [___] License.\"\n\n [NOTE: The text of this Exhibit A may differ slightly from the text of\n the notices in the Source Code files of the Original Code. You should\n use the text of this Exhibit A rather than the text found in the\n Original Code Source Code for Your Modifications.]" + "rule_identifier": "mpl-1.1_16.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mpl-1.1_16.RULE", + "matched_text": " MOZILLA PUBLIC LICENSE\n Version 1.1", + "matched_text_diagnostics": "MOZILLA PUBLIC LICENSE\n Version 1.1" } ] } @@ -126,24 +92,24 @@ "spdx_license_expression": "LGPL-2.1-only", "from_file": "or_and_problem/COPYING-LGPL-2.1", "start_line": 2, - "end_line": 508, - "matcher": "1-hash", + "end_line": 3, + "matcher": "2-aho", "score": 100.0, - "matched_length": 4288, + "matched_length": 8, "match_coverage": 100.0, "rule_relevance": 100, - "rule_identifier": "lgpl-2.1_alternative.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1_alternative.RULE", - "matched_text": " GNU LESSER GENERAL PUBLIC LICENSE\n Version 2.1, February 1999\n\n Copyright (C) 1991, 1999 Free Software Foundation, Inc.\n 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\n as the successor of the GNU Library Public License, version 2, hence\n the version number 2.1.]\n\n Preamble\n\n The licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\n This license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations\nbelow.\n\n When we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\n To protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\n For example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\n We protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\n To protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\f\n Finally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\n Most GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\n When a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\n We call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\n For example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it\nbecomes a de-facto standard. To achieve this, non-free programs must\nbe allowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\n In other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\n Although the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\n The precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\f\n GNU LESSER GENERAL PUBLIC LICENSE\n TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n 0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\n A \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\n The \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n \"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control\ncompilation and installation of the library.\n\n Activities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n 1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\n You may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\f\n 2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\n a) The modified work must itself be a software library.\n\n b) You must cause the files modified to carry prominent notices\n stating that you changed the files and the date of any change.\n\n c) You must cause the whole of the work to be licensed at no\n charge to all third parties under the terms of this License.\n\n d) If a facility in the modified Library refers to a function or a\n table of data to be supplied by an application program that uses\n the facility, other than as an argument passed when the facility\n is invoked, then you must make a good faith effort to ensure that,\n in the event an application does not supply such function or\n table, the facility still operates, and performs whatever part of\n its purpose remains meaningful.\n\n (For example, a function in a library to compute square roots has\n a purpose that is entirely well-defined independent of the\n application. Therefore, Subsection 2d requires that any\n application-supplied function or table used by this function must\n be optional: if the application does not supply it, the square\n root function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n 3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\f\n Once this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\n This option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n 4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\n If distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n 5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\n However, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\n When a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\n If such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\n Otherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\f\n 6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\n You must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\n a) Accompany the work with the complete corresponding\n machine-readable source code for the Library including whatever\n changes were used in the work (which must be distributed under\n Sections 1 and 2 above); and, if the work is an executable linked\n with the Library, with the complete machine-readable \"work that\n uses the Library\", as object code and/or source code, so that the\n user can modify the Library and then relink to produce a modified\n executable containing the modified Library. (It is understood\n that the user who changes the contents of definitions files in the\n Library will not necessarily be able to recompile the application\n to use the modified definitions.)\n\n b) Use a suitable shared library mechanism for linking with the\n Library. A suitable mechanism is one that (1) uses at run time a\n copy of the library already present on the user's computer system,\n rather than copying library functions into the executable, and (2)\n will operate properly with a modified version of the library, if\n the user installs one, as long as the modified version is\n interface-compatible with the version that the work was made with.\n\n c) Accompany the work with a written offer, valid for at least\n three years, to give the same user the materials specified in\n Subsection 6a, above, for a charge no more than the cost of\n performing this distribution.\n\n d) If distribution of the work is made by offering access to copy\n from a designated place, offer equivalent access to copy the above\n specified materials from the same place.\n\n e) Verify that the user has already received a copy of these\n materials or that you have already sent this user a copy.\n\n For an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\n It may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\f\n 7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\n a) Accompany the combined library with a copy of the same work\n based on the Library, uncombined with any other library\n facilities. This must be distributed under the terms of the\n Sections above.\n\n b) Give prominent notice with the combined library of the fact\n that part of it is a work based on the Library, and explaining\n where to find the accompanying uncombined form of the same work.\n\n 8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n 9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n 10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\f\n 11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply, and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n 12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License\nmay add an explicit geographical distribution limitation excluding those\ncountries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n 13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\f\n 14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\n NO WARRANTY\n\n 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\n END OF TERMS AND CONDITIONS\n\f\n How to Apply These Terms to Your New Libraries\n\n If you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms\nof the ordinary General Public License).\n\n To apply these terms, attach the following notices to the library.\nIt is safest to attach them to the start of each source file to most\neffectively convey the exclusion of warranty; and each file should\nhave at least the \"copyright\" line and a pointer to where the full\nnotice is found.\n\n\n \n Copyright (C) \n\n This library is free software; you can redistribute it and/or\n modify it under the terms of the GNU Lesser General Public\n License as published by the Free Software Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\n This library is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this library; if not, write to the Free Software\n Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or\nyour school, if any, to sign a \"copyright disclaimer\" for the library,\nif necessary. Here is a sample; alter the names:\n\n Yoyodyne, Inc., hereby disclaims all copyright interest in the\n library `Frob' (a library for tweaking knobs) written by James\n Random Hacker.\n\n , 1 April 1990\n Ty Coon, President of Vice\n\nThat's all there is to it!", - "matched_text_diagnostics": "GNU LESSER GENERAL PUBLIC LICENSE\n Version 2.1, February 1999\n\n Copyright (C) 1991, 1999 Free Software Foundation, Inc.\n 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\n as the successor of the GNU Library Public License, version 2, hence\n the version number 2.1.]\n\n Preamble\n\n The licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\n This license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations\nbelow.\n\n When we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\n To protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\n For example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\n We protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\n To protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\f\n Finally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\n Most GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\n When a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\n We call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\n For example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it\nbecomes a de-facto standard. To achieve this, non-free programs must\nbe allowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\n In other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\n Although the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\n The precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\f\n GNU LESSER GENERAL PUBLIC LICENSE\n TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n 0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\n A \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\n The \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n \"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control\ncompilation and installation of the library.\n\n Activities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n 1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\n You may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\f\n 2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\n a) The modified work must itself be a software library.\n\n b) You must cause the files modified to carry prominent notices\n stating that you changed the files and the date of any change.\n\n c) You must cause the whole of the work to be licensed at no\n charge to all third parties under the terms of this License.\n\n d) If a facility in the modified Library refers to a function or a\n table of data to be supplied by an application program that uses\n the facility, other than as an argument passed when the facility\n is invoked, then you must make a good faith effort to ensure that,\n in the event an application does not supply such function or\n table, the facility still operates, and performs whatever part of\n its purpose remains meaningful.\n\n (For example, a function in a library to compute square roots has\n a purpose that is entirely well-defined independent of the\n application. Therefore, Subsection 2d requires that any\n application-supplied function or table used by this function must\n be optional: if the application does not supply it, the square\n root function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n 3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\f\n Once this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\n This option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n 4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\n If distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n 5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\n However, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\n When a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\n If such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\n Otherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\f\n 6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\n You must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\n a) Accompany the work with the complete corresponding\n machine-readable source code for the Library including whatever\n changes were used in the work (which must be distributed under\n Sections 1 and 2 above); and, if the work is an executable linked\n with the Library, with the complete machine-readable \"work that\n uses the Library\", as object code and/or source code, so that the\n user can modify the Library and then relink to produce a modified\n executable containing the modified Library. (It is understood\n that the user who changes the contents of definitions files in the\n Library will not necessarily be able to recompile the application\n to use the modified definitions.)\n\n b) Use a suitable shared library mechanism for linking with the\n Library. A suitable mechanism is one that (1) uses at run time a\n copy of the library already present on the user's computer system,\n rather than copying library functions into the executable, and (2)\n will operate properly with a modified version of the library, if\n the user installs one, as long as the modified version is\n interface-compatible with the version that the work was made with.\n\n c) Accompany the work with a written offer, valid for at least\n three years, to give the same user the materials specified in\n Subsection 6a, above, for a charge no more than the cost of\n performing this distribution.\n\n d) If distribution of the work is made by offering access to copy\n from a designated place, offer equivalent access to copy the above\n specified materials from the same place.\n\n e) Verify that the user has already received a copy of these\n materials or that you have already sent this user a copy.\n\n For an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\n It may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\f\n 7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\n a) Accompany the combined library with a copy of the same work\n based on the Library, uncombined with any other library\n facilities. This must be distributed under the terms of the\n Sections above.\n\n b) Give prominent notice with the combined library of the fact\n that part of it is a work based on the Library, and explaining\n where to find the accompanying uncombined form of the same work.\n\n 8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n 9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n 10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\f\n 11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply, and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n 12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License\nmay add an explicit geographical distribution limitation excluding those\ncountries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n 13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\f\n 14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\n NO WARRANTY\n\n 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\n END OF TERMS AND CONDITIONS\n\f\n How to Apply These Terms to Your New Libraries\n\n If you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms\nof the ordinary General Public License).\n\n To apply these terms, attach the following notices to the library.\nIt is safest to attach them to the start of each source file to most\neffectively convey the exclusion of warranty; and each file should\nhave at least the \"copyright\" line and a pointer to where the full\nnotice is found.\n\n\n \n Copyright (C) \n\n This library is free software; you can redistribute it and/or\n modify it under the terms of the GNU Lesser General Public\n License as published by the Free Software Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\n This library is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this library; if not, write to the Free Software\n Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or\nyour school, if any, to sign a \"copyright disclaimer\" for the library,\nif necessary. Here is a sample; alter the names:\n\n Yoyodyne, Inc., hereby disclaims all copyright interest in the\n library `Frob' (a library for tweaking knobs) written by James\n Random Hacker.\n\n , 1 April 1990\n Ty Coon, President of Vice\n\nThat's all there is to it!" + "rule_identifier": "lgpl-2.1_36.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1_36.RULE", + "matched_text": " GNU LESSER GENERAL PUBLIC LICENSE\n Version 2.1, February 1999", + "matched_text_diagnostics": "GNU LESSER GENERAL PUBLIC LICENSE\n Version 2.1," } ], "detection_log": [], - "identifier": "lgpl_2_1-6f68aae0-12f1-d2b5-3667-1420ccd131f1" + "identifier": "lgpl_2_1-be3f3949-802d-9c3e-b5f0-b2466a0bd98b" } ], "license_clues": [], - "percentage_of_license_text": 100.0, + "percentage_of_license_text": 80.0, "scan_errors": [] }, { @@ -161,20 +127,20 @@ "spdx_license_expression": "MPL-1.1", "from_file": "or_and_problem/COPYING-MPL-1.1", "start_line": 1, - "end_line": 469, + "end_line": 2, "matcher": "1-hash", "score": 100.0, - "matched_length": 3710, + "matched_length": 6, "match_coverage": 100.0, "rule_relevance": 100, - "rule_identifier": "mpl-1.1.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mpl-1.1.LICENSE", - "matched_text": " MOZILLA PUBLIC LICENSE\n Version 1.1\n\n ---------------\n\n1. Definitions.\n\n 1.0.1. \"Commercial Use\" means distribution or otherwise making the\n Covered Code available to a third party.\n\n 1.1. \"Contributor\" means each entity that creates or contributes to\n the creation of Modifications.\n\n 1.2. \"Contributor Version\" means the combination of the Original\n Code, prior Modifications used by a Contributor, and the Modifications\n made by that particular Contributor.\n\n 1.3. \"Covered Code\" means the Original Code or Modifications or the\n combination of the Original Code and Modifications, in each case\n including portions thereof.\n\n 1.4. \"Electronic Distribution Mechanism\" means a mechanism generally\n accepted in the software development community for the electronic\n transfer of data.\n\n 1.5. \"Executable\" means Covered Code in any form other than Source\n Code.\n\n 1.6. \"Initial Developer\" means the individual or entity identified\n as the Initial Developer in the Source Code notice required by Exhibit\n A.\n\n 1.7. \"Larger Work\" means a work which combines Covered Code or\n portions thereof with code not governed by the terms of this License.\n\n 1.8. \"License\" means this document.\n\n 1.8.1. \"Licensable\" means having the right to grant, to the maximum\n extent possible, whether at the time of the initial grant or\n subsequently acquired, any and all of the rights conveyed herein.\n\n 1.9. \"Modifications\" means any addition to or deletion from the\n substance or structure of either the Original Code or any previous\n Modifications. When Covered Code is released as a series of files, a\n Modification is:\n A. Any addition to or deletion from the contents of a file\n containing Original Code or previous Modifications.\n\n B. Any new file that contains any part of the Original Code or\n previous Modifications.\n\n 1.10. \"Original Code\" means Source Code of computer software code\n which is described in the Source Code notice required by Exhibit A as\n Original Code, and which, at the time of its release under this\n License is not already Covered Code governed by this License.\n\n 1.10.1. \"Patent Claims\" means any patent claim(s), now owned or\n hereafter acquired, including without limitation, method, process,\n and apparatus claims, in any patent Licensable by grantor.\n\n 1.11. \"Source Code\" means the preferred form of the Covered Code for\n making modifications to it, including all modules it contains, plus\n any associated interface definition files, scripts used to control\n compilation and installation of an Executable, or source code\n differential comparisons against either the Original Code or another\n well known, available Covered Code of the Contributor's choice. The\n Source Code can be in a compressed or archival form, provided the\n appropriate decompression or de-archiving software is widely available\n for no charge.\n\n 1.12. \"You\" (or \"Your\") means an individual or a legal entity\n exercising rights under, and complying with all of the terms of, this\n License or a future version of this License issued under Section 6.1.\n For legal entities, \"You\" includes any entity which controls, is\n controlled by, or is under common control with You. For purposes of\n this definition, \"control\" means (a) the power, direct or indirect,\n to cause the direction or management of such entity, whether by\n contract or otherwise, or (b) ownership of more than fifty percent\n (50%) of the outstanding shares or beneficial ownership of such\n entity.\n\n2. Source Code License.\n\n 2.1. The Initial Developer Grant.\n The Initial Developer hereby grants You a world-wide, royalty-free,\n non-exclusive license, subject to third party intellectual property\n claims:\n (a) under intellectual property rights (other than patent or\n trademark) Licensable by Initial Developer to use, reproduce,\n modify, display, perform, sublicense and distribute the Original\n Code (or portions thereof) with or without Modifications, and/or\n as part of a Larger Work; and\n\n (b) under Patents Claims infringed by the making, using or\n selling of Original Code, to make, have made, use, practice,\n sell, and offer for sale, and/or otherwise dispose of the\n Original Code (or portions thereof).\n\n (c) the licenses granted in this Section 2.1(a) and (b) are\n effective on the date Initial Developer first distributes\n Original Code under the terms of this License.\n\n (d) Notwithstanding Section 2.1(b) above, no patent license is\n granted: 1) for code that You delete from the Original Code; 2)\n separate from the Original Code; or 3) for infringements caused\n by: i) the modification of the Original Code or ii) the\n combination of the Original Code with other software or devices.\n\n 2.2. Contributor Grant.\n Subject to third party intellectual property claims, each Contributor\n hereby grants You a world-wide, royalty-free, non-exclusive license\n\n (a) under intellectual property rights (other than patent or\n trademark) Licensable by Contributor, to use, reproduce, modify,\n display, perform, sublicense and distribute the Modifications\n created by such Contributor (or portions thereof) either on an\n unmodified basis, with other Modifications, as Covered Code\n and/or as part of a Larger Work; and\n\n (b) under Patent Claims infringed by the making, using, or\n selling of Modifications made by that Contributor either alone\n and/or in combination with its Contributor Version (or portions\n of such combination), to make, use, sell, offer for sale, have\n made, and/or otherwise dispose of: 1) Modifications made by that\n Contributor (or portions thereof); and 2) the combination of\n Modifications made by that Contributor with its Contributor\n Version (or portions of such combination).\n\n (c) the licenses granted in Sections 2.2(a) and 2.2(b) are\n effective on the date Contributor first makes Commercial Use of\n the Covered Code.\n\n (d) Notwithstanding Section 2.2(b) above, no patent license is\n granted: 1) for any code that Contributor has deleted from the\n Contributor Version; 2) separate from the Contributor Version;\n 3) for infringements caused by: i) third party modifications of\n Contributor Version or ii) the combination of Modifications made\n by that Contributor with other software (except as part of the\n Contributor Version) or other devices; or 4) under Patent Claims\n infringed by Covered Code in the absence of Modifications made by\n that Contributor.\n\n3. Distribution Obligations.\n\n 3.1. Application of License.\n The Modifications which You create or to which You contribute are\n governed by the terms of this License, including without limitation\n Section 2.2. The Source Code version of Covered Code may be\n distributed only under the terms of this License or a future version\n of this License released under Section 6.1, and You must include a\n copy of this License with every copy of the Source Code You\n distribute. You may not offer or impose any terms on any Source Code\n version that alters or restricts the applicable version of this\n License or the recipients' rights hereunder. However, You may include\n an additional document offering the additional rights described in\n Section 3.5.\n\n 3.2. Availability of Source Code.\n Any Modification which You create or to which You contribute must be\n made available in Source Code form under the terms of this License\n either on the same media as an Executable version or via an accepted\n Electronic Distribution Mechanism to anyone to whom you made an\n Executable version available; and if made available via Electronic\n Distribution Mechanism, must remain available for at least twelve (12)\n months after the date it initially became available, or at least six\n (6) months after a subsequent version of that particular Modification\n has been made available to such recipients. You are responsible for\n ensuring that the Source Code version remains available even if the\n Electronic Distribution Mechanism is maintained by a third party.\n\n 3.3. Description of Modifications.\n You must cause all Covered Code to which You contribute to contain a\n file documenting the changes You made to create that Covered Code and\n the date of any change. You must include a prominent statement that\n the Modification is derived, directly or indirectly, from Original\n Code provided by the Initial Developer and including the name of the\n Initial Developer in (a) the Source Code, and (b) in any notice in an\n Executable version or related documentation in which You describe the\n origin or ownership of the Covered Code.\n\n 3.4. Intellectual Property Matters\n (a) Third Party Claims.\n If Contributor has knowledge that a license under a third party's\n intellectual property rights is required to exercise the rights\n granted by such Contributor under Sections 2.1 or 2.2,\n Contributor must include a text file with the Source Code\n distribution titled \"LEGAL\" which describes the claim and the\n party making the claim in sufficient detail that a recipient will\n know whom to contact. If Contributor obtains such knowledge after\n the Modification is made available as described in Section 3.2,\n Contributor shall promptly modify the LEGAL file in all copies\n Contributor makes available thereafter and shall take other steps\n (such as notifying appropriate mailing lists or newsgroups)\n reasonably calculated to inform those who received the Covered\n Code that new knowledge has been obtained.\n\n (b) Contributor APIs.\n If Contributor's Modifications include an application programming\n interface and Contributor has knowledge of patent licenses which\n are reasonably necessary to implement that API, Contributor must\n also include this information in the LEGAL file.\n\n (c) Representations.\n Contributor represents that, except as disclosed pursuant to\n Section 3.4(a) above, Contributor believes that Contributor's\n Modifications are Contributor's original creation(s) and/or\n Contributor has sufficient rights to grant the rights conveyed by\n this License.\n\n 3.5. Required Notices.\n You must duplicate the notice in Exhibit A in each file of the Source\n Code. If it is not possible to put such notice in a particular Source\n Code file due to its structure, then You must include such notice in a\n location (such as a relevant directory) where a user would be likely\n to look for such a notice. If You created one or more Modification(s)\n You may add your name as a Contributor to the notice described in\n Exhibit A. You must also duplicate this License in any documentation\n for the Source Code where You describe recipients' rights or ownership\n rights relating to Covered Code. You may choose to offer, and to\n charge a fee for, warranty, support, indemnity or liability\n obligations to one or more recipients of Covered Code. However, You\n may do so only on Your own behalf, and not on behalf of the Initial\n Developer or any Contributor. You must make it absolutely clear than\n any such warranty, support, indemnity or liability obligation is\n offered by You alone, and You hereby agree to indemnify the Initial\n Developer and every Contributor for any liability incurred by the\n Initial Developer or such Contributor as a result of warranty,\n support, indemnity or liability terms You offer.\n\n 3.6. Distribution of Executable Versions.\n You may distribute Covered Code in Executable form only if the\n requirements of Section 3.1-3.5 have been met for that Covered Code,\n and if You include a notice stating that the Source Code version of\n the Covered Code is available under the terms of this License,\n including a description of how and where You have fulfilled the\n obligations of Section 3.2. The notice must be conspicuously included\n in any notice in an Executable version, related documentation or\n collateral in which You describe recipients' rights relating to the\n Covered Code. You may distribute the Executable version of Covered\n Code or ownership rights under a license of Your choice, which may\n contain terms different from this License, provided that You are in\n compliance with the terms of this License and that the license for the\n Executable version does not attempt to limit or alter the recipient's\n rights in the Source Code version from the rights set forth in this\n License. If You distribute the Executable version under a different\n license You must make it absolutely clear that any terms which differ\n from this License are offered by You alone, not by the Initial\n Developer or any Contributor. You hereby agree to indemnify the\n Initial Developer and every Contributor for any liability incurred by\n the Initial Developer or such Contributor as a result of any such\n terms You offer.\n\n 3.7. Larger Works.\n You may create a Larger Work by combining Covered Code with other code\n not governed by the terms of this License and distribute the Larger\n Work as a single product. In such a case, You must make sure the\n requirements of this License are fulfilled for the Covered Code.\n\n4. Inability to Comply Due to Statute or Regulation.\n\n If it is impossible for You to comply with any of the terms of this\n License with respect to some or all of the Covered Code due to\n statute, judicial order, or regulation then You must: (a) comply with\n the terms of this License to the maximum extent possible; and (b)\n describe the limitations and the code they affect. Such description\n must be included in the LEGAL file described in Section 3.4 and must\n be included with all distributions of the Source Code. Except to the\n extent prohibited by statute or regulation, such description must be\n sufficiently detailed for a recipient of ordinary skill to be able to\n understand it.\n\n5. Application of this License.\n\n This License applies to code to which the Initial Developer has\n attached the notice in Exhibit A and to related Covered Code.\n\n6. Versions of the License.\n\n 6.1. New Versions.\n Netscape Communications Corporation (\"Netscape\") may publish revised\n and/or new versions of the License from time to time. Each version\n will be given a distinguishing version number.\n\n 6.2. Effect of New Versions.\n Once Covered Code has been published under a particular version of the\n License, You may always continue to use it under the terms of that\n version. You may also choose to use such Covered Code under the terms\n of any subsequent version of the License published by Netscape. No one\n other than Netscape has the right to modify the terms applicable to\n Covered Code created under this License.\n\n 6.3. Derivative Works.\n If You create or use a modified version of this License (which you may\n only do in order to apply it to code which is not already Covered Code\n governed by this License), You must (a) rename Your license so that\n the phrases \"Mozilla\", \"MOZILLAPL\", \"MOZPL\", \"Netscape\",\n \"MPL\", \"NPL\" or any confusingly similar phrase do not appear in your\n license (except to note that your license differs from this License)\n and (b) otherwise make it clear that Your version of the license\n contains terms which differ from the Mozilla Public License and\n Netscape Public License. (Filling in the name of the Initial\n Developer, Original Code or Contributor in the notice described in\n Exhibit A shall not of themselves be deemed to be modifications of\n this License.)\n\n7. DISCLAIMER OF WARRANTY.\n\n COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN \"AS IS\" BASIS,\n WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,\n WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF\n DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.\n THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE\n IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,\n YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE\n COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER\n OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF\n ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.\n\n8. TERMINATION.\n\n 8.1. This License and the rights granted hereunder will terminate\n automatically if You fail to comply with terms herein and fail to cure\n such breach within 30 days of becoming aware of the breach. All\n sublicenses to the Covered Code which are properly granted shall\n survive any termination of this License. Provisions which, by their\n nature, must remain in effect beyond the termination of this License\n shall survive.\n\n 8.2. If You initiate litigation by asserting a patent infringement\n claim (excluding declatory judgment actions) against Initial Developer\n or a Contributor (the Initial Developer or Contributor against whom\n You file such action is referred to as \"Participant\") alleging that:\n\n (a) such Participant's Contributor Version directly or indirectly\n infringes any patent, then any and all rights granted by such\n Participant to You under Sections 2.1 and/or 2.2 of this License\n shall, upon 60 days notice from Participant terminate prospectively,\n unless if within 60 days after receipt of notice You either: (i)\n agree in writing to pay Participant a mutually agreeable reasonable\n royalty for Your past and future use of Modifications made by such\n Participant, or (ii) withdraw Your litigation claim with respect to\n the Contributor Version against such Participant. If within 60 days\n of notice, a reasonable royalty and payment arrangement are not\n mutually agreed upon in writing by the parties or the litigation claim\n is not withdrawn, the rights granted by Participant to You under\n Sections 2.1 and/or 2.2 automatically terminate at the expiration of\n the 60 day notice period specified above.\n\n (b) any software, hardware, or device, other than such Participant's\n Contributor Version, directly or indirectly infringes any patent, then\n any rights granted to You by such Participant under Sections 2.1(b)\n and 2.2(b) are revoked effective as of the date You first made, used,\n sold, distributed, or had made, Modifications made by that\n Participant.\n\n 8.3. If You assert a patent infringement claim against Participant\n alleging that such Participant's Contributor Version directly or\n indirectly infringes any patent where such claim is resolved (such as\n by license or settlement) prior to the initiation of patent\n infringement litigation, then the reasonable value of the licenses\n granted by such Participant under Sections 2.1 or 2.2 shall be taken\n into account in determining the amount or value of any payment or\n license.\n\n 8.4. In the event of termination under Sections 8.1 or 8.2 above,\n all end user license agreements (excluding distributors and resellers)\n which have been validly granted by You or any distributor hereunder\n prior to termination shall survive termination.\n\n9. LIMITATION OF LIABILITY.\n\n UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT\n (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL\n DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,\n OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR\n ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY\n CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,\n WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER\n COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN\n INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF\n LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY\n RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW\n PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE\n EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO\n THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.\n\n10. U.S. GOVERNMENT END USERS.\n\n The Covered Code is a \"commercial item,\" as that term is defined in\n 48 C.F.R. 2.101 (Oct. 1995), consisting of \"commercial computer\n software\" and \"commercial computer software documentation,\" as such\n terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48\n C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),\n all U.S. Government End Users acquire Covered Code with only those\n rights set forth herein.\n\n11. MISCELLANEOUS.\n\n This License represents the complete agreement concerning subject\n matter hereof. If any provision of this License is held to be\n unenforceable, such provision shall be reformed only to the extent\n necessary to make it enforceable. This License shall be governed by\n California law provisions (except to the extent applicable law, if\n any, provides otherwise), excluding its conflict-of-law provisions.\n With respect to disputes in which at least one party is a citizen of,\n or an entity chartered or registered to do business in the United\n States of America, any litigation relating to this License shall be\n subject to the jurisdiction of the Federal Courts of the Northern\n District of California, with venue lying in Santa Clara County,\n California, with the losing party responsible for costs, including\n without limitation, court costs and reasonable attorneys' fees and\n expenses. The application of the United Nations Convention on\n Contracts for the International Sale of Goods is expressly excluded.\n Any law or regulation which provides that the language of a contract\n shall be construed against the drafter shall not apply to this\n License.\n\n12. RESPONSIBILITY FOR CLAIMS.\n\n As between Initial Developer and the Contributors, each party is\n responsible for claims and damages arising, directly or indirectly,\n out of its utilization of rights under this License and You agree to\n work with Initial Developer and Contributors to distribute such\n responsibility on an equitable basis. Nothing herein is intended or\n shall be deemed to constitute any admission of liability.\n\n13. MULTIPLE-LICENSED CODE.\n\n Initial Developer may designate portions of the Covered Code as\n \"Multiple-Licensed\". \"Multiple-Licensed\" means that the Initial\n Developer permits you to utilize portions of the Covered Code under\n Your choice of the NPL or the alternative licenses, if any, specified\n by the Initial Developer in the file described in Exhibit A.\n\nEXHIBIT A -Mozilla Public License.\n\n ``The contents of this file are subject to the Mozilla Public License\n Version 1.1 (the \"License\"); you may not use this file except in\n compliance with the License. You may obtain a copy of the License at\n http://www.mozilla.org/MPL/\n\n Software distributed under the License is distributed on an \"AS IS\"\n basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the\n License for the specific language governing rights and limitations\n under the License.\n\n The Original Code is ______________________________________.\n\n The Initial Developer of the Original Code is ________________________.\n Portions created by ______________________ are Copyright (C) ______\n _______________________. All Rights Reserved.\n\n Contributor(s): ______________________________________.\n\n Alternatively, the contents of this file may be used under the terms\n of the _____ license (the \"[___] License\"), in which case the\n provisions of [______] License are applicable instead of those\n above. If you wish to allow use of your version of this file only\n under the terms of the [____] License and not to allow others to use\n your version of this file under the MPL, indicate your decision by\n deleting the provisions above and replace them with the notice and\n other provisions required by the [___] License. If you do not delete\n the provisions above, a recipient may use your version of this file\n under either the MPL or the [___] License.\"\n\n [NOTE: The text of this Exhibit A may differ slightly from the text of\n the notices in the Source Code files of the Original Code. You should\n use the text of this Exhibit A rather than the text found in the\n Original Code Source Code for Your Modifications.]", - "matched_text_diagnostics": "MOZILLA PUBLIC LICENSE\n Version 1.1\n\n ---------------\n\n1. Definitions.\n\n 1.0.1. \"Commercial Use\" means distribution or otherwise making the\n Covered Code available to a third party.\n\n 1.1. \"Contributor\" means each entity that creates or contributes to\n the creation of Modifications.\n\n 1.2. \"Contributor Version\" means the combination of the Original\n Code, prior Modifications used by a Contributor, and the Modifications\n made by that particular Contributor.\n\n 1.3. \"Covered Code\" means the Original Code or Modifications or the\n combination of the Original Code and Modifications, in each case\n including portions thereof.\n\n 1.4. \"Electronic Distribution Mechanism\" means a mechanism generally\n accepted in the software development community for the electronic\n transfer of data.\n\n 1.5. \"Executable\" means Covered Code in any form other than Source\n Code.\n\n 1.6. \"Initial Developer\" means the individual or entity identified\n as the Initial Developer in the Source Code notice required by Exhibit\n A.\n\n 1.7. \"Larger Work\" means a work which combines Covered Code or\n portions thereof with code not governed by the terms of this License.\n\n 1.8. \"License\" means this document.\n\n 1.8.1. \"Licensable\" means having the right to grant, to the maximum\n extent possible, whether at the time of the initial grant or\n subsequently acquired, any and all of the rights conveyed herein.\n\n 1.9. \"Modifications\" means any addition to or deletion from the\n substance or structure of either the Original Code or any previous\n Modifications. When Covered Code is released as a series of files, a\n Modification is:\n A. Any addition to or deletion from the contents of a file\n containing Original Code or previous Modifications.\n\n B. Any new file that contains any part of the Original Code or\n previous Modifications.\n\n 1.10. \"Original Code\" means Source Code of computer software code\n which is described in the Source Code notice required by Exhibit A as\n Original Code, and which, at the time of its release under this\n License is not already Covered Code governed by this License.\n\n 1.10.1. \"Patent Claims\" means any patent claim(s), now owned or\n hereafter acquired, including without limitation, method, process,\n and apparatus claims, in any patent Licensable by grantor.\n\n 1.11. \"Source Code\" means the preferred form of the Covered Code for\n making modifications to it, including all modules it contains, plus\n any associated interface definition files, scripts used to control\n compilation and installation of an Executable, or source code\n differential comparisons against either the Original Code or another\n well known, available Covered Code of the Contributor's choice. The\n Source Code can be in a compressed or archival form, provided the\n appropriate decompression or de-archiving software is widely available\n for no charge.\n\n 1.12. \"You\" (or \"Your\") means an individual or a legal entity\n exercising rights under, and complying with all of the terms of, this\n License or a future version of this License issued under Section 6.1.\n For legal entities, \"You\" includes any entity which controls, is\n controlled by, or is under common control with You. For purposes of\n this definition, \"control\" means (a) the power, direct or indirect,\n to cause the direction or management of such entity, whether by\n contract or otherwise, or (b) ownership of more than fifty percent\n (50%) of the outstanding shares or beneficial ownership of such\n entity.\n\n2. Source Code License.\n\n 2.1. The Initial Developer Grant.\n The Initial Developer hereby grants You a world-wide, royalty-free,\n non-exclusive license, subject to third party intellectual property\n claims:\n (a) under intellectual property rights (other than patent or\n trademark) Licensable by Initial Developer to use, reproduce,\n modify, display, perform, sublicense and distribute the Original\n Code (or portions thereof) with or without Modifications, and/or\n as part of a Larger Work; and\n\n (b) under Patents Claims infringed by the making, using or\n selling of Original Code, to make, have made, use, practice,\n sell, and offer for sale, and/or otherwise dispose of the\n Original Code (or portions thereof).\n\n (c) the licenses granted in this Section 2.1(a) and (b) are\n effective on the date Initial Developer first distributes\n Original Code under the terms of this License.\n\n (d) Notwithstanding Section 2.1(b) above, no patent license is\n granted: 1) for code that You delete from the Original Code; 2)\n separate from the Original Code; or 3) for infringements caused\n by: i) the modification of the Original Code or ii) the\n combination of the Original Code with other software or devices.\n\n 2.2. Contributor Grant.\n Subject to third party intellectual property claims, each Contributor\n hereby grants You a world-wide, royalty-free, non-exclusive license\n\n (a) under intellectual property rights (other than patent or\n trademark) Licensable by Contributor, to use, reproduce, modify,\n display, perform, sublicense and distribute the Modifications\n created by such Contributor (or portions thereof) either on an\n unmodified basis, with other Modifications, as Covered Code\n and/or as part of a Larger Work; and\n\n (b) under Patent Claims infringed by the making, using, or\n selling of Modifications made by that Contributor either alone\n and/or in combination with its Contributor Version (or portions\n of such combination), to make, use, sell, offer for sale, have\n made, and/or otherwise dispose of: 1) Modifications made by that\n Contributor (or portions thereof); and 2) the combination of\n Modifications made by that Contributor with its Contributor\n Version (or portions of such combination).\n\n (c) the licenses granted in Sections 2.2(a) and 2.2(b) are\n effective on the date Contributor first makes Commercial Use of\n the Covered Code.\n\n (d) Notwithstanding Section 2.2(b) above, no patent license is\n granted: 1) for any code that Contributor has deleted from the\n Contributor Version; 2) separate from the Contributor Version;\n 3) for infringements caused by: i) third party modifications of\n Contributor Version or ii) the combination of Modifications made\n by that Contributor with other software (except as part of the\n Contributor Version) or other devices; or 4) under Patent Claims\n infringed by Covered Code in the absence of Modifications made by\n that Contributor.\n\n3. Distribution Obligations.\n\n 3.1. Application of License.\n The Modifications which You create or to which You contribute are\n governed by the terms of this License, including without limitation\n Section 2.2. The Source Code version of Covered Code may be\n distributed only under the terms of this License or a future version\n of this License released under Section 6.1, and You must include a\n copy of this License with every copy of the Source Code You\n distribute. You may not offer or impose any terms on any Source Code\n version that alters or restricts the applicable version of this\n License or the recipients' rights hereunder. However, You may include\n an additional document offering the additional rights described in\n Section 3.5.\n\n 3.2. Availability of Source Code.\n Any Modification which You create or to which You contribute must be\n made available in Source Code form under the terms of this License\n either on the same media as an Executable version or via an accepted\n Electronic Distribution Mechanism to anyone to whom you made an\n Executable version available; and if made available via Electronic\n Distribution Mechanism, must remain available for at least twelve (12)\n months after the date it initially became available, or at least six\n (6) months after a subsequent version of that particular Modification\n has been made available to such recipients. You are responsible for\n ensuring that the Source Code version remains available even if the\n Electronic Distribution Mechanism is maintained by a third party.\n\n 3.3. Description of Modifications.\n You must cause all Covered Code to which You contribute to contain a\n file documenting the changes You made to create that Covered Code and\n the date of any change. You must include a prominent statement that\n the Modification is derived, directly or indirectly, from Original\n Code provided by the Initial Developer and including the name of the\n Initial Developer in (a) the Source Code, and (b) in any notice in an\n Executable version or related documentation in which You describe the\n origin or ownership of the Covered Code.\n\n 3.4. Intellectual Property Matters\n (a) Third Party Claims.\n If Contributor has knowledge that a license under a third party's\n intellectual property rights is required to exercise the rights\n granted by such Contributor under Sections 2.1 or 2.2,\n Contributor must include a text file with the Source Code\n distribution titled \"LEGAL\" which describes the claim and the\n party making the claim in sufficient detail that a recipient will\n know whom to contact. If Contributor obtains such knowledge after\n the Modification is made available as described in Section 3.2,\n Contributor shall promptly modify the LEGAL file in all copies\n Contributor makes available thereafter and shall take other steps\n (such as notifying appropriate mailing lists or newsgroups)\n reasonably calculated to inform those who received the Covered\n Code that new knowledge has been obtained.\n\n (b) Contributor APIs.\n If Contributor's Modifications include an application programming\n interface and Contributor has knowledge of patent licenses which\n are reasonably necessary to implement that API, Contributor must\n also include this information in the LEGAL file.\n\n (c) Representations.\n Contributor represents that, except as disclosed pursuant to\n Section 3.4(a) above, Contributor believes that Contributor's\n Modifications are Contributor's original creation(s) and/or\n Contributor has sufficient rights to grant the rights conveyed by\n this License.\n\n 3.5. Required Notices.\n You must duplicate the notice in Exhibit A in each file of the Source\n Code. If it is not possible to put such notice in a particular Source\n Code file due to its structure, then You must include such notice in a\n location (such as a relevant directory) where a user would be likely\n to look for such a notice. If You created one or more Modification(s)\n You may add your name as a Contributor to the notice described in\n Exhibit A. You must also duplicate this License in any documentation\n for the Source Code where You describe recipients' rights or ownership\n rights relating to Covered Code. You may choose to offer, and to\n charge a fee for, warranty, support, indemnity or liability\n obligations to one or more recipients of Covered Code. However, You\n may do so only on Your own behalf, and not on behalf of the Initial\n Developer or any Contributor. You must make it absolutely clear than\n any such warranty, support, indemnity or liability obligation is\n offered by You alone, and You hereby agree to indemnify the Initial\n Developer and every Contributor for any liability incurred by the\n Initial Developer or such Contributor as a result of warranty,\n support, indemnity or liability terms You offer.\n\n 3.6. Distribution of Executable Versions.\n You may distribute Covered Code in Executable form only if the\n requirements of Section 3.1-3.5 have been met for that Covered Code,\n and if You include a notice stating that the Source Code version of\n the Covered Code is available under the terms of this License,\n including a description of how and where You have fulfilled the\n obligations of Section 3.2. The notice must be conspicuously included\n in any notice in an Executable version, related documentation or\n collateral in which You describe recipients' rights relating to the\n Covered Code. You may distribute the Executable version of Covered\n Code or ownership rights under a license of Your choice, which may\n contain terms different from this License, provided that You are in\n compliance with the terms of this License and that the license for the\n Executable version does not attempt to limit or alter the recipient's\n rights in the Source Code version from the rights set forth in this\n License. If You distribute the Executable version under a different\n license You must make it absolutely clear that any terms which differ\n from this License are offered by You alone, not by the Initial\n Developer or any Contributor. You hereby agree to indemnify the\n Initial Developer and every Contributor for any liability incurred by\n the Initial Developer or such Contributor as a result of any such\n terms You offer.\n\n 3.7. Larger Works.\n You may create a Larger Work by combining Covered Code with other code\n not governed by the terms of this License and distribute the Larger\n Work as a single product. In such a case, You must make sure the\n requirements of this License are fulfilled for the Covered Code.\n\n4. Inability to Comply Due to Statute or Regulation.\n\n If it is impossible for You to comply with any of the terms of this\n License with respect to some or all of the Covered Code due to\n statute, judicial order, or regulation then You must: (a) comply with\n the terms of this License to the maximum extent possible; and (b)\n describe the limitations and the code they affect. Such description\n must be included in the LEGAL file described in Section 3.4 and must\n be included with all distributions of the Source Code. Except to the\n extent prohibited by statute or regulation, such description must be\n sufficiently detailed for a recipient of ordinary skill to be able to\n understand it.\n\n5. Application of this License.\n\n This License applies to code to which the Initial Developer has\n attached the notice in Exhibit A and to related Covered Code.\n\n6. Versions of the License.\n\n 6.1. New Versions.\n Netscape Communications Corporation (\"Netscape\") may publish revised\n and/or new versions of the License from time to time. Each version\n will be given a distinguishing version number.\n\n 6.2. Effect of New Versions.\n Once Covered Code has been published under a particular version of the\n License, You may always continue to use it under the terms of that\n version. You may also choose to use such Covered Code under the terms\n of any subsequent version of the License published by Netscape. No one\n other than Netscape has the right to modify the terms applicable to\n Covered Code created under this License.\n\n 6.3. Derivative Works.\n If You create or use a modified version of this License (which you may\n only do in order to apply it to code which is not already Covered Code\n governed by this License), You must (a) rename Your license so that\n the phrases \"Mozilla\", \"MOZILLAPL\", \"MOZPL\", \"Netscape\",\n \"MPL\", \"NPL\" or any confusingly similar phrase do not appear in your\n license (except to note that your license differs from this License)\n and (b) otherwise make it clear that Your version of the license\n contains terms which differ from the Mozilla Public License and\n Netscape Public License. (Filling in the name of the Initial\n Developer, Original Code or Contributor in the notice described in\n Exhibit A shall not of themselves be deemed to be modifications of\n this License.)\n\n7. DISCLAIMER OF WARRANTY.\n\n COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN \"AS IS\" BASIS,\n WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,\n WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF\n DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.\n THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE\n IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,\n YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE\n COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER\n OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF\n ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.\n\n8. TERMINATION.\n\n 8.1. This License and the rights granted hereunder will terminate\n automatically if You fail to comply with terms herein and fail to cure\n such breach within 30 days of becoming aware of the breach. All\n sublicenses to the Covered Code which are properly granted shall\n survive any termination of this License. Provisions which, by their\n nature, must remain in effect beyond the termination of this License\n shall survive.\n\n 8.2. If You initiate litigation by asserting a patent infringement\n claim (excluding declatory judgment actions) against Initial Developer\n or a Contributor (the Initial Developer or Contributor against whom\n You file such action is referred to as \"Participant\") alleging that:\n\n (a) such Participant's Contributor Version directly or indirectly\n infringes any patent, then any and all rights granted by such\n Participant to You under Sections 2.1 and/or 2.2 of this License\n shall, upon 60 days notice from Participant terminate prospectively,\n unless if within 60 days after receipt of notice You either: (i)\n agree in writing to pay Participant a mutually agreeable reasonable\n royalty for Your past and future use of Modifications made by such\n Participant, or (ii) withdraw Your litigation claim with respect to\n the Contributor Version against such Participant. If within 60 days\n of notice, a reasonable royalty and payment arrangement are not\n mutually agreed upon in writing by the parties or the litigation claim\n is not withdrawn, the rights granted by Participant to You under\n Sections 2.1 and/or 2.2 automatically terminate at the expiration of\n the 60 day notice period specified above.\n\n (b) any software, hardware, or device, other than such Participant's\n Contributor Version, directly or indirectly infringes any patent, then\n any rights granted to You by such Participant under Sections 2.1(b)\n and 2.2(b) are revoked effective as of the date You first made, used,\n sold, distributed, or had made, Modifications made by that\n Participant.\n\n 8.3. If You assert a patent infringement claim against Participant\n alleging that such Participant's Contributor Version directly or\n indirectly infringes any patent where such claim is resolved (such as\n by license or settlement) prior to the initiation of patent\n infringement litigation, then the reasonable value of the licenses\n granted by such Participant under Sections 2.1 or 2.2 shall be taken\n into account in determining the amount or value of any payment or\n license.\n\n 8.4. In the event of termination under Sections 8.1 or 8.2 above,\n all end user license agreements (excluding distributors and resellers)\n which have been validly granted by You or any distributor hereunder\n prior to termination shall survive termination.\n\n9. LIMITATION OF LIABILITY.\n\n UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT\n (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL\n DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,\n OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR\n ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY\n CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,\n WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER\n COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN\n INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF\n LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY\n RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW\n PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE\n EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO\n THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.\n\n10. U.S. GOVERNMENT END USERS.\n\n The Covered Code is a \"commercial item,\" as that term is defined in\n 48 C.F.R. 2.101 (Oct. 1995), consisting of \"commercial computer\n software\" and \"commercial computer software documentation,\" as such\n terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48\n C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),\n all U.S. Government End Users acquire Covered Code with only those\n rights set forth herein.\n\n11. MISCELLANEOUS.\n\n This License represents the complete agreement concerning subject\n matter hereof. If any provision of this License is held to be\n unenforceable, such provision shall be reformed only to the extent\n necessary to make it enforceable. This License shall be governed by\n California law provisions (except to the extent applicable law, if\n any, provides otherwise), excluding its conflict-of-law provisions.\n With respect to disputes in which at least one party is a citizen of,\n or an entity chartered or registered to do business in the United\n States of America, any litigation relating to this License shall be\n subject to the jurisdiction of the Federal Courts of the Northern\n District of California, with venue lying in Santa Clara County,\n California, with the losing party responsible for costs, including\n without limitation, court costs and reasonable attorneys' fees and\n expenses. The application of the United Nations Convention on\n Contracts for the International Sale of Goods is expressly excluded.\n Any law or regulation which provides that the language of a contract\n shall be construed against the drafter shall not apply to this\n License.\n\n12. RESPONSIBILITY FOR CLAIMS.\n\n As between Initial Developer and the Contributors, each party is\n responsible for claims and damages arising, directly or indirectly,\n out of its utilization of rights under this License and You agree to\n work with Initial Developer and Contributors to distribute such\n responsibility on an equitable basis. Nothing herein is intended or\n shall be deemed to constitute any admission of liability.\n\n13. MULTIPLE-LICENSED CODE.\n\n Initial Developer may designate portions of the Covered Code as\n \"Multiple-Licensed\". \"Multiple-Licensed\" means that the Initial\n Developer permits you to utilize portions of the Covered Code under\n Your choice of the NPL or the alternative licenses, if any, specified\n by the Initial Developer in the file described in Exhibit A.\n\nEXHIBIT A -Mozilla Public License.\n\n ``The contents of this file are subject to the Mozilla Public License\n Version 1.1 (the \"License\"); you may not use this file except in\n compliance with the License. You may obtain a copy of the License at\n http://www.mozilla.org/MPL/\n\n Software distributed under the License is distributed on an \"AS IS\"\n basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the\n License for the specific language governing rights and limitations\n under the License.\n\n The Original Code is ______________________________________.\n\n The Initial Developer of the Original Code is ________________________.\n Portions created by ______________________ are Copyright (C) ______\n _______________________. All Rights Reserved.\n\n Contributor(s): ______________________________________.\n\n Alternatively, the contents of this file may be used under the terms\n of the _____ license (the \"[___] License\"), in which case the\n provisions of [______] License are applicable instead of those\n above. If you wish to allow use of your version of this file only\n under the terms of the [____] License and not to allow others to use\n your version of this file under the MPL, indicate your decision by\n deleting the provisions above and replace them with the notice and\n other provisions required by the [___] License. If you do not delete\n the provisions above, a recipient may use your version of this file\n under either the MPL or the [___] License.\"\n\n [NOTE: The text of this Exhibit A may differ slightly from the text of\n the notices in the Source Code files of the Original Code. You should\n use the text of this Exhibit A rather than the text found in the\n Original Code Source Code for Your Modifications.]" + "rule_identifier": "mpl-1.1_16.RULE", + "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/mpl-1.1_16.RULE", + "matched_text": " MOZILLA PUBLIC LICENSE\n Version 1.1", + "matched_text_diagnostics": "MOZILLA PUBLIC LICENSE\n Version 1.1" } ], "detection_log": [], - "identifier": "mpl_1_1-07b8ff5c-17d0-b493-8c80-b5c5dd302ae0" + "identifier": "mpl_1_1-bda94646-bce9-7c88-28d3-e530599274c6" } ], "license_clues": [], @@ -194,12 +160,12 @@ { "path": "src/cairo-analysis-surface-private.h", "type": "file", - "detected_license_expression": "lgpl-2.1 AND mpl-1.1", - "detected_license_expression_spdx": "LGPL-2.1-only AND MPL-1.1", + "detected_license_expression": "lgpl-2.1 OR mpl-1.1", + "detected_license_expression_spdx": "LGPL-2.1-only OR MPL-1.1", "license_detections": [ { - "license_expression": "lgpl-2.1 AND mpl-1.1", - "license_expression_spdx": "LGPL-2.1-only AND MPL-1.1", + "license_expression": "lgpl-2.1 OR mpl-1.1", + "license_expression_spdx": "LGPL-2.1-only OR MPL-1.1", "matches": [ { "license_expression": "lgpl-2.1 OR mpl-1.1", @@ -216,44 +182,10 @@ "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1_or_mpl-1.1_4.RULE", "matched_text": " * This library is free software; you can redistribute it and/or\n * modify it either under the terms of the GNU Lesser General Public\n * License version 2.1 as published by the Free Software Foundation\n * (the \"LGPL\") or, at your option, under the terms of the Mozilla\n * Public License Version 1.1 (the \"MPL\"). If you do not alter this\n * notice, a recipient may use your version of this file under either\n * the MPL or the LGPL.\n *\n * You should have received a copy of the LGPL along with this library\n * in the file COPYING-LGPL-2.1; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA\n * You should have received a copy of the MPL along with this library\n * in the file COPYING-MPL-1.1\n *\n * The contents of this file are subject to the Mozilla Public License\n * Version 1.1 (the \"License\"); you may not use this file except in\n * compliance with the License. You may obtain a copy of the License at\n * http://www.mozilla.org/MPL/\n *\n * This software is distributed on an \"AS IS\" basis, WITHOUT WARRANTY\n * OF ANY KIND, either express or implied. See the LGPL or the MPL for\n * the specific language governing rights and limitations.\n *\n * The Original Code is the cairo graphics library.\n *\n * The Initial Developer of the Original Code is Keith Packard", "matched_text_diagnostics": "This library is free software; you can redistribute it and/or\n * modify it either under the terms of the GNU Lesser General Public\n * License version 2.1 as published by the Free Software Foundation\n * (the \"LGPL\") or, at your option, under the terms of the Mozilla\n * Public License Version 1.1 (the \"MPL\"). If you do not alter this\n * notice, a recipient may use your version of this file under either\n * the MPL or the LGPL.\n *\n * You should have received a copy of the LGPL along with this library\n * in the file COPYING-LGPL-2.1; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA\n * You should have received a copy of the MPL along with this library\n * in the file COPYING-MPL-1.1\n *\n * The contents of this file are subject to the Mozilla Public License\n * Version 1.1 (the \"License\"); you may not use this file except in\n * compliance with the License. You may obtain a copy of the License at\n * http://www.mozilla.org/MPL/\n *\n * This software is distributed on an \"AS IS\" basis, WITHOUT WARRANTY\n * OF ANY KIND, either express or implied. See the LGPL or the MPL for\n * the specific language governing rights and limitations.\n *\n * The Original Code is the cairo graphics library.\n *\n * The Initial Developer of the Original Code is" - }, - { - "license_expression": "lgpl-2.1", - "spdx_license_expression": "LGPL-2.1-only", - "from_file": "or_and_problem/COPYING-LGPL-2.1", - "start_line": 2, - "end_line": 508, - "matcher": "1-hash", - "score": 100.0, - "matched_length": 4288, - "match_coverage": 100.0, - "rule_relevance": 100, - "rule_identifier": "lgpl-2.1_alternative.RULE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/lgpl-2.1_alternative.RULE", - "matched_text": " GNU LESSER GENERAL PUBLIC LICENSE\n Version 2.1, February 1999\n\n Copyright (C) 1991, 1999 Free Software Foundation, Inc.\n 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\n as the successor of the GNU Library Public License, version 2, hence\n the version number 2.1.]\n\n Preamble\n\n The licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\n This license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations\nbelow.\n\n When we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\n To protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\n For example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\n We protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\n To protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\f\n Finally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\n Most GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\n When a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\n We call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\n For example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it\nbecomes a de-facto standard. To achieve this, non-free programs must\nbe allowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\n In other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\n Although the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\n The precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\f\n GNU LESSER GENERAL PUBLIC LICENSE\n TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n 0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\n A \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\n The \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n \"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control\ncompilation and installation of the library.\n\n Activities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n 1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\n You may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\f\n 2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\n a) The modified work must itself be a software library.\n\n b) You must cause the files modified to carry prominent notices\n stating that you changed the files and the date of any change.\n\n c) You must cause the whole of the work to be licensed at no\n charge to all third parties under the terms of this License.\n\n d) If a facility in the modified Library refers to a function or a\n table of data to be supplied by an application program that uses\n the facility, other than as an argument passed when the facility\n is invoked, then you must make a good faith effort to ensure that,\n in the event an application does not supply such function or\n table, the facility still operates, and performs whatever part of\n its purpose remains meaningful.\n\n (For example, a function in a library to compute square roots has\n a purpose that is entirely well-defined independent of the\n application. Therefore, Subsection 2d requires that any\n application-supplied function or table used by this function must\n be optional: if the application does not supply it, the square\n root function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n 3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\f\n Once this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\n This option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n 4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\n If distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n 5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\n However, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\n When a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\n If such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\n Otherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\f\n 6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\n You must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\n a) Accompany the work with the complete corresponding\n machine-readable source code for the Library including whatever\n changes were used in the work (which must be distributed under\n Sections 1 and 2 above); and, if the work is an executable linked\n with the Library, with the complete machine-readable \"work that\n uses the Library\", as object code and/or source code, so that the\n user can modify the Library and then relink to produce a modified\n executable containing the modified Library. (It is understood\n that the user who changes the contents of definitions files in the\n Library will not necessarily be able to recompile the application\n to use the modified definitions.)\n\n b) Use a suitable shared library mechanism for linking with the\n Library. A suitable mechanism is one that (1) uses at run time a\n copy of the library already present on the user's computer system,\n rather than copying library functions into the executable, and (2)\n will operate properly with a modified version of the library, if\n the user installs one, as long as the modified version is\n interface-compatible with the version that the work was made with.\n\n c) Accompany the work with a written offer, valid for at least\n three years, to give the same user the materials specified in\n Subsection 6a, above, for a charge no more than the cost of\n performing this distribution.\n\n d) If distribution of the work is made by offering access to copy\n from a designated place, offer equivalent access to copy the above\n specified materials from the same place.\n\n e) Verify that the user has already received a copy of these\n materials or that you have already sent this user a copy.\n\n For an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\n It may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\f\n 7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\n a) Accompany the combined library with a copy of the same work\n based on the Library, uncombined with any other library\n facilities. This must be distributed under the terms of the\n Sections above.\n\n b) Give prominent notice with the combined library of the fact\n that part of it is a work based on the Library, and explaining\n where to find the accompanying uncombined form of the same work.\n\n 8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n 9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n 10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\f\n 11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply, and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n 12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License\nmay add an explicit geographical distribution limitation excluding those\ncountries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n 13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\f\n 14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\n NO WARRANTY\n\n 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\n END OF TERMS AND CONDITIONS\n\f\n How to Apply These Terms to Your New Libraries\n\n If you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms\nof the ordinary General Public License).\n\n To apply these terms, attach the following notices to the library.\nIt is safest to attach them to the start of each source file to most\neffectively convey the exclusion of warranty; and each file should\nhave at least the \"copyright\" line and a pointer to where the full\nnotice is found.\n\n\n \n Copyright (C) \n\n This library is free software; you can redistribute it and/or\n modify it under the terms of the GNU Lesser General Public\n License as published by the Free Software Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\n This library is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this library; if not, write to the Free Software\n Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or\nyour school, if any, to sign a \"copyright disclaimer\" for the library,\nif necessary. Here is a sample; alter the names:\n\n Yoyodyne, Inc., hereby disclaims all copyright interest in the\n library `Frob' (a library for tweaking knobs) written by James\n Random Hacker.\n\n , 1 April 1990\n Ty Coon, President of Vice\n\nThat's all there is to it!", - "matched_text_diagnostics": "GNU LESSER GENERAL PUBLIC LICENSE\n Version 2.1, February 1999\n\n Copyright (C) 1991, 1999 Free Software Foundation, Inc.\n 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL. It also counts\n as the successor of the GNU Library Public License, version 2, hence\n the version number 2.1.]\n\n Preamble\n\n The licenses for most software are designed to take away your\nfreedom to share and change it. By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\n This license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it. You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations\nbelow.\n\n When we speak of free software, we are referring to freedom of use,\nnot price. Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\n To protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights. These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\n For example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou. You must make sure that they, too, receive or can get the source\ncode. If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit. And you must show them these terms so they know their rights.\n\n We protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\n To protect each distributor, we want to make it very clear that\nthere is no warranty for the free library. Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\f\n Finally, software patents pose a constant threat to the existence of\nany free program. We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder. Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\n Most GNU software, including some libraries, is covered by the\nordinary GNU General Public License. This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License. We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\n When a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library. The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom. The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\n We call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License. It also provides other free software developers Less\nof an advantage over competing non-free programs. These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries. However, the Lesser license provides advantages in certain\nspecial circumstances.\n\n For example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it\nbecomes a de-facto standard. To achieve this, non-free programs must\nbe allowed to use the library. A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries. In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\n In other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software. For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\n Although the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\n The precise terms and conditions for copying, distribution and\nmodification follow. Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\". The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\f\n GNU LESSER GENERAL PUBLIC LICENSE\n TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n 0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\n A \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\n The \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms. A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language. (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n \"Source code\" for a work means the preferred form of the work for\nmaking modifications to it. For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control\ncompilation and installation of the library.\n\n Activities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope. The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it). Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n 1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\n You may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\f\n 2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\n a) The modified work must itself be a software library.\n\n b) You must cause the files modified to carry prominent notices\n stating that you changed the files and the date of any change.\n\n c) You must cause the whole of the work to be licensed at no\n charge to all third parties under the terms of this License.\n\n d) If a facility in the modified Library refers to a function or a\n table of data to be supplied by an application program that uses\n the facility, other than as an argument passed when the facility\n is invoked, then you must make a good faith effort to ensure that,\n in the event an application does not supply such function or\n table, the facility still operates, and performs whatever part of\n its purpose remains meaningful.\n\n (For example, a function in a library to compute square roots has\n a purpose that is entirely well-defined independent of the\n application. Therefore, Subsection 2d requires that any\n application-supplied function or table used by this function must\n be optional: if the application does not supply it, the square\n root function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole. If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works. But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n 3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library. To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License. (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.) Do not make any other change in\nthese notices.\n\f\n Once this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\n This option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n 4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\n If distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n 5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\". Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\n However, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\". The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\n When a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library. The\nthreshold for this to be true is not precisely defined by law.\n\n If such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork. (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\n Otherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\f\n 6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\n You must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License. You must supply a copy of this License. If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License. Also, you must do one\nof these things:\n\n a) Accompany the work with the complete corresponding\n machine-readable source code for the Library including whatever\n changes were used in the work (which must be distributed under\n Sections 1 and 2 above); and, if the work is an executable linked\n with the Library, with the complete machine-readable \"work that\n uses the Library\", as object code and/or source code, so that the\n user can modify the Library and then relink to produce a modified\n executable containing the modified Library. (It is understood\n that the user who changes the contents of definitions files in the\n Library will not necessarily be able to recompile the application\n to use the modified definitions.)\n\n b) Use a suitable shared library mechanism for linking with the\n Library. A suitable mechanism is one that (1) uses at run time a\n copy of the library already present on the user's computer system,\n rather than copying library functions into the executable, and (2)\n will operate properly with a modified version of the library, if\n the user installs one, as long as the modified version is\n interface-compatible with the version that the work was made with.\n\n c) Accompany the work with a written offer, valid for at least\n three years, to give the same user the materials specified in\n Subsection 6a, above, for a charge no more than the cost of\n performing this distribution.\n\n d) If distribution of the work is made by offering access to copy\n from a designated place, offer equivalent access to copy the above\n specified materials from the same place.\n\n e) Verify that the user has already received a copy of these\n materials or that you have already sent this user a copy.\n\n For an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it. However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\n It may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system. Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\f\n 7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\n a) Accompany the combined library with a copy of the same work\n based on the Library, uncombined with any other library\n facilities. This must be distributed under the terms of the\n Sections above.\n\n b) Give prominent notice with the combined library of the fact\n that part of it is a work based on the Library, and explaining\n where to find the accompanying uncombined form of the same work.\n\n 8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License. Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License. However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n 9. You are not required to accept this License, since you have not\nsigned it. However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works. These actions are\nprohibited by law if you do not accept this License. Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n 10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions. You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\f\n 11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License. If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all. For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply, and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices. Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n 12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License\nmay add an explicit geographical distribution limitation excluding those\ncountries, so that distribution is permitted only in or among\ncountries not thus excluded. In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n 13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation. If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\f\n 14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission. For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this. Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\n NO WARRANTY\n\n 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\n END OF TERMS AND CONDITIONS\n\f\n How to Apply These Terms to Your New Libraries\n\n If you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change. You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms\nof the ordinary General Public License).\n\n To apply these terms, attach the following notices to the library.\nIt is safest to attach them to the start of each source file to most\neffectively convey the exclusion of warranty; and each file should\nhave at least the \"copyright\" line and a pointer to where the full\nnotice is found.\n\n\n \n Copyright (C) \n\n This library is free software; you can redistribute it and/or\n modify it under the terms of the GNU Lesser General Public\n License as published by the Free Software Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\n This library is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this library; if not, write to the Free Software\n Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or\nyour school, if any, to sign a \"copyright disclaimer\" for the library,\nif necessary. Here is a sample; alter the names:\n\n Yoyodyne, Inc., hereby disclaims all copyright interest in the\n library `Frob' (a library for tweaking knobs) written by James\n Random Hacker.\n\n , 1 April 1990\n Ty Coon, President of Vice\n\nThat's all there is to it!" - }, - { - "license_expression": "mpl-1.1", - "spdx_license_expression": "MPL-1.1", - "from_file": "or_and_problem/COPYING-MPL-1.1", - "start_line": 1, - "end_line": 469, - "matcher": "1-hash", - "score": 100.0, - "matched_length": 3710, - "match_coverage": 100.0, - "rule_relevance": 100, - "rule_identifier": "mpl-1.1.LICENSE", - "rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mpl-1.1.LICENSE", - "matched_text": " MOZILLA PUBLIC LICENSE\n Version 1.1\n\n ---------------\n\n1. Definitions.\n\n 1.0.1. \"Commercial Use\" means distribution or otherwise making the\n Covered Code available to a third party.\n\n 1.1. \"Contributor\" means each entity that creates or contributes to\n the creation of Modifications.\n\n 1.2. \"Contributor Version\" means the combination of the Original\n Code, prior Modifications used by a Contributor, and the Modifications\n made by that particular Contributor.\n\n 1.3. \"Covered Code\" means the Original Code or Modifications or the\n combination of the Original Code and Modifications, in each case\n including portions thereof.\n\n 1.4. \"Electronic Distribution Mechanism\" means a mechanism generally\n accepted in the software development community for the electronic\n transfer of data.\n\n 1.5. \"Executable\" means Covered Code in any form other than Source\n Code.\n\n 1.6. \"Initial Developer\" means the individual or entity identified\n as the Initial Developer in the Source Code notice required by Exhibit\n A.\n\n 1.7. \"Larger Work\" means a work which combines Covered Code or\n portions thereof with code not governed by the terms of this License.\n\n 1.8. \"License\" means this document.\n\n 1.8.1. \"Licensable\" means having the right to grant, to the maximum\n extent possible, whether at the time of the initial grant or\n subsequently acquired, any and all of the rights conveyed herein.\n\n 1.9. \"Modifications\" means any addition to or deletion from the\n substance or structure of either the Original Code or any previous\n Modifications. When Covered Code is released as a series of files, a\n Modification is:\n A. Any addition to or deletion from the contents of a file\n containing Original Code or previous Modifications.\n\n B. Any new file that contains any part of the Original Code or\n previous Modifications.\n\n 1.10. \"Original Code\" means Source Code of computer software code\n which is described in the Source Code notice required by Exhibit A as\n Original Code, and which, at the time of its release under this\n License is not already Covered Code governed by this License.\n\n 1.10.1. \"Patent Claims\" means any patent claim(s), now owned or\n hereafter acquired, including without limitation, method, process,\n and apparatus claims, in any patent Licensable by grantor.\n\n 1.11. \"Source Code\" means the preferred form of the Covered Code for\n making modifications to it, including all modules it contains, plus\n any associated interface definition files, scripts used to control\n compilation and installation of an Executable, or source code\n differential comparisons against either the Original Code or another\n well known, available Covered Code of the Contributor's choice. The\n Source Code can be in a compressed or archival form, provided the\n appropriate decompression or de-archiving software is widely available\n for no charge.\n\n 1.12. \"You\" (or \"Your\") means an individual or a legal entity\n exercising rights under, and complying with all of the terms of, this\n License or a future version of this License issued under Section 6.1.\n For legal entities, \"You\" includes any entity which controls, is\n controlled by, or is under common control with You. For purposes of\n this definition, \"control\" means (a) the power, direct or indirect,\n to cause the direction or management of such entity, whether by\n contract or otherwise, or (b) ownership of more than fifty percent\n (50%) of the outstanding shares or beneficial ownership of such\n entity.\n\n2. Source Code License.\n\n 2.1. The Initial Developer Grant.\n The Initial Developer hereby grants You a world-wide, royalty-free,\n non-exclusive license, subject to third party intellectual property\n claims:\n (a) under intellectual property rights (other than patent or\n trademark) Licensable by Initial Developer to use, reproduce,\n modify, display, perform, sublicense and distribute the Original\n Code (or portions thereof) with or without Modifications, and/or\n as part of a Larger Work; and\n\n (b) under Patents Claims infringed by the making, using or\n selling of Original Code, to make, have made, use, practice,\n sell, and offer for sale, and/or otherwise dispose of the\n Original Code (or portions thereof).\n\n (c) the licenses granted in this Section 2.1(a) and (b) are\n effective on the date Initial Developer first distributes\n Original Code under the terms of this License.\n\n (d) Notwithstanding Section 2.1(b) above, no patent license is\n granted: 1) for code that You delete from the Original Code; 2)\n separate from the Original Code; or 3) for infringements caused\n by: i) the modification of the Original Code or ii) the\n combination of the Original Code with other software or devices.\n\n 2.2. Contributor Grant.\n Subject to third party intellectual property claims, each Contributor\n hereby grants You a world-wide, royalty-free, non-exclusive license\n\n (a) under intellectual property rights (other than patent or\n trademark) Licensable by Contributor, to use, reproduce, modify,\n display, perform, sublicense and distribute the Modifications\n created by such Contributor (or portions thereof) either on an\n unmodified basis, with other Modifications, as Covered Code\n and/or as part of a Larger Work; and\n\n (b) under Patent Claims infringed by the making, using, or\n selling of Modifications made by that Contributor either alone\n and/or in combination with its Contributor Version (or portions\n of such combination), to make, use, sell, offer for sale, have\n made, and/or otherwise dispose of: 1) Modifications made by that\n Contributor (or portions thereof); and 2) the combination of\n Modifications made by that Contributor with its Contributor\n Version (or portions of such combination).\n\n (c) the licenses granted in Sections 2.2(a) and 2.2(b) are\n effective on the date Contributor first makes Commercial Use of\n the Covered Code.\n\n (d) Notwithstanding Section 2.2(b) above, no patent license is\n granted: 1) for any code that Contributor has deleted from the\n Contributor Version; 2) separate from the Contributor Version;\n 3) for infringements caused by: i) third party modifications of\n Contributor Version or ii) the combination of Modifications made\n by that Contributor with other software (except as part of the\n Contributor Version) or other devices; or 4) under Patent Claims\n infringed by Covered Code in the absence of Modifications made by\n that Contributor.\n\n3. Distribution Obligations.\n\n 3.1. Application of License.\n The Modifications which You create or to which You contribute are\n governed by the terms of this License, including without limitation\n Section 2.2. The Source Code version of Covered Code may be\n distributed only under the terms of this License or a future version\n of this License released under Section 6.1, and You must include a\n copy of this License with every copy of the Source Code You\n distribute. You may not offer or impose any terms on any Source Code\n version that alters or restricts the applicable version of this\n License or the recipients' rights hereunder. However, You may include\n an additional document offering the additional rights described in\n Section 3.5.\n\n 3.2. Availability of Source Code.\n Any Modification which You create or to which You contribute must be\n made available in Source Code form under the terms of this License\n either on the same media as an Executable version or via an accepted\n Electronic Distribution Mechanism to anyone to whom you made an\n Executable version available; and if made available via Electronic\n Distribution Mechanism, must remain available for at least twelve (12)\n months after the date it initially became available, or at least six\n (6) months after a subsequent version of that particular Modification\n has been made available to such recipients. You are responsible for\n ensuring that the Source Code version remains available even if the\n Electronic Distribution Mechanism is maintained by a third party.\n\n 3.3. Description of Modifications.\n You must cause all Covered Code to which You contribute to contain a\n file documenting the changes You made to create that Covered Code and\n the date of any change. You must include a prominent statement that\n the Modification is derived, directly or indirectly, from Original\n Code provided by the Initial Developer and including the name of the\n Initial Developer in (a) the Source Code, and (b) in any notice in an\n Executable version or related documentation in which You describe the\n origin or ownership of the Covered Code.\n\n 3.4. Intellectual Property Matters\n (a) Third Party Claims.\n If Contributor has knowledge that a license under a third party's\n intellectual property rights is required to exercise the rights\n granted by such Contributor under Sections 2.1 or 2.2,\n Contributor must include a text file with the Source Code\n distribution titled \"LEGAL\" which describes the claim and the\n party making the claim in sufficient detail that a recipient will\n know whom to contact. If Contributor obtains such knowledge after\n the Modification is made available as described in Section 3.2,\n Contributor shall promptly modify the LEGAL file in all copies\n Contributor makes available thereafter and shall take other steps\n (such as notifying appropriate mailing lists or newsgroups)\n reasonably calculated to inform those who received the Covered\n Code that new knowledge has been obtained.\n\n (b) Contributor APIs.\n If Contributor's Modifications include an application programming\n interface and Contributor has knowledge of patent licenses which\n are reasonably necessary to implement that API, Contributor must\n also include this information in the LEGAL file.\n\n (c) Representations.\n Contributor represents that, except as disclosed pursuant to\n Section 3.4(a) above, Contributor believes that Contributor's\n Modifications are Contributor's original creation(s) and/or\n Contributor has sufficient rights to grant the rights conveyed by\n this License.\n\n 3.5. Required Notices.\n You must duplicate the notice in Exhibit A in each file of the Source\n Code. If it is not possible to put such notice in a particular Source\n Code file due to its structure, then You must include such notice in a\n location (such as a relevant directory) where a user would be likely\n to look for such a notice. If You created one or more Modification(s)\n You may add your name as a Contributor to the notice described in\n Exhibit A. You must also duplicate this License in any documentation\n for the Source Code where You describe recipients' rights or ownership\n rights relating to Covered Code. You may choose to offer, and to\n charge a fee for, warranty, support, indemnity or liability\n obligations to one or more recipients of Covered Code. However, You\n may do so only on Your own behalf, and not on behalf of the Initial\n Developer or any Contributor. You must make it absolutely clear than\n any such warranty, support, indemnity or liability obligation is\n offered by You alone, and You hereby agree to indemnify the Initial\n Developer and every Contributor for any liability incurred by the\n Initial Developer or such Contributor as a result of warranty,\n support, indemnity or liability terms You offer.\n\n 3.6. Distribution of Executable Versions.\n You may distribute Covered Code in Executable form only if the\n requirements of Section 3.1-3.5 have been met for that Covered Code,\n and if You include a notice stating that the Source Code version of\n the Covered Code is available under the terms of this License,\n including a description of how and where You have fulfilled the\n obligations of Section 3.2. The notice must be conspicuously included\n in any notice in an Executable version, related documentation or\n collateral in which You describe recipients' rights relating to the\n Covered Code. You may distribute the Executable version of Covered\n Code or ownership rights under a license of Your choice, which may\n contain terms different from this License, provided that You are in\n compliance with the terms of this License and that the license for the\n Executable version does not attempt to limit or alter the recipient's\n rights in the Source Code version from the rights set forth in this\n License. If You distribute the Executable version under a different\n license You must make it absolutely clear that any terms which differ\n from this License are offered by You alone, not by the Initial\n Developer or any Contributor. You hereby agree to indemnify the\n Initial Developer and every Contributor for any liability incurred by\n the Initial Developer or such Contributor as a result of any such\n terms You offer.\n\n 3.7. Larger Works.\n You may create a Larger Work by combining Covered Code with other code\n not governed by the terms of this License and distribute the Larger\n Work as a single product. In such a case, You must make sure the\n requirements of this License are fulfilled for the Covered Code.\n\n4. Inability to Comply Due to Statute or Regulation.\n\n If it is impossible for You to comply with any of the terms of this\n License with respect to some or all of the Covered Code due to\n statute, judicial order, or regulation then You must: (a) comply with\n the terms of this License to the maximum extent possible; and (b)\n describe the limitations and the code they affect. Such description\n must be included in the LEGAL file described in Section 3.4 and must\n be included with all distributions of the Source Code. Except to the\n extent prohibited by statute or regulation, such description must be\n sufficiently detailed for a recipient of ordinary skill to be able to\n understand it.\n\n5. Application of this License.\n\n This License applies to code to which the Initial Developer has\n attached the notice in Exhibit A and to related Covered Code.\n\n6. Versions of the License.\n\n 6.1. New Versions.\n Netscape Communications Corporation (\"Netscape\") may publish revised\n and/or new versions of the License from time to time. Each version\n will be given a distinguishing version number.\n\n 6.2. Effect of New Versions.\n Once Covered Code has been published under a particular version of the\n License, You may always continue to use it under the terms of that\n version. You may also choose to use such Covered Code under the terms\n of any subsequent version of the License published by Netscape. No one\n other than Netscape has the right to modify the terms applicable to\n Covered Code created under this License.\n\n 6.3. Derivative Works.\n If You create or use a modified version of this License (which you may\n only do in order to apply it to code which is not already Covered Code\n governed by this License), You must (a) rename Your license so that\n the phrases \"Mozilla\", \"MOZILLAPL\", \"MOZPL\", \"Netscape\",\n \"MPL\", \"NPL\" or any confusingly similar phrase do not appear in your\n license (except to note that your license differs from this License)\n and (b) otherwise make it clear that Your version of the license\n contains terms which differ from the Mozilla Public License and\n Netscape Public License. (Filling in the name of the Initial\n Developer, Original Code or Contributor in the notice described in\n Exhibit A shall not of themselves be deemed to be modifications of\n this License.)\n\n7. DISCLAIMER OF WARRANTY.\n\n COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN \"AS IS\" BASIS,\n WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,\n WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF\n DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.\n THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE\n IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,\n YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE\n COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER\n OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF\n ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.\n\n8. TERMINATION.\n\n 8.1. This License and the rights granted hereunder will terminate\n automatically if You fail to comply with terms herein and fail to cure\n such breach within 30 days of becoming aware of the breach. All\n sublicenses to the Covered Code which are properly granted shall\n survive any termination of this License. Provisions which, by their\n nature, must remain in effect beyond the termination of this License\n shall survive.\n\n 8.2. If You initiate litigation by asserting a patent infringement\n claim (excluding declatory judgment actions) against Initial Developer\n or a Contributor (the Initial Developer or Contributor against whom\n You file such action is referred to as \"Participant\") alleging that:\n\n (a) such Participant's Contributor Version directly or indirectly\n infringes any patent, then any and all rights granted by such\n Participant to You under Sections 2.1 and/or 2.2 of this License\n shall, upon 60 days notice from Participant terminate prospectively,\n unless if within 60 days after receipt of notice You either: (i)\n agree in writing to pay Participant a mutually agreeable reasonable\n royalty for Your past and future use of Modifications made by such\n Participant, or (ii) withdraw Your litigation claim with respect to\n the Contributor Version against such Participant. If within 60 days\n of notice, a reasonable royalty and payment arrangement are not\n mutually agreed upon in writing by the parties or the litigation claim\n is not withdrawn, the rights granted by Participant to You under\n Sections 2.1 and/or 2.2 automatically terminate at the expiration of\n the 60 day notice period specified above.\n\n (b) any software, hardware, or device, other than such Participant's\n Contributor Version, directly or indirectly infringes any patent, then\n any rights granted to You by such Participant under Sections 2.1(b)\n and 2.2(b) are revoked effective as of the date You first made, used,\n sold, distributed, or had made, Modifications made by that\n Participant.\n\n 8.3. If You assert a patent infringement claim against Participant\n alleging that such Participant's Contributor Version directly or\n indirectly infringes any patent where such claim is resolved (such as\n by license or settlement) prior to the initiation of patent\n infringement litigation, then the reasonable value of the licenses\n granted by such Participant under Sections 2.1 or 2.2 shall be taken\n into account in determining the amount or value of any payment or\n license.\n\n 8.4. In the event of termination under Sections 8.1 or 8.2 above,\n all end user license agreements (excluding distributors and resellers)\n which have been validly granted by You or any distributor hereunder\n prior to termination shall survive termination.\n\n9. LIMITATION OF LIABILITY.\n\n UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT\n (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL\n DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,\n OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR\n ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY\n CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,\n WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER\n COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN\n INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF\n LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY\n RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW\n PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE\n EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO\n THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.\n\n10. U.S. GOVERNMENT END USERS.\n\n The Covered Code is a \"commercial item,\" as that term is defined in\n 48 C.F.R. 2.101 (Oct. 1995), consisting of \"commercial computer\n software\" and \"commercial computer software documentation,\" as such\n terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48\n C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),\n all U.S. Government End Users acquire Covered Code with only those\n rights set forth herein.\n\n11. MISCELLANEOUS.\n\n This License represents the complete agreement concerning subject\n matter hereof. If any provision of this License is held to be\n unenforceable, such provision shall be reformed only to the extent\n necessary to make it enforceable. This License shall be governed by\n California law provisions (except to the extent applicable law, if\n any, provides otherwise), excluding its conflict-of-law provisions.\n With respect to disputes in which at least one party is a citizen of,\n or an entity chartered or registered to do business in the United\n States of America, any litigation relating to this License shall be\n subject to the jurisdiction of the Federal Courts of the Northern\n District of California, with venue lying in Santa Clara County,\n California, with the losing party responsible for costs, including\n without limitation, court costs and reasonable attorneys' fees and\n expenses. The application of the United Nations Convention on\n Contracts for the International Sale of Goods is expressly excluded.\n Any law or regulation which provides that the language of a contract\n shall be construed against the drafter shall not apply to this\n License.\n\n12. RESPONSIBILITY FOR CLAIMS.\n\n As between Initial Developer and the Contributors, each party is\n responsible for claims and damages arising, directly or indirectly,\n out of its utilization of rights under this License and You agree to\n work with Initial Developer and Contributors to distribute such\n responsibility on an equitable basis. Nothing herein is intended or\n shall be deemed to constitute any admission of liability.\n\n13. MULTIPLE-LICENSED CODE.\n\n Initial Developer may designate portions of the Covered Code as\n \"Multiple-Licensed\". \"Multiple-Licensed\" means that the Initial\n Developer permits you to utilize portions of the Covered Code under\n Your choice of the NPL or the alternative licenses, if any, specified\n by the Initial Developer in the file described in Exhibit A.\n\nEXHIBIT A -Mozilla Public License.\n\n ``The contents of this file are subject to the Mozilla Public License\n Version 1.1 (the \"License\"); you may not use this file except in\n compliance with the License. You may obtain a copy of the License at\n http://www.mozilla.org/MPL/\n\n Software distributed under the License is distributed on an \"AS IS\"\n basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the\n License for the specific language governing rights and limitations\n under the License.\n\n The Original Code is ______________________________________.\n\n The Initial Developer of the Original Code is ________________________.\n Portions created by ______________________ are Copyright (C) ______\n _______________________. All Rights Reserved.\n\n Contributor(s): ______________________________________.\n\n Alternatively, the contents of this file may be used under the terms\n of the _____ license (the \"[___] License\"), in which case the\n provisions of [______] License are applicable instead of those\n above. If you wish to allow use of your version of this file only\n under the terms of the [____] License and not to allow others to use\n your version of this file under the MPL, indicate your decision by\n deleting the provisions above and replace them with the notice and\n other provisions required by the [___] License. If you do not delete\n the provisions above, a recipient may use your version of this file\n under either the MPL or the [___] License.\"\n\n [NOTE: The text of this Exhibit A may differ slightly from the text of\n the notices in the Source Code files of the Original Code. You should\n use the text of this Exhibit A rather than the text found in the\n Original Code Source Code for Your Modifications.]", - "matched_text_diagnostics": "MOZILLA PUBLIC LICENSE\n Version 1.1\n\n ---------------\n\n1. Definitions.\n\n 1.0.1. \"Commercial Use\" means distribution or otherwise making the\n Covered Code available to a third party.\n\n 1.1. \"Contributor\" means each entity that creates or contributes to\n the creation of Modifications.\n\n 1.2. \"Contributor Version\" means the combination of the Original\n Code, prior Modifications used by a Contributor, and the Modifications\n made by that particular Contributor.\n\n 1.3. \"Covered Code\" means the Original Code or Modifications or the\n combination of the Original Code and Modifications, in each case\n including portions thereof.\n\n 1.4. \"Electronic Distribution Mechanism\" means a mechanism generally\n accepted in the software development community for the electronic\n transfer of data.\n\n 1.5. \"Executable\" means Covered Code in any form other than Source\n Code.\n\n 1.6. \"Initial Developer\" means the individual or entity identified\n as the Initial Developer in the Source Code notice required by Exhibit\n A.\n\n 1.7. \"Larger Work\" means a work which combines Covered Code or\n portions thereof with code not governed by the terms of this License.\n\n 1.8. \"License\" means this document.\n\n 1.8.1. \"Licensable\" means having the right to grant, to the maximum\n extent possible, whether at the time of the initial grant or\n subsequently acquired, any and all of the rights conveyed herein.\n\n 1.9. \"Modifications\" means any addition to or deletion from the\n substance or structure of either the Original Code or any previous\n Modifications. When Covered Code is released as a series of files, a\n Modification is:\n A. Any addition to or deletion from the contents of a file\n containing Original Code or previous Modifications.\n\n B. Any new file that contains any part of the Original Code or\n previous Modifications.\n\n 1.10. \"Original Code\" means Source Code of computer software code\n which is described in the Source Code notice required by Exhibit A as\n Original Code, and which, at the time of its release under this\n License is not already Covered Code governed by this License.\n\n 1.10.1. \"Patent Claims\" means any patent claim(s), now owned or\n hereafter acquired, including without limitation, method, process,\n and apparatus claims, in any patent Licensable by grantor.\n\n 1.11. \"Source Code\" means the preferred form of the Covered Code for\n making modifications to it, including all modules it contains, plus\n any associated interface definition files, scripts used to control\n compilation and installation of an Executable, or source code\n differential comparisons against either the Original Code or another\n well known, available Covered Code of the Contributor's choice. The\n Source Code can be in a compressed or archival form, provided the\n appropriate decompression or de-archiving software is widely available\n for no charge.\n\n 1.12. \"You\" (or \"Your\") means an individual or a legal entity\n exercising rights under, and complying with all of the terms of, this\n License or a future version of this License issued under Section 6.1.\n For legal entities, \"You\" includes any entity which controls, is\n controlled by, or is under common control with You. For purposes of\n this definition, \"control\" means (a) the power, direct or indirect,\n to cause the direction or management of such entity, whether by\n contract or otherwise, or (b) ownership of more than fifty percent\n (50%) of the outstanding shares or beneficial ownership of such\n entity.\n\n2. Source Code License.\n\n 2.1. The Initial Developer Grant.\n The Initial Developer hereby grants You a world-wide, royalty-free,\n non-exclusive license, subject to third party intellectual property\n claims:\n (a) under intellectual property rights (other than patent or\n trademark) Licensable by Initial Developer to use, reproduce,\n modify, display, perform, sublicense and distribute the Original\n Code (or portions thereof) with or without Modifications, and/or\n as part of a Larger Work; and\n\n (b) under Patents Claims infringed by the making, using or\n selling of Original Code, to make, have made, use, practice,\n sell, and offer for sale, and/or otherwise dispose of the\n Original Code (or portions thereof).\n\n (c) the licenses granted in this Section 2.1(a) and (b) are\n effective on the date Initial Developer first distributes\n Original Code under the terms of this License.\n\n (d) Notwithstanding Section 2.1(b) above, no patent license is\n granted: 1) for code that You delete from the Original Code; 2)\n separate from the Original Code; or 3) for infringements caused\n by: i) the modification of the Original Code or ii) the\n combination of the Original Code with other software or devices.\n\n 2.2. Contributor Grant.\n Subject to third party intellectual property claims, each Contributor\n hereby grants You a world-wide, royalty-free, non-exclusive license\n\n (a) under intellectual property rights (other than patent or\n trademark) Licensable by Contributor, to use, reproduce, modify,\n display, perform, sublicense and distribute the Modifications\n created by such Contributor (or portions thereof) either on an\n unmodified basis, with other Modifications, as Covered Code\n and/or as part of a Larger Work; and\n\n (b) under Patent Claims infringed by the making, using, or\n selling of Modifications made by that Contributor either alone\n and/or in combination with its Contributor Version (or portions\n of such combination), to make, use, sell, offer for sale, have\n made, and/or otherwise dispose of: 1) Modifications made by that\n Contributor (or portions thereof); and 2) the combination of\n Modifications made by that Contributor with its Contributor\n Version (or portions of such combination).\n\n (c) the licenses granted in Sections 2.2(a) and 2.2(b) are\n effective on the date Contributor first makes Commercial Use of\n the Covered Code.\n\n (d) Notwithstanding Section 2.2(b) above, no patent license is\n granted: 1) for any code that Contributor has deleted from the\n Contributor Version; 2) separate from the Contributor Version;\n 3) for infringements caused by: i) third party modifications of\n Contributor Version or ii) the combination of Modifications made\n by that Contributor with other software (except as part of the\n Contributor Version) or other devices; or 4) under Patent Claims\n infringed by Covered Code in the absence of Modifications made by\n that Contributor.\n\n3. Distribution Obligations.\n\n 3.1. Application of License.\n The Modifications which You create or to which You contribute are\n governed by the terms of this License, including without limitation\n Section 2.2. The Source Code version of Covered Code may be\n distributed only under the terms of this License or a future version\n of this License released under Section 6.1, and You must include a\n copy of this License with every copy of the Source Code You\n distribute. You may not offer or impose any terms on any Source Code\n version that alters or restricts the applicable version of this\n License or the recipients' rights hereunder. However, You may include\n an additional document offering the additional rights described in\n Section 3.5.\n\n 3.2. Availability of Source Code.\n Any Modification which You create or to which You contribute must be\n made available in Source Code form under the terms of this License\n either on the same media as an Executable version or via an accepted\n Electronic Distribution Mechanism to anyone to whom you made an\n Executable version available; and if made available via Electronic\n Distribution Mechanism, must remain available for at least twelve (12)\n months after the date it initially became available, or at least six\n (6) months after a subsequent version of that particular Modification\n has been made available to such recipients. You are responsible for\n ensuring that the Source Code version remains available even if the\n Electronic Distribution Mechanism is maintained by a third party.\n\n 3.3. Description of Modifications.\n You must cause all Covered Code to which You contribute to contain a\n file documenting the changes You made to create that Covered Code and\n the date of any change. You must include a prominent statement that\n the Modification is derived, directly or indirectly, from Original\n Code provided by the Initial Developer and including the name of the\n Initial Developer in (a) the Source Code, and (b) in any notice in an\n Executable version or related documentation in which You describe the\n origin or ownership of the Covered Code.\n\n 3.4. Intellectual Property Matters\n (a) Third Party Claims.\n If Contributor has knowledge that a license under a third party's\n intellectual property rights is required to exercise the rights\n granted by such Contributor under Sections 2.1 or 2.2,\n Contributor must include a text file with the Source Code\n distribution titled \"LEGAL\" which describes the claim and the\n party making the claim in sufficient detail that a recipient will\n know whom to contact. If Contributor obtains such knowledge after\n the Modification is made available as described in Section 3.2,\n Contributor shall promptly modify the LEGAL file in all copies\n Contributor makes available thereafter and shall take other steps\n (such as notifying appropriate mailing lists or newsgroups)\n reasonably calculated to inform those who received the Covered\n Code that new knowledge has been obtained.\n\n (b) Contributor APIs.\n If Contributor's Modifications include an application programming\n interface and Contributor has knowledge of patent licenses which\n are reasonably necessary to implement that API, Contributor must\n also include this information in the LEGAL file.\n\n (c) Representations.\n Contributor represents that, except as disclosed pursuant to\n Section 3.4(a) above, Contributor believes that Contributor's\n Modifications are Contributor's original creation(s) and/or\n Contributor has sufficient rights to grant the rights conveyed by\n this License.\n\n 3.5. Required Notices.\n You must duplicate the notice in Exhibit A in each file of the Source\n Code. If it is not possible to put such notice in a particular Source\n Code file due to its structure, then You must include such notice in a\n location (such as a relevant directory) where a user would be likely\n to look for such a notice. If You created one or more Modification(s)\n You may add your name as a Contributor to the notice described in\n Exhibit A. You must also duplicate this License in any documentation\n for the Source Code where You describe recipients' rights or ownership\n rights relating to Covered Code. You may choose to offer, and to\n charge a fee for, warranty, support, indemnity or liability\n obligations to one or more recipients of Covered Code. However, You\n may do so only on Your own behalf, and not on behalf of the Initial\n Developer or any Contributor. You must make it absolutely clear than\n any such warranty, support, indemnity or liability obligation is\n offered by You alone, and You hereby agree to indemnify the Initial\n Developer and every Contributor for any liability incurred by the\n Initial Developer or such Contributor as a result of warranty,\n support, indemnity or liability terms You offer.\n\n 3.6. Distribution of Executable Versions.\n You may distribute Covered Code in Executable form only if the\n requirements of Section 3.1-3.5 have been met for that Covered Code,\n and if You include a notice stating that the Source Code version of\n the Covered Code is available under the terms of this License,\n including a description of how and where You have fulfilled the\n obligations of Section 3.2. The notice must be conspicuously included\n in any notice in an Executable version, related documentation or\n collateral in which You describe recipients' rights relating to the\n Covered Code. You may distribute the Executable version of Covered\n Code or ownership rights under a license of Your choice, which may\n contain terms different from this License, provided that You are in\n compliance with the terms of this License and that the license for the\n Executable version does not attempt to limit or alter the recipient's\n rights in the Source Code version from the rights set forth in this\n License. If You distribute the Executable version under a different\n license You must make it absolutely clear that any terms which differ\n from this License are offered by You alone, not by the Initial\n Developer or any Contributor. You hereby agree to indemnify the\n Initial Developer and every Contributor for any liability incurred by\n the Initial Developer or such Contributor as a result of any such\n terms You offer.\n\n 3.7. Larger Works.\n You may create a Larger Work by combining Covered Code with other code\n not governed by the terms of this License and distribute the Larger\n Work as a single product. In such a case, You must make sure the\n requirements of this License are fulfilled for the Covered Code.\n\n4. Inability to Comply Due to Statute or Regulation.\n\n If it is impossible for You to comply with any of the terms of this\n License with respect to some or all of the Covered Code due to\n statute, judicial order, or regulation then You must: (a) comply with\n the terms of this License to the maximum extent possible; and (b)\n describe the limitations and the code they affect. Such description\n must be included in the LEGAL file described in Section 3.4 and must\n be included with all distributions of the Source Code. Except to the\n extent prohibited by statute or regulation, such description must be\n sufficiently detailed for a recipient of ordinary skill to be able to\n understand it.\n\n5. Application of this License.\n\n This License applies to code to which the Initial Developer has\n attached the notice in Exhibit A and to related Covered Code.\n\n6. Versions of the License.\n\n 6.1. New Versions.\n Netscape Communications Corporation (\"Netscape\") may publish revised\n and/or new versions of the License from time to time. Each version\n will be given a distinguishing version number.\n\n 6.2. Effect of New Versions.\n Once Covered Code has been published under a particular version of the\n License, You may always continue to use it under the terms of that\n version. You may also choose to use such Covered Code under the terms\n of any subsequent version of the License published by Netscape. No one\n other than Netscape has the right to modify the terms applicable to\n Covered Code created under this License.\n\n 6.3. Derivative Works.\n If You create or use a modified version of this License (which you may\n only do in order to apply it to code which is not already Covered Code\n governed by this License), You must (a) rename Your license so that\n the phrases \"Mozilla\", \"MOZILLAPL\", \"MOZPL\", \"Netscape\",\n \"MPL\", \"NPL\" or any confusingly similar phrase do not appear in your\n license (except to note that your license differs from this License)\n and (b) otherwise make it clear that Your version of the license\n contains terms which differ from the Mozilla Public License and\n Netscape Public License. (Filling in the name of the Initial\n Developer, Original Code or Contributor in the notice described in\n Exhibit A shall not of themselves be deemed to be modifications of\n this License.)\n\n7. DISCLAIMER OF WARRANTY.\n\n COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN \"AS IS\" BASIS,\n WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,\n WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF\n DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.\n THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE\n IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,\n YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE\n COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER\n OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF\n ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.\n\n8. TERMINATION.\n\n 8.1. This License and the rights granted hereunder will terminate\n automatically if You fail to comply with terms herein and fail to cure\n such breach within 30 days of becoming aware of the breach. All\n sublicenses to the Covered Code which are properly granted shall\n survive any termination of this License. Provisions which, by their\n nature, must remain in effect beyond the termination of this License\n shall survive.\n\n 8.2. If You initiate litigation by asserting a patent infringement\n claim (excluding declatory judgment actions) against Initial Developer\n or a Contributor (the Initial Developer or Contributor against whom\n You file such action is referred to as \"Participant\") alleging that:\n\n (a) such Participant's Contributor Version directly or indirectly\n infringes any patent, then any and all rights granted by such\n Participant to You under Sections 2.1 and/or 2.2 of this License\n shall, upon 60 days notice from Participant terminate prospectively,\n unless if within 60 days after receipt of notice You either: (i)\n agree in writing to pay Participant a mutually agreeable reasonable\n royalty for Your past and future use of Modifications made by such\n Participant, or (ii) withdraw Your litigation claim with respect to\n the Contributor Version against such Participant. If within 60 days\n of notice, a reasonable royalty and payment arrangement are not\n mutually agreed upon in writing by the parties or the litigation claim\n is not withdrawn, the rights granted by Participant to You under\n Sections 2.1 and/or 2.2 automatically terminate at the expiration of\n the 60 day notice period specified above.\n\n (b) any software, hardware, or device, other than such Participant's\n Contributor Version, directly or indirectly infringes any patent, then\n any rights granted to You by such Participant under Sections 2.1(b)\n and 2.2(b) are revoked effective as of the date You first made, used,\n sold, distributed, or had made, Modifications made by that\n Participant.\n\n 8.3. If You assert a patent infringement claim against Participant\n alleging that such Participant's Contributor Version directly or\n indirectly infringes any patent where such claim is resolved (such as\n by license or settlement) prior to the initiation of patent\n infringement litigation, then the reasonable value of the licenses\n granted by such Participant under Sections 2.1 or 2.2 shall be taken\n into account in determining the amount or value of any payment or\n license.\n\n 8.4. In the event of termination under Sections 8.1 or 8.2 above,\n all end user license agreements (excluding distributors and resellers)\n which have been validly granted by You or any distributor hereunder\n prior to termination shall survive termination.\n\n9. LIMITATION OF LIABILITY.\n\n UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT\n (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL\n DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,\n OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR\n ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY\n CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,\n WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER\n COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN\n INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF\n LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY\n RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW\n PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE\n EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO\n THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.\n\n10. U.S. GOVERNMENT END USERS.\n\n The Covered Code is a \"commercial item,\" as that term is defined in\n 48 C.F.R. 2.101 (Oct. 1995), consisting of \"commercial computer\n software\" and \"commercial computer software documentation,\" as such\n terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48\n C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),\n all U.S. Government End Users acquire Covered Code with only those\n rights set forth herein.\n\n11. MISCELLANEOUS.\n\n This License represents the complete agreement concerning subject\n matter hereof. If any provision of this License is held to be\n unenforceable, such provision shall be reformed only to the extent\n necessary to make it enforceable. This License shall be governed by\n California law provisions (except to the extent applicable law, if\n any, provides otherwise), excluding its conflict-of-law provisions.\n With respect to disputes in which at least one party is a citizen of,\n or an entity chartered or registered to do business in the United\n States of America, any litigation relating to this License shall be\n subject to the jurisdiction of the Federal Courts of the Northern\n District of California, with venue lying in Santa Clara County,\n California, with the losing party responsible for costs, including\n without limitation, court costs and reasonable attorneys' fees and\n expenses. The application of the United Nations Convention on\n Contracts for the International Sale of Goods is expressly excluded.\n Any law or regulation which provides that the language of a contract\n shall be construed against the drafter shall not apply to this\n License.\n\n12. RESPONSIBILITY FOR CLAIMS.\n\n As between Initial Developer and the Contributors, each party is\n responsible for claims and damages arising, directly or indirectly,\n out of its utilization of rights under this License and You agree to\n work with Initial Developer and Contributors to distribute such\n responsibility on an equitable basis. Nothing herein is intended or\n shall be deemed to constitute any admission of liability.\n\n13. MULTIPLE-LICENSED CODE.\n\n Initial Developer may designate portions of the Covered Code as\n \"Multiple-Licensed\". \"Multiple-Licensed\" means that the Initial\n Developer permits you to utilize portions of the Covered Code under\n Your choice of the NPL or the alternative licenses, if any, specified\n by the Initial Developer in the file described in Exhibit A.\n\nEXHIBIT A -Mozilla Public License.\n\n ``The contents of this file are subject to the Mozilla Public License\n Version 1.1 (the \"License\"); you may not use this file except in\n compliance with the License. You may obtain a copy of the License at\n http://www.mozilla.org/MPL/\n\n Software distributed under the License is distributed on an \"AS IS\"\n basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the\n License for the specific language governing rights and limitations\n under the License.\n\n The Original Code is ______________________________________.\n\n The Initial Developer of the Original Code is ________________________.\n Portions created by ______________________ are Copyright (C) ______\n _______________________. All Rights Reserved.\n\n Contributor(s): ______________________________________.\n\n Alternatively, the contents of this file may be used under the terms\n of the _____ license (the \"[___] License\"), in which case the\n provisions of [______] License are applicable instead of those\n above. If you wish to allow use of your version of this file only\n under the terms of the [____] License and not to allow others to use\n your version of this file under the MPL, indicate your decision by\n deleting the provisions above and replace them with the notice and\n other provisions required by the [___] License. If you do not delete\n the provisions above, a recipient may use your version of this file\n under either the MPL or the [___] License.\"\n\n [NOTE: The text of this Exhibit A may differ slightly from the text of\n the notices in the Source Code files of the Original Code. You should\n use the text of this Exhibit A rather than the text found in the\n Original Code Source Code for Your Modifications.]" } ], - "detection_log": [ - "unknown-reference-to-local-file" - ], - "identifier": "lgpl_2_1_and_mpl_1_1-35e65e3b-f117-71b2-292b-049c5847d858" + "detection_log": [], + "identifier": "lgpl_2_1_or_mpl_1_1-2d702372-2b26-f1b1-7ebf-c9865d7bcfd0" } ], "license_clues": [], diff --git a/tests/licensedcode/data/plugin_license/ignored_reference/or_and_problem/COPYING-LGPL-2.1 b/tests/licensedcode/data/plugin_license/ignored_reference/or_and_problem/COPYING-LGPL-2.1 index f1ed6182c52..9dfae90a934 100644 --- a/tests/licensedcode/data/plugin_license/ignored_reference/or_and_problem/COPYING-LGPL-2.1 +++ b/tests/licensedcode/data/plugin_license/ignored_reference/or_and_problem/COPYING-LGPL-2.1 @@ -1,510 +1,3 @@ GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations -below. - - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it -becomes a de-facto standard. To achieve this, non-free programs must -be allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control -compilation and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at least - three years, to give the same user the materials specified in - Subsection 6a, above, for a charge no more than the cost of - performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply, and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License -may add an explicit geographical distribution limitation excluding those -countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms -of the ordinary General Public License). - - To apply these terms, attach the following notices to the library. -It is safest to attach them to the start of each source file to most -effectively convey the exclusion of warranty; and each file should -have at least the "copyright" line and a pointer to where the full -notice is found. - - - - Copyright (C) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or -your school, if any, to sign a "copyright disclaimer" for the library, -if necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James - Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! - - diff --git a/tests/licensedcode/data/plugin_license/ignored_reference/or_and_problem/COPYING-MPL-1.1 b/tests/licensedcode/data/plugin_license/ignored_reference/or_and_problem/COPYING-MPL-1.1 index 7714141d154..7a78c8ca890 100644 --- a/tests/licensedcode/data/plugin_license/ignored_reference/or_and_problem/COPYING-MPL-1.1 +++ b/tests/licensedcode/data/plugin_license/ignored_reference/or_and_problem/COPYING-MPL-1.1 @@ -1,470 +1,2 @@ MOZILLA PUBLIC LICENSE Version 1.1 - - --------------- - -1. Definitions. - - 1.0.1. "Commercial Use" means distribution or otherwise making the - Covered Code available to a third party. - - 1.1. "Contributor" means each entity that creates or contributes to - the creation of Modifications. - - 1.2. "Contributor Version" means the combination of the Original - Code, prior Modifications used by a Contributor, and the Modifications - made by that particular Contributor. - - 1.3. "Covered Code" means the Original Code or Modifications or the - combination of the Original Code and Modifications, in each case - including portions thereof. - - 1.4. "Electronic Distribution Mechanism" means a mechanism generally - accepted in the software development community for the electronic - transfer of data. - - 1.5. "Executable" means Covered Code in any form other than Source - Code. - - 1.6. "Initial Developer" means the individual or entity identified - as the Initial Developer in the Source Code notice required by Exhibit - A. - - 1.7. "Larger Work" means a work which combines Covered Code or - portions thereof with code not governed by the terms of this License. - - 1.8. "License" means this document. - - 1.8.1. "Licensable" means having the right to grant, to the maximum - extent possible, whether at the time of the initial grant or - subsequently acquired, any and all of the rights conveyed herein. - - 1.9. "Modifications" means any addition to or deletion from the - substance or structure of either the Original Code or any previous - Modifications. When Covered Code is released as a series of files, a - Modification is: - A. Any addition to or deletion from the contents of a file - containing Original Code or previous Modifications. - - B. Any new file that contains any part of the Original Code or - previous Modifications. - - 1.10. "Original Code" means Source Code of computer software code - which is described in the Source Code notice required by Exhibit A as - Original Code, and which, at the time of its release under this - License is not already Covered Code governed by this License. - - 1.10.1. "Patent Claims" means any patent claim(s), now owned or - hereafter acquired, including without limitation, method, process, - and apparatus claims, in any patent Licensable by grantor. - - 1.11. "Source Code" means the preferred form of the Covered Code for - making modifications to it, including all modules it contains, plus - any associated interface definition files, scripts used to control - compilation and installation of an Executable, or source code - differential comparisons against either the Original Code or another - well known, available Covered Code of the Contributor's choice. The - Source Code can be in a compressed or archival form, provided the - appropriate decompression or de-archiving software is widely available - for no charge. - - 1.12. "You" (or "Your") means an individual or a legal entity - exercising rights under, and complying with all of the terms of, this - License or a future version of this License issued under Section 6.1. - For legal entities, "You" includes any entity which controls, is - controlled by, or is under common control with You. For purposes of - this definition, "control" means (a) the power, direct or indirect, - to cause the direction or management of such entity, whether by - contract or otherwise, or (b) ownership of more than fifty percent - (50%) of the outstanding shares or beneficial ownership of such - entity. - -2. Source Code License. - - 2.1. The Initial Developer Grant. - The Initial Developer hereby grants You a world-wide, royalty-free, - non-exclusive license, subject to third party intellectual property - claims: - (a) under intellectual property rights (other than patent or - trademark) Licensable by Initial Developer to use, reproduce, - modify, display, perform, sublicense and distribute the Original - Code (or portions thereof) with or without Modifications, and/or - as part of a Larger Work; and - - (b) under Patents Claims infringed by the making, using or - selling of Original Code, to make, have made, use, practice, - sell, and offer for sale, and/or otherwise dispose of the - Original Code (or portions thereof). - - (c) the licenses granted in this Section 2.1(a) and (b) are - effective on the date Initial Developer first distributes - Original Code under the terms of this License. - - (d) Notwithstanding Section 2.1(b) above, no patent license is - granted: 1) for code that You delete from the Original Code; 2) - separate from the Original Code; or 3) for infringements caused - by: i) the modification of the Original Code or ii) the - combination of the Original Code with other software or devices. - - 2.2. Contributor Grant. - Subject to third party intellectual property claims, each Contributor - hereby grants You a world-wide, royalty-free, non-exclusive license - - (a) under intellectual property rights (other than patent or - trademark) Licensable by Contributor, to use, reproduce, modify, - display, perform, sublicense and distribute the Modifications - created by such Contributor (or portions thereof) either on an - unmodified basis, with other Modifications, as Covered Code - and/or as part of a Larger Work; and - - (b) under Patent Claims infringed by the making, using, or - selling of Modifications made by that Contributor either alone - and/or in combination with its Contributor Version (or portions - of such combination), to make, use, sell, offer for sale, have - made, and/or otherwise dispose of: 1) Modifications made by that - Contributor (or portions thereof); and 2) the combination of - Modifications made by that Contributor with its Contributor - Version (or portions of such combination). - - (c) the licenses granted in Sections 2.2(a) and 2.2(b) are - effective on the date Contributor first makes Commercial Use of - the Covered Code. - - (d) Notwithstanding Section 2.2(b) above, no patent license is - granted: 1) for any code that Contributor has deleted from the - Contributor Version; 2) separate from the Contributor Version; - 3) for infringements caused by: i) third party modifications of - Contributor Version or ii) the combination of Modifications made - by that Contributor with other software (except as part of the - Contributor Version) or other devices; or 4) under Patent Claims - infringed by Covered Code in the absence of Modifications made by - that Contributor. - -3. Distribution Obligations. - - 3.1. Application of License. - The Modifications which You create or to which You contribute are - governed by the terms of this License, including without limitation - Section 2.2. The Source Code version of Covered Code may be - distributed only under the terms of this License or a future version - of this License released under Section 6.1, and You must include a - copy of this License with every copy of the Source Code You - distribute. You may not offer or impose any terms on any Source Code - version that alters or restricts the applicable version of this - License or the recipients' rights hereunder. However, You may include - an additional document offering the additional rights described in - Section 3.5. - - 3.2. Availability of Source Code. - Any Modification which You create or to which You contribute must be - made available in Source Code form under the terms of this License - either on the same media as an Executable version or via an accepted - Electronic Distribution Mechanism to anyone to whom you made an - Executable version available; and if made available via Electronic - Distribution Mechanism, must remain available for at least twelve (12) - months after the date it initially became available, or at least six - (6) months after a subsequent version of that particular Modification - has been made available to such recipients. You are responsible for - ensuring that the Source Code version remains available even if the - Electronic Distribution Mechanism is maintained by a third party. - - 3.3. Description of Modifications. - You must cause all Covered Code to which You contribute to contain a - file documenting the changes You made to create that Covered Code and - the date of any change. You must include a prominent statement that - the Modification is derived, directly or indirectly, from Original - Code provided by the Initial Developer and including the name of the - Initial Developer in (a) the Source Code, and (b) in any notice in an - Executable version or related documentation in which You describe the - origin or ownership of the Covered Code. - - 3.4. Intellectual Property Matters - (a) Third Party Claims. - If Contributor has knowledge that a license under a third party's - intellectual property rights is required to exercise the rights - granted by such Contributor under Sections 2.1 or 2.2, - Contributor must include a text file with the Source Code - distribution titled "LEGAL" which describes the claim and the - party making the claim in sufficient detail that a recipient will - know whom to contact. If Contributor obtains such knowledge after - the Modification is made available as described in Section 3.2, - Contributor shall promptly modify the LEGAL file in all copies - Contributor makes available thereafter and shall take other steps - (such as notifying appropriate mailing lists or newsgroups) - reasonably calculated to inform those who received the Covered - Code that new knowledge has been obtained. - - (b) Contributor APIs. - If Contributor's Modifications include an application programming - interface and Contributor has knowledge of patent licenses which - are reasonably necessary to implement that API, Contributor must - also include this information in the LEGAL file. - - (c) Representations. - Contributor represents that, except as disclosed pursuant to - Section 3.4(a) above, Contributor believes that Contributor's - Modifications are Contributor's original creation(s) and/or - Contributor has sufficient rights to grant the rights conveyed by - this License. - - 3.5. Required Notices. - You must duplicate the notice in Exhibit A in each file of the Source - Code. If it is not possible to put such notice in a particular Source - Code file due to its structure, then You must include such notice in a - location (such as a relevant directory) where a user would be likely - to look for such a notice. If You created one or more Modification(s) - You may add your name as a Contributor to the notice described in - Exhibit A. You must also duplicate this License in any documentation - for the Source Code where You describe recipients' rights or ownership - rights relating to Covered Code. You may choose to offer, and to - charge a fee for, warranty, support, indemnity or liability - obligations to one or more recipients of Covered Code. However, You - may do so only on Your own behalf, and not on behalf of the Initial - Developer or any Contributor. You must make it absolutely clear than - any such warranty, support, indemnity or liability obligation is - offered by You alone, and You hereby agree to indemnify the Initial - Developer and every Contributor for any liability incurred by the - Initial Developer or such Contributor as a result of warranty, - support, indemnity or liability terms You offer. - - 3.6. Distribution of Executable Versions. - You may distribute Covered Code in Executable form only if the - requirements of Section 3.1-3.5 have been met for that Covered Code, - and if You include a notice stating that the Source Code version of - the Covered Code is available under the terms of this License, - including a description of how and where You have fulfilled the - obligations of Section 3.2. The notice must be conspicuously included - in any notice in an Executable version, related documentation or - collateral in which You describe recipients' rights relating to the - Covered Code. You may distribute the Executable version of Covered - Code or ownership rights under a license of Your choice, which may - contain terms different from this License, provided that You are in - compliance with the terms of this License and that the license for the - Executable version does not attempt to limit or alter the recipient's - rights in the Source Code version from the rights set forth in this - License. If You distribute the Executable version under a different - license You must make it absolutely clear that any terms which differ - from this License are offered by You alone, not by the Initial - Developer or any Contributor. You hereby agree to indemnify the - Initial Developer and every Contributor for any liability incurred by - the Initial Developer or such Contributor as a result of any such - terms You offer. - - 3.7. Larger Works. - You may create a Larger Work by combining Covered Code with other code - not governed by the terms of this License and distribute the Larger - Work as a single product. In such a case, You must make sure the - requirements of this License are fulfilled for the Covered Code. - -4. Inability to Comply Due to Statute or Regulation. - - If it is impossible for You to comply with any of the terms of this - License with respect to some or all of the Covered Code due to - statute, judicial order, or regulation then You must: (a) comply with - the terms of this License to the maximum extent possible; and (b) - describe the limitations and the code they affect. Such description - must be included in the LEGAL file described in Section 3.4 and must - be included with all distributions of the Source Code. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - -5. Application of this License. - - This License applies to code to which the Initial Developer has - attached the notice in Exhibit A and to related Covered Code. - -6. Versions of the License. - - 6.1. New Versions. - Netscape Communications Corporation ("Netscape") may publish revised - and/or new versions of the License from time to time. Each version - will be given a distinguishing version number. - - 6.2. Effect of New Versions. - Once Covered Code has been published under a particular version of the - License, You may always continue to use it under the terms of that - version. You may also choose to use such Covered Code under the terms - of any subsequent version of the License published by Netscape. No one - other than Netscape has the right to modify the terms applicable to - Covered Code created under this License. - - 6.3. Derivative Works. - If You create or use a modified version of this License (which you may - only do in order to apply it to code which is not already Covered Code - governed by this License), You must (a) rename Your license so that - the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", - "MPL", "NPL" or any confusingly similar phrase do not appear in your - license (except to note that your license differs from this License) - and (b) otherwise make it clear that Your version of the license - contains terms which differ from the Mozilla Public License and - Netscape Public License. (Filling in the name of the Initial - Developer, Original Code or Contributor in the notice described in - Exhibit A shall not of themselves be deemed to be modifications of - this License.) - -7. DISCLAIMER OF WARRANTY. - - COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, - WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF - DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. - THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE - IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, - YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE - COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER - OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF - ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - -8. TERMINATION. - - 8.1. This License and the rights granted hereunder will terminate - automatically if You fail to comply with terms herein and fail to cure - such breach within 30 days of becoming aware of the breach. All - sublicenses to the Covered Code which are properly granted shall - survive any termination of this License. Provisions which, by their - nature, must remain in effect beyond the termination of this License - shall survive. - - 8.2. If You initiate litigation by asserting a patent infringement - claim (excluding declatory judgment actions) against Initial Developer - or a Contributor (the Initial Developer or Contributor against whom - You file such action is referred to as "Participant") alleging that: - - (a) such Participant's Contributor Version directly or indirectly - infringes any patent, then any and all rights granted by such - Participant to You under Sections 2.1 and/or 2.2 of this License - shall, upon 60 days notice from Participant terminate prospectively, - unless if within 60 days after receipt of notice You either: (i) - agree in writing to pay Participant a mutually agreeable reasonable - royalty for Your past and future use of Modifications made by such - Participant, or (ii) withdraw Your litigation claim with respect to - the Contributor Version against such Participant. If within 60 days - of notice, a reasonable royalty and payment arrangement are not - mutually agreed upon in writing by the parties or the litigation claim - is not withdrawn, the rights granted by Participant to You under - Sections 2.1 and/or 2.2 automatically terminate at the expiration of - the 60 day notice period specified above. - - (b) any software, hardware, or device, other than such Participant's - Contributor Version, directly or indirectly infringes any patent, then - any rights granted to You by such Participant under Sections 2.1(b) - and 2.2(b) are revoked effective as of the date You first made, used, - sold, distributed, or had made, Modifications made by that - Participant. - - 8.3. If You assert a patent infringement claim against Participant - alleging that such Participant's Contributor Version directly or - indirectly infringes any patent where such claim is resolved (such as - by license or settlement) prior to the initiation of patent - infringement litigation, then the reasonable value of the licenses - granted by such Participant under Sections 2.1 or 2.2 shall be taken - into account in determining the amount or value of any payment or - license. - - 8.4. In the event of termination under Sections 8.1 or 8.2 above, - all end user license agreements (excluding distributors and resellers) - which have been validly granted by You or any distributor hereunder - prior to termination shall survive termination. - -9. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT - (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL - DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, - OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR - ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY - CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, - WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER - COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN - INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF - LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY - RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW - PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE - EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO - THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -10. U.S. GOVERNMENT END USERS. - - The Covered Code is a "commercial item," as that term is defined in - 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer - software" and "commercial computer software documentation," as such - terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 - C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), - all U.S. Government End Users acquire Covered Code with only those - rights set forth herein. - -11. MISCELLANEOUS. - - This License represents the complete agreement concerning subject - matter hereof. If any provision of this License is held to be - unenforceable, such provision shall be reformed only to the extent - necessary to make it enforceable. This License shall be governed by - California law provisions (except to the extent applicable law, if - any, provides otherwise), excluding its conflict-of-law provisions. - With respect to disputes in which at least one party is a citizen of, - or an entity chartered or registered to do business in the United - States of America, any litigation relating to this License shall be - subject to the jurisdiction of the Federal Courts of the Northern - District of California, with venue lying in Santa Clara County, - California, with the losing party responsible for costs, including - without limitation, court costs and reasonable attorneys' fees and - expenses. The application of the United Nations Convention on - Contracts for the International Sale of Goods is expressly excluded. - Any law or regulation which provides that the language of a contract - shall be construed against the drafter shall not apply to this - License. - -12. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is - responsible for claims and damages arising, directly or indirectly, - out of its utilization of rights under this License and You agree to - work with Initial Developer and Contributors to distribute such - responsibility on an equitable basis. Nothing herein is intended or - shall be deemed to constitute any admission of liability. - -13. MULTIPLE-LICENSED CODE. - - Initial Developer may designate portions of the Covered Code as - "Multiple-Licensed". "Multiple-Licensed" means that the Initial - Developer permits you to utilize portions of the Covered Code under - Your choice of the NPL or the alternative licenses, if any, specified - by the Initial Developer in the file described in Exhibit A. - -EXHIBIT A -Mozilla Public License. - - ``The contents of this file are subject to the Mozilla Public License - Version 1.1 (the "License"); you may not use this file except in - compliance with the License. You may obtain a copy of the License at - http://www.mozilla.org/MPL/ - - Software distributed under the License is distributed on an "AS IS" - basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the - License for the specific language governing rights and limitations - under the License. - - The Original Code is ______________________________________. - - The Initial Developer of the Original Code is ________________________. - Portions created by ______________________ are Copyright (C) ______ - _______________________. All Rights Reserved. - - Contributor(s): ______________________________________. - - Alternatively, the contents of this file may be used under the terms - of the _____ license (the "[___] License"), in which case the - provisions of [______] License are applicable instead of those - above. If you wish to allow use of your version of this file only - under the terms of the [____] License and not to allow others to use - your version of this file under the MPL, indicate your decision by - deleting the provisions above and replace them with the notice and - other provisions required by the [___] License. If you do not delete - the provisions above, a recipient may use your version of this file - under either the MPL or the [___] License." - - [NOTE: The text of this Exhibit A may differ slightly from the text of - the notices in the Source Code files of the Original Code. You should - use the text of this Exhibit A rather than the text found in the - Original Code Source Code for Your Modifications.] -