LICENSE 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. SPDX:Apache-2.0
  2. Apache License
  3. Version 2.0, January 2004
  4. http://www.apache.org/licenses/
  5. TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
  6. 1. Definitions.
  7. "License" shall mean the terms and conditions for use, reproduction, and
  8. distribution as defined by Sections 1 through 9 of this document.
  9. "Licensor" shall mean the copyright owner or entity authorized by the
  10. copyright owner that is granting the License.
  11. "Legal Entity" shall mean the union of the acting entity and all other
  12. entities that control, are controlled by, or are under common control
  13. with that entity. For the purposes of this definition, "control" means
  14. (i) the power, direct or indirect, to cause the direction or management
  15. of such entity, whether by contract or otherwise, or (ii) ownership of
  16. fifty percent (50%) or more of the outstanding shares, or (iii)
  17. beneficial ownership of such entity.
  18. "You" (or "Your") shall mean an individual or Legal Entity exercising
  19. permissions granted by this License.
  20. "Source" form shall mean the preferred form for making modifications,
  21. including but not limited to software source code, documentation source,
  22. and configuration files.
  23. "Object" form shall mean any form resulting from mechanical
  24. transformation or translation of a Source form, including but not
  25. limited to compiled object code, generated documentation, and
  26. conversions to other media types.
  27. "Work" shall mean the work of authorship, whether in Source or Object
  28. form, made available under the License, as indicated by a copyright
  29. notice that is included in or attached to the work (an example is
  30. provided in the Appendix below).
  31. "Derivative Works" shall mean any work, whether in Source or Object
  32. form, that is based on (or derived from) the Work and for which the
  33. editorial revisions, annotations, elaborations, or other modifications
  34. represent, as a whole, an original work of authorship. For the purposes
  35. of this License, Derivative Works shall not include works that remain
  36. separable from, or merely link (or bind by name) to the interfaces of,
  37. the Work and Derivative Works thereof.
  38. "Contribution" shall mean any work of authorship, including the original
  39. version of the Work and any modifications or additions to that Work or
  40. Derivative Works thereof, that is intentionally submitted to Licensor
  41. for inclusion in the Work by the copyright owner or by an individual or
  42. Legal Entity authorized to submit on behalf of the copyright owner. For
  43. the purposes of this definition, "submitted" means any form of
  44. electronic, verbal, or written communication sent to the Licensor or its
  45. representatives, including but not limited to communication on
  46. electronic mailing lists, source code control systems, and issue
  47. tracking systems that are managed by, or on behalf of, the Licensor for
  48. the purpose of discussing and improving the Work, but excluding
  49. communication that is conspicuously marked or otherwise designated in
  50. writing by the copyright owner as "Not a Contribution."
  51. "Contributor" shall mean Licensor and any individual or Legal Entity on
  52. behalf of whom a Contribution has been received by Licensor and
  53. subsequently incorporated within the Work.
  54. 2. Grant of Copyright License. Subject to the terms and conditions of
  55. this License, each Contributor hereby grants to You a perpetual,
  56. worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright
  57. license to reproduce, prepare Derivative Works of, publicly display,
  58. publicly perform, sublicense, and distribute the Work and such
  59. Derivative Works in Source or Object form.
  60. 3. Grant of Patent License. Subject to the terms and conditions of this
  61. License, each Contributor hereby grants to You a perpetual, worldwide,
  62. non-exclusive, no-charge, royalty-free, irrevocable (except as stated in
  63. this section) patent license to make, have made, use, offer to sell,
  64. sell, import, and otherwise transfer the Work, where such license
  65. applies only to those patent claims licensable by such Contributor that
  66. are necessarily infringed by their Contribution(s) alone or by
  67. combination of their Contribution(s) with the Work to which such
  68. Contribution(s) was submitted. If You institute patent litigation
  69. against any entity (including a cross-claim or counterclaim in a
  70. lawsuit) alleging that the Work or a Contribution incorporated within
  71. the Work constitutes direct or contributory patent infringement, then
  72. any patent licenses granted to You under this License for that Work
  73. shall terminate as of the date such litigation is filed.
  74. 4. Redistribution. You may reproduce and distribute copies of the Work
  75. or Derivative Works thereof in any medium, with or without
  76. modifications, and in Source or Object form, provided that You meet the
  77. following conditions:
  78. (a) You must give any other recipients of the Work or Derivative Works a
  79. copy of this License; and
  80. (b) You must cause any modified files to carry prominent notices stating
  81. that You changed the files; and
  82. (c) You must retain, in the Source form of any Derivative Works that You
  83. distribute, all copyright, patent, trademark, and attribution notices
  84. from the Source form of the Work, excluding those notices that do not
  85. pertain to any part of the Derivative Works; and
  86. (d) If the Work includes a "NOTICE" text file as part of its
  87. distribution, then any Derivative Works that You distribute must include
  88. a readable copy of the attribution notices contained within such NOTICE
  89. file, excluding those notices that do not pertain to any part of the
  90. Derivative Works, in at least one of the following places: within a
  91. NOTICE text file distributed as part of the Derivative Works; within the
  92. Source form or documentation, if provided along with the Derivative
  93. Works; or, within a display generated by the Derivative Works, if and
  94. wherever such third-party notices normally appear. The contents of the
  95. NOTICE file are for informational purposes only and do not modify the
  96. License. You may add Your own attribution notices within Derivative
  97. Works that You distribute, alongside or as an addendum to the NOTICE
  98. text from the Work, provided that such additional attribution notices
  99. cannot be construed as modifying the License.
  100. You may add Your own copyright statement to Your modifications and may
  101. provide additional or different license terms and conditions for use,
  102. reproduction, or distribution of Your modifications, or for any such
  103. Derivative Works as a whole, provided Your use, reproduction, and
  104. distribution of the Work otherwise complies with the conditions stated
  105. in this License.
  106. 5. Submission of Contributions. Unless You explicitly state otherwise,
  107. any Contribution intentionally submitted for inclusion in the Work by
  108. You to the Licensor shall be under the terms and conditions of this
  109. License, without any additional terms or conditions. Notwithstanding the
  110. above, nothing herein shall supersede or modify the terms of any
  111. separate license agreement you may have executed with Licensor regarding
  112. such Contributions.
  113. 6. Trademarks. This License does not grant permission to use the trade
  114. names, trademarks, service marks, or product names of the Licensor,
  115. except as required for reasonable and customary use in describing the
  116. origin of the Work and reproducing the content of the NOTICE file.
  117. 7. Disclaimer of Warranty. Unless required by applicable law or agreed
  118. to in writing, Licensor provides the Work (and each Contributor provides
  119. its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
  120. OF ANY KIND, either express or implied, including, without limitation,
  121. any warranties or conditions of TITLE, NON-INFRINGEMENT,
  122. MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely
  123. responsible for determining the appropriateness of using or
  124. redistributing the Work and assume any risks associated with Your
  125. exercise of permissions under this License.
  126. 8. Limitation of Liability. In no event and under no legal theory,
  127. whether in tort (including negligence), contract, or otherwise, unless
  128. required by applicable law (such as deliberate and grossly negligent
  129. acts) or agreed to in writing, shall any Contributor be liable to You
  130. for damages, including any direct, indirect, special, incidental, or
  131. consequential damages of any character arising as a result of this
  132. License or out of the use or inability to use the Work (including but
  133. not limited to damages for loss of goodwill, work stoppage, computer
  134. failure or malfunction, or any and all other commercial damages or
  135. losses), even if such Contributor has been advised of the possibility of
  136. such damages.
  137. 9. Accepting Warranty or Additional Liability. While redistributing the
  138. Work or Derivative Works thereof, You may choose to offer, and charge a
  139. fee for, acceptance of support, warranty, indemnity, or other liability
  140. obligations and/or rights consistent with this License. However, in
  141. accepting such obligations, You may act only on Your own behalf and on
  142. Your sole responsibility, not on behalf of any other Contributor, and
  143. only if You agree to indemnify, defend, and hold each Contributor
  144. harmless for any liability incurred by, or claims asserted against, such
  145. Contributor by reason of your accepting any such warranty or additional
  146. liability.