Projekt

Obecné

Profil

Stáhnout (94.9 KB) Statistiky
| Větev: | Tag: | Revize:
1
Licensing Information User Manual
2

    
3
MySQL Connector/J 8.0
4
     __________________________________________________________________
5

    
6
Introduction
7

    
8
   This License Information User Manual contains Oracle's product license
9
   and other licensing information, including licensing information for
10
   third-party software which may be included in this distribution of
11
   MySQL Connector/J 8.0.
12

    
13
   Last updated: December 2019
14

    
15
Licensing Information
16

    
17
   This is a release of MySQL Connector/J 8.0, brought to you by the MySQL
18
   team at Oracle. This software is released under version 2 of the GNU
19
   General Public License (GPLv2), as set forth below, with the following
20
   additional permissions:
21

    
22
   This distribution of MySQL Connector/J 8.0 is distributed with certain
23
   software that is licensed under separate terms, as designated in a
24
   particular file or component or in the license documentation. Without
25
   limiting your rights under the GPLv2, the authors of MySQL hereby grant
26
   you an additional permission to link the program and your derivative
27
   works with the separately licensed software that they have included
28
   with the program.
29

    
30
   Without limiting the foregoing grant of rights under the GPLv2 and
31
   additional permission as to separately licensed software, this
32
   Connector is also subject to the Universal FOSS Exception, version 1.0,
33
   a copy of which is reproduced below and can also be found along with
34
   its FAQ at http://oss.oracle.com/licenses/universal-foss-exception.
35

    
36
   Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights
37
   reserved.
38

    
39
Election of GPLv2
40

    
41
   For the avoidance of doubt, except that if any license choice other
42
   than GPL or LGPL is available it will apply instead, Oracle elects to
43
   use only the General Public License version 2 (GPLv2) at this time for
44
   any software where a choice of GPL license versions is made available
45
   with the language indicating that GPLv2 or any later version may be
46
   used, or where a choice of which version of the GPL is applied is
47
   otherwise unspecified.
48

    
49
GNU General Public License Version 2.0, June 1991
50

    
51
The following applies to all products licensed under the GNU General
52
Public License, Version 2.0: You may not use the identified files
53
except in compliance with the GNU General Public License, Version
54
2.0 (the "License.") You may obtain a copy of the License at
55
http://www.gnu.org/licenses/gpl-2.0.txt. A copy of the license is
56
also reproduced below. Unless required by applicable law or agreed
57
to in writing, software distributed under the License is distributed
58
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
59
either express or implied. See the License for the specific language
60
governing permissions and limitations under the License.
61

    
62
GNU GENERAL PUBLIC LICENSE
63
Version 2, June 1991
64

    
65
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
66
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
67
Everyone is permitted to copy and distribute verbatim
68
copies of this license document, but changing it is not
69
allowed.
70

    
71
                     Preamble
72

    
73
  The licenses for most software are designed to take away your
74
freedom to share and change it.  By contrast, the GNU General Public
75
License is intended to guarantee your freedom to share and change free
76
software--to make sure the software is free for all its users.  This
77
General Public License applies to most of the Free Software
78
Foundation's software and to any other program whose authors commit to
79
using it.  (Some other Free Software Foundation software is covered by
80
the GNU Lesser General Public License instead.)  You can apply it to
81
your programs, too.
82

    
83
  When we speak of free software, we are referring to freedom, not
84
price.  Our General Public Licenses are designed to make sure that you
85
have the freedom to distribute copies of free software (and charge for
86
this service if you wish), that you receive source code or can get it
87
if you want it, that you can change the software or use pieces of it
88
in new free programs; and that you know you can do these things.
89

    
90
  To protect your rights, we need to make restrictions that forbid
91
anyone to deny you these rights or to ask you to surrender the rights.
92
These restrictions translate to certain responsibilities for you if you
93
distribute copies of the software, or if you modify it.
94

    
95
  For example, if you distribute copies of such a program, whether
96
gratis or for a fee, you must give the recipients all the rights that
97
you have.  You must make sure that they, too, receive or can get the
98
source code.  And you must show them these terms so they know their
99
rights.
100

    
101
  We protect your rights with two steps: (1) copyright the software,
102
and (2) offer you this license which gives you legal permission to
103
copy, distribute and/or modify the software.
104

    
105
  Also, for each author's protection and ours, we want to make certain
106
that everyone understands that there is no warranty for this free
107
software.  If the software is modified by someone else and passed on,
108
we want its recipients to know that what they have is not the original,
109
so that any problems introduced by others will not reflect on the
110
original authors' reputations.
111

    
112
  Finally, any free program is threatened constantly by software
113
patents.  We wish to avoid the danger that redistributors of a free
114
program will individually obtain patent licenses, in effect making the
115
program proprietary.  To prevent this, we have made it clear that any
116
patent must be licensed for everyone's free use or not licensed at all.
117

    
118
  The precise terms and conditions for copying, distribution and
119
modification follow.
120

    
121
                    GNU GENERAL PUBLIC LICENSE
122
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
123

    
124
  0. This License applies to any program or other work which contains
125
a notice placed by the copyright holder saying it may be distributed
126
under the terms of this General Public License.  The "Program", below,
127
refers to any such program or work, and a "work based on the Program"
128
means either the Program or any derivative work under copyright law:
129
that is to say, a work containing the Program or a portion of it,
130
either verbatim or with modifications and/or translated into another
131
language.  (Hereinafter, translation is included without limitation in
132
the term "modification".)  Each licensee is addressed as "you".
133

    
134
Activities other than copying, distribution and modification are not
135
covered by this License; they are outside its scope.  The act of
136
running the Program is not restricted, and the output from the Program
137
is covered only if its contents constitute a work based on the
138
Program (independent of having been made by running the Program).
139
Whether that is true depends on what the Program does.
140

    
141

    
142
  1. You may copy and distribute verbatim copies of the Program's
143
source code as you receive it, in any medium, provided that you
144
conspicuously and appropriately publish on each copy an appropriate
145
copyright notice and disclaimer of warranty; keep intact all the
146
notices that refer to this License and to the absence of any warranty;
147
and give any other recipients of the Program a copy of this License
148
along with the Program.
149

    
150
You may charge a fee for the physical act of transferring a copy, and
151
you may at your option offer warranty protection in exchange for a fee.
152

    
153

    
154
  2. You may modify your copy or copies of the Program or any portion
155
of it, thus forming a work based on the Program, and copy and
156
distribute such modifications or work under the terms of Section 1
157
above, provided that you also meet all of these conditions:
158

    
159
    a) You must cause the modified files to carry prominent notices
160
    stating that you changed the files and the date of any change.
161

    
162
    b) You must cause any work that you distribute or publish, that in
163
    whole or in part contains or is derived from the Program or any
164
    part thereof, to be licensed as a whole at no charge to all third
165
    parties under the terms of this License.
166

    
167
    c) If the modified program normally reads commands interactively
168
    when run, you must cause it, when started running for such
169
    interactive use in the most ordinary way, to print or display an
170
    announcement including an appropriate copyright notice and a
171
    notice that there is no warranty (or else, saying that you provide
172
    a warranty) and that users may redistribute the program under
173
    these conditions, and telling the user how to view a copy of this
174
    License.  (Exception: if the Program itself is interactive but
175
    does not normally print such an announcement, your work based on
176
    the Program is not required to print an announcement.)
177

    
178
These requirements apply to the modified work as a whole.  If
179
identifiable sections of that work are not derived from the Program,
180
and can be reasonably considered independent and separate works in
181
themselves, then this License, and its terms, do not apply to those
182
sections when you distribute them as separate works.  But when you
183
distribute the same sections as part of a whole which is a work based
184
on the Program, the distribution of the whole must be on the terms of
185
this License, whose permissions for other licensees extend to the
186
entire whole, and thus to each and every part regardless of who wrote it.
187

    
188
Thus, it is not the intent of this section to claim rights or contest
189
your rights to work written entirely by you; rather, the intent is to
190
exercise the right to control the distribution of derivative or
191
collective works based on the Program.
192

    
193
In addition, mere aggregation of another work not based on the Program
194
with the Program (or with a work based on the Program) on a volume of
195
a storage or distribution medium does not bring the other work under
196
the scope of this License.
197

    
198

    
199
  3. You may copy and distribute the Program (or a work based on it,
200
under Section 2) in object code or executable form under the terms of
201
Sections 1 and 2 above provided that you also do one of the following:
202

    
203
    a) Accompany it with the complete corresponding machine-readable
204
    source code, which must be distributed under the terms of Sections
205
    1 and 2 above on a medium customarily used for software
206
    interchange; or,
207

    
208
    b) Accompany it with a written offer, valid for at least three
209
    years, to give any third party, for a charge no more than your
210
    cost of physically performing source distribution, a complete
211
    machine-readable copy of the corresponding source code, to be
212
    distributed under the terms of Sections 1 and 2 above on a medium
213
    customarily used for software interchange; or,
214

    
215
    c) Accompany it with the information you received as to the offer
216
    to distribute corresponding source code.  (This alternative is
217
    allowed only for noncommercial distribution and only if you
218
    received the program in object code or executable form with such
219
    an offer, in accord with Subsection b above.)
220

    
221
The source code for a work means the preferred form of the work for
222
making modifications to it.  For an executable work, complete source
223
code means all the source code for all modules it contains, plus any
224
associated interface definition files, plus the scripts used to
225
control compilation and installation of the executable.  However, as
226
a special exception, the source code distributed need not include
227
anything that is normally distributed (in either source or binary
228
form) with the major components (compiler, kernel, and so on) of the
229
operating system on which the executable runs, unless that component
230
itself accompanies the executable.
231

    
232
If distribution of executable or object code is made by offering
233
access to copy from a designated place, then offering equivalent
234
access to copy the source code from the same place counts as
235
distribution of the source code, even though third parties are not
236
compelled to copy the source along with the object code.
237

    
238

    
239
  4. You may not copy, modify, sublicense, or distribute the Program
