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