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