LICENSE 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  1. Copyright © 2015-2022 HashiCorp, Inc.
  2. Mozilla Public License, version 2.0
  3. 1. Definitions
  4. 1.1. "Contributor"
  5. means each individual or legal entity that creates, contributes to the
  6. creation of, or owns Covered Software.
  7. 1.2. "Contributor Version"
  8. means the combination of the Contributions of others (if any) used by a
  9. Contributor and that particular Contributor's Contribution.
  10. 1.3. "Contribution"
  11. means Covered Software of a particular Contributor.
  12. 1.4. "Covered Software"
  13. means Source Code Form to which the initial Contributor has attached the
  14. notice in Exhibit A, the Executable Form of such Source Code Form, and
  15. Modifications of such Source Code Form, in each case including portions
  16. thereof.
  17. 1.5. "Incompatible With Secondary Licenses"
  18. means
  19. a. that the initial Contributor has attached the notice described in
  20. Exhibit B to the Covered Software; or
  21. b. that the Covered Software was made available under the terms of
  22. version 1.1 or earlier of the License, but not also under the terms of
  23. a Secondary License.
  24. 1.6. "Executable Form"
  25. means any form of the work other than Source Code Form.
  26. 1.7. "Larger Work"
  27. means a work that combines Covered Software with other material, in a
  28. separate file or files, that is not Covered Software.
  29. 1.8. "License"
  30. means this document.
  31. 1.9. "Licensable"
  32. means having the right to grant, to the maximum extent possible, whether
  33. at the time of the initial grant or subsequently, any and all of the
  34. rights conveyed by this License.
  35. 1.10. "Modifications"
  36. means any of the following:
  37. a. any file in Source Code Form that results from an addition to,
  38. deletion from, or modification of the contents of Covered Software; or
  39. b. any new file in Source Code Form that contains any Covered Software.
  40. 1.11. "Patent Claims" of a Contributor
  41. means any patent claim(s), including without limitation, method,
  42. process, and apparatus claims, in any patent Licensable by such
  43. Contributor that would be infringed, but for the grant of the License,
  44. by the making, using, selling, offering for sale, having made, import,
  45. or transfer of either its Contributions or its Contributor Version.
  46. 1.12. "Secondary License"
  47. means either the GNU General Public License, Version 2.0, the GNU Lesser
  48. General Public License, Version 2.1, the GNU Affero General Public
  49. License, Version 3.0, or any later versions of those licenses.
  50. 1.13. "Source Code Form"
  51. means the form of the work preferred for making modifications.
  52. 1.14. "You" (or "Your")
  53. means an individual or a legal entity exercising rights under this
  54. License. For legal entities, "You" includes any entity that controls, is
  55. controlled by, or is under common control with You. For purposes of this
  56. definition, "control" means (a) the power, direct or indirect, to cause
  57. the direction or management of such entity, whether by contract or
  58. otherwise, or (b) ownership of more than fifty percent (50%) of the
  59. outstanding shares or beneficial ownership of such entity.
  60. 2. License Grants and Conditions
  61. 2.1. Grants
  62. Each Contributor hereby grants You a world-wide, royalty-free,
  63. non-exclusive license:
  64. a. under intellectual property rights (other than patent or trademark)
  65. Licensable by such Contributor to use, reproduce, make available,
  66. modify, display, perform, distribute, and otherwise exploit its
  67. Contributions, either on an unmodified basis, with Modifications, or
  68. as part of a Larger Work; and
  69. b. under Patent Claims of such Contributor to make, use, sell, offer for
  70. sale, have made, import, and otherwise transfer either its
  71. Contributions or its Contributor Version.
  72. 2.2. Effective Date
  73. The licenses granted in Section 2.1 with respect to any Contribution
  74. become effective for each Contribution on the date the Contributor first
  75. distributes such Contribution.
  76. 2.3. Limitations on Grant Scope
  77. The licenses granted in this Section 2 are the only rights granted under
  78. this License. No additional rights or licenses will be implied from the
  79. distribution or licensing of Covered Software under this License.
  80. Notwithstanding Section 2.1(b) above, no patent license is granted by a
  81. Contributor:
  82. a. for any code that a Contributor has removed from Covered Software; or
  83. b. for infringements caused by: (i) Your and any other third party's
  84. modifications of Covered Software, or (ii) the combination of its
  85. Contributions with other software (except as part of its Contributor
  86. Version); or
  87. c. under Patent Claims infringed by Covered Software in the absence of
  88. its Contributions.
  89. This License does not grant any rights in the trademarks, service marks,
  90. or logos of any Contributor (except as may be necessary to comply with
  91. the notice requirements in Section 3.4).
  92. 2.4. Subsequent Licenses
  93. No Contributor makes additional grants as a result of Your choice to
  94. distribute the Covered Software under a subsequent version of this
  95. License (see Section 10.2) or under the terms of a Secondary License (if
  96. permitted under the terms of Section 3.3).
  97. 2.5. Representation
  98. Each Contributor represents that the Contributor believes its
  99. Contributions are its original creation(s) or it has sufficient rights to
  100. grant the rights to its Contributions conveyed by this License.
  101. 2.6. Fair Use
  102. This License is not intended to limit any rights You have under
  103. applicable copyright doctrines of fair use, fair dealing, or other
  104. equivalents.
  105. 2.7. Conditions
  106. Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in
  107. Section 2.1.
  108. 3. Responsibilities
  109. 3.1. Distribution of Source Form
  110. All distribution of Covered Software in Source Code Form, including any
  111. Modifications that You create or to which You contribute, must be under
  112. the terms of this License. You must inform recipients that the Source
  113. Code Form of the Covered Software is governed by the terms of this
  114. License, and how they can obtain a copy of this License. You may not
  115. attempt to alter or restrict the recipients' rights in the Source Code
  116. Form.
  117. 3.2. Distribution of Executable Form
  118. If You distribute Covered Software in Executable Form then:
  119. a. such Covered Software must also be made available in Source Code Form,
  120. as described in Section 3.1, and You must inform recipients of the
  121. Executable Form how they can obtain a copy of such Source Code Form by
  122. reasonable means in a timely manner, at a charge no more than the cost
  123. of distribution to the recipient; and
  124. b. You may distribute such Executable Form under the terms of this
  125. License, or sublicense it under different terms, provided that the
  126. license for the Executable Form does not attempt to limit or alter the
  127. recipients' rights in the Source Code Form under this License.
  128. 3.3. Distribution of a Larger Work
  129. You may create and distribute a Larger Work under terms of Your choice,
  130. provided that You also comply with the requirements of this License for
  131. the Covered Software. If the Larger Work is a combination of Covered
  132. Software with a work governed by one or more Secondary Licenses, and the
  133. Covered Software is not Incompatible With Secondary Licenses, this
  134. License permits You to additionally distribute such Covered Software
  135. under the terms of such Secondary License(s), so that the recipient of
  136. the Larger Work may, at their option, further distribute the Covered
  137. Software under the terms of either this License or such Secondary
  138. License(s).
  139. 3.4. Notices
  140. You may not remove or alter the substance of any license notices
  141. (including copyright notices, patent notices, disclaimers of warranty, or
  142. limitations of liability) contained within the Source Code Form of the
  143. Covered Software, except that You may alter any license notices to the
  144. extent required to remedy known factual inaccuracies.
  145. 3.5. Application of Additional Terms
  146. You may choose to offer, and to charge a fee for, warranty, support,
  147. indemnity or liability obligations to one or more recipients of Covered
  148. Software. However, You may do so only on Your own behalf, and not on
  149. behalf of any Contributor. You must make it absolutely clear that any
  150. such warranty, support, indemnity, or liability obligation is offered by
  151. You alone, and You hereby agree to indemnify every Contributor for any
  152. liability incurred by such Contributor as a result of warranty, support,
  153. indemnity or liability terms You offer. You may include additional
  154. disclaimers of warranty and limitations of liability specific to any
  155. jurisdiction.
  156. 4. Inability to Comply Due to Statute or Regulation
  157. If it is impossible for You to comply with any of the terms of this License
  158. with respect to some or all of the Covered Software due to statute,
  159. judicial order, or regulation then You must: (a) comply with the terms of
  160. this License to the maximum extent possible; and (b) describe the
  161. limitations and the code they affect. Such description must be placed in a
  162. text file included with all distributions of the Covered Software under
  163. this License. Except to the extent prohibited by statute or regulation,
  164. such description must be sufficiently detailed for a recipient of ordinary
  165. skill to be able to understand it.
  166. 5. Termination
  167. 5.1. The rights granted under this License will terminate automatically if You
  168. fail to comply with any of its terms. However, if You become compliant,
  169. then the rights granted under this License from a particular Contributor
  170. are reinstated (a) provisionally, unless and until such Contributor
  171. explicitly and finally terminates Your grants, and (b) on an ongoing
  172. basis, if such Contributor fails to notify You of the non-compliance by
  173. some reasonable means prior to 60 days after You have come back into
  174. compliance. Moreover, Your grants from a particular Contributor are
  175. reinstated on an ongoing basis if such Contributor notifies You of the
  176. non-compliance by some reasonable means, this is the first time You have
  177. received notice of non-compliance with this License from such
  178. Contributor, and You become compliant prior to 30 days after Your receipt
  179. of the notice.
  180. 5.2. If You initiate litigation against any entity by asserting a patent
  181. infringement claim (excluding declaratory judgment actions,
  182. counter-claims, and cross-claims) alleging that a Contributor Version
  183. directly or indirectly infringes any patent, then the rights granted to
  184. You by any and all Contributors for the Covered Software under Section
  185. 2.1 of this License shall terminate.
  186. 5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user
  187. license agreements (excluding distributors and resellers) which have been
  188. validly granted by You or Your distributors under this License prior to
  189. termination shall survive termination.
  190. 6. Disclaimer of Warranty
  191. Covered Software is provided under this License on an "as is" basis,
  192. without warranty of any kind, either expressed, implied, or statutory,
  193. including, without limitation, warranties that the Covered Software is free
  194. of defects, merchantable, fit for a particular purpose or non-infringing.
  195. The entire risk as to the quality and performance of the Covered Software
  196. is with You. Should any Covered Software prove defective in any respect,
  197. You (not any Contributor) assume the cost of any necessary servicing,
  198. repair, or correction. This disclaimer of warranty constitutes an essential
  199. part of this License. No use of any Covered Software is authorized under
  200. this License except under this disclaimer.
  201. 7. Limitation of Liability
  202. Under no circumstances and under no legal theory, whether tort (including
  203. negligence), contract, or otherwise, shall any Contributor, or anyone who
  204. distributes Covered Software as permitted above, be liable to You for any
  205. direct, indirect, special, incidental, or consequential damages of any
  206. character including, without limitation, damages for lost profits, loss of
  207. goodwill, work stoppage, computer failure or malfunction, or any and all
  208. other commercial damages or losses, even if such party shall have been
  209. informed of the possibility of such damages. This limitation of liability
  210. shall not apply to liability for death or personal injury resulting from
  211. such party's negligence to the extent applicable law prohibits such
  212. limitation. Some jurisdictions do not allow the exclusion or limitation of
  213. incidental or consequential damages, so this exclusion and limitation may
  214. not apply to You.
  215. 8. Litigation
  216. Any litigation relating to this License may be brought only in the courts
  217. of a jurisdiction where the defendant maintains its principal place of
  218. business and such litigation shall be governed by laws of that
  219. jurisdiction, without reference to its conflict-of-law provisions. Nothing
  220. in this Section shall prevent a party's ability to bring cross-claims or
  221. counter-claims.
  222. 9. Miscellaneous
  223. This License represents the complete agreement concerning the subject
  224. matter hereof. If any provision of this License is held to be
  225. unenforceable, such provision shall be reformed only to the extent
  226. necessary to make it enforceable. Any law or regulation which provides that
  227. the language of a contract shall be construed against the drafter shall not
  228. be used to construe this License against a Contributor.
  229. 10. Versions of the License
  230. 10.1. New Versions
  231. Mozilla Foundation is the license steward. Except as provided in Section
  232. 10.3, no one other than the license steward has the right to modify or
  233. publish new versions of this License. Each version will be given a
  234. distinguishing version number.
  235. 10.2. Effect of New Versions
  236. You may distribute the Covered Software under the terms of the version
  237. of the License under which You originally received the Covered Software,
  238. or under the terms of any subsequent version published by the license
  239. steward.
  240. 10.3. Modified Versions
  241. If you create software not governed by this License, and you want to
  242. create a new license for such software, you may create and use a
  243. modified version of this License if you rename the license and remove
  244. any references to the name of the license steward (except to note that
  245. such modified license differs from this License).
  246. 10.4. Distributing Source Code Form that is Incompatible With Secondary
  247. Licenses If You choose to distribute Source Code Form that is
  248. Incompatible With Secondary Licenses under the terms of this version of
  249. the License, the notice described in Exhibit B of this License must be
  250. attached.
  251. Exhibit A - Source Code Form License Notice
  252. This Source Code Form is subject to the
  253. terms of the Mozilla Public License, v.
  254. 2.0. If a copy of the MPL was not
  255. distributed with this file, You can
  256. obtain one at
  257. http://mozilla.org/MPL/2.0/.
  258. If it is not possible or desirable to put the notice in a particular file,
  259. then You may include the notice in a location (such as a LICENSE file in a
  260. relevant directory) where a recipient would be likely to look for such a
  261. notice.
  262. You may add additional accurate notices of copyright ownership.
  263. Exhibit B - "Incompatible With Secondary Licenses" Notice
  264. This Source Code Form is "Incompatible
  265. With Secondary Licenses", as defined by
  266. the Mozilla Public License, v. 2.0.