xref: /aosp_15_r20/external/licenseclassifier/v2/scenarios/211020120 (revision 46c4c49da23cae783fa41bf46525a6505638499a)
1This tests a bug where NPL-1.1 was mistakenly detected due to a bug in overlap detection logic.
2EXPECTED:GPL-2.0,MPL-1.1
3
4GNU General Public License Version 2
5
6Copyright (C) 1989, 1991 Free Software Foundation, Inc.
751 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
8Everyone is permitted to copy and distribute verbatim copies
9of this license document, but changing it is not allowed.
10
11Preamble
12
13   The licenses for most software are designed to take away your freedom
14   to share and change it. By contrast, the GNU General Public License is
15   intended to guarantee your freedom to share and change free
16   software--to make sure the software is free for all its users. This
17   General Public License applies to most of the Free Software
18   Foundation's software and to any other program whose authors commit to
19   using it. (Some other Free Software Foundation software is covered by
20   the GNU Lesser General Public License instead.) You can apply it to
21   your programs, too.
22
23   When we speak of free software, we are referring to freedom, not price.
24   Our General Public Licenses are designed to make sure that you have the
25   freedom to distribute copies of free software (and charge for this
26   service if you wish), that you receive source code or can get it if you
27   want it, that you can change the software or use pieces of it in new
28   free programs; and that you know you can do these things.
29
30   To protect your rights, we need to make restrictions that forbid anyone
31   to deny you these rights or to ask you to surrender the rights. These
32   restrictions translate to certain responsibilities for you if you
33   distribute copies of the software, or if you modify it.
34
35   For example, if you distribute copies of such a program, whether gratis
36   or for a fee, you must give the recipients all the rights that you
37   have. You must make sure that they, too, receive or can get the source
38   code. And you must show them these terms so they know their rights.
39
40   We protect your rights with two steps: (1) copyright the software, and
41   (2) offer you this license which gives you legal permission to copy,
42   distribute and/or modify the software.
43
44   Also, for each author's protection and ours, we want to make certain
45   that everyone understands that there is no warranty for this free
46   software. If the software is modified by someone else and passed on, we
47   want its recipients to know that what they have is not the original, so
48   that any problems introduced by others will not reflect on the original
49   authors' reputations.
50
51   Finally, any free program is threatened constantly by software patents.
52   We wish to avoid the danger that redistributors of a free program will
53   individually obtain patent licenses, in effect making the program
54   proprietary. To prevent this, we have made it clear that any patent
55   must be licensed for everyone's free use or not licensed at all.
56
57   The precise terms and conditions for copying, distribution and
58   modification follow.
59
60TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
62   0. This License applies to any program or other work which contains a
63   notice placed by the copyright holder saying it may be distributed
64   under the terms of this General Public License. The "Program", below,
65   refers to any such program or work, and a "work based on the Program"
66   means either the Program or any derivative work under copyright law:
67   that is to say, a work containing the Program or a portion of it,
68   either verbatim or with modifications and/or translated into another
69   language. (Hereinafter, translation is included without limitation in
70   the term "modification".) Each licensee is addressed as "you".
71
72   Activities other than copying, distribution and modification are not
73   covered by this License; they are outside its scope. The act of running
74   the Program is not restricted, and the output from the Program is
75   covered only if its contents constitute a work based on the Program
76   (independent of having been made by running the Program). Whether that
77   is true depends on what the Program does.
78
79   1. You may copy and distribute verbatim copies of the Program's source
80   code as you receive it, in any medium, provided that you conspicuously
81   and appropriately publish on each copy an appropriate copyright notice
82   and disclaimer of warranty; keep intact all the notices that refer to
83   this License and to the absence of any warranty; and give any other
84   recipients of the Program a copy of this License along with the
85   Program.
86
87   You may charge a fee for the physical act of transferring a copy, and
88   you may at your option offer warranty protection in exchange for a fee.
89
90   2. You may modify your copy or copies of the Program or any portion of
91   it, thus forming a work based on the Program, and copy and distribute
92   such modifications or work under the terms of Section 1 above, provided
93   that you also meet all of these conditions:
94
95          a) You must cause the modified files to carry prominent notices
96          stating that you changed the files and the date of any change.
97          b) You must cause any work that you distribute or publish, that
98          in whole or in part contains or is derived from the Program or
99          any part thereof, to be licensed as a whole at no charge to all
100          third parties under the terms of this License.
101          c) If the modified program normally reads commands interactively
102          when run, you must cause it, when started running for such
103          interactive use in the most ordinary way, to print or display an
104          announcement including an appropriate copyright notice and a
105          notice that there is no warranty (or else, saying that you
106          provide a warranty) and that users may redistribute the program
107          under these conditions, and telling the user how to view a copy
108          of this License. (Exception: if the Program itself is
109          interactive but does not normally print such an announcement,
110          your work based on the Program is not required to print an
111          announcement.)
112
113   These requirements apply to the modified work as a whole. If
114   identifiable sections of that work are not derived from the Program,
115   and can be reasonably considered independent and separate works in
116   themselves, then this License, and its terms, do not apply to those
117   sections when you distribute them as separate works. But when you
118   distribute the same sections as part of a whole which is a work based
119   on the Program, the distribution of the whole must be on the terms of
120   this License, whose permissions for other licensees extend to the
121   entire whole, and thus to each and every part regardless of who wrote
122   it.
123
124   Thus, it is not the intent of this section to claim rights or contest
125   your rights to work written entirely by you; rather, the intent is to
126   exercise the right to control the distribution of derivative or
127   collective works based on the Program.
128
129   In addition, mere aggregation of another work not based on the Program
130   with the Program (or with a work based on the Program) on a volume of a
131   storage or distribution medium does not bring the other work under the
132   scope of this License.
133
134   3. You may copy and distribute the Program (or a work based on it,
135   under Section 2) in object code or executable form under the terms of
136   Sections 1 and 2 above provided that you also do one of the following:
137
138          a) Accompany it with the complete corresponding machine-readable
139          source code, which must be distributed under the terms of
140          Sections 1 and 2 above on a medium customarily used for software
141          interchange; or,
142          b) Accompany it with a written offer, valid for at least three
143          years, to give any third party, for a charge no more than your
144          cost of physically performing source distribution, a complete
145          machine-readable copy of the corresponding source code, to be
146          distributed under the terms of Sections 1 and 2 above on a
147          medium customarily used for software interchange; or,
148          c) Accompany it with the information you received as to the
149          offer to distribute corresponding source code. (This alternative
150          is allowed only for noncommercial distribution and only if you
151          received the program in object code or executable form with such
152          an offer, in accord with Subsection b above.)
153
154   The source code for a work means the preferred form of the work for
155   making modifications to it. For an executable work, complete source
156   code means all the source code for all modules it contains, plus any
157   associated interface definition files, plus the scripts used to control
158   compilation and installation of the executable. However, as a special
159   exception, the source code distributed need not include anything that
160   is normally distributed (in either source or binary form) with the
161   major components (compiler, kernel, and so on) of the operating system
162   on which the executable runs, unless that component itself accompanies
163   the executable.
164
165   If distribution of executable or object code is made by offering access
166   to copy from a designated place, then offering equivalent access to
167   copy the source code from the same place counts as distribution of the
168   source code, even though third parties are not compelled to copy the
169   source along with the object code.
170
171   4. You may not copy, modify, sublicense, or distribute the Program
172   except as expressly provided under this License. Any attempt otherwise
173   to copy, modify, sublicense or distribute the Program is void, and will
174   automatically terminate your rights under this License. However,
175   parties who have received copies, or rights, from you under this
176   License will not have their licenses terminated so long as such parties
177   remain in full compliance.
178
179   5. You are not required to accept this License, since you have not
180   signed it. However, nothing else grants you permission to modify or
181   distribute the Program or its derivative works. These actions are
182   prohibited by law if you do not accept this License. Therefore, by
183   modifying or distributing the Program (or any work based on the
184   Program), you indicate your acceptance of this License to do so, and
185   all its terms and conditions for copying, distributing or modifying the
186   Program or works based on it.
187
188   6. Each time you redistribute the Program (or any work based on the
189   Program), the recipient automatically receives a license from the
190   original licensor to copy, distribute or modify the Program subject to
191   these terms and conditions. You may not impose any further restrictions
192   on the recipients' exercise of the rights granted herein. You are not
193   responsible for enforcing compliance by third parties to this License.
194
195   7. If, as a consequence of a court judgment or allegation of patent
196   infringement or for any other reason (not limited to patent issues),
197   conditions are imposed on you (whether by court order, agreement or
198   otherwise) that contradict the conditions of this License, they do not
199   excuse you from the conditions of this License. If you cannot
200   distribute so as to satisfy simultaneously your obligations under this
201   License and any other pertinent obligations, then as a consequence you
202   may not distribute the Program at all. For example, if a patent license
203   would not permit royalty-free redistribution of the Program by all
204   those who receive copies directly or indirectly through you, then the
205   only way you could satisfy both it and this License would be to refrain
206   entirely from distribution of the Program.
207
208   If any portion of this section is held invalid or unenforceable under
209   any particular circumstance, the balance of the section is intended to
210   apply and the section as a whole is intended to apply in other
211   circumstances.
212
213   It is not the purpose of this section to induce you to infringe any
214   patents or other property right claims or to contest validity of any
215   such claims; this section has the sole purpose of protecting the
216   integrity of the free software distribution system, which is
217   implemented by public license practices. Many people have made generous
218   contributions to the wide range of software distributed through that
219   system in reliance on consistent application of that system; it is up
220   to the author/donor to decide if he or she is willing to distribute
221   software through any other system and a licensee cannot impose that
222   choice.
223
224   This section is intended to make thoroughly clear what is believed to
225   be a consequence of the rest of this License.
226
227   8. If the distribution and/or use of the Program is restricted in
228   certain countries either by patents or by copyrighted interfaces, the
229   original copyright holder who places the Program under this License may
230   add an explicit geographical distribution limitation excluding those
231   countries, so that distribution is permitted only in or among countries
232   not thus excluded. In such case, this License incorporates the
233   limitation as if written in the body of this License.
234
235   9. The Free Software Foundation may publish revised and/or new versions
236   of the General Public License from time to time. Such new versions will
237   be similar in spirit to the present version, but may differ in detail
238   to address new problems or concerns.
239
240   Each version is given a distinguishing version number. If the Program
241   specifies a version number of this License which applies to it and "any
242   later version", you have the option of following the terms and
243   conditions either of that version or of any later version published by
244   the Free Software Foundation. If the Program does not specify a version
245   number of this License, you may choose any version ever published by
246   the Free Software Foundation.
247
248   10. If you wish to incorporate parts of the Program into other free
249   programs whose distribution conditions are different, write to the
250   author to ask for permission. For software which is copyrighted by the
251   Free Software Foundation, write to the Free Software Foundation; we
252   sometimes make exceptions for this. Our decision will be guided by the
253   two goals of preserving the free status of all derivatives of our free
254   software and of promoting the sharing and reuse of software generally.
255
256   NO WARRANTY
257
258   11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
259   WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
260   EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
261   OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
262   EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
263   WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
264   ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH
265   YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
266   NECESSARY SERVICING, REPAIR OR CORRECTION.
267
268   12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
269   WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
270   AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU
271   FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
272   CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
273   PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
274   RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
275   FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF
276   SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
277   DAMAGES.
278
279   END OF TERMS AND CONDITIONS
280
281How to Apply These Terms to Your New Programs
282
283   If you develop a new program, and you want it to be of the greatest
284   possible use to the public, the best way to achieve this is to make it
285   free software which everyone can redistribute and change under these
286   terms.
287
288   To do so, attach the following notices to the program. It is safest to
289   attach them to the start of each source file to most effectively convey
290   the exclusion of warranty; and each file should have at least the
291   "copyright" line and a pointer to where the full notice is found.
292one line to give the program's name and an idea of what it does.
293Copyright (C) yyyy name of author
294
295This program is free software; you can redistribute it and/or
296modify it under the terms of the GNU General Public License
297as published by the Free Software Foundation; either version 2
298of the License, or (at your option) any later version.
299
300This program is distributed in the hope that it will be useful,
301but WITHOUT ANY WARRANTY; without even the implied warranty of
302MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
303GNU General Public License for more details.
304
305You should have received a copy of the GNU General Public License
306along with this program; if not, write to the Free Software
307Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
308
309   Also add information on how to contact you by electronic and paper
310   mail.
311
312   If the program is interactive, make it output a short notice like this
313   when it starts in an interactive mode:
314Gnomovision version 69, Copyright (C) year name of author
315Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
316type `show w'. This is free software, and you are welcome
317to redistribute it under certain conditions; type `show c'
318for details.
319
320   The hypothetical commands `show w' and `show c' should show the
321   appropriate parts of the General Public License. Of course, the
322   commands you use may be called something other than `show w' and `show
323   c'; they could even be mouse-clicks or menu items--whatever suits your
324   program.
325
326   You should also get your employer (if you work as a programmer) or your
327   school, if any, to sign a "copyright disclaimer" for the program, if
328   necessary. Here is a sample; alter the names:
329Yoyodyne, Inc., hereby disclaims all copyright
330interest in the program `Gnomovision'
331(which makes passes at compilers) written
332by James Hacker.
333
334signature of Ty Coon, 1 April 1989
335Ty Coon, President of Vice
336
337   This General Public License does not permit incorporating your program
338   into proprietary programs. If your program is a subroutine library, you
339   may consider it more useful to permit linking proprietary applications
340   with the library. If this is what you want to do, use the GNU
341   Lesser General Public License instead of this License.
342
343                       Mozilla Public License Version 1.1
344
3451. Definitions.
346
347   1.0.1. "Commercial Use"
348          means distribution or otherwise making the Covered Code
349          available to a third party.
350
351   1.1. "Contributor"
352          means each entity that creates or contributes to the creation of
353          Modifications.
354
355   1.2. "Contributor Version"
356          means the combination of the Original Code, prior Modifications
357          used by a Contributor, and the Modifications made by that
358          particular Contributor.
359
360   1.3. "Covered Code"
361          means the Original Code or Modifications or the combination of
362          the Original Code and Modifications, in each case including
363          portions thereof.
364
365   1.4. "Electronic Distribution Mechanism"
366          means a mechanism generally accepted in the software development
367          community for the electronic transfer of data.
368
369   1.5. "Executable"
370          means Covered Code in any form other than Source Code.
371
372   1.6. "Initial Developer"
373          means the individual or entity identified as the Initial
374          Developer in the Source Code notice required by Exhibit A.
375
376   1.7. "Larger Work"
377          means a work which combines Covered Code or portions thereof
378          with code not governed by the terms of this License.
379
380   1.8. "License"
381          means this document.
382
383   1.8.1. "Licensable"
384          means having the right to grant, to the maximum extent possible,
385          whether at the time of the initial grant or subsequently
386          acquired, any and all of the rights conveyed herein.
387
388   1.9. "Modifications"
389          means any addition to or deletion from the substance or
390          structure of either the Original Code or any previous
391          Modifications. When Covered Code is released as a series of
392          files, a Modification is:
393
394    a.
395       Any addition to or deletion from the contents of a file containing
396       Original Code or previous Modifications.
397    b.
398       Any new file that contains any part of the Original Code or
399       previous Modifications.
400
401   1.10. "Original Code"
402          means Source Code of computer software code which is described
403          in the Source Code notice required by Exhibit A as Original
404          Code, and which, at the time of its release under this License
405          is not already Covered Code governed by this License.
406
407   1.10.1. "Patent Claims"
408          means any patent claim(s), now owned or hereafter acquired,
409          including without limitation, method, process, and apparatus
410          claims, in any patent Licensable by grantor.
411
412   1.11. "Source Code"
413          means the preferred form of the Covered Code for making
414          modifications to it, including all modules it contains, plus any
415          associated interface definition files, scripts used to control
416          compilation and installation of an Executable, or source code
417          differential comparisons against either the Original Code or
418          another well known, available Covered Code of the Contributor's
419          choice. The Source Code can be in a compressed or archival form,
420          provided the appropriate decompression or de-archiving software
421          is widely available for no charge.
422
423   1.12. "You" (or "Your")
424          means an individual or a legal entity exercising rights under,
425          and complying with all of the terms of, this License or a future
426          version of this License issued under Section 6.1. For legal
427          entities, "You" includes any entity which controls, is
428          controlled by, or is under common control with You. For purposes
429          of this definition, "control" means (a) the power, direct or
430          indirect, to cause the direction or management of such entity,
431          whether by contract or otherwise, or (b) ownership of more than
432          fifty percent (50%) of the outstanding shares or beneficial
433          ownership of such entity.
434
4352. Source Code License.
436
437  2.1. The Initial Developer Grant.
438
439   The Initial Developer hereby grants You a world-wide, royalty-free,
440   non-exclusive license, subject to third party intellectual property
441   claims:
442    a. under intellectual property rights (other than patent or trademark)
443       Licensable by Initial Developer to use, reproduce, modify, display,
444       perform, sublicense and distribute the Original Code (or portions
445       thereof) with or without Modifications, and/or as part of a Larger
446       Work; and
447    b. under Patents Claims infringed by the making, using or selling of
448       Original Code, to make, have made, use, practice, sell, and offer
449       for sale, and/or otherwise dispose of the Original Code (or
450       portions thereof).
451    c. the licenses granted in this Section 2.1 (a) and (b) are effective
452       on the date Initial Developer first distributes Original Code under
453       the terms of this License.
454    d. Notwithstanding Section 2.1 (b) above, no patent license is
455       granted: 1) for code that You delete from the Original Code; 2)
456       separate from the Original Code; or 3) for infringements caused by:
457       i) the modification of the Original Code or ii) the combination of
458       the Original Code with other software or devices.
459
460  2.2. Contributor Grant.
461
462   Subject to third party intellectual property claims, each Contributor
463   hereby grants You a world-wide, royalty-free, non-exclusive license
464    a. under intellectual property rights (other than patent or trademark)
465       Licensable by Contributor, to use, reproduce, modify, display,
466       perform, sublicense and distribute the Modifications created by
467       such Contributor (or portions thereof) either on an unmodified
468       basis, with other Modifications, as Covered Code and/or as part of
469       a Larger Work; and
470    b. under Patent Claims infringed by the making, using, or selling of
471       Modifications made by that Contributor either alone and/or in
472       combination with its Contributor Version (or portions of such
473       combination), to make, use, sell, offer for sale, have made, and/or
474       otherwise dispose of: 1) Modifications made by that Contributor (or
475       portions thereof); and 2) the combination of Modifications made by
476       that Contributor with its Contributor Version (or portions of such
477       combination).
478    c. the licenses granted in Sections 2.2 (a) and 2.2 (b) are effective
479       on the date Contributor first makes Commercial Use of the Covered
480       Code.
481    d. Notwithstanding Section 2.2 (b) above, no patent license is
482       granted: 1) for any code that Contributor has deleted from the
483       Contributor Version; 2) separate from the Contributor Version; 3)
484       for infringements caused by: i) third party modifications of
485       Contributor Version or ii) the combination of Modifications made by
486       that Contributor with other software (except as part of the
487       Contributor Version) or other devices; or 4) under Patent Claims
488       infringed by Covered Code in the absence of Modifications made by
489       that Contributor.
490
4913. Distribution Obligations.
492
493  3.1. Application of License.
494
495   The Modifications which You create or to which You contribute are
496   governed by the terms of this License, including without limitation
497   Section 2.2. The Source Code version of Covered Code may be distributed
498   only under the terms of this License or a future version of this
499   License released under Section 6.1, and You must include a copy of this
500   License with every copy of the Source Code You distribute. You may not
501   offer or impose any terms on any Source Code version that alters or
502   restricts the applicable version of this License or the recipients'
503   rights hereunder. However, You may include an additional document
504   offering the additional rights described in Section 3.5.
505
506  3.2. Availability of Source Code.
507
508   Any Modification which You create or to which You contribute must be
509   made available in Source Code form under the terms of this License
510   either on the same media as an Executable version or via an accepted
511   Electronic Distribution Mechanism to anyone to whom you made an
512   Executable version available; and if made available via Electronic
513   Distribution Mechanism, must remain available for at least twelve (12)
514   months after the date it initially became available, or at least six
515   (6) months after a subsequent version of that particular Modification
516   has been made available to such recipients. You are responsible for
517   ensuring that the Source Code version remains available even if the
518   Electronic Distribution Mechanism is maintained by a third party.
519
520  3.3. Description of Modifications.
521
522   You must cause all Covered Code to which You contribute to contain a
523   file documenting the changes You made to create that Covered Code and
524   the date of any change. You must include a prominent statement that the
525   Modification is derived, directly or indirectly, from Original Code
526   provided by the Initial Developer and including the name of the Initial
527   Developer in (a) the Source Code, and (b) in any notice in an
528   Executable version or related documentation in which You describe the
529   origin or ownership of the Covered Code.
530
531  3.4. Intellectual Property Matters
532
533    (a) Third Party Claims
534
535   If Contributor has knowledge that a license under a third party's
536   intellectual property rights is required to exercise the rights granted
537   by such Contributor under Sections 2.1 or 2.2, Contributor must include
538   a text file with the Source Code distribution titled "LEGAL" which
539   describes the claim and the party making the claim in sufficient detail
540   that a recipient will know whom to contact. If Contributor obtains such
541   knowledge after the Modification is made available as described in
542   Section 3.2, Contributor shall promptly modify the LEGAL file in all
543   copies Contributor makes available thereafter and shall take other
544   steps (such as notifying appropriate mailing lists or newsgroups)
545   reasonably calculated to inform those who received the Covered Code
546   that new knowledge has been obtained.
547
548    (b) Contributor APIs
549
550   If Contributor's Modifications include an application programming
551   interface and Contributor has knowledge of patent licenses which are
552   reasonably necessary to implement that API, Contributor must also
553   include this information in the legal file.
554
555    (c) Representations.
556
557   Contributor represents that, except as disclosed pursuant to Section
558   3.4 (a) above, Contributor believes that Contributor's Modifications
559   are Contributor's original creation(s) and/or Contributor has
560   sufficient rights to grant the rights conveyed by this License.
561
562  3.5. Required Notices.
563
564   You must duplicate the notice in Exhibit A in each file of the Source
565   Code. If it is not possible to put such notice in a particular Source
566   Code file due to its structure, then You must include such notice in a
567   location (such as a relevant directory) where a user would be likely to
568   look for such a notice. If You created one or more Modification(s) You
569   may add your name as a Contributor to the notice described in Exhibit
570   A. You must also duplicate this License in any documentation for the
571   Source Code where You describe recipients' rights or ownership rights
572   relating to Covered Code. You may choose to offer, and to charge a fee
573   for, warranty, support, indemnity or liability obligations to one or
574   more recipients of Covered Code. However, You may do so only on Your
575   own behalf, and not on behalf of the Initial Developer or any
576   Contributor. You must make it absolutely clear than any such warranty,
577   support, indemnity or liability obligation is offered by You alone, and
578   You hereby agree to indemnify the Initial Developer and every
579   Contributor for any liability incurred by the Initial Developer or such
580   Contributor as a result of warranty, support, indemnity or liability
581   terms You offer.
582
583  3.6. Distribution of Executable Versions.
584
585   You may distribute Covered Code in Executable form only if the
586   requirements of Sections 3.1, 3.2, 3.3, 3.4 and 3.5 have been met for
587   that Covered Code, and if You include a notice stating that the Source
588   Code version of the Covered Code is available under the terms of this
589   License, including a description of how and where You have fulfilled
590   the obligations of Section 3.2. The notice must be conspicuously
591   included in any notice in an Executable version, related documentation
592   or collateral in which You describe recipients' rights relating to the
593   Covered Code. You may distribute the Executable version of Covered Code
594   or ownership rights under a license of Your choice, which may contain
595   terms different from this License, provided that You are in compliance
596   with the terms of this License and that the license for the Executable
597   version does not attempt to limit or alter the recipient's rights in
598   the Source Code version from the rights set forth in this License. If
599   You distribute the Executable version under a different license You
600   must make it absolutely clear that any terms which differ from this
601   License are offered by You alone, not by the Initial Developer or any
602   Contributor. You hereby agree to indemnify the Initial Developer and
603   every Contributor for any liability incurred by the Initial Developer
604   or such Contributor as a result of any such terms You offer.
605
606  3.7. Larger Works.
607
608   You may create a Larger Work by combining Covered Code with other code
609   not governed by the terms of this License and distribute the Larger
610   Work as a single product. In such a case, You must make sure the
611   requirements of this License are fulfilled for the Covered Code.
612
6134. Inability to Comply Due to Statute or Regulation.
614
615   If it is impossible for You to comply with any of the terms of this
616   License with respect to some or all of the Covered Code due to statute,
617   judicial order, or regulation then You must: (a) comply with the terms
618   of this License to the maximum extent possible; and (b) describe the
619   limitations and the code they affect. Such description must be included
620   in the legal file described in Section 3.4 and must be included with
621   all distributions of the Source Code. Except to the extent prohibited
622   by statute or regulation, such description must be sufficiently
623   detailed for a recipient of ordinary skill to be able to understand it.
624
6255. Application of this License.
626
627   This License applies to code to which the Initial Developer has
628   attached the notice in Exhibit A and to related Covered Code.
629
6306. Versions of the License.
631
632  6.1. New Versions
633
634   Netscape Communications Corporation ("Netscape") may publish revised
635   and/or new versions of the License from time to time. Each version will
636   be given a distinguishing version number.
637
638  6.2. Effect of New Versions
639
640   Once Covered Code has been published under a particular version of the
641   License, You may always continue to use it under the terms of that
642   version. You may also choose to use such Covered Code under the terms
643   of any subsequent version of the License published by Netscape. No one
644   other than Netscape has the right to modify the terms applicable to
645   Covered Code created under this License.
646
647  6.3. Derivative Works
648
649   If You create or use a modified version of this License (which you may
650   only do in order to apply it to code which is not already Covered Code
651   governed by this License), You must (a) rename Your license so that the
652   phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", "MPL", "NPL" or
653   any confusingly similar phrase do not appear in your license (except to
654   note that your license differs from this License) and (b) otherwise
655   make it clear that Your version of the license contains terms which
656   differ from the Mozilla Public License and Netscape Public License.
657   (Filling in the name of the Initial Developer, Original Code or
658   Contributor in the notice described in Exhibit A shall not of
659   themselves be deemed to be modifications of this License.)
660
6617. Disclaimer of warranty
662
663   Covered code is provided under this license on an "as is" basis,
664   without warranty of any kind, either expressed or implied, including,
665   without limitation, warranties that the covered code is free of
666   defects, merchantable, fit for a particular purpose or non-infringing.
667   The entire risk as to the quality and performance of the covered code
668   is with you. Should any covered code prove defective in any respect,
669   you (not the initial developer or any other contributor) assume the
670   cost of any necessary servicing, repair or correction. This disclaimer
671   of warranty constitutes an essential part of this license. No use of
672   any covered code is authorized hereunder except under this disclaimer.
673
6748. Termination
675
676   8.1. This License and the rights granted hereunder will terminate
677   automatically if You fail to comply with terms herein and fail to cure
678   such breach within 30 days of becoming aware of the breach. All
679   sublicenses to the Covered Code which are properly granted shall
680   survive any termination of this License. Provisions which, by their
681   nature, must remain in effect beyond the termination of this License
682   shall survive.
683
684   8.2. If You initiate litigation by asserting a patent infringement
685   claim (excluding declaratory judgment actions) against Initial
686   Developer or a Contributor (the Initial Developer or Contributor
687   against whom You file such action is referred to as "Participant")
688   alleging that:
689    a. such Participant's Contributor Version directly or indirectly
690       infringes any patent, then any and all rights granted by such
691       Participant to You under Sections 2.1 and/or 2.2 of this License
692       shall, upon 60 days notice from Participant terminate
693       prospectively, unless if within 60 days after receipt of notice You
694       either: (i) agree in writing to pay Participant a mutually
695       agreeable reasonable royalty for Your past and future use of
696       Modifications made by such Participant, or (ii) withdraw Your
697       litigation claim with respect to the Contributor Version against
698       such Participant. If within 60 days of notice, a reasonable royalty
699       and payment arrangement are not mutually agreed upon in writing by
700       the parties or the litigation claim is not withdrawn, the rights
701       granted by Participant to You under Sections 2.1 and/or 2.2
702       automatically terminate at the expiration of the 60 day notice
703       period specified above.
704    b. any software, hardware, or device, other than such Participant's
705       Contributor Version, directly or indirectly infringes any patent,
706       then any rights granted to You by such Participant under Sections
707       2.1(b) and 2.2(b) are revoked effective as of the date You first
708       made, used, sold, distributed, or had made, Modifications made by
709       that Participant.
710
711   8.3. If You assert a patent infringement claim against Participant
712   alleging that such Participant's Contributor Version directly or
713   indirectly infringes any patent where such claim is resolved (such as
714   by license or settlement) prior to the initiation of patent
715   infringement litigation, then the reasonable value of the licenses
716   granted by such Participant under Sections 2.1 or 2.2 shall be taken
717   into account in determining the amount or value of any payment or
718   license.
719
720   8.4. In the event of termination under Sections 8.1 or 8.2 above, all
721   end user license agreements (excluding distributors and resellers)
722   which have been validly granted by You or any distributor hereunder
723   prior to termination shall survive termination.
724
7259. Limitation of liability
726
727   Under no circumstances and under no legal theory, whether tort
728   (including negligence), contract, or otherwise, shall you, the initial
729   developer, any other contributor, or any distributor of covered code,
730   or any supplier of any of such parties, be liable to any person for any
731   indirect, special, incidental, or consequential damages of any
732   character including, without limitation, damages for loss of goodwill,
733   work stoppage, computer failure or malfunction, or any and all other
734   commercial damages or losses, even if such party shall have been
735   informed of the possibility of such damages. This limitation of
736   liability shall not apply to liability for death or personal injury
737   resulting from such party's negligence to the extent applicable law
738   prohibits such limitation. Some jurisdictions do not allow the
739   exclusion or limitation of incidental or consequential damages, so this
740   exclusion and limitation may not apply to you.
741
74210. U.S. government end users
743
744   The Covered Code is a "commercial item," as that term is defined in 48
745   C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer software"
746   and "commercial computer software documentation," as such terms are
747   used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212
748   and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S.
749   Government End Users acquire Covered Code with only those rights set
750   forth herein.
751
75211. Miscellaneous
753
754   This License represents the complete agreement concerning subject
755   matter hereof. If any provision of this License is held to be
756   unenforceable, such provision shall be reformed only to the extent
757   necessary to make it enforceable. This License shall be governed by
758   California law provisions (except to the extent applicable law, if any,
759   provides otherwise), excluding its conflict-of-law provisions. With
760   respect to disputes in which at least one party is a citizen of, or an
761   entity chartered or registered to do business in the United States of
762   America, any litigation relating to this License shall be subject to
763   the jurisdiction of the Federal Courts of the Northern District of
764   California, with venue lying in Santa Clara County, California, with
765   the losing party responsible for costs, including without limitation,
766   court costs and reasonable attorneys' fees and expenses. The
767   application of the United Nations Convention on Contracts for the
768   International Sale of Goods is expressly excluded. Any law or
769   regulation which provides that the language of a contract shall be
770   construed against the drafter shall not apply to this License.
771
77212. Responsibility for claims
773
774   As between Initial Developer and the Contributors, each party is
775   responsible for claims and damages arising, directly or indirectly, out
776   of its utilization of rights under this License and You agree to work
777   with Initial Developer and Contributors to distribute such
778   responsibility on an equitable basis. Nothing herein is intended or
779   shall be deemed to constitute any admission of liability.
780
78113. Multiple-licensed code
782
783   Initial Developer may designate portions of the Covered Code as
784   "Multiple-Licensed". "Multiple-Licensed" means that the Initial
785   Developer permits you to utilize portions of the Covered Code under
786   Your choice of the MPL or the alternative licenses, if any, specified
787   by the Initial Developer in the file described in Exhibit A.
788
789Exhibit A - Mozilla Public License.
790
791"The contents of this file are subject to the Mozilla Public License
792Version 1.1 (the "License"); you may not use this file except in
793compliance with the License. You may obtain a copy of the License at
794http://www.mozilla.org/MPL/
795
796Software distributed under the License is distributed on an "AS IS"
797basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
798License for the specific language governing rights and limitations
799under the License.
800
801The Original Code is ______________________________________.
802
803The Initial Developer of the Original Code is ________________________.
804Portions created by ______________________ are Copyright (C) ______
805_______________________. All Rights Reserved.
806
807Contributor(s): ______________________________________.
808
809Alternatively, the contents of this file may be used under the terms
810of the _____ license (the  "[___] License"), in which case the
811provisions of [______] License are applicable instead of those
812above. If you wish to allow use of your version of this file only
813under the terms of the [____] License and not to allow others to use
814your version of this file under the MPL, indicate your decision by
815deleting the provisions above and replace them with the notice and
816other provisions required by the [___] License. If you do not delete
817the provisions above, a recipient may use your version of this file
818under either the MPL or the [___] License."
819
820   NOTE: The text of this Exhibit A may differ slightly from the text of
821   the notices in the Source Code files of the Original Code. You should
822   use the text of this Exhibit A rather than the text found in the
823   Original Code Source Code for Your Modifications.
824