240
except as expressly provided under this License.  Any attempt
241
otherwise to copy, modify, sublicense or distribute the Program is
242
void, and will automatically terminate your rights under this License.
243
However, parties who have received copies, or rights, from you under
244
this License will not have their licenses terminated so long as such
245
parties remain in full compliance.
246

    
247

    
248
  5. You are not required to accept this License, since you have not
249
signed it.  However, nothing else grants you permission to modify or
250
distribute the Program or its derivative works.  These actions are
251
prohibited by law if you do not accept this License.  Therefore, by
252
modifying or distributing the Program (or any work based on the
253
Program), you indicate your acceptance of this License to do so, and
254
all its terms and conditions for copying, distributing or modifying
255
the Program or works based on it.
256

    
257

    
258
  6. Each time you redistribute the Program (or any work based on the
259
Program), the recipient automatically receives a license from the
260
original licensor to copy, distribute or modify the Program subject to
261
these terms and conditions.  You may not impose any further
262
restrictions on the recipients' exercise of the rights granted herein.
263
You are not responsible for enforcing compliance by third parties to
264
this License.
265

    
266

    
267
  7. If, as a consequence of a court judgment or allegation of patent
268
infringement or for any other reason (not limited to patent issues),
269
conditions are imposed on you (whether by court order, agreement or
270
otherwise) that contradict the conditions of this License, they do not
271
excuse you from the conditions of this License.  If you cannot
272
distribute so as to satisfy simultaneously your obligations under this
273
License and any other pertinent obligations, then as a consequence you
274
may not distribute the Program at all.  For example, if a patent
275
license would not permit royalty-free redistribution of the Program by
276
all those who receive copies directly or indirectly through you, then
277
the only way you could satisfy both it and this License would be to
278
refrain entirely from distribution of the Program.
279

    
280
If any portion of this section is held invalid or unenforceable under
281
any particular circumstance, the balance of the section is intended to
282
apply and the section as a whole is intended to apply in other
283
circumstances.
284

    
285
It is not the purpose of this section to induce you to infringe any
286
patents or other property right claims or to contest validity of any
287
such claims; this section has the sole purpose of protecting the
288
integrity of the free software distribution system, which is
289
implemented by public license practices.  Many people have made
290
generous contributions to the wide range of software distributed
291
through that system in reliance on consistent application of that
292
system; it is up to the author/donor to decide if he or she is willing
293
to distribute software through any other system and a licensee cannot
294
impose that choice.
295

    
296
This section is intended to make thoroughly clear what is believed to
297
be a consequence of the rest of this License.
298

    
299

    
300
  8. If the distribution and/or use of the Program is restricted in
301
certain countries either by patents or by copyrighted interfaces, the
302
original copyright holder who places the Program under this License
303
may add an explicit geographical distribution limitation excluding
304
those countries, so that distribution is permitted only in or among
305
countries not thus excluded.  In such case, this License incorporates
306
the limitation as if written in the body of this License.
307

    
308

    
309
  9. The Free Software Foundation may publish revised and/or new
310
versions of the General Public License from time to time.  Such new
311
versions will be similar in spirit to the present version, but may
312
differ in detail to address new problems or concerns.
313

    
314
Each version is given a distinguishing version number.  If the Program
315
specifies a version number of this License which applies to it and
316
"any later version", you have the option of following the terms and
317
conditions either of that version or of any later version published by
318
the Free Software Foundation.  If the Program does not specify a
319
version number of this License, you may choose any version ever
320
published by the Free Software Foundation.
321

    
322
  10. If you wish to incorporate parts of the Program into other free
323
programs whose distribution conditions are different, write to the
324
author to ask for permission.  For software which is copyrighted by the
325
Free Software Foundation, write to the Free Software Foundation; we
326
sometimes make exceptions for this.  Our decision will be guided by the
327
two goals of preserving the free status of all derivatives of our free
328
software and of promoting the sharing and reuse of software generally.
329

    
330
                            NO WARRANTY
331

    
332
  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
333
WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
334
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
335
OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
336
EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
337
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
338
THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS
339
WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
340
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
341

    
342
  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
343
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
344
AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU
345
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
346
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
347
PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
348
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
349
FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF
350
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
351
DAMAGES.
352

    
353
                     END OF TERMS AND CONDITIONS
354

    
355
            How to Apply These Terms to Your New Programs
356

    
357
  If you develop a new program, and you want it to be of the greatest
358
possible use to the public, the best way to achieve this is to make it
359
free software which everyone can redistribute and change under these terms.
360

    
361
  To do so, attach the following notices to the program.  It is safest
362
to attach them to the start of each source file to most effectively
363
convey the exclusion of warranty; and each file should have at least
364
the "copyright" line and a pointer to where the full notice is found.
365

    
366
    <one line to give the program's name and a brief idea of what it does.>
367
    Copyright (C) <year>  <name of author>
368

    
369
    This program is free software; you can redistribute it and/or
370
    modify it under the terms of the GNU General Public License as
371
    published by the Free Software Foundation; either version 2 of
372

    
373
    the License, or (at your option) any later version.
374

    
375
    This program is distributed in the hope that it will be useful,
376
    but WITHOUT ANY WARRANTY; without even the implied warranty of
377
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
378
    GNU General Public License for more details.
379

    
380
    You should have received a copy of the GNU General Public License
381
    along with this program; if not, write to the Free Software
382
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
383
    02110-1301 USA.
384

    
385
Also add information on how to contact you by electronic and paper mail.
386

    
387
If the program is interactive, make it output a short notice like this
388
when it starts in an interactive mode:
389

    
390
    Gnomovision version 69, Copyright (C) year name of author
391
    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
392
    type 'show w'. This is free software, and you are welcome
393
    to redistribute it under certain conditions; type 'show c'
394
    for details.
395

    
396
The hypothetical commands 'show w' and 'show c' should show the
397
appropriate parts of the General Public License.  Of course, the
398
commands you use may be called something other than 'show w' and
399
'show c'; they could even be mouse-clicks or menu items--whatever
400
suits your program.
401

    
402
You should also get your employer (if you work as a programmer) or your
403
school, if any, to sign a "copyright disclaimer" for the program, if
404
necessary.  Here is a sample; alter the names:
405

    
406
  Yoyodyne, Inc., hereby disclaims all copyright interest in the
407
  program 'Gnomovision' (which makes passes at compilers) written
408
  by James Hacker.
409

    
410
  <signature of Ty Coon>, 1 April 1989
411
  Ty Coon, President of Vice
412

    
413
This General Public License does not permit incorporating your program
414
into proprietary programs.  If your program is a subroutine library,
415
you may consider it more useful to permit linking proprietary
416
applications with the library.  If this is what you want to do, use
417
the GNU Lesser General Public License instead of this License.
418

    
419
The Universal FOSS Exception, Version 1.0
420

    
421
   In addition to the rights set forth in the other license(s) included in
422
   the distribution for this software, data, and/or documentation
423
   (collectively the "Software", and such licenses collectively with this
424
   additional permission the "Software License"), the copyright holders
425
   wish to facilitate interoperability with other software, data, and/or
426
   documentation distributed with complete corresponding source under a
427
   license that is OSI-approved and/or categorized by the FSF as free
428
   (collectively "Other FOSS"). We therefore hereby grant the following
429
   additional permission with respect to the use and distribution of the
430
   Software with Other FOSS, and the constants, function signatures, data
431
   structures and other invocation methods used to run or interact with
