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