1<!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en">
2<html>
3<head>
4  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5  <title>Connector/ODBC - License</title>
6</head>
7<body>
8
9<font face="Helvetica">
10
11<pre class="programlisting">
12
13<h2>Licensing Information User Manual</h2>
14
15<h3>MySQL Connector/ODBC 5.3</h3>
16<hr>
17
18Introduction
19
20   This License Information User Manual contains Oracle's product license
21   and other licensing information, including licensing information for
22   third-party software which may be included in this distribution of
23   MySQL Connector/ODBC 5.3.
24
25   Last updated: April 2019.
26
27Licensing Information
28
29Product License - MySQL Connector/ODBC 5.3
30
31   This is a release of MySQL Connector/ODBC 5.3, the dual-license ODBC
32   API for MySQL. For the avoidance of doubt, this particular copy of the
33   software is released under version 2 of the GNU General Public License.
34   MySQL Connector/ODBC 5.3 is brought to you by the MySQL team at Oracle.
35
36   Copyright (c) 2005, 2019, Oracle and/or its affiliates. All rights
37   reserved.
38
39Election of GPLv2
40
41   For the avoidance of doubt, except that if any license choice other
42   than GPL or LGPL is available it will apply instead, Oracle elects to
43   use only the General Public License version 2 (GPLv2) at this time for
44   any software where a choice of GPL license versions is made available
45   with the language indicating that GPLv2 or any later version may be
46   used, or where a choice of which version of the GPL is applied is
47   otherwise unspecified.
48
49GNU General Public License Version 2.0, June 1991
50
51The following applies to all products licensed under the GNU General
52Public License, Version 2.0: You may not use the identified files
53except in compliance with the GNU General Public License, Version
542.0 (the "License.") You may obtain a copy of the License at
55http://www.gnu.org/licenses/gpl-2.0.txt. A copy of the license is
56also reproduced below. Unless required by applicable law or agreed
57to in writing, software distributed under the License is distributed
58on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
59either express or implied. See the License for the specific language
60governing permissions and limitations under the License.
61
62GNU GENERAL PUBLIC LICENSE
63Version 2, June 1991
64
65Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
6651 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
67Everyone is permitted to copy and distribute verbatim
68copies of this license document, but changing it is not
69allowed.
70
71                     Preamble
72
73  The licenses for most software are designed to take away your
74freedom to share and change it.  By contrast, the GNU General Public
75License is intended to guarantee your freedom to share and change free
76software--to make sure the software is free for all its users.  This
77General Public License applies to most of the Free Software
78Foundation's software and to any other program whose authors commit to
79using it.  (Some other Free Software Foundation software is covered by
80the GNU Lesser General Public License instead.)  You can apply it to
81your programs, too.
82
83  When we speak of free software, we are referring to freedom, not
84price.  Our General Public Licenses are designed to make sure that you
85have the freedom to distribute copies of free software (and charge for
86this service if you wish), that you receive source code or can get it
87if you want it, that you can change the software or use pieces of it
88in new free programs; and that you know you can do these things.
89
90  To protect your rights, we need to make restrictions that forbid
91anyone to deny you these rights or to ask you to surrender the rights.
92These restrictions translate to certain responsibilities for you if you
93distribute copies of the software, or if you modify it.
94
95  For example, if you distribute copies of such a program, whether
96gratis or for a fee, you must give the recipients all the rights that
97you have.  You must make sure that they, too, receive or can get the
98source code.  And you must show them these terms so they know their
99rights.
100
101  We protect your rights with two steps: (1) copyright the software,
102and (2) offer you this license which gives you legal permission to
103copy, distribute and/or modify the software.
104
105  Also, for each author's protection and ours, we want to make certain
106that everyone understands that there is no warranty for this free
107software.  If the software is modified by someone else and passed on,
108we want its recipients to know that what they have is not the original,
109so that any problems introduced by others will not reflect on the
110original authors' reputations.
111
112  Finally, any free program is threatened constantly by software
113patents.  We wish to avoid the danger that redistributors of a free
114program will individually obtain patent licenses, in effect making the
115program proprietary.  To prevent this, we have made it clear that any
116patent must be licensed for everyone's free use or not licensed at all.
117
118  The precise terms and conditions for copying, distribution and
119modification follow.
120
121                    GNU GENERAL PUBLIC LICENSE
122   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
123
124  0. This License applies to any program or other work which contains
125a notice placed by the copyright holder saying it may be distributed
126under the terms of this General Public License.  The "Program", below,
127refers to any such program or work, and a "work based on the Program"
128means either the Program or any derivative work under copyright law:
129that is to say, a work containing the Program or a portion of it,
130either verbatim or with modifications and/or translated into another
131language.  (Hereinafter, translation is included without limitation in
132the term "modification".)  Each licensee is addressed as "you".
133
134Activities other than copying, distribution and modification are not
135covered by this License; they are outside its scope.  The act of
136running the Program is not restricted, and the output from the Program
137is covered only if its contents constitute a work based on the
138Program (independent of having been made by running the Program).
139Whether that is true depends on what the Program does.
140
141
142  1. You may copy and distribute verbatim copies of the Program's
143source code as you receive it, in any medium, provided that you
144conspicuously and appropriately publish on each copy an appropriate
145copyright notice and disclaimer of warranty; keep intact all the
146notices that refer to this License and to the absence of any warranty;
147and give any other recipients of the Program a copy of this License
148along with the Program.
149
150You may charge a fee for the physical act of transferring a copy, and
151you may at your option offer warranty protection in exchange for a fee.
152
153
154  2. You may modify your copy or copies of the Program or any portion
155of it, thus forming a work based on the Program, and copy and
156distribute such modifications or work under the terms of Section 1
157above, provided that you also meet all of these conditions:
158
159    a) You must cause the modified files to carry prominent notices
160    stating that you changed the files and the date of any change.
161
162    b) You must cause any work that you distribute or publish, that in
163    whole or in part contains or is derived from the Program or any
164    part thereof, to be licensed as a whole at no charge to all third
165    parties under the terms of this License.
166
167    c) If the modified program normally reads commands interactively
168    when run, you must cause it, when started running for such
169    interactive use in the most ordinary way, to print or display an
170    announcement including an appropriate copyright notice and a
171    notice that there is no warranty (or else, saying that you provide
172    a warranty) and that users may redistribute the program under
173    these conditions, and telling the user how to view a copy of this
174    License.  (Exception: if the Program itself is interactive but
175    does not normally print such an announcement, your work based on
176    the Program is not required to print an announcement.)
177
178These requirements apply to the modified work as a whole.  If
179identifiable sections of that work are not derived from the Program,
180and can be reasonably considered independent and separate works in
181themselves, then this License, and its terms, do not apply to those
182sections when you distribute them as separate works.  But when you
183distribute the same sections as part of a whole which is a work based
184on the Program, the distribution of the whole must be on the terms of
185this License, whose permissions for other licensees extend to the
186entire whole, and thus to each and every part regardless of who wrote it.
187
188Thus, it is not the intent of this section to claim rights or contest
189your rights to work written entirely by you; rather, the intent is to
190exercise the right to control the distribution of derivative or
191collective works based on the Program.
192
193In addition, mere aggregation of another work not based on the Program
194with the Program (or with a work based on the Program) on a volume of
195a storage or distribution medium does not bring the other work under
196the scope of this License.
197
198
199  3. You may copy and distribute the Program (or a work based on it,
200under Section 2) in object code or executable form under the terms of
201Sections 1 and 2 above provided that you also do one of the following:
202
203    a) Accompany it with the complete corresponding machine-readable
204    source code, which must be distributed under the terms of Sections
205    1 and 2 above on a medium customarily used for software
206    interchange; or,
207
208    b) Accompany it with a written offer, valid for at least three
209    years, to give any third party, for a charge no more than your
210    cost of physically performing source distribution, a complete
211    machine-readable copy of the corresponding source code, to be
212    distributed under the terms of Sections 1 and 2 above on a medium
213    customarily used for software interchange; or,
214
215    c) Accompany it with the information you received as to the offer
216    to distribute corresponding source code.  (This alternative is
217    allowed only for noncommercial distribution and only if you
218    received the program in object code or executable form with such
219    an offer, in accord with Subsection b above.)
220
221The source code for a work means the preferred form of the work for
222making modifications to it.  For an executable work, complete source
223code means all the source code for all modules it contains, plus any
224associated interface definition files, plus the scripts used to
225control compilation and installation of the executable.  However, as
226a special exception, the source code distributed need not include
227anything that is normally distributed (in either source or binary
228form) with the major components (compiler, kernel, and so on) of the
229operating system on which the executable runs, unless that component
230itself accompanies the executable.
231
232If distribution of executable or object code is made by offering
233access to copy from a designated place, then offering equivalent
234access to copy the source code from the same place counts as
235distribution of the source code, even though third parties are not
236compelled to copy the source along with the object code.
237
238
239  4. You may not copy, modify, sublicense, or distribute the Program
240except as expressly provided under this License.  Any attempt
241otherwise to copy, modify, sublicense or distribute the Program is
242void, and will automatically terminate your rights under this License.
243However, parties who have received copies, or rights, from you under
244this License will not have their licenses terminated so long as such
245parties remain in full compliance.
246
247
248  5. You are not required to accept this License, since you have not
249signed it.  However, nothing else grants you permission to modify or
250distribute the Program or its derivative works.  These actions are
251prohibited by law if you do not accept this License.  Therefore, by
252modifying or distributing the Program (or any work based on the
253Program), you indicate your acceptance of this License to do so, and
254all its terms and conditions for copying, distributing or modifying
255the Program or works based on it.
256
257
258  6. Each time you redistribute the Program (or any work based on the
259Program), the recipient automatically receives a license from the
260original licensor to copy, distribute or modify the Program subject to
261these terms and conditions.  You may not impose any further
262restrictions on the recipients' exercise of the rights granted herein.
263You are not responsible for enforcing compliance by third parties to
264this License.
265
266
267  7. If, as a consequence of a court judgment or allegation of patent
268infringement or for any other reason (not limited to patent issues),
269conditions are imposed on you (whether by court order, agreement or
270otherwise) that contradict the conditions of this License, they do not
271excuse you from the conditions of this License.  If you cannot
272distribute so as to satisfy simultaneously your obligations under this
273License and any other pertinent obligations, then as a consequence you
274may not distribute the Program at all.  For example, if a patent
275license would not permit royalty-free redistribution of the Program by
276all those who receive copies directly or indirectly through you, then
277the only way you could satisfy both it and this License would be to
278refrain entirely from distribution of the Program.
279
280If any portion of this section is held invalid or unenforceable under
281any particular circumstance, the balance of the section is intended to
282apply and the section as a whole is intended to apply in other
283circumstances.
284
285It is not the purpose of this section to induce you to infringe any
286patents or other property right claims or to contest validity of any
287such claims; this section has the sole purpose of protecting the
288integrity of the free software distribution system, which is
289implemented by public license practices.  Many people have made
290generous contributions to the wide range of software distributed
291through that system in reliance on consistent application of that
292system; it is up to the author/donor to decide if he or she is willing
293to distribute software through any other system and a licensee cannot
294impose that choice.
295
296This section is intended to make thoroughly clear what is believed to
297be a consequence of the rest of this License.
298
299
300  8. If the distribution and/or use of the Program is restricted in
301certain countries either by patents or by copyrighted interfaces, the
302original copyright holder who places the Program under this License
303may add an explicit geographical distribution limitation excluding
304those countries, so that distribution is permitted only in or among
305countries not thus excluded.  In such case, this License incorporates
306the limitation as if written in the body of this License.
307
308
309  9. The Free Software Foundation may publish revised and/or new
310versions of the General Public License from time to time.  Such new
311versions will be similar in spirit to the present version, but may
312differ in detail to address new problems or concerns.
313
314Each version is given a distinguishing version number.  If the Program
315specifies a version number of this License which applies to it and
316"any later version", you have the option of following the terms and
317conditions either of that version or of any later version published by
318the Free Software Foundation.  If the Program does not specify a
319version number of this License, you may choose any version ever
320published by the Free Software Foundation.
321
322  10. If you wish to incorporate parts of the Program into other free
323programs whose distribution conditions are different, write to the
324author to ask for permission.  For software which is copyrighted by the
325Free Software Foundation, write to the Free Software Foundation; we
326sometimes make exceptions for this.  Our decision will be guided by the
327two goals of preserving the free status of all derivatives of our free
328software and of promoting the sharing and reuse of software generally.
329
330                            NO WARRANTY
331
332  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
333WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
334EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
335OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
336EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
337WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
338THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS
339WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
340ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
341
342  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
343WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
344AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU
345FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
346CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
347PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
348RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
349FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF
350SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
351DAMAGES.
352
353                     END OF TERMS AND CONDITIONS
354
355            How to Apply These Terms to Your New Programs
356
357  If you develop a new program, and you want it to be of the greatest
358possible use to the public, the best way to achieve this is to make it
359free software which everyone can redistribute and change under these terms.
360
361  To do so, attach the following notices to the program.  It is safest
362to attach them to the start of each source file to most effectively
363convey the exclusion of warranty; and each file should have at least
364the "copyright" line and a pointer to where the full notice is found.
365
366    <one line to give the program's name and a brief idea of what it does.>
367    Copyright (C) <year>  <name of author>
368
369    This program is free software; you can redistribute it and/or
370    modify it under the terms of the GNU General Public License as
371    published by the Free Software Foundation; either version 2 of
372
373    the License, or (at your option) any later version.
374
375    This program is distributed in the hope that it will be useful,
376    but WITHOUT ANY WARRANTY; without even the implied warranty of
377    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
378    GNU General Public License for more details.
379
380    You should have received a copy of the GNU General Public License
381    along with this program; if not, write to the Free Software
382    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
383    02110-1301 USA.
384
385Also add information on how to contact you by electronic and paper mail.
386
387If the program is interactive, make it output a short notice like this
388when it starts in an interactive mode:
389
390    Gnomovision version 69, Copyright (C) year name of author
391    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
392    type 'show w'. This is free software, and you are welcome
393    to redistribute it under certain conditions; type 'show c'
394    for details.
395
396The hypothetical commands 'show w' and 'show c' should show the
397appropriate parts of the General Public License.  Of course, the
398commands you use may be called something other than 'show w' and
399'show c'; they could even be mouse-clicks or menu items--whatever
400suits your program.
401
402You should also get your employer (if you work as a programmer) or your
403school, if any, to sign a "copyright disclaimer" for the program, if
404necessary.  Here is a sample; alter the names:
405
406  Yoyodyne, Inc., hereby disclaims all copyright interest in the
407  program 'Gnomovision' (which makes passes at compilers) written
408  by James Hacker.
409
410  <signature of Ty Coon>, 1 April 1989
411  Ty Coon, President of Vice
412
413This General Public License does not permit incorporating your program
414into proprietary programs.  If your program is a subroutine library,
415you may consider it more useful to permit linking proprietary
416applications with the library.  If this is what you want to do, use
417the GNU Lesser General Public License instead of this License.
418
419MySQL FOSS License Exception
420
421   We want free and open source software applications under certain
422   licenses to be able to use the GPL-licensed MySQL Connector/ODBC 5.3
423   despite the fact that not all such FOSS licenses are compatible with
424   version 2 of the GNU General Public License. Therefore there are
425   special exceptions to the terms and conditions of the GPLv2 as applied
426   to these client libraries, which are identified and described in more
427   detail in the FOSS License Exception at
428   http://www.mysql.com/about/legal/licensing/foss-exception/.
429
430   This software is OSI Certified Open Source Software. OSI Certified is a
431   certification mark of the Open Source Initiative.
432
433Written Offer for Source Code
434
435   For any software that you receive from Oracle in binary form which is
436   licensed under an open source license that gives you the right to
437   receive the source code for that binary, you can obtain a copy of the
438   applicable source code by visiting
439   http://www.oracle.com/goto/opensourcecode. If the source code for the
440   binary was not provided to you with the binary, you can also receive a
441   copy of the source code on physical media by submitting a written
442   request to the address listed below or by sending an email to Oracle
443   using the following link:
444   http://www.oracle.com/goto/opensourcecode/request.
445  Oracle America, Inc.
446  Attn: Senior Vice President
447  Development and Engineering Legal
448  500 Oracle Parkway, 10th Floor
449  Redwood Shores, CA 94065
450
451   Your request should include:
452
453     * The name of the binary for which you are requesting the source code
454
455     * The name and version number of the Oracle product containing the
456       binary
457
458     * The date you received the Oracle product
459
460     * Your name
461
462     * Your company name (if applicable)
463
464     * Your return mailing address and email, and
465
466     * A telephone number in the event we need to reach you.
467
468   We may charge you a fee to cover the cost of physical media and
469   processing.
470
471   Your request must be sent
472    a. within three (3) years of the date you received the Oracle product
473       that included the binary that is the subject of your request, or
474    b. in the case of code licensed under the GPL v3 for as long as Oracle
475       offers spare parts or customer support for that product model.
476
477Licenses for Third-Party Components
478
479   The following sections contain licensing information for libraries that
480   we have included with the MySQL Connector/ODBC 5.3 source and
481   components used to test MySQL Connector/ODBC 5.3. Commonly used
482   licenses referenced herein can be found in Commonly Used Licenses. We
483   are thankful to all individuals that have created these.
484
485GNU GPL Version 2 Third-Party Software Notice
486
487   This product contains one or more software components provided under
488   version 2 of the GNU General Public License. See GNU General Public
489   License Version 2.0, June 1991, for the full text of this license.
490
491GNU Libtool
492
493   The following software may be included in this product:
494
495   GNU Libtool (The GNU Portable Library Tool)
496If you are receiving a copy of the Oracle software in
497source code, you are also receiving a copy of two files
498(ltmain.sh and ltdl.h) generated by the GNU Libtool in
499source code. If you received the Oracle software under
500a license other than a commercial (non-GPL) license,
501then the terms of the Oracle license do NOT apply to
502these files from GNU Libtool; they are licensed under
503the following licenses, separately from the Oracle
504programs you receive.
505
506Oracle elects to use GNU General Public License version
5072 (GPL) for any software where a choice of GPL or GNU
508Lesser/Library General Public License (LGPL) license
509versions are made available with the language indicating
510that GPL/LGPL or any later version may be used, or where
511a choice of which version of the GPL/LGPL is applied is
512unspecified.
513
514From GNU Libtool:
515
516ltmain.sh - Provide generalized library-building support
517services.
518NOTE: Changing this file will not affect anything until
519you rerun configure.
520Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004,
5212005, 2006, 2007 Free Software Foundation, Inc.
522Originally by Gordon Matzigkeit, 1996
523
524This program is free software; you can redistribute it
525and/or modify it under the terms of the GNU General
526Public License as published by the Free Software Foundation;
527either version 2 of the License, or (at your option) any
528later version.
529
530This program is distributed in the hope that it will be
531useful, but WITHOUT ANY WARRANTY; without even the implied
532warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
533PURPOSE. See the GNU General Public License for more
534details. You should have received a copy of the GNU General
535Public License along with this program; if not, write to
536the Free Software Foundation, Inc., 51 Franklin Street,
537Fifth Floor, Boston, MA 02110-1301, USA.
538
539As a special exception to the GNU General Public License,
540if you distribute this file as part of a program that
541contains a configuration script generated by Autoconf,
542you may include it under the same distribution terms that
543you use for the rest of that program.
544
545   This component is licensed under the GNU GPL license, version 2.0.
546
547Commonly Used Licenses
548
549Artistic License (Perl) 1.0
550
551The "Artistic License"
552
553Preamble
554
555The intent of this document is to state the conditions under which a
556Package may be copied, such that the Copyright Holder maintains some
557semblance of artistic control over the development of the package,
558while giving the users of the package the right to use and distribute
559the Package in a more-or-less customary fashion, plus the right to make
560reasonable modifications.
561
562Definitions:
563
564        "Package" refers to the collection of files distributed by the
565        Copyright Holder, and derivatives of that collection of files
566        created through textual modification.
567
568        "Standard Version" refers to such a Package if it has not been
569        modified, or has been modified in accordance with the wishes
570        of the Copyright Holder as specified below.
571
572        "Copyright Holder" is whoever is named in the copyright or
573        copyrights for the package.
574
575        "You" is you, if you're thinking about copying or distributing
576        this Package.
577
578        "Reasonable copying fee" is whatever you can justify on the
579        basis of media cost, duplication charges, time of people involved,
580        and so on.  (You will not be required to justify it to the
581        Copyright Holder, but only to the computing community at large
582        as a market that must bear the fee.)
583
584        "Freely Available" means that no fee is charged for the item
585        itself, though there may be fees involved in handling the item.
586        It also means that recipients of the item may redistribute it
587        under the same conditions they received it.
588
5891. You may make and give away verbatim copies of the source form of the
590Standard Version of this Package without restriction, provided that you
591duplicate all of the original copyright notices and associated disclaimers.
592
5932. You may apply bug fixes, portability fixes and other modifications
594derived from the Public Domain or from the Copyright Holder.  A Package
595modified in such a way shall still be considered the Standard Version.
596
5973. You may otherwise modify your copy of this Package in any way, provided
598that you insert a prominent notice in each changed file stating how and
599when you changed that file, and provided that you do at least ONE of the
600following:
601
602    a) place your modifications in the Public Domain or otherwise make them
603    Freely Available, such as by posting said modifications to Usenet or
604    an equivalent medium, or placing the modifications on a major archive
605    site such as uunet.uu.net, or by allowing the Copyright Holder to include
606    your modifications in the Standard Version of the Package.
607
608    b) use the modified Package only within your corporation or organization.
609
610    c) rename any non-standard executables so the names do not conflict
611    with standard executables, which must also be provided, and provide
612    a separate manual page for each non-standard executable that clearly
613    documents how it differs from the Standard Version.
614
615    d) make other distribution arrangements with the Copyright Holder.
616
6174. You may distribute the programs of this Package in object code or
618executable form, provided that you do at least ONE of the following:
619
620    a) distribute a Standard Version of the executables and library files,
621    together with instructions (in the manual page or equivalent) on where
622    to get the Standard Version.
623
624    b) accompany the distribution with the machine-readable source of
625    the Package with your modifications.
626
627    c) give non-standard executables non-standard names, and clearly
628    document the differences in manual pages (or equivalent), together
629    with instructions on where to get the Standard Version.
630
631    d) make other distribution arrangements with the Copyright Holder.
632
6335. You may charge a reasonable copying fee for any distribution of this
634Package.  You may charge any fee you choose for support of this
635Package.  You may not charge a fee for this Package itself.  However,
636you may distribute this Package in aggregate with other (possibly
637commercial) programs as part of a larger (possibly commercial) software
638distribution provided that you do not advertise this Package as a
639product of your own.  You may embed this Package's interpreter within
640an executable of yours (by linking); this shall be construed as a mere
641form of aggregation, provided that the complete Standard Version of the
642interpreter is so embedded.
643
6446. The scripts and library files supplied as input to or produced as
645output from the programs of this Package do not automatically fall
646under the copyright of this Package, but belong to whoever generated
647them, and may be sold commercially, and may be aggregated with this
648Package.  If such scripts or library files are aggregated with this
649Package via the so-called "undump" or "unexec" methods of producing a
650binary executable image, then distribution of such an image shall
651neither be construed as a distribution of this Package nor shall it
652fall under the restrictions of Paragraphs 3 and 4, provided that you do
653not represent such an executable image as a Standard Version of this
654Package.
655
6567. C subroutines (or comparably compiled subroutines in other
657languages) supplied by you and linked into this Package in order to
658emulate subroutines and variables of the language defined by this
659Package shall not be considered part of this Package, but are the
660equivalent of input as in Paragraph 6, provided these subroutines do
661not change the language in any way that would cause it to fail the
662regression tests for the language.
663
6648. Aggregation of this Package with a commercial distribution is always
665permitted provided that the use of this Package is embedded; that is,
666when no overt attempt is made to make this Package's interfaces visible
667to the end user of the commercial distribution.  Such use shall not be
668construed as a distribution of this Package.
669
6709. The name of the Copyright Holder may not be used to endorse or promote
671products derived from this software without specific prior written
672permission.
673
67410. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
675IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
676WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
677
678                                The End
679
680GNU Lesser General Public License Version 2.1, February 1999
681
682The following applies to all products licensed under the
683GNU Lesser General Public License, Version 2.1: You may
684not use the identified files except in compliance with
685the GNU Lesser General Public License, Version 2.1 (the
686"License"). You may obtain a copy of the License at
687http://www.gnu.org/licenses/lgpl-2.1.html. A copy of the
688license is also reproduced below. Unless required by
689applicable law or agreed to in writing, software distributed
690under the License is distributed on an "AS IS" BASIS,
691WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
692or implied. See the License for the specific language governing
693permissions and limitations under the License.
694
695                  GNU LESSER GENERAL PUBLIC LICENSE
696                       Version 2.1, February 1999
697
698 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
699 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
700 Everyone is permitted to copy and distribute verbatim copies
701 of this license document, but changing it is not allowed.
702
703[This is the first released version of the Lesser GPL.  It also counts
704 as the successor of the GNU Library Public License, version 2, hence
705 the version number 2.1.]
706
707                            Preamble
708
709  The licenses for most software are designed to take away your
710freedom to share and change it.  By contrast, the GNU General Public
711Licenses are intended to guarantee your freedom to share and change
712free software--to make sure the software is free for all its users.
713
714  This license, the Lesser General Public License, applies to some
715specially designated software packages--typically libraries--of the
716Free Software Foundation and other authors who decide to use it.  You
717can use it too, but we suggest you first think carefully about whether
718this license or the ordinary General Public License is the better
719strategy to use in any particular case, based on the explanations below.
720
721  When we speak of free software, we are referring to freedom of use,
722not price.  Our General Public Licenses are designed to make sure that
723you have the freedom to distribute copies of free software (and charge
724for this service if you wish); that you receive source code or can get
725it if you want it; that you can change the software and use pieces of
726it in new free programs; and that you are informed that you can do
727these things.
728
729  To protect your rights, we need to make restrictions that forbid
730distributors to deny you these rights or to ask you to surrender these
731rights.  These restrictions translate to certain responsibilities for
732you if you distribute copies of the library or if you modify it.
733
734  For example, if you distribute copies of the library, whether gratis
735or for a fee, you must give the recipients all the rights that we gave
736you.  You must make sure that they, too, receive or can get the source
737code.  If you link other code with the library, you must provide
738complete object files to the recipients, so that they can relink them
739with the library after making changes to the library and recompiling
740it.  And you must show them these terms so they know their rights.
741
742  We protect your rights with a two-step method: (1) we copyright the
743library, and (2) we offer you this license, which gives you legal
744permission to copy, distribute and/or modify the library.
745
746  To protect each distributor, we want to make it very clear that
747there is no warranty for the free library.  Also, if the library is
748modified by someone else and passed on, the recipients should know
749that what they have is not the original version, so that the original
750author's reputation will not be affected by problems that might be
751introduced by others.
752
753  Finally, software patents pose a constant threat to the existence of
754any free program.  We wish to make sure that a company cannot
755effectively restrict the users of a free program by obtaining a
756restrictive license from a patent holder.  Therefore, we insist that
757any patent license obtained for a version of the library must be
758consistent with the full freedom of use specified in this license.
759
760  Most GNU software, including some libraries, is covered by the
761ordinary GNU General Public License.  This license, the GNU Lesser
762General Public License, applies to certain designated libraries, and
763is quite different from the ordinary General Public License.  We use
764this license for certain libraries in order to permit linking those
765libraries into non-free programs.
766
767  When a program is linked with a library, whether statically or using
768a shared library, the combination of the two is legally speaking a
769combined work, a derivative of the original library.  The ordinary
770General Public License therefore permits such linking only if the
771entire combination fits its criteria of freedom.  The Lesser General
772Public License permits more lax criteria for linking other code with
773the library.
774
775  We call this license the "Lesser" General Public License because it
776does Less to protect the user's freedom than the ordinary General
777Public License.  It also provides other free software developers Less
778of an advantage over competing non-free programs.  These disadvantages
779are the reason we use the ordinary General Public License for many
780libraries.  However, the Lesser license provides advantages in certain
781special circumstances.
782
783  For example, on rare occasions, there may be a special need to
784encourage the widest possible use of a certain library, so that it
785becomes a de-facto standard.  To achieve this, non-free programs
786must be allowed to use the library.  A more frequent case is that
787a free library does the same job as widely used non-free libraries.
788In this case, there is little to gain by limiting the free library
789to free software only, so we use the Lesser General Public License.
790
791  In other cases, permission to use a particular library in non-free
792programs enables a greater number of people to use a large body of
793free software.  For example, permission to use the GNU C Library in
794non-free programs enables many more people to use the whole GNU
795operating system, as well as its variant, the GNU/Linux operating
796system.
797
798  Although the Lesser General Public License is Less protective of the
799users' freedom, it does ensure that the user of a program that is
800linked with the Library has the freedom and the wherewithal to run
801that program using a modified version of the Library.
802
803  The precise terms and conditions for copying, distribution and
804modification follow.  Pay close attention to the difference between a
805"work based on the library" and a "work that uses the library".  The
806former contains code derived from the library, whereas the latter must
807be combined with the library in order to run.
808
809                  GNU LESSER GENERAL PUBLIC LICENSE
810   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
811
812  0. This License Agreement applies to any software library or other
813program which contains a notice placed by the copyright holder or
814other authorized party saying it may be distributed under the terms of
815this Lesser General Public License (also called "this License").
816Each licensee is addressed as "you".
817
818  A "library" means a collection of software functions and/or data
819prepared so as to be conveniently linked with application programs
820(which use some of those functions and data) to form executables.
821
822  The "Library", below, refers to any such software library or work
823which has been distributed under these terms.  A "work based on the
824Library" means either the Library or any derivative work under
825copyright law: that is to say, a work containing the Library or a
826portion of it, either verbatim or with modifications and/or translated
827straightforwardly into another language.  (Hereinafter, translation is
828included without limitation in the term "modification".)
829
830  "Source code" for a work means the preferred form of the work for
831making modifications to it.  For a library, complete source code means
832all the source code for all modules it contains, plus any associated
833interface definition files, plus the scripts used to control
834compilation and installation of the library.
835
836  Activities other than copying, distribution and modification are not
837covered by this License; they are outside its scope.  The act of
838running a program using the Library is not restricted, and output from
839such a program is covered only if its contents constitute a work based
840on the Library (independent of the use of the Library in a tool for
841writing it).  Whether that is true depends on what the Library does
842and what the program that uses the Library does.
843
844
845  1. You may copy and distribute verbatim copies of the Library's
846complete source code as you receive it, in any medium, provided that
847you conspicuously and appropriately publish on each copy an
848appropriate copyright notice and disclaimer of warranty; keep intact
849all the notices that refer to this License and to the absence of any
850warranty; and distribute a copy of this License along with the
851Library.
852
853  You may charge a fee for the physical act of transferring a copy,
854and you may at your option offer warranty protection in exchange for a
855fee.
856
857
858  2. You may modify your copy or copies of the Library or any portion
859of it, thus forming a work based on the Library, and copy and
860distribute such modifications or work under the terms of Section 1
861above, provided that you also meet all of these conditions:
862
863    a) The modified work must itself be a software library.
864
865    b) You must cause the files modified to carry prominent notices
866    stating that you changed the files and the date of any change.
867
868    c) You must cause the whole of the work to be licensed at no
869    charge to all third parties under the terms of this License.
870
871    d) If a facility in the modified Library refers to a function or a
872    table of data to be supplied by an application program that uses
873    the facility, other than as an argument passed when the facility
874    is invoked, then you must make a good faith effort to ensure that,
875    in the event an application does not supply such function or
876    table, the facility still operates, and performs whatever part of
877    its purpose remains meaningful.
878
879    (For example, a function in a library to compute square roots has
880    a purpose that is entirely well-defined independent of the
881    application.  Therefore, Subsection 2d requires that any
882    application-supplied function or table used by this function must
883    be optional: if the application does not supply it, the square
884    root function must still compute square roots.)
885
886These requirements apply to the modified work as a whole.  If
887identifiable sections of that work are not derived from the Library,
888and can be reasonably considered independent and separate works in
889themselves, then this License, and its terms, do not apply to those
890sections when you distribute them as separate works.  But when you
891distribute the same sections as part of a whole which is a work based
892on the Library, the distribution of the whole must be on the terms of
893this License, whose permissions for other licensees extend to the
894entire whole, and thus to each and every part regardless of who wrote
895it.
896
897Thus, it is not the intent of this section to claim rights or contest
898your rights to work written entirely by you; rather, the intent is to
899exercise the right to control the distribution of derivative or
900collective works based on the Library.
901
902In addition, mere aggregation of another work not based on the Library
903with the Library (or with a work based on the Library) on a volume of
904a storage or distribution medium does not bring the other work under
905the scope of this License.
906
907
908  3. You may opt to apply the terms of the ordinary GNU General Public
909License instead of this License to a given copy of the Library.  To do
910this, you must alter all the notices that refer to this License, so
911that they refer to the ordinary GNU General Public License, version 2,
912instead of to this License.  (If a newer version than version 2 of the
913ordinary GNU General Public License has appeared, then you can specify
914that version instead if you wish.)  Do not make any other change in
915these notices.
916
917  Once this change is made in a given copy, it is irreversible for
918that copy, so the ordinary GNU General Public License applies to all
919subsequent copies and derivative works made from that copy.
920
921  This option is useful when you wish to copy part of the code of
922the Library into a program that is not a library.
923
924
925  4. You may copy and distribute the Library (or a portion or
926derivative of it, under Section 2) in object code or executable form
927under the terms of Sections 1 and 2 above provided that you accompany
928it with the complete corresponding machine-readable source code, which
929must be distributed under the terms of Sections 1 and 2 above on a
930medium customarily used for software interchange.
931
932  If distribution of object code is made by offering access to copy
933from a designated place, then offering equivalent access to copy the
934source code from the same place satisfies the requirement to
935distribute the source code, even though third parties are not
936compelled to copy the source along with the object code.
937
938
939  5. A program that contains no derivative of any portion of the
940Library, but is designed to work with the Library by being compiled or
941linked with it, is called a "work that uses the Library".  Such a
942work, in isolation, is not a derivative work of the Library, and
943therefore falls outside the scope of this License.
944
945  However, linking a "work that uses the Library" with the Library
946creates an executable that is a derivative of the Library (because it
947contains portions of the Library), rather than a "work that uses the
948library".  The executable is therefore covered by this License.
949Section 6 states terms for distribution of such executables.
950
951  When a "work that uses the Library" uses material from a header file
952that is part of the Library, the object code for the work may be a
953derivative work of the Library even though the source code is not.
954Whether this is true is especially significant if the work can be
955linked without the Library, or if the work is itself a library.  The
956threshold for this to be true is not precisely defined by law.
957
958  If such an object file uses only numerical parameters, data
959structure layouts and accessors, and small macros and small inline
960functions (ten lines or less in length), then the use of the object
961file is unrestricted, regardless of whether it is legally a derivative
962work.  (Executables containing this object code plus portions of the
963Library will still fall under Section 6.)
964
965  Otherwise, if the work is a derivative of the Library, you may
966distribute the object code for the work under the terms of Section 6.
967Any executables containing that work also fall under Section 6,
968whether or not they are linked directly with the Library itself.
969
970
971  6. As an exception to the Sections above, you may also combine or
972link a "work that uses the Library" with the Library to produce a
973work containing portions of the Library, and distribute that work
974under terms of your choice, provided that the terms permit
975modification of the work for the customer's own use and reverse
976engineering for debugging such modifications.
977
978  You must give prominent notice with each copy of the work that the
979Library is used in it and that the Library and its use are covered by
980this License.  You must supply a copy of this License.  If the work
981during execution displays copyright notices, you must include the
982copyright notice for the Library among them, as well as a reference
983directing the user to the copy of this License.  Also, you must do one
984of these things:
985
986    a) Accompany the work with the complete corresponding
987    machine-readable source code for the Library including whatever
988    changes were used in the work (which must be distributed under
989    Sections 1 and 2 above); and, if the work is an executable linked
990    with the Library, with the complete machine-readable "work that
991    uses the Library", as object code and/or source code, so that the
992    user can modify the Library and then relink to produce a modified
993    executable containing the modified Library.  (It is understood
994    that the user who changes the contents of definitions files in the
995    Library will not necessarily be able to recompile the application
996    to use the modified definitions.)
997
998    b) Use a suitable shared library mechanism for linking with the
999    Library.  A suitable mechanism is one that (1) uses at run time a
1000    copy of the library already present on the user's computer system,
1001    rather than copying library functions into the executable, and (2)
1002    will operate properly with a modified version of the library, if
1003    the user installs one, as long as the modified version is
1004    interface-compatible with the version that the work was made with.
1005
1006    c) Accompany the work with a written offer, valid for at
1007    least three years, to give the same user the materials
1008    specified in Subsection 6a, above, for a charge no more
1009    than the cost of performing this distribution.
1010
1011    d) If distribution of the work is made by offering access to copy
1012    from a designated place, offer equivalent access to copy the above
1013    specified materials from the same place.
1014
1015    e) Verify that the user has already received a copy of these
1016    materials or that you have already sent this user a copy.
1017
1018  For an executable, the required form of the "work that uses the
1019Library" must include any data and utility programs needed for
1020reproducing the executable from it.  However, as a special exception,
1021the materials to be distributed need not include anything that is
1022normally distributed (in either source or binary form) with the major
1023components (compiler, kernel, and so on) of the operating system on
1024which the executable runs, unless that component itself accompanies
1025the executable.
1026
1027  It may happen that this requirement contradicts the license
1028restrictions of other proprietary libraries that do not normally
1029accompany the operating system.  Such a contradiction means you cannot
1030use both them and the Library together in an executable that you
1031distribute.
1032
1033
1034  7. You may place library facilities that are a work based on the
1035Library side-by-side in a single library together with other library
1036facilities not covered by this License, and distribute such a combined
1037library, provided that the separate distribution of the work based on
1038the Library and of the other library facilities is otherwise
1039permitted, and provided that you do these two things:
1040
1041    a) Accompany the combined library with a copy of the same work
1042    based on the Library, uncombined with any other library
1043    facilities.  This must be distributed under the terms of the
1044    Sections above.
1045
1046    b) Give prominent notice with the combined library of the fact
1047    that part of it is a work based on the Library, and explaining
1048    where to find the accompanying uncombined form of the same work.
1049
1050
1051  8. You may not copy, modify, sublicense, link with, or distribute
1052the Library except as expressly provided under this License.  Any
1053attempt otherwise to copy, modify, sublicense, link with, or
1054distribute the Library is void, and will automatically terminate your
1055rights under this License.  However, parties who have received copies,
1056or rights, from you under this License will not have their licenses
1057terminated so long as such parties remain in full compliance.
1058
1059
1060  9. You are not required to accept this License, since you have not
1061signed it.  However, nothing else grants you permission to modify or
1062distribute the Library or its derivative works.  These actions are
1063prohibited by law if you do not accept this License.  Therefore, by
1064modifying or distributing the Library (or any work based on the
1065Library), you indicate your acceptance of this License to do so, and
1066all its terms and conditions for copying, distributing or modifying
1067the Library or works based on it.
1068
1069  10. Each time you redistribute the Library (or any work based on the
1070Library), the recipient automatically receives a license from the
1071original licensor to copy, distribute, link with or modify the Library
1072subject to these terms and conditions.  You may not impose any further
1073restrictions on the recipients' exercise of the rights granted herein.
1074You are not responsible for enforcing compliance by third parties with
1075this License.
1076
1077  11. If, as a consequence of a court judgment or allegation of patent
1078infringement or for any other reason (not limited to patent issues),
1079conditions are imposed on you (whether by court order, agreement or
1080otherwise) that contradict the conditions of this License, they do not
1081excuse you from the conditions of this License.  If you cannot
1082distribute so as to satisfy simultaneously your obligations under this
1083License and any other pertinent obligations, then as a consequence you
1084may not distribute the Library at all.  For example, if a patent
1085license would not permit royalty-free redistribution of the Library by
1086all those who receive copies directly or indirectly through you, then
1087the only way you could satisfy both it and this License would be to
1088refrain entirely from distribution of the Library.
1089
1090If any portion of this section is held invalid or unenforceable under
1091any particular circumstance, the balance of the section is intended
1092to apply, and the section as a whole is intended to apply in other
1093circumstances.
1094
1095It is not the purpose of this section to induce you to infringe any
1096patents or other property right claims or to contest validity of any
1097such claims; this section has the sole purpose of protecting the
1098integrity of the free software distribution system which is
1099implemented by public license practices.  Many people have made
1100generous contributions to the wide range of software distributed
1101through that system in reliance on consistent application of that
1102system; it is up to the author/donor to decide if he or she is willing
1103to distribute software through any other system and a licensee cannot
1104impose that choice.
1105
1106This section is intended to make thoroughly clear what is believed to
1107be a consequence of the rest of this License.
1108
1109  12. If the distribution and/or use of the Library is restricted in
1110certain countries either by patents or by copyrighted interfaces, the
1111original copyright holder who places the Library under this License
1112may add an explicit geographical distribution limitation excluding
1113those countries, so that distribution is permitted only in or among
1114countries not thus excluded.  In such case, this License incorporates
1115the limitation as if written in the body of this License.
1116
1117  13. The Free Software Foundation may publish revised and/or new
1118versions of the Lesser General Public License from time to time.
1119Such new versions will be similar in spirit to the present version,
1120but may differ in detail to address new problems or concerns.
1121
1122Each version is given a distinguishing version number.  If the Library
1123specifies a version number of this License which applies to it and
1124"any later version", you have the option of following the terms and
1125conditions either of that version or of any later version published by
1126the Free Software Foundation.  If the Library does not specify a
1127license version number, you may choose any version ever published by
1128the Free Software Foundation.
1129
1130  14. If you wish to incorporate parts of the Library into other free
1131programs whose distribution conditions are incompatible with these,
1132write to the author to ask for permission.  For software which is
1133copyrighted by the Free Software Foundation, write to the Free
1134Software Foundation; we sometimes make exceptions for this.  Our
1135decision will be guided by the two goals of preserving the free status
1136of all derivatives of our free software and of promoting the sharing
1137and reuse of software generally.
1138
1139                            NO WARRANTY
1140
1141  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
1142WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
1143EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
1144OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
1145KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
1146IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1147PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
1148LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
1149THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
1150
1151  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
1152WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
1153AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
1154FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
1155CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
1156LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
1157RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
1158FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
1159SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
1160DAMAGES.
1161
1162                     END OF TERMS AND CONDITIONS
1163
1164           How to Apply These Terms to Your New Libraries
1165
1166  If you develop a new library, and you want it to be of the greatest
1167possible use to the public, we recommend making it free software that
1168everyone can redistribute and change.  You can do so by permitting
1169redistribution under these terms (or, alternatively, under the terms
1170of the ordinary General Public License).
1171
1172  To apply these terms, attach the following notices to the library.
1173It is safest to attach them to the start of each source file to most
1174effectively convey the exclusion of warranty; and each file should
1175have at least the "copyright" line and a pointer to where the full
1176notice is found.
1177
1178    <one line to give the library's name and a brief idea of what it does.>
1179    Copyright (C) <year>  <name of author>
1180
1181    This library is free software; you can redistribute it and/or
1182    modify it under the terms of the GNU Lesser General Public
1183    License as published by the Free Software Foundation; either
1184    version 2.1 of the License, or (at your option) any later version.
1185
1186    This library is distributed in the hope that it will be useful,
1187    but WITHOUT ANY WARRANTY; without even the implied warranty of
1188    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
1189    Lesser General Public License for more details.
1190
1191    You should have received a copy of the GNU Lesser General Public
1192    License along with this library; if not, write to the Free Software
1193    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
1194    02110-1301  USA
1195
1196Also add information on how to contact you by electronic and paper mail.
1197
1198You should also get your employer (if you work as a programmer) or your
1199school, if any, to sign a "copyright disclaimer" for the library, if
1200necessary.  Here is a sample; alter the names:
1201
1202  Yoyodyne, Inc., hereby disclaims all copyright interest in the
1203  library `Frob' (a library for tweaking knobs) written by James
1204  Random Hacker.
1205
1206  <signature of Ty Coon>, 1 April 1990
1207  Ty Coon, President of Vice
1208
1209That's all there is to it!
1210
1211GNU Lesser General Public License Version 2, June 1991
1212
1213GNU LIBRARY GENERAL PUBLIC LICENSE
1214
1215Version 2, June 1991
1216
1217Copyright (C) 1991 Free Software Foundation, Inc.
121851 Franklin St, Fifth Floor, Boston, MA  02110-1301, USA
1219Everyone is permitted to copy and distribute verbatim copies
1220of this license document, but changing it is not allowed.
1221
1222[This is the first released version of the library GPL.  It is numbered 2
1223because it goes with version 2 of the ordinary GPL.]
1224
1225Preamble
1226
1227The licenses for most software are designed to take away your freedom to
1228share and change it. By contrast, the GNU General Public Licenses are
1229intended to guarantee your freedom to share and change free software--to make
1230sure the software is free for all its users.
1231
1232This license, the Library General Public License, applies to some specially
1233designated Free Software Foundation software, and to any other libraries
1234whose authors decide to use it. You can use it for your libraries, too.
1235
1236When we speak of free software, we are referring to freedom, not price. Our
1237General Public Licenses are designed to make sure that you have the freedom
1238to distribute copies of free software (and charge for this service if you
1239wish), that you receive source code or can get it if you want it, that you
1240can change the software or use pieces of it in new free programs; and that
1241you know you can do these things.
1242
1243To protect your rights, we need to make restrictions that forbid anyone to
1244deny you these rights or to ask you to surrender the rights. These
1245restrictions translate to certain responsibilities for you if you distribute
1246copies of the library, or if you modify it.
1247
1248For example, if you distribute copies of the library, whether gratis or for a
1249fee, you must give the recipients all the rights that we gave you. You must
1250make sure that they, too, receive or can get the source code. If you link a
1251program with the library, you must provide complete object files to the
1252recipients so that they can relink them with the library, after making
1253changes to the library and recompiling it. And you must show them these terms
1254so they know their rights.
1255
1256Our method of protecting your rights has two steps: (1) copyright the
1257library, and (2) offer you this license which gives you legal permission to
1258copy, distribute and/or modify the library.
1259
1260Also, for each distributor's protection, we want to make certain that
1261everyone understands that there is no warranty for this free library. If the
1262library is modified by someone else and passed on, we want its recipients to
1263know that what they have is not the original version, so that any problems
1264introduced by others will not reflect on the original authors' reputations.
1265
1266Finally, any free program is threatened constantly by software patents. We
1267wish to avoid the danger that companies distributing free software will
1268individually obtain patent licenses, thus in effect transforming the program
1269into proprietary software. To prevent this, we have made it clear that any
1270patent must be licensed for everyone's free use or not licensed at all.
1271
1272Most GNU software, including some libraries, is covered by the ordinary GNU
1273General Public License, which was designed for utility programs. This
1274license, the GNU Library General Public License, applies to certain
1275designated libraries. This license is quite different from the ordinary one;
1276be sure to read it in full, and don't assume that anything in it is the same
1277as in the ordinary license.
1278
1279The reason we have a separate public license for some libraries is that they
1280blur the distinction we usually make between modifying or adding to a program
1281and simply using it. Linking a program with a library, without changing the
1282library, is in some sense simply using the library, and is analogous to
1283running a utility program or application program. However, in a textual and
1284legal sense, the linked executable is a combined work, a derivative of the
1285original library, and the ordinary General Public License treats it as such.
1286
1287Because of this blurred distinction, using the ordinary General Public
1288License for libraries did not effectively promote software sharing, because
1289most developers did not use the libraries. We concluded that weaker
1290conditions might promote sharing better.
1291
1292However, unrestricted linking of non-free programs would deprive the users of
1293those programs of all benefit from the free status of the libraries
1294themselves. This Library General Public License is intended to permit
1295developers of non-free programs to use free libraries, while preserving your
1296freedom as a user of such programs to change the free libraries that are
1297incorporated in them. (We have not seen how to achieve this as regards
1298changes in header files, but we have achieved it as regards changes in the
1299actual functions of the Library.) The hope is that this will lead to faster
1300development of free libraries.
1301
1302The precise terms and conditions for copying, distribution and modification
1303follow. Pay close attention to the difference between a "work based on the
1304library" and a "work that uses the library". The former contains code derived
1305from the library, while the latter only works together with the library.
1306
1307Note that it is possible for a library to be covered by the ordinary General
1308Public License rather than by this special one.
1309
1310TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1311
13120. This License Agreement applies to any software library which contains a
1313notice placed by the copyright holder or other authorized party saying it may
1314be distributed under the terms of this Library General Public License (also
1315called "this License"). Each licensee is addressed as "you".
1316
1317A "library" means a collection of software functions and/or data prepared so
1318as to be conveniently linked with application programs (which use some of
1319those functions and data) to form executables.
1320
1321The "Library", below, refers to any such software library or work which has
1322been distributed under these terms. A "work based on the Library" means
1323either the Library or any derivative work under copyright law: that is to
1324say, a work containing the Library or a portion of it, either verbatim or
1325with modifications and/or translated straightforwardly into another language.
1326(Hereinafter, translation is included without limitation in the term
1327"modification".)
1328
1329"Source code" for a work means the preferred form of the work for making
1330modifications to it. For a library, complete source code means all the source
1331code for all modules it contains, plus any associated interface definition
1332files, plus the scripts used to control compilation and installation of the
1333library.
1334
1335Activities other than copying, distribution and modification are not covered
1336by this License; they are outside its scope. The act of running a program
1337using the Library is not restricted, and output from such a program is
1338covered only if its contents constitute a work based on the Library
1339(independent of the use of the Library in a tool for writing it). Whether
1340that is true depends on what the Library does and what the program that uses
1341the Library does.
1342
13431. You may copy and distribute verbatim copies of the Library's complete
1344source code as you receive it, in any medium, provided that you conspicuously
1345and appropriately publish on each copy an appropriate copyright notice and
1346disclaimer of warranty; keep intact all the notices that refer to this
1347License and to the absence of any warranty; and distribute a copy of this
1348License along with the Library.
1349
1350You may charge a fee for the physical act of transferring a copy, and you may
1351at your option offer warranty protection in exchange for a fee.
1352
13532. You may modify your copy or copies of the Library or any portion of it,
1354thus forming a work based on the Library, and copy and distribute such
1355modifications or work under the terms of Section 1 above, provided that you
1356also meet all of these conditions:
1357
1358    a) The modified work must itself be a software library.
1359    b) You must cause the files modified to carry prominent notices stating
1360that you changed the files and the date of any change.
1361    c) You must cause the whole of the work to be licensed at no charge to
1362all third parties under the terms of this License.
1363    d) If a facility in the modified Library refers to a function or a table
1364of data to be supplied by an application program that uses the facility,
1365other than as an argument passed when the facility is invoked, then you must
1366make a good faith effort to ensure that, in the event an application does not
1367supply such function or table, the facility still operates, and performs
1368whatever part of its purpose remains meaningful.
1369
1370    (For example, a function in a library to compute square roots has a
1371purpose that is entirely well-defined independent of the application.
1372Therefore, Subsection 2d requires that any application-supplied function or
1373table used by this function must be optional: if the application does not
1374supply it, the square root function must still compute square roots.)
1375
1376These requirements apply to the modified work as a whole. If identifiable
1377sections of that work are not derived from the Library, and can be reasonably
1378considered independent and separate works in themselves, then this License,
1379and its terms, do not apply to those sections when you distribute them as
1380separate works. But when you distribute the same sections as part of a whole
1381which is a work based on the Library, the distribution of the whole must be
1382on the terms of this License, whose permissions for other licensees extend to
1383the entire whole, and thus to each and every part regardless of who wrote it.
1384
1385Thus, it is not the intent of this section to claim rights or contest your
1386rights to work written entirely by you; rather, the intent is to exercise the
1387right to control the distribution of derivative or collective works based on
1388the Library.
1389
1390In addition, mere aggregation of another work not based on the Library with
1391the Library (or with a work based on the Library) on a volume of a storage or
1392distribution medium does not bring the other work under the scope of this
1393License.
1394
13953. You may opt to apply the terms of the ordinary GNU General Public License
1396instead of this License to a given copy of the Library. To do this, you must
1397alter all the notices that refer to this License, so that they refer to the
1398ordinary GNU General Public License, version 2, instead of to this License.
1399(If a newer version than version 2 of the ordinary GNU General Public License
1400has appeared, then you can specify that version instead if you wish.) Do not
1401make any other change in these notices.
1402
1403Once this change is made in a given copy, it is irreversible for that copy,
1404so the ordinary GNU General Public License applies to all subsequent copies
1405and derivative works made from that copy.
1406
1407This option is useful when you wish to copy part of the code of the Library
1408into a program that is not a library.
1409
14104. You may copy and distribute the Library (or a portion or derivative of it,
1411under Section 2) in object code or executable form under the terms of
1412Sections 1 and 2 above provided that you accompany it with the complete
1413corresponding machine-readable source code, which must be distributed under
1414the terms of Sections 1 and 2 above on a medium customarily used for software
1415interchange.
1416
1417If distribution of object code is made by offering access to copy from a
1418designated place, then offering equivalent access to copy the source code
1419from the same place satisfies the requirement to distribute the source code,
1420even though third parties are not compelled to copy the source along with the
1421object code.
1422
14235. A program that contains no derivative of any portion of the Library, but
1424is designed to work with the Library by being compiled or linked with it, is
1425called a "work that uses the Library". Such a work, in isolation, is not a
1426derivative work of the Library, and therefore falls outside the scope of this
1427License.
1428
1429However, linking a "work that uses the Library" with the Library creates an
1430executable that is a derivative of the Library (because it contains portions
1431of the Library), rather than a "work that uses the library". The executable
1432is therefore covered by this License. Section 6 states terms for distribution
1433of such executables.
1434
1435When a "work that uses the Library" uses material from a header file that is
1436part of the Library, the object code for the work may be a derivative work of
1437the Library even though the source code is not. Whether this is true is
1438especially significant if the work can be linked without the Library, or if
1439the work is itself a library. The threshold for this to be true is not
1440precisely defined by law.
1441
1442If such an object file uses only numerical parameters, data structure layouts
1443and accessors, and small macros and small inline functions (ten lines or less
1444in length), then the use of the object file is unrestricted, regardless of
1445whether it is legally a derivative work. (Executables containing this object
1446code plus portions of the Library will still fall under Section 6.)
1447
1448Otherwise, if the work is a derivative of the Library, you may distribute the
1449object code for the work under the terms of Section 6. Any executables
1450containing that work also fall under Section 6, whether or not they are
1451linked directly with the Library itself.
1452
14536. As an exception to the Sections above, you may also compile or link a
1454"work that uses the Library" with the Library to produce a work containing
1455portions of the Library, and distribute that work under terms of your choice,
1456provided that the terms permit modification of the work for the customer's
1457own use and reverse engineering for debugging such modifications.
1458
1459You must give prominent notice with each copy of the work that the Library is
1460used in it and that the Library and its use are covered by this License. You
1461must supply a copy of this License. If the work during execution displays
1462copyright notices, you must include the copyright notice for the Library
1463among them, as well as a reference directing the user to the copy of this
1464License. Also, you must do one of these things:
1465
1466    a) Accompany the work with the complete corresponding machine-readable
1467source code for the Library including whatever changes were used in the work
1468(which must be distributed under Sections 1 and 2 above); and, if the work is
1469an executable linked with the Library, with the complete machine-readable
1470"work that uses the Library", as object code and/or source code, so that the
1471user can modify the Library and then relink to produce a modified executable
1472containing the modified Library. (It is understood that the user who changes
1473the contents of definitions files in the Library will not necessarily be able
1474to recompile the application to use the modified definitions.)
1475    b) Accompany the work with a written offer, valid for at least three
1476years, to give the same user the materials specified in Subsection 6a, above,
1477for a charge no more than the cost of performing this distribution.
1478    c) If distribution of the work is made by offering access to copy from a
1479designated place, offer equivalent access to copy the above specified
1480materials from the same place.
1481    d) Verify that the user has already received a copy of these materials or
1482that you have already sent this user a copy.
1483
1484For an executable, the required form of the "work that uses the Library" must
1485include any data and utility programs needed for reproducing the executable
1486from it. However, as a special exception, the source code distributed need
1487not include anything that is normally distributed (in either source or binary
1488form) with the major components (compiler, kernel, and so on) of the
1489operating system on which the executable runs, unless that component itself
1490accompanies the executable.
1491
1492It may happen that this requirement contradicts the license restrictions of
1493other proprietary libraries that do not normally accompany the operating
1494system. Such a contradiction means you cannot use both them and the Library
1495together in an executable that you distribute.
1496
14977. You may place library facilities that are a work based on the Library
1498side-by-side in a single library together with other library facilities not
1499covered by this License, and distribute such a combined library, provided
1500that the separate distribution of the work based on the Library and of the
1501other library facilities is otherwise permitted, and provided that you do
1502these two things:
1503
1504    a) Accompany the combined library with a copy of the same work based on
1505the Library, uncombined with any other library facilities. This must be
1506distributed under the terms of the Sections above.
1507    b) Give prominent notice with the combined library of the fact that part
1508of it is a work based on the Library, and explaining where to find the
1509accompanying uncombined form of the same work.
1510
15118. You may not copy, modify, sublicense, link with, or distribute the Library
1512except as expressly provided under this License. Any attempt otherwise to
1513copy, modify, sublicense, link with, or distribute the Library is void, and
1514will automatically terminate your rights under this License. However, parties
1515who have received copies, or rights, from you under this License will not
1516have their licenses terminated so long as such parties remain in full
1517compliance.
1518
15199. You are not required to accept this License, since you have not signed it.
1520However, nothing else grants you permission to modify or distribute the
1521Library or its derivative works. These actions are prohibited by law if you
1522do not accept this License. Therefore, by modifying or distributing the
1523Library (or any work based on the Library), you indicate your acceptance of
1524this License to do so, and all its terms and conditions for copying,
1525distributing or modifying the Library or works based on it.
1526
152710. Each time you redistribute the Library (or any work based on the
1528Library), the recipient automatically receives a license from the original
1529licensor to copy, distribute, link with or modify the Library subject to
1530these terms and conditions. You may not impose any further restrictions on
1531the recipients' exercise of the rights granted herein. You are not
1532responsible for enforcing compliance by third parties to this License.
1533
153411. If, as a consequence of a court judgment or allegation of patent
1535infringement or for any other reason (not limited to patent issues),
1536conditions are imposed on you (whether by court order, agreement or
1537otherwise) that contradict the conditions of this License, they do not excuse
1538you from the conditions of this License. If you cannot distribute so as to
1539satisfy simultaneously your obligations under this License and any other
1540pertinent obligations, then as a consequence you may not distribute the
1541Library at all. For example, if a patent license would not permit
1542royalty-free redistribution of the Library by all those who receive copies
1543directly or indirectly through you, then the only way you could satisfy both
1544it and this License would be to refrain entirely from distribution of the
1545Library.
1546
1547If any portion of this section is held invalid or unenforceable under any
1548particular circumstance, the balance of the section is intended to apply, and
1549the section as a whole is intended to apply in other circumstances.
1550
1551It is not the purpose of this section to induce you to infringe any patents
1552or other property right claims or to contest validity of any such claims;
1553this section has the sole purpose of protecting the integrity of the free
1554software distribution system which is implemented by public license
1555practices. Many people have made generous contributions to the wide range of
1556software distributed through that system in reliance on consistent
1557application of that system; it is up to the author/donor to decide if he or
1558she is willing to distribute software through any other system and a licensee
1559cannot impose that choice.
1560
1561This section is intended to make thoroughly clear what is believed to be a
1562consequence of the rest of this License.
1563
156412. If the distribution and/or use of the Library is restricted in certain
1565countries either by patents or by copyrighted interfaces, the original
1566copyright holder who places the Library under this License may add an
1567explicit geographical distribution limitation excluding those countries, so
1568that distribution is permitted only in or among countries not thus excluded.
1569In such case, this License incorporates the limitation as if written in the
1570body of this License.
1571
157213. The Free Software Foundation may publish revised and/or new versions of
1573the Library General Public License from time to time. Such new versions will
1574be similar in spirit to the present version, but may differ in detail to
1575address new problems or concerns.
1576
1577Each version is given a distinguishing version number. If the Library
1578specifies a version number of this License which applies to it and "any later
1579version", you have the option of following the terms and conditions either of
1580that version or of any later version published by the Free Software
1581Foundation. If the Library does not specify a license version number, you may
1582choose any version ever published by the Free Software Foundation.
1583
158414. If you wish to incorporate parts of the Library into other free programs
1585whose distribution conditions are incompatible with these, write to the
1586author to ask for permission. For software which is copyrighted by the Free
1587Software Foundation, write to the Free Software Foundation; we sometimes make
1588exceptions for this. Our decision will be guided by the two goals of
1589preserving the free status of all derivatives of our free software and of
1590promoting the sharing and reuse of software generally.
1591
1592NO WARRANTY
1593
159415. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
1595THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
1596STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE
1597LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
1598INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
1599FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
1600PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE,
1601YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
1602
160316. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
1604WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
1605REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
1606INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
1607OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO
1608LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR
1609THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER
1610SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
1611POSSIBILITY OF SUCH DAMAGES.
1612END OF TERMS AND CONDITIONS
1613How to Apply These Terms to Your New Libraries
1614
1615If you develop a new library, and you want it to be of the greatest possible
1616use to the public, we recommend making it free software that everyone can
1617redistribute and change. You can do so by permitting redistribution under
1618these terms (or, alternatively, under the terms of the ordinary General
1619Public License).
1620
1621To apply these terms, attach the following notices to the library. It is
1622safest to attach them to the start of each source file to most effectively
1623convey the exclusion of warranty; and each file should have at least the
1624"copyright" line and a pointer to where the full notice is found.
1625
1626one line to give the library's name and an idea of what it does.
1627Copyright (C) year  name of author
1628
1629This library is free software; you can redistribute it and/or
1630modify it under the terms of the GNU Library General Public
1631License as published by the Free Software Foundation; either
1632version 2 of the License, or (at your option) any later version.
1633
1634This library is distributed in the hope that it will be useful,
1635but WITHOUT ANY WARRANTY; without even the implied warranty of
1636MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
1637Library General Public License for more details.
1638
1639You should have received a copy of the GNU Library General Public
1640License along with this library; if not, write to the
1641Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
1642Boston, MA  02110-1301, USA.
1643
1644Also add information on how to contact you by electronic and paper mail.
1645
1646You should also get your employer (if you work as a programmer) or your
1647school, if any, to sign a "copyright disclaimer" for the library, if
1648necessary. Here is a sample; alter the names:
1649
1650Yoyodyne, Inc., hereby disclaims all copyright interest in
1651the library `Frob' (a library for tweaking knobs) written
1652by James Random Hacker.
1653
1654signature of Ty Coon, 1 April 1990
1655Ty Coon, President of Vice
1656
1657That's all there is to it!
1658
1659MIT License
1660
1661Permission is hereby granted, free of charge, to any person obtaining a
1662copy of this software and associated documentation files (the "Software"),
1663to deal in the Software without restriction, including without limitation
1664the rights to use, copy, modify, merge, publish, distribute, sublicense,
1665and/or sell copies of the Software, and to permit persons to whom the
1666Software is furnished to do so, subject to the following conditions:
1667
1668The above copyright notice and this permission notice shall be included
1669in all copies or substantial portions of the Software.
1670
1671THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
1672OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1673FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
1674THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
1675OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
1676ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
1677OTHER DEALINGS IN THE SOFTWARE.
1678
1679</pre>
1680</body></html>
1681