432
   each of them (as to each, such software's "Interfaces"):
433
    i. The Software's Interfaces may, to the extent permitted by the
434
       license of the Other FOSS, be copied into, used and distributed in
435
       the Other FOSS in order to enable interoperability, without
436
       requiring a change to the license of the Other FOSS other than as
437
       to any Interfaces of the Software embedded therein. The Software's
438
       Interfaces remain at all times under the Software License,
439
       including without limitation as used in the Other FOSS (which upon
440
       any such use also then contains a portion of the Software under the
441
       Software License).
442
   ii. The Other FOSS's Interfaces may, to the extent permitted by the
443
       license of the Other FOSS, be copied into, used and distributed in
444
       the Software in order to enable interoperability, without requiring
445
       that such Interfaces be licensed under the terms of the Software
446
       License or otherwise altering their original terms, if this does
447
       not require any portion of the Software other than such Interfaces
448
       to be licensed under the terms other than the Software License.
449
   iii. If only Interfaces and no other code is copied between the
450
       Software and the Other FOSS in either direction, the use and/or
451
       distribution of the Software with the Other FOSS shall not be
452
       deemed to require that the Other FOSS be licensed under the license
453
       of the Software, other than as to any Interfaces of the Software
454
       copied into the Other FOSS. This includes, by way of example and
455
       without limitation, statically or dynamically linking the Software
456
       together with Other FOSS after enabling interoperability using the
457
       Interfaces of one or both, and distributing the resulting
458
       combination under different licenses for the respective portions
459
       thereof. For avoidance of doubt, a license which is OSI-approved or
460
       categorized by the FSF as free, includes, for the purpose of this
461
       permission, such licenses with additional permissions, and any
462
       license that has previously been so approved or categorized as
463
       free, even if now deprecated or otherwise no longer recognized as
464
       approved or free. Nothing in this additional permission grants any
465
       right to distribute any portion of the Software on terms other than
466
       those of the Software License or grants any additional permission
467
       of any kind for use or distribution of the Software in conjunction
468
       with software other than Other FOSS.
469

    
470
Licenses for Third-Party Components
471

    
472
   The following sections contain licensing information for libraries that
473
   we have included with the MySQL Connector/J 8.0 source and components
474
   used to test MySQL Connector/J 8.0. Commonly used licenses referenced
475
   herein can be found in Commonly Used Licenses. We are thankful to all
476
   individuals that have created these.
477

    
478
Ant-Contrib
479

    
480
   The following software may be included in this product:
481
Ant-Contrib
482
Copyright (c) 2001-2003 Ant-Contrib project. All rights reserved.
483
Licensed under the Apache 1.1 License Agreement, a copy of which is reproduced b
484
elow.
485

    
486
The Apache Software License, Version 1.1
487

    
488
Copyright (c) 2001-2003 Ant-Contrib project.  All rights reserved.
489

    
490
 Redistribution and use in source and binary forms, with or without
491
 modification, are permitted provided that the following conditions
492
 are met:
493

    
494

    
495
 1. Redistributions of source code must retain the above copyright
496
    notice, this list of conditions and the following disclaimer.
497

    
498

    
499
 2. Redistributions in binary form must reproduce the above copyright
500
    notice, this list of conditions and the following disclaimer in
501
    the documentation and/or other materials provided with the
502
    distribution.
503

    
504

    
505
 3. The end-user documentation included with the redistribution, if
506
    any, must include the following acknowlegement:
507
       "This product includes software developed by the
508
        Ant-Contrib project (http://sourceforge.net/projects/ant-contrib)."
509
    Alternately, this acknowlegement may appear in the software itself,
510
    if and wherever such third-party acknowlegements normally appear.
511

    
512

    
513
 4. The name Ant-Contrib must not be used to endorse or promote
514
    products derived from this software without prior written
515
    permission. For written permission, please contact
516
    ant-contrib-developers@lists.sourceforge.net.
517

    
518

    
519
 5. Products derived from this software may not be called "Ant-Contrib"
520
    nor may "Ant-Contrib" appear in their names without prior written
521
    permission of the Ant-Contrib project.
522

    
523
 THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
524
 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
525
 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
526
 DISCLAIMED.  IN NO EVENT SHALL THE ANT-CONTRIB PROJECT OR ITS
527
 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
528
 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
529
 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
530
 USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
531
 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
532
 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
533
 OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
534
 SUCH DAMAGE.
535

    
536
c3p0 JDBC Library
537

    
538
   This product may include a copy of c3p0-0.9.1-pre6.jar in both source
539
   and object code in the following /src/lib/c3p0-0.9.1-pre6.jar. The
540
   terms of the Oracle license do NOT apply to c3p0-0.9.1-pre6.jar; it is
541
   licensed under the following license, separately from the Oracle
542
   programs you receive. If you do not wish to install this library, you
543
   may remove the file /src/lib/c3p0-0.9.1-pre6.jar, but the Oracle
544
   program might not operate properly or at all without the library.
545

    
546
   This component is licensed under GNU Lesser General Public License
547
   Version 2.1, February 1999.
548

    
549
Google Protocol Buffers
550

    
551
   The following software may be included in this product:
552
Copyright 2008 Google Inc.  All rights reserved.
553

    
554
Redistribution and use in source and binary forms, with or without
555
modification, are permitted provided that the following conditions are
556
met:
557

    
558

    
559
    * Redistributions of source code must retain the above copyright
560
notice, this list of conditions and the following disclaimer.
561

    
562
    * Redistributions in binary form must reproduce the above
563
copyright notice, this list of conditions and the following disclaimer
564
in the documentation and/or other materials provided with the
565
distribution.
566

    
567
    * Neither the name of Google Inc. nor the names of its
568
contributors may be used to endorse or promote products derived from
569
this software without specific prior written permission.
570

    
571
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
572
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
573
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
574
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
575
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
576
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
577
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
578
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
579
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
580
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
581
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
582

    
583
Code generated by the Protocol Buffer compiler is owned by the owner
584
of the input file used when generating it.  This code is not
585
standalone and requires a support library to be linked with it.  This
586
support library is itself covered by the above license.
587

    
588
jboss-common-jdbc-wrapper.jar
589

    
590
   This product may include a copy of jboss-common-jdbc-wrapper.jar in
591
   both source and object code in the following
592
   /src/lib/jboss-common-jdbc-wrapper.jar. The terms of the Oracle license
593
   do NOT apply to jboss-common-jdbc-wrapper.jar; it is licensed under the
594
   following license, separately from the Oracle programs you receive. If
595
   you do not wish to install this library, you may remove the file
596
   /src/lib/jboss-common-jdbc-wrapper.jar, but the Oracle program might
597
   not operate properly or at all without the library.
598

    
599
   This component is licensed under GNU Lesser General Public License
600
   Version 2.1, February 1999.
601

    
602
NanoXML
603

    
604
   The following software may be included in this product:
605

    
606
   NanoXML
607

    
608
 * Copyright (C) 2000-2002 Marc De Scheemaecker, All Rights Reserved.
609
 *
610

    
611
 * This software is provided 'as-is', without any express or implied warranty.
612

    
613
 * In no event will the authors be held liable for any damages arising from the
614

    
615
 * use of this software.
616
 *
617

    
618
 * Permission is granted to anyone to use this software for any purpose,
619

    
620
 * including commercial applications, and to alter it and redistribute it
621

    
622
 * freely, subject to the following restrictions:
623
 *
624

    
625
 *  1. The origin of this software must not be misrepresented; you must not
626

    
627
 *     claim that you wrote the original software. If you use this software in
628

    
629
 *     a product, an acknowledgment in the product documentation would be
630

    
631
 *     appreciated but is not required.
632
 *
633

    
634
 *  2. Altered source versions must be plainly marked as such, and must not be
635

    
636
 *     misrepresented as being the original software.
637
 *
638

    
639
 *  3. This notice may not be removed or altered from any source distribution.
640
 *
641

    
642
rox.jar
643

    
644
   The following software may be included in this product:
645

    
646
   rox.jar
647
Copyright (c) 2006, James Greenfield
648
All rights reserved.
649

    
650
Redistribution and use in source and binary forms, with or without
651
modification, are permitted provided that the following conditions are met:
652

    
653

    
654
    * Redistributions of source code must retain the above copyright notice, thi
655
s
656
      list of conditions and the following disclaimer.
657

    
658
    * Redistributions in binary form must reproduce the above copyright notice,
659
      this list of conditions and the following disclaimer in the documentation
660
      and/or other materials provided with the distribution.
661

    
662
    * Neither the name of the <ORGANIZATION> nor the names of its contributors
663
      may be used to endorse or promote products derived from this software
664
      without specific prior written permission.
665

    
666
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
667
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIE
668
D
669
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
670
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
671
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
672
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVI
673
CES;
674
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
675
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
676
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
677
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
678

    
679
Simple Logging Facade for Java (SLF4J)
680

    
681
   The following software may be included in this product:
682
Simple Logging Facade for Java (SLF4J)
683

    
684
Copyright (c) 2004-2011 QOS.ch
685
All rights reserved.
686

    
687
Permission is hereby granted, free of charge,
688
to any person obtaining a copy of this software
689
and associated documentation files (the "Software"),
690
to deal in the Software without restriction, including
691
without limitation the rights to use, copy, modify,
692
merge, publish, distribute, sublicense, and/or sell
693
copies of the Software, and to permit persons to whom
694
the Software is furnished to do so, subject to the
695
following conditions:
696

    
697
The above copyright notice and this permission notice
698
shall be included in all copies or substantial portions
699
of the Software.
700

    
701
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY
702
OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
703
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
704
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
705
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
706
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
707
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
708
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
709
OR OTHER DEALINGS IN THE SOFTWARE.
710

    
711
Unicode Data Files
712

    
713
   The following software may be included in this product:
714

    
715
   Unicode Data Files
716
COPYRIGHT AND PERMISSION NOTICE
717

    
718
Copyright (c) 1991-2014 Unicode, Inc. All rights reserved. Distributed under
719
the Terms of Use in http://www.unicode.org/copyright.html.
720

    
721
Permission is hereby granted, free of charge, to any person obtaining a copy
722
of the Unicode data files and any associated documentation (the "Data Files")
723
or Unicode software and any associated documentation (the "Software") to deal
724
in the Data Files or Software without restriction, including without
725
limitation the rights to use, copy, modify, merge, publish, distribute,
726
and/or sell copies of the Data Files or Software, and to permit persons to
727
whom the Data Files or Software are furnished to do so, provided that (a) the
728
above copyright notice(s) and this permission notice appear with all copies
729
of the Data Files or Software, (b) both the above copyright notice(s) and
730
this permission notice appear in associated documentation, and (c) there is
731
clear notice in each modified Data File or in the Software as well as in the
732
documentation associated with the Data File(s) or Software that the data or
733
software has been modified.
734

    
735
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
736
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
737
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
738
THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
739
INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
740
CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
741
DATA OR
742
PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
743
ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE
744
DATA FILES OR SOFTWARE.
745

    
746
Except as contained in this notice, the name of a copyright holder shall not
747
be used in advertising or otherwise to promote the sale, use or other
748
dealings in these Data Files or Software without prior written authorization
749
of the copyright holder.
750

    
751
Commonly Used Licenses
752

    
753
Artistic License (Perl) 1.0
754

    
755
The "Artistic License"
756

    
757
Preamble
758

    
759
The intent of this document is to state the conditions under which a
760
Package may be copied, such that the Copyright Holder maintains some
761
semblance of artistic control over the development of the package,
762
while giving the users of the package the right to use and distribute
763
the Package in a more-or-less customary fashion, plus the right to make
764
reasonable modifications.
765

    
766
Definitions:
767

    
768
        "Package" refers to the collection of files distributed by the
769
        Copyright Holder, and derivatives of that collection of files
770
        created through textual modification.
771

    
772
        "Standard Version" refers to such a Package if it has not been
773
        modified, or has been modified in accordance with the wishes
774
        of the Copyright Holder as specified below.
775

    
776
        "Copyright Holder" is whoever is named in the copyright or
777
        copyrights for the package.
778

    
779
        "You" is you, if you're thinking about copying or distributing
780
        this Package.
781

    
782
        "Reasonable copying fee" is whatever you can justify on the
783
        basis of media cost, duplication charges, time of people involved,
784
        and so on.  (You will not be required to justify it to the
785
        Copyright Holder, but only to the computing community at large
786
        as a market that must bear the fee.)
787

    
788
        "Freely Available" means that no fee is charged for the item
789
        itself, though there may be fees involved in handling the item.
790
        It also means that recipients of the item may redistribute it
791
        under the same conditions they received it.
792

    
793
1. You may make and give away verbatim copies of the source form of the
794
Standard Version of this Package without restriction, provided that you
795
duplicate all of the original copyright notices and associated disclaimers.
796

    
797
2. You may apply bug fixes, portability fixes and other modifications
798
derived from the Public Domain or from the Copyright Holder.  A Package
799
modified in such a way shall still be considered the Standard Version.
800

    
801
3. You may otherwise modify your copy of this Package in any way, provided
802
that you insert a prominent notice in each changed file stating how and
803
when you changed that file, and provided that you do at least ONE of the
804
following:
805

    
806
    a) place your modifications in the Public Domain or otherwise make them
807
    Freely Available, such as by posting said modifications to Usenet or
808
    an equivalent medium, or placing the modifications on a major archive
809
    site such as uunet.uu.net, or by allowing the Copyright Holder to include
810
    your modifications in the Standard Version of the Package.
811

    
812
    b) use the modified Package only within your corporation or organization.
