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