commit | author | age
|
04d3a1
|
1 |
Mozilla Public License Version 2.0 |
MT |
2 |
================================== |
|
3 |
|
|
4 |
1. Definitions |
|
5 |
-------------- |
|
6 |
|
|
7 |
1.1. "Contributor" means each individual or legal entity that creates, |
|
8 |
contributes to the creation of, or owns Covered Software. |
|
9 |
|
|
10 |
1.2. "Contributor Version" means the combination of the Contributions of others |
|
11 |
(if any) used by a Contributor and that particular Contributor's Contribution. |
|
12 |
|
|
13 |
1.3. "Contribution" means Covered Software of a particular Contributor. |
|
14 |
|
|
15 |
1.4. "Covered Software" means Source Code Form to which the initial Contributor |
|
16 |
has attached the notice in Exhibit A, the Executable Form of such Source Code |
|
17 |
Form, and Modifications of such Source Code Form, in each case including |
|
18 |
portions thereof. |
|
19 |
|
|
20 |
1.5. "Incompatible With Secondary Licenses" means |
|
21 |
|
|
22 |
(a) that the initial Contributor has attached the notice described in Exhibit B |
|
23 |
to the Covered Software; or |
|
24 |
|
|
25 |
(b) that the Covered Software was made available under the terms of version 1.1 |
|
26 |
or earlier of the License, but not also under the terms of a Secondary License. |
|
27 |
|
|
28 |
1.6. "Executable Form" means any form of the work other than Source Code Form. |
|
29 |
|
|
30 |
1.7. "Larger Work" means a work that combines Covered Software with other |
|
31 |
material, in a separate file or files, that is not Covered Software. |
|
32 |
|
|
33 |
1.8. "License" means this document. |
|
34 |
|
|
35 |
1.9. "Licensable" means having the right to grant, to the maximum extent |
|
36 |
possible, whether at the time of the initial grant or subsequently, any and all |
|
37 |
of the rights conveyed by this License. |
|
38 |
|
|
39 |
1.10. "Modifications" means any of the following: |
|
40 |
|
|
41 |
(a) any file in Source Code Form that results from an addition to, deletion |
|
42 |
from, or modification of the contents of Covered Software; or |
|
43 |
|
|
44 |
(b) any new file in Source Code Form that contains any Covered Software. |
|
45 |
|
|
46 |
1.11. "Patent Claims" of a Contributor means any patent claim(s), including |
|
47 |
without limitation, method, process, and apparatus claims, in any patent |
|
48 |
Licensable by such Contributor that would be infringed, but for the grant of |
|
49 |
the License, by the making, using, selling, offering for sale, having made, |
|
50 |
import, or transfer of either its Contributions or its Contributor Version. |
|
51 |
|
|
52 |
1.12. "Secondary License" means either the GNU General Public License, Version |
|
53 |
2.0, the GNU Lesser General Public License, Version 2.1, the GNU Affero General |
|
54 |
Public License, Version 3.0, or any later versions of those licenses. |
|
55 |
|
|
56 |
1.13. "Source Code Form" means the form of the work preferred for making |
|
57 |
modifications. |
|
58 |
|
|
59 |
1.14. "You" (or "Your") means an individual or a legal entity exercising rights |
|
60 |
under this License. For legal entities, "You" includes any entity that |
|
61 |
controls, is controlled by, or is under common control with You. For purposes |
|
62 |
of this definition, "control" means (a) the power, direct or indirect, to cause |
|
63 |
the direction or management of such entity, whether by contract or otherwise, |
|
64 |
or (b) ownership of more than fifty percent (50%) of the outstanding shares or |
|
65 |
beneficial ownership of such entity. |
|
66 |
|
|
67 |
2. License Grants and Conditions |
|
68 |
-------------------------------- |
|
69 |
|
|
70 |
2.1. Grants |
|
71 |
|
|
72 |
Each Contributor hereby grants You a world-wide, royalty-free, non-exclusive |
|
73 |
license: |
|
74 |
|
|
75 |
(a) under intellectual property rights (other than patent or trademark) |
|
76 |
Licensable by such Contributor to use, reproduce, make available, modify, |
|
77 |
display, perform, distribute, and otherwise exploit its Contributions, either |
|
78 |
on an unmodified basis, with Modifications, or as part of a Larger Work; and |
|
79 |
|
|
80 |
(b) under Patent Claims of such Contributor to make, use, sell, offer for sale, |
|
81 |
have made, import, and otherwise transfer either its Contributions or its |
|
82 |
Contributor Version. |
|
83 |
|
|
84 |
2.2. Effective Date |
|
85 |
|
|
86 |
The licenses granted in Section 2.1 with respect to any Contribution become |
|
87 |
effective for each Contribution on the date the Contributor first distributes |
|
88 |
such Contribution. |
|
89 |
|
|
90 |
2.3. Limitations on Grant Scope |
|
91 |
|
|
92 |
The licenses granted in this Section 2 are the only rights granted under this |
|
93 |
License. No additional rights or licenses will be implied from the distribution |
|
94 |
or licensing of Covered Software under this License. Notwithstanding Section |
|
95 |
2.1(b) above, no patent license is granted by a Contributor: |
|
96 |
|
|
97 |
(a) for any code that a Contributor has removed from Covered Software; or |
|
98 |
|
|
99 |
(b) for infringements caused by: (i) Your and any other third party's |
|
100 |
modifications of Covered Software, or (ii) the combination of its Contributions |
|
101 |
with other software (except as part of its Contributor Version); or |
|
102 |
|
|
103 |
(c) under Patent Claims infringed by Covered Software in the absence of its |
|
104 |
Contributions. |
|
105 |
|
|
106 |
This License does not grant any rights in the trademarks, service marks, or |
|
107 |
logos of any Contributor (except as may be necessary to comply with the notice |
|
108 |
requirements in Section 3.4). |
|
109 |
|
|
110 |
2.4. Subsequent Licenses |
|
111 |
|
|
112 |
No Contributor makes additional grants as a result of Your choice to distribute |
|
113 |
the Covered Software under a subsequent version of this License (see Section |
|
114 |
10.2) or under the terms of a Secondary License (if permitted under the terms |
|
115 |
of Section 3.3). |
|
116 |
|
|
117 |
2.5. Representation |
|
118 |
|
|
119 |
Each Contributor represents that the Contributor believes its Contributions are |
|
120 |
its original creation(s) or it has sufficient rights to grant the rights to its |
|
121 |
Contributions conveyed by this License. |
|
122 |
|
|
123 |
2.6. Fair Use |
|
124 |
|
|
125 |
This License is not intended to limit any rights You have under applicable |
|
126 |
copyright doctrines of fair use, fair dealing, or other equivalents. |
|
127 |
|
|
128 |
2.7. Conditions |
|
129 |
|
|
130 |
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in |
|
131 |
Section 2.1. |
|
132 |
|
|
133 |
3. Responsibilities |
|
134 |
------------------- |
|
135 |
|
|
136 |
3.1. Distribution of Source Form |
|
137 |
|
|
138 |
All distribution of Covered Software in Source Code Form, including any |
|
139 |
Modifications that You create or to which You contribute, must be under the |
|
140 |
terms of this License. You must inform recipients that the Source Code Form of |
|
141 |
the Covered Software is governed by the terms of this License, and how they can |
|
142 |
obtain a copy of this License. You may not attempt to alter or restrict the |
|
143 |
recipients' rights in the Source Code Form. |
|
144 |
|
|
145 |
3.2. Distribution of Executable Form |
|
146 |
|
|
147 |
If You distribute Covered Software in Executable Form then: |
|
148 |
|
|
149 |
(a) such Covered Software must also be made available in Source Code Form, as |
|
150 |
described in Section 3.1, and You must inform recipients of the Executable Form |
|
151 |
how they can obtain a copy of such Source Code Form by reasonable means in a |
|
152 |
timely manner, at a charge no more than the cost of distribution to the |
|
153 |
recipient; and |
|
154 |
|
|
155 |
(b) You may distribute such Executable Form under the terms of this License, or |
|
156 |
sublicense it under different terms, provided that the license for the |
|
157 |
Executable Form does not attempt to limit or alter the recipients' rights in |
|
158 |
the Source Code Form under this License. |
|
159 |
|
|
160 |
3.3. Distribution of a Larger Work |
|
161 |
|
|
162 |
You may create and distribute a Larger Work under terms of Your choice, |
|
163 |
provided that You also comply with the requirements of this License for the |
|
164 |
Covered Software. If the Larger Work is a combination of Covered Software with |
|
165 |
a work governed by one or more Secondary Licenses, and the Covered Software is |
|
166 |
not Incompatible With Secondary Licenses, this License permits You to |
|
167 |
additionally distribute such Covered Software under the terms of such Secondary |
|
168 |
License(s), so that the recipient of the Larger Work may, at their option, |
|
169 |
further distribute the Covered Software under the terms of either this License |
|
170 |
or such Secondary License(s). |
|
171 |
|
|
172 |
3.4. Notices |
|
173 |
|
|
174 |
You may not remove or alter the substance of any license notices (including |
|
175 |
copyright notices, patent notices, disclaimers of warranty, or limitations of |
|
176 |
liability) contained within the Source Code Form of the Covered Software, |
|
177 |
except that You may alter any license notices to the extent required to remedy |
|
178 |
known factual inaccuracies. |
|
179 |
|
|
180 |
3.5. Application of Additional Terms |
|
181 |
|
|
182 |
You may choose to offer, and to charge a fee for, warranty, support, indemnity |
|
183 |
or liability obligations to one or more recipients of Covered Software. |
|
184 |
However, You may do so only on Your own behalf, and not on behalf of any |
|
185 |
Contributor. You must make it absolutely clear that any such warranty, support, |
|
186 |
indemnity, or liability obligation is offered by You alone, and You hereby |
|
187 |
agree to indemnify every Contributor for any liability incurred by such |
|
188 |
Contributor as a result of warranty, support, indemnity or liability terms You |
|
189 |
offer. You may include additional disclaimers of warranty and limitations of |
|
190 |
liability specific to any jurisdiction. |
|
191 |
|
|
192 |
4. Inability to Comply Due to Statute or Regulation |
|
193 |
--------------------------------------------------- |
|
194 |
|
|
195 |
If it is impossible for You to comply with any of the terms of this License |
|
196 |
with respect to some or all of the Covered Software due to statute, judicial |
|
197 |
order, or regulation then You must: (a) comply with the terms of this License |
|
198 |
to the maximum extent possible; and (b) describe the limitations and the code |
|
199 |
they affect. Such description must be placed in a text file included with all |
|
200 |
distributions of the Covered Software under this License. Except to the extent |
|
201 |
prohibited by statute or regulation, such description must be sufficiently |
|
202 |
detailed for a recipient of ordinary skill to be able to understand it. |
|
203 |
|
|
204 |
5. Termination |
|
205 |
-------------- |
|
206 |
|
|
207 |
5.1. The rights granted under this License will terminate automatically if You |
|
208 |
fail to comply with any of its terms. However, if You become compliant, then |
|
209 |
the rights granted under this License from a particular Contributor are |
|
210 |
reinstated (a) provisionally, unless and until such Contributor explicitly and |
|
211 |
finally terminates Your grants, and (b) on an ongoing basis, if such |
|
212 |
Contributor fails to notify You of the non-compliance by some reasonable means |
|
213 |
prior to 60 days after You have come back into compliance. Moreover, Your |
|
214 |
grants from a particular Contributor are reinstated on an ongoing basis if such |
|
215 |
Contributor notifies You of the non-compliance by some reasonable means, this |
|
216 |
is the first time You have received notice of non-compliance with this License |
|
217 |
from such Contributor, and You become compliant prior to 30 days after Your |
|
218 |
receipt of the notice. |
|
219 |
|
|
220 |
5.2. If You initiate litigation against any entity by asserting a patent |
|
221 |
infringement claim (excluding declaratory judgment actions, counter-claims, and |
|
222 |
cross-claims) alleging that a Contributor Version directly or indirectly |
|
223 |
infringes any patent, then the rights granted to You by any and all |
|
224 |
Contributors for the Covered Software under Section 2.1 of this License shall |
|
225 |
terminate. |
|
226 |
|
|
227 |
5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user |
|
228 |
license agreements (excluding distributors and resellers) which have been |
|
229 |
validly granted by You or Your distributors under this License prior to |
|
230 |
termination shall survive termination. |
|
231 |
|
|
232 |
************************************************************************ |
|
233 |
|
|
234 |
6. Disclaimer of Warranty |
|
235 |
* ------------------------- * |
|
236 |
|
|
237 |
Covered Software is provided under this License on an "as is" basis, without |
|
238 |
warranty of any kind, either expressed, implied, or statutory, including, |
|
239 |
without limitation, warranties that the Covered Software is free of defects, |
|
240 |
merchantable, fit for a particular purpose or non-infringing. The entire risk |
|
241 |
as to the quality and performance of the Covered Software is with You. Should |
|
242 |
any Covered Software prove defective in any respect, You (not any Contributor) |
|
243 |
assume the cost of any necessary servicing, repair, or correction. This |
|
244 |
disclaimer of warranty constitutes an essential part of this License. No use of |
|
245 |
any Covered Software is authorized under this License except under this |
|
246 |
disclaimer. |
|
247 |
|
|
248 |
************************************************************************ |
|
249 |
|
|
250 |
************************************************************************ |
|
251 |
|
|
252 |
7. Limitation of Liability |
|
253 |
* -------------------------- * |
|
254 |
|
|
255 |
Under no circumstances and under no legal theory, whether tort (including |
|
256 |
negligence), contract, or otherwise, shall any Contributor, or anyone who |
|
257 |
distributes Covered Software as permitted above, be liable to You for any |
|
258 |
direct, indirect, special, incidental, or consequential damages of any |
|
259 |
character including, without limitation, damages for lost profits, loss of |
|
260 |
goodwill, work stoppage, computer failure or malfunction, or any and all other |
|
261 |
commercial damages or losses, even if such party shall have been informed of |
|
262 |
the possibility of such damages. This limitation of liability shall not apply |
|
263 |
to liability for death or personal injury resulting from such party's |
|
264 |
negligence to the extent applicable law prohibits such limitation. Some |
|
265 |
jurisdictions do not allow the exclusion or limitation of incidental or |
|
266 |
consequential damages, so this exclusion and limitation may not apply to You. |
|
267 |
|
|
268 |
************************************************************************ |
|
269 |
|
|
270 |
8. Litigation |
|
271 |
------------- |
|
272 |
|
|
273 |
Any litigation relating to this License may be brought only in the courts of a |
|
274 |
jurisdiction where the defendant maintains its principal place of business and |
|
275 |
such litigation shall be governed by laws of that jurisdiction, without |
|
276 |
reference to its conflict-of-law provisions. Nothing in this Section shall |
|
277 |
prevent a party's ability to bring cross-claims or counter-claims. |
|
278 |
|
|
279 |
9. Miscellaneous |
|
280 |
---------------- |
|
281 |
|
|
282 |
This License represents the complete agreement concerning the subject matter |
|
283 |
hereof. If any provision of this License is held to be unenforceable, such |
|
284 |
provision shall be reformed only to the extent necessary to make it |
|
285 |
enforceable. Any law or regulation which provides that the language of a |
|
286 |
contract shall be construed against the drafter shall not be used to construe |
|
287 |
this License against a Contributor. |
|
288 |
|
|
289 |
10. Versions of the License |
|
290 |
--------------------------- |
|
291 |
|
|
292 |
10.1. New Versions |
|
293 |
|
|
294 |
Mozilla Foundation is the license steward. Except as provided in Section 10.3, |
|
295 |
no one other than the license steward has the right to modify or publish new |
|
296 |
versions of this License. Each version will be given a distinguishing version |
|
297 |
number. |
|
298 |
|
|
299 |
10.2. Effect of New Versions |
|
300 |
|
|
301 |
You may distribute the Covered Software under the terms of the version of the |
|
302 |
License under which You originally received the Covered Software, or under the |
|
303 |
terms of any subsequent version published by the license steward. |
|
304 |
|
|
305 |
10.3. Modified Versions |
|
306 |
|
|
307 |
If you create software not governed by this License, and you want to create a |
|
308 |
new license for such software, you may create and use a modified version of |
|
309 |
this License if you rename the license and remove any references to the name of |
|
310 |
the license steward (except to note that such modified license differs from |
|
311 |
this License). |
|
312 |
|
|
313 |
10.4. Distributing Source Code Form that is Incompatible With Secondary |
|
314 |
Licenses |
|
315 |
|
|
316 |
If You choose to distribute Source Code Form that is Incompatible With |
|
317 |
Secondary Licenses under the terms of this version of the License, the notice |
|
318 |
described in Exhibit B of this License must be attached. |
|
319 |
|
|
320 |
Exhibit A - Source Code Form License Notice |
|
321 |
------------------------------------------- |
|
322 |
|
|
323 |
This Source Code Form is subject to the terms of the Mozilla Public License, v. |
|
324 |
2.0. If a copy of the MPL was not distributed with this file, You can obtain |
|
325 |
one at http://mozilla.org/MPL/2.0/. |
|
326 |
|
|
327 |
If it is not possible or desirable to put the notice in a particular file, then |
|
328 |
You may include the notice in a location (such as a LICENSE file in a relevant |
|
329 |
directory) where a recipient would be likely to look for such a notice. |
|
330 |
|
|
331 |
You may add additional accurate notices of copyright ownership. |
|
332 |
|
|
333 |
Exhibit B - "Incompatible With Secondary Licenses" Notice |
|
334 |
--------------------------------------------------------- |
|
335 |
|
|
336 |
This Source Code Form is "Incompatible With Secondary Licenses", as defined by |
|
337 |
the Mozilla Public License, v. 2.0. |