813

    
814
    c) rename any non-standard executables so the names do not conflict
815
    with standard executables, which must also be provided, and provide
816
    a separate manual page for each non-standard executable that clearly
817
    documents how it differs from the Standard Version.
818

    
819
    d) make other distribution arrangements with the Copyright Holder.
820

    
821
4. You may distribute the programs of this Package in object code or
822
executable form, provided that you do at least ONE of the following:
823

    
824
    a) distribute a Standard Version of the executables and library files,
825
    together with instructions (in the manual page or equivalent) on where
826
    to get the Standard Version.
827

    
828
    b) accompany the distribution with the machine-readable source of
829
    the Package with your modifications.
830

    
831
    c) give non-standard executables non-standard names, and clearly
832
    document the differences in manual pages (or equivalent), together
833
    with instructions on where to get the Standard Version.
834

    
835
    d) make other distribution arrangements with the Copyright Holder.
836

    
837
5. You may charge a reasonable copying fee for any distribution of this
838
Package.  You may charge any fee you choose for support of this
839
Package.  You may not charge a fee for this Package itself.  However,
840
you may distribute this Package in aggregate with other (possibly
841
commercial) programs as part of a larger (possibly commercial) software
842
distribution provided that you do not advertise this Package as a
843
product of your own.  You may embed this Package's interpreter within
844
an executable of yours (by linking); this shall be construed as a mere
845
form of aggregation, provided that the complete Standard Version of the
846
interpreter is so embedded.
847

    
848
6. The scripts and library files supplied as input to or produced as
849
output from the programs of this Package do not automatically fall
850
under the copyright of this Package, but belong to whoever generated
851
them, and may be sold commercially, and may be aggregated with this
852
Package.  If such scripts or library files are aggregated with this
853
Package via the so-called "undump" or "unexec" methods of producing a
854
binary executable image, then distribution of such an image shall
855
neither be construed as a distribution of this Package nor shall it
856
fall under the restrictions of Paragraphs 3 and 4, provided that you do
857
not represent such an executable image as a Standard Version of this
858
Package.
859

    
860
7. C subroutines (or comparably compiled subroutines in other
861
languages) supplied by you and linked into this Package in order to
862
emulate subroutines and variables of the language defined by this
863
Package shall not be considered part of this Package, but are the
864
equivalent of input as in Paragraph 6, provided these subroutines do
865
not change the language in any way that would cause it to fail the
866
regression tests for the language.
867

    
868
8. Aggregation of this Package with a commercial distribution is always
869
permitted provided that the use of this Package is embedded; that is,
870
when no overt attempt is made to make this Package's interfaces visible
871
to the end user of the commercial distribution.  Such use shall not be
872
construed as a distribution of this Package.
873

    
874
9. The name of the Copyright Holder may not be used to endorse or promote
875
products derived from this software without specific prior written
876
permission.
877

    
878
10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
879
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
880
WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
881

    
882
                                The End
883

    
884
GNU Lesser General Public License Version 2.1, February 1999
885

    
886
The following applies to all products licensed under the
887
GNU Lesser General Public License, Version 2.1: You may
888
not use the identified files except in compliance with
889
the GNU Lesser General Public License, Version 2.1 (the
890
"License"). You may obtain a copy of the License at
891
http://www.gnu.org/licenses/lgpl-2.1.html. A copy of the
892
license is also reproduced below. Unless required by
893
applicable law or agreed to in writing, software distributed
894
under the License is distributed on an "AS IS" BASIS,
895
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
896
or implied. See the License for the specific language governing
897
permissions and limitations under the License.
898

    
899
                  GNU LESSER GENERAL PUBLIC LICENSE
900
                       Version 2.1, February 1999
901

    
902
 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
903
 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
904
 Everyone is permitted to copy and distribute verbatim copies
905
 of this license document, but changing it is not allowed.
906

    
907
[This is the first released version of the Lesser GPL.  It also counts
908
 as the successor of the GNU Library Public License, version 2, hence
909
 the version number 2.1.]
910

    
911
                            Preamble
912

    
913
  The licenses for most software are designed to take away your
914
freedom to share and change it.  By contrast, the GNU General Public
915
Licenses are intended to guarantee your freedom to share and change
916
free software--to make sure the software is free for all its users.
917

    
918
  This license, the Lesser General Public License, applies to some
919
specially designated software packages--typically libraries--of the
920
Free Software Foundation and other authors who decide to use it.  You
921
can use it too, but we suggest you first think carefully about whether
922
this license or the ordinary General Public License is the better
923
strategy to use in any particular case, based on the explanations below.
924

    
925
  When we speak of free software, we are referring to freedom of use,
926
not price.  Our General Public Licenses are designed to make sure that
927
you have the freedom to distribute copies of free software (and charge
928
for this service if you wish); that you receive source code or can get
929
it if you want it; that you can change the software and use pieces of
930
it in new free programs; and that you are informed that you can do
931
these things.
932

    
933
  To protect your rights, we need to make restrictions that forbid
934
distributors to deny you these rights or to ask you to surrender these
935
rights.  These restrictions translate to certain responsibilities for
936
you if you distribute copies of the library or if you modify it.
937

    
938
  For example, if you distribute copies of the library, whether gratis
939
or for a fee, you must give the recipients all the rights that we gave
940
you.  You must make sure that they, too, receive or can get the source
941
code.  If you link other code with the library, you must provide
942
complete object files to the recipients, so that they can relink them
943
with the library after making changes to the library and recompiling
944
it.  And you must show them these terms so they know their rights.
945

    
946
  We protect your rights with a two-step method: (1) we copyright the
947
library, and (2) we offer you this license, which gives you legal
948
permission to copy, distribute and/or modify the library.
949

    
950
  To protect each distributor, we want to make it very clear that
951
there is no warranty for the free library.  Also, if the library is
952
modified by someone else and passed on, the recipients should know
953
that what they have is not the original version, so that the original
954
author's reputation will not be affected by problems that might be
955
introduced by others.
956

    
957
  Finally, software patents pose a constant threat to the existence of
958
any free program.  We wish to make sure that a company cannot
959
effectively restrict the users of a free program by obtaining a
960
restrictive license from a patent holder.  Therefore, we insist that
961
any patent license obtained for a version of the library must be
962
consistent with the full freedom of use specified in this license.
963

    
964
  Most GNU software, including some libraries, is covered by the
965
ordinary GNU General Public License.  This license, the GNU Lesser
966
General Public License, applies to certain designated libraries, and
967
is quite different from the ordinary General Public License.  We use
968
this license for certain libraries in order to permit linking those
969
libraries into non-free programs.
970

    
971
  When a program is linked with a library, whether statically or using
972
a shared library, the combination of the two is legally speaking a
973
combined work, a derivative of the original library.  The ordinary
974
General Public License therefore permits such linking only if the
975
entire combination fits its criteria of freedom.  The Lesser General
976
Public License permits more lax criteria for linking other code with
977
the library.
978

    
979
  We call this license the "Lesser" General Public License because it
980
does Less to protect the user's freedom than the ordinary General
981
Public License.  It also provides other free software developers Less
982
of an advantage over competing non-free programs.  These disadvantages
983
are the reason we use the ordinary General Public License for many
984
libraries.  However, the Lesser license provides advantages in certain
985
special circumstances.
986

    
987
  For example, on rare occasions, there may be a special need to
988
encourage the widest possible use of a certain library, so that it
989
becomes a de-facto standard.  To achieve this, non-free programs
990
must be allowed to use the library.  A more frequent case is that
991
a free library does the same job as widely used non-free libraries.
992
In this case, there is little to gain by limiting the free library
993
to free software only, so we use the Lesser General Public License.
994

    
995
  In other cases, permission to use a particular library in non-free
996
programs enables a greater number of people to use a large body of
997
free software.  For example, permission to use the GNU C Library in
998
non-free programs enables many more people to use the whole GNU
999
operating system, as well as its variant, the GNU/Linux operating
1000
system.
1001

    
1002
  Although the Lesser General Public License is Less protective of the
1003
users' freedom, it does ensure that the user of a program that is
1004
linked with the Library has the freedom and the wherewithal to run
1005
that program using a modified version of the Library.
1006

    
1007
  The precise terms and conditions for copying, distribution and
1008
modification follow.  Pay close attention to the difference between a
1009
"work based on the library" and a "work that uses the library".  The
1010
former contains code derived from the library, whereas the latter must
1011
be combined with the library in order to run.
1012

    
1013
                  GNU LESSER GENERAL PUBLIC LICENSE
1014
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1015

    
1016
  0. This License Agreement applies to any software library or other
