xref: /aosp_15_r20/external/licenseclassifier/v2/scenarios/187845184 (revision 46c4c49da23cae783fa41bf46525a6505638499a)
1If the two licenses overlap because of bad line wrapping, still match both
2licenses.
3EXPECTED:EPL-2.0,GPL-3.0
4Eclipse Public License - v 2.0
5
6    THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE
7    PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION
8    OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
9
101. DEFINITIONS
11
12"Contribution" means:
13
14  a) in the case of the initial Contributor, the initial content
15     Distributed under this Agreement, and
16
17  b) in the case of each subsequent Contributor:
18     i) changes to the Program, and
19     ii) additions to the Program;
20  where such changes and/or additions to the Program originate from
21  and are Distributed by that particular Contributor. A Contribution
22  "originates" from a Contributor if it was added to the Program by
23  such Contributor itself or anyone acting on such Contributor's behalf.
24  Contributions do not include changes or additions to the Program that
25  are not Modified Works.
26
27"Contributor" means any person or entity that Distributes the Program.
28
29"Licensed Patents" mean patent claims licensable by a Contributor which
30are necessarily infringed by the use or sale of its Contribution alone
31or when combined with the Program.
32
33"Program" means the Contributions Distributed in accordance with this
34Agreement.
35
36"Recipient" means anyone who receives the Program under this Agreement
37or any Secondary License (as applicable), including Contributors.
38
39"Derivative Works" shall mean any work, whether in Source Code or other
40form, that is based on (or derived from) the Program and for which the
41editorial revisions, annotations, elaborations, or other modifications
42represent, as a whole, an original work of authorship.
43
44"Modified Works" shall mean any work in Source Code or other form that
45results from an addition to, deletion from, or modification of the
46contents of the Program, including, for purposes of clarity any new file
47in Source Code form that contains any contents of the Program. Modified
48Works shall not include works that contain only declarations,
49interfaces, types, classes, structures, or files of the Program solely
50in each case in order to link to, bind by name, or subclass the Program
51or Modified Works thereof.
52
53"Distribute" means the acts of a) distributing or b) making available
54in any manner that enables the transfer of a copy.
55
56"Source Code" means the form of a Program preferred for making
57modifications, including but not limited to software source code,
58documentation source, and configuration files.
59
60"Secondary License" means either the GNU General Public License,
61Version 2.0, or any later versions of that license, including any
62exceptions or additional permissions as identified by the initial
63Contributor.
64
652. GRANT OF RIGHTS
66
67  a) Subject to the terms of this Agreement, each Contributor hereby
68  grants Recipient a non-exclusive, worldwide, royalty-free copyright
69  license to reproduce, prepare Derivative Works of, publicly display,
70  publicly perform, Distribute and sublicense the Contribution of such
71  Contributor, if any, and such Derivative Works.
72
73  b) Subject to the terms of this Agreement, each Contributor hereby
74  grants Recipient a non-exclusive, worldwide, royalty-free patent
75  license under Licensed Patents to make, use, sell, offer to sell,
76  import and otherwise transfer the Contribution of such Contributor,
77  if any, in Source Code or other form. This patent license shall
78  apply to the combination of the Contribution and the Program if, at
79  the time the Contribution is added by the Contributor, such addition
80  of the Contribution causes such combination to be covered by the
81  Licensed Patents. The patent license shall not apply to any other
82  combinations which include the Contribution. No hardware per se is
83  licensed hereunder.
84
85  c) Recipient understands that although each Contributor grants the
86  licenses to its Contributions set forth herein, no assurances are
87  provided by any Contributor that the Program does not infringe the
88  patent or other intellectual property rights of any other entity.
89  Each Contributor disclaims any liability to Recipient for claims
90  brought by any other entity based on infringement of intellectual
91  property rights or otherwise. As a condition to exercising the
92  rights and licenses granted hereunder, each Recipient hereby
93  assumes sole responsibility to secure any other intellectual
94  property rights needed, if any. For example, if a third party
95  patent license is required to allow Recipient to Distribute the
96  Program, it is Recipient's responsibility to acquire that license
97  before distributing the Program.
98
99  d) Each Contributor represents that to its knowledge it has
100  sufficient copyright rights in its Contribution, if any, to grant
101  the copyright license set forth in this Agreement.
102
103  e) Notwithstanding the terms of any Secondary License, no
104  Contributor makes additional grants to any Recipient (other than
105  those set forth in this Agreement) as a result of such Recipient's
106  receipt of the Program under the terms of a Secondary License
107  (if permitted under the terms of Section 3).
108
1093. REQUIREMENTS
110
1113.1 If a Contributor Distributes the Program in any form, then:
112
113  a) the Program must also be made available as Source Code, in
114  accordance with section 3.2, and the Contributor must accompany
115  the Program with a statement that the Source Code for the Program
116  is available under this Agreement, and informs Recipients how to
117  obtain it in a reasonable manner on or through a medium customarily
118  used for software exchange; and
119
120  b) the Contributor may Distribute the Program under a license
121  different than this Agreement, provided that such license:
122     i) effectively disclaims on behalf of all other Contributors all
123     warranties and conditions, express and implied, including
124     warranties or conditions of title and non-infringement, and
125     implied warranties or conditions of merchantability and fitness
126     for a particular purpose;
127
128     ii) effectively excludes on behalf of all other Contributors all
129     liability for damages, including direct, indirect, special,
130     incidental and consequential damages, such as lost profits;
131
132     iii) does not attempt to limit or alter the recipients' rights
133     in the Source Code under section 3.2; and
134
135     iv) requires any subsequent distribution of the Program by any
136     party to be under a license that satisfies the requirements
137     of this section 3.
138
1393.2 When the Program is Distributed as Source Code:
140
141  a) it must be made available under this Agreement, or if the
142  Program (i) is combined with other material in a separate file or
143  files made available under a Secondary License, and (ii) the initial
144  Contributor attached to the Source Code the notice described in
145  Exhibit A of this Agreement, then the Program may be made available
146  under the terms of such Secondary Licenses, and
147
148  b) a copy of this Agreement must be included with each copy of
149  the Program.
150
1513.3 Contributors may not remove or alter any copyright, patent,
152trademark, attribution notices, disclaimers of warranty, or limitations
153of liability ("notices") contained within the Program from any copy of
154the Program which they Distribute, provided that Contributors may add
155their own appropriate notices.
156
1574. COMMERCIAL DISTRIBUTION
158
159Commercial distributors of software may accept certain responsibilities
160with respect to end users, business partners and the like. While this
161license is intended to facilitate the commercial use of the Program,
162the Contributor who includes the Program in a commercial product
163offering should do so in a manner which does not create potential
164liability for other Contributors. Therefore, if a Contributor includes
165the Program in a commercial product offering, such Contributor
166("Commercial Contributor") hereby agrees to defend and indemnify every
167other Contributor ("Indemnified Contributor") against any losses,
168damages and costs (collectively "Losses") arising from claims, lawsuits
169and other legal actions brought by a third party against the Indemnified
170Contributor to the extent caused by the acts or omissions of such
171Commercial Contributor in connection with its distribution of the Program
172in a commercial product offering. The obligations in this section do not
173apply to any claims or Losses relating to any actual or alleged
174intellectual property infringement. In order to qualify, an Indemnified
175Contributor must: a) promptly notify the Commercial Contributor in
176writing of such claim, and b) allow the Commercial Contributor to control,
177and cooperate with the Commercial Contributor in, the defense and any
178related settlement negotiations. The Indemnified Contributor may
179participate in any such claim at its own expense.
180
181For example, a Contributor might include the Program in a commercial
182product offering, Product X. That Contributor is then a Commercial
183Contributor. If that Commercial Contributor then makes performance
184claims, or offers warranties related to Product X, those performance
185claims and warranties are such Commercial Contributor's responsibility
186alone. Under this section, the Commercial Contributor would have to
187defend claims against the other Contributors related to those performance
188claims and warranties, and if a court requires any other Contributor to
189pay any damages as a result, the Commercial Contributor must pay
190those damages.
191
1925. NO WARRANTY
193
194EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT
195PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN "AS IS"
196BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
197IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF
198TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
199PURPOSE. Each Recipient is solely responsible for determining the
200appropriateness of using and distributing the Program and assumes all
201risks associated with its exercise of rights under this Agreement,
202including but not limited to the risks and costs of program errors,
203compliance with applicable laws, damage to or loss of data, programs
204or equipment, and unavailability or interruption of operations.
205
2066. DISCLAIMER OF LIABILITY
207
208EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT
209PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS
210SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
211EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
212PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
213CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
214ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE
215EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE
216POSSIBILITY OF SUCH DAMAGES.
217
2187. GENERAL
219
220If any provision of this Agreement is invalid or unenforceable under
221applicable law, it shall not affect the validity or enforceability of
222the remainder of the terms of this Agreement, and without further
223action by the parties hereto, such provision shall be reformed to the
224minimum extent necessary to make such provision valid and enforceable.
225
226If Recipient institutes patent litigation against any entity
227(including a cross-claim or counterclaim in a lawsuit) alleging that the
228Program itself (excluding combinations of the Program with other software
229or hardware) infringes such Recipient's patent(s), then such Recipient's
230rights granted under Section 2(b) shall terminate as of the date such
231litigation is filed.
232
233All Recipient's rights under this Agreement shall terminate if it
234fails to comply with any of the material terms or conditions of this
235Agreement and does not cure such failure in a reasonable period of
236time after becoming aware of such noncompliance. If all Recipient's
237rights under this Agreement terminate, Recipient agrees to cease use
238and distribution of the Program as soon as reasonably practicable.
239However, Recipient's obligations under this Agreement and any licenses
240granted by Recipient relating to the Program shall continue and survive.
241
242Everyone is permitted to copy and distribute copies of this Agreement,
243but in order to avoid inconsistency the Agreement is copyrighted and
244may only be modified in the following manner. The Agreement Steward
245reserves the right to publish new versions (including revisions) of
246this Agreement from time to time. No one other than the Agreement
247Steward has the right to modify this Agreement. The Eclipse Foundation
248is the initial Agreement Steward. The Eclipse Foundation may assign the
249responsibility to serve as the Agreement Steward to a suitable separate
250entity. Each new version of the Agreement will be given a distinguishing
251version number. The Program (including Contributions) may always be
252Distributed subject to the version of the Agreement under which it was
253received. In addition, after a new version of the Agreement is published,
254Contributor may elect to Distribute the Program (including its
255Contributions) under the new version.
256
257Except as expressly stated in Sections 2(a) and 2(b) above, Recipient
258receives no rights or licenses to the intellectual property of any
259Contributor under this Agreement, whether expressly, by implication,
260estoppel or otherwise. All rights in the Program not expressly granted
261under this Agreement are reserved. Nothing in this Agreement is intended
262to be enforceable by any entity that is not a Contributor or Recipient.
263No third-party beneficiary rights are created under this Agreement.
264
265Exhibit A - Form of Secondary Licenses Notice
266
267"This Source Code may also be made available under the following
268Secondary Licenses when the conditions for such availability set forth
269in the Eclipse Public License, v. 2.0 are satisfied: {name license(s),
270version(s), and exceptions or additional permissions here}."
271
272  Simply including a copy of this Agreement, including this Exhibit A
273  is not sufficient to license the Source Code under Secondary Licenses.
274
275  If it is not possible or desirable to put the notice in a particular
276  file, then You may include the notice in a location (such as a LICENSE
277  file in a relevant directory) where a recipient would be likely to
278  look for such a notice.
279
280  You may add additional accurate notices of copyright ownership.                    GNU GENERAL PUBLIC LICENSE
281                       Version 3, 29 June 2007
282
283 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
284 Everyone is permitted to copy and distribute verbatim copies
285 of this license document, but changing it is not allowed.
286
287                            Preamble
288
289  The GNU General Public License is a free, copyleft license for
290software and other kinds of works.
291
292  The licenses for most software and other practical works are designed
293to take away your freedom to share and change the works.  By contrast,
294the GNU General Public License is intended to guarantee your freedom to
295share and change all versions of a program--to make sure it remains free
296software for all its users.  We, the Free Software Foundation, use the
297GNU General Public License for most of our software; it applies also to
298any other work released this way by its authors.  You can apply it to
299your programs, too.
300
301  When we speak of free software, we are referring to freedom, not
302price.  Our General Public Licenses are designed to make sure that you
303have the freedom to distribute copies of free software (and charge for
304them if you wish), that you receive source code or can get it if you
305want it, that you can change the software or use pieces of it in new
306free programs, and that you know you can do these things.
307
308  To protect your rights, we need to prevent others from denying you
309these rights or asking you to surrender the rights.  Therefore, you have
310certain responsibilities if you distribute copies of the software, or if
311you modify it: responsibilities to respect the freedom of others.
312
313  For example, if you distribute copies of such a program, whether
314gratis or for a fee, you must pass on to the recipients the same
315freedoms that you received.  You must make sure that they, too, receive
316or can get the source code.  And you must show them these terms so they
317know their rights.
318
319  Developers that use the GNU GPL protect your rights with two steps:
320(1) assert copyright on the software, and (2) offer you this License
321giving you legal permission to copy, distribute and/or modify it.
322
323  For the developers' and authors' protection, the GPL clearly explains
324that there is no warranty for this free software.  For both users' and
325authors' sake, the GPL requires that modified versions be marked as
326changed, so that their problems will not be attributed erroneously to
327authors of previous versions.
328
329  Some devices are designed to deny users access to install or run
330modified versions of the software inside them, although the manufacturer
331can do so.  This is fundamentally incompatible with the aim of
332protecting users' freedom to change the software.  The systematic
333pattern of such abuse occurs in the area of products for individuals to
334use, which is precisely where it is most unacceptable.  Therefore, we
335have designed this version of the GPL to prohibit the practice for those
336products.  If such problems arise substantially in other domains, we
337stand ready to extend this provision to those domains in future versions
338of the GPL, as needed to protect the freedom of users.
339
340  Finally, every program is threatened constantly by software patents.
341States should not allow patents to restrict development and use of
342software on general-purpose computers, but in those that do, we wish to
343avoid the special danger that patents applied to a free program could
344make it effectively proprietary.  To prevent this, the GPL assures that
345patents cannot be used to render the program non-free.
346
347  The precise terms and conditions for copying, distribution and
348modification follow.
349
350                       TERMS AND CONDITIONS
351
352  0. Definitions.
353
354  "This License" refers to version 3 of the GNU General Public License.
355
356  "Copyright" also means copyright-like laws that apply to other kinds of
357works, such as semiconductor masks.
358
359  "The Program" refers to any copyrightable work licensed under this
360License.  Each licensee is addressed as "you".  "Licensees" and
361"recipients" may be individuals or organizations.
362
363  To "modify" a work means to copy from or adapt all or part of the work
364in a fashion requiring copyright permission, other than the making of an
365exact copy.  The resulting work is called a "modified version" of the
366earlier work or a work "based on" the earlier work.
367
368  A "covered work" means either the unmodified Program or a work based
369on the Program.
370
371  To "propagate" a work means to do anything with it that, without
372permission, would make you directly or secondarily liable for
373infringement under applicable copyright law, except executing it on a
374computer or modifying a private copy.  Propagation includes copying,
375distribution (with or without modification), making available to the
376public, and in some countries other activities as well.
377
378  To "convey" a work means any kind of propagation that enables other
379parties to make or receive copies.  Mere interaction with a user through
380a computer network, with no transfer of a copy, is not conveying.
381
382  An interactive user interface displays "Appropriate Legal Notices"
383to the extent that it includes a convenient and prominently visible
384feature that (1) displays an appropriate copyright notice, and (2)
385tells the user that there is no warranty for the work (except to the
386extent that warranties are provided), that licensees may convey the
387work under this License, and how to view a copy of this License.  If
388the interface presents a list of user commands or options, such as a
389menu, a prominent item in the list meets this criterion.
390
391  1. Source Code.
392
393  The "source code" for a work means the preferred form of the work
394for making modifications to it.  "Object code" means any non-source
395form of a work.
396
397  A "Standard Interface" means an interface that either is an official
398standard defined by a recognized standards body, or, in the case of
399interfaces specified for a particular programming language, one that
400is widely used among developers working in that language.
401
402  The "System Libraries" of an executable work include anything, other
403than the work as a whole, that (a) is included in the normal form of
404packaging a Major Component, but which is not part of that Major
405Component, and (b) serves only to enable use of the work with that
406Major Component, or to implement a Standard Interface for which an
407implementation is available to the public in source code form.  A
408"Major Component", in this context, means a major essential component
409(kernel, window system, and so on) of the specific operating system
410(if any) on which the executable work runs, or a compiler used to
411produce the work, or an object code interpreter used to run it.
412
413  The "Corresponding Source" for a work in object code form means all
414the source code needed to generate, install, and (for an executable
415work) run the object code and to modify the work, including scripts to
416control those activities.  However, it does not include the work's
417System Libraries, or general-purpose tools or generally available free
418programs which are used unmodified in performing those activities but
419which are not part of the work.  For example, Corresponding Source
420includes interface definition files associated with source files for
421the work, and the source code for shared libraries and dynamically
422linked subprograms that the work is specifically designed to require,
423such as by intimate data communication or control flow between those
424subprograms and other parts of the work.
425
426  The Corresponding Source need not include anything that users
427can regenerate automatically from other parts of the Corresponding
428Source.
429
430  The Corresponding Source for a work in source code form is that
431same work.
432
433  2. Basic Permissions.
434
435  All rights granted under this License are granted for the term of
436copyright on the Program, and are irrevocable provided the stated
437conditions are met.  This License explicitly affirms your unlimited
438permission to run the unmodified Program.  The output from running a
439covered work is covered by this License only if the output, given its
440content, constitutes a covered work.  This License acknowledges your
441rights of fair use or other equivalent, as provided by copyright law.
442
443  You may make, run and propagate covered works that you do not
444convey, without conditions so long as your license otherwise remains
445in force.  You may convey covered works to others for the sole purpose
446of having them make modifications exclusively for you, or provide you
447with facilities for running those works, provided that you comply with
448the terms of this License in conveying all material for which you do
449not control copyright.  Those thus making or running the covered works
450for you must do so exclusively on your behalf, under your direction
451and control, on terms that prohibit them from making any copies of
452your copyrighted material outside their relationship with you.
453
454  Conveying under any other circumstances is permitted solely under
455the conditions stated below.  Sublicensing is not allowed; section 10
456makes it unnecessary.
457
458  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
459
460  No covered work shall be deemed part of an effective technological
461measure under any applicable law fulfilling obligations under article
46211 of the WIPO copyright treaty adopted on 20 December 1996, or
463similar laws prohibiting or restricting circumvention of such
464measures.
465
466  When you convey a covered work, you waive any legal power to forbid
467circumvention of technological measures to the extent such circumvention
468is effected by exercising rights under this License with respect to
469the covered work, and you disclaim any intention to limit operation or
470modification of the work as a means of enforcing, against the work's
471users, your or third parties' legal rights to forbid circumvention of
472technological measures.
473
474  4. Conveying Verbatim Copies.
475
476  You may convey verbatim copies of the Program's source code as you
477receive it, in any medium, provided that you conspicuously and
478appropriately publish on each copy an appropriate copyright notice;
479keep intact all notices stating that this License and any
480non-permissive terms added in accord with section 7 apply to the code;
481keep intact all notices of the absence of any warranty; and give all
482recipients a copy of this License along with the Program.
483
484  You may charge any price or no price for each copy that you convey,
485and you may offer support or warranty protection for a fee.
486
487  5. Conveying Modified Source Versions.
488
489  You may convey a work based on the Program, or the modifications to
490produce it from the Program, in the form of source code under the
491terms of section 4, provided that you also meet all of these conditions:
492
493    a) The work must carry prominent notices stating that you modified
494    it, and giving a relevant date.
495
496    b) The work must carry prominent notices stating that it is
497    released under this License and any conditions added under section
498    7.  This requirement modifies the requirement in section 4 to
499    "keep intact all notices".
500
501    c) You must license the entire work, as a whole, under this
502    License to anyone who comes into possession of a copy.  This
503    License will therefore apply, along with any applicable section 7
504    additional terms, to the whole of the work, and all its parts,
505    regardless of how they are packaged.  This License gives no
506    permission to license the work in any other way, but it does not
507    invalidate such permission if you have separately received it.
508
509    d) If the work has interactive user interfaces, each must display
510    Appropriate Legal Notices; however, if the Program has interactive
511    interfaces that do not display Appropriate Legal Notices, your
512    work need not make them do so.
513
514  A compilation of a covered work with other separate and independent
515works, which are not by their nature extensions of the covered work,
516and which are not combined with it such as to form a larger program,
517in or on a volume of a storage or distribution medium, is called an
518"aggregate" if the compilation and its resulting copyright are not
519used to limit the access or legal rights of the compilation's users
520beyond what the individual works permit.  Inclusion of a covered work
521in an aggregate does not cause this License to apply to the other
522parts of the aggregate.
523
524  6. Conveying Non-Source Forms.
525
526  You may convey a covered work in object code form under the terms
527of sections 4 and 5, provided that you also convey the
528machine-readable Corresponding Source under the terms of this License,
529in one of these ways:
530
531    a) Convey the object code in, or embodied in, a physical product
532    (including a physical distribution medium), accompanied by the
533    Corresponding Source fixed on a durable physical medium
534    customarily used for software interchange.
535
536    b) Convey the object code in, or embodied in, a physical product
537    (including a physical distribution medium), accompanied by a
538    written offer, valid for at least three years and valid for as
539    long as you offer spare parts or customer support for that product
540    model, to give anyone who possesses the object code either (1) a
541    copy of the Corresponding Source for all the software in the
542    product that is covered by this License, on a durable physical
543    medium customarily used for software interchange, for a price no
544    more than your reasonable cost of physically performing this
545    conveying of source, or (2) access to copy the
546    Corresponding Source from a network server at no charge.
547
548    c) Convey individual copies of the object code with a copy of the
549    written offer to provide the Corresponding Source.  This
550    alternative is allowed only occasionally and noncommercially, and
551    only if you received the object code with such an offer, in accord
552    with subsection 6b.
553
554    d) Convey the object code by offering access from a designated
555    place (gratis or for a charge), and offer equivalent access to the
556    Corresponding Source in the same way through the same place at no
557    further charge.  You need not require recipients to copy the
558    Corresponding Source along with the object code.  If the place to
559    copy the object code is a network server, the Corresponding Source
560    may be on a different server (operated by you or a third party)
561    that supports equivalent copying facilities, provided you maintain
562    clear directions next to the object code saying where to find the
563    Corresponding Source.  Regardless of what server hosts the
564    Corresponding Source, you remain obligated to ensure that it is
565    available for as long as needed to satisfy these requirements.
566
567    e) Convey the object code using peer-to-peer transmission, provided
568    you inform other peers where the object code and Corresponding
569    Source of the work are being offered to the general public at no
570    charge under subsection 6d.
571
572  A separable portion of the object code, whose source code is excluded
573from the Corresponding Source as a System Library, need not be
574included in conveying the object code work.
575
576  A "User Product" is either (1) a "consumer product", which means any
577tangible personal property which is normally used for personal, family,
578or household purposes, or (2) anything designed or sold for incorporation
579into a dwelling.  In determining whether a product is a consumer product,
580doubtful cases shall be resolved in favor of coverage.  For a particular
581product received by a particular user, "normally used" refers to a
582typical or common use of that class of product, regardless of the status
583of the particular user or of the way in which the particular user
584actually uses, or expects or is expected to use, the product.  A product
585is a consumer product regardless of whether the product has substantial
586commercial, industrial or non-consumer uses, unless such uses represent
587the only significant mode of use of the product.
588
589  "Installation Information" for a User Product means any methods,
590procedures, authorization keys, or other information required to install
591and execute modified versions of a covered work in that User Product from
592a modified version of its Corresponding Source.  The information must
593suffice to ensure that the continued functioning of the modified object
594code is in no case prevented or interfered with solely because
595modification has been made.
596
597  If you convey an object code work under this section in, or with, or
598specifically for use in, a User Product, and the conveying occurs as
599part of a transaction in which the right of possession and use of the
600User Product is transferred to the recipient in perpetuity or for a
601fixed term (regardless of how the transaction is characterized), the
602Corresponding Source conveyed under this section must be accompanied
603by the Installation Information.  But this requirement does not apply
604if neither you nor any third party retains the ability to install
605modified object code on the User Product (for example, the work has
606been installed in ROM).
607
608  The requirement to provide Installation Information does not include a
609requirement to continue to provide support service, warranty, or updates
610for a work that has been modified or installed by the recipient, or for
611the User Product in which it has been modified or installed.  Access to a
612network may be denied when the modification itself materially and
613adversely affects the operation of the network or violates the rules and
614protocols for communication across the network.
615
616  Corresponding Source conveyed, and Installation Information provided,
617in accord with this section must be in a format that is publicly
618documented (and with an implementation available to the public in
619source code form), and must require no special password or key for
620unpacking, reading or copying.
621
622  7. Additional Terms.
623
624  "Additional permissions" are terms that supplement the terms of this
625License by making exceptions from one or more of its conditions.
626Additional permissions that are applicable to the entire Program shall
627be treated as though they were included in this License, to the extent
628that they are valid under applicable law.  If additional permissions
629apply only to part of the Program, that part may be used separately
630under those permissions, but the entire Program remains governed by
631this License without regard to the additional permissions.
632
633  When you convey a copy of a covered work, you may at your option
634remove any additional permissions from that copy, or from any part of
635it.  (Additional permissions may be written to require their own
636removal in certain cases when you modify the work.)  You may place
637additional permissions on material, added by you to a covered work,
638for which you have or can give appropriate copyright permission.
639
640  Notwithstanding any other provision of this License, for material you
641add to a covered work, you may (if authorized by the copyright holders of
642that material) supplement the terms of this License with terms:
643
644    a) Disclaiming warranty or limiting liability differently from the
645    terms of sections 15 and 16 of this License; or
646
647    b) Requiring preservation of specified reasonable legal notices or
648    author attributions in that material or in the Appropriate Legal
649    Notices displayed by works containing it; or
650
651    c) Prohibiting misrepresentation of the origin of that material, or
652    requiring that modified versions of such material be marked in
653    reasonable ways as different from the original version; or
654
655    d) Limiting the use for publicity purposes of names of licensors or
656    authors of the material; or
657
658    e) Declining to grant rights under trademark law for use of some
659    trade names, trademarks, or service marks; or
660
661    f) Requiring indemnification of licensors and authors of that
662    material by anyone who conveys the material (or modified versions of
663    it) with contractual assumptions of liability to the recipient, for
664    any liability that these contractual assumptions directly impose on
665    those licensors and authors.
666
667  All other non-permissive additional terms are considered "further
668restrictions" within the meaning of section 10.  If the Program as you
669received it, or any part of it, contains a notice stating that it is
670governed by this License along with a term that is a further
671restriction, you may remove that term.  If a license document contains
672a further restriction but permits relicensing or conveying under this
673License, you may add to a covered work material governed by the terms
674of that license document, provided that the further restriction does
675not survive such relicensing or conveying.
676
677  If you add terms to a covered work in accord with this section, you
678must place, in the relevant source files, a statement of the
679additional terms that apply to those files, or a notice indicating
680where to find the applicable terms.
681
682  Additional terms, permissive or non-permissive, may be stated in the
683form of a separately written license, or stated as exceptions;
684the above requirements apply either way.
685
686  8. Termination.
687
688  You may not propagate or modify a covered work except as expressly
689provided under this License.  Any attempt otherwise to propagate or
690modify it is void, and will automatically terminate your rights under
691this License (including any patent licenses granted under the third
692paragraph of section 11).
693
694  However, if you cease all violation of this License, then your
695license from a particular copyright holder is reinstated (a)
696provisionally, unless and until the copyright holder explicitly and
697finally terminates your license, and (b) permanently, if the copyright
698holder fails to notify you of the violation by some reasonable means
699prior to 60 days after the cessation.
700
701  Moreover, your license from a particular copyright holder is
702reinstated permanently if the copyright holder notifies you of the
703violation by some reasonable means, this is the first time you have
704received notice of violation of this License (for any work) from that
705copyright holder, and you cure the violation prior to 30 days after
706your receipt of the notice.
707
708  Termination of your rights under this section does not terminate the
709licenses of parties who have received copies or rights from you under
710this License.  If your rights have been terminated and not permanently
711reinstated, you do not qualify to receive new licenses for the same
712material under section 10.
713
714  9. Acceptance Not Required for Having Copies.
715
716  You are not required to accept this License in order to receive or
717run a copy of the Program.  Ancillary propagation of a covered work
718occurring solely as a consequence of using peer-to-peer transmission
719to receive a copy likewise does not require acceptance.  However,
720nothing other than this License grants you permission to propagate or
721modify any covered work.  These actions infringe copyright if you do
722not accept this License.  Therefore, by modifying or propagating a
723covered work, you indicate your acceptance of this License to do so.
724
725  10. Automatic Licensing of Downstream Recipients.
726
727  Each time you convey a covered work, the recipient automatically
728receives a license from the original licensors, to run, modify and
729propagate that work, subject to this License.  You are not responsible
730for enforcing compliance by third parties with this License.
731
732  An "entity transaction" is a transaction transferring control of an
733organization, or substantially all assets of one, or subdividing an
734organization, or merging organizations.  If propagation of a covered
735work results from an entity transaction, each party to that
736transaction who receives a copy of the work also receives whatever
737licenses to the work the party's predecessor in interest had or could
738give under the previous paragraph, plus a right to possession of the
739Corresponding Source of the work from the predecessor in interest, if
740the predecessor has it or can get it with reasonable efforts.
741
742  You may not impose any further restrictions on the exercise of the
743rights granted or affirmed under this License.  For example, you may
744not impose a license fee, royalty, or other charge for exercise of
745rights granted under this License, and you may not initiate litigation
746(including a cross-claim or counterclaim in a lawsuit) alleging that
747any patent claim is infringed by making, using, selling, offering for
748sale, or importing the Program or any portion of it.
749
750  11. Patents.
751
752  A "contributor" is a copyright holder who authorizes use under this
753License of the Program or a work on which the Program is based.  The
754work thus licensed is called the contributor's "contributor version".
755
756  A contributor's "essential patent claims" are all patent claims
757owned or controlled by the contributor, whether already acquired or
758hereafter acquired, that would be infringed by some manner, permitted
759by this License, of making, using, or selling its contributor version,
760but do not include claims that would be infringed only as a
761consequence of further modification of the contributor version.  For
762purposes of this definition, "control" includes the right to grant
763patent sublicenses in a manner consistent with the requirements of
764this License.
765
766  Each contributor grants you a non-exclusive, worldwide, royalty-free
767patent license under the contributor's essential patent claims, to
768make, use, sell, offer for sale, import and otherwise run, modify and
769propagate the contents of its contributor version.
770
771  In the following three paragraphs, a "patent license" is any express
772agreement or commitment, however denominated, not to enforce a patent
773(such as an express permission to practice a patent or covenant not to
774sue for patent infringement).  To "grant" such a patent license to a
775party means to make such an agreement or commitment not to enforce a
776patent against the party.
777
778  If you convey a covered work, knowingly relying on a patent license,
779and the Corresponding Source of the work is not available for anyone
780to copy, free of charge and under the terms of this License, through a
781publicly available network server or other readily accessible means,
782then you must either (1) cause the Corresponding Source to be so
783available, or (2) arrange to deprive yourself of the benefit of the
784patent license for this particular work, or (3) arrange, in a manner
785consistent with the requirements of this License, to extend the patent
786license to downstream recipients.  "Knowingly relying" means you have
787actual knowledge that, but for the patent license, your conveying the
788covered work in a country, or your recipient's use of the covered work
789in a country, would infringe one or more identifiable patents in that
790country that you have reason to believe are valid.
791
792  If, pursuant to or in connection with a single transaction or
793arrangement, you convey, or propagate by procuring conveyance of, a
794covered work, and grant a patent license to some of the parties
795receiving the covered work authorizing them to use, propagate, modify
796or convey a specific copy of the covered work, then the patent license
797you grant is automatically extended to all recipients of the covered
798work and works based on it.
799
800  A patent license is "discriminatory" if it does not include within
801the scope of its coverage, prohibits the exercise of, or is
802conditioned on the non-exercise of one or more of the rights that are
803specifically granted under this License.  You may not convey a covered
804work if you are a party to an arrangement with a third party that is
805in the business of distributing software, under which you make payment
806to the third party based on the extent of your activity of conveying
807the work, and under which the third party grants, to any of the
808parties who would receive the covered work from you, a discriminatory
809patent license (a) in connection with copies of the covered work
810conveyed by you (or copies made from those copies), or (b) primarily
811for and in connection with specific products or compilations that
812contain the covered work, unless you entered into that arrangement,
813or that patent license was granted, prior to 28 March 2007.
814
815  Nothing in this License shall be construed as excluding or limiting
816any implied license or other defenses to infringement that may
817otherwise be available to you under applicable patent law.
818
819  12. No Surrender of Others' Freedom.
820
821  If conditions are imposed on you (whether by court order, agreement or
822otherwise) that contradict the conditions of this License, they do not
823excuse you from the conditions of this License.  If you cannot convey a
824covered work so as to satisfy simultaneously your obligations under this
825License and any other pertinent obligations, then as a consequence you may
826not convey it at all.  For example, if you agree to terms that obligate you
827to collect a royalty for further conveying from those to whom you convey
828the Program, the only way you could satisfy both those terms and this
829License would be to refrain entirely from conveying the Program.
830
831  13. Use with the GNU Affero General Public License.
832
833  Notwithstanding any other provision of this License, you have
834permission to link or combine any covered work with a work licensed
835under version 3 of the GNU Affero General Public License into a single
836combined work, and to convey the resulting work.  The terms of this
837License will continue to apply to the part which is the covered work,
838but the special requirements of the GNU Affero General Public License,
839section 13, concerning interaction through a network will apply to the
840combination as such.
841
842  14. Revised Versions of this License.
843
844  The Free Software Foundation may publish revised and/or new versions of
845the GNU General Public License from time to time.  Such new versions will
846be similar in spirit to the present version, but may differ in detail to
847address new problems or concerns.
848
849  Each version is given a distinguishing version number.  If the
850Program specifies that a certain numbered version of the GNU General
851Public License "or any later version" applies to it, you have the
852option of following the terms and conditions either of that numbered
853version or of any later version published by the Free Software
854Foundation.  If the Program does not specify a version number of the
855GNU General Public License, you may choose any version ever published
856by the Free Software Foundation.
857
858  If the Program specifies that a proxy can decide which future
859versions of the GNU General Public License can be used, that proxy's
860public statement of acceptance of a version permanently authorizes you
861to choose that version for the Program.
862
863  Later license versions may give you additional or different
864permissions.  However, no additional obligations are imposed on any
865author or copyright holder as a result of your choosing to follow a
866later version.
867
868  15. Disclaimer of Warranty.
869
870  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
871APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
872HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
873OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
874THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
875PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
876IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
877ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
878
879  16. Limitation of Liability.
880
881  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
882WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
883THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
884GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
885USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
886DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
887PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
888EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
889SUCH DAMAGES.
890
891  17. Interpretation of Sections 15 and 16.
892
893  If the disclaimer of warranty and limitation of liability provided
894above cannot be given local legal effect according to their terms,
895reviewing courts shall apply local law that most closely approximates
896an absolute waiver of all civil liability in connection with the
897Program, unless a warranty or assumption of liability accompanies a
898copy of the Program in return for a fee.
899