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