1234b5ae9SKenneth Lareau                                 Apache License
2234b5ae9SKenneth Lareau                           Version 2.0, January 2004
3234b5ae9SKenneth Lareau                        http://www.apache.org/licenses/
4234b5ae9SKenneth Lareau
5234b5ae9SKenneth Lareau   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6234b5ae9SKenneth Lareau
7234b5ae9SKenneth Lareau   1. Definitions.
8234b5ae9SKenneth Lareau
9234b5ae9SKenneth Lareau      "License" shall mean the terms and conditions for use, reproduction,
10234b5ae9SKenneth Lareau      and distribution as defined by Sections 1 through 9 of this document.
11234b5ae9SKenneth Lareau
12234b5ae9SKenneth Lareau      "Licensor" shall mean the copyright owner or entity authorized by
13234b5ae9SKenneth Lareau      the copyright owner that is granting the License.
14234b5ae9SKenneth Lareau
15234b5ae9SKenneth Lareau      "Legal Entity" shall mean the union of the acting entity and all
16234b5ae9SKenneth Lareau      other entities that control, are controlled by, or are under common
17234b5ae9SKenneth Lareau      control with that entity. For the purposes of this definition,
18234b5ae9SKenneth Lareau      "control" means (i) the power, direct or indirect, to cause the
19234b5ae9SKenneth Lareau      direction or management of such entity, whether by contract or
20234b5ae9SKenneth Lareau      otherwise, or (ii) ownership of fifty percent (50%) or more of the
21234b5ae9SKenneth Lareau      outstanding shares, or (iii) beneficial ownership of such entity.
22234b5ae9SKenneth Lareau
23234b5ae9SKenneth Lareau      "You" (or "Your") shall mean an individual or Legal Entity
24234b5ae9SKenneth Lareau      exercising permissions granted by this License.
25234b5ae9SKenneth Lareau
26234b5ae9SKenneth Lareau      "Source" form shall mean the preferred form for making modifications,
27234b5ae9SKenneth Lareau      including but not limited to software source code, documentation
28234b5ae9SKenneth Lareau      source, and configuration files.
29234b5ae9SKenneth Lareau
30234b5ae9SKenneth Lareau      "Object" form shall mean any form resulting from mechanical
31234b5ae9SKenneth Lareau      transformation or translation of a Source form, including but
32234b5ae9SKenneth Lareau      not limited to compiled object code, generated documentation,
33234b5ae9SKenneth Lareau      and conversions to other media types.
34234b5ae9SKenneth Lareau
35234b5ae9SKenneth Lareau      "Work" shall mean the work of authorship, whether in Source or
36234b5ae9SKenneth Lareau      Object form, made available under the License, as indicated by a
37234b5ae9SKenneth Lareau      copyright notice that is included in or attached to the work
38234b5ae9SKenneth Lareau      (an example is provided in the Appendix below).
39234b5ae9SKenneth Lareau
40234b5ae9SKenneth Lareau      "Derivative Works" shall mean any work, whether in Source or Object
41234b5ae9SKenneth Lareau      form, that is based on (or derived from) the Work and for which the
42234b5ae9SKenneth Lareau      editorial revisions, annotations, elaborations, or other modifications
43234b5ae9SKenneth Lareau      represent, as a whole, an original work of authorship. For the purposes
44234b5ae9SKenneth Lareau      of this License, Derivative Works shall not include works that remain
45234b5ae9SKenneth Lareau      separable from, or merely link (or bind by name) to the interfaces of,
46234b5ae9SKenneth Lareau      the Work and Derivative Works thereof.
47234b5ae9SKenneth Lareau
48234b5ae9SKenneth Lareau      "Contribution" shall mean any work of authorship, including
49234b5ae9SKenneth Lareau      the original version of the Work and any modifications or additions
50234b5ae9SKenneth Lareau      to that Work or Derivative Works thereof, that is intentionally
51234b5ae9SKenneth Lareau      submitted to Licensor for inclusion in the Work by the copyright owner
52234b5ae9SKenneth Lareau      or by an individual or Legal Entity authorized to submit on behalf of
53234b5ae9SKenneth Lareau      the copyright owner. For the purposes of this definition, "submitted"
54234b5ae9SKenneth Lareau      means any form of electronic, verbal, or written communication sent
55234b5ae9SKenneth Lareau      to the Licensor or its representatives, including but not limited to
56234b5ae9SKenneth Lareau      communication on electronic mailing lists, source code control systems,
57234b5ae9SKenneth Lareau      and issue tracking systems that are managed by, or on behalf of, the
58234b5ae9SKenneth Lareau      Licensor for the purpose of discussing and improving the Work, but
59234b5ae9SKenneth Lareau      excluding communication that is conspicuously marked or otherwise
60234b5ae9SKenneth Lareau      designated in writing by the copyright owner as "Not a Contribution."
61234b5ae9SKenneth Lareau
62234b5ae9SKenneth Lareau      "Contributor" shall mean Licensor and any individual or Legal Entity
63234b5ae9SKenneth Lareau      on behalf of whom a Contribution has been received by Licensor and
64234b5ae9SKenneth Lareau      subsequently incorporated within the Work.
65234b5ae9SKenneth Lareau
66234b5ae9SKenneth Lareau   2. Grant of Copyright License. Subject to the terms and conditions of
67234b5ae9SKenneth Lareau      this License, each Contributor hereby grants to You a perpetual,
68234b5ae9SKenneth Lareau      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69234b5ae9SKenneth Lareau      copyright license to reproduce, prepare Derivative Works of,
70234b5ae9SKenneth Lareau      publicly display, publicly perform, sublicense, and distribute the
71234b5ae9SKenneth Lareau      Work and such Derivative Works in Source or Object form.
72234b5ae9SKenneth Lareau
73234b5ae9SKenneth Lareau   3. Grant of Patent License. Subject to the terms and conditions of
74234b5ae9SKenneth Lareau      this License, each Contributor hereby grants to You a perpetual,
75234b5ae9SKenneth Lareau      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76234b5ae9SKenneth Lareau      (except as stated in this section) patent license to make, have made,
77234b5ae9SKenneth Lareau      use, offer to sell, sell, import, and otherwise transfer the Work,
78234b5ae9SKenneth Lareau      where such license applies only to those patent claims licensable
79234b5ae9SKenneth Lareau      by such Contributor that are necessarily infringed by their
80234b5ae9SKenneth Lareau      Contribution(s) alone or by combination of their Contribution(s)
81234b5ae9SKenneth Lareau      with the Work to which such Contribution(s) was submitted. If You
82234b5ae9SKenneth Lareau      institute patent litigation against any entity (including a
83234b5ae9SKenneth Lareau      cross-claim or counterclaim in a lawsuit) alleging that the Work
84234b5ae9SKenneth Lareau      or a Contribution incorporated within the Work constitutes direct
85234b5ae9SKenneth Lareau      or contributory patent infringement, then any patent licenses
86234b5ae9SKenneth Lareau      granted to You under this License for that Work shall terminate
87234b5ae9SKenneth Lareau      as of the date such litigation is filed.
88234b5ae9SKenneth Lareau
89234b5ae9SKenneth Lareau   4. Redistribution. You may reproduce and distribute copies of the
90234b5ae9SKenneth Lareau      Work or Derivative Works thereof in any medium, with or without
91234b5ae9SKenneth Lareau      modifications, and in Source or Object form, provided that You
92234b5ae9SKenneth Lareau      meet the following conditions:
93234b5ae9SKenneth Lareau
94234b5ae9SKenneth Lareau      (a) You must give any other recipients of the Work or
95234b5ae9SKenneth Lareau          Derivative Works a copy of this License; and
96234b5ae9SKenneth Lareau
97234b5ae9SKenneth Lareau      (b) You must cause any modified files to carry prominent notices
98234b5ae9SKenneth Lareau          stating that You changed the files; and
99234b5ae9SKenneth Lareau
100234b5ae9SKenneth Lareau      (c) You must retain, in the Source form of any Derivative Works
101234b5ae9SKenneth Lareau          that You distribute, all copyright, patent, trademark, and
102234b5ae9SKenneth Lareau          attribution notices from the Source form of the Work,
103234b5ae9SKenneth Lareau          excluding those notices that do not pertain to any part of
104234b5ae9SKenneth Lareau          the Derivative Works; and
105234b5ae9SKenneth Lareau
106234b5ae9SKenneth Lareau      (d) If the Work includes a "NOTICE" text file as part of its
107234b5ae9SKenneth Lareau          distribution, then any Derivative Works that You distribute must
108234b5ae9SKenneth Lareau          include a readable copy of the attribution notices contained
109234b5ae9SKenneth Lareau          within such NOTICE file, excluding those notices that do not
110234b5ae9SKenneth Lareau          pertain to any part of the Derivative Works, in at least one
111234b5ae9SKenneth Lareau          of the following places: within a NOTICE text file distributed
112234b5ae9SKenneth Lareau          as part of the Derivative Works; within the Source form or
113234b5ae9SKenneth Lareau          documentation, if provided along with the Derivative Works; or,
114234b5ae9SKenneth Lareau          within a display generated by the Derivative Works, if and
115234b5ae9SKenneth Lareau          wherever such third-party notices normally appear. The contents
116234b5ae9SKenneth Lareau          of the NOTICE file are for informational purposes only and
117234b5ae9SKenneth Lareau          do not modify the License. You may add Your own attribution
118234b5ae9SKenneth Lareau          notices within Derivative Works that You distribute, alongside
119234b5ae9SKenneth Lareau          or as an addendum to the NOTICE text from the Work, provided
120234b5ae9SKenneth Lareau          that such additional attribution notices cannot be construed
121234b5ae9SKenneth Lareau          as modifying the License.
122234b5ae9SKenneth Lareau
123234b5ae9SKenneth Lareau      You may add Your own copyright statement to Your modifications and
124234b5ae9SKenneth Lareau      may provide additional or different license terms and conditions
125234b5ae9SKenneth Lareau      for use, reproduction, or distribution of Your modifications, or
126234b5ae9SKenneth Lareau      for any such Derivative Works as a whole, provided Your use,
127234b5ae9SKenneth Lareau      reproduction, and distribution of the Work otherwise complies with
128234b5ae9SKenneth Lareau      the conditions stated in this License.
129234b5ae9SKenneth Lareau
130234b5ae9SKenneth Lareau   5. Submission of Contributions. Unless You explicitly state otherwise,
131234b5ae9SKenneth Lareau      any Contribution intentionally submitted for inclusion in the Work
132234b5ae9SKenneth Lareau      by You to the Licensor shall be under the terms and conditions of
133234b5ae9SKenneth Lareau      this License, without any additional terms or conditions.
134234b5ae9SKenneth Lareau      Notwithstanding the above, nothing herein shall supersede or modify
135234b5ae9SKenneth Lareau      the terms of any separate license agreement you may have executed
136234b5ae9SKenneth Lareau      with Licensor regarding such Contributions.
137234b5ae9SKenneth Lareau
138234b5ae9SKenneth Lareau   6. Trademarks. This License does not grant permission to use the trade
139234b5ae9SKenneth Lareau      names, trademarks, service marks, or product names of the Licensor,
140234b5ae9SKenneth Lareau      except as required for reasonable and customary use in describing the
141234b5ae9SKenneth Lareau      origin of the Work and reproducing the content of the NOTICE file.
142234b5ae9SKenneth Lareau
143234b5ae9SKenneth Lareau   7. Disclaimer of Warranty. Unless required by applicable law or
144234b5ae9SKenneth Lareau      agreed to in writing, Licensor provides the Work (and each
145234b5ae9SKenneth Lareau      Contributor provides its Contributions) on an "AS IS" BASIS,
146234b5ae9SKenneth Lareau      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147234b5ae9SKenneth Lareau      implied, including, without limitation, any warranties or conditions
148234b5ae9SKenneth Lareau      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149234b5ae9SKenneth Lareau      PARTICULAR PURPOSE. You are solely responsible for determining the
150234b5ae9SKenneth Lareau      appropriateness of using or redistributing the Work and assume any
151234b5ae9SKenneth Lareau      risks associated with Your exercise of permissions under this License.
152234b5ae9SKenneth Lareau
153234b5ae9SKenneth Lareau   8. Limitation of Liability. In no event and under no legal theory,
154234b5ae9SKenneth Lareau      whether in tort (including negligence), contract, or otherwise,
155234b5ae9SKenneth Lareau      unless required by applicable law (such as deliberate and grossly
156234b5ae9SKenneth Lareau      negligent acts) or agreed to in writing, shall any Contributor be
157234b5ae9SKenneth Lareau      liable to You for damages, including any direct, indirect, special,
158234b5ae9SKenneth Lareau      incidental, or consequential damages of any character arising as a
159234b5ae9SKenneth Lareau      result of this License or out of the use or inability to use the
160234b5ae9SKenneth Lareau      Work (including but not limited to damages for loss of goodwill,
161234b5ae9SKenneth Lareau      work stoppage, computer failure or malfunction, or any and all
162234b5ae9SKenneth Lareau      other commercial damages or losses), even if such Contributor
163234b5ae9SKenneth Lareau      has been advised of the possibility of such damages.
164234b5ae9SKenneth Lareau
165234b5ae9SKenneth Lareau   9. Accepting Warranty or Additional Liability. While redistributing
166234b5ae9SKenneth Lareau      the Work or Derivative Works thereof, You may choose to offer,
167234b5ae9SKenneth Lareau      and charge a fee for, acceptance of support, warranty, indemnity,
168234b5ae9SKenneth Lareau      or other liability obligations and/or rights consistent with this
169234b5ae9SKenneth Lareau      License. However, in accepting such obligations, You may act only
170234b5ae9SKenneth Lareau      on Your own behalf and on Your sole responsibility, not on behalf
171234b5ae9SKenneth Lareau      of any other Contributor, and only if You agree to indemnify,
172234b5ae9SKenneth Lareau      defend, and hold each Contributor harmless for any liability
173234b5ae9SKenneth Lareau      incurred by, or claims asserted against, such Contributor by reason
174234b5ae9SKenneth Lareau      of your accepting any such warranty or additional liability.
175234b5ae9SKenneth Lareau
176234b5ae9SKenneth Lareau   END OF TERMS AND CONDITIONS
177234b5ae9SKenneth Lareau
178234b5ae9SKenneth Lareau   APPENDIX: How to apply the Apache License to your work.
179234b5ae9SKenneth Lareau
180234b5ae9SKenneth Lareau      To apply the Apache License to your work, attach the following
181234b5ae9SKenneth Lareau      boilerplate notice, with the fields enclosed by brackets "[]"
182234b5ae9SKenneth Lareau      replaced with your own identifying information. (Don't include
183234b5ae9SKenneth Lareau      the brackets!)  The text should be enclosed in the appropriate
184234b5ae9SKenneth Lareau      comment syntax for the file format. We also recommend that a
185234b5ae9SKenneth Lareau      file or class name and description of purpose be included on the
186234b5ae9SKenneth Lareau      same "printed page" as the copyright notice for easier
187234b5ae9SKenneth Lareau      identification within third-party archives.
188234b5ae9SKenneth Lareau
189234b5ae9SKenneth Lareau   Copyright [yyyy] [name of copyright owner]
190234b5ae9SKenneth Lareau
191234b5ae9SKenneth Lareau   Licensed under the Apache License, Version 2.0 (the "License");
192234b5ae9SKenneth Lareau   you may not use this file except in compliance with the License.
193234b5ae9SKenneth Lareau   You may obtain a copy of the License at
194234b5ae9SKenneth Lareau
195234b5ae9SKenneth Lareau       http://www.apache.org/licenses/LICENSE-2.0
196234b5ae9SKenneth Lareau
197234b5ae9SKenneth Lareau   Unless required by applicable law or agreed to in writing, software
198234b5ae9SKenneth Lareau   distributed under the License is distributed on an "AS IS" BASIS,
199234b5ae9SKenneth Lareau   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200234b5ae9SKenneth Lareau   See the License for the specific language governing permissions and
201234b5ae9SKenneth Lareau   limitations under the License.
202