LICENSE 11 KB

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