1
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}{\f1\fnil\fcharset0 Courier New;}}
2
{\*\generator Msftedit 5.41.21.2507;}\viewkind4\uc1\pard\f0\fs20 OCaml libvirt bindings and programs\par
3
Copyright \'a9 2007-2008 Red Hat Inc.\par
6
Programs and libraries in this installer are licensed variously under the GNU General Public License (GPL) and GNU Lesser General Public License (LGPL) version 2 and above. These licenses are reproduced below. Source for all parts is available from the website at http://libvirt.org.\par
11
\f1\tab\tab GNU GENERAL PUBLIC LICENSE\par
12
\tab\tab Version 2, June 1991\par
14
Copyright (C) 1989, 1991 Free Software Foundation, Inc.\par
15
675 Mass Ave, Cambridge, MA 02139, USA\par
16
Everyone is permitted to copy and distribute verbatim copies\par
17
of this license document, but changing it is not allowed.\par
19
\tab\tab\tab Preamble\par
21
The licenses for most software are designed to take away your\par
22
freedom to share and change it. By contrast, the GNU General Public\par
23
License is intended to guarantee your freedom to share and change free\par
24
software--to make sure the software is free for all its users. This\par
25
General Public License applies to most of the Free Software\par
26
Foundation's software and to any other program whose authors commit to\par
27
using it. (Some other Free Software Foundation software is covered by\par
28
the GNU Library General Public License instead.) You can apply it to\par
29
your programs, too.\par
31
When we speak of free software, we are referring to freedom, not\par
32
price. Our General Public Licenses are designed to make sure that you\par
33
have the freedom to distribute copies of free software (and charge for\par
34
this service if you wish), that you receive source code or can get it\par
35
if you want it, that you can change the software or use pieces of it\par
36
in new free programs; and that you know you can do these things.\par
38
To protect your rights, we need to make restrictions that forbid\par
39
anyone to deny you these rights or to ask you to surrender the rights.\par
40
These restrictions translate to certain responsibilities for you if you\par
41
distribute copies of the software, or if you modify it.\par
43
For example, if you distribute copies of such a program, whether\par
44
gratis or for a fee, you must give the recipients all the rights that\par
45
you have. You must make sure that they, too, receive or can get the\par
46
source code. And you must show them these terms so they know their\par
49
We protect your rights with two steps: (1) copyright the software, and\par
50
(2) offer you this license which gives you legal permission to copy,\par
51
distribute and/or modify the software.\par
53
Also, for each author's protection and ours, we want to make certain\par
54
that everyone understands that there is no warranty for this free\par
55
software. If the software is modified by someone else and passed on, we\par
56
want its recipients to know that what they have is not the original, so\par
57
that any problems introduced by others will not reflect on the original\par
58
authors' reputations.\par
60
Finally, any free program is threatened constantly by software\par
61
patents. We wish to avoid the danger that redistributors of a free\par
62
program will individually obtain patent licenses, in effect making the\par
63
program proprietary. To prevent this, we have made it clear that any\par
64
patent must be licensed for everyone's free use or not licensed at all.\par
66
The precise terms and conditions for copying, distribution and\par
67
modification follow.\par
69
\tab\tab GNU GENERAL PUBLIC LICENSE\par
70
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\par
72
0. This License applies to any program or other work which contains\par
73
a notice placed by the copyright holder saying it may be distributed\par
74
under the terms of this General Public License. The "Program", below,\par
75
refers to any such program or work, and a "work based on the Program"\par
76
means either the Program or any derivative work under copyright law:\par
77
that is to say, a work containing the Program or a portion of it,\par
78
either verbatim or with modifications and/or translated into another\par
79
language. (Hereinafter, translation is included without limitation in\par
80
the term "modification".) Each licensee is addressed as "you".\par
82
Activities other than copying, distribution and modification are not\par
83
covered by this License; they are outside its scope. The act of\par
84
running the Program is not restricted, and the output from the Program\par
85
is covered only if its contents constitute a work based on the\par
86
Program (independent of having been made by running the Program).\par
87
Whether that is true depends on what the Program does.\par
89
1. You may copy and distribute verbatim copies of the Program's\par
90
source code as you receive it, in any medium, provided that you\par
91
conspicuously and appropriately publish on each copy an appropriate\par
92
copyright notice and disclaimer of warranty; keep intact all the\par
93
notices that refer to this License and to the absence of any warranty;\par
94
and give any other recipients of the Program a copy of this License\par
95
along with the Program.\par
97
You may charge a fee for the physical act of transferring a copy, and\par
98
you may at your option offer warranty protection in exchange for a fee.\par
100
2. You may modify your copy or copies of the Program or any portion\par
101
of it, thus forming a work based on the Program, and copy and\par
102
distribute such modifications or work under the terms of Section 1\par
103
above, provided that you also meet all of these conditions:\par
105
a) You must cause the modified files to carry prominent notices\par
106
stating that you changed the files and the date of any change.\par
108
b) You must cause any work that you distribute or publish, that in\par
109
whole or in part contains or is derived from the Program or any\par
110
part thereof, to be licensed as a whole at no charge to all third\par
111
parties under the terms of this License.\par
113
c) If the modified program normally reads commands interactively\par
114
when run, you must cause it, when started running for such\par
115
interactive use in the most ordinary way, to print or display an\par
116
announcement including an appropriate copyright notice and a\par
117
notice that there is no warranty (or else, saying that you provide\par
118
a warranty) and that users may redistribute the program under\par
119
these conditions, and telling the user how to view a copy of this\par
120
License. (Exception: if the Program itself is interactive but\par
121
does not normally print such an announcement, your work based on\par
122
the Program is not required to print an announcement.)\par
124
These requirements apply to the modified work as a whole. If\par
125
identifiable sections of that work are not derived from the Program,\par
126
and can be reasonably considered independent and separate works in\par
127
themselves, then this License, and its terms, do not apply to those\par
128
sections when you distribute them as separate works. But when you\par
129
distribute the same sections as part of a whole which is a work based\par
130
on the Program, the distribution of the whole must be on the terms of\par
131
this License, whose permissions for other licensees extend to the\par
132
entire whole, and thus to each and every part regardless of who wrote it.\par
134
Thus, it is not the intent of this section to claim rights or contest\par
135
your rights to work written entirely by you; rather, the intent is to\par
136
exercise the right to control the distribution of derivative or\par
137
collective works based on the Program.\par
139
In addition, mere aggregation of another work not based on the Program\par
140
with the Program (or with a work based on the Program) on a volume of\par
141
a storage or distribution medium does not bring the other work under\par
142
the scope of this License.\par
144
3. You may copy and distribute the Program (or a work based on it,\par
145
under Section 2) in object code or executable form under the terms of\par
146
Sections 1 and 2 above provided that you also do one of the following:\par
148
a) Accompany it with the complete corresponding machine-readable\par
149
source code, which must be distributed under the terms of Sections\par
150
1 and 2 above on a medium customarily used for software interchange; or,\par
152
b) Accompany it with a written offer, valid for at least three\par
153
years, to give any third party, for a charge no more than your\par
154
cost of physically performing source distribution, a complete\par
155
machine-readable copy of the corresponding source code, to be\par
156
distributed under the terms of Sections 1 and 2 above on a medium\par
157
customarily used for software interchange; or,\par
159
c) Accompany it with the information you received as to the offer\par
160
to distribute corresponding source code. (This alternative is\par
161
allowed only for noncommercial distribution and only if you\par
162
received the program in object code or executable form with such\par
163
an offer, in accord with Subsection b above.)\par
165
The source code for a work means the preferred form of the work for\par
166
making modifications to it. For an executable work, complete source\par
167
code means all the source code for all modules it contains, plus any\par
168
associated interface definition files, plus the scripts used to\par
169
control compilation and installation of the executable. However, as a\par
170
special exception, the source code distributed need not include\par
171
anything that is normally distributed (in either source or binary\par
172
form) with the major components (compiler, kernel, and so on) of the\par
173
operating system on which the executable runs, unless that component\par
174
itself accompanies the executable.\par
176
If distribution of executable or object code is made by offering\par
177
access to copy from a designated place, then offering equivalent\par
178
access to copy the source code from the same place counts as\par
179
distribution of the source code, even though third parties are not\par
180
compelled to copy the source along with the object code.\par
182
4. You may not copy, modify, sublicense, or distribute the Program\par
183
except as expressly provided under this License. Any attempt\par
184
otherwise to copy, modify, sublicense or distribute the Program is\par
185
void, and will automatically terminate your rights under this License.\par
186
However, parties who have received copies, or rights, from you under\par
187
this License will not have their licenses terminated so long as such\par
188
parties remain in full compliance.\par
190
5. You are not required to accept this License, since you have not\par
191
signed it. However, nothing else grants you permission to modify or\par
192
distribute the Program or its derivative works. These actions are\par
193
prohibited by law if you do not accept this License. Therefore, by\par
194
modifying or distributing the Program (or any work based on the\par
195
Program), you indicate your acceptance of this License to do so, and\par
196
all its terms and conditions for copying, distributing or modifying\par
197
the Program or works based on it.\par
199
6. Each time you redistribute the Program (or any work based on the\par
200
Program), the recipient automatically receives a license from the\par
201
original licensor to copy, distribute or modify the Program subject to\par
202
these terms and conditions. You may not impose any further\par
203
restrictions on the recipients' exercise of the rights granted herein.\par
204
You are not responsible for enforcing compliance by third parties to\par
207
7. If, as a consequence of a court judgment or allegation of patent\par
208
infringement or for any other reason (not limited to patent issues),\par
209
conditions are imposed on you (whether by court order, agreement or\par
210
otherwise) that contradict the conditions of this License, they do not\par
211
excuse you from the conditions of this License. If you cannot\par
212
distribute so as to satisfy simultaneously your obligations under this\par
213
License and any other pertinent obligations, then as a consequence you\par
214
may not distribute the Program at all. For example, if a patent\par
215
license would not permit royalty-free redistribution of the Program by\par
216
all those who receive copies directly or indirectly through you, then\par
217
the only way you could satisfy both it and this License would be to\par
218
refrain entirely from distribution of the Program.\par
220
If any portion of this section is held invalid or unenforceable under\par
221
any particular circumstance, the balance of the section is intended to\par
222
apply and the section as a whole is intended to apply in other\par
225
It is not the purpose of this section to induce you to infringe any\par
226
patents or other property right claims or to contest validity of any\par
227
such claims; this section has the sole purpose of protecting the\par
228
integrity of the free software distribution system, which is\par
229
implemented by public license practices. Many people have made\par
230
generous contributions to the wide range of software distributed\par
231
through that system in reliance on consistent application of that\par
232
system; it is up to the author/donor to decide if he or she is willing\par
233
to distribute software through any other system and a licensee cannot\par
234
impose that choice.\par
236
This section is intended to make thoroughly clear what is believed to\par
237
be a consequence of the rest of this License.\par
239
8. If the distribution and/or use of the Program is restricted in\par
240
certain countries either by patents or by copyrighted interfaces, the\par
241
original copyright holder who places the Program under this License\par
242
may add an explicit geographical distribution limitation excluding\par
243
those countries, so that distribution is permitted only in or among\par
244
countries not thus excluded. In such case, this License incorporates\par
245
the limitation as if written in the body of this License.\par
247
9. The Free Software Foundation may publish revised and/or new versions\par
248
of the General Public License from time to time. Such new versions will\par
249
be similar in spirit to the present version, but may differ in detail to\par
250
address new problems or concerns.\par
252
Each version is given a distinguishing version number. If the Program\par
253
specifies a version number of this License which applies to it and "any\par
254
later version", you have the option of following the terms and conditions\par
255
either of that version or of any later version published by the Free\par
256
Software Foundation. If the Program does not specify a version number of\par
257
this License, you may choose any version ever published by the Free Software\par
260
10. If you wish to incorporate parts of the Program into other free\par
261
programs whose distribution conditions are different, write to the author\par
262
to ask for permission. For software which is copyrighted by the Free\par
263
Software Foundation, write to the Free Software Foundation; we sometimes\par
264
make exceptions for this. Our decision will be guided by the two goals\par
265
of preserving the free status of all derivatives of our free software and\par
266
of promoting the sharing and reuse of software generally.\par
268
\tab\tab\tab NO WARRANTY\par
270
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\par
271
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\par
272
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\par
273
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\par
274
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\par
275
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\par
276
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\par
277
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\par
278
REPAIR OR CORRECTION.\par
280
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\par
281
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\par
282
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\par
283
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\par
284
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\par
285
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\par
286
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\par
287
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\par
288
POSSIBILITY OF SUCH DAMAGES.\par
290
\tab\tab END OF TERMS AND CONDITIONS\par
292
\tab How to Apply These Terms to Your New Programs\par
294
If you develop a new program, and you want it to be of the greatest\par
295
possible use to the public, the best way to achieve this is to make it\par
296
free software which everyone can redistribute and change under these terms.\par
298
To do so, attach the following notices to the program. It is safest\par
299
to attach them to the start of each source file to most effectively\par
300
convey the exclusion of warranty; and each file should have at least\par
301
the "copyright" line and a pointer to where the full notice is found.\par
303
<one line to give the program's name and a brief idea of what it does.>\par
304
Copyright (C) 19yy <name of author>\par
306
This program is free software; you can redistribute it and/or modify\par
307
it under the terms of the GNU General Public License as published by\par
308
the Free Software Foundation; either version 2 of the License, or\par
309
(at your option) any later version.\par
311
This program is distributed in the hope that it will be useful,\par
312
but WITHOUT ANY WARRANTY; without even the implied warranty of\par
313
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\par
314
GNU General Public License for more details.\par
316
You should have received a copy of the GNU General Public License\par
317
along with this program; if not, write to the Free Software\par
318
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\par
320
Also add information on how to contact you by electronic and paper mail.\par
322
If the program is interactive, make it output a short notice like this\par
323
when it starts in an interactive mode:\par
325
Gnomovision version 69, Copyright (C) 19yy name of author\par
326
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\par
327
This is free software, and you are welcome to redistribute it\par
328
under certain conditions; type `show c' for details.\par
330
The hypothetical commands `show w' and `show c' should show the appropriate\par
331
parts of the General Public License. Of course, the commands you use may\par
332
be called something other than `show w' and `show c'; they could even be\par
333
mouse-clicks or menu items--whatever suits your program.\par
335
You should also get your employer (if you work as a programmer) or your\par
336
school, if any, to sign a "copyright disclaimer" for the program, if\par
337
necessary. Here is a sample; alter the names:\par
339
Yoyodyne, Inc., hereby disclaims all copyright interest in the program\par
340
`Gnomovision' (which makes passes at compilers) written by James Hacker.\par
342
<signature of Ty Coon>, 1 April 1989\par
343
Ty Coon, President of Vice\par
345
This General Public License does not permit incorporating your program into\par
346
proprietary programs. If your program is a subroutine library, you may\par
347
consider it more useful to permit linking proprietary applications with the\par
348
library. If this is what you want to do, use the GNU Library General\par
349
Public License instead of this License.\par
354
GNU LESSER GENERAL PUBLIC LICENSE\par
355
Version 2.1, February 1999\par
357
Copyright (C) 1991, 1999 Free Software Foundation, Inc.\par
358
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\par
359
Everyone is permitted to copy and distribute verbatim copies\par
360
of this license document, but changing it is not allowed.\par
362
[This is the first released version of the Lesser GPL. It also counts\par
363
as the successor of the GNU Library Public License, version 2, hence\par
364
the version number 2.1.]\par
368
The licenses for most software are designed to take away your\par
369
freedom to share and change it. By contrast, the GNU General Public\par
370
Licenses are intended to guarantee your freedom to share and change\par
371
free software--to make sure the software is free for all its users.\par
373
This license, the Lesser General Public License, applies to some\par
374
specially designated software packages--typically libraries--of the\par
375
Free Software Foundation and other authors who decide to use it. You\par
376
can use it too, but we suggest you first think carefully about whether\par
377
this license or the ordinary General Public License is the better\par
378
strategy to use in any particular case, based on the explanations\par
381
When we speak of free software, we are referring to freedom of use,\par
382
not price. Our General Public Licenses are designed to make sure that\par
383
you have the freedom to distribute copies of free software (and charge\par
384
for this service if you wish); that you receive source code or can get\par
385
it if you want it; that you can change the software and use pieces of\par
386
it in new free programs; and that you are informed that you can do\par
389
To protect your rights, we need to make restrictions that forbid\par
390
distributors to deny you these rights or to ask you to surrender these\par
391
rights. These restrictions translate to certain responsibilities for\par
392
you if you distribute copies of the library or if you modify it.\par
394
For example, if you distribute copies of the library, whether gratis\par
395
or for a fee, you must give the recipients all the rights that we gave\par
396
you. You must make sure that they, too, receive or can get the source\par
397
code. If you link other code with the library, you must provide\par
398
complete object files to the recipients, so that they can relink them\par
399
with the library after making changes to the library and recompiling\par
400
it. And you must show them these terms so they know their rights.\par
402
We protect your rights with a two-step method: (1) we copyright the\par
403
library, and (2) we offer you this license, which gives you legal\par
404
permission to copy, distribute and/or modify the library.\par
406
To protect each distributor, we want to make it very clear that\par
407
there is no warranty for the free library. Also, if the library is\par
408
modified by someone else and passed on, the recipients should know\par
409
that what they have is not the original version, so that the original\par
410
author's reputation will not be affected by problems that might be\par
411
introduced by others.\par
413
Finally, software patents pose a constant threat to the existence of\par
414
any free program. We wish to make sure that a company cannot\par
415
effectively restrict the users of a free program by obtaining a\par
416
restrictive license from a patent holder. Therefore, we insist that\par
417
any patent license obtained for a version of the library must be\par
418
consistent with the full freedom of use specified in this license.\par
420
Most GNU software, including some libraries, is covered by the\par
421
ordinary GNU General Public License. This license, the GNU Lesser\par
422
General Public License, applies to certain designated libraries, and\par
423
is quite different from the ordinary General Public License. We use\par
424
this license for certain libraries in order to permit linking those\par
425
libraries into non-free programs.\par
427
When a program is linked with a library, whether statically or using\par
428
a shared library, the combination of the two is legally speaking a\par
429
combined work, a derivative of the original library. The ordinary\par
430
General Public License therefore permits such linking only if the\par
431
entire combination fits its criteria of freedom. The Lesser General\par
432
Public License permits more lax criteria for linking other code with\par
435
We call this license the "Lesser" General Public License because it\par
436
does Less to protect the user's freedom than the ordinary General\par
437
Public License. It also provides other free software developers Less\par
438
of an advantage over competing non-free programs. These disadvantages\par
439
are the reason we use the ordinary General Public License for many\par
440
libraries. However, the Lesser license provides advantages in certain\par
441
special circumstances.\par
443
For example, on rare occasions, there may be a special need to\par
444
encourage the widest possible use of a certain library, so that it\par
446
a de-facto standard. To achieve this, non-free programs must be\par
447
allowed to use the library. A more frequent case is that a free\par
448
library does the same job as widely used non-free libraries. In this\par
449
case, there is little to gain by limiting the free library to free\par
450
software only, so we use the Lesser General Public License.\par
452
In other cases, permission to use a particular library in non-free\par
453
programs enables a greater number of people to use a large body of\par
454
free software. For example, permission to use the GNU C Library in\par
455
non-free programs enables many more people to use the whole GNU\par
456
operating system, as well as its variant, the GNU/Linux operating\par
459
Although the Lesser General Public License is Less protective of the\par
460
users' freedom, it does ensure that the user of a program that is\par
461
linked with the Library has the freedom and the wherewithal to run\par
462
that program using a modified version of the Library.\par
464
The precise terms and conditions for copying, distribution and\par
465
modification follow. Pay close attention to the difference between a\par
466
"work based on the library" and a "work that uses the library". The\par
467
former contains code derived from the library, whereas the latter must\par
468
be combined with the library in order to run.\par
470
GNU LESSER GENERAL PUBLIC LICENSE\par
471
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\par
473
0. This License Agreement applies to any software library or other\par
474
program which contains a notice placed by the copyright holder or\par
475
other authorized party saying it may be distributed under the terms of\par
476
this Lesser General Public License (also called "this License").\par
477
Each licensee is addressed as "you".\par
479
A "library" means a collection of software functions and/or data\par
480
prepared so as to be conveniently linked with application programs\par
481
(which use some of those functions and data) to form executables.\par
483
The "Library", below, refers to any such software library or work\par
484
which has been distributed under these terms. A "work based on the\par
485
Library" means either the Library or any derivative work under\par
486
copyright law: that is to say, a work containing the Library or a\par
487
portion of it, either verbatim or with modifications and/or translated\par
488
straightforwardly into another language. (Hereinafter, translation is\par
489
included without limitation in the term "modification".)\par
491
"Source code" for a work means the preferred form of the work for\par
492
making modifications to it. For a library, complete source code means\par
493
all the source code for all modules it contains, plus any associated\par
494
interface definition files, plus the scripts used to control\par
496
and installation of the library.\par
498
Activities other than copying, distribution and modification are not\par
499
covered by this License; they are outside its scope. The act of\par
500
running a program using the Library is not restricted, and output from\par
501
such a program is covered only if its contents constitute a work based\par
502
on the Library (independent of the use of the Library in a tool for\par
503
writing it). Whether that is true depends on what the Library does\par
504
and what the program that uses the Library does.\par
506
1. You may copy and distribute verbatim copies of the Library's\par
507
complete source code as you receive it, in any medium, provided that\par
508
you conspicuously and appropriately publish on each copy an\par
509
appropriate copyright notice and disclaimer of warranty; keep intact\par
510
all the notices that refer to this License and to the absence of any\par
511
warranty; and distribute a copy of this License along with the\par
514
You may charge a fee for the physical act of transferring a copy,\par
515
and you may at your option offer warranty protection in exchange for a\par
518
2. You may modify your copy or copies of the Library or any portion\par
519
of it, thus forming a work based on the Library, and copy and\par
520
distribute such modifications or work under the terms of Section 1\par
521
above, provided that you also meet all of these conditions:\par
523
a) The modified work must itself be a software library.\par
525
b) You must cause the files modified to carry prominent notices\par
526
stating that you changed the files and the date of any change.\par
528
c) You must cause the whole of the work to be licensed at no\par
529
charge to all third parties under the terms of this License.\par
531
d) If a facility in the modified Library refers to a function or a\par
532
table of data to be supplied by an application program that uses\par
533
the facility, other than as an argument passed when the facility\par
534
is invoked, then you must make a good faith effort to ensure that,\par
535
in the event an application does not supply such function or\par
536
table, the facility still operates, and performs whatever part of\par
537
its purpose remains meaningful.\par
539
(For example, a function in a library to compute square roots has\par
540
a purpose that is entirely well-defined independent of the\par
541
application. Therefore, Subsection 2d requires that any\par
542
application-supplied function or table used by this function must\par
543
be optional: if the application does not supply it, the square\par
544
root function must still compute square roots.)\par
546
These requirements apply to the modified work as a whole. If\par
547
identifiable sections of that work are not derived from the Library,\par
548
and can be reasonably considered independent and separate works in\par
549
themselves, then this License, and its terms, do not apply to those\par
550
sections when you distribute them as separate works. But when you\par
551
distribute the same sections as part of a whole which is a work based\par
552
on the Library, the distribution of the whole must be on the terms of\par
553
this License, whose permissions for other licensees extend to the\par
554
entire whole, and thus to each and every part regardless of who wrote\par
557
Thus, it is not the intent of this section to claim rights or contest\par
558
your rights to work written entirely by you; rather, the intent is to\par
559
exercise the right to control the distribution of derivative or\par
560
collective works based on the Library.\par
562
In addition, mere aggregation of another work not based on the Library\par
563
with the Library (or with a work based on the Library) on a volume of\par
564
a storage or distribution medium does not bring the other work under\par
565
the scope of this License.\par
567
3. You may opt to apply the terms of the ordinary GNU General Public\par
568
License instead of this License to a given copy of the Library. To do\par
569
this, you must alter all the notices that refer to this License, so\par
570
that they refer to the ordinary GNU General Public License, version 2,\par
571
instead of to this License. (If a newer version than version 2 of the\par
572
ordinary GNU General Public License has appeared, then you can specify\par
573
that version instead if you wish.) Do not make any other change in\par
576
Once this change is made in a given copy, it is irreversible for\par
577
that copy, so the ordinary GNU General Public License applies to all\par
578
subsequent copies and derivative works made from that copy.\par
580
This option is useful when you wish to copy part of the code of\par
581
the Library into a program that is not a library.\par
583
4. You may copy and distribute the Library (or a portion or\par
584
derivative of it, under Section 2) in object code or executable form\par
585
under the terms of Sections 1 and 2 above provided that you accompany\par
586
it with the complete corresponding machine-readable source code, which\par
587
must be distributed under the terms of Sections 1 and 2 above on a\par
588
medium customarily used for software interchange.\par
590
If distribution of object code is made by offering access to copy\par
591
from a designated place, then offering equivalent access to copy the\par
592
source code from the same place satisfies the requirement to\par
593
distribute the source code, even though third parties are not\par
594
compelled to copy the source along with the object code.\par
596
5. A program that contains no derivative of any portion of the\par
597
Library, but is designed to work with the Library by being compiled or\par
598
linked with it, is called a "work that uses the Library". Such a\par
599
work, in isolation, is not a derivative work of the Library, and\par
600
therefore falls outside the scope of this License.\par
602
However, linking a "work that uses the Library" with the Library\par
603
creates an executable that is a derivative of the Library (because it\par
604
contains portions of the Library), rather than a "work that uses the\par
605
library". The executable is therefore covered by this License.\par
606
Section 6 states terms for distribution of such executables.\par
608
When a "work that uses the Library" uses material from a header file\par
609
that is part of the Library, the object code for the work may be a\par
610
derivative work of the Library even though the source code is not.\par
611
Whether this is true is especially significant if the work can be\par
612
linked without the Library, or if the work is itself a library. The\par
613
threshold for this to be true is not precisely defined by law.\par
615
If such an object file uses only numerical parameters, data\par
616
structure layouts and accessors, and small macros and small inline\par
617
functions (ten lines or less in length), then the use of the object\par
618
file is unrestricted, regardless of whether it is legally a derivative\par
619
work. (Executables containing this object code plus portions of the\par
620
Library will still fall under Section 6.)\par
622
Otherwise, if the work is a derivative of the Library, you may\par
623
distribute the object code for the work under the terms of Section 6.\par
624
Any executables containing that work also fall under Section 6,\par
625
whether or not they are linked directly with the Library itself.\par
627
6. As an exception to the Sections above, you may also combine or\par
628
link a "work that uses the Library" with the Library to produce a\par
629
work containing portions of the Library, and distribute that work\par
630
under terms of your choice, provided that the terms permit\par
631
modification of the work for the customer's own use and reverse\par
632
engineering for debugging such modifications.\par
634
You must give prominent notice with each copy of the work that the\par
635
Library is used in it and that the Library and its use are covered by\par
636
this License. You must supply a copy of this License. If the work\par
637
during execution displays copyright notices, you must include the\par
638
copyright notice for the Library among them, as well as a reference\par
639
directing the user to the copy of this License. Also, you must do one\par
642
a) Accompany the work with the complete corresponding\par
643
machine-readable source code for the Library including whatever\par
644
changes were used in the work (which must be distributed under\par
645
Sections 1 and 2 above); and, if the work is an executable linked\par
646
with the Library, with the complete machine-readable "work that\par
647
uses the Library", as object code and/or source code, so that the\par
648
user can modify the Library and then relink to produce a modified\par
649
executable containing the modified Library. (It is understood\par
650
that the user who changes the contents of definitions files in the\par
651
Library will not necessarily be able to recompile the application\par
652
to use the modified definitions.)\par
654
b) Use a suitable shared library mechanism for linking with the\par
655
Library. A suitable mechanism is one that (1) uses at run time a\par
656
copy of the library already present on the user's computer system,\par
657
rather than copying library functions into the executable, and (2)\par
658
will operate properly with a modified version of the library, if\par
659
the user installs one, as long as the modified version is\par
660
interface-compatible with the version that the work was made with.\par
662
c) Accompany the work with a written offer, valid for at\par
663
least three years, to give the same user the materials\par
664
specified in Subsection 6a, above, for a charge no more\par
665
than the cost of performing this distribution.\par
667
d) If distribution of the work is made by offering access to copy\par
668
from a designated place, offer equivalent access to copy the above\par
669
specified materials from the same place.\par
671
e) Verify that the user has already received a copy of these\par
672
materials or that you have already sent this user a copy.\par
674
For an executable, the required form of the "work that uses the\par
675
Library" must include any data and utility programs needed for\par
676
reproducing the executable from it. However, as a special exception,\par
677
the materials to be distributed need not include anything that is\par
678
normally distributed (in either source or binary form) with the major\par
679
components (compiler, kernel, and so on) of the operating system on\par
680
which the executable runs, unless that component itself accompanies\par
683
It may happen that this requirement contradicts the license\par
684
restrictions of other proprietary libraries that do not normally\par
685
accompany the operating system. Such a contradiction means you cannot\par
686
use both them and the Library together in an executable that you\par
689
7. You may place library facilities that are a work based on the\par
690
Library side-by-side in a single library together with other library\par
691
facilities not covered by this License, and distribute such a combined\par
692
library, provided that the separate distribution of the work based on\par
693
the Library and of the other library facilities is otherwise\par
694
permitted, and provided that you do these two things:\par
696
a) Accompany the combined library with a copy of the same work\par
697
based on the Library, uncombined with any other library\par
698
facilities. This must be distributed under the terms of the\par
701
b) Give prominent notice with the combined library of the fact\par
702
that part of it is a work based on the Library, and explaining\par
703
where to find the accompanying uncombined form of the same work.\par
705
8. You may not copy, modify, sublicense, link with, or distribute\par
706
the Library except as expressly provided under this License. Any\par
707
attempt otherwise to copy, modify, sublicense, link with, or\par
708
distribute the Library is void, and will automatically terminate your\par
709
rights under this License. However, parties who have received copies,\par
710
or rights, from you under this License will not have their licenses\par
711
terminated so long as such parties remain in full compliance.\par
713
9. You are not required to accept this License, since you have not\par
714
signed it. However, nothing else grants you permission to modify or\par
715
distribute the Library or its derivative works. These actions are\par
716
prohibited by law if you do not accept this License. Therefore, by\par
717
modifying or distributing the Library (or any work based on the\par
718
Library), you indicate your acceptance of this License to do so, and\par
719
all its terms and conditions for copying, distributing or modifying\par
720
the Library or works based on it.\par
722
10. Each time you redistribute the Library (or any work based on the\par
723
Library), the recipient automatically receives a license from the\par
724
original licensor to copy, distribute, link with or modify the Library\par
725
subject to these terms and conditions. You may not impose any further\par
726
restrictions on the recipients' exercise of the rights granted herein.\par
727
You are not responsible for enforcing compliance by third parties with\par
730
11. If, as a consequence of a court judgment or allegation of patent\par
731
infringement or for any other reason (not limited to patent issues),\par
732
conditions are imposed on you (whether by court order, agreement or\par
733
otherwise) that contradict the conditions of this License, they do not\par
734
excuse you from the conditions of this License. If you cannot\par
735
distribute so as to satisfy simultaneously your obligations under this\par
736
License and any other pertinent obligations, then as a consequence you\par
737
may not distribute the Library at all. For example, if a patent\par
738
license would not permit royalty-free redistribution of the Library by\par
739
all those who receive copies directly or indirectly through you, then\par
740
the only way you could satisfy both it and this License would be to\par
741
refrain entirely from distribution of the Library.\par
743
If any portion of this section is held invalid or unenforceable under\par
744
any particular circumstance, the balance of the section is intended to\par
745
apply, and the section as a whole is intended to apply in other\par
748
It is not the purpose of this section to induce you to infringe any\par
749
patents or other property right claims or to contest validity of any\par
750
such claims; this section has the sole purpose of protecting the\par
751
integrity of the free software distribution system which is\par
752
implemented by public license practices. Many people have made\par
753
generous contributions to the wide range of software distributed\par
754
through that system in reliance on consistent application of that\par
755
system; it is up to the author/donor to decide if he or she is willing\par
756
to distribute software through any other system and a licensee cannot\par
757
impose that choice.\par
759
This section is intended to make thoroughly clear what is believed to\par
760
be a consequence of the rest of this License.\par
762
12. If the distribution and/or use of the Library is restricted in\par
763
certain countries either by patents or by copyrighted interfaces, the\par
764
original copyright holder who places the Library under this License\par
765
may add an explicit geographical distribution limitation excluding those\par
766
countries, so that distribution is permitted only in or among\par
767
countries not thus excluded. In such case, this License incorporates\par
768
the limitation as if written in the body of this License.\par
770
13. The Free Software Foundation may publish revised and/or new\par
771
versions of the Lesser General Public License from time to time.\par
772
Such new versions will be similar in spirit to the present version,\par
773
but may differ in detail to address new problems or concerns.\par
775
Each version is given a distinguishing version number. If the Library\par
776
specifies a version number of this License which applies to it and\par
777
"any later version", you have the option of following the terms and\par
778
conditions either of that version or of any later version published by\par
779
the Free Software Foundation. If the Library does not specify a\par
780
license version number, you may choose any version ever published by\par
781
the Free Software Foundation.\par
783
14. If you wish to incorporate parts of the Library into other free\par
784
programs whose distribution conditions are incompatible with these,\par
785
write to the author to ask for permission. For software which is\par
786
copyrighted by the Free Software Foundation, write to the Free\par
787
Software Foundation; we sometimes make exceptions for this. Our\par
788
decision will be guided by the two goals of preserving the free status\par
789
of all derivatives of our free software and of promoting the sharing\par
790
and reuse of software generally.\par
794
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\par
795
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\par
796
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\par
797
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY\par
798
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\par
799
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\par
800
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\par
801
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\par
802
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\par
804
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\par
805
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\par
806
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\par
807
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\par
808
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\par
809
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\par
810
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\par
811
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\par
812
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\par
815
END OF TERMS AND CONDITIONS\par
817
How to Apply These Terms to Your New Libraries\par
819
If you develop a new library, and you want it to be of the greatest\par
820
possible use to the public, we recommend making it free software that\par
821
everyone can redistribute and change. You can do so by permitting\par
822
redistribution under these terms (or, alternatively, under the terms\par
823
of the ordinary General Public License).\par
825
To apply these terms, attach the following notices to the library.\par
826
It is safest to attach them to the start of each source file to most\par
827
effectively convey the exclusion of warranty; and each file should\par
828
have at least the "copyright" line and a pointer to where the full\par
832
<one line to give the library's name and a brief idea of what it\par
834
Copyright (C) <year> <name of author>\par
836
This library is free software; you can redistribute it and/or\par
837
modify it under the terms of the GNU Lesser General Public\par
838
License as published by the Free Software Foundation; either\par
839
version 2 of the License, or (at your option) any later version.\par
841
This library is distributed in the hope that it will be useful,\par
842
but WITHOUT ANY WARRANTY; without even the implied warranty of\par
843
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\par
844
Lesser General Public License for more details.\par
846
You should have received a copy of the GNU Lesser General Public\par
847
License along with this library; if not, write to the Free Software\par
848
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\par
850
Also add information on how to contact you by electronic and paper\par
853
You should also get your employer (if you work as a programmer) or\par
855
school, if any, to sign a "copyright disclaimer" for the library, if\par
856
necessary. Here is a sample; alter the names:\par
858
Yoyodyne, Inc., hereby disclaims all copyright interest in the\par
859
library `Frob' (a library for tweaking knobs) written by James\par
862
<signature of Ty Coon>, 1 April 1990\par
863
Ty Coon, President of Vice\par
865
That's all there is to it!\par