Root/qpkg/LICENSE.jrb

Source at commit 2787a45c436c35fc6fd0ed452903ad045fe9571d created 8 years 11 months ago.
By Werner Almesberger, qpkg: added James S. Plank's red-black trees
1Copyright (C) 1991, 1999 Free Software Foundation, Inc.
259 Temple Place, Suite 330, Boston, MA 02111-1307 USA
3Everyone is permitted to copy and distribute verbatim copies
4of this license document, but changing it is not allowed.
5
6[This is the first released version of the Lesser GPL. It also counts
7 as the successor of the GNU Library Public License, version 2, hence
8 the version number 2.1.]
9
10[9]Preamble
11
12   The licenses for most software are designed to take away your freedom
13   to share and change it. By contrast, the GNU General Public Licenses
14   are intended to guarantee your freedom to share and change free
15   software--to make sure the software is free for all its users.
16   
17   This license, the Lesser General Public License, applies to some
18   specially designated software packages--typically libraries--of the
19   Free Software Foundation and other authors who decide to use it. You
20   can use it too, but we suggest you first think carefully about whether
21   this license or the ordinary General Public License is the better
22   strategy to use in any particular case, based on the explanations
23   below.
24   
25   When we speak of free software, we are referring to freedom of use,
26   not price. Our General Public Licenses are designed to make sure that
27   you have the freedom to distribute copies of free software (and charge
28   for this service if you wish); that you receive source code or can get
29   it if you want it; that you can change the software and use pieces of
30   it in new free programs; and that you are informed that you can do
31   these things.
32   
33   To protect your rights, we need to make restrictions that forbid
34   distributors to deny you these rights or to ask you to surrender these
35   rights. These restrictions translate to certain responsibilities for
36   you if you distribute copies of the library or if you modify it.
37   
38   For example, if you distribute copies of the library, whether gratis
39   or for a fee, you must give the recipients all the rights that we gave
40   you. You must make sure that they, too, receive or can get the source
41   code. If you link other code with the library, you must provide
42   complete object files to the recipients, so that they can relink them
43   with the library after making changes to the library and recompiling
44   it. And you must show them these terms so they know their rights.
45   
46   We protect your rights with a two-step method: (1) we copyright the
47   library, and (2) we offer you this license, which gives you legal
48   permission to copy, distribute and/or modify the library.
49   
50   To protect each distributor, we want to make it very clear that there
51   is no warranty for the free library. Also, if the library is modified
52   by someone else and passed on, the recipients should know that what
53   they have is not the original version, so that the original author's
54   reputation will not be affected by problems that might be introduced
55   by others.
56   
57   Finally, software patents pose a constant threat to the existence of
58   any free program. We wish to make sure that a company cannot
59   effectively restrict the users of a free program by obtaining a
60   restrictive license from a patent holder. Therefore, we insist that
61   any patent license obtained for a version of the library must be
62   consistent with the full freedom of use specified in this license.
63   
64   Most GNU software, including some libraries, is covered by the
65   ordinary GNU General Public License. This license, the GNU Lesser
66   General Public License, applies to certain designated libraries, and
67   is quite different from the ordinary General Public License. We use
68   this license for certain libraries in order to permit linking those
69   libraries into non-free programs.
70   
71   When a program is linked with a library, whether statically or using a
72   shared library, the combination of the two is legally speaking a
73   combined work, a derivative of the original library. The ordinary
74   General Public License therefore permits such linking only if the
75   entire combination fits its criteria of freedom. The Lesser General
76   Public License permits more lax criteria for linking other code with
77   the library.
78   
79   We call this license the "Lesser" General Public License because it
80   does Less to protect the user's freedom than the ordinary General
81   Public License. It also provides other free software developers Less
82   of an advantage over competing non-free programs. These disadvantages
83   are the reason we use the ordinary General Public License for many
84   libraries. However, the Lesser license provides advantages in certain
85   special circumstances.
86   
87   For example, on rare occasions, there may be a special need to
88   encourage the widest possible use of a certain library, so that it
89   becomes a de-facto standard. To achieve this, non-free programs must
90   be allowed to use the library. A more frequent case is that a free
91   library does the same job as widely used non-free libraries. In this
92   case, there is little to gain by limiting the free library to free
93   software only, so we use the Lesser General Public License.
94   
95   In other cases, permission to use a particular library in non-free
96   programs enables a greater number of people to use a large body of
97   free software. For example, permission to use the GNU C Library in
98   non-free programs enables many more people to use the whole GNU
99   operating system, as well as its variant, the GNU/Linux operating
100   system.
101   
102   Although the Lesser General Public License is Less protective of the
103   users' freedom, it does ensure that the user of a program that is
104   linked with the Library has the freedom and the wherewithal to run
105   that program using a modified version of the Library.
106   
107   The precise terms and conditions for copying, distribution and
108   modification follow. Pay close attention to the difference between a
109   "work based on the library" and a "work that uses the library". The
110   former contains code derived from the library, whereas the latter must
111   be combined with the library in order to run.
112   
113[10]TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
114
115   0. This License Agreement applies to any software library or other
116   program which contains a notice placed by the copyright holder or
117   other authorized party saying it may be distributed under the terms of
118   this Lesser General Public License (also called "this License"). Each
119   licensee is addressed as "you".
120   
121   A "library" means a collection of software functions and/or data
122   prepared so as to be conveniently linked with application programs
123   (which use some of those functions and data) to form executables.
124   
125   The "Library", below, refers to any such software library or work
126   which has been distributed under these terms. A "work based on the
127   Library" means either the Library or any derivative work under
128   copyright law: that is to say, a work containing the Library or a
129   portion of it, either verbatim or with modifications and/or translated
130   straightforwardly into another language. (Hereinafter, translation is
131   included without limitation in the term "modification".)
132   
133   "Source code" for a work means the preferred form of the work for
134   making modifications to it. For a library, complete source code means
135   all the source code for all modules it contains, plus any associated
136   interface definition files, plus the scripts used to control
137   compilation and installation of the library.
138   
139   Activities other than copying, distribution and modification are not
140   covered by this License; they are outside its scope. The act of
141   running a program using the Library is not restricted, and output from
142   such a program is covered only if its contents constitute a work based
143   on the Library (independent of the use of the Library in a tool for
144   writing it). Whether that is true depends on what the Library does and
145   what the program that uses the Library does.
146   
147   1. You may copy and distribute verbatim copies of the Library's
148   complete source code as you receive it, in any medium, provided that
149   you conspicuously and appropriately publish on each copy an
150   appropriate copyright notice and disclaimer of warranty; keep intact
151   all the notices that refer to this License and to the absence of any
152   warranty; and distribute a copy of this License along with the
153   Library.
154   
155   You may charge a fee for the physical act of transferring a copy, and
156   you may at your option offer warranty protection in exchange for a
157   fee.
158   
159   2. You may modify your copy or copies of the Library or any portion of
160   it, thus forming a work based on the Library, and copy and distribute
161   such modifications or work under the terms of Section 1 above,
162   provided that you also meet all of these conditions:
163   
164     * a) The modified work must itself be a software library.
165     * b) You must cause the files modified to carry prominent notices
166       stating that you changed the files and the date of any change.
167     * c) You must cause the whole of the work to be licensed at no
168       charge to all third parties under the terms of this License.
169     * d) If a facility in the modified Library refers to a function or a
170       table of data to be supplied by an application program that uses
171       the facility, other than as an argument passed when the facility
172       is invoked, then you must make a good faith effort to ensure that,
173       in the event an application does not supply such function or
174       table, the facility still operates, and performs whatever part of
175       its purpose remains meaningful.
176       (For example, a function in a library to compute square roots has
177       a purpose that is entirely well-defined independent of the
178       application. Therefore, Subsection 2d requires that any
179       application-supplied function or table used by this function must
180       be optional: if the application does not supply it, the square
181       root function must still compute square roots.)
182       These requirements apply to the modified work as a whole. If
183       identifiable sections of that work are not derived from the
184       Library, and can be reasonably considered independent and separate
185       works in themselves, then this License, and its terms, do not
186       apply to those sections when you distribute them as separate
187       works. But when you distribute the same sections as part of a
188       whole which is a work based on the Library, the distribution of
189       the whole must be on the terms of this License, whose permissions
190       for other licensees extend to the entire whole, and thus to each
191       and every part regardless of who wrote it.
192       Thus, it is not the intent of this section to claim rights or
193       contest your rights to work written entirely by you; rather, the
194       intent is to exercise the right to control the distribution of
195       derivative or collective works based on the Library.
196       In addition, mere aggregation of another work not based on the
197       Library with the Library (or with a work based on the Library) on
198       a volume of a storage or distribution medium does not bring the
199       other work under the scope of this License.
200       
201   3. You may opt to apply the terms of the ordinary GNU General Public
202   License instead of this License to a given copy of the Library. To do
203   this, you must alter all the notices that refer to this License, so
204   that they refer to the ordinary GNU General Public License, version 2,
205   instead of to this License. (If a newer version than version 2 of the
206   ordinary GNU General Public License has appeared, then you can specify
207   that version instead if you wish.) Do not make any other change in
208   these notices.
209   
210   Once this change is made in a given copy, it is irreversible for that
211   copy, so the ordinary GNU General Public License applies to all
212   subsequent copies and derivative works made from that copy.
213   
214   This option is useful when you wish to copy part of the code of the
215   Library into a program that is not a library.
216   
217   4. You may copy and distribute the Library (or a portion or derivative
218   of it, under Section 2) in object code or executable form under the
219   terms of Sections 1 and 2 above provided that you accompany it with
220   the complete corresponding machine-readable source code, which must be
221   distributed under the terms of Sections 1 and 2 above on a medium
222   customarily used for software interchange.
223   
224   If distribution of object code is made by offering access to copy from
225   a designated place, then offering equivalent access to copy the source
226   code from the same place satisfies the requirement to distribute the
227   source code, even though third parties are not compelled to copy the
228   source along with the object code.
229   
230   5. A program that contains no derivative of any portion of the
231   Library, but is designed to work with the Library by being compiled or
232   linked with it, is called a "work that uses the Library". Such a work,
233   in isolation, is not a derivative work of the Library, and therefore
234   falls outside the scope of this License.
235   
236   However, linking a "work that uses the Library" with the Library
237   creates an executable that is a derivative of the Library (because it
238   contains portions of the Library), rather than a "work that uses the
239   library". The executable is therefore covered by this License. Section
240   6 states terms for distribution of such executables.
241   
242   When a "work that uses the Library" uses material from a header file
243   that is part of the Library, the object code for the work may be a
244   derivative work of the Library even though the source code is not.
245   Whether this is true is especially significant if the work can be
246   linked without the Library, or if the work is itself a library. The
247   threshold for this to be true is not precisely defined by law.
248   
249   If such an object file uses only numerical parameters, data structure
250   layouts and accessors, and small macros and small inline functions
251   (ten lines or less in length), then the use of the object file is
252   unrestricted, regardless of whether it is legally a derivative work.
253   (Executables containing this object code plus portions of the Library
254   will still fall under Section 6.)
255   
256   Otherwise, if the work is a derivative of the Library, you may
257   distribute the object code for the work under the terms of Section 6.
258   Any executables containing that work also fall under Section 6,
259   whether or not they are linked directly with the Library itself.
260   
261   6. As an exception to the Sections above, you may also combine or link
262   a "work that uses the Library" with the Library to produce a work
263   containing portions of the Library, and distribute that work under
264   terms of your choice, provided that the terms permit modification of
265   the work for the customer's own use and reverse engineering for
266   debugging such modifications.
267   
268   You must give prominent notice with each copy of the work that the
269   Library is used in it and that the Library and its use are covered by
270   this License. You must supply a copy of this License. If the work
271   during execution displays copyright notices, you must include the
272   copyright notice for the Library among them, as well as a reference
273   directing the user to the copy of this License. Also, you must do one
274   of these things:
275   
276     * a) Accompany the work with the complete corresponding
277       machine-readable source code for the Library including whatever
278       changes were used in the work (which must be distributed under
279       Sections 1 and 2 above); and, if the work is an executable linked
280       with the Library, with the complete machine-readable "work that
281       uses the Library", as object code and/or source code, so that the
282       user can modify the Library and then relink to produce a modified
283       executable containing the modified Library. (It is understood that
284       the user who changes the contents of definitions files in the
285       Library will not necessarily be able to recompile the application
286       to use the modified definitions.)
287     * b) Use a suitable shared library mechanism for linking with the
288       Library. A suitable mechanism is one that (1) uses at run time a
289       copy of the library already present on the user's computer system,
290       rather than copying library functions into the executable, and (2)
291       will operate properly with a modified version of the library, if
292       the user installs one, as long as the modified version is
293       interface-compatible with the version that the work was made with.
294     * c) Accompany the work with a written offer, valid for at least
295       three years, to give the same user the materials specified in
296       Subsection 6a, above, for a charge no more than the cost of
297       performing this distribution.
298     * d) If distribution of the work is made by offering access to copy
299       from a designated place, offer equivalent access to copy the above
300       specified materials from the same place.
301     * e) Verify that the user has already received a copy of these
302       materials or that you have already sent this user a copy.
303       
304   For an executable, the required form of the "work that uses the
305   Library" must include any data and utility programs needed for
306   reproducing the executable from it. However, as a special exception,
307   the materials to be distributed need not include anything that is
308   normally distributed (in either source or binary form) with the major
309   components (compiler, kernel, and so on) of the operating system on
310   which the executable runs, unless that component itself accompanies
311   the executable.
312   
313   It may happen that this requirement contradicts the license
314   restrictions of other proprietary libraries that do not normally
315   accompany the operating system. Such a contradiction means you cannot
316   use both them and the Library together in an executable that you
317   distribute.
318   
319   7. You may place library facilities that are a work based on the
320   Library side-by-side in a single library together with other library
321   facilities not covered by this License, and distribute such a combined
322   library, provided that the separate distribution of the work based on
323   the Library and of the other library facilities is otherwise
324   permitted, and provided that you do these two things:
325   
326     * a) Accompany the combined library with a copy of the same work
327       based on the Library, uncombined with any other library
328       facilities. This must be distributed under the terms of the
329       Sections above.
330     * b) Give prominent notice with the combined library of the fact
331       that part of it is a work based on the Library, and explaining
332       where to find the accompanying uncombined form of the same work.
333       
334   8. You may not copy, modify, sublicense, link with, or distribute the
335   Library except as expressly provided under this License. Any attempt
336   otherwise to copy, modify, sublicense, link with, or distribute the
337   Library is void, and will automatically terminate your rights under
338   this License. However, parties who have received copies, or rights,
339   from you under this License will not have their licenses terminated so
340   long as such parties remain in full compliance.
341   
342   9. You are not required to accept this License, since you have not
343   signed it. However, nothing else grants you permission to modify or
344   distribute the Library or its derivative works. These actions are
345   prohibited by law if you do not accept this License. Therefore, by
346   modifying or distributing the Library (or any work based on the
347   Library), you indicate your acceptance of this License to do so, and
348   all its terms and conditions for copying, distributing or modifying
349   the Library or works based on it.
350   
351   10. Each time you redistribute the Library (or any work based on the
352   Library), the recipient automatically receives a license from the
353   original licensor to copy, distribute, link with or modify the Library
354   subject to these terms and conditions. You may not impose any further
355   restrictions on the recipients' exercise of the rights granted herein.
356   You are not responsible for enforcing compliance by third parties with
357   this License.
358   
359   11. If, as a consequence of a court judgment or allegation of patent
360   infringement or for any other reason (not limited to patent issues),
361   conditions are imposed on you (whether by court order, agreement or
362   otherwise) that contradict the conditions of this License, they do not
363   excuse you from the conditions of this License. If you cannot
364   distribute so as to satisfy simultaneously your obligations under this
365   License and any other pertinent obligations, then as a consequence you
366   may not distribute the Library at all. For example, if a patent
367   license would not permit royalty-free redistribution of the Library by
368   all those who receive copies directly or indirectly through you, then
369   the only way you could satisfy both it and this License would be to
370   refrain entirely from distribution of the Library.
371   
372   If any portion of this section is held invalid or unenforceable under
373   any particular circumstance, the balance of the section is intended to
374   apply, and the section as a whole is intended to apply in other
375   circumstances.
376   
377   It is not the purpose of this section to induce you to infringe any
378   patents or other property right claims or to contest validity of any
379   such claims; this section has the sole purpose of protecting the
380   integrity of the free software distribution system which is
381   implemented by public license practices. Many people have made
382   generous contributions to the wide range of software distributed
383   through that system in reliance on consistent application of that
384   system; it is up to the author/donor to decide if he or she is willing
385   to distribute software through any other system and a licensee cannot
386   impose that choice.
387   
388   This section is intended to make thoroughly clear what is believed to
389   be a consequence of the rest of this License.
390   
391   12. If the distribution and/or use of the Library is restricted in
392   certain countries either by patents or by copyrighted interfaces, the
393   original copyright holder who places the Library under this License
394   may add an explicit geographical distribution limitation excluding
395   those countries, so that distribution is permitted only in or among
396   countries not thus excluded. In such case, this License incorporates
397   the limitation as if written in the body of this License.
398   
399   13. The Free Software Foundation may publish revised and/or new
400   versions of the Lesser General Public License from time to time. Such
401   new versions will be similar in spirit to the present version, but may
402   differ in detail to address new problems or concerns.
403   
404   Each version is given a distinguishing version number. If the Library
405   specifies a version number of this License which applies to it and
406   "any later version", you have the option of following the terms and
407   conditions either of that version or of any later version published by
408   the Free Software Foundation. If the Library does not specify a
409   license version number, you may choose any version ever published by
410   the Free Software Foundation.
411   
412   14. If you wish to incorporate parts of the Library into other free
413   programs whose distribution conditions are incompatible with these,
414   write to the author to ask for permission. For software which is
415   copyrighted by the Free Software Foundation, write to the Free
416   Software Foundation; we sometimes make exceptions for this. Our
417   decision will be guided by the two goals of preserving the free status
418   of all derivatives of our free software and of promoting the sharing
419   and reuse of software generally.
420   
421   NO WARRANTY
422   
423   15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
424   WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
425   EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
426   OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
427   KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
428   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
429   PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
430   LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
431   THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
432   
433   16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
434   WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
435   AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
436   FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
437   CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
438   LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
439   RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
440   FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
441   SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
442   DAMAGES.
443   
444END OF TERMS AND CONDITIONS
445
446[11]How to Apply These Terms to Your New Libraries
447
448   If you develop a new library, and you want it to be of the greatest
449   possible use to the public, we recommend making it free software that
450   everyone can redistribute and change. You can do so by permitting
451   redistribution under these terms (or, alternatively, under the terms
452   of the ordinary General Public License).
453   
454   To apply these terms, attach the following notices to the library. It
455   is safest to attach them to the start of each source file to most
456   effectively convey the exclusion of warranty; and each file should
457   have at least the "copyright" line and a pointer to where the full
458   notice is found.
459   
460one line to give the library's name and an idea of what it does.
461Copyright (C) year name of author
462
463This library is free software; you can redistribute it and/or
464modify it under the terms of the GNU Lesser General Public
465License as published by the Free Software Foundation; either
466version 2.1 of the License, or (at your option) any later version.
467
468This library is distributed in the hope that it will be useful,
469but WITHOUT ANY WARRANTY; without even the implied warranty of
470MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
471Lesser General Public License for more details.
472
473You should have received a copy of the GNU Lesser General Public
474License along with this library; if not, write to the Free Software
475Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
476
477   Also add information on how to contact you by electronic and paper
478   mail.
479   
480   You should also get your employer (if you work as a programmer) or
481   your school, if any, to sign a "copyright disclaimer" for the library,
482   if necessary. Here is a sample; alter the names:
483   
484Yoyodyne, Inc., hereby disclaims all copyright interest in
485the library `Frob' (a library for tweaking knobs) written
486by James Random Hacker.
487
488signature of Ty Coon, 1 April 1990
489Ty Coon, President of Vice
490
491   That's all there is to it!
492     _________________________________________________________________
493   
494   Return to [12]GNU's home page.
495   
496   FSF & GNU inquiries & questions to [13]gnu@gnu.org. Other [14]ways to
497   contact the FSF.
498   
499   Comments on these web pages to [15]webmasters@www.gnu.org, send other
500   questions to [16]gnu@gnu.org.
501   
502   Copyright notice above.
503   Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
504   MA 02111, USA
505   
506   Updated: 7 Jan 2000 rms
507     _________________________________________________________________
508
509References
510
511   1. http://www.gnu.org/graphics/philosophicalgnu.html
512   2. http://www.gnu.org/copyleft/copyleft.html#translationsLGPL
513   3. http://www.gnu.org/philosophy/why-not-lgpl.html
514   4. http://www.gnu.org/copyleft/lesser.html#SEC1
515   5. http://www.gnu.org/copyleft/lesser.html#SEC2
516   6. http://www.gnu.org/copyleft/lesser.html#SEC3
517   7. http://www.gnu.org/copyleft/lesser.html#SEC4
518   8. http://www.gnu.org/copyleft/lesser.html#TOC1
519   9. http://www.gnu.org/copyleft/lesser.html#TOC2
520  10. http://www.gnu.org/copyleft/lesser.html#TOC3
521  11. http://www.gnu.org/copyleft/lesser.html#TOC4
522  12. http://www.gnu.org/home.html
523  13. mailto:gnu@gnu.org
524  14. http://www.gnu.org/home.html#ContactInfo
525  15. mailto:webmasters@www.gnu.org
526  16. mailto:gnu@gnu.org
527

Archive Download this file

Branches:
master



interactive