LICENSE 9.0 KB

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