1017
program which contains a notice placed by the copyright holder or
1018
other authorized party saying it may be distributed under the terms of
1019
this Lesser General Public License (also called "this License").
1020
Each licensee is addressed as "you".
1021

    
1022
  A "library" means a collection of software functions and/or data
1023
prepared so as to be conveniently linked with application programs
1024
(which use some of those functions and data) to form executables.
1025

    
1026
  The "Library", below, refers to any such software library or work
1027
which has been distributed under these terms.  A "work based on the
1028
Library" means either the Library or any derivative work under
1029
copyright law: that is to say, a work containing the Library or a
1030
portion of it, either verbatim or with modifications and/or translated
1031
straightforwardly into another language.  (Hereinafter, translation is
1032
included without limitation in the term "modification".)
1033

    
1034
  "Source code" for a work means the preferred form of the work for
1035
making modifications to it.  For a library, complete source code means
1036
all the source code for all modules it contains, plus any associated
1037
interface definition files, plus the scripts used to control
1038
compilation and installation of the library.
1039

    
1040
  Activities other than copying, distribution and modification are not
1041
covered by this License; they are outside its scope.  The act of
1042
running a program using the Library is not restricted, and output from
1043
such a program is covered only if its contents constitute a work based
1044
on the Library (independent of the use of the Library in a tool for
1045
writing it).  Whether that is true depends on what the Library does
1046
and what the program that uses the Library does.
1047

    
1048

    
1049
  1. You may copy and distribute verbatim copies of the Library's
1050
complete source code as you receive it, in any medium, provided that
1051
you conspicuously and appropriately publish on each copy an
1052
appropriate copyright notice and disclaimer of warranty; keep intact
1053
all the notices that refer to this License and to the absence of any
1054
warranty; and distribute a copy of this License along with the
1055
Library.
1056

    
1057
  You may charge a fee for the physical act of transferring a copy,
1058
and you may at your option offer warranty protection in exchange for a
1059
fee.
1060

    
1061

    
1062
  2. You may modify your copy or copies of the Library or any portion
1063
of it, thus forming a work based on the Library, and copy and
1064
distribute such modifications or work under the terms of Section 1
1065
above, provided that you also meet all of these conditions:
1066

    
1067
    a) The modified work must itself be a software library.
1068

    
1069
    b) You must cause the files modified to carry prominent notices
1070
    stating that you changed the files and the date of any change.
1071

    
1072
    c) You must cause the whole of the work to be licensed at no
1073
    charge to all third parties under the terms of this License.
1074

    
1075
    d) If a facility in the modified Library refers to a function or a
1076
    table of data to be supplied by an application program that uses
1077
    the facility, other than as an argument passed when the facility
1078
    is invoked, then you must make a good faith effort to ensure that,
1079
    in the event an application does not supply such function or
1080
    table, the facility still operates, and performs whatever part of
1081
    its purpose remains meaningful.
1082

    
1083
    (For example, a function in a library to compute square roots has
1084
    a purpose that is entirely well-defined independent of the
1085
    application.  Therefore, Subsection 2d requires that any
1086
    application-supplied function or table used by this function must
1087
    be optional: if the application does not supply it, the square
1088
    root function must still compute square roots.)
1089

    
1090
These requirements apply to the modified work as a whole.  If
1091
identifiable sections of that work are not derived from the Library,
1092
and can be reasonably considered independent and separate works in
1093
themselves, then this License, and its terms, do not apply to those
1094
sections when you distribute them as separate works.  But when you
1095
distribute the same sections as part of a whole which is a work based
1096
on the Library, the distribution of the whole must be on the terms of
1097
this License, whose permissions for other licensees extend to the
1098
entire whole, and thus to each and every part regardless of who wrote
1099
it.
1100

    
1101
Thus, it is not the intent of this section to claim rights or contest
1102
your rights to work written entirely by you; rather, the intent is to
1103
exercise the right to control the distribution of derivative or
1104
collective works based on the Library.
1105

    
1106
In addition, mere aggregation of another work not based on the Library
1107
with the Library (or with a work based on the Library) on a volume of
1108
a storage or distribution medium does not bring the other work under
1109
the scope of this License.
1110

    
1111

    
1112
  3. You may opt to apply the terms of the ordinary GNU General Public
1113
License instead of this License to a given copy of the Library.  To do
1114
this, you must alter all the notices that refer to this License, so
1115
that they refer to the ordinary GNU General Public License, version 2,
1116
instead of to this License.  (If a newer version than version 2 of the
1117
ordinary GNU General Public License has appeared, then you can specify
1118
that version instead if you wish.)  Do not make any other change in
1119
these notices.
1120

    
1121
  Once this change is made in a given copy, it is irreversible for
1122
that copy, so the ordinary GNU General Public License applies to all
1123
subsequent copies and derivative works made from that copy.
1124

    
1125
  This option is useful when you wish to copy part of the code of
1126
the Library into a program that is not a library.
1127

    
1128

    
1129
  4. You may copy and distribute the Library (or a portion or
1130
derivative of it, under Section 2) in object code or executable form
1131
under the terms of Sections 1 and 2 above provided that you accompany
1132
it with the complete corresponding machine-readable source code, which
1133
must be distributed under the terms of Sections 1 and 2 above on a
1134
medium customarily used for software interchange.
1135

    
1136
  If distribution of object code is made by offering access to copy
1137
from a designated place, then offering equivalent access to copy the
1138
source code from the same place satisfies the requirement to
1139
distribute the source code, even though third parties are not
1140
compelled to copy the source along with the object code.
1141

    
1142

    
1143
  5. A program that contains no derivative of any portion of the
1144
Library, but is designed to work with the Library by being compiled or
1145
linked with it, is called a "work that uses the Library".  Such a
1146
work, in isolation, is not a derivative work of the Library, and
1147
therefore falls outside the scope of this License.
1148

    
1149
  However, linking a "work that uses the Library" with the Library
1150
creates an executable that is a derivative of the Library (because it
1151
contains portions of the Library), rather than a "work that uses the
1152
library".  The executable is therefore covered by this License.
1153
Section 6 states terms for distribution of such executables.
1154

    
1155
  When a "work that uses the Library" uses material from a header file
1156
that is part of the Library, the object code for the work may be a
1157
derivative work of the Library even though the source code is not.
1158
Whether this is true is especially significant if the work can be
1159
linked without the Library, or if the work is itself a library.  The
1160
threshold for this to be true is not precisely defined by law.
1161

    
1162
  If such an object file uses only numerical parameters, data
1163
structure layouts and accessors, and small macros and small inline
1164
functions (ten lines or less in length), then the use of the object
1165
file is unrestricted, regardless of whether it is legally a derivative
1166
work.  (Executables containing this object code plus portions of the
1167
Library will still fall under Section 6.)
1168

    
1169
  Otherwise, if the work is a derivative of the Library, you may
1170
distribute the object code for the work under the terms of Section 6.
1171
Any executables containing that work also fall under Section 6,
1172
whether or not they are linked directly with the Library itself.
1173

    
1174

    
1175
  6. As an exception to the Sections above, you may also combine or
1176
link a "work that uses the Library" with the Library to produce a
1177
work containing portions of the Library, and distribute that work
1178
under terms of your choice, provided that the terms permit
1179
modification of the work for the customer's own use and reverse
1180
engineering for debugging such modifications.
1181

    
1182
  You must give prominent notice with each copy of the work that the
1183
Library is used in it and that the Library and its use are covered by
1184
this License.  You must supply a copy of this License.  If the work
1185
during execution displays copyright notices, you must include the
1186
copyright notice for the Library among them, as well as a reference
1187
directing the user to the copy of this License.  Also, you must do one
1188
of these things:
1189

    
1190
    a) Accompany the work with the complete corresponding
1191
    machine-readable source code for the Library including whatever
1192
    changes were used in the work (which must be distributed under
1193
    Sections 1 and 2 above); and, if the work is an executable linked
1194
    with the Library, with the complete machine-readable "work that
1195
    uses the Library", as object code and/or source code, so that the
1196
    user can modify the Library and then relink to produce a modified
1197
    executable containing the modified Library.  (It is understood
1198
    that the user who changes the contents of definitions files in the
1199
    Library will not necessarily be able to recompile the application
1200
    to use the modified definitions.)
1201

    
1202
    b) Use a suitable shared library mechanism for linking with the
1203
    Library.  A suitable mechanism is one that (1) uses at run time a
1204
    copy of the library already present on the user's computer system,
1205
    rather than copying library functions into the executable, and (2)
1206
    will operate properly with a modified version of the library, if
1207
    the user installs one, as long as the modified version is
1208
    interface-compatible with the version that the work was made with.
1209

    
1210
    c) Accompany the work with a written offer, valid for at
1211
    least three years, to give the same user the materials
1212
    specified in Subsection 6a, above, for a charge no more
1213
    than the cost of performing this distribution.
1214

    
1215
    d) If distribution of the work is made by offering access to copy
1216
    from a designated place, offer equivalent access to copy the above
1217
    specified materials from the same place.
1218

    
1219
    e) Verify that the user has already received a copy of these
1220
    materials or that you have already sent this user a copy.
1221

    
1222
  For an executable, the required form of the "work that uses the
1223
Library" must include any data and utility programs needed for
1224
reproducing the executable from it.  However, as a special exception,
1225
the materials to be distributed need not include anything that is
1226
normally distributed (in either source or binary form) with the major
1227
components (compiler, kernel, and so on) of the operating system on
1228
which the executable runs, unless that component itself accompanies
1229
the executable.
1230

    
1231
  It may happen that this requirement contradicts the license
1232
restrictions of other proprietary libraries that do not normally
1233
accompany the operating system.  Such a contradiction means you cannot
1234
use both them and the Library together in an executable that you
1235
distribute.
1236

    
1237

    
1238
  7. You may place library facilities that are a work based on the
1239
Library side-by-side in a single library together with other library
1240
facilities not covered by this License, and distribute such a combined
1241
library, provided that the separate distribution of the work based on
1242
the Library and of the other library facilities is otherwise
1243
permitted, and provided that you do these two things:
1244

    
1245
    a) Accompany the combined library with a copy of the same work
