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