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