1246
    based on the Library, uncombined with any other library
1247
    facilities.  This must be distributed under the terms of the
1248
    Sections above.
1249

    
1250
    b) Give prominent notice with the combined library of the fact
1251
    that part of it is a work based on the Library, and explaining
1252
    where to find the accompanying uncombined form of the same work.
1253

    
1254

    
1255
  8. You may not copy, modify, sublicense, link with, or distribute
1256
the Library except as expressly provided under this License.  Any
1257
attempt otherwise to copy, modify, sublicense, link with, or
1258
distribute the Library is void, and will automatically terminate your
1259
rights under this License.  However, parties who have received copies,
1260
or rights, from you under this License will not have their licenses
1261
terminated so long as such parties remain in full compliance.
1262

    
1263

    
1264
  9. You are not required to accept this License, since you have not
1265
signed it.  However, nothing else grants you permission to modify or
1266
distribute the Library or its derivative works.  These actions are
1267
prohibited by law if you do not accept this License.  Therefore, by
1268
modifying or distributing the Library (or any work based on the
1269
Library), you indicate your acceptance of this License to do so, and
1270
all its terms and conditions for copying, distributing or modifying
1271
the Library or works based on it.
1272

    
1273
  10. Each time you redistribute the Library (or any work based on the
1274
Library), the recipient automatically receives a license from the
1275
original licensor to copy, distribute, link with or modify the Library
1276
subject to these terms and conditions.  You may not impose any further
1277
restrictions on the recipients' exercise of the rights granted herein.
1278
You are not responsible for enforcing compliance by third parties with
1279
this License.
1280

    
1281
  11. If, as a consequence of a court judgment or allegation of patent
1282
infringement or for any other reason (not limited to patent issues),
1283
conditions are imposed on you (whether by court order, agreement or
1284
otherwise) that contradict the conditions of this License, they do not
1285
excuse you from the conditions of this License.  If you cannot
1286
distribute so as to satisfy simultaneously your obligations under this
1287
License and any other pertinent obligations, then as a consequence you
1288
may not distribute the Library at all.  For example, if a patent
1289
license would not permit royalty-free redistribution of the Library by
1290
all those who receive copies directly or indirectly through you, then
1291
the only way you could satisfy both it and this License would be to
1292
refrain entirely from distribution of the Library.
1293

    
1294
If any portion of this section is held invalid or unenforceable under
1295
any particular circumstance, the balance of the section is intended
1296
to apply, and the section as a whole is intended to apply in other
1297
circumstances.
1298

    
1299
It is not the purpose of this section to induce you to infringe any
1300
patents or other property right claims or to contest validity of any
1301
such claims; this section has the sole purpose of protecting the
1302
integrity of the free software distribution system which is
1303
implemented by public license practices.  Many people have made
1304
generous contributions to the wide range of software distributed
1305
through that system in reliance on consistent application of that
1306
system; it is up to the author/donor to decide if he or she is willing
1307
to distribute software through any other system and a licensee cannot
1308
impose that choice.
1309

    
1310
This section is intended to make thoroughly clear what is believed to
1311
be a consequence of the rest of this License.
1312

    
1313
  12. If the distribution and/or use of the Library is restricted in
1314
certain countries either by patents or by copyrighted interfaces, the
1315
original copyright holder who places the Library under this License
1316
may add an explicit geographical distribution limitation excluding
1317
those countries, so that distribution is permitted only in or among
1318
countries not thus excluded.  In such case, this License incorporates
1319
the limitation as if written in the body of this License.
1320

    
1321
  13. The Free Software Foundation may publish revised and/or new
1322
versions of the Lesser General Public License from time to time.
1323
Such new versions will be similar in spirit to the present version,
1324
but may differ in detail to address new problems or concerns.
1325

    
1326
Each version is given a distinguishing version number.  If the Library
1327
specifies a version number of this License which applies to it and
1328
"any later version", you have the option of following the terms and
1329
conditions either of that version or of any later version published by
1330
the Free Software Foundation.  If the Library does not specify a
1331
license version number, you may choose any version ever published by
1332
the Free Software Foundation.
1333

    
1334
  14. If you wish to incorporate parts of the Library into other free
1335
programs whose distribution conditions are incompatible with these,
1336
write to the author to ask for permission.  For software which is
1337
copyrighted by the Free Software Foundation, write to the Free
1338
Software Foundation; we sometimes make exceptions for this.  Our
1339
decision will be guided by the two goals of preserving the free status
1340
of all derivatives of our free software and of promoting the sharing
1341
and reuse of software generally.
1342

    
1343
                            NO WARRANTY
1344

    
1345
  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
1346
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
1347
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
1348
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
1349
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
1350
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1351
PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
1352
LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
1353
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
1354

    
1355
  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
1356
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
1357
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
1358
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
1359
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
1360
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
1361
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
1362
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
1363
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
1364
DAMAGES.
1365

    
1366
                     END OF TERMS AND CONDITIONS
1367

    
1368
           How to Apply These Terms to Your New Libraries
1369

    
1370
  If you develop a new library, and you want it to be of the greatest
1371
possible use to the public, we recommend making it free software that
1372
everyone can redistribute and change.  You can do so by permitting
1373
redistribution under these terms (or, alternatively, under the terms
1374
of the ordinary General Public License).
1375

    
1376
  To apply these terms, attach the following notices to the library.
1377
It is safest to attach them to the start of each source file to most
1378
effectively convey the exclusion of warranty; and each file should
1379
have at least the "copyright" line and a pointer to where the full
1380
notice is found.
1381

    
1382
    <one line to give the library's name and a brief idea of what it does.>
1383
    Copyright (C) <year>  <name of author>
1384

    
1385
    This library is free software; you can redistribute it and/or
1386
    modify it under the terms of the GNU Lesser General Public
1387
    License as published by the Free Software Foundation; either
1388
    version 2.1 of the License, or (at your option) any later version.
1389

    
1390
    This library is distributed in the hope that it will be useful,
1391
    but WITHOUT ANY WARRANTY; without even the implied warranty of
1392
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
1393
    Lesser General Public License for more details.
1394

    
1395
    You should have received a copy of the GNU Lesser General Public
1396
    License along with this library; if not, write to the Free Software
1397
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
1398
    02110-1301  USA
1399

    
1400
Also add information on how to contact you by electronic and paper mail.
1401

    
1402
You should also get your employer (if you work as a programmer) or your
1403
school, if any, to sign a "copyright disclaimer" for the library, if
1404
necessary.  Here is a sample; alter the names:
1405

    
1406
  Yoyodyne, Inc., hereby disclaims all copyright interest in the
