Debian Codegraph @

LICENSE

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