diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 742d5cfb21e..88308440591 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -190,6 +190,12 @@ License detection:
This is now built-in with the --license-text option and --info
and exposed with the "percentage_of_license_text" attribute.
+- The license dump() has been modified to add an extra space at empty
+ newlines for license files which also have multiple indentation levels
+ as this was generating invalid YAML output files when ``--license-text``
+ or ``--license-references`` was enabled.
+
+ See https://github.com/nexB/scancode-toolkit/issues/3219
v31.2.4 - 2023-01-09
----------------------------------
diff --git a/docs/source/cli-reference/other-commands.rst b/docs/source/cli-reference/other-commands.rst
index e2753ef2a5b..1fd0059a78f 100644
--- a/docs/source/cli-reference/other-commands.rst
+++ b/docs/source/cli-reference/other-commands.rst
@@ -100,3 +100,11 @@ reindex the licenses without these licenses from the additional plugins.
Rebuild the license index including texts all languages (and not only
English) and exit. This is an EXPERIMENTAL option.
+
+
+``--load-dump`` Option
+^^^^^^^^^^^^^^^^^^^^^^
+
+Load all licenses and rules from their respective files and then dump them
+to their respective files. This is done to make small formatting changes across
+all licenses and rules, to be consistent across them.
diff --git a/docs/source/rst_snippets/scancode-reindex-licenses.rst b/docs/source/rst_snippets/scancode-reindex-licenses.rst
index d6aae4bec98..83304762c21 100644
--- a/docs/source/rst_snippets/scancode-reindex-licenses.rst
+++ b/docs/source/rst_snippets/scancode-reindex-licenses.rst
@@ -18,4 +18,6 @@ Options
--additional-directory DIR Include this directory with additional custom
licenses and license rules in the license
detection index.
+ --load-dump Load all license and rules from their respective
+ files and then dump them back to those same files.
-h, --help Shows the options and explanations.
diff --git a/etc/scripts/licenses/buildrules.py b/etc/scripts/licenses/buildrules.py
index b832b1fdf28..8571d8e24be 100644
--- a/etc/scripts/licenses/buildrules.py
+++ b/etc/scripts/licenses/buildrules.py
@@ -213,7 +213,7 @@ def cli(licenses_file):
rl = models.BasicRule(text=rdata.text, **rdata.data)
skinny_rules.append(rl)
- models.validate_rules(skinny_rules, licenses_by_key, with_text=True)
+ models.validate_rules(skinny_rules, licenses_by_key, with_text=True, thorough=True)
print()
for rule in skinny_rules:
diff --git a/src/licensedcode/cache.py b/src/licensedcode/cache.py
index 99dc176e733..cc518c93c46 100644
--- a/src/licensedcode/cache.py
+++ b/src/licensedcode/cache.py
@@ -29,7 +29,7 @@
# global in-memory cache of the LicenseCache
_LICENSE_CACHE = None
-LICENSE_INDEX_LOCK_TIMEOUT = 60 * 4
+LICENSE_INDEX_LOCK_TIMEOUT = 60 * 6
LICENSE_INDEX_DIR = 'license_index'
LICENSE_INDEX_FILENAME = 'index_cache'
LICENSE_LOCKFILE_NAME = 'scancode_license_index_lockfile'
@@ -134,8 +134,6 @@ def load_or_build(
try:
# acquire lock and wait until timeout to get a lock or die
with lockfile.FileLock(lock_file).locked(timeout=timeout):
- # Here, the cache is either stale or non-existing: we need to
- # rebuild all cached data (e.g. mostly the index) and cache it
additional_directories = []
if only_builtin:
@@ -156,6 +154,8 @@ def load_or_build(
additional_directories=additional_license_dirs,
scancode_license_dir=licenses_data_dir
)
+ # Here, the cache is either stale or non-existing: we need to
+ # rebuild all cached data (e.g. mostly the index) and cache it
licenses_db = load_licenses_from_multiple_dirs(
additional_license_data_dirs=additional_license_dirs,
builtin_license_data_dir=licenses_data_dir,
diff --git a/src/licensedcode/data/licenses/agpl-3.0.LICENSE b/src/licensedcode/data/licenses/agpl-3.0.LICENSE
index 4061ef5ec05..bb46d545da1 100644
--- a/src/licensedcode/data/licenses/agpl-3.0.LICENSE
+++ b/src/licensedcode/data/licenses/agpl-3.0.LICENSE
@@ -34,35 +34,35 @@ ignorable_urls:
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
-
+
Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
-
+
Preamble
-
+
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
-
+
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.
-
+
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
-
+
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
-
+
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
@@ -72,7 +72,7 @@ software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
-
+
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
@@ -80,48 +80,48 @@ provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
-
+
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
-
+
The precise terms and conditions for copying, distribution and
modification follow.
-
+
TERMS AND CONDITIONS
-
+
0. Definitions.
-
+
"This License" refers to version 3 of the GNU Affero General Public License.
-
+
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
-
+
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
-
+
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
-
+
A "covered work" means either the unmodified Program or a work based
on the Program.
-
+
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
-
+
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
-
+
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
@@ -130,18 +130,18 @@ extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
-
+
1. Source Code.
-
+
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
-
+
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
-
+
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
@@ -152,7 +152,7 @@ implementation is available to the public in source code form. A
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
-
+
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
@@ -165,16 +165,16 @@ the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
-
+
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
-
+
The Corresponding Source for a work in source code form is that
same work.
-
+
2. Basic Permissions.
-
+
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
@@ -182,7 +182,7 @@ permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
-
+
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
@@ -193,19 +193,19 @@ not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
-
+
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
-
+
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
-
+
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
-
+
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
@@ -213,9 +213,9 @@ the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
-
+
4. Conveying Verbatim Copies.
-
+
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
@@ -223,24 +223,24 @@ keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
-
+
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
-
+
5. Conveying Modified Source Versions.
-
+
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
-
+
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
-
+
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
-
+
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
@@ -248,12 +248,12 @@ terms of section 4, provided that you also meet all of these conditions:
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
-
+
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
-
+
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
@@ -263,19 +263,19 @@ used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
-
+
6. Conveying Non-Source Forms.
-
+
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
-
+
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
-
+
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
@@ -287,13 +287,13 @@ in one of these ways:
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
-
+
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
-
+
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
@@ -306,16 +306,16 @@ in one of these ways:
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
-
+
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
-
+
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
-
+
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
@@ -328,7 +328,7 @@ actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
-
+
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
@@ -336,7 +336,7 @@ a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
-
+
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
@@ -347,7 +347,7 @@ by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
-
+
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
@@ -355,15 +355,15 @@ the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
-
+
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
-
+
7. Additional Terms.
-
+
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
@@ -372,41 +372,41 @@ that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
-
+
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
-
+
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
-
+
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
-
+
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
-
+
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
-
+
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
-
+
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
-
+
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
-
+
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
@@ -416,46 +416,46 @@ a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
-
+
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
-
+
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
-
+
8. Termination.
-
+
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
-
+
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
-
+
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
-
+
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
-
+
9. Acceptance Not Required for Having Copies.
-
+
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
@@ -464,14 +464,14 @@ nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
-
+
10. Automatic Licensing of Downstream Recipients.
-
+
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
-
+
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
@@ -481,7 +481,7 @@ licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
-
+
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
@@ -489,13 +489,13 @@ rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
-
+
11. Patents.
-
+
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
-
+
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
@@ -505,19 +505,19 @@ consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
-
+
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
-
+
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
-
+
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
@@ -531,7 +531,7 @@ actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
-
+
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
@@ -539,7 +539,7 @@ receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
-
+
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
@@ -554,13 +554,13 @@ conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
-
+
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
-
+
12. No Surrender of Others' Freedom.
-
+
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
@@ -570,9 +570,9 @@ not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
-
+
13. Remote Network Interaction; Use with the GNU General Public License.
-
+
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
@@ -583,7 +583,7 @@ means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
-
+
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
@@ -591,14 +591,14 @@ combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
-
+
14. Revised Versions of this License.
-
+
The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
-
+
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
@@ -607,19 +607,19 @@ version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
-
+
If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
-
+
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
-
+
15. Disclaimer of Warranty.
-
+
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
@@ -628,9 +628,9 @@ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
+
16. Limitation of Liability.
-
+
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
@@ -640,47 +640,47 @@ DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
-
+
17. Interpretation of Sections 15 and 16.
-
+
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
-
+
END OF TERMS AND CONDITIONS
-
+
How to Apply These Terms to Your New Programs
-
+
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
-
+
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
-
+
Copyright (C)
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
-
+
Also add information on how to contact you by electronic and paper mail.
-
+
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
@@ -688,7 +688,7 @@ interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
-
+
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
diff --git a/src/licensedcode/data/licenses/apache-2.0.LICENSE b/src/licensedcode/data/licenses/apache-2.0.LICENSE
index 214cb36c807..38eb93842b4 100644
--- a/src/licensedcode/data/licenses/apache-2.0.LICENSE
+++ b/src/licensedcode/data/licenses/apache-2.0.LICENSE
@@ -29,17 +29,17 @@ ignorable_urls:
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
-
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
+
1. Definitions.
-
+
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
-
+
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
-
+
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
@@ -47,24 +47,24 @@ ignorable_urls:
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
-
+
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
-
+
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
-
+
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
-
+
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
-
+
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
@@ -72,7 +72,7 @@ ignorable_urls:
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
-
+
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
@@ -86,18 +86,18 @@ ignorable_urls:
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
-
+
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
-
+
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
-
+
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
@@ -113,24 +113,24 @@ ignorable_urls:
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
-
+
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
-
+
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
-
+
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
-
+
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
-
+
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
@@ -147,14 +147,14 @@ ignorable_urls:
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
-
+
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
-
+
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
@@ -162,12 +162,12 @@ ignorable_urls:
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
-
+
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
-
+
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
@@ -177,7 +177,7 @@ ignorable_urls:
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
-
+
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
@@ -189,7 +189,7 @@ ignorable_urls:
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
-
+
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
@@ -200,11 +200,11 @@ ignorable_urls:
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
-
+
END OF TERMS AND CONDITIONS
-
+
APPENDIX: How to apply the Apache License to your work.
-
+
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
@@ -213,15 +213,15 @@ ignorable_urls:
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
-
+
Copyright [yyyy] [name of copyright owner]
-
+
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/src/licensedcode/data/licenses/artistic-clarified.LICENSE b/src/licensedcode/data/licenses/artistic-clarified.LICENSE
index 80e9c21fb18..5c9b422c4e9 100644
--- a/src/licensedcode/data/licenses/artistic-clarified.LICENSE
+++ b/src/licensedcode/data/licenses/artistic-clarified.LICENSE
@@ -13,94 +13,94 @@ other_urls:
---
The Clarified Artistic License
-
+
Preamble
-
+
The intent of this document is to state the conditions under which a
Package may be copied, such that the Copyright Holder maintains some
semblance of artistic control over the development of the package,
while giving the users of the package the right to use and distribute
the Package in a more-or-less customary fashion, plus the right to make
reasonable modifications.
-
+
Definitions:
-
+
"Package" refers to the collection of files distributed by the
Copyright Holder, and derivatives of that collection of files
created through textual modification.
-
+
"Standard Version" refers to such a Package if it has not been
modified, or has been modified in accordance with the wishes
of the Copyright Holder as specified below.
-
+
"Copyright Holder" is whoever is named in the copyright or
copyrights for the package.
-
+
"You" is you, if you're thinking about copying or distributing
this Package.
-
+
"Distribution fee" is a fee you charge for providing a copy
of this Package to another party.
-
+
"Freely Available" means that no fee is charged for the right to
use the item, though there may be fees involved in handling the
item. It also means that recipients of the item may redistribute
it under the same conditions they received it.
-
+
1. You may make and give away verbatim copies of the source form of the
Standard Version of this Package without restriction, provided that you
duplicate all of the original copyright notices and associated disclaimers.
-
+
2. You may apply bug fixes, portability fixes and other modifications
derived from the Public Domain, or those made Freely Available, or from
the Copyright Holder. A Package modified in such a way shall still be
considered the Standard Version.
-
+
3. You may otherwise modify your copy of this Package in any way, provided
that you insert a prominent notice in each changed file stating how and
when you changed that file, and provided that you do at least ONE of the
following:
-
+
a) place your modifications in the Public Domain or otherwise make them
Freely Available, such as by posting said modifications to Usenet or an
equivalent medium, or placing the modifications on a major network
archive site allowing unrestricted access to them, or by allowing the
Copyright Holder to include your modifications in the Standard Version
of the Package.
-
+
b) use the modified Package only within your corporation or organization.
-
+
c) rename any non-standard executables so the names do not conflict
with standard executables, which must also be provided, and provide
a separate manual page for each non-standard executable that clearly
documents how it differs from the Standard Version.
-
+
d) make other distribution arrangements with the Copyright Holder.
-
+
e) permit and encourge anyone who receives a copy of the modified Package
permission to make your modifications Freely Available
in some specific way.
-
+
4. You may distribute the programs of this Package in object code or
executable form, provided that you do at least ONE of the following:
-
+
a) distribute a Standard Version of the executables and library files,
together with instructions (in the manual page or equivalent) on where
to get the Standard Version.
-
+
b) accompany the distribution with the machine-readable source of
the Package with your modifications.
-
+
c) give non-standard executables non-standard names, and clearly
document the differences in manual pages (or equivalent), together
with instructions on where to get the Standard Version.
-
+
d) make other distribution arrangements with the Copyright Holder.
-
+
e) offer the machine-readable source of the Package, with your
modifications, by mail order.
-
+
5. You may charge a distribution fee for any distribution of this Package.
If you offer support for this Package, you may charge any fee you choose
for that support. You may not charge a license fee for the right to use
@@ -113,7 +113,7 @@ If the Package includes an interpreter, You may embed this Package's
interpreter within an executable of yours (by linking); this shall be
construed as a mere form of aggregation, provided that the complete
Standard Version of the interpreter is so embedded.
-
+
6. The scripts and library files supplied as input to or produced as
output from the programs of this Package do not automatically fall
under the copyright of this Package, but belong to whoever generated
@@ -125,7 +125,7 @@ neither be construed as a distribution of this Package nor shall it
fall under the restrictions of Paragraphs 3 and 4, provided that you do
not represent such an executable image as a Standard Version of this
Package.
-
+
7. C subroutines (or comparably compiled subroutines in other
languages) supplied by you and linked into this Package in order to
emulate subroutines and variables of the language defined by this
@@ -133,18 +133,18 @@ Package shall not be considered part of this Package, but are the
equivalent of input as in Paragraph 6, provided these subroutines do
not change the language in any way that would cause it to fail the
regression tests for the language.
-
+
8. Aggregation of the Standard Version of the Package with a commercial
distribution is always permitted provided that the use of this Package
is embedded; that is, when no overt attempt is made to make this Package's
interfaces visible to the end user of the commercial distribution.
Such use shall not be construed as a distribution of this Package.
-
+
9. The name of the Copyright Holder may not be used to endorse or promote
products derived from this software without specific prior written permission.
-
+
10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-
+
The End
\ No newline at end of file
diff --git a/src/licensedcode/data/licenses/artistic-dist-1.0.LICENSE b/src/licensedcode/data/licenses/artistic-dist-1.0.LICENSE
index b87411044d9..8eefef56c61 100644
--- a/src/licensedcode/data/licenses/artistic-dist-1.0.LICENSE
+++ b/src/licensedcode/data/licenses/artistic-dist-1.0.LICENSE
@@ -15,91 +15,91 @@ other_urls:
---
The "Artistic License"
-
+
Preamble
-
+
The intent of this document is to state the conditions under which a
Package may be copied, such that the Copyright Holder maintains some
semblance of artistic control over the development of the Package,
while giving the users of the package the right to use and distribute
the Package in a more-or-less customary fashion, plus the right to make
reasonable modifications.
-
+
It also grants you the rights to reuse parts of a Package in your own
programs without transferring this License to those programs, provided
that you meet some reasonable requirements.
-
+
Definitions:
-
+
"Package" refers to the collection of files distributed by the
Copyright Holder, and derivatives of that collection of files
created through textual modification.
-
+
"Standard Version" refers to such a Package if it has not been
modified, or has been modified in accordance with the wishes
of the Copyright Holder as specified below.
-
+
"Copyright Holder" is whoever is named in the copyright or
copyrights for the package.
-
+
"You" is you, if you're thinking about copying or distributing
this Package.
-
+
"Reasonable copying fee" is whatever you can justify on the
basis of media cost, duplication charges, time of people involved,
and so on. (You will not be required to justify it to the
Copyright Holder, but only to the computing community at large
as a market that must bear the fee.)
-
+
"Freely Available" means that no fee is charged for the item
itself, though there may be fees involved in handling the item.
It also means that recipients of the item may redistribute it
under the same conditions they received it.
-
+
1. You may make and give away verbatim copies of the source form of the
Standard Version of this Package without restriction, provided that you
duplicate all of the original copyright notices and associated disclaimers.
-
+
2. You may apply bug fixes, portability fixes and other modifications
derived from the Public Domain or from the Copyright Holder. A Package
modified in such a way shall still be considered the Standard Version.
-
+
3. You may otherwise modify your copy of this Package in any way, provided
that you insert a prominent notice in each changed file stating how and
when you changed that file, and provided that you do at least ONE of the
following:
-
+
a) place your modifications in the Public Domain or otherwise make them
Freely Available, such as by posting said modifications to Usenet or
an equivalent medium, or placing the modifications on a major archive
site such as uunet.uu.net, or by allowing the Copyright Holder to include
your modifications in the Standard Version of the Package.
-
+
b) use the modified Package only within your corporation or organization.
-
+
c) rename any non-standard executables so the names do not conflict
with standard executables, which must also be provided, and provide
a separate manual page for each non-standard executable that clearly
documents how it differs from the Standard Version.
-
+
d) make other distribution arrangements with the Copyright Holder.
-
+
4. You may distribute the programs of this Package in object code or
executable form, provided that you do at least ONE of the following:
-
+
a) distribute a Standard Version of the executables and library files,
together with instructions (in the manual page or equivalent) on where
to get the Standard Version.
-
+
b) accompany the distribution with the machine-readable source of
the Package with your modifications.
-
+
c) give non-standard executables non-standard names, and clearly
document the differences in manual pages (or equivalent), together
with instructions on where to get the Standard Version.
-
+
d) make other distribution arrangements with the Copyright Holder.
-
+
5. You may charge a reasonable copying fee for any distribution of this
Package. You may charge any fee you choose for support of this
Package. You may not charge a fee for this Package itself. However,
@@ -107,7 +107,7 @@ you may distribute this Package in aggregate with other (possibly
commercial) programs as part of a larger (possibly commercial) software
distribution provided that you do not advertise this Package as a
product of your own.
-
+
6. The scripts and library files supplied as input to or produced as
output from the programs of this Package do not automatically fall
under the copyright of this Package, but belong to whoever generated
@@ -119,7 +119,7 @@ neither be construed as a distribution of this Package nor shall it
fall under the restrictions of Paragraphs 3 and 4, provided that you do
not represent such an executable image as a Standard Version of this
Package.
-
+
7. You may reuse parts of this Package in your own programs, provided that
you explicitly state where you got them from, in the source code (and, left
to your courtesy, in the documentation), duplicating all the associated
@@ -130,12 +130,12 @@ connection with the name of the Package itself or its associated programs.
You may then apply whatever restrictions you wish on the reused parts or
choose to place them in the Public Domain--this will apply only within the
context of your package.
-
+
8. The name of the Copyright Holder may not be used to endorse or promote
products derived from this software without specific prior written permission.
-
+
9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-
+
The End
\ No newline at end of file
diff --git a/src/licensedcode/data/licenses/artistic-perl-1.0.LICENSE b/src/licensedcode/data/licenses/artistic-perl-1.0.LICENSE
index b422e7cf651..c7ed3b28eb8 100644
--- a/src/licensedcode/data/licenses/artistic-perl-1.0.LICENSE
+++ b/src/licensedcode/data/licenses/artistic-perl-1.0.LICENSE
@@ -15,87 +15,87 @@ text_urls:
---
The "Artistic License"
-
+
Preamble
-
+
The intent of this document is to state the conditions under which a
Package may be copied, such that the Copyright Holder maintains some
semblance of artistic control over the development of the package,
while giving the users of the package the right to use and distribute
the Package in a more-or-less customary fashion, plus the right to make
reasonable modifications.
-
+
Definitions:
-
+
"Package" refers to the collection of files distributed by the
Copyright Holder, and derivatives of that collection of files
created through textual modification.
-
+
"Standard Version" refers to such a Package if it has not been
modified, or has been modified in accordance with the wishes
of the Copyright Holder as specified below.
-
+
"Copyright Holder" is whoever is named in the copyright or
copyrights for the package.
-
+
"You" is you, if you're thinking about copying or distributing
this Package.
-
+
"Reasonable copying fee" is whatever you can justify on the
basis of media cost, duplication charges, time of people involved,
and so on. (You will not be required to justify it to the
Copyright Holder, but only to the computing community at large
as a market that must bear the fee.)
-
+
"Freely Available" means that no fee is charged for the item
itself, though there may be fees involved in handling the item.
It also means that recipients of the item may redistribute it
under the same conditions they received it.
-
+
1. You may make and give away verbatim copies of the source form of the
Standard Version of this Package without restriction, provided that you
duplicate all of the original copyright notices and associated disclaimers.
-
+
2. You may apply bug fixes, portability fixes and other modifications
derived from the Public Domain or from the Copyright Holder. A Package
modified in such a way shall still be considered the Standard Version.
-
+
3. You may otherwise modify your copy of this Package in any way, provided
that you insert a prominent notice in each changed file stating how and
when you changed that file, and provided that you do at least ONE of the
following:
-
+
a) place your modifications in the Public Domain or otherwise make them
Freely Available, such as by posting said modifications to Usenet or
an equivalent medium, or placing the modifications on a major archive
site such as uunet.uu.net, or by allowing the Copyright Holder to include
your modifications in the Standard Version of the Package.
-
+
b) use the modified Package only within your corporation or organization.
-
+
c) rename any non-standard executables so the names do not conflict
with standard executables, which must also be provided, and provide
a separate manual page for each non-standard executable that clearly
documents how it differs from the Standard Version.
-
+
d) make other distribution arrangements with the Copyright Holder.
-
+
4. You may distribute the programs of this Package in object code or
executable form, provided that you do at least ONE of the following:
-
+
a) distribute a Standard Version of the executables and library files,
together with instructions (in the manual page or equivalent) on where
to get the Standard Version.
-
+
b) accompany the distribution with the machine-readable source of
the Package with your modifications.
-
+
c) give non-standard executables non-standard names, and clearly
document the differences in manual pages (or equivalent), together
with instructions on where to get the Standard Version.
-
+
d) make other distribution arrangements with the Copyright Holder.
-
+
5. You may charge a reasonable copying fee for any distribution of this
Package. You may charge any fee you choose for support of this
Package. You may not charge a fee for this Package itself. However,
@@ -106,7 +106,7 @@ product of your own. You may embed this Package's interpreter within
an executable of yours (by linking); this shall be construed as a mere
form of aggregation, provided that the complete Standard Version of the
interpreter is so embedded.
-
+
6. The scripts and library files supplied as input to or produced as
output from the programs of this Package do not automatically fall
under the copyright of this Package, but belong to whoever generated
@@ -118,7 +118,7 @@ neither be construed as a distribution of this Package nor shall it
fall under the restrictions of Paragraphs 3 and 4, provided that you do
not represent such an executable image as a Standard Version of this
Package.
-
+
7. C subroutines (or comparably compiled subroutines in other
languages) supplied by you and linked into this Package in order to
emulate subroutines and variables of the language defined by this
@@ -126,18 +126,18 @@ Package shall not be considered part of this Package, but are the
equivalent of input as in Paragraph 6, provided these subroutines do
not change the language in any way that would cause it to fail the
regression tests for the language.
-
+
8. Aggregation of this Package with a commercial distribution is always
permitted provided that the use of this Package is embedded; that is,
when no overt attempt is made to make this Package's interfaces visible
to the end user of the commercial distribution. Such use shall not be
construed as a distribution of this Package.
-
+
9. The name of the Copyright Holder may not be used to endorse or promote
products derived from this software without specific prior written permission.
-
+
10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-
+
The End
\ No newline at end of file
diff --git a/src/licensedcode/data/licenses/checkmk.LICENSE b/src/licensedcode/data/licenses/checkmk.LICENSE
index 52b26d01eec..0d3594d120c 100644
--- a/src/licensedcode/data/licenses/checkmk.LICENSE
+++ b/src/licensedcode/data/licenses/checkmk.LICENSE
@@ -8,6 +8,7 @@ spdx_license_key: checkmk
other_urls:
- https://github.com/libcheck/check/blob/master/checkmk/checkmk.in
---
+
Redistribution of this program in any form, with or without
modifications, is permitted, provided that the above copyright is
retained in distributions of this program in source form.
diff --git a/src/licensedcode/data/licenses/egenix-1.0.0.LICENSE b/src/licensedcode/data/licenses/egenix-1.0.0.LICENSE
index 3fa52c0d148..207964378c9 100644
--- a/src/licensedcode/data/licenses/egenix-1.0.0.LICENSE
+++ b/src/licensedcode/data/licenses/egenix-1.0.0.LICENSE
@@ -10,43 +10,43 @@ spdx_license_key: LicenseRef-scancode-egenix-1.0.0
---
EGENIX.COM PUBLIC LICENSE AGREEMENT VERSION 1.0.0
-
+
1. Introduction
-
+
This "License Agreement" is between eGenix.com Software, Skills and Services GmbH ("eGenix.com"), having an office at Pastor-Loeh-Str. 48, D-40764 Langenfeld, Germany, and the Individual or Organization ("Licensee") accessing and otherwise using this software in source or binary form and its associated documentation ("the Software").
-
+
2. License
-
+
Subject to the terms and conditions of this eGenix.com Public License Agreement, eGenix.com hereby grants Licensee a non-exclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use the Software alone or in any derivative version, provided, however, that the eGenix.com Public License Agreement is retained in the Software, or in any derivative version of the Software prepared by Licensee.
-
+
3. NO WARRANTY
-
+
eGenix.com is making the Software available to Licensee on an "AS IS" basis. SUBJECT TO ANY STATUTORY WARRANTIES WHICH CAN NOT BE EXCLUDED, EGENIX.COM MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, EGENIX.COM MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
-
+
4. LIMITATION OF LIABILITY
-
+
EGENIX.COM SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR OTHER PECUNIARY LOSS) AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
-
+
SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THE ABOVE EXCLUSION OR LIMITATION MAY NOT APPLY TO LICENSEE.
-
+
5. Termination
-
+
This License Agreement will automatically terminate upon a material breach of its terms and conditions.
-
+
6. General
-
+
Nothing in this License Agreement affects any statutory rights of consumers that cannot be waived or limited by contract.
-
+
Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between eGenix.com and Licensee.
-
+
If any provision of this License Agreement shall be unlawful, void, or for any reason unenforceable, such provision shall be modified to the extent necessary to render it enforceable without losing its intent, or, if no such modification is possible, be severed from this License Agreement and shall not affect the validity and enforceability of the remaining provisions of this License Agreement.
-
+
This License Agreement shall be governed by and interpreted in all respects by the law of Germany, excluding conflict of law provisions. It shall not be governed by the United Nations Convention on Contracts for International Sale of Goods.
-
+
This License Agreement does not grant permission to use eGenix.com trademarks or trade names in a trademark sense to endorse or promote products or services of Licensee, or any third party.
-
+
The controlling language of this License Agreement is English. If Licensee has received a translation into another language, it has been provided for Licensee's convenience only.
-
+
7. Agreement
-
+
By downloading, copying, installing or otherwise using the Software, Licensee agrees to be bound by the terms and conditions of this License Agreement.
\ No newline at end of file
diff --git a/src/licensedcode/data/licenses/genode-agpl-3.0-exception.LICENSE b/src/licensedcode/data/licenses/genode-agpl-3.0-exception.LICENSE
index ea468fb3173..8a0653dcfd5 100644
--- a/src/licensedcode/data/licenses/genode-agpl-3.0-exception.LICENSE
+++ b/src/licensedcode/data/licenses/genode-agpl-3.0-exception.LICENSE
@@ -16,15 +16,15 @@ ignorable_urls:
---
Linking exception clause
-
+
The Genode OS Framework (Genode) is licensed under the terms of the
GNU Affero General Public License version 3 (AGPLv3).
-
+
Linking Genode code statically or dynamically with other modules
is making a combined work based on Genode. Thus, the terms and
conditions of the AGPLv3 cover the whole combination.
-
+
As an "additional permission" as defined by Section 7 of the
AGPLv3, Genode Labs as the copyright holder of Genode gives you
permission to link Genode source code with "independent modules"
@@ -33,19 +33,19 @@ ignorable_urls:
resulting executable under terms of your choice, provided that you
also meet, for each linked independent module, the terms and
conditions of the license of that module.
-
+
An "approved license" is a license that is officially approved as
an Open-Source license by the Open Source Initiative [1], or
listed as a Free-Software license by the Free Software Foundation
[2], or explicitly approved by Genode Labs.
-
+
An "independent module" is a module which is not derived from or
based on Genode, or merely uses the Genode API as defined in the
official documentation.
-
+
If you modify Genode, you may extend this exception to your
version of Genode, but you are not obliged to do so. If you do not
wish to do so, delete this exception statement from your version.
-
+
[1] https://opensource.org/licenses
[2] https://www.gnu.org/licenses/license-list.en.html
\ No newline at end of file
diff --git a/src/licensedcode/data/licenses/gfdl-1.1.LICENSE b/src/licensedcode/data/licenses/gfdl-1.1.LICENSE
index 0bb8a6fbb64..ef6eca743f1 100644
--- a/src/licensedcode/data/licenses/gfdl-1.1.LICENSE
+++ b/src/licensedcode/data/licenses/gfdl-1.1.LICENSE
@@ -27,15 +27,15 @@ ignorable_urls:
GNU Free Documentation License
Version 1.1, March 2000
-
+
Copyright (C) 2000 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
-
+
0. PREAMBLE
-
+
The purpose of this License is to make a manual, textbook, or other
written document "free" in the sense of freedom: to assure everyone
the effective freedom to copy and redistribute it, with or without
@@ -43,12 +43,12 @@ modifying it, either commercially or noncommercially. Secondarily,
this License preserves for the author and publisher a way to get
credit for their work, while not being considered responsible for
modifications made by others.
-
+
This License is a kind of "copyleft", which means that derivative
works of the document must themselves be free in the same sense. It
complements the GNU General Public License, which is a copyleft
license designed for free software.
-
+
We have designed this License in order to use it for manuals for free
software, because free software needs free documentation: a free
program should come with manuals providing the same freedoms that the
@@ -56,20 +56,20 @@ software does. But this License is not limited to software manuals;
it can be used for any textual work, regardless of subject matter or
whether it is published as a printed book. We recommend this License
principally for works whose purpose is instruction or reference.
-
+
1. APPLICABILITY AND DEFINITIONS
-
+
This License applies to any manual or other work that contains a
notice placed by the copyright holder saying it can be distributed
under the terms of this License. The "Document", below, refers to any
such manual or work. Any member of the public is a licensee, and is
addressed as "you".
-
+
A "Modified Version" of the Document means any work containing the
Document or a portion of it, either copied verbatim, or with
modifications and/or translated into another language.
-
+
A "Secondary Section" is a named appendix or a front-matter section of
the Document that deals exclusively with the relationship of the
publishers or authors of the Document to the Document's overall subject
@@ -80,15 +80,15 @@ mathematics.) The relationship could be a matter of historical
connection with the subject or with related matters, or of legal,
commercial, philosophical, ethical or political position regarding
them.
-
+
The "Invariant Sections" are certain Secondary Sections whose titles
are designated, as being those of Invariant Sections, in the notice
that says that the Document is released under this License.
-
+
The "Cover Texts" are certain short passages of text that are listed,
as Front-Cover Texts or Back-Cover Texts, in the notice that says that
the Document is released under this License.
-
+
A "Transparent" copy of the Document means a machine-readable copy,
represented in a format whose specification is available to the
general public, whose contents can be viewed and edited directly and
@@ -100,7 +100,7 @@ to text formatters. A copy made in an otherwise Transparent file
format whose markup has been designed to thwart or discourage
subsequent modification by readers is not Transparent. A copy that is
not "Transparent" is called "Opaque".
-
+
Examples of suitable formats for Transparent copies include plain
ASCII without markup, Texinfo input format, LaTeX input format, SGML
or XML using a publicly available DTD, and standard-conforming simple
@@ -110,17 +110,17 @@ by proprietary word processors, SGML or XML for which the DTD and/or
processing tools are not generally available, and the
machine-generated HTML produced by some word processors for output
purposes only.
-
+
The "Title Page" means, for a printed book, the title page itself,
plus such following pages as are needed to hold, legibly, the material
this License requires to appear in the title page. For works in
formats which do not have any title page as such, "Title Page" means
the text near the most prominent appearance of the work's title,
preceding the beginning of the body of the text.
-
+
2. VERBATIM COPYING
-
+
You may copy and distribute the Document in any medium, either
commercially or noncommercially, provided that this License, the
copyright notices, and the license notice saying this License applies
@@ -130,13 +130,13 @@ technical measures to obstruct or control the reading or further
copying of the copies you make or distribute. However, you may accept
compensation in exchange for copies. If you distribute a large enough
number of copies you must also follow the conditions in section 3.
-
+
You may also lend copies, under the same conditions stated above, and
you may publicly display copies.
-
+
3. COPYING IN QUANTITY
-
+
If you publish printed copies of the Document numbering more than 100,
and the Document's license notice requires Cover Texts, you must enclose
the copies in covers that carry, clearly and legibly, all these Cover
@@ -148,12 +148,12 @@ visible. You may add other material on the covers in addition.
Copying with changes limited to the covers, as long as they preserve
the title of the Document and satisfy these conditions, can be treated
as verbatim copying in other respects.
-
+
If the required texts for either cover are too voluminous to fit
legibly, you should put the first ones listed (as many as fit
reasonably) on the actual cover, and continue the rest onto adjacent
pages.
-
+
If you publish or distribute Opaque copies of the Document numbering
more than 100, you must either include a machine-readable Transparent
copy along with each Opaque copy, or state in or with each Opaque copy
@@ -167,21 +167,21 @@ Transparent copy will remain thus accessible at the stated location
until at least one year after the last time you distribute an Opaque
copy (directly or through your agents or retailers) of that edition to
the public.
-
+
It is requested, but not required, that you contact the authors of the
Document well before redistributing any large number of copies, to give
them a chance to provide you with an updated version of the Document.
-
+
4. MODIFICATIONS
-
+
You may copy and distribute a Modified Version of the Document under
the conditions of sections 2 and 3 above, provided that you release
the Modified Version under precisely this License, with the Modified
Version filling the role of the Document, thus licensing distribution
and modification of the Modified Version to whoever possesses a copy
of it. In addition, you must do these things in the Modified Version:
-
+
A. Use in the Title Page (and on the covers, if any) a title distinct
from that of the Document, and from those of previous versions
(which should, if there were any, be listed in the History section
@@ -227,20 +227,20 @@ M. Delete any section entitled "Endorsements". Such a section
may not be included in the Modified Version.
N. Do not retitle any existing section as "Endorsements"
or to conflict in title with any Invariant Section.
-
+
If the Modified Version includes new front-matter sections or
appendices that qualify as Secondary Sections and contain no material
copied from the Document, you may at your option designate some or all
of these sections as invariant. To do this, add their titles to the
list of Invariant Sections in the Modified Version's license notice.
These titles must be distinct from any other section titles.
-
+
You may add a section entitled "Endorsements", provided it contains
nothing but endorsements of your Modified Version by various
parties--for example, statements of peer review or that the text has
been approved by an organization as the authoritative definition of a
standard.
-
+
You may add a passage of up to five words as a Front-Cover Text, and a
passage of up to 25 words as a Back-Cover Text, to the end of the list
of Cover Texts in the Modified Version. Only one passage of
@@ -250,21 +250,21 @@ includes a cover text for the same cover, previously added by you or
by arrangement made by the same entity you are acting on behalf of,
you may not add another; but you may replace the old one, on explicit
permission from the previous publisher that added the old one.
-
+
The author(s) and publisher(s) of the Document do not by this License
give permission to use their names for publicity for or to assert or
imply endorsement of any Modified Version.
-
+
5. COMBINING DOCUMENTS
-
+
You may combine the Document with other documents released under this
License, under the terms defined in section 4 above for modified
versions, provided that you include in the combination all of the
Invariant Sections of all of the original documents, unmodified, and
list them all as Invariant Sections of your combined work in its
license notice.
-
+
The combined work need only contain one copy of this License, and
multiple identical Invariant Sections may be replaced with a single
copy. If there are multiple Invariant Sections with the same name but
@@ -273,30 +273,30 @@ adding at the end of it, in parentheses, the name of the original
author or publisher of that section if known, or else a unique number.
Make the same adjustment to the section titles in the list of
Invariant Sections in the license notice of the combined work.
-
+
In the combination, you must combine any sections entitled "History"
in the various original documents, forming one section entitled
"History"; likewise combine any sections entitled "Acknowledgements",
and any sections entitled "Dedications". You must delete all sections
entitled "Endorsements."
-
+
6. COLLECTIONS OF DOCUMENTS
-
+
You may make a collection consisting of the Document and other documents
released under this License, and replace the individual copies of this
License in the various documents with a single copy that is included in
the collection, provided that you follow the rules of this License for
verbatim copying of each of the documents in all other respects.
-
+
You may extract a single document from such a collection, and distribute
it individually under this License, provided you insert a copy of this
License into the extracted document, and follow this License in all
other respects regarding verbatim copying of that document.
-
+
7. AGGREGATION WITH INDEPENDENT WORKS
-
+
A compilation of the Document or its derivatives with other separate
and independent documents or works, in or on a volume of a storage or
distribution medium, does not as a whole count as a Modified Version
@@ -305,16 +305,16 @@ compilation. Such a compilation is called an "aggregate", and this
License does not apply to the other self-contained works thus compiled
with the Document, on account of their being thus compiled, if they
are not themselves derivative works of the Document.
-
+
If the Cover Text requirement of section 3 is applicable to these
copies of the Document, then if the Document is less than one quarter
of the entire aggregate, the Document's Cover Texts may be placed on
covers that surround only the Document within the aggregate.
Otherwise they must appear on covers around the whole aggregate.
-
+
8. TRANSLATION
-
+
Translation is considered a kind of modification, so you may
distribute translations of the Document under the terms of section 4.
Replacing Invariant Sections with translations requires special
@@ -325,10 +325,10 @@ translation of this License provided that you also include the
original English version of this License. In case of a disagreement
between the translation and the original English version of this
License, the original English version will prevail.
-
+
9. TERMINATION
-
+
You may not copy, modify, sublicense, or distribute the Document except
as expressly provided for under this License. Any other attempt to
copy, modify, sublicense or distribute the Document is void, and will
@@ -336,16 +336,16 @@ 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.
-
+
10. FUTURE REVISIONS OF THIS LICENSE
-
+
The Free Software Foundation may publish new, revised versions
of the GNU Free Documentation 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. See
http://www.gnu.org/copyleft/.
-
+
Each version of the License is given a distinguishing version number.
If the Document specifies that a particular numbered version of this
License "or any later version" applies to it, you have the option of
@@ -354,14 +354,14 @@ of any later version that has been published (not as a draft) by the
Free Software Foundation. If the Document does not specify a version
number of this License, you may choose any version ever published (not
as a draft) by the Free Software Foundation.
-
+
ADDENDUM: How to use this License for your documents
-
+
To use this License in a document you have written, include a copy of
the License in the document and put the following copyright and
license notices just after the title page:
-
+
Copyright (c) YEAR YOUR NAME.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.1
@@ -370,12 +370,12 @@ license notices just after the title page:
Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
A copy of the license is included in the section entitled "GNU
Free Documentation License".
-
+
If you have no Invariant Sections, write "with no Invariant Sections"
instead of saying which ones are invariant. If you have no
Front-Cover Texts, write "no Front-Cover Texts" instead of
"Front-Cover Texts being LIST"; likewise for Back-Cover Texts.
-
+
If your document contains nontrivial examples of program code, we
recommend releasing these examples in parallel under your choice of
free software license, such as the GNU General Public License,
diff --git a/src/licensedcode/data/licenses/gfdl-1.2-plus.LICENSE b/src/licensedcode/data/licenses/gfdl-1.2-plus.LICENSE
index f8772ca54fa..beab845d5f8 100644
--- a/src/licensedcode/data/licenses/gfdl-1.2-plus.LICENSE
+++ b/src/licensedcode/data/licenses/gfdl-1.2-plus.LICENSE
@@ -27,19 +27,19 @@ ignorable_urls:
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
-
+
GNU Free Documentation License
Version 1.2, November 2002
-
+
Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
-
+
0. PREAMBLE
-
+
The purpose of this License is to make a manual, textbook, or other
functional and useful document "free" in the sense of freedom: to
assure everyone the effective freedom to copy and redistribute it,
@@ -47,12 +47,12 @@ with or without modifying it, either commercially or noncommercially.
Secondarily, this License preserves for the author and publisher a way
to get credit for their work, while not being considered responsible
for modifications made by others.
-
+
This License is a kind of "copyleft", which means that derivative
works of the document must themselves be free in the same sense. It
complements the GNU General Public License, which is a copyleft
license designed for free software.
-
+
We have designed this License in order to use it for manuals for free
software, because free software needs free documentation: a free
program should come with manuals providing the same freedoms that the
@@ -60,10 +60,10 @@ software does. But this License is not limited to software manuals;
it can be used for any textual work, regardless of subject matter or
whether it is published as a printed book. We recommend this License
principally for works whose purpose is instruction or reference.
-
+
1. APPLICABILITY AND DEFINITIONS
-
+
This License applies to any manual or other work, in any medium, that
contains a notice placed by the copyright holder saying it can be
distributed under the terms of this License. Such a notice grants a
@@ -73,11 +73,11 @@ refers to any such manual or work. Any member of the public is a
licensee, and is addressed as "you". You accept the license if you
copy, modify or distribute the work in a way requiring permission
under copyright law.
-
+
A "Modified Version" of the Document means any work containing the
Document or a portion of it, either copied verbatim, or with
modifications and/or translated into another language.
-
+
A "Secondary Section" is a named appendix or a front-matter section of
the Document that deals exclusively with the relationship of the
publishers or authors of the Document to the Document's overall subject
@@ -88,7 +88,7 @@ mathematics.) The relationship could be a matter of historical
connection with the subject or with related matters, or of legal,
commercial, philosophical, ethical or political position regarding
them.
-
+
The "Invariant Sections" are certain Secondary Sections whose titles
are designated, as being those of Invariant Sections, in the notice
that says that the Document is released under this License. If a
@@ -96,12 +96,12 @@ section does not fit the above definition of Secondary then it is not
allowed to be designated as Invariant. The Document may contain zero
Invariant Sections. If the Document does not identify any Invariant
Sections then there are none.
-
+
The "Cover Texts" are certain short passages of text that are listed,
as Front-Cover Texts or Back-Cover Texts, in the notice that says that
the Document is released under this License. A Front-Cover Text may
be at most 5 words, and a Back-Cover Text may be at most 25 words.
-
+
A "Transparent" copy of the Document means a machine-readable copy,
represented in a format whose specification is available to the
general public, that is suitable for revising the document
@@ -114,7 +114,7 @@ format whose markup, or absence of markup, has been arranged to thwart
or discourage subsequent modification by readers is not Transparent.
An image format is not Transparent if used for any substantial amount
of text. A copy that is not "Transparent" is called "Opaque".
-
+
Examples of suitable formats for Transparent copies include plain
ASCII without markup, Texinfo input format, LaTeX input format, SGML
or XML using a publicly available DTD, and standard-conforming simple
@@ -125,14 +125,14 @@ proprietary word processors, SGML or XML for which the DTD and/or
processing tools are not generally available, and the
machine-generated HTML, PostScript or PDF produced by some word
processors for output purposes only.
-
+
The "Title Page" means, for a printed book, the title page itself,
plus such following pages as are needed to hold, legibly, the material
this License requires to appear in the title page. For works in
formats which do not have any title page as such, "Title Page" means
the text near the most prominent appearance of the work's title,
preceding the beginning of the body of the text.
-
+
A section "Entitled XYZ" means a named subunit of the Document whose
title either is precisely XYZ or contains XYZ in parentheses following
text that translates XYZ in another language. (Here XYZ stands for a
@@ -140,17 +140,17 @@ specific section name mentioned below, such as "Acknowledgements",
"Dedications", "Endorsements", or "History".) To "Preserve the Title"
of such a section when you modify the Document means that it remains a
section "Entitled XYZ" according to this definition.
-
+
The Document may include Warranty Disclaimers next to the notice which
states that this License applies to the Document. These Warranty
Disclaimers are considered to be included by reference in this
License, but only as regards disclaiming warranties: any other
implication that these Warranty Disclaimers may have is void and has
no effect on the meaning of this License.
-
+
2. VERBATIM COPYING
-
+
You may copy and distribute the Document in any medium, either
commercially or noncommercially, provided that this License, the
copyright notices, and the license notice saying this License applies
@@ -160,13 +160,13 @@ technical measures to obstruct or control the reading or further
copying of the copies you make or distribute. However, you may accept
compensation in exchange for copies. If you distribute a large enough
number of copies you must also follow the conditions in section 3.
-
+
You may also lend copies, under the same conditions stated above, and
you may publicly display copies.
-
+
3. COPYING IN QUANTITY
-
+
If you publish printed copies (or copies in media that commonly have
printed covers) of the Document, numbering more than 100, and the
Document's license notice requires Cover Texts, you must enclose the
@@ -179,12 +179,12 @@ visible. You may add other material on the covers in addition.
Copying with changes limited to the covers, as long as they preserve
the title of the Document and satisfy these conditions, can be treated
as verbatim copying in other respects.
-
+
If the required texts for either cover are too voluminous to fit
legibly, you should put the first ones listed (as many as fit
reasonably) on the actual cover, and continue the rest onto adjacent
pages.
-
+
If you publish or distribute Opaque copies of the Document numbering
more than 100, you must either include a machine-readable Transparent
copy along with each Opaque copy, or state in or with each Opaque copy
@@ -197,21 +197,21 @@ that this Transparent copy will remain thus accessible at the stated
location until at least one year after the last time you distribute an
Opaque copy (directly or through your agents or retailers) of that
edition to the public.
-
+
It is requested, but not required, that you contact the authors of the
Document well before redistributing any large number of copies, to give
them a chance to provide you with an updated version of the Document.
-
+
4. MODIFICATIONS
-
+
You may copy and distribute a Modified Version of the Document under
the conditions of sections 2 and 3 above, provided that you release
the Modified Version under precisely this License, with the Modified
Version filling the role of the Document, thus licensing distribution
and modification of the Modified Version to whoever possesses a copy
of it. In addition, you must do these things in the Modified Version:
-
+
A. Use in the Title Page (and on the covers, if any) a title distinct
from that of the Document, and from those of previous versions
(which should, if there were any, be listed in the History section
@@ -259,20 +259,20 @@ M. Delete any section Entitled "Endorsements". Such a section
N. Do not retitle any existing section to be Entitled "Endorsements"
or to conflict in title with any Invariant Section.
O. Preserve any Warranty Disclaimers.
-
+
If the Modified Version includes new front-matter sections or
appendices that qualify as Secondary Sections and contain no material
copied from the Document, you may at your option designate some or all
of these sections as invariant. To do this, add their titles to the
list of Invariant Sections in the Modified Version's license notice.
These titles must be distinct from any other section titles.
-
+
You may add a section Entitled "Endorsements", provided it contains
nothing but endorsements of your Modified Version by various
parties--for example, statements of peer review or that the text has
been approved by an organization as the authoritative definition of a
standard.
-
+
You may add a passage of up to five words as a Front-Cover Text, and a
passage of up to 25 words as a Back-Cover Text, to the end of the list
of Cover Texts in the Modified Version. Only one passage of
@@ -282,21 +282,21 @@ includes a cover text for the same cover, previously added by you or
by arrangement made by the same entity you are acting on behalf of,
you may not add another; but you may replace the old one, on explicit
permission from the previous publisher that added the old one.
-
+
The author(s) and publisher(s) of the Document do not by this License
give permission to use their names for publicity for or to assert or
imply endorsement of any Modified Version.
-
+
5. COMBINING DOCUMENTS
-
+
You may combine the Document with other documents released under this
License, under the terms defined in section 4 above for modified
versions, provided that you include in the combination all of the
Invariant Sections of all of the original documents, unmodified, and
list them all as Invariant Sections of your combined work in its
license notice, and that you preserve all their Warranty Disclaimers.
-
+
The combined work need only contain one copy of this License, and
multiple identical Invariant Sections may be replaced with a single
copy. If there are multiple Invariant Sections with the same name but
@@ -305,30 +305,30 @@ adding at the end of it, in parentheses, the name of the original
author or publisher of that section if known, or else a unique number.
Make the same adjustment to the section titles in the list of
Invariant Sections in the license notice of the combined work.
-
+
In the combination, you must combine any sections Entitled "History"
in the various original documents, forming one section Entitled
"History"; likewise combine any sections Entitled "Acknowledgements",
and any sections Entitled "Dedications". You must delete all sections
Entitled "Endorsements".
-
+
6. COLLECTIONS OF DOCUMENTS
-
+
You may make a collection consisting of the Document and other documents
released under this License, and replace the individual copies of this
License in the various documents with a single copy that is included in
the collection, provided that you follow the rules of this License for
verbatim copying of each of the documents in all other respects.
-
+
You may extract a single document from such a collection, and distribute
it individually under this License, provided you insert a copy of this
License into the extracted document, and follow this License in all
other respects regarding verbatim copying of that document.
-
+
7. AGGREGATION WITH INDEPENDENT WORKS
-
+
A compilation of the Document or its derivatives with other separate
and independent documents or works, in or on a volume of a storage or
distribution medium, is called an "aggregate" if the copyright
@@ -337,7 +337,7 @@ of the compilation's users beyond what the individual works permit.
When the Document is included in an aggregate, this License does not
apply to the other works in the aggregate which are not themselves
derivative works of the Document.
-
+
If the Cover Text requirement of section 3 is applicable to these
copies of the Document, then if the Document is less than one half of
the entire aggregate, the Document's Cover Texts may be placed on
@@ -345,10 +345,10 @@ covers that bracket the Document within the aggregate, or the
electronic equivalent of covers if the Document is in electronic form.
Otherwise they must appear on printed covers that bracket the whole
aggregate.
-
+
8. TRANSLATION
-
+
Translation is considered a kind of modification, so you may
distribute translations of the Document under the terms of section 4.
Replacing Invariant Sections with translations requires special
@@ -361,15 +361,15 @@ the original English version of this License and the original versions
of those notices and disclaimers. In case of a disagreement between
the translation and the original version of this License or a notice
or disclaimer, the original version will prevail.
-
+
If a section in the Document is Entitled "Acknowledgements",
"Dedications", or "History", the requirement (section 4) to Preserve
its Title (section 1) will typically require changing the actual
title.
-
+
9. TERMINATION
-
+
You may not copy, modify, sublicense, or distribute the Document except
as expressly provided for under this License. Any other attempt to
copy, modify, sublicense or distribute the Document is void, and will
@@ -377,16 +377,16 @@ 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.
-
+
10. FUTURE REVISIONS OF THIS LICENSE
-
+
The Free Software Foundation may publish new, revised versions
of the GNU Free Documentation 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. See
http://www.gnu.org/copyleft/.
-
+
Each version of the License is given a distinguishing version number.
If the Document specifies that a particular numbered version of this
License "or any later version" applies to it, you have the option of
@@ -395,14 +395,14 @@ of any later version that has been published (not as a draft) by the
Free Software Foundation. If the Document does not specify a version
number of this License, you may choose any version ever published (not
as a draft) by the Free Software Foundation.
-
+
ADDENDUM: How to use this License for your documents
-
+
To use this License in a document you have written, include a copy of
the License in the document and put the following copyright and
license notices just after the title page:
-
+
Copyright (c) YEAR YOUR NAME.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
@@ -410,17 +410,17 @@ license notices just after the title page:
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the section entitled "GNU
Free Documentation License".
-
+
If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
replace the "with...Texts." line with this:
-
+
with the Invariant Sections being LIST THEIR TITLES, with the
Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
-
+
If you have Invariant Sections without Cover Texts, or some other
combination of the three, merge those two alternatives to suit the
situation.
-
+
If your document contains nontrivial examples of program code, we
recommend releasing these examples in parallel under your choice of
free software license, such as the GNU General Public License,
diff --git a/src/licensedcode/data/licenses/gfdl-1.2.LICENSE b/src/licensedcode/data/licenses/gfdl-1.2.LICENSE
index 78a4716891c..09494e89571 100644
--- a/src/licensedcode/data/licenses/gfdl-1.2.LICENSE
+++ b/src/licensedcode/data/licenses/gfdl-1.2.LICENSE
@@ -26,16 +26,16 @@ ignorable_urls:
GNU Free Documentation License
Version 1.2, November 2002
-
+
Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
-
+
0. PREAMBLE
-
+
The purpose of this License is to make a manual, textbook, or other
functional and useful document "free" in the sense of freedom: to
assure everyone the effective freedom to copy and redistribute it,
@@ -43,12 +43,12 @@ with or without modifying it, either commercially or noncommercially.
Secondarily, this License preserves for the author and publisher a way
to get credit for their work, while not being considered responsible
for modifications made by others.
-
+
This License is a kind of "copyleft", which means that derivative
works of the document must themselves be free in the same sense. It
complements the GNU General Public License, which is a copyleft
license designed for free software.
-
+
We have designed this License in order to use it for manuals for free
software, because free software needs free documentation: a free
program should come with manuals providing the same freedoms that the
@@ -56,10 +56,10 @@ software does. But this License is not limited to software manuals;
it can be used for any textual work, regardless of subject matter or
whether it is published as a printed book. We recommend this License
principally for works whose purpose is instruction or reference.
-
+
1. APPLICABILITY AND DEFINITIONS
-
+
This License applies to any manual or other work, in any medium, that
contains a notice placed by the copyright holder saying it can be
distributed under the terms of this License. Such a notice grants a
@@ -69,11 +69,11 @@ refers to any such manual or work. Any member of the public is a
licensee, and is addressed as "you". You accept the license if you
copy, modify or distribute the work in a way requiring permission
under copyright law.
-
+
A "Modified Version" of the Document means any work containing the
Document or a portion of it, either copied verbatim, or with
modifications and/or translated into another language.
-
+
A "Secondary Section" is a named appendix or a front-matter section of
the Document that deals exclusively with the relationship of the
publishers or authors of the Document to the Document's overall subject
@@ -84,7 +84,7 @@ mathematics.) The relationship could be a matter of historical
connection with the subject or with related matters, or of legal,
commercial, philosophical, ethical or political position regarding
them.
-
+
The "Invariant Sections" are certain Secondary Sections whose titles
are designated, as being those of Invariant Sections, in the notice
that says that the Document is released under this License. If a
@@ -92,12 +92,12 @@ section does not fit the above definition of Secondary then it is not
allowed to be designated as Invariant. The Document may contain zero
Invariant Sections. If the Document does not identify any Invariant
Sections then there are none.
-
+
The "Cover Texts" are certain short passages of text that are listed,
as Front-Cover Texts or Back-Cover Texts, in the notice that says that
the Document is released under this License. A Front-Cover Text may
be at most 5 words, and a Back-Cover Text may be at most 25 words.
-
+
A "Transparent" copy of the Document means a machine-readable copy,
represented in a format whose specification is available to the
general public, that is suitable for revising the document
@@ -110,7 +110,7 @@ format whose markup, or absence of markup, has been arranged to thwart
or discourage subsequent modification by readers is not Transparent.
An image format is not Transparent if used for any substantial amount
of text. A copy that is not "Transparent" is called "Opaque".
-
+
Examples of suitable formats for Transparent copies include plain
ASCII without markup, Texinfo input format, LaTeX input format, SGML
or XML using a publicly available DTD, and standard-conforming simple
@@ -121,14 +121,14 @@ proprietary word processors, SGML or XML for which the DTD and/or
processing tools are not generally available, and the
machine-generated HTML, PostScript or PDF produced by some word
processors for output purposes only.
-
+
The "Title Page" means, for a printed book, the title page itself,
plus such following pages as are needed to hold, legibly, the material
this License requires to appear in the title page. For works in
formats which do not have any title page as such, "Title Page" means
the text near the most prominent appearance of the work's title,
preceding the beginning of the body of the text.
-
+
A section "Entitled XYZ" means a named subunit of the Document whose
title either is precisely XYZ or contains XYZ in parentheses following
text that translates XYZ in another language. (Here XYZ stands for a
@@ -136,17 +136,17 @@ specific section name mentioned below, such as "Acknowledgements",
"Dedications", "Endorsements", or "History".) To "Preserve the Title"
of such a section when you modify the Document means that it remains a
section "Entitled XYZ" according to this definition.
-
+
The Document may include Warranty Disclaimers next to the notice which
states that this License applies to the Document. These Warranty
Disclaimers are considered to be included by reference in this
License, but only as regards disclaiming warranties: any other
implication that these Warranty Disclaimers may have is void and has
no effect on the meaning of this License.
-
+
2. VERBATIM COPYING
-
+
You may copy and distribute the Document in any medium, either
commercially or noncommercially, provided that this License, the
copyright notices, and the license notice saying this License applies
@@ -156,13 +156,13 @@ technical measures to obstruct or control the reading or further
copying of the copies you make or distribute. However, you may accept
compensation in exchange for copies. If you distribute a large enough
number of copies you must also follow the conditions in section 3.
-
+
You may also lend copies, under the same conditions stated above, and
you may publicly display copies.
-
+
3. COPYING IN QUANTITY
-
+
If you publish printed copies (or copies in media that commonly have
printed covers) of the Document, numbering more than 100, and the
Document's license notice requires Cover Texts, you must enclose the
@@ -175,12 +175,12 @@ visible. You may add other material on the covers in addition.
Copying with changes limited to the covers, as long as they preserve
the title of the Document and satisfy these conditions, can be treated
as verbatim copying in other respects.
-
+
If the required texts for either cover are too voluminous to fit
legibly, you should put the first ones listed (as many as fit
reasonably) on the actual cover, and continue the rest onto adjacent
pages.
-
+
If you publish or distribute Opaque copies of the Document numbering
more than 100, you must either include a machine-readable Transparent
copy along with each Opaque copy, or state in or with each Opaque copy
@@ -193,21 +193,21 @@ that this Transparent copy will remain thus accessible at the stated
location until at least one year after the last time you distribute an
Opaque copy (directly or through your agents or retailers) of that
edition to the public.
-
+
It is requested, but not required, that you contact the authors of the
Document well before redistributing any large number of copies, to give
them a chance to provide you with an updated version of the Document.
-
+
4. MODIFICATIONS
-
+
You may copy and distribute a Modified Version of the Document under
the conditions of sections 2 and 3 above, provided that you release
the Modified Version under precisely this License, with the Modified
Version filling the role of the Document, thus licensing distribution
and modification of the Modified Version to whoever possesses a copy
of it. In addition, you must do these things in the Modified Version:
-
+
A. Use in the Title Page (and on the covers, if any) a title distinct
from that of the Document, and from those of previous versions
(which should, if there were any, be listed in the History section
@@ -255,20 +255,20 @@ M. Delete any section Entitled "Endorsements". Such a section
N. Do not retitle any existing section to be Entitled "Endorsements"
or to conflict in title with any Invariant Section.
O. Preserve any Warranty Disclaimers.
-
+
If the Modified Version includes new front-matter sections or
appendices that qualify as Secondary Sections and contain no material
copied from the Document, you may at your option designate some or all
of these sections as invariant. To do this, add their titles to the
list of Invariant Sections in the Modified Version's license notice.
These titles must be distinct from any other section titles.
-
+
You may add a section Entitled "Endorsements", provided it contains
nothing but endorsements of your Modified Version by various
parties--for example, statements of peer review or that the text has
been approved by an organization as the authoritative definition of a
standard.
-
+
You may add a passage of up to five words as a Front-Cover Text, and a
passage of up to 25 words as a Back-Cover Text, to the end of the list
of Cover Texts in the Modified Version. Only one passage of
@@ -278,21 +278,21 @@ includes a cover text for the same cover, previously added by you or
by arrangement made by the same entity you are acting on behalf of,
you may not add another; but you may replace the old one, on explicit
permission from the previous publisher that added the old one.
-
+
The author(s) and publisher(s) of the Document do not by this License
give permission to use their names for publicity for or to assert or
imply endorsement of any Modified Version.
-
+
5. COMBINING DOCUMENTS
-
+
You may combine the Document with other documents released under this
License, under the terms defined in section 4 above for modified
versions, provided that you include in the combination all of the
Invariant Sections of all of the original documents, unmodified, and
list them all as Invariant Sections of your combined work in its
license notice, and that you preserve all their Warranty Disclaimers.
-
+
The combined work need only contain one copy of this License, and
multiple identical Invariant Sections may be replaced with a single
copy. If there are multiple Invariant Sections with the same name but
@@ -301,30 +301,30 @@ adding at the end of it, in parentheses, the name of the original
author or publisher of that section if known, or else a unique number.
Make the same adjustment to the section titles in the list of
Invariant Sections in the license notice of the combined work.
-
+
In the combination, you must combine any sections Entitled "History"
in the various original documents, forming one section Entitled
"History"; likewise combine any sections Entitled "Acknowledgements",
and any sections Entitled "Dedications". You must delete all sections
Entitled "Endorsements".
-
+
6. COLLECTIONS OF DOCUMENTS
-
+
You may make a collection consisting of the Document and other documents
released under this License, and replace the individual copies of this
License in the various documents with a single copy that is included in
the collection, provided that you follow the rules of this License for
verbatim copying of each of the documents in all other respects.
-
+
You may extract a single document from such a collection, and distribute
it individually under this License, provided you insert a copy of this
License into the extracted document, and follow this License in all
other respects regarding verbatim copying of that document.
-
+
7. AGGREGATION WITH INDEPENDENT WORKS
-
+
A compilation of the Document or its derivatives with other separate
and independent documents or works, in or on a volume of a storage or
distribution medium, is called an "aggregate" if the copyright
@@ -333,7 +333,7 @@ of the compilation's users beyond what the individual works permit.
When the Document is included in an aggregate, this License does not
apply to the other works in the aggregate which are not themselves
derivative works of the Document.
-
+
If the Cover Text requirement of section 3 is applicable to these
copies of the Document, then if the Document is less than one half of
the entire aggregate, the Document's Cover Texts may be placed on
@@ -341,10 +341,10 @@ covers that bracket the Document within the aggregate, or the
electronic equivalent of covers if the Document is in electronic form.
Otherwise they must appear on printed covers that bracket the whole
aggregate.
-
+
8. TRANSLATION
-
+
Translation is considered a kind of modification, so you may
distribute translations of the Document under the terms of section 4.
Replacing Invariant Sections with translations requires special
@@ -357,15 +357,15 @@ the original English version of this License and the original versions
of those notices and disclaimers. In case of a disagreement between
the translation and the original version of this License or a notice
or disclaimer, the original version will prevail.
-
+
If a section in the Document is Entitled "Acknowledgements",
"Dedications", or "History", the requirement (section 4) to Preserve
its Title (section 1) will typically require changing the actual
title.
-
+
9. TERMINATION
-
+
You may not copy, modify, sublicense, or distribute the Document except
as expressly provided for under this License. Any other attempt to
copy, modify, sublicense or distribute the Document is void, and will
@@ -373,16 +373,16 @@ 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.
-
+
10. FUTURE REVISIONS OF THIS LICENSE
-
+
The Free Software Foundation may publish new, revised versions
of the GNU Free Documentation 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. See
http://www.gnu.org/copyleft/.
-
+
Each version of the License is given a distinguishing version number.
If the Document specifies that a particular numbered version of this
License "or any later version" applies to it, you have the option of
@@ -391,14 +391,14 @@ of any later version that has been published (not as a draft) by the
Free Software Foundation. If the Document does not specify a version
number of this License, you may choose any version ever published (not
as a draft) by the Free Software Foundation.
-
+
ADDENDUM: How to use this License for your documents
-
+
To use this License in a document you have written, include a copy of
the License in the document and put the following copyright and
license notices just after the title page:
-
+
Copyright (c) YEAR YOUR NAME.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
@@ -406,17 +406,17 @@ license notices just after the title page:
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the section entitled "GNU
Free Documentation License".
-
+
If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
replace the "with...Texts." line with this:
-
+
with the Invariant Sections being LIST THEIR TITLES, with the
Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
-
+
If you have Invariant Sections without Cover Texts, or some other
combination of the three, merge those two alternatives to suit the
situation.
-
+
If your document contains nontrivial examples of program code, we
recommend releasing these examples in parallel under your choice of
free software license, such as the GNU General Public License,
diff --git a/src/licensedcode/data/licenses/gpl-1.0.LICENSE b/src/licensedcode/data/licenses/gpl-1.0.LICENSE
index d178c5b5b39..55998ed45de 100644
--- a/src/licensedcode/data/licenses/gpl-1.0.LICENSE
+++ b/src/licensedcode/data/licenses/gpl-1.0.LICENSE
@@ -25,15 +25,15 @@ ignorable_holders:
GNU GENERAL PUBLIC LICENSE
Version 1, February 1989
-
+
Copyright (C) 1989 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
+
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
-
+
Preamble
-
+
The license agreements of most software companies try to keep users
at the mercy of those companies. By contrast, our General Public
License is intended to guarantee your freedom to share and change free
@@ -41,42 +41,42 @@ software--to make sure the software is free for all its users. The
General Public License applies to the Free Software Foundation's
software and to any other program whose authors commit to using it.
You can use it for your programs, too.
-
+
When we speak of free software, we are referring to freedom, not
price. Specifically, the General Public License is designed to make
sure that you have the freedom to give away or sell copies of free
software, that you receive source code or can get it if you want it,
that you can change the software or use pieces of it in new free
programs; and that you know you can do these things.
-
+
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
-
+
For example, if you distribute copies of a such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must tell them their rights.
-
+
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
-
+
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
-
+
The precise terms and conditions for copying, distribution and
modification follow.
-
+
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
+
0. This License Agreement applies to any program or other work which
contains a notice placed by the copyright holder saying it may be
distributed under the terms of this General Public License. The
@@ -84,7 +84,7 @@ distributed under the terms of this General Public License. The
on the Program" means either the Program or any work containing the
Program or a portion of it, either verbatim or with modifications. Each
licensee is addressed as "you".
-
+
1. You may copy and distribute verbatim copies of the Program's source
code as you receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice and
@@ -93,21 +93,21 @@ General Public License and to the absence of any warranty; and give any
other recipients of the Program a copy of this General Public License
along with the Program. You may charge a fee for the physical act of
transferring a copy.
-
+
2. You may modify your copy or copies of the Program or any portion of
it, and copy and distribute such modifications under the terms of Paragraph
1 above, provided that you also do the following:
-
+
a) cause the modified files to carry prominent notices stating that
you changed the files and the date of any change; and
-
+
b) cause the whole of any work that you distribute or publish, that
in whole or in part contains the Program or any part thereof, either
with or without modifications, to be licensed at no charge to all
third parties under the terms of this General Public License (except
that you may choose to grant warranty protection to some or all
third parties, at your option).
-
+
c) If the modified program normally reads commands interactively when
run, you must cause it, when started running for such interactive use
in the simplest and most usual way, to print or display an
@@ -116,35 +116,35 @@ it, and copy and distribute such modifications under the terms of Paragraph
warranty) and that users may redistribute the program under these
conditions, and telling the user how to view a copy of this General
Public License.
-
+
d) 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.
-
+
Mere aggregation of another independent work with the Program (or its
derivative) on a volume of a storage or distribution medium does not bring
the other work under the scope of these terms.
-
+
3. You may copy and distribute the Program (or a portion or derivative of
it, under Paragraph 2) in object code or executable form under the terms of
Paragraphs 1 and 2 above provided that you also do one of the following:
-
+
a) accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of
Paragraphs 1 and 2 above; or,
-
+
b) accompany it with a written offer, valid for at least three
years, to give any third party free (except for a nominal charge
for the cost of distribution) a complete machine-readable copy of the
corresponding source code, to be distributed under the terms of
Paragraphs 1 and 2 above; or,
-
+
c) accompany it with the information you received as to where the
corresponding source code may be obtained. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form alone.)
-
+
Source code for a work means the preferred form of the work for making
modifications to it. For an executable file, complete source code means
all the source code for all modules it contains; but, as a special
@@ -152,7 +152,7 @@ exception, it need not include source code for modules which are standard
libraries that accompany the operating system on which the executable
file runs, or for standard header files or definitions files that
accompany that operating system.
-
+
4. You may not copy, modify, sublicense, distribute or transfer the
Program except as expressly provided under this General Public License.
Any attempt otherwise to copy, modify, sublicense, distribute or transfer
@@ -161,23 +161,23 @@ the Program under this License. However, parties who have received
copies, or rights to use copies, from you under this General Public
License will not have their licenses terminated so long as such parties
remain in full compliance.
-
+
5. By copying, distributing or modifying the Program (or any work based
on the Program) you indicate your acceptance of this license to do so,
and all its terms and conditions.
-
+
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the original
licensor to copy, distribute or modify the Program subject to these
terms and conditions. You may not impose any further restrictions on the
recipients' exercise of the rights granted herein.
-
+
7. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
-
+
Each version is given a distinguishing version number. If the Program
specifies a version number of the license which applies to it and "any
later version", you have the option of following the terms and conditions
@@ -185,7 +185,7 @@ either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
the license, you may choose any version ever published by the Free Software
Foundation.
-
+
8. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
@@ -193,9 +193,9 @@ 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
-
+
9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
@@ -205,7 +205,7 @@ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
-
+
10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
@@ -215,65 +215,65 @@ TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
-
+
END OF TERMS AND CONDITIONS
-
+
Appendix: How to Apply These Terms to Your New Programs
-
+
If you develop a new program, and you want it to be of the greatest
possible use to humanity, the best way to achieve this is to make it
free software which everyone can redistribute and change under these
terms.
-
+
To do so, attach the following notices to the program. It is safest to
attach them to the start of each source file to most effectively convey
the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
-
+
Copyright (C) 19yy
-
+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 1, or (at your option)
any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
-
+
Also add information on how to contact you by electronic and paper mail.
-
+
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
-
+
Gnomovision version 69, Copyright (C) 19xx name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
-
+
The hypothetical commands `show w' and `show c' should show the
appropriate parts of the General Public License. Of course, the
commands you use may be called something other than `show w' and `show
c'; they could even be mouse-clicks or menu items--whatever suits your
program.
-
+
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here a sample; alter the names:
-
+
Yoyodyne, Inc., hereby disclaims all copyright interest in the
program `Gnomovision' (a program to direct compilers to make passes
at assemblers) written by James Hacker.
-
+
, 1 April 1989
Ty Coon, President of Vice
-
+
That's all there is to it!
\ No newline at end of file
diff --git a/src/licensedcode/data/licenses/gpl-2.0.LICENSE b/src/licensedcode/data/licenses/gpl-2.0.LICENSE
index 9a520701294..9e1d5e14986 100644
--- a/src/licensedcode/data/licenses/gpl-2.0.LICENSE
+++ b/src/licensedcode/data/licenses/gpl-2.0.LICENSE
@@ -44,14 +44,14 @@ ignorable_holders:
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
-
+
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
-
+
Preamble
-
+
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
@@ -61,48 +61,48 @@ Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
-
+
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
-
+
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
-
+
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
-
+
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
-
+
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
-
+
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
-
+
The precise terms and conditions for copying, distribution and
modification follow.
-
+
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
+
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
@@ -112,14 +112,14 @@ that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
-
+
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
-
+
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
@@ -127,23 +127,23 @@ copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
-
+
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
-
+
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
-
+
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
-
+
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
-
+
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
@@ -154,7 +154,7 @@ above, provided that you also meet all of these conditions:
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
-
+
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
@@ -164,38 +164,38 @@ distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
-
+
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
-
+
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
-
+
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
-
+
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
-
+
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
-
+
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
-
+
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
@@ -206,13 +206,13 @@ anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
-
+
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
-
+
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
@@ -220,7 +220,7 @@ void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
-
+
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
@@ -229,7 +229,7 @@ modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
-
+
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
@@ -237,7 +237,7 @@ these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
-
+
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
@@ -250,12 +250,12 @@ license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
-
+
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
-
+
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
@@ -266,10 +266,10 @@ through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
-
+
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
-
+
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
@@ -277,12 +277,12 @@ may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
-
+
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
-
+
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
@@ -290,7 +290,7 @@ either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
-
+
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
@@ -298,9 +298,9 @@ Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
-
+
NO WARRANTY
-
+
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
@@ -310,7 +310,7 @@ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
-
+
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
@@ -320,62 +320,62 @@ TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
-
+
END OF TERMS AND CONDITIONS
-
+
How to Apply These Terms to Your New Programs
-
+
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
-
+
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
-
+
Copyright (C)
-
+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
+
Also add information on how to contact you by electronic and paper mail.
-
+
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
-
+
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
-
+
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
-
+
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
-
+
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
-
+
, 1 April 1989
Ty Coon, President of Vice
-
+
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
diff --git a/src/licensedcode/data/licenses/gpl-3.0.LICENSE b/src/licensedcode/data/licenses/gpl-3.0.LICENSE
index 0ac98ebe5f3..fa5254dbcf5 100644
--- a/src/licensedcode/data/licenses/gpl-3.0.LICENSE
+++ b/src/licensedcode/data/licenses/gpl-3.0.LICENSE
@@ -35,16 +35,16 @@ ignorable_urls:
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
-
+
Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
-
+
Preamble
-
+
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
-
+
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
@@ -53,35 +53,35 @@ software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
-
+
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
-
+
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
-
+
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
-
+
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
-
+
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
-
+
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
@@ -92,49 +92,49 @@ have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
-
+
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
-
+
The precise terms and conditions for copying, distribution and
modification follow.
-
+
TERMS AND CONDITIONS
-
+
0. Definitions.
-
+
"This License" refers to version 3 of the GNU General Public License.
-
+
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
-
+
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
-
+
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
-
+
A "covered work" means either the unmodified Program or a work based
on the Program.
-
+
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
-
+
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
-
+
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
@@ -143,18 +143,18 @@ extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
-
+
1. Source Code.
-
+
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
-
+
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
-
+
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
@@ -165,7 +165,7 @@ implementation is available to the public in source code form. A
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
-
+
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
@@ -178,16 +178,16 @@ the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
-
+
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
-
+
The Corresponding Source for a work in source code form is that
same work.
-
+
2. Basic Permissions.
-
+
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
@@ -195,7 +195,7 @@ permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
-
+
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
@@ -206,19 +206,19 @@ not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
-
+
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
-
+
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
-
+
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
-
+
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
@@ -226,9 +226,9 @@ the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
-
+
4. Conveying Verbatim Copies.
-
+
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
@@ -236,24 +236,24 @@ keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
-
+
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
-
+
5. Conveying Modified Source Versions.
-
+
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
-
+
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
-
+
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
-
+
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
@@ -261,12 +261,12 @@ terms of section 4, provided that you also meet all of these conditions:
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
-
+
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
-
+
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
@@ -276,19 +276,19 @@ used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
-
+
6. Conveying Non-Source Forms.
-
+
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
-
+
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
-
+
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
@@ -300,13 +300,13 @@ in one of these ways:
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
-
+
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
-
+
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
@@ -319,16 +319,16 @@ in one of these ways:
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
-
+
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
-
+
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
-
+
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
@@ -341,7 +341,7 @@ actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
-
+
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
@@ -349,7 +349,7 @@ a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
-
+
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
@@ -360,7 +360,7 @@ by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
-
+
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
@@ -368,15 +368,15 @@ the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
-
+
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
-
+
7. Additional Terms.
-
+
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
@@ -385,41 +385,41 @@ that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
-
+
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
-
+
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
-
+
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
-
+
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
-
+
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
-
+
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
-
+
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
-
+
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
-
+
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
@@ -429,46 +429,46 @@ a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
-
+
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
-
+
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
-
+
8. Termination.
-
+
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
-
+
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
-
+
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
-
+
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
-
+
9. Acceptance Not Required for Having Copies.
-
+
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
@@ -477,14 +477,14 @@ nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
-
+
10. Automatic Licensing of Downstream Recipients.
-
+
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
-
+
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
@@ -494,7 +494,7 @@ licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
-
+
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
@@ -502,13 +502,13 @@ rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
-
+
11. Patents.
-
+
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
-
+
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
@@ -518,19 +518,19 @@ consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
-
+
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
-
+
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
-
+
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
@@ -544,7 +544,7 @@ actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
-
+
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
@@ -552,7 +552,7 @@ receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
-
+
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
@@ -567,13 +567,13 @@ conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
-
+
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
-
+
12. No Surrender of Others' Freedom.
-
+
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
@@ -583,9 +583,9 @@ not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
-
+
13. Use with the GNU Affero General Public License.
-
+
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
@@ -594,14 +594,14 @@ License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
-
+
14. Revised Versions of this License.
-
+
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
-
+
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
@@ -610,19 +610,19 @@ version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
-
+
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
-
+
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
-
+
15. Disclaimer of Warranty.
-
+
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
@@ -631,9 +631,9 @@ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
+
16. Limitation of Liability.
-
+
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
@@ -643,64 +643,64 @@ DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
-
+
17. Interpretation of Sections 15 and 16.
-
+
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
-
+
END OF TERMS AND CONDITIONS
-
+
How to Apply These Terms to Your New Programs
-
+
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
-
+
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
-
+
Copyright (C)
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-
+
Also add information on how to contact you by electronic and paper mail.
-
+
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
-
+
Copyright (C)
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
-
+
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
-
+
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
.
-
+
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
diff --git a/src/licensedcode/data/licenses/hpnd-sell-variant-mit-disclaimer.LICENSE b/src/licensedcode/data/licenses/hpnd-sell-variant-mit-disclaimer.LICENSE
index 2a61bb070b9..8c73ce81295 100644
--- a/src/licensedcode/data/licenses/hpnd-sell-variant-mit-disclaimer.LICENSE
+++ b/src/licensedcode/data/licenses/hpnd-sell-variant-mit-disclaimer.LICENSE
@@ -13,11 +13,11 @@ spdx_license_key: HPND-sell-variant-MIT-disclaimer
provided that the above copyright notice appear in all copies and
that both that copyright notice and this permission notice appear in
supporting documentation.
-
+
+------------+
| Disclaimer |
+------------+
-
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
express or implied, including but not limited to the warranties of
merchantability, fitness for a particular purpose and
diff --git a/src/licensedcode/data/licenses/infineon-free.LICENSE b/src/licensedcode/data/licenses/infineon-free.LICENSE
index 7dd614bf17c..3ee7c0ec164 100644
--- a/src/licensedcode/data/licenses/infineon-free.LICENSE
+++ b/src/licensedcode/data/licenses/infineon-free.LICENSE
@@ -17,7 +17,7 @@ warranties of merchantability and fitness for a particular purpose. The
entire risk as to the quality and performance of the program is with
you. should the program prove defective, you assume the cost of all
necessary servicing, repair or correction.
-
+
In no event unless required by applicable law or agreed to in writing
will any copyright holder, or any other party who may modify and/or
redistribute the program as permitted above, be liable to you for
diff --git a/src/licensedcode/data/licenses/jprs-oscl-1.1.LICENSE b/src/licensedcode/data/licenses/jprs-oscl-1.1.LICENSE
index fbdc87de973..1dc06c4475e 100644
--- a/src/licensedcode/data/licenses/jprs-oscl-1.1.LICENSE
+++ b/src/licensedcode/data/licenses/jprs-oscl-1.1.LICENSE
@@ -23,13 +23,13 @@ ignorable_urls:
FOR
OPEN SOURCE CODE LICENSE
Version 1.1
-
+
Japan Registry Services Co., Ltd. ("JPRS"), a Japanese corporation
having its head office at Chiyoda First Bldg. East 13F 3-8-1 Nishi-Kanda,
Chiyoda-ku, Tokyo 101-0065, Japan, grants you the license for open source
code specified in EXHIBIT A the "Code" subject to the following Terms and
Conditions ("OSCL").
-
+
1. License Grant.
JPRS hereby grants you a worldwide, royalty-free, non-exclusive
license, subject to third party intellectual property claims:
@@ -51,7 +51,7 @@ Conditions ("OSCL").
3) for infringements caused by:
i) modification of the Code; or
ii) combination of the Code with other software or devices.
-
+
2. Consents.
You agree that:
(a) you must include a copy of this OSCL and the notice set forth in
@@ -64,7 +64,7 @@ Conditions ("OSCL").
the recipients' rights hereunder.
(d) If the terms and conditions are set forth in EXHIBIT A, you must
comply with those terms and conditions.
-
+
3. Proprietary Information.
All trademarks, service marks, patents, copyrights, trade secrets, and
other proprietary rights in or related to the Code are and will remain
@@ -73,7 +73,7 @@ Conditions ("OSCL").
in this OSCL; provided however you agree and understand that the JPRS
name may not be used to endorse or promote this Code without prior
written approval of JPRS.
-
+
4. WARRANTY DISCLAIMER.
JPRS MAKES NO REPRESENTATIONS AND WARRANTIES REGARDING THE USE OF THE
CODE, NOR DOES JPRS MAKE ANY REPRESENTATIONS THAT THE CODE WILL BECOME
@@ -87,7 +87,7 @@ Conditions ("OSCL").
DEALING, CUSTOM, TRADE USAGE, ORAL OR WRITTEN STATEMENT OR OTHERWISE,
INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY
OR FITNESS FOR A PARTICULAR PURPOSE CONCERNING THE CODE.
-
+
5. NO LIABILITY.
UNDER NO CIRCUMSTANCES SHALL JPRS AND/OR ITS AFFILIATES, LICENSORS, OR
REPRESENTATIVES BE LIABLE FOR ANY DAMAGES INCLUDING BUT NOT LIMITED TO
@@ -97,12 +97,12 @@ Conditions ("OSCL").
MONEY, INTERRUPTION IN USE OR AVAILABILITY OF DATA, STOPPAGE, IMPLIED
WARRANTY, BREACH OF CONTRACT, MISREPRESENTATION, NEGLIGENCE, STRICT
LIABILITY IN TORT, OR OTHERWISE.
-
+
6. Indemnification.
You hereby agree to indemnify, defend, and hold harmless JPRS for any
liability incurred by JRPS due to your terms of warranty, support,
indemnity, or liability offered by you to any third party.
-
+
7. Termination.
7.1 This OSCL shall be automatically terminated in the events that:
(a) You fail to comply with the terms herein and fail to cure such
@@ -116,53 +116,53 @@ Conditions ("OSCL").
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.
-
+
8. General.
This OSCL shall be governed by, and construed and enforced in
accordance with, the laws of Japan. Any litigation or arbitration
between the parties shall be conducted exclusively in Tokyo, Japan
except written consent of JPRS provides other venue.
-
+
EXHIBIT A
-
+
The original open source code of idnkit-2 is idnkit-1.0 developed and
conceived by Japan Network Information Center ("JPNIC"), a Japanese
association, Kokusai-Kougyou-Kanda Bldg 6F, 2-3-4 Uchi-Kanda,
Chiyoda-ku, Tokyo 101-0047, Japan, and JPRS modifies above original code
under following Terms and Conditions set forth by JPNIC.
-
+
JPNIC
-
+
Copyright (c) 2000-2002 Japan Network Information Center. All rights reserved.
-
+
By using this file, you agree to the terms and conditions set forth bellow.
-
+
LICENSE TERMS AND CONDITIONS
-
+
The following License Terms and Conditions apply, unless a different
license is obtained from Japan Network Information Center ("JPNIC"),
a Japanese association, Kokusai-Kougyou-Kanda Bldg 6F, 2-3-4 Uchi-Kanda,
Chiyoda-ku, Tokyo 101-0047, Japan.
-
+
1. Use, Modification and Redistribution (including distribution of any
modified or derived work) in source and/or binary forms is permitted
under this License Terms and Conditions.
-
+
2. Redistribution of source code must retain the copyright notices as they
appear in each source code file, this License Terms and Conditions.
-
+
3. Redistribution in binary form must reproduce the Copyright Notice,
this License Terms and Conditions, in the documentation and/or other
materials provided with the distribution. For the purposes of binary
distribution the "Copyright Notice" refers to the following language:
"Copyright (c) 2000-2002 Japan Network Information Center. All rights reserved."
-
+
4. The name of JPNIC may not be used to endorse or promote products
derived from this Software without specific prior written approval of
JPNIC.
-
+
5. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY JPNIC
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
@@ -174,12 +174,12 @@ Chiyoda-ku, Tokyo 101-0047, Japan.
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
+
JPRS Public License Notice
For
idnkit-2.
-
+
The contents of this file are subject to the Terms and Conditions for
the Open Source Code License (the "OSCL"). You may not use this file
except in compliance with above terms and conditions. A copy of the OSCL
@@ -192,7 +192,7 @@ Kokusai-Kougyou-Kanda Bldg 6F, 2-3-4 Uchi-Kanda, Chiyoda-ku, Tokyo
"Copyright (c) 2000-2002 Japan Network Information Center. All rights reserved."
"Copyright (c) 2010-2012 Japan Registry Services Co., Ltd. All rights reserved."
Contributor(s): ______________________________________.
-
+
If you wish to allow use of your version of this file only under the
above License(s) and not to allow others to use your version of this
file, please indicate your decision by deleting the relevant provisions
diff --git a/src/licensedcode/data/licenses/json-pd.LICENSE b/src/licensedcode/data/licenses/json-pd.LICENSE
index fd3cd69388c..ede9425e36f 100644
--- a/src/licensedcode/data/licenses/json-pd.LICENSE
+++ b/src/licensedcode/data/licenses/json-pd.LICENSE
@@ -15,12 +15,12 @@ ignorable_urls:
---
Public Domain.
-
+
NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
-
+
See http://www.JSON.org/js.html
-
+
This code should be minified before deployment.
See http://javascript.crockford.com/jsmin.html
-
+
USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO NOT CONTROL.
\ No newline at end of file
diff --git a/src/licensedcode/data/licenses/ldpgpl-1.LICENSE b/src/licensedcode/data/licenses/ldpgpl-1.LICENSE
index 7db3936b316..b8d8e4d4f3f 100644
--- a/src/licensedcode/data/licenses/ldpgpl-1.LICENSE
+++ b/src/licensedcode/data/licenses/ldpgpl-1.LICENSE
@@ -11,9 +11,9 @@ text_urls:
LDP GENERAL PUBLIC LICENSE
Version 1, September 1998
-
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
+
0. This License applies to any document which contains a notice
placed by the copyright holder saying it may be distributed
under the terms of this LDP General Public License.
@@ -24,10 +24,10 @@ a work containing the Document or part of it, either verbatim
or with modifications and/or translated into another language.
(Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
-
+
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope.
-
+
1. You may copy and distribute verbatim copies of the Document's
source code as you receive it, in any medium, provided that you
appropriately publish on each copy an appropriate copyright notice
@@ -35,36 +35,36 @@ and disclaimer of warranty; keep intact all the notices that refer
to this License and to the absence of any warranty; and give any
other recipients of the Document a copy of this License along with
the Document.
-
+
You may charge a fee for the physical act of producing or transferring
a copy.
-
+
2. You may modify your copy or copies of the Document or any portion
of it, thus forming a work based on the Document, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
-
+
a) You must cause the modified files to carry notices
stating that you changed the files and the date of any change.
-
+
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Document or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
-
+
c) You must not add notes to the Document implying that the
reader had better read something produced using Texinfo.
-
+
3. You may copy and distribute the Document (or a work based on it,
under Section 2) in any form under the terms of Sections 1 and 2 above
provided that you also either accompany it with the complete corresponding
machine-readable source code, or provide an URL, valid for at least
three months, where this complete corresponding machine-readable source code
is available, and can be retrieved by any anonymous user.
-
+
4. You may not copy, modify, sublicense, or distribute the Document
except as expressly provided under this License.
-
+
5. Each time you redistribute the Document (or any work based on the
Document), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Document subject to
diff --git a/src/licensedcode/data/licenses/lgpl-2.1.LICENSE b/src/licensedcode/data/licenses/lgpl-2.1.LICENSE
index aae63c65fe9..d7f2a798150 100644
--- a/src/licensedcode/data/licenses/lgpl-2.1.LICENSE
+++ b/src/licensedcode/data/licenses/lgpl-2.1.LICENSE
@@ -37,30 +37,30 @@ ignorable_holders:
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
-
+
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
-
+
[This is the first released version of the Lesser GPL. It also counts
as the successor of the GNU Library Public License, version 2, hence
the version number 2.1.]
-
+
Preamble
-
+
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
-
+
This license, the Lesser General Public License, applies to some
specially designated software packages--typically libraries--of the
Free Software Foundation and other authors who decide to use it. You
can use it too, but we suggest you first think carefully about whether
this license or the ordinary General Public License is the better
strategy to use in any particular case, based on the explanations below.
-
+
When we speak of free software, we are referring to freedom of use,
not price. Our General Public Licenses are designed to make sure that
you have the freedom to distribute copies of free software (and charge
@@ -68,12 +68,12 @@ 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
@@ -81,18 +81,18 @@ 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
@@ -100,14 +100,14 @@ 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
@@ -115,7 +115,7 @@ 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
@@ -123,7 +123,7 @@ 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
@@ -131,39 +131,39 @@ 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
@@ -171,13 +171,13 @@ 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
@@ -185,7 +185,7 @@ 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
@@ -193,25 +193,25 @@ 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
@@ -219,14 +219,14 @@ above, provided that you also meet all of these conditions:
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
@@ -237,17 +237,17 @@ 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
@@ -256,59 +256,59 @@ 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
@@ -316,7 +316,7 @@ 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
@@ -324,7 +324,7 @@ 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
@@ -336,7 +336,7 @@ of these things:
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,
@@ -344,19 +344,19 @@ of these things:
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,
@@ -365,13 +365,13 @@ 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
@@ -379,16 +379,16 @@ 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
@@ -396,7 +396,7 @@ 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
@@ -405,7 +405,7 @@ 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
@@ -413,7 +413,7 @@ 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),
@@ -427,11 +427,11 @@ 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
@@ -442,10 +442,10 @@ 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
@@ -453,12 +453,12 @@ 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
@@ -466,7 +466,7 @@ 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,
@@ -476,9 +476,9 @@ 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
@@ -488,7 +488,7 @@ 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
@@ -499,50 +499,50 @@ 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, Fifth Floor, Boston, MA 02110-1301 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!
\ No newline at end of file
diff --git a/src/licensedcode/data/licenses/lgpl-3.0.LICENSE b/src/licensedcode/data/licenses/lgpl-3.0.LICENSE
index 05bd8e60f74..6f998a2284b 100644
--- a/src/licensedcode/data/licenses/lgpl-3.0.LICENSE
+++ b/src/licensedcode/data/licenses/lgpl-3.0.LICENSE
@@ -33,104 +33,104 @@ ignorable_urls:
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
-
+
Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
-
+
This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
-
+
0. Additional Definitions.
-
+
As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.
-
+
"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.
-
+
An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.
-
+
A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".
-
+
The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.
-
+
The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.
-
+
1. Exception to Section 3 of the GNU GPL.
-
+
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
-
+
2. Conveying Modified Versions.
-
+
If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:
-
+
a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
-
+
b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.
-
+
3. Object Code Incorporating Material from Library Header Files.
-
+
The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:
-
+
a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
-
+
b) Accompany the object code with a copy of the GNU GPL and this license
document.
-
+
4. Combined Works.
-
+
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
-
+
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
-
+
b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.
-
+
c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.
-
+
d) Do one of the following:
-
+
0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
@@ -138,14 +138,14 @@ the following:
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.
-
+
1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.
-
+
e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
@@ -157,30 +157,30 @@ the following:
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)
-
+
5. Combined Libraries.
-
+
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 that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
-
+
a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
-
+
b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
-
+
6. Revised Versions of the GNU Lesser General Public License.
-
+
The Free Software Foundation may publish revised and/or new versions
of the GNU 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 as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
@@ -190,7 +190,7 @@ published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.
-
+
If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
diff --git a/src/licensedcode/data/licenses/libutil-david-nugent.LICENSE b/src/licensedcode/data/licenses/libutil-david-nugent.LICENSE
index 75f42a6bae2..ff87248311b 100644
--- a/src/licensedcode/data/licenses/libutil-david-nugent.LICENSE
+++ b/src/licensedcode/data/licenses/libutil-david-nugent.LICENSE
@@ -9,6 +9,7 @@ other_urls:
- http://web.mit.edu/freebsd/head/lib/libutil/login_ok.3
- https://cgit.freedesktop.org/libbsd/tree/man/setproctitle.3bsd
---
+
Redistribution and use in source and binary forms, with or without
modification, is permitted provided that the following conditions
are met:
diff --git a/src/licensedcode/data/licenses/mame.LICENSE b/src/licensedcode/data/licenses/mame.LICENSE
index b9af05f7a2f..f4a44c5cfaf 100644
--- a/src/licensedcode/data/licenses/mame.LICENSE
+++ b/src/licensedcode/data/licenses/mame.LICENSE
@@ -10,10 +10,10 @@ spdx_license_key: LicenseRef-scancode-mame
Redistribution and use of the MAME code or any derivative works are
permitted provided that the following conditions are met:
-
+
Redistributions may not be sold, nor may they be used in a
commercial product or activity.
-
+
Redistributions that are modified from the original source must
include the complete source code, including the source code for all
components used by a binary built from the modified sources.
@@ -22,11 +22,11 @@ spdx_license_key: LicenseRef-scancode-mame
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.
-
+
Redistributions must reproduce the above copyright notice, this list
of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
-
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
diff --git a/src/licensedcode/data/licenses/ms-net-library-2016-05.LICENSE b/src/licensedcode/data/licenses/ms-net-library-2016-05.LICENSE
index 1b2189f3414..f2f53aba539 100644
--- a/src/licensedcode/data/licenses/ms-net-library-2016-05.LICENSE
+++ b/src/licensedcode/data/licenses/ms-net-library-2016-05.LICENSE
@@ -17,181 +17,181 @@ ignorable_urls:
---
MICROSOFT SOFTWARE LICENSE TERMS
-
+
MICROSOFT .NET LIBRARY
-
+
These license terms are an agreement between Microsoft Corporation (or based on
where you live, one of its affiliates) and you. Please read them. They apply to
the software named above, which includes the media on which you received it, if
any. The terms also apply to any Microsoft
-
+
. updates,
-
+
. supplements,
-
+
. Internet-based services, and
-
+
. support services
-
+
for this software, unless other terms accompany those items. If so, those terms
apply.
-
+
BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT
USE THE SOFTWARE.
-
+
IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE PERPETUAL RIGHTS BELOW.
-
+
1. INSTALLATION AND USE RIGHTS.
-
+
a. Installation and Use. You may install and use any number of copies of the
software to design, develop and test your programs.
-
+
b. Third Party Programs. The software may include third party programs that
Microsoft, not the third party, licenses to you under this agreement. Notices,
if any, for the third party program are included for your information only.
-
+
2. DATA. The software may collect information about you and your use of the
software, and send that to Microsoft. Microsoft may use this information to
improve our products and services. You can learn more about data collection and
use in the help documentation and the privacy statement at
http://go.microsoft.com/fwlink/?LinkId=528096 . Your use of the software
operates as your consent to these practices.
-
+
3. ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS.
-
+
a. DISTRIBUTABLE CODE. The software is comprised of Distributable Code.
"Distributable Code" is code that you are permitted to distribute in programs
you develop if you comply with the terms below.
-
+
i . Right to Use and Distribute.
-
+
. You may copy and distribute the object code form of the software.
-
+
. Third Party Distribution. You may permit distributors of your programs to copy
and distribute the Distributable Code as part of those programs.
-
+
ii. Distribution Requirements. For any Distributable Code you distribute, you
must
-
+
. add significant primary functionality to it in your programs;
-
+
. require distributors and external end users to agree to terms that protect it
at least as much as this agreement;
-
+
. display your valid copyright notice on your programs; and
-
+
. indemnify, defend, and hold harmless Microsoft from any claims, including
attorneys' fees, related to the distribution or use of your programs.
-
+
iii. Distribution Restrictions. You may not
-
+
. alter any copyright, trademark or patent notice in the Distributable Code;
-
+
. use Microsoft's trademarks in your programs' names or in a way that suggests
your programs come from or are endorsed by Microsoft;
-
+
. include Distributable Code in malicious, deceptive or unlawful programs; or
-
+
. modify or distribute the source code of any Distributable Code so that any
part of it becomes subject to an Excluded License. An Excluded License is one
that requires, as a condition of use, modification or distribution, that
-
+
. the code be disclosed or distributed in source code form; or
-
+
. others have the right to modify it.
-
+
4. SCOPE OF LICENSE. The software is licensed, not sold. This agreement only
gives you some rights to use the software. Microsoft reserves all other rights.
Unless applicable law gives you more rights despite this limitation, you may use
the software only as expressly permitted in this agreement. In doing so, you
must comply with any technical limitations in the software that only allow you
to use it in certain ways. You may not
-
+
. work around any technical limitations in the software;
-
+
. reverse engineer, decompile or disassemble the software, except and only to
the extent that applicable law expressly permits, despite this limitation;
-
+
. publish the software for others to copy;
-
+
. rent, lease or lend the software;
-
+
. transfer the software or this agreement to any third party; or
-
+
. use the software for commercial software hosting services.
-
+
5. BACKUP COPY. You may make one backup copy of the software. You may use it
only to reinstall the software.
-
+
6. DOCUMENTATION. Any person that has valid access to your computer or internal
network may copy and use the documentation for your internal, reference
purposes.
-
+
7. EXPORT RESTRICTIONS. The software is subject to United States export laws and
regulations. You must comply with all domestic and international export laws and
regulations that apply to the software. These laws include restrictions on
destinations, end users and end use. For additional information, see
www.microsoft.com/exporting.
-
+
8. SUPPORT SERVICES. Because this software is "as is," we may not provide
support services for it.
-
+
9. ENTIRE AGREEMENT. This agreement, and the terms for supplements, updates,
Internet-based services and support services that you use, are the entire
agreement for the software and support services.
-
+
10. APPLICABLE LAW.
-
+
a. United States. If you acquired the software in the United States, Washington
state law governs the interpretation of this agreement and applies to claims for
breach of it, regardless of conflict of laws principles. The laws of the state
where you live govern all other claims, including claims under state consumer
protection laws, unfair competition laws, and in tort.
-
+
b. Outside the United States. If you acquired the software in any other country,
the laws of that country apply.
-
+
11. LEGAL EFFECT. This agreement describes certain legal rights. You may have
other rights under the laws of your country. You may also have rights with
respect to the party from whom you acquired the software. This agreement does
not change your rights under the laws of your country if the laws of your
country do not permit it to do so.
-
+
12. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED "AS-IS." YOU BEAR THE RISK
OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS.
YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS OR STATUTORY GUARANTEES UNDER YOUR LOCAL
LAWS WHICH THIS AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED UNDER YOUR
LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
-
+
FOR AUSTRALIA – YOU HAVE STATUTORY GUARANTEES UNDER THE AUSTRALIAN CONSUMER LAW
AND NOTHING IN THESE TERMS IS INTENDED TO AFFECT THOSE RIGHTS.
-
+
13. LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. YOU CAN RECOVER FROM
MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT
RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL,
INDIRECT OR INCIDENTAL DAMAGES.
-
+
This limitation applies to
-
+
. anything related to the software, services, content (including code) on third
party Internet sites, or third party programs; and
-
+
. claims for breach of contract, breach of warranty, guarantee or condition,
strict liability, negligence, or other tort to the extent permitted by
applicable law.
-
+
It also applies even if Microsoft knew or should have known about the
possibility of the damages. The above limitation or exclusion may not apply to
you because your country may not allow the exclusion or limitation of
incidental, consequential or other damages.
-
+
Please note: As this software is distributed in Quebec, Canada, some of the
clauses in this agreement are provided below in French.
-
+
Remarque : Ce logiciel étant distribué au Québec, Canada, certaines des clauses
dans ce contrat sont fournies ci-dessous en français.
-
+
EXONÉRATION DE GARANTIE. Le logiciel visé par une licence est offert « tel quel
». Toute utilisation de ce logiciel est à votre seule risque et péril. Microsoft
n'accorde aucune autre garantie expresse. Vous pouvez bénéficier de droits
@@ -199,28 +199,28 @@ additionnels en vertu du droit local sur la protection des consommateurs, que ce
contrat ne peut modifier. La ou elles sont permises par le droit locale, les
garanties implicites de qualité marchande, d'adéquation à un usage particulier
et d'absence de contrefaçon sont exclues.
-
+
LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ POUR LES
DOMMAGES. Vous pouvez obtenir de Microsoft et de ses fournisseurs une
indemnisation en cas de dommages directs uniquement à hauteur de 5,00 $ US. Vous
ne pouvez prétendre à aucune indemnisation pour les autres dommages, y compris
les dommages spéciaux, indirects ou accessoires et pertes de bénéfices.
-
+
Cette limitation concerne:
-
+
. tout ce qui est relié au logiciel, aux services ou au contenu (y compris le
code) figurant sur des sites Internet tiers ou dans des programmes tiers ; et
-
+
. les réclamations au titre de violation de contrat ou de garantie, ou au titre
de responsabilité stricte, de négligence ou d'une autre faute dans la limite
autorisée par la loi en vigueur.
-
+
Elle s'applique également, même si Microsoft connaissait ou devrait connaître
l'éventualité d'un tel dommage. Si votre pays n'autorise pas l'exclusion ou la
limitation de responsabilité pour les dommages indirects, accessoires ou de
quelque nature que ce soit, il se peut que la limitation ou l'exclusion ci-
dessus ne s'appliquera pas à votre égard.
-
+
EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous
pourriez avoir d'autres droits prévus par les lois de votre pays. Le présent
contrat ne modifie pas les droits que vous confèrent les lois de votre pays si
diff --git a/src/licensedcode/data/licenses/openssl-exception-gpl-2.0.LICENSE b/src/licensedcode/data/licenses/openssl-exception-gpl-2.0.LICENSE
index 63fca980369..8785a197b9f 100644
--- a/src/licensedcode/data/licenses/openssl-exception-gpl-2.0.LICENSE
+++ b/src/licensedcode/data/licenses/openssl-exception-gpl-2.0.LICENSE
@@ -13,9 +13,9 @@ other_spdx_license_keys:
text_urls:
- http://www.openssl.org/source/license.html
- http://www.gnu.org/licenses/gpl-2.0.txt
+faq_url: http://people.gnome.org/~markmc/openssl-and-the-gpl.html
other_urls:
- https://github.com/LibVNC/x11vnc/blob/master/src/8to24.c#L22
-faq_url: http://people.gnome.org/~markmc/openssl-and-the-gpl.html
standard_notice: |
The OpenSSL License is not compatible with the GPL, since it contains the
following two clauses:
diff --git a/src/licensedcode/data/licenses/sendmail.LICENSE b/src/licensedcode/data/licenses/sendmail.LICENSE
index 3f157c649f1..6cac88672cb 100644
--- a/src/licensedcode/data/licenses/sendmail.LICENSE
+++ b/src/licensedcode/data/licenses/sendmail.LICENSE
@@ -24,23 +24,23 @@ ignorable_emails:
---
SENDMAIL LICENSE
-
+
The following license terms and conditions apply, unless a different
license is obtained from Sendmail, Inc., 6425 Christie Ave, Fourth Floor,
Emeryville, CA 94608, USA, or by electronic mail at license@sendmail.com.
-
+
License Terms:
-
+
Use, Modification and Redistribution (including distribution of any
modified or derived work) in source and binary forms is permitted only if
each of the following conditions is met:
-
+
1. Redistributions qualify as "freeware" or "Open Source Software" under
one of the following terms:
-
+
(a) Redistributions are made at no charge beyond the reasonable cost of
materials and delivery.
-
+
(b) Redistributions are accompanied by a copy of the Source Code or by an
irrevocable offer to provide a copy of the Source Code for up to three
years at the cost of materials and delivery. Such redistributions
@@ -48,46 +48,46 @@ each of the following conditions is met:
Code under substantially the same terms as this license. For the
purposes of redistribution "Source Code" means the complete compilable
and linkable source code of sendmail including all modifications.
-
+
2. Redistributions of source code must retain the copyright notices as they
appear in each source code file, these license terms, and the
disclaimer/limitation of liability set forth as paragraph 6 below.
-
+
3. Redistributions in binary form must reproduce the Copyright Notice,
these license terms, and the disclaimer/limitation of liability set
forth as paragraph 6 below, in the documentation and/or other materials
provided with the distribution. For the purposes of binary distribution
the "Copyright Notice" refers to the following language:
"Copyright (c) 1998-2004 Sendmail, Inc. All rights reserved."
-
+
4. Neither the name of Sendmail, Inc. nor the University of California nor
the names of their contributors may be used to endorse or promote
products derived from this software without specific prior written
permission. The name "sendmail" is a trademark of Sendmail, Inc.
-
+
5. All redistributions must comply with the conditions imposed by the
University of California on certain embedded code, whose copyright
notice and conditions for redistribution are as follows:
-
+
(a) Copyright (c) 1988, 1993 The Regents of the University of
California. All rights reserved.
-
+
(b) Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
-
+
(i) Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
-
+
(ii) Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
-
+
(iii) Neither the name of the University nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
-
+
6. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY
SENDMAIL, INC. AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
@@ -100,5 +100,5 @@ each of the following conditions is met:
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
+
$Revision: 8.13 $, Last updated $Date: 2004/05/11 23:57:57 $
\ No newline at end of file
diff --git a/src/licensedcode/data/licenses/wtfnmfpl-1.0.LICENSE b/src/licensedcode/data/licenses/wtfnmfpl-1.0.LICENSE
index e1d2001ec73..d6160ba247d 100644
--- a/src/licensedcode/data/licenses/wtfnmfpl-1.0.LICENSE
+++ b/src/licensedcode/data/licenses/wtfnmfpl-1.0.LICENSE
@@ -27,18 +27,18 @@ ignorable_emails:
DO WHAT THE FUCK YOU WANT TO BUT IT'S NOT MY FAULT PUBLIC LICENSE
Version 1, October 2013
-
+
Copyright (C) 2013 Ben McGinnes
-
+
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
-
+
DO WHAT THE FUCK YOU WANT TO BUT IT'S NOT MY FAULT PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
+
0. You just DO WHAT THE FUCK YOU WANT TO.
-
+
1. Do not hold the author(s), creator(s), developer(s) or
distributor(s) liable for anything that happens or goes wrong
with your use of the work.
\ No newline at end of file
diff --git a/src/licensedcode/data/licenses/wthpl-1.0.LICENSE b/src/licensedcode/data/licenses/wthpl-1.0.LICENSE
index b97b42ecddf..fe3db8b77fd 100644
--- a/src/licensedcode/data/licenses/wthpl-1.0.LICENSE
+++ b/src/licensedcode/data/licenses/wthpl-1.0.LICENSE
@@ -12,8 +12,8 @@ minimum_coverage: 50
DO WHAT THE HELL YOU WANT TO PUBLIC LICENSE
Version 1.0.0, October 2014
-
+
DO WHAT THE HELL YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
+
0. You just DO WHAT THE HELL YOU WANT TO.
\ No newline at end of file
diff --git a/src/licensedcode/data/licenses/yolo-1.0.LICENSE b/src/licensedcode/data/licenses/yolo-1.0.LICENSE
index fabd65b38bb..342bf24da8c 100644
--- a/src/licensedcode/data/licenses/yolo-1.0.LICENSE
+++ b/src/licensedcode/data/licenses/yolo-1.0.LICENSE
@@ -12,13 +12,13 @@ text_urls:
YOLO LICENSE
Version 1, July 10 2015
-
+
THIS SOFTWARE LICENSE IS PROVIDED "ALL CAPS" SO THAT YOU KNOW IT IS SUPER
SERIOUS AND YOU DON'T MESS AROUND WITH COPYRIGHT LAW BECAUSE YOU WILL GET IN
TROUBLE HERE ARE SOME OTHER BUZZWORDS COMMONLY IN THESE THINGS WARRANTIES
LIABILITY CONTRACT TORT LIABLE CLAIMS RESTRICTION MERCHANTABILITY SUBJECT TO
THE FOLLOWING CONDITIONS:
-
+
1. #yolo
2. #swag
3. #blazeit
\ No newline at end of file
diff --git a/src/licensedcode/data/licenses/yolo-2.0.LICENSE b/src/licensedcode/data/licenses/yolo-2.0.LICENSE
index 390a82a5ae3..2310b37c762 100644
--- a/src/licensedcode/data/licenses/yolo-2.0.LICENSE
+++ b/src/licensedcode/data/licenses/yolo-2.0.LICENSE
@@ -10,13 +10,13 @@ spdx_license_key: LicenseRef-scancode-yolo-2.0
YOLO LICENSE
Version 2, July 29 2016
-
+
THIS SOFTWARE LICENSE IS PROVIDED "ALL CAPS" SO THAT YOU KNOW IT IS SUPER
SERIOUS AND YOU DON'T MESS AROUND WITH COPYRIGHT LAW BECAUSE YOU WILL GET IN
TROUBLE HERE ARE SOME OTHER BUZZWORDS COMMONLY IN THESE THINGS WARRANTIES
LIABILITY CONTRACT TORT LIABLE CLAIMS RESTRICTION MERCHANTABILITY. NOW HERE'S
THE REAL LICENSE:
-
+
0. Darknet is public domain.
1. Do whatever you want with it.
2. Stop emailing me about it!
\ No newline at end of file
diff --git a/src/licensedcode/data/rules/bsd-simplified_jemalloc_1.RULE b/src/licensedcode/data/rules/bsd-simplified_jemalloc_1.RULE
index 51dcac64874..3ed33e650d3 100644
--- a/src/licensedcode/data/rules/bsd-simplified_jemalloc_1.RULE
+++ b/src/licensedcode/data/rules/bsd-simplified_jemalloc_1.RULE
@@ -3,6 +3,7 @@ license_expression: bsd-simplified
is_license_text: yes
notes: seen in jemalloc https://github.com/jemalloc/jemalloc/blob/8580c65f81c5252e493da656a448ec3a8571dab7/COPYING
---
+
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
diff --git a/src/licensedcode/data/rules/bsd-simplified_jemalloc_2.RULE b/src/licensedcode/data/rules/bsd-simplified_jemalloc_2.RULE
index 686965955e3..141dcd484a6 100644
--- a/src/licensedcode/data/rules/bsd-simplified_jemalloc_2.RULE
+++ b/src/licensedcode/data/rules/bsd-simplified_jemalloc_2.RULE
@@ -3,6 +3,7 @@ license_expression: bsd-simplified
is_license_text: yes
notes: seen in jemalloc https://github.com/jemalloc/jemalloc/blob/8580c65f81c5252e493da656a448ec3a8571dab7/COPYING
---
+
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
diff --git a/src/licensedcode/data/rules/here-proprietary_4.RULE b/src/licensedcode/data/rules/here-proprietary_4.RULE
index 94795a4d083..c9fead91e65 100644
--- a/src/licensedcode/data/rules/here-proprietary_4.RULE
+++ b/src/licensedcode/data/rules/here-proprietary_4.RULE
@@ -13,4 +13,4 @@ ignorable_urls:
repo
SPDX-License-Identifier: LicenseRef-Proprietary-HERE
-
+
\ No newline at end of file
diff --git a/src/licensedcode/data/rules/inria-linking-exception_4.RULE b/src/licensedcode/data/rules/inria-linking-exception_4.RULE
index 8fb83260c8e..99b9f5ddb1c 100644
--- a/src/licensedcode/data/rules/inria-linking-exception_4.RULE
+++ b/src/licensedcode/data/rules/inria-linking-exception_4.RULE
@@ -8,4 +8,4 @@ application programs, reusable components and other software items
that link with the original or modified versions of the
Generator
and are not made available to the general public, without any of the
-additional requirements listed in clause 6c of the Q Public licence.
+additional requirements listed in clause 6c of the Q Public licence.
\ No newline at end of file
diff --git a/src/licensedcode/data/rules/offis_1.RULE b/src/licensedcode/data/rules/offis_1.RULE
index bcb7719c1d9..298a68bd8de 100644
--- a/src/licensedcode/data/rules/offis_1.RULE
+++ b/src/licensedcode/data/rules/offis_1.RULE
@@ -3,7 +3,7 @@ license_expression: offis
is_license_text: yes
---
- * THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRANTY
+* THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRANTY
* REGARDING THE SOFTWARE, ITS PERFORMANCE, ITS MERCHANTABILITY OR
* FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER DISEASES OR
* ITS CONFORMITY TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND
diff --git a/src/licensedcode/data/rules/snprintf_2.RULE b/src/licensedcode/data/rules/snprintf_2.RULE
index b95a39b167e..9a9e9a24610 100644
--- a/src/licensedcode/data/rules/snprintf_2.RULE
+++ b/src/licensedcode/data/rules/snprintf_2.RULE
@@ -8,5 +8,4 @@ ignorable_emails:
- papowell@astart.com
---
-
This code is based on code written by Patrick Powell (papowell@astart.com) It may be used for any purpose as long as this notice remains intact on all source code distributions
\ No newline at end of file
diff --git a/src/licensedcode/data/rules/sunpro_2.RULE b/src/licensedcode/data/rules/sunpro_2.RULE
index 41250b2d0e8..daa67519c2c 100644
--- a/src/licensedcode/data/rules/sunpro_2.RULE
+++ b/src/licensedcode/data/rules/sunpro_2.RULE
@@ -3,9 +3,9 @@ license_expression: sunpro
is_license_text: yes
relevance: 100
ignorable_copyrights:
- - Copyright (c) 1993 by Sun Microsystems, Inc.
+ - Copyright (c) 1993 by Sun Microsystems, Inc.
ignorable_holders:
- - Sun Microsystems, Inc.
+ - Sun Microsystems, Inc.
---
Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
diff --git a/src/licensedcode/data/rules/thor-pl_4.RULE b/src/licensedcode/data/rules/thor-pl_4.RULE
index e7b94e58c06..aba0a849b71 100644
--- a/src/licensedcode/data/rules/thor-pl_4.RULE
+++ b/src/licensedcode/data/rules/thor-pl_4.RULE
@@ -4,7 +4,7 @@ is_license_notice: yes
relevance: 100
---
- The contents of this file are subject to the {{THOR Public License Version
+The contents of this file are subject to the {{THOR Public License Version
1.0}} (the "License"); you may not use this file except in compliance with
the License.
Software distributed under the License is distributed on an "AS IS" basis,
diff --git a/src/licensedcode/models.py b/src/licensedcode/models.py
index da489371074..760bfebe041 100644
--- a/src/licensedcode/models.py
+++ b/src/licensedcode/models.py
@@ -24,6 +24,8 @@
from licensedcode._vendor import attr
from license_expression import ExpressionError
from license_expression import Licensing
+from saneyaml import load as saneyaml_load
+from saneyaml import dump as saneyaml_dump
from commoncode.fileutils import file_base_name
from commoncode.fileutils import file_name
@@ -479,6 +481,8 @@ def dump(self, licenses_data_dir):
"""
metadata = self.to_dict(include_builtin=False)
content = self.text
+ # We add a space to empty newlines to make this text YAML safe
+ content = get_yaml_safe_text(content)
output = dumps_frontmatter(content=content, metadata=metadata)
license_file = self.license_file(licenses_data_dir=licenses_data_dir)
with open(license_file, 'w') as of:
@@ -550,7 +554,7 @@ def spdx_keys(self):
yield key
@staticmethod
- def validate(licenses, verbose=False, no_dupe_urls=False):
+ def validate(licenses, verbose=False, no_dupe_urls=False, thorough=False):
"""
Check that the ``licenses`` a mapping of {key: License} are valid.
Return dictionaries of infos, errors and warnings mapping a license key
@@ -655,8 +659,23 @@ def validate(licenses, verbose=False, no_dupe_urls=False):
if not len(all_licenses) == len(set(all_licenses)):
warn('Some duplicated URLs')
- # local text consistency
text = lic.text
+ if thorough:
+ # local text consistency
+ data = {"text": text}
+ # We are testing whether we can dump as yaml and load from yaml
+ # without failing (i.e. whether the text is yaml safe)
+ # Using saneyaml
+ try:
+ yaml_string = saneyaml_dump(data)
+ loaded_yaml = saneyaml_load(yaml_string)
+ except Exception:
+ errors['GLOBAL'].append(
+ f'Error invalid YAML text at: {lic.key}, failed during saneyaml.load()'
+ 'Run scancode-reindex-licenses --load-dump to fix this.'
+ )
+ # This fails because of missing line break at text end, added by saneyaml_dump
+ # assert text == loaded_yaml["text"]
license_itokens = tuple(index_tokenizer(text))
if not license_itokens:
@@ -737,6 +756,25 @@ def validate(licenses, verbose=False, no_dupe_urls=False):
return errors, warnings, infos
+def get_yaml_safe_text(text):
+ """
+ Given a `text` string return a YAML-safe version of the
+ string suitable for use in a YAML output, i.e. that would not
+ produce a invalid yaml if used in the output.
+
+ This is done by trying to dump and load the text inside a data
+ dictionary and if it fails, padding all the empty newlines with
+ a space.
+ """
+ data = {"text": text}
+ yaml_string = saneyaml_dump(data)
+ try:
+ loaded_yaml = saneyaml_load(yaml_string)
+ except Exception:
+ text = text.replace('\n\n', '\n \n')
+ return text
+
+
def ignore_editor_tmp_files(location):
return location.endswith('.swp')
@@ -805,12 +843,18 @@ def get_rules(
licenses_data_dir=licenses_data_dir,
rules_data_dir=rules_data_dir,
validate=False,
+ validate_thorough=False,
is_builtin=True,
):
"""
Yield Rule objects loaded from a ``licenses_db`` and license files found in
``licenses_data_dir`` and rule files found in `rules_data_dir`. Raise an
Exception if a rule is inconsistent or incorrect.
+
+ If ``validate`` flag is True, we validate all the license rules for consistency
+ and if ``validate_thorough`` is True we perform additional validation tests
+ (like whether it would produce valid YAML) which is skipped normally because these
+ are expensive operations.
"""
licenses_db = licenses_db or load_licenses(
licenses_data_dir=licenses_data_dir,
@@ -822,12 +866,27 @@ def get_rules(
))
if validate:
- validate_rules(rules=rules, licenses_by_key=licenses_db)
+ validate_rules(rules=rules, licenses_by_key=licenses_db, thorough=validate_thorough)
licenses_as_rules = build_rules_from_licenses(licenses_db)
return chain(licenses_as_rules, rules)
+def load_dump_licenses():
+ """
+ Loads all licenses and rules and dumps them in the same file.
+ This is used to do minor formatting changes consistently across
+ all licenses/rules.
+ """
+ licenses = load_licenses(licenses_data_dir=licenses_data_dir)
+ for lic in licenses.values():
+ lic.dump(licenses_data_dir)
+
+ rules = list(load_rules(rules_data_dir=rules_data_dir))
+ for rule in rules:
+ rule.dump(rules_data_dir=rules_data_dir)
+
+
def get_license_dirs(additional_dirs):
"""
Return a list of all subdirectories containing license files within the
@@ -919,7 +978,7 @@ def get_rules_from_multiple_dirs(
is_builtin=False,
))
- validate_rules(rules=combined_rules, licenses_by_key=licenses_db)
+ validate_rules(rules=combined_rules, licenses_by_key=licenses_db, thorough=False)
return combined_rules
@@ -997,7 +1056,7 @@ class InvalidLicense(Exception):
pass
-def _validate_all_rules(rules, licenses_by_key):
+def _validate_all_rules(rules, licenses_by_key, thorough=False):
"""
Return a mapping of {error message: [list of Rule]} from validating a list
of ``rules`` Rule integrity and correctness using known licenses from a
@@ -1007,18 +1066,18 @@ def _validate_all_rules(rules, licenses_by_key):
errors = defaultdict(list)
for rule in rules:
- for err_msg in rule.validate(licensing):
+ for err_msg in rule.validate(licensing, thorough=thorough):
errors[err_msg].append(rule)
return errors
-def validate_rules(rules, licenses_by_key, with_text=False, rules_data_dir=rules_data_dir):
+def validate_rules(rules, licenses_by_key, with_text=False, rules_data_dir=rules_data_dir, thorough=False):
"""
Return a mapping of {error message: [list of Rule]) from validating a list
of ``rules`` Rule integrity and correctness using known licenses from a
mapping of ``licenses_by_key`` {key: License}`.
"""
- errors = _validate_all_rules(rules=rules, licenses_by_key=licenses_by_key)
+ errors = _validate_all_rules(rules=rules, licenses_by_key=licenses_by_key, thorough=thorough)
if errors:
message = ['Errors while validating rules:']
for msg, rules in errors.items():
@@ -1696,7 +1755,7 @@ def has_unknown(self):
# license flag instead
return self.license_expression and 'unknown' in self.license_expression
- def validate(self, licensing=None):
+ def validate(self, licensing=None, thorough=False):
"""
Validate this rule using the provided ``licensing`` Licensing and yield
one error message for each type of error detected.
@@ -1790,6 +1849,17 @@ def validate(self, licensing=None):
if len(set(self.referenced_filenames)) != len(self.referenced_filenames):
yield 'referenced_filenames cannot contain duplicates.'
+ if thorough:
+ text = self.text
+ data = {"text": text}
+ # We are testing whether we can dump as yaml and load from yaml
+ # without failing (i.e. whether the text is yaml safe)
+ try:
+ yaml_string = saneyaml_dump(data)
+ loaded_yaml = saneyaml_load(yaml_string)
+ except Exception:
+ yield (f'Error invalid YAML text at: {self.identifier}, failed during saneyaml.load()')
+
def license_keys(self, unique=True):
"""
Return a list of license keys for this rule.
diff --git a/src/licensedcode/reindex.py b/src/licensedcode/reindex.py
index 8e3ab85385d..66d8cfbf32e 100644
--- a/src/licensedcode/reindex.py
+++ b/src/licensedcode/reindex.py
@@ -10,7 +10,7 @@
import click
from commoncode.cliutils import PluggableCommandLineOption
-
+from licensedcode.models import load_dump_licenses
@click.command(name='scancode-reindex-licenses')
@click.option(
@@ -30,6 +30,13 @@
conflicting_options=['additional_directory'],
cls=PluggableCommandLineOption,
)
+@click.option(
+ '--load-dump',
+ is_flag=True,
+ help='Load all the license objects from file and then dump '
+ 'them back to their respective license files.',
+ cls=PluggableCommandLineOption,
+)
@click.option(
'--additional-directory',
type=click.Path(exists=True, readable=True, file_okay=False, resolve_path=True, path_type=str),
@@ -44,6 +51,7 @@ def reindex_licenses(
only_builtin,
all_languages,
additional_directory,
+ load_dump,
*args,
**kwargs,
):
@@ -51,6 +59,8 @@ def reindex_licenses(
from licensedcode.cache import get_index
click.echo('Rebuilding the license index...')
+ if load_dump:
+ load_dump_licenses()
get_index(
only_builtin=only_builtin,
force=True,
diff --git a/tests/formattedcode/data/yaml/package-and-licenses-expected.yaml b/tests/formattedcode/data/yaml/package-and-licenses-expected.yaml
new file mode 100644
index 00000000000..3e57257912b
--- /dev/null
+++ b/tests/formattedcode/data/yaml/package-and-licenses-expected.yaml
@@ -0,0 +1,1214 @@
+headers:
+ - tool_name: scancode-toolkit
+ options:
+ input:
+ --classify: yes
+ --copyright: yes
+ --email: yes
+ --info: yes
+ --license: yes
+ --license-clarity-score: yes
+ --license-references: yes
+ --license-text: yes
+ --package: yes
+ --summary: yes
+ --url: yes
+ --yaml:
+ notice: |
+ Generated with ScanCode and provided on an "AS IS" BASIS, WITHOUT WARRANTIES
+ OR CONDITIONS OF ANY KIND, either express or implied. No content created from
+ ScanCode should be considered or used as legal advice. Consult an Attorney
+ for any legal advice.
+ ScanCode is a free software code scanning tool from nexB Inc. and others.
+ Visit https://github.com/nexB/scancode-toolkit/ for support and download.
+ output_format_version: 3.0.0
+ message:
+ errors: []
+ warnings: []
+ extra_data:
+ system_environment:
+ operating_system: linux
+ cpu_architecture: 64
+ platform: Linux-5.14.0-1059-oem-x86_64-with-glibc2.29
+ platform_version: '#67-Ubuntu SMP Mon Mar 13 14:22:10 UTC 2023'
+ python_version: "3.8.10 (default, Mar 13 2023, 10:26:41) \n[GCC 9.4.0]"
+ spdx_license_list_version: '3.20'
+ additional_license_directory: /home/ayansinha/nexB/write_access/scancode-extra/tests/licensedcode/data/additional_licenses/additional_dir
+ additional_license_plugins:
+ - /home/ayansinha/nexB/write_access/scancode-extra/venv/lib/python3.8/site-packages/licenses_to_install1
+ - /home/ayansinha/nexB/write_access/scancode-extra/venv/lib/python3.8/site-packages/licenses_to_install2
+ files_count: 4
+summary:
+ declared_license_expression: apache-2.0 AND (apache-2.0 OR mit)
+ license_clarity_score:
+ score: 100
+ declared_license: yes
+ identification_precision: yes
+ has_license_text: yes
+ declared_copyrights: yes
+ conflicting_license_categories: no
+ ambiguous_compound_licensing: no
+ declared_holder: Example Corp.
+ primary_language: Python
+ other_license_expressions:
+ - value:
+ count: 1
+ - value: apache-2.0 AND (apache-2.0 OR mit)
+ count: 1
+ - value: mit
+ count: 1
+ other_holders:
+ - value:
+ count: 3
+ other_languages: []
+packages:
+ - type: pypi
+ namespace:
+ name: codebase
+ version:
+ qualifiers: {}
+ subpath:
+ primary_language: Python
+ description:
+ release_date:
+ parties:
+ - type: person
+ role: author
+ name: Example Corp.
+ email:
+ url:
+ keywords: []
+ homepage_url:
+ download_url:
+ size:
+ sha1:
+ md5:
+ sha256:
+ sha512:
+ bug_tracking_url:
+ code_view_url:
+ vcs_url:
+ copyright:
+ holder:
+ declared_license_expression: apache-2.0
+ declared_license_expression_spdx: Apache-2.0
+ license_detections:
+ - license_expression: apache-2.0
+ matches:
+ - score: '100.0'
+ start_line: 4
+ end_line: 4
+ matched_length: 4
+ match_coverage: '100.0'
+ matcher: 2-aho
+ license_expression: apache-2.0
+ rule_identifier: apache-2.0_65.RULE
+ rule_relevance: 100
+ rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE
+ matched_text: license = Apache-2.0
+ identifier: apache_2_0-ec759ae0-ea5a-f138-793e-388520e080c0
+ other_license_expression:
+ other_license_expression_spdx:
+ other_license_detections: []
+ extracted_license_statement:
+ notice_text:
+ source_packages: []
+ extra_data: {}
+ repository_homepage_url:
+ repository_download_url:
+ api_data_url:
+ package_uid: pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758
+ datafile_paths:
+ - package-and-licenses/setup.cfg
+ datasource_ids:
+ - pypi_setup_cfg
+ purl: pkg:pypi/codebase
+dependencies: []
+license_detections:
+ - identifier: apache_2_0-ab23f79b-ec38-9a8a-9b23-85059407f34d
+ license_expression: apache-2.0
+ detection_count: 1
+ - identifier: mit-cacd5c0c-204a-85c2-affc-e4c125b2492a
+ license_expression: mit
+ detection_count: 1
+ - identifier: apache_2_0_and__apache_2_0_or_mit-9b638e72-e872-a67f-3447-eec297ef7b39
+ license_expression: apache-2.0 AND (apache-2.0 OR mit)
+ detection_count: 1
+ - identifier: apache_2_0-ec759ae0-ea5a-f138-793e-388520e080c0
+ license_expression: apache-2.0
+ detection_count: 2
+license_references:
+ - key: apache-2.0
+ language: en
+ short_name: Apache 2.0
+ name: Apache License 2.0
+ category: Permissive
+ owner: Apache Software Foundation
+ homepage_url: http://www.apache.org/licenses/
+ notes: |
+ Per SPDX.org, this version was released January 2004 This license is OSI
+ certified
+ is_builtin: yes
+ is_exception: no
+ is_unknown: no
+ is_generic: no
+ spdx_license_key: Apache-2.0
+ other_spdx_license_keys:
+ - LicenseRef-Apache
+ - LicenseRef-Apache-2.0
+ osi_license_key: Apache-2.0
+ text_urls:
+ - http://www.apache.org/licenses/LICENSE-2.0
+ osi_url: http://opensource.org/licenses/apache2.0.php
+ faq_url: http://www.apache.org/foundation/licence-FAQ.html
+ other_urls:
+ - http://www.opensource.org/licenses/Apache-2.0
+ - https://opensource.org/licenses/Apache-2.0
+ - https://www.apache.org/licenses/LICENSE-2.0
+ key_aliases: []
+ minimum_coverage: '0'
+ standard_notice:
+ ignorable_copyrights: []
+ ignorable_holders: []
+ ignorable_authors: []
+ ignorable_urls:
+ - http://www.apache.org/licenses/
+ - http://www.apache.org/licenses/LICENSE-2.0
+ ignorable_emails: []
+ text: " Apache License\n Version\
+ \ 2.0, January 2004\n http://www.apache.org/licenses/\n \n TERMS\
+ \ AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n \n 1. Definitions.\n \n \
+ \ \"License\" shall mean the terms and conditions for use, reproduction,\n and\
+ \ distribution as defined by Sections 1 through 9 of this document.\n \n \"Licensor\"\
+ \ shall mean the copyright owner or entity authorized by\n the copyright owner that\
+ \ is granting the License.\n \n \"Legal Entity\" shall mean the union of the acting\
+ \ entity and all\n other entities that control, are controlled by, or are under common\n\
+ \ control with that entity. For the purposes of this definition,\n \"control\"\
+ \ means (i) the power, direct or indirect, to cause the\n direction or management\
+ \ of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty\
+ \ percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership\
+ \ of such entity.\n \n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n\
+ \ exercising permissions granted by this License.\n \n \"Source\" form shall\
+ \ mean the preferred form for making modifications,\n including but not limited to\
+ \ software source code, documentation\n source, and configuration files.\n \n \
+ \ \"Object\" form shall mean any form resulting from mechanical\n transformation\
+ \ or translation of a Source form, including but\n not limited to compiled object\
+ \ code, generated documentation,\n and conversions to other media types.\n \n \
+ \ \"Work\" shall mean the work of authorship, whether in Source or\n Object form,\
+ \ made available under the License, as indicated by a\n copyright notice that is\
+ \ included in or attached to the work\n (an example is provided in the Appendix below).\n\
+ \ \n \"Derivative Works\" shall mean any work, whether in Source or Object\n \
+ \ form, that is based on (or derived from) the Work and for which the\n editorial\
+ \ revisions, annotations, elaborations, or other modifications\n represent, as a\
+ \ whole, an original work of authorship. For the purposes\n of this License, Derivative\
+ \ Works shall not include works that remain\n separable from, or merely link (or\
+ \ bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\
+ \ \n \"Contribution\" shall mean any work of authorship, including\n the original\
+ \ version of the Work and any modifications or additions\n to that Work or Derivative\
+ \ Works thereof, that is intentionally\n submitted to Licensor for inclusion in the\
+ \ Work by the copyright owner\n or by an individual or Legal Entity authorized to\
+ \ submit on behalf of\n the copyright owner. For the purposes of this definition,\
+ \ \"submitted\"\n means any form of electronic, verbal, or written communication\
+ \ sent\n to the Licensor or its representatives, including but not limited to\n \
+ \ communication on electronic mailing lists, source code control systems,\n and\
+ \ issue tracking systems that are managed by, or on behalf of, the\n Licensor for\
+ \ the purpose of discussing and improving the Work, but\n excluding communication\
+ \ that is conspicuously marked or otherwise\n designated in writing by the copyright\
+ \ owner as \"Not a Contribution.\"\n \n \"Contributor\" shall mean Licensor and any\
+ \ individual or Legal Entity\n on behalf of whom a Contribution has been received\
+ \ by Licensor and\n subsequently incorporated within the Work.\n \n 2. Grant of\
+ \ Copyright License. Subject to the terms and conditions of\n this License, each\
+ \ Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge,\
+ \ royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative\
+ \ Works of,\n publicly display, publicly perform, sublicense, and distribute the\n\
+ \ Work and such Derivative Works in Source or Object form.\n \n 3. Grant of Patent\
+ \ License. Subject to the terms and conditions of\n this License, each Contributor\
+ \ hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free,\
+ \ irrevocable\n (except as stated in this section) patent license to make, have made,\n\
+ \ use, offer to sell, sell, import, and otherwise transfer the Work,\n where\
+ \ such license applies only to those patent claims licensable\n by such Contributor\
+ \ that are necessarily infringed by their\n Contribution(s) alone or by combination\
+ \ of their Contribution(s)\n with the Work to which such Contribution(s) was submitted.\
+ \ If You\n institute patent litigation against any entity (including a\n cross-claim\
+ \ or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated\
+ \ within the Work constitutes direct\n or contributory patent infringement, then\
+ \ any patent licenses\n granted to You under this License for that Work shall terminate\n\
+ \ as of the date such litigation is filed.\n \n 4. Redistribution. You may reproduce\
+ \ and distribute copies of the\n Work or Derivative Works thereof in any medium,\
+ \ with or without\n modifications, and in Source or Object form, provided that You\n\
+ \ meet the following conditions:\n \n (a) You must give any other recipients\
+ \ of the Work or\n Derivative Works a copy of this License; and\n \n (b)\
+ \ You must cause any modified files to carry prominent notices\n stating that\
+ \ You changed the files; and\n \n (c) You must retain, in the Source form of any\
+ \ Derivative Works\n that You distribute, all copyright, patent, trademark, and\n\
+ \ attribution notices from the Source form of the Work,\n excluding\
+ \ those notices that do not pertain to any part of\n the Derivative Works; and\n\
+ \ \n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution,\
+ \ then any Derivative Works that You distribute must\n include a readable copy\
+ \ of the attribution notices contained\n within such NOTICE file, excluding those\
+ \ notices that do not\n pertain to any part of the Derivative Works, in at least\
+ \ one\n of the following places: within a NOTICE text file distributed\n \
+ \ as part of the Derivative Works; within the Source form or\n documentation,\
+ \ if provided along with the Derivative Works; or,\n within a display generated\
+ \ by the Derivative Works, if and\n wherever such third-party notices normally\
+ \ appear. The contents\n of the NOTICE file are for informational purposes only\
+ \ and\n do not modify the License. You may add Your own attribution\n \
+ \ notices within Derivative Works that You distribute, alongside\n or as an\
+ \ addendum to the NOTICE text from the Work, provided\n that such additional\
+ \ attribution notices cannot be construed\n as modifying the License.\n \n \
+ \ You may add Your own copyright statement to Your modifications and\n may provide\
+ \ additional or different license terms and conditions\n for use, reproduction, or\
+ \ distribution of Your modifications, or\n for any such Derivative Works as a whole,\
+ \ provided Your use,\n reproduction, and distribution of the Work otherwise complies\
+ \ with\n the conditions stated in this License.\n \n 5. Submission of Contributions.\
+ \ Unless You explicitly state otherwise,\n any Contribution intentionally submitted\
+ \ for inclusion in the Work\n by You to the Licensor shall be under the terms and\
+ \ conditions of\n this License, without any additional terms or conditions.\n \
+ \ Notwithstanding the above, nothing herein shall supersede or modify\n the terms\
+ \ of any separate license agreement you may have executed\n with Licensor regarding\
+ \ such Contributions.\n \n 6. Trademarks. This License does not grant permission to\
+ \ use the trade\n names, trademarks, service marks, or product names of the Licensor,\n\
+ \ except as required for reasonable and customary use in describing the\n origin\
+ \ of the Work and reproducing the content of the NOTICE file.\n \n 7. Disclaimer of\
+ \ Warranty. Unless required by applicable law or\n agreed to in writing, Licensor\
+ \ provides the Work (and each\n Contributor provides its Contributions) on an \"\
+ AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n\
+ \ implied, including, without limitation, any warranties or conditions\n of\
+ \ TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE.\
+ \ You are solely responsible for determining the\n appropriateness of using or redistributing\
+ \ the Work and assume any\n risks associated with Your exercise of permissions under\
+ \ this License.\n \n 8. Limitation of Liability. In no event and under no legal theory,\n\
+ \ whether in tort (including negligence), contract, or otherwise,\n unless required\
+ \ by applicable law (such as deliberate and grossly\n negligent acts) or agreed to\
+ \ in writing, shall any Contributor be\n liable to You for damages, including any\
+ \ direct, indirect, special,\n incidental, or consequential damages of any character\
+ \ arising as a\n result of this License or out of the use or inability to use the\n\
+ \ Work (including but not limited to damages for loss of goodwill,\n work stoppage,\
+ \ computer failure or malfunction, or any and all\n other commercial damages or losses),\
+ \ even if such Contributor\n has been advised of the possibility of such damages.\n\
+ \ \n 9. Accepting Warranty or Additional Liability. While redistributing\n the\
+ \ Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for,\
+ \ acceptance of support, warranty, indemnity,\n or other liability obligations and/or\
+ \ rights consistent with this\n License. However, in accepting such obligations,\
+ \ You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n\
+ \ of any other Contributor, and only if You agree to indemnify,\n defend, and\
+ \ hold each Contributor harmless for any liability\n incurred by, or claims asserted\
+ \ against, such Contributor by reason\n of your accepting any such warranty or additional\
+ \ liability.\n \n END OF TERMS AND CONDITIONS\n \n APPENDIX: How to apply the Apache\
+ \ License to your work.\n \n To apply the Apache License to your work, attach the\
+ \ following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n \
+ \ replaced with your own identifying information. (Don't include\n the brackets!)\
+ \ The text should be enclosed in the appropriate\n comment syntax for the file format.\
+ \ We also recommend that a\n file or class name and description of purpose be included\
+ \ on the\n same \"printed page\" as the copyright notice for easier\n identification\
+ \ within third-party archives.\n \n Copyright [yyyy] [name of copyright owner]\n \n\
+ \ Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not\
+ \ use this file except in compliance with the License.\n You may obtain a copy of the\
+ \ License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required\
+ \ by applicable law or agreed to in writing, software\n distributed under the License\
+ \ is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,\
+ \ either express or implied.\n See the License for the specific language governing permissions\
+ \ and\n limitations under the License."
+ scancode_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE
+ licensedb_url: https://scancode-licensedb.aboutcode.org/apache-2.0
+ spdx_url: https://spdx.org/licenses/Apache-2.0
+ - key: mit
+ language: en
+ short_name: MIT License
+ name: MIT License
+ category: Permissive
+ owner: MIT
+ homepage_url: http://opensource.org/licenses/mit-license.php
+ notes: Per SPDX.org, this license is OSI certified.
+ is_builtin: yes
+ is_exception: no
+ is_unknown: no
+ is_generic: no
+ spdx_license_key: MIT
+ other_spdx_license_keys: []
+ osi_license_key:
+ text_urls:
+ - http://opensource.org/licenses/mit-license.php
+ osi_url: http://www.opensource.org/licenses/MIT
+ faq_url: https://ieeexplore.ieee.org/document/9263265
+ other_urls:
+ - https://opensource.com/article/18/3/patent-grant-mit-license
+ - https://opensource.com/article/19/4/history-mit-license
+ - https://opensource.org/licenses/MIT
+ key_aliases: []
+ minimum_coverage: '0'
+ standard_notice:
+ ignorable_copyrights: []
+ ignorable_holders: []
+ ignorable_authors: []
+ ignorable_urls: []
+ ignorable_emails: []
+ text: |
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ scancode_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE
+ licensedb_url: https://scancode-licensedb.aboutcode.org/mit
+ spdx_url: https://spdx.org/licenses/MIT
+license_rule_references:
+ - license_expression: apache-2.0
+ identifier: apache-2.0.LICENSE
+ language: en
+ rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE
+ is_license_text: yes
+ is_license_notice: no
+ is_license_reference: no
+ is_license_tag: no
+ is_license_intro: no
+ is_continuous: no
+ is_builtin: yes
+ is_from_license: yes
+ is_synthetic: no
+ length: 1584
+ relevance: 100
+ minimum_coverage: '0'
+ referenced_filenames: []
+ notes:
+ ignorable_copyrights: []
+ ignorable_holders: []
+ ignorable_authors: []
+ ignorable_urls:
+ - http://www.apache.org/licenses/
+ - http://www.apache.org/licenses/LICENSE-2.0
+ ignorable_emails: []
+ text: |
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ - license_expression: apache-2.0
+ identifier: apache-2.0_65.RULE
+ language: en
+ rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE
+ is_license_text: no
+ is_license_notice: no
+ is_license_reference: no
+ is_license_tag: yes
+ is_license_intro: no
+ is_continuous: no
+ is_builtin: yes
+ is_from_license: no
+ is_synthetic: no
+ length: 4
+ relevance: 100
+ minimum_coverage: 80
+ referenced_filenames: []
+ notes:
+ ignorable_copyrights: []
+ ignorable_holders: []
+ ignorable_authors: []
+ ignorable_urls: []
+ ignorable_emails: []
+ text: 'license: Apache-2.0'
+ - license_expression: apache-2.0
+ identifier: apache-2.0_73.RULE
+ language: en
+ rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE
+ is_license_text: no
+ is_license_notice: no
+ is_license_reference: yes
+ is_license_tag: no
+ is_license_intro: no
+ is_continuous: no
+ is_builtin: yes
+ is_from_license: no
+ is_synthetic: no
+ length: 4
+ relevance: 80
+ minimum_coverage: 80
+ referenced_filenames: []
+ notes:
+ ignorable_copyrights: []
+ ignorable_holders: []
+ ignorable_authors: []
+ ignorable_urls: []
+ ignorable_emails: []
+ text: is licensed under [Apache]
+ - license_expression: apache-2.0 OR mit
+ identifier: apache-2.0_or_mit_36.RULE
+ language: en
+ rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE
+ is_license_text: no
+ is_license_notice: no
+ is_license_reference: yes
+ is_license_tag: no
+ is_license_intro: no
+ is_continuous: yes
+ is_builtin: yes
+ is_from_license: no
+ is_synthetic: no
+ length: 5
+ relevance: 100
+ minimum_coverage: 80
+ referenced_filenames: []
+ notes:
+ ignorable_copyrights: []
+ ignorable_holders: []
+ ignorable_authors: []
+ ignorable_urls: []
+ ignorable_emails: []
+ text: '{{apache-2.0 OR MIT}}'
+ - license_expression: mit
+ identifier: mit.LICENSE
+ language: en
+ rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE
+ is_license_text: yes
+ is_license_notice: no
+ is_license_reference: no
+ is_license_tag: no
+ is_license_intro: no
+ is_continuous: no
+ is_builtin: yes
+ is_from_license: yes
+ is_synthetic: no
+ length: 161
+ relevance: 100
+ minimum_coverage: '0'
+ referenced_filenames: []
+ notes:
+ ignorable_copyrights: []
+ ignorable_holders: []
+ ignorable_authors: []
+ ignorable_urls: []
+ ignorable_emails: []
+ text: |
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+files:
+ - path: package-and-licenses
+ type: directory
+ name: package-and-licenses
+ base_name: package-and-licenses
+ extension:
+ size: '0'
+ sha1:
+ md5:
+ sha256:
+ mime_type:
+ file_type:
+ programming_language:
+ is_binary: no
+ is_text: no
+ is_archive: no
+ is_media: no
+ is_source: no
+ is_script: no
+ package_data: []
+ for_packages: []
+ detected_license_expression:
+ detected_license_expression_spdx:
+ license_detections: []
+ license_clues: []
+ percentage_of_license_text: '0'
+ copyrights: []
+ holders: []
+ authors: []
+ emails: []
+ urls: []
+ is_legal: no
+ is_manifest: no
+ is_readme: no
+ is_top_level: yes
+ is_key_file: no
+ files_count: 4
+ dirs_count: '0'
+ size_count: 12561
+ scan_errors: []
+ - path: package-and-licenses/README.txt
+ type: file
+ name: README.txt
+ base_name: README
+ extension: .txt
+ size: 78
+ sha1: 1df6d834f14cf559f8294602edc62cd1fd3a801a
+ md5: 4d6efca9ce0e3674ff53d5769e8e6d3b
+ sha256: 558bb811471ccfa7e3a17920decbea52596cdb3cbb40bcd3b55dba2a62814650
+ mime_type: text/plain
+ file_type: ASCII text
+ programming_language:
+ is_binary: no
+ is_text: yes
+ is_archive: no
+ is_media: no
+ is_source: no
+ is_script: no
+ package_data: []
+ for_packages:
+ - pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758
+ detected_license_expression: apache-2.0 AND (apache-2.0 OR mit)
+ detected_license_expression_spdx: Apache-2.0 AND (Apache-2.0 OR MIT)
+ license_detections:
+ - license_expression: apache-2.0 AND (apache-2.0 OR mit)
+ matches:
+ - score: '80.0'
+ start_line: 3
+ end_line: 3
+ matched_length: 4
+ match_coverage: '100.0'
+ matcher: 2-aho
+ license_expression: apache-2.0
+ rule_identifier: apache-2.0_73.RULE
+ rule_relevance: 80
+ rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_73.RULE
+ matched_text: This is licensed under Apache-2.0 or MIT
+ - score: '100.0'
+ start_line: 3
+ end_line: 3
+ matched_length: 5
+ match_coverage: '100.0'
+ matcher: 2-aho
+ license_expression: apache-2.0 OR mit
+ rule_identifier: apache-2.0_or_mit_36.RULE
+ rule_relevance: 100
+ rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_or_mit_36.RULE
+ matched_text: This is licensed under Apache-2.0 or MIT
+ identifier: apache_2_0_and__apache_2_0_or_mit-9b638e72-e872-a67f-3447-eec297ef7b39
+ license_clues: []
+ percentage_of_license_text: '57.14'
+ copyrights:
+ - copyright: Copyright Example Corp.
+ start_line: 5
+ end_line: 5
+ holders:
+ - holder: Example Corp.
+ start_line: 5
+ end_line: 5
+ authors: []
+ emails: []
+ urls: []
+ is_legal: no
+ is_manifest: no
+ is_readme: yes
+ is_top_level: yes
+ is_key_file: yes
+ files_count: '0'
+ dirs_count: '0'
+ size_count: '0'
+ scan_errors: []
+ - path: package-and-licenses/apache-2.0.LICENSE
+ type: file
+ name: apache-2.0.LICENSE
+ base_name: apache-2.0
+ extension: .LICENSE
+ size: 11389
+ sha1: 803d68221700c6b60432e1d8b010939d0eed6867
+ md5: f427d9ebd9d6c9d4b172a0a5960f298c
+ sha256: 91fea55e6d99116f24c4293db9d8db13860de1bb00c8b74b49c7d77cbf7fecdb
+ mime_type: text/plain
+ file_type: ASCII text
+ programming_language:
+ is_binary: no
+ is_text: yes
+ is_archive: no
+ is_media: no
+ is_source: no
+ is_script: no
+ package_data: []
+ for_packages:
+ - pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758
+ detected_license_expression: apache-2.0
+ detected_license_expression_spdx: Apache-2.0
+ license_detections:
+ - license_expression: apache-2.0
+ matches:
+ - score: '100.0'
+ start_line: 2
+ end_line: 202
+ matched_length: 1584
+ match_coverage: '100.0'
+ matcher: 1-hash
+ license_expression: apache-2.0
+ rule_identifier: apache-2.0.LICENSE
+ rule_relevance: 100
+ rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE
+ matched_text: " Apache License\n \
+ \ Version 2.0, January 2004\n http://www.apache.org/licenses/\n\
+ \ \n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n \n 1.\
+ \ Definitions.\n \n \"License\" shall mean the terms and conditions for use,\
+ \ reproduction,\n and distribution as defined by Sections 1 through 9 of\
+ \ this document.\n \n \"Licensor\" shall mean the copyright owner or entity\
+ \ authorized by\n the copyright owner that is granting the License.\n \n\
+ \ \"Legal Entity\" shall mean the union of the acting entity and all\n \
+ \ other entities that control, are controlled by, or are under common\n \
+ \ control with that entity. For the purposes of this definition,\n \"control\"\
+ \ means (i) the power, direct or indirect, to cause the\n direction or management\
+ \ of such entity, whether by contract or\n otherwise, or (ii) ownership of\
+ \ fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial\
+ \ ownership of such entity.\n \n \"You\" (or \"Your\") shall mean an individual\
+ \ or Legal Entity\n exercising permissions granted by this License.\n \n\
+ \ \"Source\" form shall mean the preferred form for making modifications,\n\
+ \ including but not limited to software source code, documentation\n \
+ \ source, and configuration files.\n \n \"Object\" form shall mean any form\
+ \ resulting from mechanical\n transformation or translation of a Source form,\
+ \ including but\n not limited to compiled object code, generated documentation,\n\
+ \ and conversions to other media types.\n \n \"Work\" shall mean the\
+ \ work of authorship, whether in Source or\n Object form, made available\
+ \ under the License, as indicated by a\n copyright notice that is included\
+ \ in or attached to the work\n (an example is provided in the Appendix below).\n\
+ \ \n \"Derivative Works\" shall mean any work, whether in Source or Object\n\
+ \ form, that is based on (or derived from) the Work and for which the\n \
+ \ editorial revisions, annotations, elaborations, or other modifications\n\
+ \ represent, as a whole, an original work of authorship. For the purposes\n\
+ \ of this License, Derivative Works shall not include works that remain\n\
+ \ separable from, or merely link (or bind by name) to the interfaces of,\n\
+ \ the Work and Derivative Works thereof.\n \n \"Contribution\" shall\
+ \ mean any work of authorship, including\n the original version of the Work\
+ \ and any modifications or additions\n to that Work or Derivative Works thereof,\
+ \ that is intentionally\n submitted to Licensor for inclusion in the Work\
+ \ by the copyright owner\n or by an individual or Legal Entity authorized\
+ \ to submit on behalf of\n the copyright owner. For the purposes of this\
+ \ definition, \"submitted\"\n means any form of electronic, verbal, or written\
+ \ communication sent\n to the Licensor or its representatives, including\
+ \ but not limited to\n communication on electronic mailing lists, source\
+ \ code control systems,\n and issue tracking systems that are managed by,\
+ \ or on behalf of, the\n Licensor for the purpose of discussing and improving\
+ \ the Work, but\n excluding communication that is conspicuously marked or\
+ \ otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\
+ \n \n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n\
+ \ on behalf of whom a Contribution has been received by Licensor and\n \
+ \ subsequently incorporated within the Work.\n \n 2. Grant of Copyright License.\
+ \ Subject to the terms and conditions of\n this License, each Contributor\
+ \ hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge,\
+ \ royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative\
+ \ Works of,\n publicly display, publicly perform, sublicense, and distribute\
+ \ the\n Work and such Derivative Works in Source or Object form.\n \n 3.\
+ \ Grant of Patent License. Subject to the terms and conditions of\n this\
+ \ License, each Contributor hereby grants to You a perpetual,\n worldwide,\
+ \ non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated\
+ \ in this section) patent license to make, have made,\n use, offer to sell,\
+ \ sell, import, and otherwise transfer the Work,\n where such license applies\
+ \ only to those patent claims licensable\n by such Contributor that are necessarily\
+ \ infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n\
+ \ with the Work to which such Contribution(s) was submitted. If You\n \
+ \ institute patent litigation against any entity (including a\n cross-claim\
+ \ or counterclaim in a lawsuit) alleging that the Work\n or a Contribution\
+ \ incorporated within the Work constitutes direct\n or contributory patent\
+ \ infringement, then any patent licenses\n granted to You under this License\
+ \ for that Work shall terminate\n as of the date such litigation is filed.\n\
+ \ \n 4. Redistribution. You may reproduce and distribute copies of the\n \
+ \ Work or Derivative Works thereof in any medium, with or without\n modifications,\
+ \ and in Source or Object form, provided that You\n meet the following conditions:\n\
+ \ \n (a) You must give any other recipients of the Work or\n Derivative\
+ \ Works a copy of this License; and\n \n (b) You must cause any modified\
+ \ files to carry prominent notices\n stating that You changed the files;\
+ \ and\n \n (c) You must retain, in the Source form of any Derivative Works\n\
+ \ that You distribute, all copyright, patent, trademark, and\n \
+ \ attribution notices from the Source form of the Work,\n excluding\
+ \ those notices that do not pertain to any part of\n the Derivative Works;\
+ \ and\n \n (d) If the Work includes a \"NOTICE\" text file as part of its\n\
+ \ distribution, then any Derivative Works that You distribute must\n\
+ \ include a readable copy of the attribution notices contained\n \
+ \ within such NOTICE file, excluding those notices that do not\n \
+ \ pertain to any part of the Derivative Works, in at least one\n of\
+ \ the following places: within a NOTICE text file distributed\n as part\
+ \ of the Derivative Works; within the Source form or\n documentation,\
+ \ if provided along with the Derivative Works; or,\n within a display\
+ \ generated by the Derivative Works, if and\n wherever such third-party\
+ \ notices normally appear. The contents\n of the NOTICE file are for\
+ \ informational purposes only and\n do not modify the License. You may\
+ \ add Your own attribution\n notices within Derivative Works that You\
+ \ distribute, alongside\n or as an addendum to the NOTICE text from the\
+ \ Work, provided\n that such additional attribution notices cannot be\
+ \ construed\n as modifying the License.\n \n You may add Your own\
+ \ copyright statement to Your modifications and\n may provide additional\
+ \ or different license terms and conditions\n for use, reproduction, or distribution\
+ \ of Your modifications, or\n for any such Derivative Works as a whole, provided\
+ \ Your use,\n reproduction, and distribution of the Work otherwise complies\
+ \ with\n the conditions stated in this License.\n \n 5. Submission of Contributions.\
+ \ Unless You explicitly state otherwise,\n any Contribution intentionally\
+ \ submitted for inclusion in the Work\n by You to the Licensor shall be under\
+ \ the terms and conditions of\n this License, without any additional terms\
+ \ or conditions.\n Notwithstanding the above, nothing herein shall supersede\
+ \ or modify\n the terms of any separate license agreement you may have executed\n\
+ \ with Licensor regarding such Contributions.\n \n 6. Trademarks. This\
+ \ License does not grant permission to use the trade\n names, trademarks,\
+ \ service marks, or product names of the Licensor,\n except as required for\
+ \ reasonable and customary use in describing the\n origin of the Work and\
+ \ reproducing the content of the NOTICE file.\n \n 7. Disclaimer of Warranty.\
+ \ Unless required by applicable law or\n agreed to in writing, Licensor provides\
+ \ the Work (and each\n Contributor provides its Contributions) on an \"AS\
+ \ IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\
+ \ or\n implied, including, without limitation, any warranties or conditions\n\
+ \ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR\
+ \ PURPOSE. You are solely responsible for determining the\n appropriateness\
+ \ of using or redistributing the Work and assume any\n risks associated with\
+ \ Your exercise of permissions under this License.\n \n 8. Limitation of Liability.\
+ \ In no event and under no legal theory,\n whether in tort (including negligence),\
+ \ contract, or otherwise,\n unless required by applicable law (such as deliberate\
+ \ and grossly\n negligent acts) or agreed to in writing, shall any Contributor\
+ \ be\n liable to You for damages, including any direct, indirect, special,\n\
+ \ incidental, or consequential damages of any character arising as a\n \
+ \ result of this License or out of the use or inability to use the\n Work\
+ \ (including but not limited to damages for loss of goodwill,\n work stoppage,\
+ \ computer failure or malfunction, or any and all\n other commercial damages\
+ \ or losses), even if such Contributor\n has been advised of the possibility\
+ \ of such damages.\n \n 9. Accepting Warranty or Additional Liability. While\
+ \ redistributing\n the Work or Derivative Works thereof, You may choose to\
+ \ offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n\
+ \ or other liability obligations and/or rights consistent with this\n \
+ \ License. However, in accepting such obligations, You may act only\n on\
+ \ Your own behalf and on Your sole responsibility, not on behalf\n of any\
+ \ other Contributor, and only if You agree to indemnify,\n defend, and hold\
+ \ each Contributor harmless for any liability\n incurred by, or claims asserted\
+ \ against, such Contributor by reason\n of your accepting any such warranty\
+ \ or additional liability.\n \n END OF TERMS AND CONDITIONS\n \n APPENDIX:\
+ \ How to apply the Apache License to your work.\n \n To apply the Apache\
+ \ License to your work, attach the following\n boilerplate notice, with the\
+ \ fields enclosed by brackets \"[]\"\n replaced with your own identifying\
+ \ information. (Don't include\n the brackets!) The text should be enclosed\
+ \ in the appropriate\n comment syntax for the file format. We also recommend\
+ \ that a\n file or class name and description of purpose be included on the\n\
+ \ same \"printed page\" as the copyright notice for easier\n identification\
+ \ within third-party archives.\n \n Copyright [yyyy] [name of copyright owner]\n\
+ \ \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you\
+ \ may not use this file except in compliance with the License.\n You may obtain\
+ \ a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n\
+ \ \n Unless required by applicable law or agreed to in writing, software\n \
+ \ distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT\
+ \ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the\
+ \ License for the specific language governing permissions and\n limitations\
+ \ under the License."
+ identifier: apache_2_0-ab23f79b-ec38-9a8a-9b23-85059407f34d
+ license_clues: []
+ percentage_of_license_text: '100.0'
+ copyrights: []
+ holders: []
+ authors: []
+ emails: []
+ urls:
+ - url: http://www.apache.org/licenses/
+ start_line: 4
+ end_line: 4
+ - url: http://www.apache.org/licenses/LICENSE-2.0
+ start_line: '196'
+ end_line: '196'
+ is_legal: yes
+ is_manifest: no
+ is_readme: no
+ is_top_level: yes
+ is_key_file: yes
+ files_count: '0'
+ dirs_count: '0'
+ size_count: '0'
+ scan_errors: []
+ - path: package-and-licenses/mit.LICENSE
+ type: file
+ name: mit.LICENSE
+ base_name: mit
+ extension: .LICENSE
+ size: 1023
+ sha1: 9cbb2036cd73988fc5d0e6cf39440c6537c5f95e
+ md5: 89ae103eebeb166a19618c03192ae445
+ sha256: 7835c7a4c87bdf13cbc406b0f696d6ad20351ee48e591f3df4b1d26e57d415cf
+ mime_type: text/plain
+ file_type: ASCII text
+ programming_language:
+ is_binary: no
+ is_text: yes
+ is_archive: no
+ is_media: no
+ is_source: no
+ is_script: no
+ package_data: []
+ for_packages:
+ - pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758
+ detected_license_expression: mit
+ detected_license_expression_spdx: MIT
+ license_detections:
+ - license_expression: mit
+ matches:
+ - score: '100.0'
+ start_line: 2
+ end_line: '19'
+ matched_length: 161
+ match_coverage: '100.0'
+ matcher: 1-hash
+ license_expression: mit
+ rule_identifier: mit.LICENSE
+ rule_relevance: 100
+ rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mit.LICENSE
+ matched_text: |
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ identifier: mit-cacd5c0c-204a-85c2-affc-e4c125b2492a
+ license_clues: []
+ percentage_of_license_text: '100.0'
+ copyrights: []
+ holders: []
+ authors: []
+ emails: []
+ urls: []
+ is_legal: yes
+ is_manifest: no
+ is_readme: no
+ is_top_level: yes
+ is_key_file: yes
+ files_count: '0'
+ dirs_count: '0'
+ size_count: '0'
+ scan_errors: []
+ - path: package-and-licenses/setup.cfg
+ type: file
+ name: setup.cfg
+ base_name: setup
+ extension: .cfg
+ size: 71
+ sha1: ca794853822fc3793fbb4957185148f522c6a8df
+ md5: dce126308b696b221e6e2a95baac2f43
+ sha256: 5818a2cd6a864bda25cb95ce8a991abaf2992de4ab9d5417fc9730b2497f1a1a
+ mime_type: text/plain
+ file_type: ASCII text
+ programming_language:
+ is_binary: no
+ is_text: yes
+ is_archive: no
+ is_media: no
+ is_source: no
+ is_script: no
+ package_data:
+ - type: pypi
+ namespace:
+ name: codebase
+ version:
+ qualifiers: {}
+ subpath:
+ primary_language: Python
+ description:
+ release_date:
+ parties:
+ - type: person
+ role: author
+ name: Example Corp.
+ email:
+ url:
+ keywords: []
+ homepage_url:
+ download_url:
+ size:
+ sha1:
+ md5:
+ sha256:
+ sha512:
+ bug_tracking_url:
+ code_view_url:
+ vcs_url:
+ copyright:
+ holder:
+ declared_license_expression: apache-2.0
+ declared_license_expression_spdx: Apache-2.0
+ license_detections:
+ - license_expression: apache-2.0
+ matches:
+ - score: '100.0'
+ start_line: 4
+ end_line: 4
+ matched_length: 4
+ match_coverage: '100.0'
+ matcher: 2-aho
+ license_expression: apache-2.0
+ rule_identifier: apache-2.0_65.RULE
+ rule_relevance: 100
+ rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE
+ matched_text: license = Apache-2.0
+ identifier: apache_2_0-ec759ae0-ea5a-f138-793e-388520e080c0
+ other_license_expression:
+ other_license_expression_spdx:
+ other_license_detections: []
+ extracted_license_statement:
+ notice_text:
+ source_packages: []
+ file_references: []
+ extra_data: {}
+ dependencies: []
+ repository_homepage_url:
+ repository_download_url:
+ api_data_url:
+ datasource_id: pypi_setup_cfg
+ purl: pkg:pypi/codebase
+ for_packages:
+ - pkg:pypi/codebase?uuid=fixed-uid-done-for-testing-5642512d1758
+ detected_license_expression: apache-2.0
+ detected_license_expression_spdx: Apache-2.0
+ license_detections:
+ - license_expression: apache-2.0
+ matches:
+ - score: '100.0'
+ start_line: 4
+ end_line: 4
+ matched_length: 4
+ match_coverage: '100.0'
+ matcher: 2-aho
+ license_expression: apache-2.0
+ rule_identifier: apache-2.0_65.RULE
+ rule_relevance: 100
+ rule_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_65.RULE
+ matched_text: license = Apache-2.0
+ identifier: apache_2_0-ec759ae0-ea5a-f138-793e-388520e080c0
+ license_clues: []
+ percentage_of_license_text: '40.0'
+ copyrights: []
+ holders: []
+ authors:
+ - author: Example Corp.
+ start_line: 3
+ end_line: 3
+ emails: []
+ urls: []
+ is_legal: no
+ is_manifest: yes
+ is_readme: no
+ is_top_level: yes
+ is_key_file: yes
+ files_count: '0'
+ dirs_count: '0'
+ size_count: '0'
+ scan_errors: []
diff --git a/tests/formattedcode/data/yaml/package-and-licenses/README.txt b/tests/formattedcode/data/yaml/package-and-licenses/README.txt
new file mode 100644
index 00000000000..109b12c996b
--- /dev/null
+++ b/tests/formattedcode/data/yaml/package-and-licenses/README.txt
@@ -0,0 +1,5 @@
+Sample code
+
+This is licensed under Apache-2.0 or MIT
+
+Copyright Example Corp.
\ No newline at end of file
diff --git a/tests/formattedcode/data/yaml/package-and-licenses/apache-2.0.LICENSE b/tests/formattedcode/data/yaml/package-and-licenses/apache-2.0.LICENSE
new file mode 100644
index 00000000000..28827dd3ff3
--- /dev/null
+++ b/tests/formattedcode/data/yaml/package-and-licenses/apache-2.0.LICENSE
@@ -0,0 +1,202 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
\ No newline at end of file
diff --git a/tests/formattedcode/data/yaml/package-and-licenses/mit.LICENSE b/tests/formattedcode/data/yaml/package-and-licenses/mit.LICENSE
new file mode 100644
index 00000000000..518e1abe66a
--- /dev/null
+++ b/tests/formattedcode/data/yaml/package-and-licenses/mit.LICENSE
@@ -0,0 +1,19 @@
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
diff --git a/tests/formattedcode/data/yaml/package-and-licenses/setup.cfg b/tests/formattedcode/data/yaml/package-and-licenses/setup.cfg
new file mode 100644
index 00000000000..5a4f05388d1
--- /dev/null
+++ b/tests/formattedcode/data/yaml/package-and-licenses/setup.cfg
@@ -0,0 +1,4 @@
+[metadata]
+name = codebase
+author = Example Corp.
+license = Apache-2.0
diff --git a/tests/formattedcode/test_output_yaml.py b/tests/formattedcode/test_output_yaml.py
index f197c679f66..782907fdbe1 100644
--- a/tests/formattedcode/test_output_yaml.py
+++ b/tests/formattedcode/test_output_yaml.py
@@ -17,6 +17,7 @@
from scancode.cli_test_utils import cleanup_scan
from scancode.cli_test_utils import run_scan_click
+from scancode.cli_test_utils import remove_uuid_from_scan
from scancode_config import REGEN_TEST_FIXTURES
@@ -51,8 +52,26 @@ def test_scan_output_for_timestamp():
assert 'start_timestamp' in header
assert 'end_timestamp' in header
+def test_scan_produces_valid_yaml():
+ test_dir = test_env.get_test_loc('yaml/package-and-licenses')
+ result_file = test_env.get_temp_file('json')
+ args = [
+ '-clipeu', '--license-text', '--classify', '--summary', '--license-references',
+ '--license-clarity-score', test_dir, '--yaml', result_file]
+ run_scan_click(args)
+ expected = test_env.get_test_loc('yaml/package-and-licenses-expected.yaml')
+ check_yaml_scan(expected, result_file, regen=REGEN_TEST_FIXTURES)
+ data = saneyaml.load(open(result_file).read())
+
-def check_yaml_scan(expected_file, result_file, regen=REGEN_TEST_FIXTURES):
+def check_yaml_scan(
+ expected_file,
+ result_file,
+ regen=REGEN_TEST_FIXTURES,
+ remove_file_date=True,
+ check_headers=False,
+ remove_uuid=True,
+):
"""
Check the scan `result_file` YAML results against the `expected_file`
expected YAML results.
@@ -61,15 +80,27 @@ def check_yaml_scan(expected_file, result_file, regen=REGEN_TEST_FIXTURES):
results from `results_file`. This is convenient for updating tests
expectations. But use with caution.
"""
- results = load_yaml_results(result_file) or {}
+ results = load_yaml_results(
+ location=result_file,
+ remove_file_date=remove_file_date,
+ ) or {}
+ if remove_uuid:
+ results = remove_uuid_from_scan(results)
+
if regen:
with open(expected_file, 'w') as reg:
reg.write(saneyaml.dump(results))
- expected = load_yaml_results(expected_file)
+ expected = load_yaml_results(
+ location=expected_file,
+ remove_file_date=remove_file_date,
+ )
+ if remove_uuid:
+ expected = remove_uuid_from_scan(expected)
- results.pop('headers', None)
- expected.pop('headers', None)
+ if not check_headers:
+ results.pop('headers', None)
+ expected.pop('headers', None)
# NOTE we redump the YAML as a string for a more efficient display of the
# failures comparison/diff
@@ -78,7 +109,7 @@ def check_yaml_scan(expected_file, result_file, regen=REGEN_TEST_FIXTURES):
assert results == expected
-def load_yaml_results(location):
+def load_yaml_results(location, remove_file_date=True):
"""
Load the YAML scan results file at `location`.
To help with test resilience against small changes some attributes are
@@ -88,4 +119,4 @@ def load_yaml_results(location):
with open(location, encoding='utf-8') as res:
scan_results = res.read()
scan_results = saneyaml.load(scan_results)
- return cleanup_scan(scan_results, remove_file_date=True)
+ return cleanup_scan(scan_results, remove_file_date=remove_file_date)
diff --git a/tests/licensedcode/data/additional_licenses/additional_license_combined_test.expected.json b/tests/licensedcode/data/additional_licenses/additional_license_combined_test.expected.json
index cd4e01ffcf9..32d12044edf 100644
--- a/tests/licensedcode/data/additional_licenses/additional_license_combined_test.expected.json
+++ b/tests/licensedcode/data/additional_licenses/additional_license_combined_test.expected.json
@@ -47,7 +47,7 @@
"http://www.apache.org/licenses/LICENSE-2.0"
],
"ignorable_emails": [],
- "text": " Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright [yyyy] [name of copyright owner]\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.",
+ "text": " Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n \n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n \n 1. Definitions.\n \n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n \n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n \n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n \n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n \n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n \n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n \n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n \n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n \n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n \n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n \n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n \n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n \n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n \n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n \n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n \n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n \n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n \n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n \n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n \n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n \n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n \n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n \n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n \n END OF TERMS AND CONDITIONS\n \n APPENDIX: How to apply the Apache License to your work.\n \n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n \n Copyright [yyyy] [name of copyright owner]\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.",
"scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE",
"licensedb_url": "https://scancode-licensedb.aboutcode.org/apache-2.0",
"spdx_url": "https://spdx.org/licenses/Apache-2.0"
diff --git a/tests/licensedcode/data/licenses_reference_reporting/scan-matched-text-with-reference.expected.json b/tests/licensedcode/data/licenses_reference_reporting/scan-matched-text-with-reference.expected.json
index 5fcaf32b2f6..7a9c9a63839 100644
--- a/tests/licensedcode/data/licenses_reference_reporting/scan-matched-text-with-reference.expected.json
+++ b/tests/licensedcode/data/licenses_reference_reporting/scan-matched-text-with-reference.expected.json
@@ -142,7 +142,7 @@
"http://www.apache.org/licenses/LICENSE-2.0"
],
"ignorable_emails": [],
- "text": " Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright [yyyy] [name of copyright owner]\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.",
+ "text": " Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n \n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n \n 1. Definitions.\n \n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n \n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n \n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n \n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n \n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n \n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n \n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n \n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n \n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n \n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n \n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n \n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n \n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n \n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n \n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n \n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n \n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n \n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n \n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n \n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n \n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n \n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n \n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n \n END OF TERMS AND CONDITIONS\n \n APPENDIX: How to apply the Apache License to your work.\n \n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n \n Copyright [yyyy] [name of copyright owner]\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.",
"scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE",
"licensedb_url": "https://scancode-licensedb.aboutcode.org/apache-2.0",
"spdx_url": "https://spdx.org/licenses/Apache-2.0"
diff --git a/tests/licensedcode/data/licenses_reference_reporting/scan-with-reference.expected.json b/tests/licensedcode/data/licenses_reference_reporting/scan-with-reference.expected.json
index 9afc1fbb8fd..d900e639462 100644
--- a/tests/licensedcode/data/licenses_reference_reporting/scan-with-reference.expected.json
+++ b/tests/licensedcode/data/licenses_reference_reporting/scan-with-reference.expected.json
@@ -139,7 +139,7 @@
"http://www.apache.org/licenses/LICENSE-2.0"
],
"ignorable_emails": [],
- "text": " Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright [yyyy] [name of copyright owner]\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.",
+ "text": " Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n \n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n \n 1. Definitions.\n \n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n \n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n \n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n \n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n \n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n \n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n \n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n \n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n \n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n \n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n \n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n \n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n \n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n \n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n \n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n \n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n \n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n \n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n \n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n \n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n \n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n \n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n \n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n \n END OF TERMS AND CONDITIONS\n \n APPENDIX: How to apply the Apache License to your work.\n \n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"[]\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n \n Copyright [yyyy] [name of copyright owner]\n \n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.apache.org/licenses/LICENSE-2.0\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.",
"scancode_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/apache-2.0.LICENSE",
"licensedb_url": "https://scancode-licensedb.aboutcode.org/apache-2.0",
"spdx_url": "https://spdx.org/licenses/Apache-2.0"
diff --git a/tests/licensedcode/test_models.py b/tests/licensedcode/test_models.py
index dd8c5111d7c..4c05d0b8551 100644
--- a/tests/licensedcode/test_models.py
+++ b/tests/licensedcode/test_models.py
@@ -88,6 +88,7 @@ def test_validate_license_library_data(self):
errors, warnings, infos = models.License.validate(
licenses=models.load_licenses(with_deprecated=False),
verbose=False,
+ thorough=True,
)
assert errors == {}
assert warnings == {}
@@ -185,6 +186,9 @@ def test_rule_from_license_have_text_file_and_data_file_are_computed_correctly(s
class TestRule(FileBasedTesting):
test_data_dir = TEST_DATA_DIR
+ def test_validate_license_rules_data(self):
+ rules = list(models.get_rules(validate=True, validate_thorough=True))
+
def test_create_rule_ignore_punctuation(self):
test_rule = create_rule_from_text_and_expression(text='A one. A two. A three.')
expected = ['one', 'two', 'three']