1407
  library `Frob' (a library for tweaking knobs) written by James
1408
  Random Hacker.
1409

    
1410
  <signature of Ty Coon>, 1 April 1990
1411
  Ty Coon, President of Vice
1412

    
1413
That's all there is to it!
1414

    
1415
GNU Lesser General Public License Version 2, June 1991
1416

    
1417
GNU LIBRARY GENERAL PUBLIC LICENSE
1418

    
1419
Version 2, June 1991
1420

    
1421
Copyright (C) 1991 Free Software Foundation, Inc.
1422
51 Franklin St, Fifth Floor, Boston, MA  02110-1301, USA
1423
Everyone is permitted to copy and distribute verbatim copies
1424
of this license document, but changing it is not allowed.
1425

    
1426
[This is the first released version of the library GPL.  It is numbered 2
1427
because it goes with version 2 of the ordinary GPL.]
1428

    
1429
Preamble
1430

    
1431
The licenses for most software are designed to take away your freedom to
1432
share and change it. By contrast, the GNU General Public Licenses are
1433
intended to guarantee your freedom to share and change free software--to make
1434
sure the software is free for all its users.
1435

    
1436
This license, the Library General Public License, applies to some specially
1437
designated Free Software Foundation software, and to any other libraries
1438
whose authors decide to use it. You can use it for your libraries, too.
1439

    
1440
When we speak of free software, we are referring to freedom, not price. Our
1441
General Public Licenses are designed to make sure that you have the freedom
1442
to distribute copies of free software (and charge for this service if you
1443
wish), that you receive source code or can get it if you want it, that you
1444
can change the software or use pieces of it in new free programs; and that
1445
you know you can do these things.
1446

    
1447
To protect your rights, we need to make restrictions that forbid anyone to
1448
deny you these rights or to ask you to surrender the rights. These
1449
restrictions translate to certain responsibilities for you if you distribute
1450
copies of the library, or if you modify it.
1451

    
1452
For example, if you distribute copies of the library, whether gratis or for a
1453
fee, you must give the recipients all the rights that we gave you. You must
1454
make sure that they, too, receive or can get the source code. If you link a
1455
program with the library, you must provide complete object files to the
1456
recipients so that they can relink them with the library, after making
1457
changes to the library and recompiling it. And you must show them these terms
1458
so they know their rights.
1459

    
1460
Our method of protecting your rights has two steps: (1) copyright the
1461
library, and (2) offer you this license which gives you legal permission to
1462
copy, distribute and/or modify the library.
1463

    
1464
Also, for each distributor's protection, we want to make certain that
1465
everyone understands that there is no warranty for this free library. If the
1466
library is modified by someone else and passed on, we want its recipients to
1467
know that what they have is not the original version, so that any problems
1468
introduced by others will not reflect on the original authors' reputations.
1469

    
1470
Finally, any free program is threatened constantly by software patents. We
1471
wish to avoid the danger that companies distributing free software will
1472
individually obtain patent licenses, thus in effect transforming the program
1473
into proprietary software. To prevent this, we have made it clear that any
1474
patent must be licensed for everyone's free use or not licensed at all.
1475

    
1476
Most GNU software, including some libraries, is covered by the ordinary GNU
1477
General Public License, which was designed for utility programs. This
1478
license, the GNU Library General Public License, applies to certain
1479
designated libraries. This license is quite different from the ordinary one;
1480
be sure to read it in full, and don't assume that anything in it is the same
1481
as in the ordinary license.
1482

    
1483
The reason we have a separate public license for some libraries is that they
1484
blur the distinction we usually make between modifying or adding to a program
1485
and simply using it. Linking a program with a library, without changing the
1486
library, is in some sense simply using the library, and is analogous to
1487
running a utility program or application program. However, in a textual and
1488
legal sense, the linked executable is a combined work, a derivative of the
1489
original library, and the ordinary General Public License treats it as such.
1490

    
1491
Because of this blurred distinction, using the ordinary General Public
1492
License for libraries did not effectively promote software sharing, because
1493
most developers did not use the libraries. We concluded that weaker
1494
conditions might promote sharing better.
1495

    
1496
However, unrestricted linking of non-free programs would deprive the users of
1497
those programs of all benefit from the free status of the libraries
1498
themselves. This Library General Public License is intended to permit
1499
developers of non-free programs to use free libraries, while preserving your
1500
freedom as a user of such programs to change the free libraries that are
1501
incorporated in them. (We have not seen how to achieve this as regards
1502
changes in header files, but we have achieved it as regards changes in the
1503
actual functions of the Library.) The hope is that this will lead to faster
1504
development of free libraries.
1505

    
1506
The precise terms and conditions for copying, distribution and modification
1507
follow. Pay close attention to the difference between a "work based on the
1508
library" and a "work that uses the library". The former contains code derived
1509
from the library, while the latter only works together with the library.
1510

    
1511
Note that it is possible for a library to be covered by the ordinary General
1512
Public License rather than by this special one.
1513

    
1514
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1515

    
1516
0. This License Agreement applies to any software library which contains a
1517
notice placed by the copyright holder or other authorized party saying it may
1518
be distributed under the terms of this Library General Public License (also
1519
called "this License"). Each licensee is addressed as "you".
1520

    
1521
A "library" means a collection of software functions and/or data prepared so
1522
as to be conveniently linked with application programs (which use some of
1523
those functions and data) to form executables.
1524

    
1525
The "Library", below, refers to any such software library or work which has
1526
been distributed under these terms. A "work based on the Library" means
1527
either the Library or any derivative work under copyright law: that is to
1528
say, a work containing the Library or a portion of it, either verbatim or
1529
with modifications and/or translated straightforwardly into another language.
1530
(Hereinafter, translation is included without limitation in the term
1531
"modification".)
1532

    
1533
"Source code" for a work means the preferred form of the work for making
1534
modifications to it. For a library, complete source code means all the source
1535
code for all modules it contains, plus any associated interface definition
1536
files, plus the scripts used to control compilation and installation of the
1537
library.
1538

    
1539
Activities other than copying, distribution and modification are not covered
1540
by this License; they are outside its scope. The act of running a program
1541
using the Library is not restricted, and output from such a program is
1542
covered only if its contents constitute a work based on the Library
1543
(independent of the use of the Library in a tool for writing it). Whether
1544
that is true depends on what the Library does and what the program that uses
1545
the Library does.
1546

    
1547
1. You may copy and distribute verbatim copies of the Library's complete
1548
source code as you receive it, in any medium, provided that you conspicuously
1549
and appropriately publish on each copy an appropriate copyright notice and
1550
disclaimer of warranty; keep intact all the notices that refer to this
1551
License and to the absence of any warranty; and distribute a copy of this
1552
License along with the Library.
1553

    
1554
You may charge a fee for the physical act of transferring a copy, and you may
1555
at your option offer warranty protection in exchange for a fee.
1556

    
1557
2. You may modify your copy or copies of the Library or any portion of it,
1558
thus forming a work based on the Library, and copy and distribute such
1559
modifications or work under the terms of Section 1 above, provided that you
1560
also meet all of these conditions:
1561

    
1562
    a) The modified work must itself be a software library.
1563
    b) You must cause the files modified to carry prominent notices stating
1564
that you changed the files and the date of any change.
1565
    c) You must cause the whole of the work to be licensed at no charge to
1566
all third parties under the terms of this License.
1567
    d) If a facility in the modified Library refers to a function or a table
1568
of data to be supplied by an application program that uses the facility,
1569
other than as an argument passed when the facility is invoked, then you must
1570
make a good faith effort to ensure that, in the event an application does not
1571
supply such function or table, the facility still operates, and performs
1572
whatever part of its purpose remains meaningful.
1573

    
1574
    (For example, a function in a library to compute square roots has a
1575
purpose that is entirely well-defined independent of the application.
1576
Therefore, Subsection 2d requires that any application-supplied function or
1577
table used by this function must be optional: if the application does not
1578
supply it, the square root function must still compute square roots.)
1579

    
1580
These requirements apply to the modified work as a whole. If identifiable
1581
sections of that work are not derived from the Library, and can be reasonably
1582
considered independent and separate works in themselves, then this License,
1583
and its terms, do not apply to those sections when you distribute them as
1584
separate works. But when you distribute the same sections as part of a whole
1585
which is a work based on the Library, the distribution of the whole must be
1586
on the terms of this License, whose permissions for other licensees extend to
1587
the entire whole, and thus to each and every part regardless of who wrote it.
1588

    
1589
Thus, it is not the intent of this section to claim rights or contest your
1590
rights to work written entirely by you; rather, the intent is to exercise the
1591
right to control the distribution of derivative or collective works based on
1592
the Library.
1593

    
1594
In addition, mere aggregation of another work not based on the Library with
1595
the Library (or with a work based on the Library) on a volume of a storage or
1596
distribution medium does not bring the other work under the scope of this
1597
License.
1598

    
1599
3. You may opt to apply the terms of the ordinary GNU General Public License
1600
instead of this License to a given copy of the Library. To do this, you must
1601
alter all the notices that refer to this License, so that they refer to the
1602
ordinary GNU General Public License, version 2, instead of to this License.
1603
(If a newer version than version 2 of the ordinary GNU General Public License
1604
has appeared, then you can specify that version instead if you wish.) Do not
1605
make any other change in these notices.
1606

    
1607
Once this change is made in a given copy, it is irreversible for that copy,
1608
so the ordinary GNU General Public License applies to all subsequent copies
1609
and derivative works made from that copy.
1610

    
1611
This option is useful when you wish to copy part of the code of the Library
1612
into a program that is not a library.
1613

    
1614
4. You may copy and distribute the Library (or a portion or derivative of it,
1615
under Section 2) in object code or executable form under the terms of
1616
Sections 1 and 2 above provided that you accompany it with the complete
1617
corresponding machine-readable source code, which must be distributed under
1618
the terms of Sections 1 and 2 above on a medium customarily used for software
1619
interchange.
1620

    
1621
If distribution of object code is made by offering access to copy from a
1622
designated place, then offering equivalent access to copy the source code
1623
from the same place satisfies the requirement to distribute the source code,
1624
even though third parties are not compelled to copy the source along with the
1625
object code.
1626

    
1627
5. A program that contains no derivative of any portion of the Library, but
1628
is designed to work with the Library by being compiled or linked with it, is
1629
called a "work that uses the Library". Such a work, in isolation, is not a
1630
derivative work of the Library, and therefore falls outside the scope of this
1631
License.
1632

    
1633
However, linking a "work that uses the Library" with the Library creates an
1634
executable that is a derivative of the Library (because it contains portions
1635
of the Library), rather than a "work that uses the library". The executable
1636
is therefore covered by this License. Section 6 states terms for distribution
1637
of such executables.
1638

    
1639
When a "work that uses the Library" uses material from a header file that is
1640
part of the Library, the object code for the work may be a derivative work of
1641
the Library even though the source code is not. Whether this is true is
1642
especially significant if the work can be linked without the Library, or if
1643
the work is itself a library. The threshold for this to be true is not
1644
precisely defined by law.
1645

    
1646
If such an object file uses only numerical parameters, data structure layouts
1647
and accessors, and small macros and small inline functions (ten lines or less
1648
in length), then the use of the object file is unrestricted, regardless of
1649
whether it is legally a derivative work. (Executables containing this object
1650
code plus portions of the Library will still fall under Section 6.)
1651

    
1652
Otherwise, if the work is a derivative of the Library, you may distribute the
1653
object code for the work under the terms of Section 6. Any executables
1654
containing that work also fall under Section 6, whether or not they are
1655
linked directly with the Library itself.
1656

    
1657
6. As an exception to the Sections above, you may also compile or link a
1658
"work that uses the Library" with the Library to produce a work containing
1659
portions of the Library, and distribute that work under terms of your choice,
1660
provided that the terms permit modification of the work for the customer's
1661
own use and reverse engineering for debugging such modifications.
1662

    
1663
You must give prominent notice with each copy of the work that the Library is
1664
used in it and that the Library and its use are covered by this License. You
1665
must supply a copy of this License. If the work during execution displays
1666
copyright notices, you must include the copyright notice for the Library
1667
among them, as well as a reference directing the user to the copy of this
1668
License. Also, you must do one of these things:
1669

    
1670
    a) Accompany the work with the complete corresponding machine-readable
1671
source code for the Library including whatever changes were used in the work
1672
(which must be distributed under Sections 1 and 2 above); and, if the work is
1673
an executable linked with the Library, with the complete machine-readable
1674
"work that uses the Library", as object code and/or source code, so that the
1675
user can modify the Library and then relink to produce a modified executable
1676
containing the modified Library. (It is understood that the user who changes
1677
the contents of definitions files in the Library will not necessarily be able
1678
to recompile the application to use the modified definitions.)
1679
    b) Accompany the work with a written offer, valid for at least three
1680
years, to give the same user the materials specified in Subsection 6a, above,
1681
for a charge no more than the cost of performing this distribution.
1682
    c) If distribution of the work is made by offering access to copy from a
1683
designated place, offer equivalent access to copy the above specified
1684
materials from the same place.
1685
    d) Verify that the user has already received a copy of these materials or
1686
that you have already sent this user a copy.
1687

    
1688
For an executable, the required form of the "work that uses the Library" must
1689
include any data and utility programs needed for reproducing the executable
1690
from it. However, as a special exception, the source code distributed need
1691
not include anything that is normally distributed (in either source or binary
1692
form) with the major components (compiler, kernel, and so on) of the
1693
operating system on which the executable runs, unless that component itself
1694
accompanies the executable.
1695

    
1696
It may happen that this requirement contradicts the license restrictions of
1697
other proprietary libraries that do not normally accompany the operating
1698
system. Such a contradiction means you cannot use both them and the Library
1699
together in an executable that you distribute.
1700

    
1701
7. You may place library facilities that are a work based on the Library
1702
side-by-side in a single library together with other library facilities not
1703
covered by this License, and distribute such a combined library, provided
1704
that the separate distribution of the work based on the Library and of the
1705
other library facilities is otherwise permitted, and provided that you do
1706
these two things:
1707

    
1708
    a) Accompany the combined library with a copy of the same work based on
1709
the Library, uncombined with any other library facilities. This must be
1710
distributed under the terms of the Sections above.
1711
    b) Give prominent notice with the combined library of the fact that part
1712
of it is a work based on the Library, and explaining where to find the
1713
accompanying uncombined form of the same work.
1714

    
1715
8. You may not copy, modify, sublicense, link with, or distribute the Library
1716
except as expressly provided under this License. Any attempt otherwise to
1717
copy, modify, sublicense, link with, or distribute the Library is void, and
1718
will automatically terminate your rights under this License. However, parties
1719
who have received copies, or rights, from you under this License will not
1720
have their licenses terminated so long as such parties remain in full
1721
compliance.
1722

    
1723
9. You are not required to accept this License, since you have not signed it.
1724
However, nothing else grants you permission to modify or distribute the
1725
Library or its derivative works. These actions are prohibited by law if you
1726
do not accept this License. Therefore, by modifying or distributing the
1727
Library (or any work based on the Library), you indicate your acceptance of
1728
this License to do so, and all its terms and conditions for copying,
1729
distributing or modifying the Library or works based on it.
1730

    
1731
10. Each time you redistribute the Library (or any work based on the
1732
Library), the recipient automatically receives a license from the original
1733
licensor to copy, distribute, link with or modify the Library subject to
1734
these terms and conditions. You may not impose any further restrictions on
1735
the recipients' exercise of the rights granted herein. You are not
1736
responsible for enforcing compliance by third parties to this License.
1737

    
1738
11. If, as a consequence of a court judgment or allegation of patent
1739
infringement or for any other reason (not limited to patent issues),
1740
conditions are imposed on you (whether by court order, agreement or
1741
otherwise) that contradict the conditions of this License, they do not excuse
1742
you from the conditions of this License. If you cannot distribute so as to
1743
satisfy simultaneously your obligations under this License and any other
1744
pertinent obligations, then as a consequence you may not distribute the
1745
Library at all. For example, if a patent license would not permit
1746
royalty-free redistribution of the Library by all those who receive copies
1747
directly or indirectly through you, then the only way you could satisfy both
1748
it and this License would be to refrain entirely from distribution of the
1749
Library.
1750

    
1751
If any portion of this section is held invalid or unenforceable under any
1752
particular circumstance, the balance of the section is intended to apply, and
1753
the section as a whole is intended to apply in other circumstances.
1754

    
1755
It is not the purpose of this section to induce you to infringe any patents
1756
or other property right claims or to contest validity of any such claims;
1757
this section has the sole purpose of protecting the integrity of the free
1758
software distribution system which is implemented by public license
1759
practices. Many people have made generous contributions to the wide range of
1760
software distributed through that system in reliance on consistent
1761
application of that system; it is up to the author/donor to decide if he or
1762
she is willing to distribute software through any other system and a licensee
1763
cannot impose that choice.
1764

    
1765
This section is intended to make thoroughly clear what is believed to be a
1766
consequence of the rest of this License.
1767

    
1768
12. If the distribution and/or use of the Library is restricted in certain
1769
countries either by patents or by copyrighted interfaces, the original
1770
copyright holder who places the Library under this License may add an
1771
explicit geographical distribution limitation excluding those countries, so
1772
that distribution is permitted only in or among countries not thus excluded.
1773
In such case, this License incorporates the limitation as if written in the
1774
body of this License.
1775

    
1776
13. The Free Software Foundation may publish revised and/or new versions of
1777
the Library General Public License from time to time. Such new versions will
1778
be similar in spirit to the present version, but may differ in detail to
1779
address new problems or concerns.
1780

    
1781
Each version is given a distinguishing version number. If the Library
1782
specifies a version number of this License which applies to it and "any later
1783
version", you have the option of following the terms and conditions either of
1784
that version or of any later version published by the Free Software
1785
Foundation. If the Library does not specify a license version number, you may
1786
choose any version ever published by the Free Software Foundation.
1787

    
1788
14. If you wish to incorporate parts of the Library into other free programs
1789
whose distribution conditions are incompatible with these, write to the
1790
author to ask for permission. For software which is copyrighted by the Free
1791
Software Foundation, write to the Free Software Foundation; we sometimes make
1792
exceptions for this. Our decision will be guided by the two goals of
1793
preserving the free status of all derivatives of our free software and of
1794
promoting the sharing and reuse of software generally.
1795

    
1796
NO WARRANTY
1797

    
1798
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
1799
THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
1800
STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE
1801
LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
1802
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
1803
FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
1804
PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE,
1805
YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
1806

    
1807
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
1808
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
1809
REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
1810
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
1811
OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO
1812
LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR
1813
THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER
1814
SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
1815
POSSIBILITY OF SUCH DAMAGES.
1816
END OF TERMS AND CONDITIONS
1817
How to Apply These Terms to Your New Libraries
1818

    
1819
If you develop a new library, and you want it to be of the greatest possible
1820
use to the public, we recommend making it free software that everyone can
1821
redistribute and change. You can do so by permitting redistribution under
1822
these terms (or, alternatively, under the terms of the ordinary General
1823
Public License).
1824

    
1825
To apply these terms, attach the following notices to the library. It is
1826
safest to attach them to the start of each source file to most effectively
1827
convey the exclusion of warranty; and each file should have at least the
1828
"copyright" line and a pointer to where the full notice is found.
1829

    
1830
one line to give the library's name and an idea of what it does.
1831
Copyright (C) year  name of author
1832

    
1833
This library is free software; you can redistribute it and/or
1834
modify it under the terms of the GNU Library General Public
1835
License as published by the Free Software Foundation; either
1836
version 2 of the License, or (at your option) any later version.
1837

    
1838
This library is distributed in the hope that it will be useful,
1839
but WITHOUT ANY WARRANTY; without even the implied warranty of
1840
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
1841
Library General Public License for more details.
1842

    
1843
You should have received a copy of the GNU Library General Public
1844
License along with this library; if not, write to the
1845
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
1846
Boston, MA  02110-1301, USA.
1847

    
1848
Also add information on how to contact you by electronic and paper mail.
1849

    
1850
You should also get your employer (if you work as a programmer) or your
1851
school, if any, to sign a "copyright disclaimer" for the library, if
1852
necessary. Here is a sample; alter the names:
1853

    
1854
Yoyodyne, Inc., hereby disclaims all copyright interest in
1855
the library `Frob' (a library for tweaking knobs) written
1856
by James Random Hacker.
1857

    
1858
signature of Ty Coon, 1 April 1990
1859
Ty Coon, President of Vice
1860

    
1861
That's all there is to it!
1862

    
1863
MIT License
1864

    
1865
Permission is hereby granted, free of charge, to any person obtaining a
1866
copy of this software and associated documentation files (the "Software"),
1867
to deal in the Software without restriction, including without limitation
1868
the rights to use, copy, modify, merge, publish, distribute, sublicense,
1869
and/or sell copies of the Software, and to permit persons to whom the
1870
Software is furnished to do so, subject to the following conditions:
1871

    
1872
The above copyright notice and this permission notice shall be included
1873
in all copies or substantial portions of the Software.
1874

    
1875
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
1876
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1877
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
1878
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
1879
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
1880
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
1881
OTHER DEALINGS IN THE SOFTWARE.
1882

    
1883
Written Offer for Source Code
1884

    
1885
   For any software that you receive from Oracle in binary form which is
