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