Projekt

Obecné

Profil

Stáhnout (95 KB) Statistiky
| Větev: | Tag: | Revize:
1
MySQL JDBC
2

    
3
https://dev.mysql.com/downloads/connector/j/
4

    
5
Licensing Information User Manual
6

    
7
MySQL Connector/J 8.0
8
     __________________________________________________________________
9

    
10
Introduction
11

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

    
17
   Last updated: December 2019
18

    
19
Licensing Information
20

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

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

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

    
40
   Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights
41
   reserved.
42

    
43
Election of GPLv2
44

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

    
53
GNU General Public License Version 2.0, June 1991
54

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

    
66
GNU GENERAL PUBLIC LICENSE
67
Version 2, June 1991
68

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

    
75
                     Preamble
76

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

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

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

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

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

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

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

    
122
  The precise terms and conditions for copying, distribution and
123
modification follow.
124

    
125
                    GNU GENERAL PUBLIC LICENSE
126
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
127

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

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

    
145

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

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

    
157

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

    
163
    a) You must cause the modified files to carry prominent notices
164
    stating that you changed the files and the date of any change.
165

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

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

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

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

    
197
In addition, mere aggregation of another work not based on the Program
198
with the Program (or with a work based on the Program) on a volume of
199
a storage or distribution medium does not bring the other work under
200
the scope of this License.
201

    
202

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

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

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

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

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

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

    
242

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

    
251

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

    
261

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

    
270

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

    
284
If any portion of this section is held invalid or unenforceable under
285
any particular circumstance, the balance of the section is intended to
286
apply and the section as a whole is intended to apply in other
287
circumstances.
288

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

    
300
This section is intended to make thoroughly clear what is believed to
301
be a consequence of the rest of this License.
302

    
303

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

    
312

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

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

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

    
334
                            NO WARRANTY
335

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

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

    
357
                     END OF TERMS AND CONDITIONS
358

    
359
            How to Apply These Terms to Your New Programs
360

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

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

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

    
373
    This program is free software; you can redistribute it and/or
374
    modify it under the terms of the GNU General Public License as
375
    published by the Free Software Foundation; either version 2 of
376

    
377
    the License, or (at your option) any later version.
378

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

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

    
389
Also add information on how to contact you by electronic and paper mail.
390

    
391
If the program is interactive, make it output a short notice like this
392
when it starts in an interactive mode:
393

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

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

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

    
410
  Yoyodyne, Inc., hereby disclaims all copyright interest in the
411
  program 'Gnomovision' (which makes passes at compilers) written
412
  by James Hacker.
413

    
414
  <signature of Ty Coon>, 1 April 1989
415
  Ty Coon, President of Vice
416

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

    
423
The Universal FOSS Exception, Version 1.0
424

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

    
474
Licenses for Third-Party Components
475

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

    
482
Ant-Contrib
483

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

    
490
The Apache Software License, Version 1.1
491

    
492
Copyright (c) 2001-2003 Ant-Contrib project.  All rights reserved.
493

    
494
 Redistribution and use in source and binary forms, with or without
495
 modification, are permitted provided that the following conditions
496
 are met:
497

    
498

    
499
 1. Redistributions of source code must retain the above copyright
500
    notice, this list of conditions and the following disclaimer.
501

    
502

    
503
 2. Redistributions in binary form must reproduce the above copyright
504
    notice, this list of conditions and the following disclaimer in
505
    the documentation and/or other materials provided with the
506
    distribution.
507

    
508

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

    
516

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

    
522

    
523
 5. Products derived from this software may not be called "Ant-Contrib"
524
    nor may "Ant-Contrib" appear in their names without prior written
525
    permission of the Ant-Contrib project.
526

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

    
540
c3p0 JDBC Library
541

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

    
550
   This component is licensed under GNU Lesser General Public License
551
   Version 2.1, February 1999.
552

    
553
Google Protocol Buffers
554

    
555
   The following software may be included in this product:
556
Copyright 2008 Google Inc.  All rights reserved.
557

    
558
Redistribution and use in source and binary forms, with or without
559
modification, are permitted provided that the following conditions are
560
met:
561

    
562

    
563
    * Redistributions of source code must retain the above copyright
564
notice, this list of conditions and the following disclaimer.
565

    
566
    * Redistributions in binary form must reproduce the above
567
copyright notice, this list of conditions and the following disclaimer
568
in the documentation and/or other materials provided with the
569
distribution.
570

    
571
    * Neither the name of Google Inc. nor the names of its
572
contributors may be used to endorse or promote products derived from
573
this software without specific prior written permission.
574

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

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

    
592
jboss-common-jdbc-wrapper.jar
593

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

    
603
   This component is licensed under GNU Lesser General Public License
604
   Version 2.1, February 1999.
605

    
606
NanoXML
607

    
608
   The following software may be included in this product:
609

    
610
   NanoXML
611

    
612
 * Copyright (C) 2000-2002 Marc De Scheemaecker, All Rights Reserved.
613
 *
614

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

    
617
 * In no event will the authors be held liable for any damages arising from the