1886
   licensed under an open source license that gives you the right to
1887
   receive the source code for that binary, you can obtain a copy of the
1888
   applicable source code by visiting
1889
   http://www.oracle.com/goto/opensourcecode. If the source code for the
1890
   binary was not provided to you with the binary, you can also receive a
1891
   copy of the source code on physical media by submitting a written
1892
   request to the address listed below or by sending an email to Oracle
1893
   using the following link:
1894
   http://www.oracle.com/goto/opensourcecode/request.
1895
  Oracle America, Inc.
1896
  Attn: Senior Vice President
1897
  Development and Engineering Legal
1898
  500 Oracle Parkway, 10th Floor
1899
  Redwood Shores, CA 94065
1900

    
1901
   Your request should include:
1902

    
1903
     * The name of the binary for which you are requesting the source code
1904

    
1905
     * The name and version number of the Oracle product containing the
1906
       binary
1907

    
1908
     * The date you received the Oracle product
1909

    
1910
     * Your name
1911

    
1912
     * Your company name (if applicable)
1913

    
1914
     * Your return mailing address and email, and
1915

    
1916
     * A telephone number in the event we need to reach you.
1917

    
1918
   We may charge you a fee to cover the cost of physical media and
1919
   processing.
1920

    
1921
   Your request must be sent
1922
    a. within three (3) years of the date you received the Oracle product
1923
       that included the binary that is the subject of your request, or
1924
    b. in the case of code licensed under the GPL v3 for as long as Oracle
1925
       offers spare parts or customer support for that product model.
(2-2/7)