blob: 6270bcc3466fe94753b75be337f499a448280dfb [file] [log] [blame]
Edwin Kempin67215672014-10-08 13:36:19 +02001JRuby is Copyright (c) 2007-2014 The JRuby project, and is released
2under a tri EPL/GPL/LGPL license. You can use it, redistribute it
3and/or modify it under the terms of the:
4
5 Eclipse Public License version 1.0
6 GNU General Public License version 2
7 GNU Lesser General Public License version 2.1
8
9build_lib/bytelist.jar (http://github.com/jruby/bytelist),
10build_lib/yydebug.jar (http://svn.codehaus.org/jruby/trunk/jay/yydebug)
11are released under the same copyright/license.
12
13Some additional libraries distributed with JRuby are not covered by
14JRuby's licence. Most of these libraries and their licenses are listed
15below. Also see LICENSE.RUBY for most files found in lib/ruby/1.8,
16lib/ruby/1.9, and lib/ruby/site_ruby/1.8/rubygems*.
17
18 bench/rails/public/javascripts/* are distributed under the MIT
19 license, and have the following copyrights:
20
21 controls.js is Copyright:
22 (c) 2005-2008 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
23 (c) 2005-2007 Ivan Krstic (http://blogs.law.harvard.edu/ivan)
24 (c) 2005-2007 Jon Tirsen (http://www.tirsen.com)
25
26 dragdrop.js is Copyright:
27 (c) 2005-2008 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
28 (c) 2005-2007 Sammi Williams (http://www.oriontransfer.co.nz, sammi@oriontransfer.co.nz)
29
30 effect.js is Copyright (c) 2005-2008 Thomas Fuchs.
31
32 prototype.js is Copyright (c) 2005-2007 Sam Stephenson.
33
34 The "rake" library (http://rake.rubyforge.org/) is distributed under
35 the MIT license, and has the following copyright:
36
37 Copyright (c) 2003, 2004 Jim Weirich
38
39 build_lib/*asm*jar (http://asm.objectweb.org) are distributed under the BSD license.
40
41 build_lib/apt-mirror-api.jar, build_lib/bnd-0.0.249.jar,
42 build_lib/commons-logging-1.1.1.jar, build_lib/joda-time-1.6.2.jar,
43 BSF and ant are distributed under the Apache Software License,
44 Version 1.1 (license file inside the jars).
45
46 build_lib/jcodings.jar (http://github.com/jruby/jcodings) and
47 build_lib/joni.jar (http://github.com/jruby/joni) are distributed
48 under the MIT license.
49
50 build_lib/jnr-constants.jar (http://github.com/jnr/jnr-constants),
51 build_lib/jarjar-1.0rc8.jar (http://code.google.com/p/jarjar),
52 build_lib/joda-time-1.6.2.jar (http://joda-time.sourceforge.net),
53 build_lib/jffi*jar (https://github.com/jnr/jffi),
54 build_lib/jnr-ffi.jar (https://github.com/jnr/jnr-jffi),
55 build_lib/jnr-netdb.jar (http://github.com/jnr/jnr-netdb),
56 build_lib/dynalang-0.3.jar (http://dynalang.sourceforge.net),
57 build_lib/nailgun-0.7.1.jar and tool/nailgun/ng.exe
58 (http://martiansoftware.com/nailgun) are distributed under the
59 Apache License version 2.0.
60
61 build_lib/emma*jar (http://emma.sourceforge.net) and
62 build_lib/junit.jar (http://www.junit.org) are distributed under the
63 Common Public License v1.0.
64
65 build_lib/jline-* (http://jline.sourceforge.net) is distributed
66 under the following license:
67
68 Redistribution and use in source and binary forms, with or
69 without modification, are permitted provided that the following
70 conditions are met:
71
72 Redistributions of source code must retain the above copyright
73 notice, this list of conditions and the following disclaimer.
74
75 Redistributions in binary form must reproduce the above copyright
76 notice, this list of conditions and the following disclaimer
77 in the documentation and/or other materials provided with
78 the distribution.
79
80 Neither the name of JLine nor the names of its contributors
81 may be used to endorse or promote products derived from this
82 software without specific prior written permission.
83
84 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
85 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
86 BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
87 AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
88 EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
89 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
90 OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
91 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
92 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
93 AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
94 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
95 IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
96 OF THE POSSIBILITY OF SUCH DAMAGE.
97
98 build_lib/jsr292-mock.jar (http://code.google.com/p/jvm-language-runtime)
99 distributed under the LGPL license. It is only used as a compile-time mock
100 for Java 7-only features.
101
102 Bouncycastle is released under the MIT license, and is Copyright (c)
103 2000 - 2006 The Legion Of The Bouncy Castle.
104
105 The "yecht" library is Copyright (c) 2009-2011 Ola Bini, and released
106 under the MIT license.
107
108 The Rubinius API implementation in core/src/main/ruby/jruby/truffle/core/rubinius/api
109 and core/src/main/java/org/jruby/truffle/runtime/rubinius is copyright (c) 2011,
110 Evan Phoenix, and released under the 3-clause BSD license.
111
112 The Rubinius core library implementation in core/src/main/ruby/jruby/truffle/core/rubinius/kernel
113 is copyright (c) 2007-2014, Evan Phoenix and contributors, and released under
114 the 3-clause BSD license.
115
116The complete text of the Eclipse Public License is as follows:
117
118 Eclipse Public License - v 1.0
119
120 THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE
121 PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION
122 OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
123
124 1. DEFINITIONS
125
126 "Contribution" means:
127
128 a) in the case of the initial Contributor, the initial code and
129 documentation distributed under this Agreement, and
130
131 b) in the case of each subsequent Contributor:
132
133 i) changes to the Program, and
134
135 ii) additions to the Program;
136 where such changes and/or additions to the Program
137 originate from and are distributed by that particular
138 Contributor. A Contribution 'originates' from a
139 Contributor if it was added to the Program by such
140 Contributor itself or anyone acting on such
141 Contributor's behalf. Contributions do not include
142 additions to the Program which: (i) are separate modules
143 of software distributed in conjunction with the Program
144 under their own license agreement, and (ii) are not
145 derivative works of the Program.
146
147 "Contributor" means any person or entity that distributes the Program.
148
149 "Licensed Patents" mean patent claims licensable by a Contributor
150 which are necessarily infringed by the use or sale of its
151 Contribution alone or when combined with the Program.
152
153 "Program" means the Contributions distributed in accordance with
154 this Agreement.
155
156 "Recipient" means anyone who receives the Program under this
157 Agreement, including all Contributors.
158
159 2. GRANT OF RIGHTS
160
161 a) Subject to the terms of this Agreement, each Contributor
162 hereby grants Recipient a non-exclusive, worldwide,
163 royalty-free copyright license to reproduce, prepare
164 derivative works of, publicly display, publicly perform,
165 distribute and sublicense the Contribution of such
166 Contributor, if any, and such derivative works, in source
167 code and object code form.
168
169 b) Subject to the terms of this Agreement, each Contributor
170 hereby grants Recipient a non-exclusive, worldwide,
171 royalty-free patent license under Licensed Patents to make,
172 use, sell, offer to sell, import and otherwise transfer the
173 Contribution of such Contributor, if any, in source code and
174 object code form. This patent license shall apply to the
175 combination of the Contribution and the Program if, at the
176 time the Contribution is added by the Contributor, such
177 addition of the Contribution causes such combination to be
178 covered by the Licensed Patents. The patent license shall not
179 apply to any other combinations which include the
180 Contribution. No hardware per se is licensed hereunder.
181
182 c) Recipient understands that although each Contributor grants
183 the licenses to its Contributions set forth herein, no
184 assurances are provided by any Contributor that the Program
185 does not infringe the patent or other intellectual property
186 rights of any other entity. Each Contributor disclaims any
187 liability to Recipient for claims brought by any other entity
188 based on infringement of intellectual property rights or
189 otherwise. As a condition to exercising the rights and
190 licenses granted hereunder, each Recipient hereby assumes
191 sole responsibility to secure any other intellectual property
192 rights needed, if any. For example, if a third party patent
193 license is required to allow Recipient to distribute the
194 Program, it is Recipient's responsibility to acquire that
195 license before distributing the Program.
196
197 d) Each Contributor represents that to its knowledge it has
198 sufficient copyright rights in its Contribution, if any, to
199 grant the copyright license set forth in this Agreement.
200
201 3. REQUIREMENTS
202
203 A Contributor may choose to distribute the Program in object code
204 form under its own license agreement, provided that:
205
206 a) it complies with the terms and conditions of this Agreement; and
207
208 b) its license agreement:
209
210 i) effectively disclaims on behalf of all Contributors all
211 warranties and conditions, express and implied, including
212 warranties or conditions of title and non-infringement,
213 and implied warranties or conditions of merchantability
214 and fitness for a particular purpose;
215
216 ii) effectively excludes on behalf of all Contributors all
217 liability for damages, including direct, indirect,
218 special, incidental and consequential damages, such as
219 lost profits;
220
221 iii) states that any provisions which differ from this
222 Agreement are offered by that Contributor alone and not
223 by any other party; and
224
225 iv) states that source code for the Program is available
226 from such Contributor, and informs licensees how to
227 obtain it in a reasonable manner on or through a medium
228 customarily used for software exchange.
229
230 When the Program is made available in source code form:
231
232 a) it must be made available under this Agreement; and
233
234 b) a copy of this Agreement must be included with each copy of
235 the Program.
236
237 Contributors may not remove or alter any copyright notices contained
238 within the Program.
239
240 Each Contributor must identify itself as the originator of its
241 Contribution, if any, in a manner that reasonably allows subsequent
242 Recipients to identify the originator of the Contribution.
243
244 4. COMMERCIAL DISTRIBUTION
245
246 Commercial distributors of software may accept certain
247 responsibilities with respect to end users, business partners and
248 the like. While this license is intended to facilitate the
249 commercial use of the Program, the Contributor who includes the
250 Program in a commercial product offering should do so in a manner
251 which does not create potential liability for other Contributors.
252 Therefore, if a Contributor includes the Program in a commercial
253 product offering, such Contributor ("Commercial Contributor") hereby
254 agrees to defend and indemnify every other Contributor ("Indemnified
255 Contributor") against any losses, damages and costs (collectively
256 "Losses") arising from claims, lawsuits and other legal actions
257 brought by a third party against the Indemnified Contributor to the
258 extent caused by the acts or omissions of such Commercial
259 Contributor in connection with its distribution of the Program in a
260 commercial product offering. The obligations in this section do not
261 apply to any claims or Losses relating to any actual or alleged
262 intellectual property infringement. In order to qualify, an
263 Indemnified Contributor must: a) promptly notify the Commercial
264 Contributor in writing of such claim, and b) allow the Commercial
265 Contributor to control, and cooperate with the Commercial
266 Contributor in, the defense and any related settlement negotiations.
267 The Indemnified Contributor may participate in any such claim at its
268 own expense.
269
270 For example, a Contributor might include the Program in a commercial
271 product offering, Product X. That Contributor is then a Commercial
272 Contributor. If that Commercial Contributor then makes performance
273 claims, or offers warranties related to Product X, those performance
274 claims and warranties are such Commercial Contributor's
275 responsibility alone. Under this section, the Commercial Contributor
276 would have to defend claims against the other Contributors related
277 to those performance claims and warranties, and if a court requires
278 any other Contributor to pay any damages as a result, the Commercial
279 Contributor must pay those damages.
280
281 5. NO WARRANTY
282
283 EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS
284 PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
285 ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION,
286 ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
287 MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient
288 is solely responsible for determining the appropriateness of using
289 and distributing the Program and assumes all risks associated with
290 its exercise of rights under this Agreement , including but not
291 limited to the risks and costs of program errors, compliance with
292 applicable laws, damage to or loss of data, programs or equipment,
293 and unavailability or interruption of operations.
294
295 6. DISCLAIMER OF LIABILITY
296
297 EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
298 NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT,
299 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
300 (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON
301 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
302 TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
303 THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS
304 GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
305 DAMAGES.
306
307 7. GENERAL
308
309 If any provision of this Agreement is invalid or unenforceable under
310 applicable law, it shall not affect the validity or enforceability
311 of the remainder of the terms of this Agreement, and without further
312 action by the parties hereto, such provision shall be reformed to
313 the minimum extent necessary to make such provision valid and
314 enforceable.
315
316 If Recipient institutes patent litigation against any entity
317 (including a cross-claim or counterclaim in a lawsuit) alleging that
318 the Program itself (excluding combinations of the Program with other
319 software or hardware) infringes such Recipient's patent(s), then
320 such Recipient's rights granted under Section 2(b) shall terminate
321 as of the date such litigation is filed.
322
323 All Recipient's rights under this Agreement shall terminate if it
324 fails to comply with any of the material terms or conditions of this
325 Agreement and does not cure such failure in a reasonable period of
326 time after becoming aware of such noncompliance. If all Recipient's
327 rights under this Agreement terminate, Recipient agrees to cease use
328 and distribution of the Program as soon as reasonably practicable.
329 However, Recipient's obligations under this Agreement and any
330 licenses granted by Recipient relating to the Program shall continue
331 and survive.
332
333 Everyone is permitted to copy and distribute copies of this
334 Agreement, but in order to avoid inconsistency the Agreement is
335 copyrighted and may only be modified in the following manner. The
336 Agreement Steward reserves the right to publish new versions
337 (including revisions) of this Agreement from time to time. No one
338 other than the Agreement Steward has the right to modify this
339 Agreement. The Eclipse Foundation is the initial Agreement Steward.
340 The Eclipse Foundation may assign the responsibility to serve as the
341 Agreement Steward to a suitable separate entity. Each new version of
342 the Agreement will be given a distinguishing version number. The
343 Program (including Contributions) may always be distributed subject
344 to the version of the Agreement under which it was received. In
345 addition, after a new version of the Agreement is published,
346 Contributor may elect to distribute the Program (including its
347 Contributions) under the new version. Except as expressly stated in
348 Sections 2(a) and 2(b) above, Recipient receives no rights or
349 licenses to the intellectual property of any Contributor under this
350 Agreement, whether expressly, by implication, estoppel or otherwise.
351 All rights in the Program not expressly granted under this Agreement
352 are reserved.
353
354 This Agreement is governed by the laws of the State of New York and
355 the intellectual property laws of the United States of America. No
356 party to this Agreement will bring a legal action under this
357 Agreement more than one year after the cause of action arose. Each
358 party waives its rights to a jury trial in any resulting litigation.
359
360The complete text of the Common Public License is as follows:
361
362 Common Public License - v 1.0
363
364 THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON
365 PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF
366 THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
367
368 1. DEFINITIONS
369
370 "Contribution" means:
371
372 a) in the case of the initial Contributor, the initial code and
373 documentation distributed under this Agreement, and
374
375 b) in the case of each subsequent Contributor:
376
377 i) changes to the Program, and
378
379 ii) additions to the Program;
380
381 where such changes and/or additions to the Program originate
382 from and are distributed by that particular Contributor. A
383 Contribution 'originates' from a Contributor if it was added to the
384 Program by such Contributor itself or anyone acting on such
385 Contributor's behalf. Contributions do not include additions to the
386 Program which: (i) are separate modules of software distributed in
387 conjunction with the Program under their own license agreement,
388 and (ii) are not derivative works of the Program.
389
390 "Contributor" means any person or entity that distributes the Program.
391
392 "Licensed Patents " mean patent claims licensable by a Contributor
393 which are necessarily infringed by the use or sale of its Contribution
394 alone or when combined with the Program.
395
396 "Program" means the Contributions distributed in accordance with this Agreement.
397
398 "Recipient" means anyone who receives the Program under this
399 Agreement, including all Contributors.
400
401 2. GRANT OF RIGHTS
402
403 a) Subject to the terms of this Agreement, each Contributor
404 hereby grants Recipient a non-exclusive, worldwide, royalty-free
405 copyright license to reproduce, prepare derivative works of, publicly
406 display, publicly perform, distribute and sublicense the Contribution
407 of such Contributor, if any, and such derivative works, in source code
408 and object code form.
409
410 b) Subject to the terms of this Agreement, each Contributor
411 hereby grants Recipient a non-exclusive, worldwide, royalty-free
412 patent license under Licensed Patents to make, use, sell, offer to
413 sell, import and otherwise transfer the Contribution of such
414 Contributor, if any, in source code and object code form. This patent
415 license shall apply to the combination of the Contribution and the
416 Program if, at the time the Contribution is added by the Contributor,
417 such addition of the Contribution causes such combination to be
418 covered by the Licensed Patents. The patent license shall not apply to
419 any other combinations which include the Contribution. No hardware per
420 se is licensed hereunder.
421
422 c) Recipient understands that although each Contributor grants
423 the licenses to its Contributions set forth herein, no assurances are
424 provided by any Contributor that the Program does not infringe the
425 patent or other intellectual property rights of any other entity. Each
426 Contributor disclaims any liability to Recipient for claims brought by
427 any other entity based on infringement of intellectual property rights
428 or otherwise. As a condition to exercising the rights and licenses
429 granted hereunder, each Recipient hereby assumes sole responsibility
430 to secure any other intellectual property rights needed, if any. For
431 example, if a third party patent license is required to allow
432 Recipient to distribute the Program, it is Recipient's responsibility
433 to acquire that license before distributing the Program.
434
435 d) Each Contributor represents that to its knowledge it has
436 sufficient copyright rights in its Contribution, if any, to grant the
437 copyright license set forth in this Agreement.
438
439 3. REQUIREMENTS
440
441 A Contributor may choose to distribute the Program in object code form
442 under its own license agreement, provided that:
443
444 a) it complies with the terms and conditions of this Agreement;
445 and
446
447 b) its license agreement:
448
449 i) effectively disclaims on behalf of all Contributors all
450 warranties and conditions, express and implied, including warranties
451 or conditions of title and non-infringement, and implied warranties or
452 conditions of merchantability and fitness for a particular purpose;
453
454 ii) effectively excludes on behalf of all Contributors all
455 liability for damages, including direct, indirect, special, incidental
456 and consequential damages, such as lost profits;
457
458 iii) states that any provisions which differ from this Agreement
459 are offered by that Contributor alone and not by any other party; and
460
461 iv) states that source code for the Program is available from
462 such Contributor, and informs licensees how to obtain it in a
463 reasonable manner on or through a medium customarily used for software
464 exchange.
465
466 When the Program is made available in source code form:
467
468 a) it must be made available under this Agreement; and
469
470 b) a copy of this Agreement must be included with each copy of
471 the Program.
472
473 Contributors may not remove or alter any copyright notices contained
474 within the Program.
475
476 Each Contributor must identify itself as the originator of its
477 Contribution, if any, in a manner that reasonably allows subsequent
478 Recipients to identify the originator of the Contribution.
479
480 4. COMMERCIAL DISTRIBUTION
481
482 Commercial distributors of software may accept certain
483 responsibilities with respect to end users, business partners and the
484 like. While this license is intended to facilitate the commercial use
485 of the Program, the Contributor who includes the Program in a
486 commercial product offering should do so in a manner which does not
487 create potential liability for other Contributors. Therefore, if a
488 Contributor includes the Program in a commercial product offering,
489 such Contributor ("Commercial Contributor") hereby agrees to defend
490 and indemnify every other Contributor ("Indemnified Contributor")
491 against any losses, damages and costs (collectively "Losses") arising
492 from claims, lawsuits and other legal actions brought by a third party
493 against the Indemnified Contributor to the extent caused by the acts
494 or omissions of such Commercial Contributor in connection with its
495 distribution of the Program in a commercial product offering. The
496 obligations in this section do not apply to any claims or Losses
497 relating to any actual or alleged intellectual property
498 infringement. In order to qualify, an Indemnified Contributor must: a)
499 promptly notify the Commercial Contributor in writing of such claim,
500 and b) allow the Commercial Contributor to control, and cooperate with
501 the Commercial Contributor in, the defense and any related settlement
502 negotiations. The Indemnified Contributor may participate in any such
503 claim at its own expense.
504
505 For example, a Contributor might include the Program in a commercial
506 product offering, Product X. That Contributor is then a Commercial
507 Contributor. If that Commercial Contributor then makes performance
508 claims, or offers warranties related to Product X, those performance
509 claims and warranties are such Commercial Contributor's responsibility
510 alone. Under this section, the Commercial Contributor would have to
511 defend claims against the other Contributors related to those
512 performance claims and warranties, and if a court requires any other
513 Contributor to pay any damages as a result, the Commercial Contributor
514 must pay those damages.
515
516 5. NO WARRANTY
517
518 EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS
519 PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
520 KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY
521 WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
522 OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
523 responsible for determining the appropriateness of using and
524 distributing the Program and assumes all risks associated with its
525 exercise of rights under this Agreement, including but not limited to
526 the risks and costs of program errors, compliance with applicable
527 laws, damage to or loss of data, programs or equipment, and
528 unavailability or interruption of operations.
529
530 6. DISCLAIMER OF LIABILITY
531
532 EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR
533 ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,
534 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING
535 WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF
536 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
537 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR
538 DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
539 HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
540
541 7. GENERAL
542
543 If any provision of this Agreement is invalid or unenforceable under
544 applicable law, it shall not affect the validity or enforceability of
545 the remainder of the terms of this Agreement, and without further
546 action by the parties hereto, such provision shall be reformed to the
547 minimum extent necessary to make such provision valid and enforceable.
548
549 If Recipient institutes patent litigation against a Contributor with
550 respect to a patent applicable to software (including a cross-claim or
551 counterclaim in a lawsuit), then any patent licenses granted by that
552 Contributor to such Recipient under this Agreement shall terminate as
553 of the date such litigation is filed. In addition, if Recipient
554 institutes patent litigation against any entity (including a
555 cross-claim or counterclaim in a lawsuit) alleging that the Program
556 itself (excluding combinations of the Program with other software or
557 hardware) infringes such Recipient's patent(s), then such Recipient's
558 rights granted under Section 2(b) shall terminate as of the date such
559 litigation is filed.
560
561 All Recipient's rights under this Agreement shall terminate if it
562 fails to comply with any of the material terms or conditions of this
563 Agreement and does not cure such failure in a reasonable period of
564 time after becoming aware of such noncompliance. If all Recipient's
565 rights under this Agreement terminate, Recipient agrees to cease use
566 and distribution of the Program as soon as reasonably
567 practicable. However, Recipient's obligations under this Agreement and
568 any licenses granted by Recipient relating to the Program shall
569 continue and survive.
570
571 Everyone is permitted to copy and distribute copies of this Agreement,
572 but in order to avoid inconsistency the Agreement is copyrighted and
573 may only be modified in the following manner. The Agreement Steward
574 reserves the right to publish new versions (including revisions) of
575 this Agreement from time to time. No one other than the Agreement
576 Steward has the right to modify this Agreement. IBM is the initial
577 Agreement Steward. IBM may assign the responsibility to serve as the
578 Agreement Steward to a suitable separate entity. Each new version of
579 the Agreement will be given a distinguishing version number. The
580 Program (including Contributions) may always be distributed subject to
581 the version of the Agreement under which it was received. In addition,
582 after a new version of the Agreement is published, Contributor may
583 elect to distribute the Program (including its Contributions) under
584 the new version. Except as expressly stated in Sections 2(a) and 2(b)
585 above, Recipient receives no rights or licenses to the intellectual
586 property of any Contributor under this Agreement, whether expressly,
587 by implication, estoppel or otherwise. All rights in the Program not
588 expressly granted under this Agreement are reserved.
589
590 This Agreement is governed by the laws of the State of New York and
591 the intellectual property laws of the United States of America. No
592 party to this Agreement will bring a legal action under this Agreement
593 more than one year after the cause of action arose. Each party waives
594 its rights to a jury trial in any resulting litigation.
595
596The complete text of the GNU General Public License v2 is as follows:
597
598 GNU GENERAL PUBLIC LICENSE
599 Version 2, June 1991
600
601 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
602 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
603 Everyone is permitted to copy and distribute verbatim copies
604 of this license document, but changing it is not allowed.
605
606 Preamble
607
608 The licenses for most software are designed to take away your
609 freedom to share and change it. By contrast, the GNU General Public
610 License is intended to guarantee your freedom to share and change free
611 software--to make sure the software is free for all its users. This
612 General Public License applies to most of the Free Software
613 Foundation's software and to any other program whose authors commit to
614 using it. (Some other Free Software Foundation software is covered by
615 the GNU Library General Public License instead.) You can apply it to
616 your programs, too.
617
618 When we speak of free software, we are referring to freedom, not
619 price. Our General Public Licenses are designed to make sure that you
620 have the freedom to distribute copies of free software (and charge for
621 this service if you wish), that you receive source code or can get it
622 if you want it, that you can change the software or use pieces of it
623 in new free programs; and that you know you can do these things.
624
625 To protect your rights, we need to make restrictions that forbid
626 anyone to deny you these rights or to ask you to surrender the rights.
627 These restrictions translate to certain responsibilities for you if you
628 distribute copies of the software, or if you modify it.
629
630 For example, if you distribute copies of such a program, whether
631 gratis or for a fee, you must give the recipients all the rights that
632 you have. You must make sure that they, too, receive or can get the
633 source code. And you must show them these terms so they know their
634 rights.
635
636 We protect your rights with two steps: (1) copyright the software, and
637 (2) offer you this license which gives you legal permission to copy,
638 distribute and/or modify the software.
639
640 Also, for each author's protection and ours, we want to make certain
641 that everyone understands that there is no warranty for this free
642 software. If the software is modified by someone else and passed on, we
643 want its recipients to know that what they have is not the original, so
644 that any problems introduced by others will not reflect on the original
645 authors' reputations.
646
647 Finally, any free program is threatened constantly by software
648 patents. We wish to avoid the danger that redistributors of a free
649 program will individually obtain patent licenses, in effect making the
650 program proprietary. To prevent this, we have made it clear that any
651 patent must be licensed for everyone's free use or not licensed at all.
652
653 The precise terms and conditions for copying, distribution and
654 modification follow.
655
656 GNU GENERAL PUBLIC LICENSE
657 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
658
659 0. This License applies to any program or other work which contains
660 a notice placed by the copyright holder saying it may be distributed
661 under the terms of this General Public License. The "Program", below,
662 refers to any such program or work, and a "work based on the Program"
663 means either the Program or any derivative work under copyright law:
664 that is to say, a work containing the Program or a portion of it,
665 either verbatim or with modifications and/or translated into another
666 language. (Hereinafter, translation is included without limitation in
667 the term "modification".) Each licensee is addressed as "you".
668
669 Activities other than copying, distribution and modification are not
670 covered by this License; they are outside its scope. The act of
671 running the Program is not restricted, and the output from the Program
672 is covered only if its contents constitute a work based on the
673 Program (independent of having been made by running the Program).
674 Whether that is true depends on what the Program does.
675
676 1. You may copy and distribute verbatim copies of the Program's
677 source code as you receive it, in any medium, provided that you
678 conspicuously and appropriately publish on each copy an appropriate
679 copyright notice and disclaimer of warranty; keep intact all the
680 notices that refer to this License and to the absence of any warranty;
681 and give any other recipients of the Program a copy of this License
682 along with the Program.
683
684 You may charge a fee for the physical act of transferring a copy, and
685 you may at your option offer warranty protection in exchange for a fee.
686
687 2. You may modify your copy or copies of the Program or any portion
688 of it, thus forming a work based on the Program, and copy and
689 distribute such modifications or work under the terms of Section 1
690 above, provided that you also meet all of these conditions:
691
692 a) You must cause the modified files to carry prominent notices
693 stating that you changed the files and the date of any change.
694
695 b) You must cause any work that you distribute or publish, that in
696 whole or in part contains or is derived from the Program or any
697 part thereof, to be licensed as a whole at no charge to all third
698 parties under the terms of this License.
699
700 c) If the modified program normally reads commands interactively
701 when run, you must cause it, when started running for such
702 interactive use in the most ordinary way, to print or display an
703 announcement including an appropriate copyright notice and a
704 notice that there is no warranty (or else, saying that you provide
705 a warranty) and that users may redistribute the program under
706 these conditions, and telling the user how to view a copy of this
707 License. (Exception: if the Program itself is interactive but
708 does not normally print such an announcement, your work based on
709 the Program is not required to print an announcement.)
710
711 These requirements apply to the modified work as a whole. If
712 identifiable sections of that work are not derived from the Program,
713 and can be reasonably considered independent and separate works in
714 themselves, then this License, and its terms, do not apply to those
715 sections when you distribute them as separate works. But when you
716 distribute the same sections as part of a whole which is a work based
717 on the Program, the distribution of the whole must be on the terms of
718 this License, whose permissions for other licensees extend to the
719 entire whole, and thus to each and every part regardless of who wrote it.
720
721 Thus, it is not the intent of this section to claim rights or contest
722 your rights to work written entirely by you; rather, the intent is to
723 exercise the right to control the distribution of derivative or
724 collective works based on the Program.
725
726 In addition, mere aggregation of another work not based on the Program
727 with the Program (or with a work based on the Program) on a volume of
728 a storage or distribution medium does not bring the other work under
729 the scope of this License.
730
731 3. You may copy and distribute the Program (or a work based on it,
732 under Section 2) in object code or executable form under the terms of
733 Sections 1 and 2 above provided that you also do one of the following:
734
735 a) Accompany it with the complete corresponding machine-readable
736 source code, which must be distributed under the terms of Sections
737 1 and 2 above on a medium customarily used for software interchange; or,
738
739 b) Accompany it with a written offer, valid for at least three
740 years, to give any third party, for a charge no more than your
741 cost of physically performing source distribution, a complete
742 machine-readable copy of the corresponding source code, to be
743 distributed under the terms of Sections 1 and 2 above on a medium
744 customarily used for software interchange; or,
745
746 c) Accompany it with the information you received as to the offer
747 to distribute corresponding source code. (This alternative is
748 allowed only for noncommercial distribution and only if you
749 received the program in object code or executable form with such
750 an offer, in accord with Subsection b above.)
751
752 The source code for a work means the preferred form of the work for
753 making modifications to it. For an executable work, complete source
754 code means all the source code for all modules it contains, plus any
755 associated interface definition files, plus the scripts used to
756 control compilation and installation of the executable. However, as a
757 special exception, the source code distributed need not include
758 anything that is normally distributed (in either source or binary
759 form) with the major components (compiler, kernel, and so on) of the
760 operating system on which the executable runs, unless that component
761 itself accompanies the executable.
762
763 If distribution of executable or object code is made by offering
764 access to copy from a designated place, then offering equivalent
765 access to copy the source code from the same place counts as
766 distribution of the source code, even though third parties are not
767 compelled to copy the source along with the object code.
768
769 4. You may not copy, modify, sublicense, or distribute the Program
770 except as expressly provided under this License. Any attempt
771 otherwise to copy, modify, sublicense or distribute the Program is
772 void, and will automatically terminate your rights under this License.
773 However, parties who have received copies, or rights, from you under
774 this License will not have their licenses terminated so long as such
775 parties remain in full compliance.
776
777 5. You are not required to accept this License, since you have not
778 signed it. However, nothing else grants you permission to modify or
779 distribute the Program or its derivative works. These actions are
780 prohibited by law if you do not accept this License. Therefore, by
781 modifying or distributing the Program (or any work based on the
782 Program), you indicate your acceptance of this License to do so, and
783 all its terms and conditions for copying, distributing or modifying
784 the Program or works based on it.
785
786 6. Each time you redistribute the Program (or any work based on the
787 Program), the recipient automatically receives a license from the
788 original licensor to copy, distribute or modify the Program subject to
789 these terms and conditions. You may not impose any further
790 restrictions on the recipients' exercise of the rights granted herein.
791 You are not responsible for enforcing compliance by third parties to
792 this License.
793
794 7. If, as a consequence of a court judgment or allegation of patent
795 infringement or for any other reason (not limited to patent issues),
796 conditions are imposed on you (whether by court order, agreement or
797 otherwise) that contradict the conditions of this License, they do not
798 excuse you from the conditions of this License. If you cannot
799 distribute so as to satisfy simultaneously your obligations under this
800 License and any other pertinent obligations, then as a consequence you
801 may not distribute the Program at all. For example, if a patent
802 license would not permit royalty-free redistribution of the Program by
803 all those who receive copies directly or indirectly through you, then
804 the only way you could satisfy both it and this License would be to
805 refrain entirely from distribution of the Program.
806
807 If any portion of this section is held invalid or unenforceable under
808 any particular circumstance, the balance of the section is intended to
809 apply and the section as a whole is intended to apply in other
810 circumstances.
811
812 It is not the purpose of this section to induce you to infringe any
813 patents or other property right claims or to contest validity of any
814 such claims; this section has the sole purpose of protecting the
815 integrity of the free software distribution system, which is
816 implemented by public license practices. Many people have made
817 generous contributions to the wide range of software distributed
818 through that system in reliance on consistent application of that
819 system; it is up to the author/donor to decide if he or she is willing
820 to distribute software through any other system and a licensee cannot
821 impose that choice.
822
823 This section is intended to make thoroughly clear what is believed to
824 be a consequence of the rest of this License.
825
826 8. If the distribution and/or use of the Program is restricted in
827 certain countries either by patents or by copyrighted interfaces, the
828 original copyright holder who places the Program under this License
829 may add an explicit geographical distribution limitation excluding
830 those countries, so that distribution is permitted only in or among
831 countries not thus excluded. In such case, this License incorporates
832 the limitation as if written in the body of this License.
833
834 9. The Free Software Foundation may publish revised and/or new versions
835 of the General Public License from time to time. Such new versions will
836 be similar in spirit to the present version, but may differ in detail to
837 address new problems or concerns.
838
839 Each version is given a distinguishing version number. If the Program
840 specifies a version number of this License which applies to it and "any
841 later version", you have the option of following the terms and conditions
842 either of that version or of any later version published by the Free
843 Software Foundation. If the Program does not specify a version number of
844 this License, you may choose any version ever published by the Free Software
845 Foundation.
846
847 10. If you wish to incorporate parts of the Program into other free
848 programs whose distribution conditions are different, write to the author
849 to ask for permission. For software which is copyrighted by the Free
850 Software Foundation, write to the Free Software Foundation; we sometimes
851 make exceptions for this. Our decision will be guided by the two goals
852 of preserving the free status of all derivatives of our free software and
853 of promoting the sharing and reuse of software generally.
854
855 NO WARRANTY
856
857 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
858 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
859 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
860 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
861 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
862 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
863 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
864 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
865 REPAIR OR CORRECTION.
866
867 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
868 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
869 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
870 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
871 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
872 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
873 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
874 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
875 POSSIBILITY OF SUCH DAMAGES.
876
877 END OF TERMS AND CONDITIONS
878
879The complete text of the GNU Lesser General Public License 2.1 is as follows:
880
881 GNU LESSER GENERAL PUBLIC LICENSE
882 Version 2.1, February 1999
883
884 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
885 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
886 Everyone is permitted to copy and distribute verbatim copies
887 of this license document, but changing it is not allowed.
888
889 [This is the first released version of the Lesser GPL. It also counts
890 as the successor of the GNU Library Public License, version 2, hence
891 the version number 2.1.]
892
893 Preamble
894
895 The licenses for most software are designed to take away your
896 freedom to share and change it. By contrast, the GNU General Public
897 Licenses are intended to guarantee your freedom to share and change
898 free software--to make sure the software is free for all its users.
899
900 This license, the Lesser General Public License, applies to some
901 specially designated software packages--typically libraries--of the
902 Free Software Foundation and other authors who decide to use it. You
903 can use it too, but we suggest you first think carefully about whether
904 this license or the ordinary General Public License is the better
905 strategy to use in any particular case, based on the explanations below.
906
907 When we speak of free software, we are referring to freedom of use,
908 not price. Our General Public Licenses are designed to make sure that
909 you have the freedom to distribute copies of free software (and charge
910 for this service if you wish); that you receive source code or can get
911 it if you want it; that you can change the software and use pieces of
912 it in new free programs; and that you are informed that you can do
913 these things.
914
915 To protect your rights, we need to make restrictions that forbid
916 distributors to deny you these rights or to ask you to surrender these
917 rights. These restrictions translate to certain responsibilities for
918 you if you distribute copies of the library or if you modify it.
919
920 For example, if you distribute copies of the library, whether gratis
921 or for a fee, you must give the recipients all the rights that we gave
922 you. You must make sure that they, too, receive or can get the source
923 code. If you link other code with the library, you must provide
924 complete object files to the recipients, so that they can relink them
925 with the library after making changes to the library and recompiling
926 it. And you must show them these terms so they know their rights.
927
928 We protect your rights with a two-step method: (1) we copyright the
929 library, and (2) we offer you this license, which gives you legal
930 permission to copy, distribute and/or modify the library.
931
932 To protect each distributor, we want to make it very clear that
933 there is no warranty for the free library. Also, if the library is
934 modified by someone else and passed on, the recipients should know
935 that what they have is not the original version, so that the original
936 author's reputation will not be affected by problems that might be
937 introduced by others.
938
939 Finally, software patents pose a constant threat to the existence of
940 any free program. We wish to make sure that a company cannot
941 effectively restrict the users of a free program by obtaining a
942 restrictive license from a patent holder. Therefore, we insist that
943 any patent license obtained for a version of the library must be
944 consistent with the full freedom of use specified in this license.
945
946 Most GNU software, including some libraries, is covered by the
947 ordinary GNU General Public License. This license, the GNU Lesser
948 General Public License, applies to certain designated libraries, and
949 is quite different from the ordinary General Public License. We use
950 this license for certain libraries in order to permit linking those
951 libraries into non-free programs.
952
953 When a program is linked with a library, whether statically or using
954 a shared library, the combination of the two is legally speaking a
955 combined work, a derivative of the original library. The ordinary
956 General Public License therefore permits such linking only if the
957 entire combination fits its criteria of freedom. The Lesser General
958 Public License permits more lax criteria for linking other code with
959 the library.
960
961 We call this license the "Lesser" General Public License because it
962 does Less to protect the user's freedom than the ordinary General
963 Public License. It also provides other free software developers Less
964 of an advantage over competing non-free programs. These disadvantages
965 are the reason we use the ordinary General Public License for many
966 libraries. However, the Lesser license provides advantages in certain
967 special circumstances.
968
969 For example, on rare occasions, there may be a special need to
970 encourage the widest possible use of a certain library, so that it becomes
971 a de-facto standard. To achieve this, non-free programs must be
972 allowed to use the library. A more frequent case is that a free
973 library does the same job as widely used non-free libraries. In this
974 case, there is little to gain by limiting the free library to free
975 software only, so we use the Lesser General Public License.
976
977 In other cases, permission to use a particular library in non-free
978 programs enables a greater number of people to use a large body of
979 free software. For example, permission to use the GNU C Library in
980 non-free programs enables many more people to use the whole GNU
981 operating system, as well as its variant, the GNU/Linux operating
982 system.
983
984 Although the Lesser General Public License is Less protective of the
985 users' freedom, it does ensure that the user of a program that is
986 linked with the Library has the freedom and the wherewithal to run
987 that program using a modified version of the Library.
988
989 The precise terms and conditions for copying, distribution and
990 modification follow. Pay close attention to the difference between a
991 "work based on the library" and a "work that uses the library". The
992 former contains code derived from the library, whereas the latter must
993 be combined with the library in order to run.
994
995 GNU LESSER GENERAL PUBLIC LICENSE
996 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
997
998 0. This License Agreement applies to any software library or other
999 program which contains a notice placed by the copyright holder or
1000 other authorized party saying it may be distributed under the terms of
1001 this Lesser General Public License (also called "this License").
1002 Each licensee is addressed as "you".
1003
1004 A "library" means a collection of software functions and/or data
1005 prepared so as to be conveniently linked with application programs
1006 (which use some of those functions and data) to form executables.
1007
1008 The "Library", below, refers to any such software library or work
1009 which has been distributed under these terms. A "work based on the
1010 Library" means either the Library or any derivative work under
1011 copyright law: that is to say, a work containing the Library or a
1012 portion of it, either verbatim or with modifications and/or translated
1013 straightforwardly into another language. (Hereinafter, translation is
1014 included without limitation in the term "modification".)
1015
1016 "Source code" for a work means the preferred form of the work for
1017 making modifications to it. For a library, complete source code means
1018 all the source code for all modules it contains, plus any associated
1019 interface definition files, plus the scripts used to control compilation
1020 and installation of the library.
1021
1022 Activities other than copying, distribution and modification are not
1023 covered by this License; they are outside its scope. The act of
1024 running a program using the Library is not restricted, and output from
1025 such a program is covered only if its contents constitute a work based
1026 on the Library (independent of the use of the Library in a tool for
1027 writing it). Whether that is true depends on what the Library does
1028 and what the program that uses the Library does.
1029
1030 1. You may copy and distribute verbatim copies of the Library's
1031 complete source code as you receive it, in any medium, provided that
1032 you conspicuously and appropriately publish on each copy an
1033 appropriate copyright notice and disclaimer of warranty; keep intact
1034 all the notices that refer to this License and to the absence of any
1035 warranty; and distribute a copy of this License along with the
1036 Library.
1037
1038 You may charge a fee for the physical act of transferring a copy,
1039 and you may at your option offer warranty protection in exchange for a
1040 fee.
1041
1042 2. You may modify your copy or copies of the Library or any portion
1043 of it, thus forming a work based on the Library, and copy and
1044 distribute such modifications or work under the terms of Section 1
1045 above, provided that you also meet all of these conditions:
1046
1047 a) The modified work must itself be a software library.
1048
1049 b) You must cause the files modified to carry prominent notices
1050 stating that you changed the files and the date of any change.
1051
1052 c) You must cause the whole of the work to be licensed at no
1053 charge to all third parties under the terms of this License.
1054
1055 d) If a facility in the modified Library refers to a function or a
1056 table of data to be supplied by an application program that uses
1057 the facility, other than as an argument passed when the facility
1058 is invoked, then you must make a good faith effort to ensure that,
1059 in the event an application does not supply such function or
1060 table, the facility still operates, and performs whatever part of
1061 its purpose remains meaningful.
1062
1063 (For example, a function in a library to compute square roots has
1064 a purpose that is entirely well-defined independent of the
1065 application. Therefore, Subsection 2d requires that any
1066 application-supplied function or table used by this function must
1067 be optional: if the application does not supply it, the square
1068 root function must still compute square roots.)
1069
1070 These requirements apply to the modified work as a whole. If
1071 identifiable sections of that work are not derived from the Library,
1072 and can be reasonably considered independent and separate works in
1073 themselves, then this License, and its terms, do not apply to those
1074 sections when you distribute them as separate works. But when you
1075 distribute the same sections as part of a whole which is a work based
1076 on the Library, the distribution of the whole must be on the terms of
1077 this License, whose permissions for other licensees extend to the
1078 entire whole, and thus to each and every part regardless of who wrote
1079 it.
1080
1081 Thus, it is not the intent of this section to claim rights or contest
1082 your rights to work written entirely by you; rather, the intent is to
1083 exercise the right to control the distribution of derivative or
1084 collective works based on the Library.
1085
1086 In addition, mere aggregation of another work not based on the Library
1087 with the Library (or with a work based on the Library) on a volume of
1088 a storage or distribution medium does not bring the other work under
1089 the scope of this License.
1090
1091 3. You may opt to apply the terms of the ordinary GNU General Public
1092 License instead of this License to a given copy of the Library. To do
1093 this, you must alter all the notices that refer to this License, so
1094 that they refer to the ordinary GNU General Public License, version 2,
1095 instead of to this License. (If a newer version than version 2 of the
1096 ordinary GNU General Public License has appeared, then you can specify
1097 that version instead if you wish.) Do not make any other change in
1098 these notices.
1099
1100 Once this change is made in a given copy, it is irreversible for
1101 that copy, so the ordinary GNU General Public License applies to all
1102 subsequent copies and derivative works made from that copy.
1103
1104 This option is useful when you wish to copy part of the code of
1105 the Library into a program that is not a library.
1106
1107 4. You may copy and distribute the Library (or a portion or
1108 derivative of it, under Section 2) in object code or executable form
1109 under the terms of Sections 1 and 2 above provided that you accompany
1110 it with the complete corresponding machine-readable source code, which
1111 must be distributed under the terms of Sections 1 and 2 above on a
1112 medium customarily used for software interchange.
1113
1114 If distribution of object code is made by offering access to copy
1115 from a designated place, then offering equivalent access to copy the
1116 source code from the same place satisfies the requirement to
1117 distribute the source code, even though third parties are not
1118 compelled to copy the source along with the object code.
1119
1120 5. A program that contains no derivative of any portion of the
1121 Library, but is designed to work with the Library by being compiled or
1122 linked with it, is called a "work that uses the Library". Such a
1123 work, in isolation, is not a derivative work of the Library, and
1124 therefore falls outside the scope of this License.
1125
1126 However, linking a "work that uses the Library" with the Library
1127 creates an executable that is a derivative of the Library (because it
1128 contains portions of the Library), rather than a "work that uses the
1129 library". The executable is therefore covered by this License.
1130 Section 6 states terms for distribution of such executables.
1131
1132 When a "work that uses the Library" uses material from a header file
1133 that is part of the Library, the object code for the work may be a
1134 derivative work of the Library even though the source code is not.
1135 Whether this is true is especially significant if the work can be
1136 linked without the Library, or if the work is itself a library. The
1137 threshold for this to be true is not precisely defined by law.
1138
1139 If such an object file uses only numerical parameters, data
1140 structure layouts and accessors, and small macros and small inline
1141 functions (ten lines or less in length), then the use of the object
1142 file is unrestricted, regardless of whether it is legally a derivative
1143 work. (Executables containing this object code plus portions of the
1144 Library will still fall under Section 6.)
1145
1146 Otherwise, if the work is a derivative of the Library, you may
1147 distribute the object code for the work under the terms of Section 6.
1148 Any executables containing that work also fall under Section 6,
1149 whether or not they are linked directly with the Library itself.
1150
1151 6. As an exception to the Sections above, you may also combine or
1152 link a "work that uses the Library" with the Library to produce a
1153 work containing portions of the Library, and distribute that work
1154 under terms of your choice, provided that the terms permit
1155 modification of the work for the customer's own use and reverse
1156 engineering for debugging such modifications.
1157
1158 You must give prominent notice with each copy of the work that the
1159 Library is used in it and that the Library and its use are covered by
1160 this License. You must supply a copy of this License. If the work
1161 during execution displays copyright notices, you must include the
1162 copyright notice for the Library among them, as well as a reference
1163 directing the user to the copy of this License. Also, you must do one
1164 of these things:
1165
1166 a) Accompany the work with the complete corresponding
1167 machine-readable source code for the Library including whatever
1168 changes were used in the work (which must be distributed under
1169 Sections 1 and 2 above); and, if the work is an executable linked
1170 with the Library, with the complete machine-readable "work that
1171 uses the Library", as object code and/or source code, so that the
1172 user can modify the Library and then relink to produce a modified
1173 executable containing the modified Library. (It is understood
1174 that the user who changes the contents of definitions files in the
1175 Library will not necessarily be able to recompile the application
1176 to use the modified definitions.)
1177
1178 b) Use a suitable shared library mechanism for linking with the
1179 Library. A suitable mechanism is one that (1) uses at run time a
1180 copy of the library already present on the user's computer system,
1181 rather than copying library functions into the executable, and (2)
1182 will operate properly with a modified version of the library, if
1183 the user installs one, as long as the modified version is
1184 interface-compatible with the version that the work was made with.
1185
1186 c) Accompany the work with a written offer, valid for at
1187 least three years, to give the same user the materials
1188 specified in Subsection 6a, above, for a charge no more
1189 than the cost of performing this distribution.
1190
1191 d) If distribution of the work is made by offering access to copy
1192 from a designated place, offer equivalent access to copy the above
1193 specified materials from the same place.
1194
1195 e) Verify that the user has already received a copy of these
1196 materials or that you have already sent this user a copy.
1197
1198 For an executable, the required form of the "work that uses the
1199 Library" must include any data and utility programs needed for
1200 reproducing the executable from it. However, as a special exception,
1201 the materials to be distributed need not include anything that is
1202 normally distributed (in either source or binary form) with the major
1203 components (compiler, kernel, and so on) of the operating system on
1204 which the executable runs, unless that component itself accompanies
1205 the executable.
1206
1207 It may happen that this requirement contradicts the license
1208 restrictions of other proprietary libraries that do not normally
1209 accompany the operating system. Such a contradiction means you cannot
1210 use both them and the Library together in an executable that you
1211 distribute.
1212
1213 7. You may place library facilities that are a work based on the
1214 Library side-by-side in a single library together with other library
1215 facilities not covered by this License, and distribute such a combined
1216 library, provided that the separate distribution of the work based on
1217 the Library and of the other library facilities is otherwise
1218 permitted, and provided that you do these two things:
1219
1220 a) Accompany the combined library with a copy of the same work
1221 based on the Library, uncombined with any other library
1222 facilities. This must be distributed under the terms of the
1223 Sections above.
1224
1225 b) Give prominent notice with the combined library of the fact
1226 that part of it is a work based on the Library, and explaining
1227 where to find the accompanying uncombined form of the same work.
1228
1229 8. You may not copy, modify, sublicense, link with, or distribute
1230 the Library except as expressly provided under this License. Any
1231 attempt otherwise to copy, modify, sublicense, link with, or
1232 distribute the Library is void, and will automatically terminate your
1233 rights under this License. However, parties who have received copies,
1234 or rights, from you under this License will not have their licenses
1235 terminated so long as such parties remain in full compliance.
1236
1237 9. You are not required to accept this License, since you have not
1238 signed it. However, nothing else grants you permission to modify or
1239 distribute the Library or its derivative works. These actions are
1240 prohibited by law if you do not accept this License. Therefore, by
1241 modifying or distributing the Library (or any work based on the
1242 Library), you indicate your acceptance of this License to do so, and
1243 all its terms and conditions for copying, distributing or modifying
1244 the Library or works based on it.
1245
1246 10. Each time you redistribute the Library (or any work based on the
1247 Library), the recipient automatically receives a license from the
1248 original licensor to copy, distribute, link with or modify the Library
1249 subject to these terms and conditions. You may not impose any further
1250 restrictions on the recipients' exercise of the rights granted herein.
1251 You are not responsible for enforcing compliance by third parties with
1252 this License.
1253
1254 11. If, as a consequence of a court judgment or allegation of patent
1255 infringement or for any other reason (not limited to patent issues),
1256 conditions are imposed on you (whether by court order, agreement or
1257 otherwise) that contradict the conditions of this License, they do not
1258 excuse you from the conditions of this License. If you cannot
1259 distribute so as to satisfy simultaneously your obligations under this
1260 License and any other pertinent obligations, then as a consequence you
1261 may not distribute the Library at all. For example, if a patent
1262 license would not permit royalty-free redistribution of the Library by
1263 all those who receive copies directly or indirectly through you, then
1264 the only way you could satisfy both it and this License would be to
1265 refrain entirely from distribution of the Library.
1266
1267 If any portion of this section is held invalid or unenforceable under any
1268 particular circumstance, the balance of the section is intended to apply,
1269 and the section as a whole is intended to apply in other circumstances.
1270
1271 It is not the purpose of this section to induce you to infringe any
1272 patents or other property right claims or to contest validity of any
1273 such claims; this section has the sole purpose of protecting the
1274 integrity of the free software distribution system which is
1275 implemented by public license practices. Many people have made
1276 generous contributions to the wide range of software distributed
1277 through that system in reliance on consistent application of that
1278 system; it is up to the author/donor to decide if he or she is willing
1279 to distribute software through any other system and a licensee cannot
1280 impose that choice.
1281
1282 This section is intended to make thoroughly clear what is believed to
1283 be a consequence of the rest of this License.
1284
1285 12. If the distribution and/or use of the Library is restricted in
1286 certain countries either by patents or by copyrighted interfaces, the
1287 original copyright holder who places the Library under this License may add
1288 an explicit geographical distribution limitation excluding those countries,
1289 so that distribution is permitted only in or among countries not thus
1290 excluded. In such case, this License incorporates the limitation as if
1291 written in the body of this License.
1292
1293 13. The Free Software Foundation may publish revised and/or new
1294 versions of the Lesser General Public License from time to time.
1295 Such new versions will be similar in spirit to the present version,
1296 but may differ in detail to address new problems or concerns.
1297
1298 Each version is given a distinguishing version number. If the Library
1299 specifies a version number of this License which applies to it and
1300 "any later version", you have the option of following the terms and
1301 conditions either of that version or of any later version published by
1302 the Free Software Foundation. If the Library does not specify a
1303 license version number, you may choose any version ever published by
1304 the Free Software Foundation.
1305
1306 14. If you wish to incorporate parts of the Library into other free
1307 programs whose distribution conditions are incompatible with these,
1308 write to the author to ask for permission. For software which is
1309 copyrighted by the Free Software Foundation, write to the Free
1310 Software Foundation; we sometimes make exceptions for this. Our
1311 decision will be guided by the two goals of preserving the free status
1312 of all derivatives of our free software and of promoting the sharing
1313 and reuse of software generally.
1314
1315 NO WARRANTY
1316
1317 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
1318 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
1319 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
1320 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
1321 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
1322 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1323 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
1324 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
1325 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
1326
1327 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
1328 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
1329 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
1330 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
1331 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
1332 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
1333 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
1334 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
1335 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
1336 DAMAGES.
1337
1338 END OF TERMS AND CONDITIONS
1339
1340 How to Apply These Terms to Your New Libraries
1341
1342 If you develop a new library, and you want it to be of the greatest
1343 possible use to the public, we recommend making it free software that
1344 everyone can redistribute and change. You can do so by permitting
1345 redistribution under these terms (or, alternatively, under the terms of the
1346 ordinary General Public License).
1347
1348 To apply these terms, attach the following notices to the library. It is
1349 safest to attach them to the start of each source file to most effectively
1350 convey the exclusion of warranty; and each file should have at least the
1351 "copyright" line and a pointer to where the full notice is found.
1352
1353 <one line to give the library's name and a brief idea of what it does.>
1354 Copyright (C) <year> <name of author>
1355
1356 This library is free software; you can redistribute it and/or
1357 modify it under the terms of the GNU Lesser General Public
1358 License as published by the Free Software Foundation; either
1359 version 2.1 of the License, or (at your option) any later version.
1360
1361 This library is distributed in the hope that it will be useful,
1362 but WITHOUT ANY WARRANTY; without even the implied warranty of
1363 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1364 Lesser General Public License for more details.
1365
1366 You should have received a copy of the GNU Lesser General Public
1367 License along with this library; if not, write to the Free Software
1368 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1369
1370 Also add information on how to contact you by electronic and paper mail.
1371
1372 You should also get your employer (if you work as a programmer) or your
1373 school, if any, to sign a "copyright disclaimer" for the library, if
1374 necessary. Here is a sample; alter the names:
1375
1376 Yoyodyne, Inc., hereby disclaims all copyright interest in the
1377 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
1378
1379 <signature of Ty Coon>, 1 April 1990
1380 Ty Coon, President of Vice
1381
1382 That's all there is to it!
1383
1384The following licenses cover code other than JRuby which is included with JRuby.
1385
1386Licenses listed below include:
1387
1388* GNU General Public License version 3
1389* Apache 2.0 License
1390* BSD License
1391* Apache Software License Version 1.1
1392* MIT License
1393
1394The complete text of the GNU General Public License version 3 is as follows:
1395
1396 GNU GENERAL PUBLIC LICENSE
1397 Version 3, 29 June 2007
1398
1399 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
1400 Everyone is permitted to copy and distribute verbatim copies
1401 of this license document, but changing it is not allowed.
1402
1403 Preamble
1404
1405 The GNU General Public License is a free, copyleft license for
1406 software and other kinds of works.
1407
1408 The licenses for most software and other practical works are designed
1409 to take away your freedom to share and change the works. By contrast,
1410 the GNU General Public License is intended to guarantee your freedom to
1411 share and change all versions of a program--to make sure it remains free
1412 software for all its users. We, the Free Software Foundation, use the
1413 GNU General Public License for most of our software; it applies also to
1414 any other work released this way by its authors. You can apply it to
1415 your programs, too.
1416
1417 When we speak of free software, we are referring to freedom, not
1418 price. Our General Public Licenses are designed to make sure that you
1419 have the freedom to distribute copies of free software (and charge for
1420 them if you wish), that you receive source code or can get it if you
1421 want it, that you can change the software or use pieces of it in new
1422 free programs, and that you know you can do these things.
1423
1424 To protect your rights, we need to prevent others from denying you
1425 these rights or asking you to surrender the rights. Therefore, you have
1426 certain responsibilities if you distribute copies of the software, or if
1427 you modify it: responsibilities to respect the freedom of others.
1428
1429 For example, if you distribute copies of such a program, whether
1430 gratis or for a fee, you must pass on to the recipients the same
1431 freedoms that you received. You must make sure that they, too, receive
1432 or can get the source code. And you must show them these terms so they
1433 know their rights.
1434
1435 Developers that use the GNU GPL protect your rights with two steps:
1436 (1) assert copyright on the software, and (2) offer you this License
1437 giving you legal permission to copy, distribute and/or modify it.
1438
1439 For the developers' and authors' protection, the GPL clearly explains
1440 that there is no warranty for this free software. For both users' and
1441 authors' sake, the GPL requires that modified versions be marked as
1442 changed, so that their problems will not be attributed erroneously to
1443 authors of previous versions.
1444
1445 Some devices are designed to deny users access to install or run
1446 modified versions of the software inside them, although the manufacturer
1447 can do so. This is fundamentally incompatible with the aim of
1448 protecting users' freedom to change the software. The systematic
1449 pattern of such abuse occurs in the area of products for individuals to
1450 use, which is precisely where it is most unacceptable. Therefore, we
1451 have designed this version of the GPL to prohibit the practice for those
1452 products. If such problems arise substantially in other domains, we
1453 stand ready to extend this provision to those domains in future versions
1454 of the GPL, as needed to protect the freedom of users.
1455
1456 Finally, every program is threatened constantly by software patents.
1457 States should not allow patents to restrict development and use of
1458 software on general-purpose computers, but in those that do, we wish to
1459 avoid the special danger that patents applied to a free program could
1460 make it effectively proprietary. To prevent this, the GPL assures that
1461 patents cannot be used to render the program non-free.
1462
1463 The precise terms and conditions for copying, distribution and
1464 modification follow.
1465
1466 TERMS AND CONDITIONS
1467
1468 0. Definitions.
1469
1470 "This License" refers to version 3 of the GNU General Public License.
1471
1472 "Copyright" also means copyright-like laws that apply to other kinds of
1473 works, such as semiconductor masks.
1474
1475 "The Program" refers to any copyrightable work licensed under this
1476 License. Each licensee is addressed as "you". "Licensees" and
1477 "recipients" may be individuals or organizations.
1478
1479 To "modify" a work means to copy from or adapt all or part of the work
1480 in a fashion requiring copyright permission, other than the making of an
1481 exact copy. The resulting work is called a "modified version" of the
1482 earlier work or a work "based on" the earlier work.
1483
1484 A "covered work" means either the unmodified Program or a work based
1485 on the Program.
1486
1487 To "propagate" a work means to do anything with it that, without
1488 permission, would make you directly or secondarily liable for
1489 infringement under applicable copyright law, except executing it on a
1490 computer or modifying a private copy. Propagation includes copying,
1491 distribution (with or without modification), making available to the
1492 public, and in some countries other activities as well.
1493
1494 To "convey" a work means any kind of propagation that enables other
1495 parties to make or receive copies. Mere interaction with a user through
1496 a computer network, with no transfer of a copy, is not conveying.
1497
1498 An interactive user interface displays "Appropriate Legal Notices"
1499 to the extent that it includes a convenient and prominently visible
1500 feature that (1) displays an appropriate copyright notice, and (2)
1501 tells the user that there is no warranty for the work (except to the
1502 extent that warranties are provided), that licensees may convey the
1503 work under this License, and how to view a copy of this License. If
1504 the interface presents a list of user commands or options, such as a
1505 menu, a prominent item in the list meets this criterion.
1506
1507 1. Source Code.
1508
1509 The "source code" for a work means the preferred form of the work
1510 for making modifications to it. "Object code" means any non-source
1511 form of a work.
1512
1513 A "Standard Interface" means an interface that either is an official
1514 standard defined by a recognized standards body, or, in the case of
1515 interfaces specified for a particular programming language, one that
1516 is widely used among developers working in that language.
1517
1518 The "System Libraries" of an executable work include anything, other
1519 than the work as a whole, that (a) is included in the normal form of
1520 packaging a Major Component, but which is not part of that Major
1521 Component, and (b) serves only to enable use of the work with that
1522 Major Component, or to implement a Standard Interface for which an
1523 implementation is available to the public in source code form. A
1524 "Major Component", in this context, means a major essential component
1525 (kernel, window system, and so on) of the specific operating system
1526 (if any) on which the executable work runs, or a compiler used to
1527 produce the work, or an object code interpreter used to run it.
1528
1529 The "Corresponding Source" for a work in object code form means all
1530 the source code needed to generate, install, and (for an executable
1531 work) run the object code and to modify the work, including scripts to
1532 control those activities. However, it does not include the work's
1533 System Libraries, or general-purpose tools or generally available free
1534 programs which are used unmodified in performing those activities but
1535 which are not part of the work. For example, Corresponding Source
1536 includes interface definition files associated with source files for
1537 the work, and the source code for shared libraries and dynamically
1538 linked subprograms that the work is specifically designed to require,
1539 such as by intimate data communication or control flow between those
1540 subprograms and other parts of the work.
1541
1542 The Corresponding Source need not include anything that users
1543 can regenerate automatically from other parts of the Corresponding
1544 Source.
1545
1546 The Corresponding Source for a work in source code form is that
1547 same work.
1548
1549 2. Basic Permissions.
1550
1551 All rights granted under this License are granted for the term of
1552 copyright on the Program, and are irrevocable provided the stated
1553 conditions are met. This License explicitly affirms your unlimited
1554 permission to run the unmodified Program. The output from running a
1555 covered work is covered by this License only if the output, given its
1556 content, constitutes a covered work. This License acknowledges your
1557 rights of fair use or other equivalent, as provided by copyright law.
1558
1559 You may make, run and propagate covered works that you do not
1560 convey, without conditions so long as your license otherwise remains
1561 in force. You may convey covered works to others for the sole purpose
1562 of having them make modifications exclusively for you, or provide you
1563 with facilities for running those works, provided that you comply with
1564 the terms of this License in conveying all material for which you do
1565 not control copyright. Those thus making or running the covered works
1566 for you must do so exclusively on your behalf, under your direction
1567 and control, on terms that prohibit them from making any copies of
1568 your copyrighted material outside their relationship with you.
1569
1570 Conveying under any other circumstances is permitted solely under
1571 the conditions stated below. Sublicensing is not allowed; section 10
1572 makes it unnecessary.
1573
1574 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
1575
1576 No covered work shall be deemed part of an effective technological
1577 measure under any applicable law fulfilling obligations under article
1578 11 of the WIPO copyright treaty adopted on 20 December 1996, or
1579 similar laws prohibiting or restricting circumvention of such
1580 measures.
1581
1582 When you convey a covered work, you waive any legal power to forbid
1583 circumvention of technological measures to the extent such circumvention
1584 is effected by exercising rights under this License with respect to
1585 the covered work, and you disclaim any intention to limit operation or
1586 modification of the work as a means of enforcing, against the work's
1587 users, your or third parties' legal rights to forbid circumvention of
1588 technological measures.
1589
1590 4. Conveying Verbatim Copies.
1591
1592 You may convey verbatim copies of the Program's source code as you
1593 receive it, in any medium, provided that you conspicuously and
1594 appropriately publish on each copy an appropriate copyright notice;
1595 keep intact all notices stating that this License and any
1596 non-permissive terms added in accord with section 7 apply to the code;
1597 keep intact all notices of the absence of any warranty; and give all
1598 recipients a copy of this License along with the Program.
1599
1600 You may charge any price or no price for each copy that you convey,
1601 and you may offer support or warranty protection for a fee.
1602
1603 5. Conveying Modified Source Versions.
1604
1605 You may convey a work based on the Program, or the modifications to
1606 produce it from the Program, in the form of source code under the
1607 terms of section 4, provided that you also meet all of these conditions:
1608
1609 a) The work must carry prominent notices stating that you modified
1610 it, and giving a relevant date.
1611
1612 b) The work must carry prominent notices stating that it is
1613 released under this License and any conditions added under section
1614 7. This requirement modifies the requirement in section 4 to
1615 "keep intact all notices".
1616
1617 c) You must license the entire work, as a whole, under this
1618 License to anyone who comes into possession of a copy. This
1619 License will therefore apply, along with any applicable section 7
1620 additional terms, to the whole of the work, and all its parts,
1621 regardless of how they are packaged. This License gives no
1622 permission to license the work in any other way, but it does not
1623 invalidate such permission if you have separately received it.
1624
1625 d) If the work has interactive user interfaces, each must display
1626 Appropriate Legal Notices; however, if the Program has interactive
1627 interfaces that do not display Appropriate Legal Notices, your
1628 work need not make them do so.
1629
1630 A compilation of a covered work with other separate and independent
1631 works, which are not by their nature extensions of the covered work,
1632 and which are not combined with it such as to form a larger program,
1633 in or on a volume of a storage or distribution medium, is called an
1634 "aggregate" if the compilation and its resulting copyright are not
1635 used to limit the access or legal rights of the compilation's users
1636 beyond what the individual works permit. Inclusion of a covered work
1637 in an aggregate does not cause this License to apply to the other
1638 parts of the aggregate.
1639
1640 6. Conveying Non-Source Forms.
1641
1642 You may convey a covered work in object code form under the terms
1643 of sections 4 and 5, provided that you also convey the
1644 machine-readable Corresponding Source under the terms of this License,
1645 in one of these ways:
1646
1647 a) Convey the object code in, or embodied in, a physical product
1648 (including a physical distribution medium), accompanied by the
1649 Corresponding Source fixed on a durable physical medium
1650 customarily used for software interchange.
1651
1652 b) Convey the object code in, or embodied in, a physical product
1653 (including a physical distribution medium), accompanied by a
1654 written offer, valid for at least three years and valid for as
1655 long as you offer spare parts or customer support for that product
1656 model, to give anyone who possesses the object code either (1) a
1657 copy of the Corresponding Source for all the software in the
1658 product that is covered by this License, on a durable physical
1659 medium customarily used for software interchange, for a price no
1660 more than your reasonable cost of physically performing this
1661 conveying of source, or (2) access to copy the
1662 Corresponding Source from a network server at no charge.
1663
1664 c) Convey individual copies of the object code with a copy of the
1665 written offer to provide the Corresponding Source. This
1666 alternative is allowed only occasionally and noncommercially, and
1667 only if you received the object code with such an offer, in accord
1668 with subsection 6b.
1669
1670 d) Convey the object code by offering access from a designated
1671 place (gratis or for a charge), and offer equivalent access to the
1672 Corresponding Source in the same way through the same place at no
1673 further charge. You need not require recipients to copy the
1674 Corresponding Source along with the object code. If the place to
1675 copy the object code is a network server, the Corresponding Source
1676 may be on a different server (operated by you or a third party)
1677 that supports equivalent copying facilities, provided you maintain
1678 clear directions next to the object code saying where to find the
1679 Corresponding Source. Regardless of what server hosts the
1680 Corresponding Source, you remain obligated to ensure that it is
1681 available for as long as needed to satisfy these requirements.
1682
1683 e) Convey the object code using peer-to-peer transmission, provided
1684 you inform other peers where the object code and Corresponding
1685 Source of the work are being offered to the general public at no
1686 charge under subsection 6d.
1687
1688 A separable portion of the object code, whose source code is excluded
1689 from the Corresponding Source as a System Library, need not be
1690 included in conveying the object code work.
1691
1692 A "User Product" is either (1) a "consumer product", which means any
1693 tangible personal property which is normally used for personal, family,
1694 or household purposes, or (2) anything designed or sold for incorporation
1695 into a dwelling. In determining whether a product is a consumer product,
1696 doubtful cases shall be resolved in favor of coverage. For a particular
1697 product received by a particular user, "normally used" refers to a
1698 typical or common use of that class of product, regardless of the status
1699 of the particular user or of the way in which the particular user
1700 actually uses, or expects or is expected to use, the product. A product
1701 is a consumer product regardless of whether the product has substantial
1702 commercial, industrial or non-consumer uses, unless such uses represent
1703 the only significant mode of use of the product.
1704
1705 "Installation Information" for a User Product means any methods,
1706 procedures, authorization keys, or other information required to install
1707 and execute modified versions of a covered work in that User Product from
1708 a modified version of its Corresponding Source. The information must
1709 suffice to ensure that the continued functioning of the modified object
1710 code is in no case prevented or interfered with solely because
1711 modification has been made.
1712
1713 If you convey an object code work under this section in, or with, or
1714 specifically for use in, a User Product, and the conveying occurs as
1715 part of a transaction in which the right of possession and use of the
1716 User Product is transferred to the recipient in perpetuity or for a
1717 fixed term (regardless of how the transaction is characterized), the
1718 Corresponding Source conveyed under this section must be accompanied
1719 by the Installation Information. But this requirement does not apply
1720 if neither you nor any third party retains the ability to install
1721 modified object code on the User Product (for example, the work has
1722 been installed in ROM).
1723
1724 The requirement to provide Installation Information does not include a
1725 requirement to continue to provide support service, warranty, or updates
1726 for a work that has been modified or installed by the recipient, or for
1727 the User Product in which it has been modified or installed. Access to a
1728 network may be denied when the modification itself materially and
1729 adversely affects the operation of the network or violates the rules and
1730 protocols for communication across the network.
1731
1732 Corresponding Source conveyed, and Installation Information provided,
1733 in accord with this section must be in a format that is publicly
1734 documented (and with an implementation available to the public in
1735 source code form), and must require no special password or key for
1736 unpacking, reading or copying.
1737
1738 7. Additional Terms.
1739
1740 "Additional permissions" are terms that supplement the terms of this
1741 License by making exceptions from one or more of its conditions.
1742 Additional permissions that are applicable to the entire Program shall
1743 be treated as though they were included in this License, to the extent
1744 that they are valid under applicable law. If additional permissions
1745 apply only to part of the Program, that part may be used separately
1746 under those permissions, but the entire Program remains governed by
1747 this License without regard to the additional permissions.
1748
1749 When you convey a copy of a covered work, you may at your option
1750 remove any additional permissions from that copy, or from any part of
1751 it. (Additional permissions may be written to require their own
1752 removal in certain cases when you modify the work.) You may place
1753 additional permissions on material, added by you to a covered work,
1754 for which you have or can give appropriate copyright permission.
1755
1756 Notwithstanding any other provision of this License, for material you
1757 add to a covered work, you may (if authorized by the copyright holders of
1758 that material) supplement the terms of this License with terms:
1759
1760 a) Disclaiming warranty or limiting liability differently from the
1761 terms of sections 15 and 16 of this License; or
1762
1763 b) Requiring preservation of specified reasonable legal notices or
1764 author attributions in that material or in the Appropriate Legal
1765 Notices displayed by works containing it; or
1766
1767 c) Prohibiting misrepresentation of the origin of that material, or
1768 requiring that modified versions of such material be marked in
1769 reasonable ways as different from the original version; or
1770
1771 d) Limiting the use for publicity purposes of names of licensors or
1772 authors of the material; or
1773
1774 e) Declining to grant rights under trademark law for use of some
1775 trade names, trademarks, or service marks; or
1776
1777 f) Requiring indemnification of licensors and authors of that
1778 material by anyone who conveys the material (or modified versions of
1779 it) with contractual assumptions of liability to the recipient, for
1780 any liability that these contractual assumptions directly impose on
1781 those licensors and authors.
1782
1783 All other non-permissive additional terms are considered "further
1784 restrictions" within the meaning of section 10. If the Program as you
1785 received it, or any part of it, contains a notice stating that it is
1786 governed by this License along with a term that is a further
1787 restriction, you may remove that term. If a license document contains
1788 a further restriction but permits relicensing or conveying under this
1789 License, you may add to a covered work material governed by the terms
1790 of that license document, provided that the further restriction does
1791 not survive such relicensing or conveying.
1792
1793 If you add terms to a covered work in accord with this section, you
1794 must place, in the relevant source files, a statement of the
1795 additional terms that apply to those files, or a notice indicating
1796 where to find the applicable terms.
1797
1798 Additional terms, permissive or non-permissive, may be stated in the
1799 form of a separately written license, or stated as exceptions;
1800 the above requirements apply either way.
1801
1802 8. Termination.
1803
1804 You may not propagate or modify a covered work except as expressly
1805 provided under this License. Any attempt otherwise to propagate or
1806 modify it is void, and will automatically terminate your rights under
1807 this License (including any patent licenses granted under the third
1808 paragraph of section 11).
1809
1810 However, if you cease all violation of this License, then your
1811 license from a particular copyright holder is reinstated (a)
1812 provisionally, unless and until the copyright holder explicitly and
1813 finally terminates your license, and (b) permanently, if the copyright
1814 holder fails to notify you of the violation by some reasonable means
1815 prior to 60 days after the cessation.
1816
1817 Moreover, your license from a particular copyright holder is
1818 reinstated permanently if the copyright holder notifies you of the
1819 violation by some reasonable means, this is the first time you have
1820 received notice of violation of this License (for any work) from that
1821 copyright holder, and you cure the violation prior to 30 days after
1822 your receipt of the notice.
1823
1824 Termination of your rights under this section does not terminate the
1825 licenses of parties who have received copies or rights from you under
1826 this License. If your rights have been terminated and not permanently
1827 reinstated, you do not qualify to receive new licenses for the same
1828 material under section 10.
1829
1830 9. Acceptance Not Required for Having Copies.
1831
1832 You are not required to accept this License in order to receive or
1833 run a copy of the Program. Ancillary propagation of a covered work
1834 occurring solely as a consequence of using peer-to-peer transmission
1835 to receive a copy likewise does not require acceptance. However,
1836 nothing other than this License grants you permission to propagate or
1837 modify any covered work. These actions infringe copyright if you do
1838 not accept this License. Therefore, by modifying or propagating a
1839 covered work, you indicate your acceptance of this License to do so.
1840
1841 10. Automatic Licensing of Downstream Recipients.
1842
1843 Each time you convey a covered work, the recipient automatically
1844 receives a license from the original licensors, to run, modify and
1845 propagate that work, subject to this License. You are not responsible
1846 for enforcing compliance by third parties with this License.
1847
1848 An "entity transaction" is a transaction transferring control of an
1849 organization, or substantially all assets of one, or subdividing an
1850 organization, or merging organizations. If propagation of a covered
1851 work results from an entity transaction, each party to that
1852 transaction who receives a copy of the work also receives whatever
1853 licenses to the work the party's predecessor in interest had or could
1854 give under the previous paragraph, plus a right to possession of the
1855 Corresponding Source of the work from the predecessor in interest, if
1856 the predecessor has it or can get it with reasonable efforts.
1857
1858 You may not impose any further restrictions on the exercise of the
1859 rights granted or affirmed under this License. For example, you may
1860 not impose a license fee, royalty, or other charge for exercise of
1861 rights granted under this License, and you may not initiate litigation
1862 (including a cross-claim or counterclaim in a lawsuit) alleging that
1863 any patent claim is infringed by making, using, selling, offering for
1864 sale, or importing the Program or any portion of it.
1865
1866 11. Patents.
1867
1868 A "contributor" is a copyright holder who authorizes use under this
1869 License of the Program or a work on which the Program is based. The
1870 work thus licensed is called the contributor's "contributor version".
1871
1872 A contributor's "essential patent claims" are all patent claims
1873 owned or controlled by the contributor, whether already acquired or
1874 hereafter acquired, that would be infringed by some manner, permitted
1875 by this License, of making, using, or selling its contributor version,
1876 but do not include claims that would be infringed only as a
1877 consequence of further modification of the contributor version. For
1878 purposes of this definition, "control" includes the right to grant
1879 patent sublicenses in a manner consistent with the requirements of
1880 this License.
1881
1882 Each contributor grants you a non-exclusive, worldwide, royalty-free
1883 patent license under the contributor's essential patent claims, to
1884 make, use, sell, offer for sale, import and otherwise run, modify and
1885 propagate the contents of its contributor version.
1886
1887 In the following three paragraphs, a "patent license" is any express
1888 agreement or commitment, however denominated, not to enforce a patent
1889 (such as an express permission to practice a patent or covenant not to
1890 sue for patent infringement). To "grant" such a patent license to a
1891 party means to make such an agreement or commitment not to enforce a
1892 patent against the party.
1893
1894 If you convey a covered work, knowingly relying on a patent license,
1895 and the Corresponding Source of the work is not available for anyone
1896 to copy, free of charge and under the terms of this License, through a
1897 publicly available network server or other readily accessible means,
1898 then you must either (1) cause the Corresponding Source to be so
1899 available, or (2) arrange to deprive yourself of the benefit of the
1900 patent license for this particular work, or (3) arrange, in a manner
1901 consistent with the requirements of this License, to extend the patent
1902 license to downstream recipients. "Knowingly relying" means you have
1903 actual knowledge that, but for the patent license, your conveying the
1904 covered work in a country, or your recipient's use of the covered work
1905 in a country, would infringe one or more identifiable patents in that
1906 country that you have reason to believe are valid.
1907
1908 If, pursuant to or in connection with a single transaction or
1909 arrangement, you convey, or propagate by procuring conveyance of, a
1910 covered work, and grant a patent license to some of the parties
1911 receiving the covered work authorizing them to use, propagate, modify
1912 or convey a specific copy of the covered work, then the patent license
1913 you grant is automatically extended to all recipients of the covered
1914 work and works based on it.
1915
1916 A patent license is "discriminatory" if it does not include within
1917 the scope of its coverage, prohibits the exercise of, or is
1918 conditioned on the non-exercise of one or more of the rights that are
1919 specifically granted under this License. You may not convey a covered
1920 work if you are a party to an arrangement with a third party that is
1921 in the business of distributing software, under which you make payment
1922 to the third party based on the extent of your activity of conveying
1923 the work, and under which the third party grants, to any of the
1924 parties who would receive the covered work from you, a discriminatory
1925 patent license (a) in connection with copies of the covered work
1926 conveyed by you (or copies made from those copies), or (b) primarily
1927 for and in connection with specific products or compilations that
1928 contain the covered work, unless you entered into that arrangement,
1929 or that patent license was granted, prior to 28 March 2007.
1930
1931 Nothing in this License shall be construed as excluding or limiting
1932 any implied license or other defenses to infringement that may
1933 otherwise be available to you under applicable patent law.
1934
1935 12. No Surrender of Others' Freedom.
1936
1937 If conditions are imposed on you (whether by court order, agreement or
1938 otherwise) that contradict the conditions of this License, they do not
1939 excuse you from the conditions of this License. If you cannot convey a
1940 covered work so as to satisfy simultaneously your obligations under this
1941 License and any other pertinent obligations, then as a consequence you may
1942 not convey it at all. For example, if you agree to terms that obligate you
1943 to collect a royalty for further conveying from those to whom you convey
1944 the Program, the only way you could satisfy both those terms and this
1945 License would be to refrain entirely from conveying the Program.
1946
1947 13. Use with the GNU Affero General Public License.
1948
1949 Notwithstanding any other provision of this License, you have
1950 permission to link or combine any covered work with a work licensed
1951 under version 3 of the GNU Affero General Public License into a single
1952 combined work, and to convey the resulting work. The terms of this
1953 License will continue to apply to the part which is the covered work,
1954 but the special requirements of the GNU Affero General Public License,
1955 section 13, concerning interaction through a network will apply to the
1956 combination as such.
1957
1958 14. Revised Versions of this License.
1959
1960 The Free Software Foundation may publish revised and/or new versions of
1961 the GNU General Public License from time to time. Such new versions will
1962 be similar in spirit to the present version, but may differ in detail to
1963 address new problems or concerns.
1964
1965 Each version is given a distinguishing version number. If the
1966 Program specifies that a certain numbered version of the GNU General
1967 Public License "or any later version" applies to it, you have the
1968 option of following the terms and conditions either of that numbered
1969 version or of any later version published by the Free Software
1970 Foundation. If the Program does not specify a version number of the
1971 GNU General Public License, you may choose any version ever published
1972 by the Free Software Foundation.
1973
1974 If the Program specifies that a proxy can decide which future
1975 versions of the GNU General Public License can be used, that proxy's
1976 public statement of acceptance of a version permanently authorizes you
1977 to choose that version for the Program.
1978
1979 Later license versions may give you additional or different
1980 permissions. However, no additional obligations are imposed on any
1981 author or copyright holder as a result of your choosing to follow a
1982 later version.
1983
1984 15. Disclaimer of Warranty.
1985
1986 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
1987 APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
1988 HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
1989 OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
1990 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1991 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
1992 IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
1993 ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
1994
1995 16. Limitation of Liability.
1996
1997 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
1998 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
1999 THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
2000 GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
2001 USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
2002 DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
2003 PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
2004 EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
2005 SUCH DAMAGES.
2006
2007 17. Interpretation of Sections 15 and 16.
2008
2009 If the disclaimer of warranty and limitation of liability provided
2010 above cannot be given local legal effect according to their terms,
2011 reviewing courts shall apply local law that most closely approximates
2012 an absolute waiver of all civil liability in connection with the
2013 Program, unless a warranty or assumption of liability accompanies a
2014 copy of the Program in return for a fee.
2015
2016 END OF TERMS AND CONDITIONS
2017
2018 How to Apply These Terms to Your New Programs
2019
2020 If you develop a new program, and you want it to be of the greatest
2021 possible use to the public, the best way to achieve this is to make it
2022 free software which everyone can redistribute and change under these terms.
2023
2024 To do so, attach the following notices to the program. It is safest
2025 to attach them to the start of each source file to most effectively
2026 state the exclusion of warranty; and each file should have at least
2027 the "copyright" line and a pointer to where the full notice is found.
2028
2029 <one line to give the program's name and a brief idea of what it does.>
2030 Copyright (C) <year> <name of author>
2031
2032 This program is free software: you can redistribute it and/or modify
2033 it under the terms of the GNU General Public License as published by
2034 the Free Software Foundation, either version 3 of the License, or
2035 (at your option) any later version.
2036
2037 This program is distributed in the hope that it will be useful,
2038 but WITHOUT ANY WARRANTY; without even the implied warranty of
2039 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2040 GNU General Public License for more details.
2041
2042 You should have received a copy of the GNU General Public License
2043 along with this program. If not, see <http://www.gnu.org/licenses/>.
2044
2045 Also add information on how to contact you by electronic and paper mail.
2046
2047 If the program does terminal interaction, make it output a short
2048 notice like this when it starts in an interactive mode:
2049
2050 <program> Copyright (C) <year> <name of author>
2051 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
2052 This is free software, and you are welcome to redistribute it
2053 under certain conditions; type `show c' for details.
2054
2055 The hypothetical commands `show w' and `show c' should show the appropriate
2056 parts of the General Public License. Of course, your program's commands
2057 might be different; for a GUI interface, you would use an "about box".
2058
2059 You should also get your employer (if you work as a programmer) or school,
2060 if any, to sign a "copyright disclaimer" for the program, if necessary.
2061 For more information on this, and how to apply and follow the GNU GPL, see
2062 <http://www.gnu.org/licenses/>.
2063
2064 The GNU General Public License does not permit incorporating your program
2065 into proprietary programs. If your program is a subroutine library, you
2066 may consider it more useful to permit linking proprietary applications with
2067 the library. If this is what you want to do, use the GNU Lesser General
2068 Public License instead of this License. But first, please read
2069 <http://www.gnu.org/philosophy/why-not-lgpl.html>.
2070
2071The complete text of the Apache 2.0 License is as follows:
2072
2073 Apache License
2074 Version 2.0, January 2004
2075 http://www.apache.org/licenses/
2076
2077 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
2078
2079 1. Definitions.
2080
2081 "License" shall mean the terms and conditions for use, reproduction,
2082 and distribution as defined by Sections 1 through 9 of this document.
2083
2084 "Licensor" shall mean the copyright owner or entity authorized by
2085 the copyright owner that is granting the License.
2086
2087 "Legal Entity" shall mean the union of the acting entity and all
2088 other entities that control, are controlled by, or are under common
2089 control with that entity. For the purposes of this definition,
2090 "control" means (i) the power, direct or indirect, to cause the
2091 direction or management of such entity, whether by contract or
2092 otherwise, or (ii) ownership of fifty percent (50%) or more of the
2093 outstanding shares, or (iii) beneficial ownership of such entity.
2094
2095 "You" (or "Your") shall mean an individual or Legal Entity
2096 exercising permissions granted by this License.
2097
2098 "Source" form shall mean the preferred form for making modifications,
2099 including but not limited to software source code, documentation
2100 source, and configuration files.
2101
2102 "Object" form shall mean any form resulting from mechanical
2103 transformation or translation of a Source form, including but
2104 not limited to compiled object code, generated documentation,
2105 and conversions to other media types.
2106
2107 "Work" shall mean the work of authorship, whether in Source or
2108 Object form, made available under the License, as indicated by a
2109 copyright notice that is included in or attached to the work
2110 (an example is provided in the Appendix below).
2111
2112 "Derivative Works" shall mean any work, whether in Source or Object
2113 form, that is based on (or derived from) the Work and for which the
2114 editorial revisions, annotations, elaborations, or other modifications
2115 represent, as a whole, an original work of authorship. For the purposes
2116 of this License, Derivative Works shall not include works that remain
2117 separable from, or merely link (or bind by name) to the interfaces of,
2118 the Work and Derivative Works thereof.
2119
2120 "Contribution" shall mean any work of authorship, including
2121 the original version of the Work and any modifications or additions
2122 to that Work or Derivative Works thereof, that is intentionally
2123 submitted to Licensor for inclusion in the Work by the copyright owner
2124 or by an individual or Legal Entity authorized to submit on behalf of
2125 the copyright owner. For the purposes of this definition, "submitted"
2126 means any form of electronic, verbal, or written communication sent
2127 to the Licensor or its representatives, including but not limited to
2128 communication on electronic mailing lists, source code control systems,
2129 and issue tracking systems that are managed by, or on behalf of, the
2130 Licensor for the purpose of discussing and improving the Work, but
2131 excluding communication that is conspicuously marked or otherwise
2132 designated in writing by the copyright owner as "Not a Contribution."
2133
2134 "Contributor" shall mean Licensor and any individual or Legal Entity
2135 on behalf of whom a Contribution has been received by Licensor and
2136 subsequently incorporated within the Work.
2137
2138 2. Grant of Copyright License. Subject to the terms and conditions of
2139 this License, each Contributor hereby grants to You a perpetual,
2140 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
2141 copyright license to reproduce, prepare Derivative Works of,
2142 publicly display, publicly perform, sublicense, and distribute the
2143 Work and such Derivative Works in Source or Object form.
2144
2145 3. Grant of Patent License. Subject to the terms and conditions of
2146 this License, each Contributor hereby grants to You a perpetual,
2147 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
2148 (except as stated in this section) patent license to make, have made,
2149 use, offer to sell, sell, import, and otherwise transfer the Work,
2150 where such license applies only to those patent claims licensable
2151 by such Contributor that are necessarily infringed by their
2152 Contribution(s) alone or by combination of their Contribution(s)
2153 with the Work to which such Contribution(s) was submitted. If You
2154 institute patent litigation against any entity (including a
2155 cross-claim or counterclaim in a lawsuit) alleging that the Work
2156 or a Contribution incorporated within the Work constitutes direct
2157 or contributory patent infringement, then any patent licenses
2158 granted to You under this License for that Work shall terminate
2159 as of the date such litigation is filed.
2160
2161 4. Redistribution. You may reproduce and distribute copies of the
2162 Work or Derivative Works thereof in any medium, with or without
2163 modifications, and in Source or Object form, provided that You
2164 meet the following conditions:
2165
2166 (a) You must give any other recipients of the Work or
2167 Derivative Works a copy of this License; and
2168
2169 (b) You must cause any modified files to carry prominent notices
2170 stating that You changed the files; and
2171
2172 (c) You must retain, in the Source form of any Derivative Works
2173 that You distribute, all copyright, patent, trademark, and
2174 attribution notices from the Source form of the Work,
2175 excluding those notices that do not pertain to any part of
2176 the Derivative Works; and
2177
2178 (d) If the Work includes a "NOTICE" text file as part of its
2179 distribution, then any Derivative Works that You distribute must
2180 include a readable copy of the attribution notices contained
2181 within such NOTICE file, excluding those notices that do not
2182 pertain to any part of the Derivative Works, in at least one
2183 of the following places: within a NOTICE text file distributed
2184 as part of the Derivative Works; within the Source form or
2185 documentation, if provided along with the Derivative Works; or,
2186 within a display generated by the Derivative Works, if and
2187 wherever such third-party notices normally appear. The contents
2188 of the NOTICE file are for informational purposes only and
2189 do not modify the License. You may add Your own attribution
2190 notices within Derivative Works that You distribute, alongside
2191 or as an addendum to the NOTICE text from the Work, provided
2192 that such additional attribution notices cannot be construed
2193 as modifying the License.
2194
2195 You may add Your own copyright statement to Your modifications and
2196 may provide additional or different license terms and conditions
2197 for use, reproduction, or distribution of Your modifications, or
2198 for any such Derivative Works as a whole, provided Your use,
2199 reproduction, and distribution of the Work otherwise complies with
2200 the conditions stated in this License.
2201
2202 5. Submission of Contributions. Unless You explicitly state otherwise,
2203 any Contribution intentionally submitted for inclusion in the Work
2204 by You to the Licensor shall be under the terms and conditions of
2205 this License, without any additional terms or conditions.
2206 Notwithstanding the above, nothing herein shall supersede or modify
2207 the terms of any separate license agreement you may have executed
2208 with Licensor regarding such Contributions.
2209
2210 6. Trademarks. This License does not grant permission to use the trade
2211 names, trademarks, service marks, or product names of the Licensor,
2212 except as required for reasonable and customary use in describing the
2213 origin of the Work and reproducing the content of the NOTICE file.
2214
2215 7. Disclaimer of Warranty. Unless required by applicable law or
2216 agreed to in writing, Licensor provides the Work (and each
2217 Contributor provides its Contributions) on an "AS IS" BASIS,
2218 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
2219 implied, including, without limitation, any warranties or conditions
2220 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
2221 PARTICULAR PURPOSE. You are solely responsible for determining the
2222 appropriateness of using or redistributing the Work and assume any
2223 risks associated with Your exercise of permissions under this License.
2224
2225 8. Limitation of Liability. In no event and under no legal theory,
2226 whether in tort (including negligence), contract, or otherwise,
2227 unless required by applicable law (such as deliberate and grossly
2228 negligent acts) or agreed to in writing, shall any Contributor be
2229 liable to You for damages, including any direct, indirect, special,
2230 incidental, or consequential damages of any character arising as a
2231 result of this License or out of the use or inability to use the
2232 Work (including but not limited to damages for loss of goodwill,
2233 work stoppage, computer failure or malfunction, or any and all
2234 other commercial damages or losses), even if such Contributor
2235 has been advised of the possibility of such damages.
2236
2237 9. Accepting Warranty or Additional Liability. While redistributing
2238 the Work or Derivative Works thereof, You may choose to offer,
2239 and charge a fee for, acceptance of support, warranty, indemnity,
2240 or other liability obligations and/or rights consistent with this
2241 License. However, in accepting such obligations, You may act only
2242 on Your own behalf and on Your sole responsibility, not on behalf
2243 of any other Contributor, and only if You agree to indemnify,
2244 defend, and hold each Contributor harmless for any liability
2245 incurred by, or claims asserted against, such Contributor by reason
2246 of your accepting any such warranty or additional liability.
2247
2248 END OF TERMS AND CONDITIONS
2249
2250 APPENDIX: How to apply the Apache License to your work.
2251
2252 To apply the Apache License to your work, attach the following
2253 boilerplate notice, with the fields enclosed by brackets "[]"
2254 replaced with your own identifying information. (Don't include
2255 the brackets!) The text should be enclosed in the appropriate
2256 comment syntax for the file format. We also recommend that a
2257 file or class name and description of purpose be included on the
2258 same "printed page" as the copyright notice for easier
2259 identification within third-party archives.
2260
2261 Copyright [yyyy] [name of copyright owner]
2262
2263 Licensed under the Apache License, Version 2.0 (the "License");
2264 you may not use this file except in compliance with the License.
2265 You may obtain a copy of the License at
2266
2267 http://www.apache.org/licenses/LICENSE-2.0
2268
2269 Unless required by applicable law or agreed to in writing, software
2270 distributed under the License is distributed on an "AS IS" BASIS,
2271 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2272 See the License for the specific language governing permissions and
2273 limitations under the License.
2274
2275The complete text of the BSD license can be is as follows:
2276
2277 Copyright (c) The Regents of the University of California.
2278 All rights reserved.
2279
2280 Redistribution and use in source and binary forms, with or without
2281 modification, are permitted provided that the following conditions
2282 are met:
2283 1. Redistributions of source code must retain the above copyright
2284 notice, this list of conditions and the following disclaimer.
2285 2. Redistributions in binary form must reproduce the above copyright
2286 notice, this list of conditions and the following disclaimer in the
2287 documentation and/or other materials provided with the distribution.
2288 3. Neither the name of the University nor the names of its contributors
2289 may be used to endorse or promote products derived from this software
2290 without specific prior written permission.
2291
2292 THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
2293 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2294 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2295 ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2296 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2297 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2298 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2299 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2300 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2301 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2302 SUCH DAMAGE.
2303
2304The complete text of the Apache Software License Version 1.1 is as follows:
2305
2306 /*
2307 * ================================================================
2308 * The Apache Software License, Version 1.1
2309 * ================================================================
2310 *
2311 * Copyright (C) 2000-2002 The Apache Software Foundation. All
2312 * rights reserved.
2313 *
2314 * Redistribution and use in source and binary forms, with or without
2315 * modification, are permitted provided that the following
2316 * conditions are met:
2317 *
2318 * 1. Redistributions of source code must retain the above copyright
2319 * notice, this list of conditions and the following disclaimer.
2320 *
2321 * 2. Redistributions in binary form must reproduce the above copyright
2322 * notice, this list of conditions and the following disclaimer in
2323 * the documentation and/or other materials provided with the
2324 * distribution.
2325 *
2326 * 3. The end-user documentation included with the redistribution, if
2327 * any, must include the following acknowledgment: "This product
2328 * includes software developed by the Apache Software Foundation
2329 * (http://www.apache.org/)." Alternately, this acknowledgment may
2330 * appear in the software itself, if and wherever such third-party
2331 * acknowledgments normally appear.
2332 *
2333 * 4. The names "Ant" and "Apache Software Foundation" must not be
2334 * used to endorse or promote products derived from this software
2335 * without prior written permission. For written permission, please
2336 * contact apache@apache.org.
2337 *
2338 * 5. Products derived from this software may not be called "Apache",
2339 * nor may "Apache" appear in their name, without prior written
2340 * permission of the Apache Software Foundation.
2341 *
2342 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
2343 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
2344 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2345 * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION
2346 * OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2347 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2348 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2349 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
2350 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
2351 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
2352 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
2353 * OF SUCH DAMAGE.
2354 *
2355 * This software consists of voluntary contributions made by many
2356 * individuals on behalf of the Apache Software Foundation. For more
2357 * information on the Apache Software Foundation, please see
2358 * <http://www.apache.org/>.
2359 *
2360 */
2361
2362The complete text of the MIT license is as follows:
2363
2364 Permission is hereby granted, free of charge, to any person
2365 obtaining a copy of this software and associated documentation
2366 files (the “Software”), to deal in the Software without
2367 restriction, including without limitation the rights to use,
2368 copy, modify, merge, publish, distribute, sublicense, and/or sell
2369 copies of the Software, and to permit persons to whom the
2370 Software is furnished to do so, subject to the following
2371 conditions:
2372
2373 The above copyright notice and this permission notice shall be
2374 included in all copies or substantial portions of the Software.
2375
2376 THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
2377 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
2378 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
2379 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
2380 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
2381 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
2382 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
2383 OTHER DEALINGS IN THE SOFTWARE.
2384
2385The complete text of the Eclipse Public License v1.0 is as follows:
2386
2387 Eclipse Public License - v 1.0
2388
2389 THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
2390 LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM
2391 CONSTITUTES RECIPIENT’S ACCEPTANCE OF THIS AGREEMENT.
2392
2393 1. DEFINITIONS
2394
2395 "Contribution" means:
2396
2397 a) in the case of the initial Contributor, the initial code and documentation
2398 distributed under this Agreement, and
2399 b) in the case of each subsequent Contributor:
2400
2401 i) changes to the Program, and
2402
2403 ii) additions to the Program;
2404
2405 where such changes and/or additions to the Program originate from and are
2406 distributed by that particular Contributor. A Contribution 'originates' from a
2407 Contributor if it was added to the Program by such Contributor itself or anyone
2408 acting on such Contributor’s behalf. Contributions do not include additions to
2409 the Program which: (i) are separate modules of software distributed in
2410 conjunction with the Program under their own license agreement, and (ii) are not
2411 derivative works of the Program.
2412
2413 "Contributor" means any person or entity that distributes the Program.
2414
2415 "Licensed Patents " mean patent claims licensable by a Contributor which are
2416 necessarily infringed by the use or sale of its Contribution alone or when
2417 combined with the Program.
2418
2419 "Program" means the Contributions distributed in accordance with this Agreement.
2420
2421 "Recipient" means anyone who receives the Program under this Agreement,
2422 including all Contributors.
2423
2424 2. GRANT OF RIGHTS
2425
2426 a) Subject to the terms of this Agreement, each Contributor hereby grants
2427 Recipient a non-exclusive, worldwide, royalty-free copyright license to
2428 reproduce, prepare derivative works of, publicly display, publicly perform,
2429 distribute and sublicense the Contribution of such Contributor, if any, and such
2430 derivative works, in source code and object code form.
2431
2432 b) Subject to the terms of this Agreement, each Contributor hereby grants
2433 Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed
2434 Patents to make, use, sell, offer to sell, import and otherwise transfer the
2435 Contribution of such Contributor, if any, in source code and object code form.
2436 This patent license shall apply to the combination of the Contribution and the
2437 Program if, at the time the Contribution is added by the Contributor, such
2438 addition of the Contribution causes such combination to be covered by the
2439 Licensed Patents. The patent license shall not apply to any other combinations
2440 which include the Contribution. No hardware per se is licensed hereunder.
2441
2442 c) Recipient understands that although each Contributor grants the licenses to
2443 its Contributions set forth herein, no assurances are provided by any
2444 Contributor that the Program does not infringe the patent or other intellectual
2445 property rights of any other entity. Each Contributor disclaims any liability to
2446 Recipient for claims brought by any other entity based on infringement of
2447 intellectual property rights or otherwise. As a condition to exercising the
2448 rights and licenses granted hereunder, each Recipient hereby assumes sole
2449 responsibility to secure any other intellectual property rights needed, if any.
2450 For example, if a third party patent license is required to allow Recipient to
2451 distribute the Program, it is Recipient’s responsibility to acquire that license
2452 before distributing the Program.
2453
2454 d) Each Contributor represents that to its knowledge it has sufficient copyright
2455 rights in its Contribution, if any, to grant the copyright license set forth in
2456 this Agreement.
2457
2458 3. REQUIREMENTS
2459
2460 A Contributor may choose to distribute the Program in object code form under its
2461 own license agreement, provided that:
2462
2463 a) it complies with the terms and conditions of this Agreement; and
2464
2465 b) its license agreement:
2466
2467 i) effectively disclaims on behalf of all Contributors all warranties and
2468 conditions, express and implied, including warranties or conditions of title and
2469 non-infringement, and implied warranties or conditions of merchantability and
2470 fitness for a particular purpose;
2471
2472 ii) effectively excludes on behalf of all Contributors all liability for
2473 damages, including direct, indirect, special, incidental and consequential
2474 damages, such as lost profits;
2475
2476 iii) states that any provisions which differ from this Agreement are offered by
2477 that Contributor alone and not by any other party; and
2478
2479 iv) states that source code for the Program is available from such Contributor,
2480 and informs licensees how to obtain it in a reasonable manner on or through a
2481 medium customarily used for software exchange.
2482
2483 When the Program is made available in source code form:
2484
2485 a) it must be made available under this Agreement; and
2486 b) a copy of this Agreement must be included with each copy of the Program.
2487
2488 Contributors may not remove or alter any copyright notices contained within the
2489 Program.
2490
2491 Each Contributor must identify itself as the originator of its Contribution, if
2492 any, in a manner that reasonably allows subsequent Recipients to identify the
2493 originator of the Contribution.
2494
2495 4. COMMERCIAL DISTRIBUTION
2496
2497 Commercial distributors of software may accept certain responsibilities with
2498 respect to end users, business partners and the like. While this license is
2499 intended to facilitate the commercial use of the Program, the Contributor who
2500 includes the Program in a commercial product offering should do so in a manner
2501 which does not create potential liability for other Contributors. Therefore, if
2502 a Contributor includes the Program in a commercial product offering, such
2503 Contributor ("Commercial Contributor") hereby agrees to defend and indemnify
2504 every other Contributor ("Indemnified Contributor") against any losses, damages
2505 and costs (collectively "Losses") arising from claims, lawsuits and other legal
2506 actions brought by a third party against the Indemnified Contributor to the
2507 extent caused by the acts or omissions of such Commercial Contributor in
2508 connection with its distribution of the Program in a commercial product
2509 offering. The obligations in this section do not apply to any claims or Losses
2510 relating to any actual or alleged intellectual property infringement. In order
2511 to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
2512 Contributor in writing of such claim, and b) allow the Commercial Contributor to
2513 control, and cooperate with the Commercial Contributor in, the defense and any
2514 related settlement negotiations. The Indemnified Contributor may participate in
2515 any such claim at its own expense.
2516
2517 For example, a Contributor might include the Program in a commercial product
2518 offering, Product X. That Contributor is then a Commercial Contributor. If that
2519 Commercial Contributor then makes performance claims, or offers warranties
2520 related to Product X, those performance claims and warranties are such
2521 Commercial Contributor’s responsibility alone. Under this section, the
2522 Commercial Contributor would have to defend claims against the other
2523 Contributors related to those performance claims and warranties, and if a court
2524 requires any other Contributor to pay any damages as a result, the Commercial
2525 Contributor must pay those damages.
2526
2527 5. NO WARRANTY
2528
2529 EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN
2530 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
2531 IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,
2532 NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each
2533 Recipient is solely responsible for determining the appropriateness of using and
2534 distributing the Program and assumes all risks associated with its exercise of
2535 rights under this Agreement , including but not limited to the risks and costs
2536 of program errors, compliance with applicable laws, damage to or loss of data,
2537 programs or equipment, and unavailability or interruption of operations.
2538
2539 6. DISCLAIMER OF LIABILITY
2540
2541 EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
2542 CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2543 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
2544 PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
2545 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2546 OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS
2547 GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
2548
2549 7. GENERAL
2550
2551 If any provision of this Agreement is invalid or unenforceable under applicable
2552 law, it shall not affect the validity or enforceability of the remainder of the
2553 terms of this Agreement, and without further action by the parties hereto, such
2554 provision shall be reformed to the minimum extent necessary to make such
2555 provision valid and enforceable.
2556
2557 If Recipient institutes patent litigation against any entity (including a
2558 cross-claim or counterclaim in a lawsuit) alleging that the Program itself
2559 (excluding combinations of the Program with other software or hardware)
2560 infringes such Recipient’s patent(s), then such Recipient’s rights granted under
2561 Section 2(b) shall terminate as of the date such litigation is filed.
2562
2563 All Recipient’s rights under this Agreement shall terminate if it fails to
2564 comply with any of the material terms or conditions of this Agreement and does
2565 not cure such failure in a reasonable period of time after becoming aware of
2566 such noncompliance. If all Recipient’s rights under this Agreement terminate,
2567 Recipient agrees to cease use and distribution of the Program as soon as
2568 reasonably practicable. However, Recipient’s obligations under this Agreement
2569 and any licenses granted by Recipient relating to the Program shall continue and
2570 survive.
2571
2572 Everyone is permitted to copy and distribute copies of this Agreement, but in
2573 order to avoid inconsistency the Agreement is copyrighted and may only be
2574 modified in the following manner. The Agreement Steward reserves the right to
2575 publish new versions (including revisions) of this Agreement from time to time.
2576 No one other than the Agreement Steward has the right to modify this Agreement.
2577 The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation
2578 may assign the responsibility to serve as the Agreement Steward to a suitable
2579 separate entity. Each new version of the Agreement will be given a
2580 distinguishing version number. The Program (including Contributions) may always
2581 be distributed subject to the version of the Agreement under which it was
2582 received. In addition, after a new version of the Agreement is published,
2583 Contributor may elect to distribute the Program (including its Contributions)
2584 under the new version. Except as expressly stated in Sections 2(a) and 2(b)
2585 above, Recipient receives no rights or licenses to the intellectual property of
2586 any Contributor under this Agreement, whether expressly, by implication,
2587 estoppel or otherwise. All rights in the Program not expressly granted under
2588 this Agreement are reserved.
2589
2590 This Agreement is governed by the laws of the State of New York and the
2591 intellectual property laws of the United States of America. No party to this
2592 Agreement will bring a legal action under this Agreement more than one year
2593 after the cause of action arose. Each party waives its rights to a jury trial in
2594 any resulting litigation.
2595