618

    
619
 * use of this software.
620
 *
621

    
622
 * Permission is granted to anyone to use this software for any purpose,
623

    
624
 * including commercial applications, and to alter it and redistribute it
625

    
626
 * freely, subject to the following restrictions:
627
 *
628

    
629
 *  1. The origin of this software must not be misrepresented; you must not
630

    
631
 *     claim that you wrote the original software. If you use this software in
632

    
633
 *     a product, an acknowledgment in the product documentation would be
634

    
635
 *     appreciated but is not required.
636
 *
637

    
638
 *  2. Altered source versions must be plainly marked as such, and must not be
639

    
640
 *     misrepresented as being the original software.
641
 *
642

    
643
 *  3. This notice may not be removed or altered from any source distribution.
644
 *
645

    
646
rox.jar
647

    
648
   The following software may be included in this product:
649

    
650
   rox.jar
651
Copyright (c) 2006, James Greenfield
652
All rights reserved.
653

    
654
Redistribution and use in source and binary forms, with or without
655
modification, are permitted provided that the following conditions are met:
656

    
657

    
658
    * Redistributions of source code must retain the above copyright notice, thi
659
s
660
      list of conditions and the following disclaimer.
661

    
662
    * Redistributions in binary form must reproduce the above copyright notice,
663
      this list of conditions and the following disclaimer in the documentation
664
      and/or other materials provided with the distribution.
665

    
666
    * Neither the name of the <ORGANIZATION> nor the names of its contributors
667
      may be used to endorse or promote products derived from this software
668
      without specific prior written permission.
669

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

    
683
Simple Logging Facade for Java (SLF4J)
684

    
685
   The following software may be included in this product:
686
Simple Logging Facade for Java (SLF4J)
687

    
688
Copyright (c) 2004-2011 QOS.ch
689
All rights reserved.
690

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

    
701
The above copyright notice and this permission notice
702
shall be included in all copies or substantial portions
703
of the Software.
704

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

    
715
Unicode Data Files
716

    
717
   The following software may be included in this product:
718

    
719
   Unicode Data Files
720
COPYRIGHT AND PERMISSION NOTICE
721

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

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

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

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

    
755
Commonly Used Licenses
756

    
757
Artistic License (Perl) 1.0
758

    
759
The "Artistic License"
760

    
761
Preamble
762

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

    
770
Definitions:
771

    
772
        "Package" refers to the collection of files distributed by the
773
        Copyright Holder, and derivatives of that collection of files
774
        created through textual modification.
775

    
776
        "Standard Version" refers to such a Package if it has not been
777
        modified, or has been modified in accordance with the wishes
778
        of the Copyright Holder as specified below.
779

    
780
        "Copyright Holder" is whoever is named in the copyright or
781
        copyrights for the package.
782

    
783
        "You" is you, if you're thinking about copying or distributing
784
        this Package.
785

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

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

    
797
1. You may make and give away verbatim copies of the source form of the
798
Standard Version of this Package without restriction, provided that you
799
duplicate all of the original copyright notices and associated disclaimers.
800

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

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

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

    
816
    b) use the modified Package only within your corporation or organization.
817

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

    
823
    d) make other distribution arrangements with the Copyright Holder.
824

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

    
828
    a) distribute a Standard Version of the executables and library files,
829
    together with instructions (in the manual page or equivalent) on where
830
    to get the Standard Version.
831

    
832
    b) accompany the distribution with the machine-readable source of
833
    the Package with your modifications.
834

    
835
    c) give non-standard executables non-standard names, and clearly
836
    document the differences in manual pages (or equivalent), together
837
    with instructions on where to get the Standard Version.
838

    
839
    d) make other distribution arrangements with the Copyright Holder.
840

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

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

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

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

    
878
9. The name of the Copyright Holder may not be used to endorse or promote
879
products derived from this software without specific prior written
880
permission.
881

    
882
10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
883
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
884
WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
885

    
886
                                The End
887

    
888
GNU Lesser General Public License Version 2.1, February 1999
889

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

    
903
                  GNU LESSER GENERAL PUBLIC LICENSE
904
                       Version 2.1, February 1999
905

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

    
911
[This is the first released version of the Lesser GPL.  It also counts
912
 as the successor of the GNU Library Public License, version 2, hence
913
 the version number 2.1.]
914

    
915
                            Preamble
916

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    
1017
                  GNU LESSER GENERAL PUBLIC LICENSE
1018
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1019

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

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

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

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

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

    
1052

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

    
1061
  You may charge a fee for the physical act of transferring a copy,
1062
and you may at your option offer warranty protection in exchange for a
1063
fee.
1064

    
1065

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

    
1071
    a) The modified work must itself be a software library.
1072

    
1073
    b) You must cause the files modified to carry prominent notices
1074
    stating that you changed the files and the date of any change.
1075

    
1076
    c) You must cause the whole of the work to be licensed at no
1077
    charge to all third parties under the terms of this License.
