143cf091cSMike Goldsmith
243cf091cSMike Goldsmith                                 Apache License
343cf091cSMike Goldsmith                           Version 2.0, January 2004
443cf091cSMike Goldsmith                        http://www.apache.org/licenses/
543cf091cSMike Goldsmith
643cf091cSMike Goldsmith   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
743cf091cSMike Goldsmith
843cf091cSMike Goldsmith   1. Definitions.
943cf091cSMike Goldsmith
1043cf091cSMike Goldsmith      "License" shall mean the terms and conditions for use, reproduction,
1143cf091cSMike Goldsmith      and distribution as defined by Sections 1 through 9 of this document.
1243cf091cSMike Goldsmith
1343cf091cSMike Goldsmith      "Licensor" shall mean the copyright owner or entity authorized by
1443cf091cSMike Goldsmith      the copyright owner that is granting the License.
1543cf091cSMike Goldsmith
1643cf091cSMike Goldsmith      "Legal Entity" shall mean the union of the acting entity and all
1743cf091cSMike Goldsmith      other entities that control, are controlled by, or are under common
1843cf091cSMike Goldsmith      control with that entity. For the purposes of this definition,
1943cf091cSMike Goldsmith      "control" means (i) the power, direct or indirect, to cause the
2043cf091cSMike Goldsmith      direction or management of such entity, whether by contract or
2143cf091cSMike Goldsmith      otherwise, or (ii) ownership of fifty percent (50%) or more of the
2243cf091cSMike Goldsmith      outstanding shares, or (iii) beneficial ownership of such entity.
2343cf091cSMike Goldsmith
2443cf091cSMike Goldsmith      "You" (or "Your") shall mean an individual or Legal Entity
2543cf091cSMike Goldsmith      exercising permissions granted by this License.
2643cf091cSMike Goldsmith
2743cf091cSMike Goldsmith      "Source" form shall mean the preferred form for making modifications,
2843cf091cSMike Goldsmith      including but not limited to software source code, documentation
2943cf091cSMike Goldsmith      source, and configuration files.
3043cf091cSMike Goldsmith
3143cf091cSMike Goldsmith      "Object" form shall mean any form resulting from mechanical
3243cf091cSMike Goldsmith      transformation or translation of a Source form, including but
3343cf091cSMike Goldsmith      not limited to compiled object code, generated documentation,
3443cf091cSMike Goldsmith      and conversions to other media types.
3543cf091cSMike Goldsmith
3643cf091cSMike Goldsmith      "Work" shall mean the work of authorship, whether in Source or
3743cf091cSMike Goldsmith      Object form, made available under the License, as indicated by a
3843cf091cSMike Goldsmith      copyright notice that is included in or attached to the work
3943cf091cSMike Goldsmith      (an example is provided in the Appendix below).
4043cf091cSMike Goldsmith
4143cf091cSMike Goldsmith      "Derivative Works" shall mean any work, whether in Source or Object
4243cf091cSMike Goldsmith      form, that is based on (or derived from) the Work and for which the
4343cf091cSMike Goldsmith      editorial revisions, annotations, elaborations, or other modifications
4443cf091cSMike Goldsmith      represent, as a whole, an original work of authorship. For the purposes
4543cf091cSMike Goldsmith      of this License, Derivative Works shall not include works that remain
4643cf091cSMike Goldsmith      separable from, or merely link (or bind by name) to the interfaces of,
4743cf091cSMike Goldsmith      the Work and Derivative Works thereof.
4843cf091cSMike Goldsmith
4943cf091cSMike Goldsmith      "Contribution" shall mean any work of authorship, including
5043cf091cSMike Goldsmith      the original version of the Work and any modifications or additions
5143cf091cSMike Goldsmith      to that Work or Derivative Works thereof, that is intentionally
5243cf091cSMike Goldsmith      submitted to Licensor for inclusion in the Work by the copyright owner
5343cf091cSMike Goldsmith      or by an individual or Legal Entity authorized to submit on behalf of
5443cf091cSMike Goldsmith      the copyright owner. For the purposes of this definition, "submitted"
5543cf091cSMike Goldsmith      means any form of electronic, verbal, or written communication sent
5643cf091cSMike Goldsmith      to the Licensor or its representatives, including but not limited to
5743cf091cSMike Goldsmith      communication on electronic mailing lists, source code control systems,
5843cf091cSMike Goldsmith      and issue tracking systems that are managed by, or on behalf of, the
5943cf091cSMike Goldsmith      Licensor for the purpose of discussing and improving the Work, but
6043cf091cSMike Goldsmith      excluding communication that is conspicuously marked or otherwise
6143cf091cSMike Goldsmith      designated in writing by the copyright owner as "Not a Contribution."
6243cf091cSMike Goldsmith
6343cf091cSMike Goldsmith      "Contributor" shall mean Licensor and any individual or Legal Entity
6443cf091cSMike Goldsmith      on behalf of whom a Contribution has been received by Licensor and
6543cf091cSMike Goldsmith      subsequently incorporated within the Work.
6643cf091cSMike Goldsmith
6743cf091cSMike Goldsmith   2. Grant of Copyright License. Subject to the terms and conditions of
6843cf091cSMike Goldsmith      this License, each Contributor hereby grants to You a perpetual,
6943cf091cSMike Goldsmith      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
7043cf091cSMike Goldsmith      copyright license to reproduce, prepare Derivative Works of,
7143cf091cSMike Goldsmith      publicly display, publicly perform, sublicense, and distribute the
7243cf091cSMike Goldsmith      Work and such Derivative Works in Source or Object form.
7343cf091cSMike Goldsmith
7443cf091cSMike Goldsmith   3. Grant of Patent License. Subject to the terms and conditions of
7543cf091cSMike Goldsmith      this License, each Contributor hereby grants to You a perpetual,
7643cf091cSMike Goldsmith      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
7743cf091cSMike Goldsmith      (except as stated in this section) patent license to make, have made,
7843cf091cSMike Goldsmith      use, offer to sell, sell, import, and otherwise transfer the Work,
7943cf091cSMike Goldsmith      where such license applies only to those patent claims licensable
8043cf091cSMike Goldsmith      by such Contributor that are necessarily infringed by their
8143cf091cSMike Goldsmith      Contribution(s) alone or by combination of their Contribution(s)
8243cf091cSMike Goldsmith      with the Work to which such Contribution(s) was submitted. If You
8343cf091cSMike Goldsmith      institute patent litigation against any entity (including a
8443cf091cSMike Goldsmith      cross-claim or counterclaim in a lawsuit) alleging that the Work
8543cf091cSMike Goldsmith      or a Contribution incorporated within the Work constitutes direct
8643cf091cSMike Goldsmith      or contributory patent infringement, then any patent licenses
8743cf091cSMike Goldsmith      granted to You under this License for that Work shall terminate
8843cf091cSMike Goldsmith      as of the date such litigation is filed.
8943cf091cSMike Goldsmith
9043cf091cSMike Goldsmith   4. Redistribution. You may reproduce and distribute copies of the
9143cf091cSMike Goldsmith      Work or Derivative Works thereof in any medium, with or without
9243cf091cSMike Goldsmith      modifications, and in Source or Object form, provided that You
9343cf091cSMike Goldsmith      meet the following conditions:
9443cf091cSMike Goldsmith
9543cf091cSMike Goldsmith      (a) You must give any other recipients of the Work or
9643cf091cSMike Goldsmith          Derivative Works a copy of this License; and
9743cf091cSMike Goldsmith
9843cf091cSMike Goldsmith      (b) You must cause any modified files to carry prominent notices
9943cf091cSMike Goldsmith          stating that You changed the files; and
10043cf091cSMike Goldsmith
10143cf091cSMike Goldsmith      (c) You must retain, in the Source form of any Derivative Works
10243cf091cSMike Goldsmith          that You distribute, all copyright, patent, trademark, and
10343cf091cSMike Goldsmith          attribution notices from the Source form of the Work,
10443cf091cSMike Goldsmith          excluding those notices that do not pertain to any part of
10543cf091cSMike Goldsmith          the Derivative Works; and
10643cf091cSMike Goldsmith
10743cf091cSMike Goldsmith      (d) If the Work includes a "NOTICE" text file as part of its
10843cf091cSMike Goldsmith          distribution, then any Derivative Works that You distribute must
10943cf091cSMike Goldsmith          include a readable copy of the attribution notices contained
11043cf091cSMike Goldsmith          within such NOTICE file, excluding those notices that do not
11143cf091cSMike Goldsmith          pertain to any part of the Derivative Works, in at least one
11243cf091cSMike Goldsmith          of the following places: within a NOTICE text file distributed
11343cf091cSMike Goldsmith          as part of the Derivative Works; within the Source form or
11443cf091cSMike Goldsmith          documentation, if provided along with the Derivative Works; or,
11543cf091cSMike Goldsmith          within a display generated by the Derivative Works, if and
11643cf091cSMike Goldsmith          wherever such third-party notices normally appear. The contents
11743cf091cSMike Goldsmith          of the NOTICE file are for informational purposes only and
11843cf091cSMike Goldsmith          do not modify the License. You may add Your own attribution
11943cf091cSMike Goldsmith          notices within Derivative Works that You distribute, alongside
12043cf091cSMike Goldsmith          or as an addendum to the NOTICE text from the Work, provided
12143cf091cSMike Goldsmith          that such additional attribution notices cannot be construed
12243cf091cSMike Goldsmith          as modifying the License.
12343cf091cSMike Goldsmith
12443cf091cSMike Goldsmith      You may add Your own copyright statement to Your modifications and
12543cf091cSMike Goldsmith      may provide additional or different license terms and conditions
12643cf091cSMike Goldsmith      for use, reproduction, or distribution of Your modifications, or
12743cf091cSMike Goldsmith      for any such Derivative Works as a whole, provided Your use,
12843cf091cSMike Goldsmith      reproduction, and distribution of the Work otherwise complies with
12943cf091cSMike Goldsmith      the conditions stated in this License.
13043cf091cSMike Goldsmith
13143cf091cSMike Goldsmith   5. Submission of Contributions. Unless You explicitly state otherwise,
13243cf091cSMike Goldsmith      any Contribution intentionally submitted for inclusion in the Work
13343cf091cSMike Goldsmith      by You to the Licensor shall be under the terms and conditions of
13443cf091cSMike Goldsmith      this License, without any additional terms or conditions.
13543cf091cSMike Goldsmith      Notwithstanding the above, nothing herein shall supersede or modify
13643cf091cSMike Goldsmith      the terms of any separate license agreement you may have executed
13743cf091cSMike Goldsmith      with Licensor regarding such Contributions.
13843cf091cSMike Goldsmith
13943cf091cSMike Goldsmith   6. Trademarks. This License does not grant permission to use the trade
14043cf091cSMike Goldsmith      names, trademarks, service marks, or product names of the Licensor,
14143cf091cSMike Goldsmith      except as required for reasonable and customary use in describing the
14243cf091cSMike Goldsmith      origin of the Work and reproducing the content of the NOTICE file.
14343cf091cSMike Goldsmith
14443cf091cSMike Goldsmith   7. Disclaimer of Warranty. Unless required by applicable law or
14543cf091cSMike Goldsmith      agreed to in writing, Licensor provides the Work (and each
14643cf091cSMike Goldsmith      Contributor provides its Contributions) on an "AS IS" BASIS,
14743cf091cSMike Goldsmith      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
14843cf091cSMike Goldsmith      implied, including, without limitation, any warranties or conditions
14943cf091cSMike Goldsmith      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
15043cf091cSMike Goldsmith      PARTICULAR PURPOSE. You are solely responsible for determining the
15143cf091cSMike Goldsmith      appropriateness of using or redistributing the Work and assume any
15243cf091cSMike Goldsmith      risks associated with Your exercise of permissions under this License.
15343cf091cSMike Goldsmith
15443cf091cSMike Goldsmith   8. Limitation of Liability. In no event and under no legal theory,
15543cf091cSMike Goldsmith      whether in tort (including negligence), contract, or otherwise,
15643cf091cSMike Goldsmith      unless required by applicable law (such as deliberate and grossly
15743cf091cSMike Goldsmith      negligent acts) or agreed to in writing, shall any Contributor be
15843cf091cSMike Goldsmith      liable to You for damages, including any direct, indirect, special,
15943cf091cSMike Goldsmith      incidental, or consequential damages of any character arising as a
16043cf091cSMike Goldsmith      result of this License or out of the use or inability to use the
16143cf091cSMike Goldsmith      Work (including but not limited to damages for loss of goodwill,
16243cf091cSMike Goldsmith      work stoppage, computer failure or malfunction, or any and all
16343cf091cSMike Goldsmith      other commercial damages or losses), even if such Contributor
16443cf091cSMike Goldsmith      has been advised of the possibility of such damages.
16543cf091cSMike Goldsmith
16643cf091cSMike Goldsmith   9. Accepting Warranty or Additional Liability. While redistributing
16743cf091cSMike Goldsmith      the Work or Derivative Works thereof, You may choose to offer,
16843cf091cSMike Goldsmith      and charge a fee for, acceptance of support, warranty, indemnity,
16943cf091cSMike Goldsmith      or other liability obligations and/or rights consistent with this
17043cf091cSMike Goldsmith      License. However, in accepting such obligations, You may act only
17143cf091cSMike Goldsmith      on Your own behalf and on Your sole responsibility, not on behalf
17243cf091cSMike Goldsmith      of any other Contributor, and only if You agree to indemnify,
17343cf091cSMike Goldsmith      defend, and hold each Contributor harmless for any liability
17443cf091cSMike Goldsmith      incurred by, or claims asserted against, such Contributor by reason
17543cf091cSMike Goldsmith      of your accepting any such warranty or additional liability.
17643cf091cSMike Goldsmith
17743cf091cSMike Goldsmith   END OF TERMS AND CONDITIONS
17843cf091cSMike Goldsmith
17943cf091cSMike Goldsmith   APPENDIX: How to apply the Apache License to your work.
18043cf091cSMike Goldsmith
18143cf091cSMike Goldsmith      To apply the Apache License to your work, attach the following
18243cf091cSMike Goldsmith      boilerplate notice, with the fields enclosed by brackets "[]"
18343cf091cSMike Goldsmith      replaced with your own identifying information. (Don't include
18443cf091cSMike Goldsmith      the brackets!)  The text should be enclosed in the appropriate
18543cf091cSMike Goldsmith      comment syntax for the file format. We also recommend that a
18643cf091cSMike Goldsmith      file or class name and description of purpose be included on the
18743cf091cSMike Goldsmith      same "printed page" as the copyright notice for easier
18843cf091cSMike Goldsmith      identification within third-party archives.
18943cf091cSMike Goldsmith
19043cf091cSMike Goldsmith   Copyright [yyyy] [name of copyright owner]
19143cf091cSMike Goldsmith
19243cf091cSMike Goldsmith   Licensed under the Apache License, Version 2.0 (the "License");
19343cf091cSMike Goldsmith   you may not use this file except in compliance with the License.
19443cf091cSMike Goldsmith   You may obtain a copy of the License at
19543cf091cSMike Goldsmith
19643cf091cSMike Goldsmith       http://www.apache.org/licenses/LICENSE-2.0
19743cf091cSMike Goldsmith
19843cf091cSMike Goldsmith   Unless required by applicable law or agreed to in writing, software
19943cf091cSMike Goldsmith   distributed under the License is distributed on an "AS IS" BASIS,
20043cf091cSMike Goldsmith   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20143cf091cSMike Goldsmith   See the License for the specific language governing permissions and
20243cf091cSMike Goldsmith   limitations under the License.
203