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