0001 Valid-License-Identifier: Apache-2.0
0002 SPDX-URL: https://spdx.org/licenses/Apache-2.0.html
0003 Usage-Guide:
0004 Do NOT use. The Apache-2.0 is not GPL2 compatible. It may only be used
0005 for dual-licensed files where the other license is GPL2 compatible.
0006 If you end up using this it MUST be used together with a GPL2 compatible
0007 license using "OR".
0008 To use the Apache License version 2.0 put the following SPDX tag/value
0009 pair into a comment according to the placement guidelines in the
0010 licensing rules documentation:
0011 SPDX-License-Identifier: Apache-2.0
0012 License-Text:
0013
0014 Apache License
0015
0016 Version 2.0, January 2004
0017
0018 http://www.apache.org/licenses/
0019
0020 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
0021
0022 1. Definitions.
0023
0024 "License" shall mean the terms and conditions for use, reproduction, and
0025 distribution as defined by Sections 1 through 9 of this document.
0026
0027 "Licensor" shall mean the copyright owner or entity authorized by the
0028 copyright owner that is granting the License.
0029
0030 "Legal Entity" shall mean the union of the acting entity and all other
0031 entities that control, are controlled by, or are under common control with
0032 that entity. For the purposes of this definition, "control" means (i) the
0033 power, direct or indirect, to cause the direction or management of such
0034 entity, whether by contract or otherwise, or (ii) ownership of fifty
0035 percent (50%) or more of the outstanding shares, or (iii) beneficial
0036 ownership of such entity.
0037
0038 "You" (or "Your") shall mean an individual or Legal Entity exercising
0039 permissions granted by this License.
0040
0041 "Source" form shall mean the preferred form for making modifications,
0042 including but not limited to software source code, documentation source,
0043 and configuration files.
0044
0045 "Object" form shall mean any form resulting from mechanical transformation
0046 or translation of a Source form, including but not limited to compiled
0047 object code, generated documentation, and conversions to other media types.
0048
0049 "Work" shall mean the work of authorship, whether in Source or Object form,
0050 made available under the License, as indicated by a copyright notice that
0051 is included in or attached to the work (an example is provided in the
0052 Appendix below).
0053
0054 "Derivative Works" shall mean any work, whether in Source or Object form,
0055 that is based on (or derived from) the Work and for which the editorial
0056 revisions, annotations, elaborations, or other modifications represent, as
0057 a whole, an original work of authorship. For the purposes of this License,
0058 Derivative Works shall not include works that remain separable from, or
0059 merely link (or bind by name) to the interfaces of, the Work and Derivative
0060 Works thereof.
0061
0062 "Contribution" shall mean any work of authorship, including the original
0063 version of the Work and any modifications or additions to that Work or
0064 Derivative Works thereof, that is intentionally submitted to Licensor for
0065 inclusion in the Work by the copyright owner or by an individual or Legal
0066 Entity authorized to submit on behalf of the copyright owner. For the
0067 purposes of this definition, "submitted" means any form of electronic,
0068 verbal, or written communication sent to the Licensor or its
0069 representatives, including but not limited to communication on electronic
0070 mailing lists, source code control systems, and issue tracking systems that
0071 are managed by, or on behalf of, the Licensor for the purpose of discussing
0072 and improving the Work, but excluding communication that is conspicuously
0073 marked or otherwise designated in writing by the copyright owner as "Not a
0074 Contribution."
0075
0076 "Contributor" shall mean Licensor and any individual or Legal Entity on
0077 behalf of whom a Contribution has been received by Licensor and
0078 subsequently incorporated within the Work.
0079
0080 2. Grant of Copyright License. Subject to the terms and conditions of this
0081 License, each Contributor hereby grants to You a perpetual, worldwide,
0082 non-exclusive, no-charge, royalty-free, irrevocable copyright license to
0083 reproduce, prepare Derivative Works of, publicly display, publicly
0084 perform, sublicense, and distribute the Work and such Derivative Works
0085 in Source or Object form.
0086
0087 3. Grant of Patent License. Subject to the terms and conditions of this
0088 License, each Contributor hereby grants to You a perpetual, worldwide,
0089 non-exclusive, no-charge, royalty-free, irrevocable (except as stated in
0090 this section) patent license to make, have made, use, offer to sell,
0091 sell, import, and otherwise transfer the Work, where such license
0092 applies only to those patent claims licensable by such Contributor that
0093 are necessarily infringed by their Contribution(s) alone or by
0094 combination of their Contribution(s) with the Work to which such
0095 Contribution(s) was submitted. If You institute patent litigation
0096 against any entity (including a cross-claim or counterclaim in a
0097 lawsuit) alleging that the Work or a Contribution incorporated within
0098 the Work constitutes direct or contributory patent infringement, then
0099 any patent licenses granted to You under this License for that Work
0100 shall terminate as of the date such litigation is filed.
0101
0102 4. Redistribution. You may reproduce and distribute copies of the Work or
0103 Derivative Works thereof in any medium, with or without modifications,
0104 and in Source or Object form, provided that You meet the following
0105 conditions:
0106
0107 a. You must give any other recipients of the Work or Derivative Works a
0108 copy of this License; and
0109
0110 b. You must cause any modified files to carry prominent notices stating
0111 that You changed the files; and
0112
0113 c. You must retain, in the Source form of any Derivative Works that You
0114 distribute, all copyright, patent, trademark, and attribution notices
0115 from the Source form of the Work, excluding those notices that do not
0116 pertain to any part of the Derivative Works; and
0117
0118 d. If the Work includes a "NOTICE" text file as part of its
0119 distribution, then any Derivative Works that You distribute must
0120 include a readable copy of the attribution notices contained within
0121 such NOTICE file, excluding those notices that do not pertain to any
0122 part of the Derivative Works, in at least one of the following
0123 places: within a NOTICE text file distributed as part of the
0124 Derivative Works; within the Source form or documentation, if
0125 provided along with the Derivative Works; or, within a display
0126 generated by the Derivative Works, if and wherever such third-party
0127 notices normally appear. The contents of the NOTICE file are for
0128 informational purposes only and do not modify the License. You may
0129 add Your own attribution notices within Derivative Works that You
0130 distribute, alongside or as an addendum to the NOTICE text from the
0131 Work, provided that such additional attribution notices cannot be
0132 construed as modifying the License.
0133
0134 You may add Your own copyright statement to Your modifications and may
0135 provide additional or different license terms and conditions for use,
0136 reproduction, or distribution of Your modifications, or for any such
0137 Derivative Works as a whole, provided Your use, reproduction, and
0138 distribution of the Work otherwise complies with the conditions stated
0139 in this License.
0140
0141 5. Submission of Contributions. Unless You explicitly state otherwise, any
0142 Contribution intentionally submitted for inclusion in the Work by You to
0143 the Licensor shall be under the terms and conditions of this License,
0144 without any additional terms or conditions. Notwithstanding the above,
0145 nothing herein shall supersede or modify the terms of any separate
0146 license agreement you may have executed with Licensor regarding such
0147 Contributions.
0148
0149 6. Trademarks. This License does not grant permission to use the trade
0150 names, trademarks, service marks, or product names of the Licensor,
0151 except as required for reasonable and customary use in describing the
0152 origin of the Work and reproducing the content of the NOTICE file.
0153
0154 7. Disclaimer of Warranty. Unless required by applicable law or agreed to
0155 in writing, Licensor provides the Work (and each Contributor provides
0156 its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
0157 OF ANY KIND, either express or implied, including, without limitation,
0158 any warranties or conditions of TITLE, NON-INFRINGEMENT,
0159 MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely
0160 responsible for determining the appropriateness of using or
0161 redistributing the Work and assume any risks associated with Your
0162 exercise of permissions under this License.
0163
0164 8. Limitation of Liability. In no event and under no legal theory, whether
0165 in tort (including negligence), contract, or otherwise, unless required
0166 by applicable law (such as deliberate and grossly negligent acts) or
0167 agreed to in writing, shall any Contributor be liable to You for
0168 damages, including any direct, indirect, special, incidental, or
0169 consequential damages of any character arising as a result of this
0170 License or out of the use or inability to use the Work (including but
0171 not limited to damages for loss of goodwill, work stoppage, computer
0172 failure or malfunction, or any and all other commercial damages or
0173 losses), even if such Contributor has been advised of the possibility of
0174 such damages.
0175
0176 9. Accepting Warranty or Additional Liability. While redistributing the
0177 Work or Derivative Works thereof, You may choose to offer, and charge a
0178 fee for, acceptance of support, warranty, indemnity, or other liability
0179 obligations and/or rights consistent with this License. However, in
0180 accepting such obligations, You may act only on Your own behalf and on
0181 Your sole responsibility, not on behalf of any other Contributor, and
0182 only if You agree to indemnify, defend, and hold each Contributor
0183 harmless for any liability incurred by, or claims asserted against, such
0184 Contributor by reason of your accepting any such warranty or additional
0185 liability.
0186
0187 END OF TERMS AND CONDITIONS