summaryrefslogtreecommitdiffstats
path: root/meta/files/common-licenses/MPL-1
diff options
context:
space:
mode:
Diffstat (limited to 'meta/files/common-licenses/MPL-1')
-rw-r--r--meta/files/common-licenses/MPL-1433
1 files changed, 433 insertions, 0 deletions
diff --git a/meta/files/common-licenses/MPL-1 b/meta/files/common-licenses/MPL-1
new file mode 100644
index 0000000000..d33ac969aa
--- /dev/null
+++ b/meta/files/common-licenses/MPL-1
@@ -0,0 +1,433 @@
1
2Mozilla Public License Version 1.1
3
41. Definitions.
5
61.0.1. "Commercial Use"
7means distribution or otherwise making the Covered Code available to a third
8party.
91.1. "Contributor"
10means each entity that creates or contributes to the creation of Modifications.
111.2. "Contributor Version"
12means the combination of the Original Code, prior Modifications used by a
13Contributor, and the Modifications made by that particular Contributor.
141.3. "Covered Code"
15means the Original Code or Modifications or the combination of the Original
16Code and Modifications, in each case including portions thereof.
171.4. "Electronic Distribution Mechanism"
18means a mechanism generally accepted in the software development community for
19the electronic transfer of data.
201.5. "Executable"
21means Covered Code in any form other than Source Code.
221.6. "Initial Developer"
23means the individual or entity identified as the Initial Developer in the
24Source Code notice required by Exhibit A.
251.7. "Larger Work"
26means a work which combines Covered Code or portions thereof with code not
27governed by the terms of this License.
281.8. "License"
29means this document.
301.8.1. "Licensable"
31means having the right to grant, to the maximum extent possible, whether at the
32time of the initial grant or subsequently acquired, any and all of the rights
33conveyed herein.
341.9. "Modifications"
35means any addition to or deletion from the substance or structure of either the
36Original Code or any previous Modifications. When Covered Code is released as a
37series of files, a Modification is:
38Any addition to or deletion from the contents of a file containing Original
39Code or previous Modifications.
40Any new file that contains any part of the Original Code or previous
41Modifications.
421.10. "Original Code"
43means Source Code of computer software code which is described in the Source
44Code notice required by Exhibit A as Original Code, and which, at the time of
45its release under this License is not already Covered Code governed by this
46License.
471.10.1. "Patent Claims"
48means any patent claim(s), now owned or hereafter acquired, including without
49limitation, method, process, and apparatus claims, in any patent Licensable by
50grantor.
511.11. "Source Code"
52means the preferred form of the Covered Code for making modifications to it,
53including all modules it contains, plus any associated interface definition
54files, scripts used to control compilation and installation of an Executable,
55or source code differential comparisons against either the Original Code or
56another well known, available Covered Code of the Contributor's choice. The
57Source Code can be in a compressed or archival form, provided the appropriate
58decompression or de-archiving software is widely available for no charge.
591.12. "You" (or "Your")
60means an individual or a legal entity exercising rights under, and complying
61with all of the terms of, this License or a future version of this License
62issued under Section 6.1. For legal entities, "You" includes any
63entity which controls, is controlled by, or is under common control with You.
64For purposes of this definition, "control" means (a) the power,
65direct or indirect, to cause the direction or management of such entity,
66whether by contract or otherwise, or (b) ownership of more than fifty percent
67(50%) of the outstanding shares or beneficial ownership of such entity.
682. Source Code License.
69
702.1. The Initial Developer Grant.
71
72The Initial Developer hereby grants You a world-wide, royalty-free, non-
73exclusive license, subject to third party intellectual property claims:
74
75under intellectual property rights (other than patent or trademark) Licensable
76by Initial Developer to use, reproduce, modify, display, perform, sublicense
77and distribute the Original Code (or portions thereof) with or without
78Modifications, and/or as part of a Larger Work; and
79under Patents Claims infringed by the making, using or selling of Original
80Code, to make, have made, use, practice, sell, and offer for sale, and/or
81otherwise dispose of the Original Code (or portions thereof).
82the licenses granted in this Section 2.1 (a) and (b) are effective on the date
83Initial Developer first distributes Original Code under the terms of this
84License.
85Notwithstanding Section 2.1 (b) above, no patent license is granted: 1) for
86code that You delete from the Original Code; 2) separate from the Original
87Code; or 3) for infringements caused by: i) the modification of the Original
88Code or ii) the combination of the Original Code with other software or
89devices.
902.2. Contributor Grant.
91
92Subject to third party intellectual property claims, each Contributor hereby
93grants You a world-wide, royalty-free, non-exclusive license
94
95under intellectual property rights (other than patent or trademark) Licensable
96by Contributor, to use, reproduce, modify, display, perform, sublicense and
97distribute the Modifications created by such Contributor (or portions thereof)
98either on an unmodified basis, with other Modifications, as Covered Code and/or
99as part of a Larger Work; and
100under Patent Claims infringed by the making, using, or selling of Modifications
101made by that Contributor either alone and/or in combination with its
102Contributor Version (or portions of such combination), to make, use, sell,
103offer for sale, have made, and/or otherwise dispose of: 1) Modifications made
104by that Contributor (or portions thereof); and 2) the combination of
105Modifications made by that Contributor with its Contributor Version (or
106portions of such combination).
107the licenses granted in Sections 2.2 (a) and 2.2 (b) are effective on the date
108Contributor first makes Commercial Use of the Covered Code.
109Notwithstanding Section 2.2 (b) above, no patent license is granted: 1) for any
110code that Contributor has deleted from the Contributor Version; 2) separate
111from the Contributor Version; 3) for infringements caused by: i) third party
112modifications of Contributor Version or ii) the combination of Modifications
113made by that Contributor with other software (except as part of the Contributor
114Version) or other devices; or 4) under Patent Claims infringed by Covered Code
115in the absence of Modifications made by that Contributor.
1163. Distribution Obligations.
117
1183.1. Application of License.
119
120The Modifications which You create or to which You contribute are governed by
121the terms of this License, including without limitation Section 2.2. The Source
122Code version of Covered Code may be distributed only under the terms of this
123License or a future version of this License released under Section 6.1, and You
124must include a copy of this License with every copy of the Source Code You
125distribute. You may not offer or impose any terms on any Source Code version
126that alters or restricts the applicable version of this License or the
127recipients' rights hereunder. However, You may include an additional document
128offering the additional rights described in Section 3.5.
129
1303.2. Availability of Source Code.
131
132Any Modification which You create or to which You contribute must be made
133available in Source Code form under the terms of this License either on the
134same media as an Executable version or via an accepted Electronic Distribution
135Mechanism to anyone to whom you made an Executable version available; and if
136made available via Electronic Distribution Mechanism, must remain available for
137at least twelve (12) months after the date it initially became available, or at
138least six (6) months after a subsequent version of that particular Modification
139has been made available to such recipients. You are responsible for ensuring
140that the Source Code version remains available even if the Electronic
141Distribution Mechanism is maintained by a third party.
142
1433.3. Description of Modifications.
144
145You must cause all Covered Code to which You contribute to contain a file
146documenting the changes You made to create that Covered Code and the date of
147any change. You must include a prominent statement that the Modification is
148derived, directly or indirectly, from Original Code provided by the Initial
149Developer and including the name of the Initial Developer in (a) the Source
150Code, and (b) in any notice in an Executable version or related documentation
151in which You describe the origin or ownership of the Covered Code.
152
1533.4. Intellectual Property Matters
154
155(a) Third Party Claims
156
157If Contributor has knowledge that a license under a third party's intellectual
158property rights is required to exercise the rights granted by such Contributor
159under Sections 2.1 or 2.2, Contributor must include a text file with the Source
160Code distribution titled "LEGAL" which describes the claim and the
161party making the claim in sufficient detail that a recipient will know whom to
162contact. If Contributor obtains such knowledge after the Modification is made
163available as described in Section 3.2, Contributor shall promptly modify the
164LEGAL file in all copies Contributor makes available thereafter and shall take
165other steps (such as notifying appropriate mailing lists or newsgroups)
166reasonably calculated to inform those who received the Covered Code that new
167knowledge has been obtained.
168
169(b) Contributor APIs
170
171If Contributor's Modifications include an application programming interface and
172Contributor has knowledge of patent licenses which are reasonably necessary to
173implement that API, Contributor must also include this information in the LEGAL
174file.
175
176(c) Representations.
177
178Contributor represents that, except as disclosed pursuant to Section 3.4 (a)
179above, Contributor believes that Contributor's Modifications are Contributor's
180original creation(s) and/or Contributor has sufficient rights to grant the
181rights conveyed by this License.
182
1833.5. Required Notices.
184
185You must duplicate the notice in Exhibit A in each file of the Source Code. If
186it is not possible to put such notice in a particular Source Code file due to
187its structure, then You must include such notice in a location (such as a
188relevant directory) where a user would be likely to look for such a notice. If
189You created one or more Modification(s) You may add your name as a Contributor
190to the notice described in Exhibit A. You must also duplicate this License in
191any documentation for the Source Code where You describe recipients' rights or
192ownership rights relating to Covered Code. You may choose to offer, and to
193charge a fee for, warranty, support, indemnity or liability obligations to one
194or more recipients of Covered Code. However, You may do so only on Your own
195behalf, and not on behalf of the Initial Developer or any Contributor. You must
196make it absolutely clear than any such warranty, support, indemnity or
197liability obligation is offered by You alone, and You hereby agree to indemnify
198the Initial Developer and every Contributor for any liability incurred by the
199Initial Developer or such Contributor as a result of warranty, support,
200indemnity or liability terms You offer.
201
2023.6. Distribution of Executable Versions.
203
204You may distribute Covered Code in Executable form only if the requirements of
205Sections 3.1, 3.2, 3.3, 3.4 and 3.5 have been met for that Covered Code, and if
206You include a notice stating that the Source Code version of the Covered Code
207is available under the terms of this License, including a description of how
208and where You have fulfilled the obligations of Section 3.2. The notice must be
209conspicuously included in any notice in an Executable version, related
210documentation or collateral in which You describe recipients' rights relating
211to the Covered Code. You may distribute the Executable version of Covered Code
212or ownership rights under a license of Your choice, which may contain terms
213different from this License, provided that You are in compliance with the terms
214of this License and that the license for the Executable version does not
215attempt to limit or alter the recipient's rights in the Source Code version
216from the rights set forth in this License. If You distribute the Executable
217version under a different license You must make it absolutely clear that any
218terms which differ from this License are offered by You alone, not by the
219Initial Developer or any Contributor. You hereby agree to indemnify the Initial
220Developer and every Contributor for any liability incurred by the Initial
221Developer or such Contributor as a result of any such terms You offer.
222
2233.7. Larger Works.
224
225You may create a Larger Work by combining Covered Code with other code not
226governed by the terms of this License and distribute the Larger Work as a
227single product. In such a case, You must make sure the requirements of this
228License are fulfilled for the Covered Code.
229
2304. Inability to Comply Due to Statute or Regulation.
231
232If it is impossible for You to comply with any of the terms of this License
233with respect to some or all of the Covered Code due to statute, judicial order,
234or regulation then You must: (a) comply with the terms of this License to the
235maximum extent possible; and (b) describe the limitations and the code they
236affect. Such description must be included in the LEGAL file described in
237Section 3.4 and must be included with all distributions of the Source Code.
238Except to the extent prohibited by statute or regulation, such description must
239be sufficiently detailed for a recipient of ordinary skill to be able to
240understand it.
241
2425. Application of this License.
243
244This License applies to code to which the Initial Developer has attached the
245notice in Exhibit A and to related Covered Code.
246
2476. Versions of the License.
248
2496.1. New Versions
250
251Netscape Communications Corporation ("Netscape") may publish revised
252and/or new versions of the License from time to time. Each version will be
253given a distinguishing version number.
254
2556.2. Effect of New Versions
256
257Once Covered Code has been published under a particular version of the License,
258You may always continue to use it under the terms of that version. You may also
259choose to use such Covered Code under the terms of any subsequent version of
260the License published by Netscape. No one other than Netscape has the right to
261modify the terms applicable to Covered Code created under this License.
262
2636.3. Derivative Works
264
265If You create or use a modified version of this License (which you may only do
266in order to apply it to code which is not already Covered Code governed by this
267License), You must (a) rename Your license so that the phrases
268"Mozilla", "MOZILLAPL", "MOZPL",
269"Netscape", "MPL", "NPL" or any confusingly
270similar phrase do not appear in your license (except to note that your license
271differs from this License) and (b) otherwise make it clear that Your version of
272the license contains terms which differ from the Mozilla Public License and
273Netscape Public License. (Filling in the name of the Initial Developer,
274Original Code or Contributor in the notice described in Exhibit A shall not of
275themselves be deemed to be modifications of this License.)
276
2777. DISCLAIMER OF WARRANTY
278
279COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
280WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT
281LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE,
282FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE
283QUALITY AND PERFORMANCE OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED
284CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY
285OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR
286CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS
287LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS
288DISCLAIMER.
289
2908. Termination
291
2928.1. This License and the rights granted hereunder will terminate automatically
293if You fail to comply with terms herein and fail to cure such breach within 30
294days of becoming aware of the breach. All sublicenses to the Covered Code which
295are properly granted shall survive any termination of this License. Provisions
296which, by their nature, must remain in effect beyond the termination of this
297License shall survive.
298
2998.2. If You initiate litigation by asserting a patent infringement claim
300(excluding declatory judgment actions) against Initial Developer or a
301Contributor (the Initial Developer or Contributor against whom You file such
302action is referred to as "Participant") alleging that:
303
304such Participant's Contributor Version directly or indirectly infringes any
305patent, then any and all rights granted by such Participant to You under
306Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice from
307Participant terminate prospectively, unless if within 60 days after receipt of
308notice You either: (i) agree in writing to pay Participant a mutually agreeable
309reasonable royalty for Your past and future use of Modifications made by such
310Participant, or (ii) withdraw Your litigation claim with respect to the
311Contributor Version against such Participant. If within 60 days of notice, a
312reasonable royalty and payment arrangement are not mutually agreed upon in
313writing by the parties or the litigation claim is not withdrawn, the rights
314granted by Participant to You under Sections 2.1 and/or 2.2 automatically
315terminate at the expiration of the 60 day notice period specified above.
316any software, hardware, or device, other than such Participant's Contributor
317Version, directly or indirectly infringes any patent, then any rights granted
318to You by such Participant under Sections 2.1(b) and 2.2(b) are revoked
319effective as of the date You first made, used, sold, distributed, or had made,
320Modifications made by that Participant.
3218.3. If You assert a patent infringement claim against Participant alleging
322that such Participant's Contributor Version directly or indirectly infringes
323any patent where such claim is resolved (such as by license or settlement)
324prior to the initiation of patent infringement litigation, then the reasonable
325value of the licenses granted by such Participant under Sections 2.1 or 2.2
326shall be taken into account in determining the amount or value of any payment
327or license.
328
3298.4. In the event of termination under Sections 8.1 or 8.2 above, all end user
330license agreements (excluding distributors and resellers) which have been
331validly granted by You or any distributor hereunder prior to termination shall
332survive termination.
333
3349. LIMITATION OF LIABILITY
335
336UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING
337NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY
338OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, OR ANY SUPPLIER OF ANY
339OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL,
340OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION,
341DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION,
342OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL
343HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
344LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING
345FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH
346LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF
347INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT
348APPLY TO YOU.
349
35010. U.S. government end users
351
352The Covered Code is a "commercial item," as that term is defined in
35348 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
354software" and "commercial computer software documentation," as
355such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R.
35612.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S.
357Government End Users acquire Covered Code with only those rights set forth
358herein.
359
36011. Miscellaneous
361
362This License represents the complete agreement concerning subject matter
363hereof. If any provision of this License is held to be unenforceable, such
364provision shall be reformed only to the extent necessary to make it
365enforceable. This License shall be governed by California law provisions
366(except to the extent applicable law, if any, provides otherwise), excluding
367its conflict-of-law provisions. With respect to disputes in which at least one
368party is a citizen of, or an entity chartered or registered to do business in
369the United States of America, any litigation relating to this License shall be
370subject to the jurisdiction of the Federal Courts of the Northern District of
371California, with venue lying in Santa Clara County, California, with the losing
372party responsible for costs, including without limitation, court costs and
373reasonable attorneys' fees and expenses. The application of the United Nations
374Convention on Contracts for the International Sale of Goods is expressly
375excluded. Any law or regulation which provides that the language of a contract
376shall be construed against the drafter shall not apply to this License.
377
37812. Responsibility for claims
379
380As between Initial Developer and the Contributors, each party is responsible
381for claims and damages arising, directly or indirectly, out of its utilization
382of rights under this License and You agree to work with Initial Developer and
383Contributors to distribute such responsibility on an equitable basis. Nothing
384herein is intended or shall be deemed to constitute any admission of liability.
385
38613. Multiple-licensed code
387
388Initial Developer may designate portions of the Covered Code as "Multiple-
389Licensed". "Multiple-Licensed" means that the Initial Developer
390permits you to utilize portions of the Covered Code under Your choice of the
391MPL or the alternative licenses, if any, specified by the Initial Developer in
392the file described in Exhibit A.
393
394Exhibit A - Mozilla Public License.
395
396"The contents of this file are subject to the Mozilla Public License
397Version 1.1 (the "License"); you may not use this file except in
398compliance with the License. You may obtain a copy of the License at
399http://www.mozilla.org/MPL/
400
401Software distributed under the License is distributed on an "AS IS"
402basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
403License for the specific language governing rights and limitations
404under the License.
405
406The Original Code is ______________________________________.
407
408The Initial Developer of the Original Code is ________________________.
409Portions created by ______________________ are Copyright (C) ______
410_______________________. All Rights Reserved.
411
412Contributor(s): ______________________________________.
413
414Alternatively, the contents of this file may be used under the terms
415of the _____ license (the "[___] License"), in which case the
416provisions of [______] License are applicable instead of those
417above. If you wish to allow use of your version of this file only
418under the terms of the [____] License and not to allow others to use
419your version of this file under the MPL, indicate your decision by
420deleting the provisions above and replace them with the notice and
421other provisions required by the [___] License. If you do not delete
422the provisions above, a recipient may use your version of this file
423under either the MPL or the [___] License."
424NOTE: The text of this Exhibit A may differ slightly from the text of the
425notices in the Source Code files of the Original Code. You should use the text
426of this Exhibit A rather than the text found in the Original Code Source Code
427for Your Modifications.
428
429
430
431
432
433