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