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