blob: 8681d131545358ebfdc025ef74300a8e0fe94ad1 [file] [log] [blame]
Paul Duffine2363012015-11-30 16:20:41 +00001COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.1
2
31. Definitions.
4
5 1.1. "Contributor" means each individual or entity that creates or
6 contributes to the creation of Modifications.
7
8 1.2. "Contributor Version" means the combination of the Original
9 Software, prior Modifications used by a Contributor (if any), and the
10 Modifications made by that particular Contributor.
11
12 1.3. "Covered Software" means (a) the Original Software, or (b)
13 Modifications, or (c) the combination of files containing Original
14 Software with files containing Modifications, in each case including
15 portions thereof.
16
17 1.4. "Executable" means the Covered Software in any form other than
18 Source Code.
19
20 1.5. "Initial Developer" means the individual or entity that first makes
21 Original Software available under this License.
22
23 1.6. "Larger Work" means a work which combines Covered Software or
24 portions thereof with code not governed by the terms of this License.
25
26 1.7. "License" means this document.
27
28 1.8. "Licensable" means having the right to grant, to the maximum extent
29 possible, whether at the time of the initial grant or subsequently
30 acquired, any and all of the rights conveyed herein.
31
32 1.9. "Modifications" means the Source Code and Executable form of any of
33 the following:
34
35 A. Any file that results from an addition to, deletion from or
36 modification of the contents of a file containing Original Software or
37 previous Modifications;
38
39 B. Any new file that contains any part of the Original Software or
40 previous Modification; or
41
42 C. Any new file that is contributed or otherwise made available under
43 the terms of this License.
44
45 1.10. "Original Software" means the Source Code and Executable form of
46 computer software code that is originally released under this License.
47
48 1.11. "Patent Claims" means any patent claim(s), now owned or hereafter
49 acquired, including without limitation, method, process, and apparatus
50 claims, in any patent Licensable by grantor.
51
52 1.12. "Source Code" means (a) the common form of computer software code
53 in which modifications are made and (b) associated documentation
54 included in or with such code.
55
56 1.13. "You" (or "Your") means an individual or a legal entity exercising
57 rights under, and complying with all of the terms of, this License. For
58 legal entities, "You" includes any entity which controls, is controlled
59 by, or is under common control with You. For purposes of this
60 definition, "control" means (a) the power, direct or indirect, to cause
61 the direction or management of such entity, whether by contract or
62 otherwise, or (b) ownership of more than fifty percent (50%) of the
63 outstanding shares or beneficial ownership of such entity.
64
652. License Grants.
66
67 2.1. The Initial Developer Grant.
68
69 Conditioned upon Your compliance with Section 3.1 below and subject to
70 third party intellectual property claims, the Initial Developer hereby
71 grants You a world-wide, royalty-free, non-exclusive license:
72
73 (a) under intellectual property rights (other than patent or trademark)
74 Licensable by Initial Developer, to use, reproduce, modify, display,
75 perform, sublicense and distribute the Original Software (or portions
76 thereof), with or without Modifications, and/or as part of a Larger
77 Work; and
78
79 (b) under Patent Claims infringed by the making, using or selling of
80 Original Software, to make, have made, use, practice, sell, and offer
81 for sale, and/or otherwise dispose of the Original Software (or portions
82 thereof).
83
84 (c) The licenses granted in Sections 2.1(a) and (b) are effective on the
85 date Initial Developer first distributes or otherwise makes the Original
86 Software available to a third party under the terms of this License.
87
88 (d) Notwithstanding Section 2.1(b) above, no patent license is granted:
89 (1) for code that You delete from the Original Software, or (2) for
90 infringements caused by: (i) the modification of the Original Software,
91 or (ii) the combination of the Original Software with other software or
92 devices.
93
94 2.2. Contributor Grant.
95
96 Conditioned upon Your compliance with Section 3.1 below and subject to
97 third party intellectual property claims, each Contributor hereby grants
98 You a world-wide, royalty-free, non-exclusive license:
99
100 (a) under intellectual property rights (other than patent or trademark)
101 Licensable by Contributor to use, reproduce, modify, display, perform,
102 sublicense and distribute the Modifications created by such Contributor
103 (or portions thereof), either on an unmodified basis, with other
104 Modifications, as Covered Software and/or as part of a Larger Work; and
105
106 (b) under Patent Claims infringed by the making, using, or selling of
107 Modifications made by that Contributor either alone and/or in
108 combination with its Contributor Version (or portions of such
109 combination), to make, use, sell, offer for sale, have made, and/or
110 otherwise dispose of: (1) Modifications made by that Contributor (or
111 portions thereof); and (2) the combination of Modifications made by that
112 Contributor with its Contributor Version (or portions of such
113 combination).
114
115 (c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on
116 the date Contributor first distributes or otherwise makes the
117 Modifications available to a third party.
118
119 (d) Notwithstanding Section 2.2(b) above, no patent license is granted:
120 (1) for any code that Contributor has deleted from the Contributor
121 Version; (2) for infringements caused by: (i) third party modifications
122 of Contributor Version, or (ii) the combination of Modifications made by
123 that Contributor with other software (except as part of the Contributor
124 Version) or other devices; or (3) under Patent Claims infringed by
125 Covered Software in the absence of Modifications made by that
126 Contributor.
127
1283. Distribution Obligations.
129
130 3.1. Availability of Source Code.
131
132 Any Covered Software that You distribute or otherwise make available in
133 Executable form must also be made available in Source Code form and that
134 Source Code form must be distributed only under the terms of this
135 License. You must include a copy of this License with every copy of the
136 Source Code form of the Covered Software You distribute or otherwise
137 make available. You must inform recipients of any such Covered Software
138 in Executable form as to how they can obtain such Covered Software in
139 Source Code form in a reasonable manner on or through a medium
140 customarily used for software exchange.
141
142 3.2. Modifications.
143
144 The Modifications that You create or to which You contribute are
145 governed by the terms of this License. You represent that You believe
146 Your Modifications are Your original creation(s) and/or You have
147 sufficient rights to grant the rights conveyed by this License.
148
149 3.3. Required Notices.
150
151 You must include a notice in each of Your Modifications that identifies
152 You as the Contributor of the Modification. You may not remove or alter
153 any copyright, patent or trademark notices contained within the Covered
154 Software, or any notices of licensing or any descriptive text giving
155 attribution to any Contributor or the Initial Developer.
156
157 3.4. Application of Additional Terms.
158
159 You may not offer or impose any terms on any Covered Software in Source
160 Code form that alters or restricts the applicable version of this
161 License or the recipients' rights hereunder. You may choose to offer,
162 and to charge a fee for, warranty, support, indemnity or liability
163 obligations to one or more recipients of Covered Software. However, you
164 may do so only on Your own behalf, and not on behalf of the Initial
165 Developer or any Contributor. You must make it absolutely clear that any
166 such warranty, support, indemnity or liability obligation is offered by
167 You alone, and You hereby agree to indemnify the Initial Developer and
168 every Contributor for any liability incurred by the Initial Developer or
169 such Contributor as a result of warranty, support, indemnity or
170 liability terms You offer.
171
172 3.5. Distribution of Executable Versions.
173
174 You may distribute the Executable form of the Covered Software under the
175 terms of this License or under the terms of a license of Your choice,
176 which may contain terms different from this License, provided that You
177 are in compliance with the terms of this License and that the license
178 for the Executable form does not attempt to limit or alter the
179 recipient's rights in the Source Code form from the rights set forth in
180 this License. If You distribute the Covered Software in Executable form
181 under a different license, You must make it absolutely clear that any
182 terms which differ from this License are offered by You alone, not by
183 the Initial Developer or Contributor. You hereby agree to indemnify the
184 Initial Developer and every Contributor for any liability incurred by
185 the Initial Developer or such Contributor as a result of any such terms
186 You offer.
187
188 3.6. Larger Works.
189
190 You may create a Larger Work by combining Covered Software with other
191 code not governed by the terms of this License and distribute the Larger
192 Work as a single product. In such a case, You must make sure the
193 requirements of this License are fulfilled for the Covered Software.
194
1954. Versions of the License.
196
197 4.1. New Versions.
198
199 Oracle is the initial license steward and may publish revised and/or new
200 versions of this License from time to time. Each version will be given a
201 distinguishing version number. Except as provided in Section 4.3, no one
202 other than the license steward has the right to modify this License.
203
204 4.2. Effect of New Versions.
205
206 You may always continue to use, distribute or otherwise make the Covered
207 Software available under the terms of the version of the License under
208 which You originally received the Covered Software. If the Initial
209 Developer includes a notice in the Original Software prohibiting it from
210 being distributed or otherwise made available under any subsequent
211 version of the License, You must distribute and make the Covered
212 Software available under the terms of the version of the License under
213 which You originally received the Covered Software. Otherwise, You may
214 also choose to use, distribute or otherwise make the Covered Software
215 available under the terms of any subsequent version of the License
216 published by the license steward.
217
218 4.3. Modified Versions.
219
220 When You are an Initial Developer and You want to create a new license
221 for Your Original Software, You may create and use a modified version of
222 this License if You: (a) rename the license and remove any references to
223 the name of the license steward (except to note that the license differs
224 from this License); and (b) otherwise make it clear that the license
225 contains terms which differ from this License.
226
2275. DISCLAIMER OF WARRANTY.
228
229 COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
230 WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
231 WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF
232 DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
233 THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED
234 SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY
235 RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME
236 THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS
237 DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO
238 USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS
239 DISCLAIMER.
240
2416. TERMINATION.
242
243 6.1. This License and the rights granted hereunder will terminate
244 automatically if You fail to comply with terms herein and fail to cure
245 such breach within 30 days of becoming aware of the breach. Provisions
246 which, by their nature, must remain in effect beyond the termination of
247 this License shall survive.
248
249 6.2. If You assert a patent infringement claim (excluding declaratory
250 judgment actions) against Initial Developer or a Contributor (the
251 Initial Developer or Contributor against whom You assert such claim is
252 referred to as "Participant") alleging that the Participant Software
253 (meaning the Contributor Version where the Participant is a Contributor
254 or the Original Software where the Participant is the Initial Developer)
255 directly or indirectly infringes any patent, then any and all rights
256 granted directly or indirectly to You by such Participant, the Initial
257 Developer (if the Initial Developer is not the Participant) and all
258 Contributors under Sections 2.1 and/or 2.2 of this License shall, upon
259 60 days notice from Participant terminate prospectively and
260 automatically at the expiration of such 60 day notice period, unless if
261 within such 60 day period You withdraw Your claim with respect to the
262 Participant Software against such Participant either unilaterally or
263 pursuant to a written agreement with Participant.
264
265 6.3. If You assert a patent infringement claim against Participant
266 alleging that the Participant Software directly or indirectly infringes
267 any patent where such claim is resolved (such as by license or
268 settlement) prior to the initiation of patent infringement litigation,
269 then the reasonable value of the licenses granted by such Participant
270 under Sections 2.1 or 2.2 shall be taken into account in determining the
271 amount or value of any payment or license.
272
273 6.4. In the event of termination under Sections 6.1 or 6.2 above, all
274 end user licenses that have been validly granted by You or any
275 distributor hereunder prior to termination (excluding licenses granted
276 to You by any distributor) shall survive termination.
277
2787. LIMITATION OF LIABILITY.
279
280 UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
281 (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
282 DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED
283 SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY
284 PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
285 OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF
286 GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL
287 OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
288 INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
289 LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
290 RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
291 PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION
292 OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION
293 AND LIMITATION MAY NOT APPLY TO YOU.
294
2958. U.S. GOVERNMENT END USERS.
296
297 The Covered Software is a "commercial item," as that term is defined in
298 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
299 software" (as that term is defined at 48 C.F.R. § 252.227-7014(a)(1))
300 and "commercial computer software documentation" as such terms are used
301 in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and
302 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government
303 End Users acquire Covered Software with only those rights set forth
304 herein. This U.S. Government Rights clause is in lieu of, and
305 supersedes, any other FAR, DFAR, or other clause or provision that
306 addresses Government rights in computer software under this License.
307
3089. MISCELLANEOUS.
309
310 This License represents the complete agreement concerning subject matter
311 hereof. If any provision of this License is held to be unenforceable,
312 such provision shall be reformed only to the extent necessary to make it
313 enforceable. This License shall be governed by the law of the
314 jurisdiction specified in a notice contained within the Original
315 Software (except to the extent applicable law, if any, provides
316 otherwise), excluding such jurisdiction's conflict-of-law provisions.
317 Any litigation relating to this License shall be subject to the
318 jurisdiction of the courts located in the jurisdiction and venue
319 specified in a notice contained within the Original Software, with the
320 losing party responsible for costs, including, without limitation, court
321 costs and reasonable attorneys' fees and expenses. The application of
322 the United Nations Convention on Contracts for the International Sale of
323 Goods is expressly excluded. Any law or regulation which provides that
324 the language of a contract shall be construed against the drafter shall
325 not apply to this License. You agree that You alone are responsible for
326 compliance with the United States export administration regulations (and
327 the export control laws and regulation of any other countries) when You
328 use, distribute or otherwise make available any Covered Software.
329
33010. RESPONSIBILITY FOR CLAIMS.
331
332 As between Initial Developer and the Contributors, each party is
333 responsible for claims and damages arising, directly or indirectly, out
334 of its utilization of rights under this License and You agree to work
335 with Initial Developer and Contributors to distribute such
336 responsibility on an equitable basis. Nothing herein is intended or
337 shall be deemed to constitute any admission of liability.
338
339NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION
340LICENSE (CDDL)
341
342The code released under the CDDL shall be governed by the laws of the
343State of California (excluding conflict-of-law provisions). Any
344litigation relating to this License shall be subject to the jurisdiction
345of the Federal Courts of the Northern District of California and the
346state courts of the State of California, with venue lying in Santa Clara
347County, California.
348
349
350
351
352The GNU General Public License (GPL) Version 2, June 1991
353
354Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place,
355Suite 330, Boston, MA 02111-1307 USA
356
357Everyone is permitted to copy and distribute verbatim copies of this
358license document, but changing it is not allowed.
359
360Preamble
361
362The licenses for most software are designed to take away your freedom to
363share and change it. By contrast, the GNU General Public License is
364intended to guarantee your freedom to share and change free software--to
365make sure the software is free for all its users. This General Public
366License applies to most of the Free Software Foundation's software and
367to any other program whose authors commit to using it. (Some other Free
368Software Foundation software is covered by the GNU Library General
369Public License instead.) You can apply it to your programs, too.
370
371When we speak of free software, we are referring to freedom, not price.
372Our General Public Licenses are designed to make sure that you have the
373freedom to distribute copies of free software (and charge for this
374service if you wish), that you receive source code or can get it if you
375want it, that you can change the software or use pieces of it in new
376free programs; and that you know you can do these things.
377
378To protect your rights, we need to make restrictions that forbid anyone
379to deny you these rights or to ask you to surrender the rights. These
380restrictions translate to certain responsibilities for you if you
381distribute copies of the software, or if you modify it.
382
383For example, if you distribute copies of such a program, whether gratis
384or for a fee, you must give the recipients all the rights that you have.
385You must make sure that they, too, receive or can get the source code.
386And you must show them these terms so they know their rights.
387
388We protect your rights with two steps: (1) copyright the software, and
389(2) offer you this license which gives you legal permission to copy,
390distribute and/or modify the software.
391
392Also, for each author's protection and ours, we want to make certain
393that everyone understands that there is no warranty for this free
394software. If the software is modified by someone else and passed on, we
395want its recipients to know that what they have is not the original, so
396that any problems introduced by others will not reflect on the original
397authors' reputations.
398
399Finally, any free program is threatened constantly by software patents.
400We wish to avoid the danger that redistributors of a free program will
401individually obtain patent licenses, in effect making the program
402proprietary. To prevent this, we have made it clear that any patent must
403be licensed for everyone's free use or not licensed at all.
404
405The precise terms and conditions for copying, distribution and
406modification follow.
407
408TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
409
4100. This License applies to any program or other work which contains a
411notice placed by the copyright holder saying it may be distributed under
412the terms of this General Public License. The "Program", below, refers
413to any such program or work, and a "work based on the Program" means
414either the Program or any derivative work under copyright law: that is
415to say, a work containing the Program or a portion of it, either
416verbatim or with modifications and/or translated into another language.
417(Hereinafter, translation is included without limitation in the term
418"modification".) Each licensee is addressed as "you".
419
420Activities other than copying, distribution and modification are not
421covered by this License; they are outside its scope. The act of running
422the Program is not restricted, and the output from the Program is
423covered only if its contents constitute a work based on the Program
424(independent of having been made by running the Program). Whether that
425is true depends on what the Program does.
426
4271. You may copy and distribute verbatim copies of the Program's source
428code as you receive it, in any medium, provided that you conspicuously
429and appropriately publish on each copy an appropriate copyright notice
430and disclaimer of warranty; keep intact all the notices that refer to
431this License and to the absence of any warranty; and give any other
432recipients of the Program a copy of this License along with the Program.
433
434You may charge a fee for the physical act of transferring a copy, and
435you may at your option offer warranty protection in exchange for a fee.
436
4372. You may modify your copy or copies of the Program or any portion of
438it, thus forming a work based on the Program, and copy and distribute
439such modifications or work under the terms of Section 1 above, provided
440that you also meet all of these conditions:
441
442 a) You must cause the modified files to carry prominent notices stating
443 that you changed the files and the date of any change.
444
445 b) You must cause any work that you distribute or publish, that in whole
446 or in part contains or is derived from the Program or any part thereof,
447 to be licensed as a whole at no charge to all third parties under the
448 terms of this License.
449
450 c) If the modified program normally reads commands interactively when
451 run, you must cause it, when started running for such interactive use in
452 the most ordinary way, to print or display an announcement including an
453 appropriate copyright notice and a notice that there is no warranty (or
454 else, saying that you provide a warranty) and that users may
455 redistribute the program under these conditions, and telling the user
456 how to view a copy of this License. (Exception: if the Program itself is
457 interactive but does not normally print such an announcement, your work
458 based on the Program is not required to print an announcement.)
459
460These requirements apply to the modified work as a whole. If
461identifiable sections of that work are not derived from the Program, and
462can be reasonably considered independent and separate works in
463themselves, then this License, and its terms, do not apply to those
464sections when you distribute them as separate works. But when you
465distribute the same sections as part of a whole which is a work based on
466the Program, the distribution of the whole must be on the terms of this
467License, whose permissions for other licensees extend to the entire
468whole, and thus to each and every part regardless of who wrote it.
469
470Thus, it is not the intent of this section to claim rights or contest
471your rights to work written entirely by you; rather, the intent is to
472exercise the right to control the distribution of derivative or
473collective works based on the Program.
474
475In addition, mere aggregation of another work not based on the Program
476with the Program (or with a work based on the Program) on a volume of a
477storage or distribution medium does not bring the other work under the
478scope of this License.
479
4803. You may copy and distribute the Program (or a work based on it, under
481Section 2) in object code or executable form under the terms of Sections
4821 and 2 above provided that you also do one of the following:
483
484 a) Accompany it with the complete corresponding machine-readable source
485 code, which must be distributed under the terms of Sections 1 and 2
486 above on a medium customarily used for software interchange; or,
487
488 b) Accompany it with a written offer, valid for at least three years, to
489 give any third party, for a charge no more than your cost of physically
490 performing source distribution, a complete machine-readable copy of the
491 corresponding source code, to be distributed under the terms of Sections
492 1 and 2 above on a medium customarily used for software interchange; or,
493
494 c) Accompany it with the information you received as to the offer to
495 distribute corresponding source code. (This alternative is allowed only
496 for noncommercial distribution and only if you received the program in
497 object code or executable form with such an offer, in accord with
498 Subsection b above.)
499
500The source code for a work means the preferred form of the work for
501making modifications to it. For an executable work, complete source code
502means all the source code for all modules it contains, plus any
503associated interface definition files, plus the scripts used to control
504compilation and installation of the executable. However, as a special
505exception, the source code distributed need not include anything that is
506normally distributed (in either source or binary form) with the major
507components (compiler, kernel, and so on) of the operating system on
508which the executable runs, unless that component itself accompanies the
509executable.
510
511If distribution of executable or object code is made by offering access
512to copy from a designated place, then offering equivalent access to copy
513the source code from the same place counts as distribution of the source
514code, even though third parties are not compelled to copy the source
515along with the object code.
516
5174. You may not copy, modify, sublicense, or distribute the Program
518except as expressly provided under this License. Any attempt otherwise
519to copy, modify, sublicense or distribute the Program is void, and will
520automatically terminate your rights under this License. However, parties
521who have received copies, or rights, from you under this License will
522not have their licenses terminated so long as such parties remain in
523full compliance.
524
5255. You are not required to accept this License, since you have not
526signed it. However, nothing else grants you permission to modify or
527distribute the Program or its derivative works. These actions are
528prohibited by law if you do not accept this License. Therefore, by
529modifying or distributing the Program (or any work based on the
530Program), you indicate your acceptance of this License to do so, and all
531its terms and conditions for copying, distributing or modifying the
532Program or works based on it.
533
5346. Each time you redistribute the Program (or any work based on the
535Program), the recipient automatically receives a license from the
536original licensor to copy, distribute or modify the Program subject to
537these terms and conditions. You may not impose any further restrictions
538on the recipients' exercise of the rights granted herein. You are not
539responsible for enforcing compliance by third parties to this License.
540
5417. If, as a consequence of a court judgment or allegation of patent
542infringement or for any other reason (not limited to patent issues),
543conditions are imposed on you (whether by court order, agreement or
544otherwise) that contradict the conditions of this License, they do not
545excuse you from the conditions of this License. If you cannot distribute
546so as to satisfy simultaneously your obligations under this License and
547any other pertinent obligations, then as a consequence you may not
548distribute the Program at all. For example, if a patent license would
549not permit royalty-free redistribution of the Program by all those who
550receive copies directly or indirectly through you, then the only way you
551could satisfy both it and this License would be to refrain entirely from
552distribution of the Program.
553
554If any portion of this section is held invalid or unenforceable under
555any particular circumstance, the balance of the section is intended to
556apply and the section as a whole is intended to apply in other
557circumstances.
558
559It is not the purpose of this section to induce you to infringe any
560patents or other property right claims or to contest validity of any
561such claims; this section has the sole purpose of protecting the
562integrity of the free software distribution system, which is implemented
563by public license practices. Many people have made generous
564contributions to the wide range of software distributed through that
565system in reliance on consistent application of that system; it is up to
566the author/donor to decide if he or she is willing to distribute
567software through any other system and a licensee cannot impose that
568choice.
569
570This section is intended to make thoroughly clear what is believed to be
571a consequence of the rest of this License.
572
5738. If the distribution and/or use of the Program is restricted in
574certain countries either by patents or by copyrighted interfaces, the
575original copyright holder who places the Program under this License may
576add an explicit geographical distribution limitation excluding those
577countries, so that distribution is permitted only in or among countries
578not thus excluded. In such case, this License incorporates the
579limitation as if written in the body of this License.
580
5819. The Free Software Foundation may publish revised and/or new versions
582of the General Public License from time to time. Such new versions will
583be similar in spirit to the present version, but may differ in detail to
584address new problems or concerns.
585
586Each version is given a distinguishing version number. If the Program
587specifies a version number of this License which applies to it and "any
588later version", you have the option of following the terms and
589conditions either of that version or of any later version published by
590the Free Software Foundation. If the Program does not specify a version
591number of this License, you may choose any version ever published by the
592Free Software Foundation.
593
59410. If you wish to incorporate parts of the Program into other free
595programs whose distribution conditions are different, write to the
596author to ask for permission. For software which is copyrighted by the
597Free Software Foundation, write to the Free Software Foundation; we
598sometimes make exceptions for this. Our decision will be guided by the
599two goals of preserving the free status of all derivatives of our free
600software and of promoting the sharing and reuse of software generally.
601
602NO WARRANTY
603
60411. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
605FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
606OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
607PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
608EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
609WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
610ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH
611YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
612NECESSARY SERVICING, REPAIR OR CORRECTION.
613
61412. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
615WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
616AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR
617DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
618DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM
619(INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
620INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF
621THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR
622OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
623
624END OF TERMS AND CONDITIONS
625
626How to Apply These Terms to Your New Programs
627
628If you develop a new program, and you want it to be of the greatest
629possible use to the public, the best way to achieve this is to make it
630free software which everyone can redistribute and change under these
631terms.
632
633To do so, attach the following notices to the program. It is safest to
634attach them to the start of each source file to most effectively convey
635the exclusion of warranty; and each file should have at least the
636"copyright" line and a pointer to where the full notice is found.
637
638 One line to give the program's name and a brief idea of what it does.
639 Copyright (C) <year> <name of author>
640
641 This program is free software; you can redistribute it and/or modify it
642 under the terms of the GNU General Public License as published by the
643 Free Software Foundation; either version 2 of the License, or (at your
644 option) any later version.
645
646 This program is distributed in the hope that it will be useful, but
647 WITHOUT ANY WARRANTY; without even the implied warranty of
648 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
649 Public License for more details.
650
651 You should have received a copy of the GNU General Public License along
652 with this program; if not, write to the Free Software Foundation, Inc.,
653 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
654
655Also add information on how to contact you by electronic and paper mail.
656
657If the program is interactive, make it output a short notice like this
658when it starts in an interactive mode:
659
660 Gnomovision version 69, Copyright (C) year name of author Gnomovision
661 comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is
662 free software, and you are welcome to redistribute it under certain
663 conditions; type `show c' for details.
664
665The hypothetical commands `show w' and `show c' should show the
666appropriate parts of the General Public License. Of course, the commands
667you use may be called something other than `show w' and `show c'; they
668could even be mouse-clicks or menu items--whatever suits your program.
669
670You should also get your employer (if you work as a programmer) or your
671school, if any, to sign a "copyright disclaimer" for the program, if
672necessary. Here is a sample; alter the names:
673
674 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
675 `Gnomovision' (which makes passes at compilers) written by James Hacker.
676
677 signature of Ty Coon, 1 April 1989
678 Ty Coon, President of Vice
679
680This General Public License does not permit incorporating your program
681into proprietary programs. If your program is a subroutine library, you
682may consider it more useful to permit linking proprietary applications
683with the library. If this is what you want to do, use the GNU Library
684General Public License instead of this License.
685
686#
687
688"CLASSPATH" EXCEPTION TO THE GPL VERSION 2
689
690Certain source files distributed by Oracle are subject to the following
691clarification and special exception to the GPL Version 2, but only where
692Oracle has expressly included in the particular source file's header the
693words "Oracle designates this particular file as subject to the
694"Classpath" exception as provided by Oracle in the License file that
695accompanied this code."
696
697Linking this library statically or dynamically with other modules is
698making a combined work based on this library. Thus, the terms and
699conditions of the GNU General Public License Version 2 cover the whole
700combination.
701
702As a special exception, the copyright holders of this library give you
703permission to link this library with independent modules to produce an
704executable, regardless of the license terms of these independent
705modules, and to copy and distribute the resulting executable under terms
706of your choice, provided that you also meet, for each linked independent
707module, the terms and conditions of the license of that module. An
708independent module is a module which is not derived from or based on
709this library. If you modify this library, you may extend this exception
710to your version of the library, but you are not obligated to do so. If
711you do not wish to do so, delete this exception statement from your
712version.