1078

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

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

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

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

    
1110
In addition, mere aggregation of another work not based on the Library
1111
with the Library (or with a work based on the Library) on a volume of
1112
a storage or distribution medium does not bring the other work under
1113
the scope of this License.
1114

    
1115

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

    
1125
  Once this change is made in a given copy, it is irreversible for
1126
that copy, so the ordinary GNU General Public License applies to all
1127
subsequent copies and derivative works made from that copy.
1128

    
1129
  This option is useful when you wish to copy part of the code of
1130
the Library into a program that is not a library.
1131

    
1132

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

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

    
1146

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

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

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

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

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

    
1178

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

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

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

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

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

    
1219
    d) If distribution of the work is made by offering access to copy
1220
    from a designated place, offer equivalent access to copy the above
1221
    specified materials from the same place.
1222

    
1223
    e) Verify that the user has already received a copy of these
1224
    materials or that you have already sent this user a copy.
1225

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

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

    
1241

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

    
1249
    a) Accompany the combined library with a copy of the same work
1250
    based on the Library, uncombined with any other library
1251
    facilities.  This must be distributed under the terms of the
1252
    Sections above.
1253

    
1254
    b) Give prominent notice with the combined library of the fact
1255
    that part of it is a work based on the Library, and explaining
1256
    where to find the accompanying uncombined form of the same work.
1257

    
1258

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

    
1267

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

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

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

    
1298
If any portion of this section is held invalid or unenforceable under
1299
any particular circumstance, the balance of the section is intended
1300
to apply, and the section as a whole is intended to apply in other
1301
circumstances.
1302

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

    
1314
This section is intended to make thoroughly clear what is believed to
1315
be a consequence of the rest of this License.
1316

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

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

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

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

    
1347
                            NO WARRANTY
1348

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

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

    
1370
                     END OF TERMS AND CONDITIONS
1371

    
1372
           How to Apply These Terms to Your New Libraries
1373

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

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

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

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

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

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

    
1404
Also add information on how to contact you by electronic and paper mail.
1405

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

    
1410
  Yoyodyne, Inc., hereby disclaims all copyright interest in the
1411
  library `Frob' (a library for tweaking knobs) written by James
1412
  Random Hacker.
1413

    
1414
  <signature of Ty Coon>, 1 April 1990
1415
  Ty Coon, President of Vice
1416

    
1417
That's all there is to it!
1418

    
1419
GNU Lesser General Public License Version 2, June 1991
1420

    
1421
GNU LIBRARY GENERAL PUBLIC LICENSE
1422

    
1423
Version 2, June 1991
1424

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

    
1430
[This is the first released version of the library GPL.  It is numbered 2
1431
because it goes with version 2 of the ordinary GPL.]
1432

    
1433
Preamble
1434

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

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

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

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

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

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

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

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

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

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

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

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

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

    
1515
Note that it is possible for a library to be covered by the ordinary General
1516
Public License rather than by this special one.
1517

    
1518
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1519

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

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

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

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

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

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

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

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

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

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

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

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

    
1598
In addition, mere aggregation of another work not based on the Library with
1599
the Library (or with a work based on the Library) on a volume of a storage or
1600
distribution medium does not bring the other work under the scope of this
1601
License.
1602

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

    
1611
Once this change is made in a given copy, it is irreversible for that copy,
1612
so the ordinary GNU General Public License applies to all subsequent copies
1613
and derivative works made from that copy.
1614

    
1615
This option is useful when you wish to copy part of the code of the Library
1616
into a program that is not a library.
1617

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    
1755
If any portion of this section is held invalid or unenforceable under any
1756
particular circumstance, the balance of the section is intended to apply, and
1757
the section as a whole is intended to apply in other circumstances.
1758

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

    
1769
This section is intended to make thoroughly clear what is believed to be a
1770
consequence of the rest of this License.
1771

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

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

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

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

    
1800
NO WARRANTY
1801

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

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

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

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

    
1834
one line to give the library's name and an idea of what it does.
1835
Copyright (C) year  name of author
1836

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

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

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

    
1852
Also add information on how to contact you by electronic and paper mail.
1853

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

    
1858
Yoyodyne, Inc., hereby disclaims all copyright interest in
1859
the library `Frob' (a library for tweaking knobs) written
1860
by James Random Hacker.
1861

    
1862
signature of Ty Coon, 1 April 1990
1863
Ty Coon, President of Vice
1864

    
1865
That's all there is to it!
1866

    
1867
MIT License
1868

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

    
1876
The above copyright notice and this permission notice shall be included
1877
in all copies or substantial portions of the Software.
1878

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

    
1887
Written Offer for Source Code
1888

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

    
1905
   Your request should include:
1906

    
1907
     * The name of the binary for which you are requesting the source code
1908

    
1909
     * The name and version number of the Oracle product containing the
1910
       binary
1911

    
1912
     * The date you received the Oracle product
1913

    
1914
     * Your name
1915

    
1916
     * Your company name (if applicable)
1917

    
1918
     * Your return mailing address and email, and
1919

    
1920
     * A telephone number in the event we need to reach you.
1921

    
1922
   We may charge you a fee to cover the cost of physical media and
1923
   processing.
1924

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