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