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