1 Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
1 |
2 |
|
3 |
|
4 |
|
5 The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ |
|
6 |
|
7 |
|
8 |
|
9 Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. |
|
10 |
|
11 |
|
12 |
|
13 The Original Code is mozilla.org code. |
|
14 |
|
15 |
|
16 |
|
17 The Initial Developer of the Original Code is Netscape Communications Corporation. |
|
18 |
|
19 Portions created by the Initial Developer are Copyright (C) 2002 the Initial Developer. All Rights Reserved. |
|
20 |
|
21 |
|
22 |
|
23 Contributor(s): |
|
24 |
|
25 |
|
26 |
|
27 Alternatively, the contents of this file may be used under the terms of either of the GNU General Public License Version 2 or later (the "GPL"), or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), in which case the provisions of the GPL or the LGPL are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of either the GPL or the LGPL, and not to allow others to use your version of this file under the terms of the MPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the GPL or the LGPL. If you do not delete the provisions above, a recipient may use your version of this file under the terms of any one of the MPL, the GPL or the LGPL. |
|
28 |
|
29 |
|
30 |
|
31 And, for the following Mozilla LDAP C SDK files, in addition to the above notice, the following notices were also included: |
|
32 |
|
33 |
|
34 |
|
35 ldap/include/regex.h |
|
36 |
|
37 /* |
|
38 |
|
39 * Copyright (c) 1993 Regents of the University of Michigan. |
|
40 |
|
41 * All rights reserved. |
|
42 |
|
43 * |
|
44 |
|
45 * Redistribution and use in source and binary forms are permitted |
|
46 |
|
47 * provided that this notice is preserved and that due credit is given |
|
48 |
|
49 * to the University of Michigan at Ann Arbor. The name of the University |
|
50 |
|
51 * may not be used to endorse or promote products derived from this |
|
52 |
|
53 * software without specific prior written permission. This software |
|
54 |
|
55 * is provided ``as is'' without express or implied warranty. |
|
56 |
|
57 */ |
|
58 |
|
59 |
|
60 |
|
61 ldap/include/srchpref.h |
|
62 |
|
63 /* |
|
64 |
|
65 * Copyright (c) 1993, 1994 Regents of the University of Michigan. |
|
66 |
|
67 * All rights reserved. |
|
68 |
|
69 * |
|
70 |
|
71 * Redistribution and use in source and binary forms are permitted |
|
72 |
|
73 * provided that this notice is preserved and that due credit is given |
|
74 |
|
75 * to the University of Michigan at Ann Arbor. The name of the University |
|
76 |
|
77 * may not be used to endorse or promote products derived from this |
|
78 |
|
79 * software without specific prior written permission. This software |
|
80 |
|
81 * is provided ``as is'' without express or implied warranty. |
|
82 |
|
83 * |
|
84 |
|
85 * searchpref.h: display template library defines |
|
86 |
|
87 */ |
|
88 |
|
89 |
|
90 |
|
91 ldap/include/portable.h |
|
92 |
|
93 /* |
|
94 |
|
95 * Copyright (c) 1994 Regents of the University of Michigan. |
|
96 |
|
97 * All rights reserved. |
|
98 |
|
99 * |
|
100 |
|
101 * Redistribution and use in source and binary forms are permitted |
|
102 |
|
103 * provided that this notice is preserved and that due credit is given |
|
104 |
|
105 * to the University of Michigan at Ann Arbor. The name of the University |
|
106 |
|
107 * may not be used to endorse or promote products derived from this |
|
108 |
|
109 * software without specific prior written permission. This software |
|
110 |
|
111 * is provided ``as is'' without express or implied warranty. |
|
112 |
|
113 */ |
|
114 |
|
115 |
|
116 |
|
117 ldap/include/ldif.h |
|
118 |
|
119 /* |
|
120 |
|
121 * Copyright (c) 1996 Regents of the University of Michigan. |
|
122 |
|
123 * All rights reserved. |
|
124 |
|
125 * |
|
126 |
|
127 * Redistribution and use in source and binary forms are permitted |
|
128 |
|
129 * provided that this notice is preserved and that due credit is given |
|
130 |
|
131 * to the University of Michigan at Ann Arbor. The name of the University |
|
132 |
|
133 * may not be used to endorse or promote products derived from this |
|
134 |
|
135 * software without specific prior written permission. This software |
|
136 |
|
137 * is provided ``as is'' without express or implied warranty. |
|
138 |
|
139 */ |
|
140 |
|
141 |
|
142 |
|
143 ldap/libraries/libldap/disptmpl.c |
|
144 |
|
145 /* |
|
146 |
|
147 * Copyright (c) 1993, 1994 Regents of the University of Michigan. |
|
148 |
|
149 * All rights reserved. |
|
150 |
|
151 * |
|
152 |
|
153 * Redistribution and use in source and binary forms are permitted |
|
154 |
|
155 * provided that this notice is preserved and that due credit is given |
|
156 |
|
157 * to the University of Michigan at Ann Arbor. The name of the University |
|
158 |
|
159 * may not be used to endorse or promote products derived from this |
|
160 |
|
161 * software without specific prior written permission. This software |
|
162 |
|
163 * is provided ``as is'' without express or implied warranty. |
|
164 |
|
165 */ |
|
166 |
|
167 |
|
168 |
|
169 ldap/libraries/libldap/sort.c |
|
170 |
|
171 /* |
|
172 |
|
173 * Copyright (c) 1994 Regents of the University of Michigan. |
|
174 |
|
175 * All rights reserved. |
|
176 |
|
177 * |
|
178 |
|
179 * Redistribution and use in source and binary forms are permitted |
|
180 |
|
181 * provided that this notice is preserved and that due credit is given |
|
182 |
|
183 * to the University of Michigan at Ann Arbor. The name of the University |
|
184 |
|
185 * may not be used to endorse or promote products derived from this |
|
186 |
|
187 * software without specific prior written permission. This software |
|
188 |
|
189 * is provided ``as is'' without express or implied warranty. |
|
190 |
|
191 */ |
|
192 |
|
193 |
|
194 |
|
195 ldap/libraries/libldap/srchpref.c |
|
196 |
|
197 /* |
|
198 |
|
199 * Copyright (c) 1993, 1994 Regents of the University of Michigan. |
|
200 |
|
201 * All rights reserved. |
|
202 |
|
203 * |
|
204 |
|
205 * Redistribution and use in source and binary forms are permitted |
|
206 |
|
207 * provided that this notice is preserved and that due credit is given |
|
208 |
|
209 * to the University of Michigan at Ann Arbor. The name of the University |
|
210 |
|
211 * may not be used to endorse or promote products derived from this |
|
212 |
|
213 * software without specific prior written permission. This software |
|
214 |
|
215 * is provided ``as is'' without express or implied warranty. |
|
216 |
|
217 * |
|
218 |
|
219 */ |
|
220 |
|
221 |
|
222 |
|
223 ldap/libraries/libldap/dsparse.c |
|
224 |
|
225 /* |
|
226 |
|
227 * Copyright (c) 1993, 1994 Regents of the University of Michigan. |
|
228 |
|
229 * All rights reserved. |
|
230 |
|
231 * |
|
232 |
|
233 * Redistribution and use in source and binary forms are permitted |
|
234 |
|
235 * provided that this notice is preserved and that due credit is given |
|
236 |
|
237 * to the University of Michigan at Ann Arbor. The name of the University |
|
238 |
|
239 * may not be used to endorse or promote products derived from this |
|
240 |
|
241 * software without specific prior written permission. This software |
|
242 |
|
243 * is provided ``as is'' without express or implied warranty. |
|
244 |
|
245 */ |
|
246 |
|
247 |
|
248 |
|
249 ldap/libraries/macintosh/strings.c |
|
250 |
|
251 /* |
|
252 |
|
253 * Copyright (c) 1987 Regents of the University of California. |
|
254 |
|
255 * All rights reserved. The Berkeley software License Agreement |
|
256 |
|
257 * specifies the terms and conditions for redistribution. |
|
258 |
|
259 */ |
|
260 |
|
261 |
|
262 |
|
263 ldap/libraries/macintosh/getopt.c |
|
264 |
|
265 /* |
|
266 |
|
267 * Copyright (c) 1987 Regents of the University of California. |
|
268 |
|
269 * All rights reserved. |
|
270 |
|
271 * |
|
272 |
|
273 * Redistribution and use in source and binary forms are permitted |
|
274 |
|
275 * provided that: (1) source distributions retain this entire copyright |
|
276 |
|
277 * notice and comment, and (2) distributions including binaries display |
|
278 |
|
279 * the following acknowledgement: ``This product includes software |
|
280 |
|
281 * developed by the University of California, Berkeley and its contributors'' |
|
282 |
|
283 * in the documentation or other materials provided with the distribution |
|
284 |
|
285 * and in all advertising materials mentioning features or use of this |
|
286 |
|
287 * software. Neither the name of the University nor the names of its |
|
288 |
|
289 * contributors may be used to endorse or promote products derived |
|
290 |
|
291 * from this software without specific prior written permission. |
|
292 |
|
293 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR |
|
294 |
|
295 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED |
|
296 |
|
297 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
|
298 |
|
299 */ |
|
300 |
|
301 |
|
302 |
|
303 ldap/libraries/libutil/getopt.c |
|
304 |
|
305 /* |
|
306 |
|
307 * Copyright (c) 1987 Regents of the University of California. |
|
308 |
|
309 * All rights reserved. |
|
310 |
|
311 * |
|
312 |
|
313 * Redistribution and use in source and binary forms are permitted |
|
314 |
|
315 * provided that: (1) source distributions retain this entire copyright |
|
316 |
|
317 * notice and comment, and (2) distributions including binaries display |
|
318 |
|
319 * the following acknowledgement: ``This product includes software |
|
320 |
|
321 * developed by the University of California, Berkeley and its contributors'' |
|
322 |
|
323 * in the documentation or other materials provided with the distribution |
|
324 |
|
325 * and in all advertising materials mentioning features or use of this |
|
326 |
|
327 * software. Neither the name of the University nor the names of its |
|
328 |
|
329 * contributors may be used to endorse or promote products derived |
|
330 |
|
331 * from this software without specific prior written permission. |
|
332 |
|
333 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR |
|
334 |
|
335 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED |
|
336 |
|
337 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
|
338 |
|
339 */ |
|
340 |
|
341 |
|
342 |
|
343 ldap/libraries/liblber/lber-int.h |
|
344 |
|
345 /* |
|
346 |
|
347 * Copyright (c) 1990 Regents of the University of Michigan. |
|
348 |
|
349 * All rights reserved. |
|
350 |
|
351 * |
|
352 |
|
353 * Redistribution and use in source and binary forms are permitted |
|
354 |
|
355 * provided that this notice is preserved and that due credit is given |
|
356 |
|
357 * to the University of Michigan at Ann Arbor. The name of the University |
|
358 |
|
359 * may not be used to endorse or promote products derived from this |
|
360 |
|
361 * software without specific prior written permission. This software |
|
362 |
|
363 * is provided ``as is'' without express or implied warranty. |
|
364 |
|
365 */ |
|
366 |
|
367 |
|
368 |
|
369 ldap/libraries/liblber/idtest.c |
|
370 |
|
371 /* |
|
372 |
|
373 * Copyright (c) 1990 Regents of the University of Michigan. |
|
374 |
|
375 * All rights reserved. |
|
376 |
|
377 * |
|
378 |
|
379 * Redistribution and use in source and binary forms are permitted |
|
380 |
|
381 * provided that this notice is preserved and that due credit is given |
|
382 |
|
383 * to the University of Michigan at Ann Arbor. The name of the University |
|
384 |
|
385 * may not be used to endorse or promote products derived from this |
|
386 |
|
387 * software without specific prior written permission. This software |
|
388 |
|
389 * is provided ``as is'' without express or implied warranty. |
|
390 |
|
391 */ |
|
392 |
|
393 |
|
394 |
|
395 ldap/libraries/liblber/encode.c |
|
396 |
|
397 /* |
|
398 |
|
399 * Copyright (c) 1990 Regents of the University of Michigan. |
|
400 |
|
401 * All rights reserved. |
|
402 |
|
403 * |
|
404 |
|
405 * Redistribution and use in source and binary forms are permitted |
|
406 |
|
407 * provided that this notice is preserved and that due credit is given |
|
408 |
|
409 * to the University of Michigan at Ann Arbor. The name of the University |
|
410 |
|
411 * may not be used to endorse or promote products derived from this |
|
412 |
|
413 * software without specific prior written permission. This software |
|
414 |
|
415 * is provided ``as is'' without express or implied warranty. |
|
416 |
|
417 */ |
|
418 |
|
419 |
|
420 |
|
421 ldap/libraries/liblber/decode.c |
|
422 |
|
423 /* |
|
424 |
|
425 * Copyright (c) 1990 Regents of the University of Michigan. |
|
426 |
|
427 * All rights reserved. |
|
428 |
|
429 * |
|
430 |
|
431 * Redistribution and use in source and binary forms are permitted |
|
432 |
|
433 * provided that this notice is preserved and that due credit is given |
|
434 |
|
435 * to the University of Michigan at Ann Arbor. The name of the University |
|
436 |
|
437 * may not be used to endorse or promote products derived from this |
|
438 |
|
439 * software without specific prior written permission. This software |
|
440 |
|
441 * is provided ``as is'' without express or implied warranty. |
|
442 |
|
443 */ |
|
444 |
|
445 |
|
446 |
|
447 ldap/libraries/liblber/dtest.c |
|
448 |
|
449 /* |
|
450 |
|
451 * Copyright (c) 1990 Regents of the University of Michigan. |
|
452 |
|
453 * All rights reserved. |
|
454 |
|
455 * |
|
456 |
|
457 * Redistribution and use in source and binary forms are permitted |
|
458 |
|
459 * provided that this notice is preserved and that due credit is given |
|
460 |
|
461 * to the University of Michigan at Ann Arbor. The name of the University |
|
462 |
|
463 * may not be used to endorse or promote products derived from this |
|
464 |
|
465 * software without specific prior written permission. This software |
|
466 |
|
467 * is provided ``as is'' without express or implied warranty. |
|
468 |
|
469 */ |
|
470 |
|
471 |
|
472 |
|
473 ldap/libraries/liblber/etest.c |
|
474 |
|
475 /* |
|
476 |
|
477 * Copyright (c) 1990 Regents of the University of Michigan. |
|
478 |
|
479 * All rights reserved. |
|
480 |
|
481 * Redistribution and use in source and binary forms are permitted |
|
482 |
|
483 * provided that this notice is preserved and that due credit is given |
|
484 |
|
485 * to the University of Michigan at Ann Arbor. The name of the University |
|
486 |
|
487 * may not be used to endorse or promote products derived from this |
|
488 |
|
489 * software without specific prior written permission. This software |
|
490 |
|
491 * is provided ``as is'' without express or implied warranty. |
|
492 |
|
493 */ |
|
494 |
|
495 |
|
496 |
|
497 ldap/libraries/liblber/io.c |
|
498 |
|
499 /* |
|
500 |
|
501 * Copyright (c) 1990 Regents of the University of Michigan. |
|
502 |
|
503 * All rights reserved. |
|
504 |
|
505 * |
|
506 |
|
507 * Redistribution and use in source and binary forms are permitted |
|
508 |
|
509 * provided that this notice is preserved and that due credit is given |
|
510 |
|
511 * to the University of Michigan at Ann Arbor. The name of the University |
|
512 |
|
513 * may not be used to endorse or promote products derived from this |
|
514 |
|
515 * software without specific prior written permission. This software |
|
516 |
|
517 * is provided ``as is'' without express or implied warranty. |
|
518 |
|
519 */ |
|
520 |
|
521 |
|
522 |
|
523 |
|
524 |
|
525 |
|
526 |
|
527 GNU LESSER GENERAL PUBLIC LICENSE |
2 GNU LESSER GENERAL PUBLIC LICENSE |
528 |
|
529 Version 2.1, February 1999 |
3 Version 2.1, February 1999 |
530 |
4 |
531 |
|
532 |
|
533 Copyright (C) 1991, 1999 Free Software Foundation, Inc. |
5 Copyright (C) 1991, 1999 Free Software Foundation, Inc. |
534 |
|
535 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
6 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
536 |
|
537 Everyone is permitted to copy and distribute verbatim copies |
7 Everyone is permitted to copy and distribute verbatim copies |
538 |
|
539 of this license document, but changing it is not allowed. |
8 of this license document, but changing it is not allowed. |
540 |
9 |
541 |
|
542 |
|
543 [This is the first released version of the Lesser GPL. It also counts |
10 [This is the first released version of the Lesser GPL. It also counts |
544 |
|
545 as the successor of the GNU Library Public License, version 2, hence |
11 as the successor of the GNU Library Public License, version 2, hence |
546 |
|
547 the version number 2.1.] |
12 the version number 2.1.] |
548 |
13 |
549 |
|
550 |
|
551 Preamble |
14 Preamble |
552 |
15 |
553 |
|
554 |
|
555 The licenses for most software are designed to take away your |
16 The licenses for most software are designed to take away your |
556 |
|
557 freedom to share and change it. By contrast, the GNU General Public |
17 freedom to share and change it. By contrast, the GNU General Public |
558 |
|
559 Licenses are intended to guarantee your freedom to share and change |
18 Licenses are intended to guarantee your freedom to share and change |
560 |
|
561 free software--to make sure the software is free for all its users. |
19 free software--to make sure the software is free for all its users. |
562 |
20 |
563 |
|
564 |
|
565 This license, the Lesser General Public License, applies to some |
21 This license, the Lesser General Public License, applies to some |
566 |
|
567 specially designated software packages--typically libraries--of the |
22 specially designated software packages--typically libraries--of the |
568 |
|
569 Free Software Foundation and other authors who decide to use it. You |
23 Free Software Foundation and other authors who decide to use it. You |
570 |
|
571 can use it too, but we suggest you first think carefully about whether |
24 can use it too, but we suggest you first think carefully about whether |
572 |
|
573 this license or the ordinary General Public License is the better |
25 this license or the ordinary General Public License is the better |
574 |
|
575 strategy to use in any particular case, based on the explanations below. |
26 strategy to use in any particular case, based on the explanations below. |
576 |
27 |
577 |
|
578 |
|
579 When we speak of free software, we are referring to freedom of use, |
28 When we speak of free software, we are referring to freedom of use, |
580 |
|
581 not price. Our General Public Licenses are designed to make sure that |
29 not price. Our General Public Licenses are designed to make sure that |
582 |
|
583 you have the freedom to distribute copies of free software (and charge |
30 you have the freedom to distribute copies of free software (and charge |
584 |
|
585 for this service if you wish); that you receive source code or can get |
31 for this service if you wish); that you receive source code or can get |
586 |
|
587 it if you want it; that you can change the software and use pieces of |
32 it if you want it; that you can change the software and use pieces of |
588 |
|
589 it in new free programs; and that you are informed that you can do |
33 it in new free programs; and that you are informed that you can do |
590 |
|
591 these things. |
34 these things. |
592 |
35 |
593 |
|
594 |
|
595 To protect your rights, we need to make restrictions that forbid |
36 To protect your rights, we need to make restrictions that forbid |
596 |
|
597 distributors to deny you these rights or to ask you to surrender these |
37 distributors to deny you these rights or to ask you to surrender these |
598 |
|
599 rights. These restrictions translate to certain responsibilities for |
38 rights. These restrictions translate to certain responsibilities for |
600 |
|
601 you if you distribute copies of the library or if you modify it. |
39 you if you distribute copies of the library or if you modify it. |
602 |
40 |
603 |
|
604 |
|
605 For example, if you distribute copies of the library, whether gratis |
41 For example, if you distribute copies of the library, whether gratis |
606 |
|
607 or for a fee, you must give the recipients all the rights that we gave |
42 or for a fee, you must give the recipients all the rights that we gave |
608 |
|
609 you. You must make sure that they, too, receive or can get the source |
43 you. You must make sure that they, too, receive or can get the source |
610 |
|
611 code. If you link other code with the library, you must provide |
44 code. If you link other code with the library, you must provide |
612 |
|
613 complete object files to the recipients, so that they can relink them |
45 complete object files to the recipients, so that they can relink them |
614 |
|
615 with the library after making changes to the library and recompiling |
46 with the library after making changes to the library and recompiling |
616 |
|
617 it. And you must show them these terms so they know their rights. |
47 it. And you must show them these terms so they know their rights. |
618 |
48 |
619 |
|
620 |
|
621 We protect your rights with a two-step method: (1) we copyright the |
49 We protect your rights with a two-step method: (1) we copyright the |
622 |
|
623 library, and (2) we offer you this license, which gives you legal |
50 library, and (2) we offer you this license, which gives you legal |
624 |
|
625 permission to copy, distribute and/or modify the library. |
51 permission to copy, distribute and/or modify the library. |
626 |
52 |
627 |
|
628 |
|
629 To protect each distributor, we want to make it very clear that |
53 To protect each distributor, we want to make it very clear that |
630 |
|
631 there is no warranty for the free library. Also, if the library is |
54 there is no warranty for the free library. Also, if the library is |
632 |
|
633 modified by someone else and passed on, the recipients should know |
55 modified by someone else and passed on, the recipients should know |
634 |
|
635 that what they have is not the original version, so that the original |
56 that what they have is not the original version, so that the original |
636 |
|
637 author's reputation will not be affected by problems that might be |
57 author's reputation will not be affected by problems that might be |
638 |
|
639 introduced by others. |
58 introduced by others. |
640 |
59 |
641 |
|
642 |
|
643 Finally, software patents pose a constant threat to the existence of |
60 Finally, software patents pose a constant threat to the existence of |
644 |
|
645 any free program. We wish to make sure that a company cannot |
61 any free program. We wish to make sure that a company cannot |
646 |
|
647 effectively restrict the users of a free program by obtaining a |
62 effectively restrict the users of a free program by obtaining a |
648 |
|
649 restrictive license from a patent holder. Therefore, we insist that |
63 restrictive license from a patent holder. Therefore, we insist that |
650 |
|
651 any patent license obtained for a version of the library must be |
64 any patent license obtained for a version of the library must be |
652 |
|
653 consistent with the full freedom of use specified in this license. |
65 consistent with the full freedom of use specified in this license. |
654 |
66 |
655 |
|
656 |
|
657 Most GNU software, including some libraries, is covered by the |
67 Most GNU software, including some libraries, is covered by the |
658 |
|
659 ordinary GNU General Public License. This license, the GNU Lesser |
68 ordinary GNU General Public License. This license, the GNU Lesser |
660 |
|
661 General Public License, applies to certain designated libraries, and |
69 General Public License, applies to certain designated libraries, and |
662 |
|
663 is quite different from the ordinary General Public License. We use |
70 is quite different from the ordinary General Public License. We use |
664 |
|
665 this license for certain libraries in order to permit linking those |
71 this license for certain libraries in order to permit linking those |
666 |
|
667 libraries into non-free programs. |
72 libraries into non-free programs. |
668 |
73 |
669 |
|
670 |
|
671 When a program is linked with a library, whether statically or using |
74 When a program is linked with a library, whether statically or using |
672 |
|
673 a shared library, the combination of the two is legally speaking a |
75 a shared library, the combination of the two is legally speaking a |
674 |
|
675 combined work, a derivative of the original library. The ordinary |
76 combined work, a derivative of the original library. The ordinary |
676 |
|
677 General Public License therefore permits such linking only if the |
77 General Public License therefore permits such linking only if the |
678 |
|
679 entire combination fits its criteria of freedom. The Lesser General |
78 entire combination fits its criteria of freedom. The Lesser General |
680 |
|
681 Public License permits more lax criteria for linking other code with |
79 Public License permits more lax criteria for linking other code with |
682 |
|
683 the library. |
80 the library. |
684 |
81 |
685 |
|
686 |
|
687 We call this license the "Lesser" General Public License because it |
82 We call this license the "Lesser" General Public License because it |
688 |
|
689 does Less to protect the user's freedom than the ordinary General |
83 does Less to protect the user's freedom than the ordinary General |
690 |
|
691 Public License. It also provides other free software developers Less |
84 Public License. It also provides other free software developers Less |
692 |
|
693 of an advantage over competing non-free programs. These disadvantages |
85 of an advantage over competing non-free programs. These disadvantages |
694 |
|
695 are the reason we use the ordinary General Public License for many |
86 are the reason we use the ordinary General Public License for many |
696 |
|
697 libraries. However, the Lesser license provides advantages in certain |
87 libraries. However, the Lesser license provides advantages in certain |
698 |
|
699 special circumstances. |
88 special circumstances. |
700 |
89 |
701 |
|
702 |
|
703 For example, on rare occasions, there may be a special need to |
90 For example, on rare occasions, there may be a special need to |
704 |
|
705 encourage the widest possible use of a certain library, so that it becomes |
91 encourage the widest possible use of a certain library, so that it becomes |
706 |
|
707 a de-facto standard. To achieve this, non-free programs must be |
92 a de-facto standard. To achieve this, non-free programs must be |
708 |
|
709 allowed to use the library. A more frequent case is that a free |
93 allowed to use the library. A more frequent case is that a free |
710 |
|
711 library does the same job as widely used non-free libraries. In this |
94 library does the same job as widely used non-free libraries. In this |
712 |
|
713 case, there is little to gain by limiting the free library to free |
95 case, there is little to gain by limiting the free library to free |
714 |
|
715 software only, so we use the Lesser General Public License. |
96 software only, so we use the Lesser General Public License. |
716 |
97 |
717 |
|
718 |
|
719 In other cases, permission to use a particular library in non-free |
98 In other cases, permission to use a particular library in non-free |
720 |
|
721 programs enables a greater number of people to use a large body of |
99 programs enables a greater number of people to use a large body of |
722 |
|
723 free software. For example, permission to use the GNU C Library in |
100 free software. For example, permission to use the GNU C Library in |
724 |
|
725 non-free programs enables many more people to use the whole GNU |
101 non-free programs enables many more people to use the whole GNU |
726 |
|
727 operating system, as well as its variant, the GNU/Linux operating |
102 operating system, as well as its variant, the GNU/Linux operating |
728 |
|
729 system. |
103 system. |
730 |
104 |
731 |
|
732 |
|
733 Although the Lesser General Public License is Less protective of the |
105 Although the Lesser General Public License is Less protective of the |
734 |
|
735 users' freedom, it does ensure that the user of a program that is |
106 users' freedom, it does ensure that the user of a program that is |
736 |
|
737 linked with the Library has the freedom and the wherewithal to run |
107 linked with the Library has the freedom and the wherewithal to run |
738 |
|
739 that program using a modified version of the Library. |
108 that program using a modified version of the Library. |
740 |
109 |
741 |
|
742 |
|
743 The precise terms and conditions for copying, distribution and |
110 The precise terms and conditions for copying, distribution and |
744 |
|
745 modification follow. Pay close attention to the difference between a |
111 modification follow. Pay close attention to the difference between a |
746 |
|
747 "work based on the library" and a "work that uses the library". The |
112 "work based on the library" and a "work that uses the library". The |
748 |
|
749 former contains code derived from the library, whereas the latter must |
113 former contains code derived from the library, whereas the latter must |
750 |
|
751 be combined with the library in order to run. |
114 be combined with the library in order to run. |
752 |
115 |
753 |
|
754 |
|
755 GNU LESSER GENERAL PUBLIC LICENSE |
116 GNU LESSER GENERAL PUBLIC LICENSE |
756 |
|
757 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
117 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
758 |
118 |
759 |
|
760 |
|
761 0. This License Agreement applies to any software library or other |
119 0. This License Agreement applies to any software library or other |
762 |
|
763 program which contains a notice placed by the copyright holder or |
120 program which contains a notice placed by the copyright holder or |
764 |
|
765 other authorized party saying it may be distributed under the terms of |
121 other authorized party saying it may be distributed under the terms of |
766 |
|
767 this Lesser General Public License (also called "this License"). |
122 this Lesser General Public License (also called "this License"). |
768 |
|
769 Each licensee is addressed as "you". |
123 Each licensee is addressed as "you". |
770 |
124 |
771 |
|
772 |
|
773 A "library" means a collection of software functions and/or data |
125 A "library" means a collection of software functions and/or data |
774 |
|
775 prepared so as to be conveniently linked with application programs |
126 prepared so as to be conveniently linked with application programs |
776 |
|
777 (which use some of those functions and data) to form executables. |
127 (which use some of those functions and data) to form executables. |
778 |
128 |
779 |
|
780 |
|
781 The "Library", below, refers to any such software library or work |
129 The "Library", below, refers to any such software library or work |
782 |
|
783 which has been distributed under these terms. A "work based on the |
130 which has been distributed under these terms. A "work based on the |
784 |
|
785 Library" means either the Library or any derivative work under |
131 Library" means either the Library or any derivative work under |
786 |
|
787 copyright law: that is to say, a work containing the Library or a |
132 copyright law: that is to say, a work containing the Library or a |
788 |
|
789 portion of it, either verbatim or with modifications and/or translated |
133 portion of it, either verbatim or with modifications and/or translated |
790 |
|
791 straightforwardly into another language. (Hereinafter, translation is |
134 straightforwardly into another language. (Hereinafter, translation is |
792 |
|
793 included without limitation in the term "modification".) |
135 included without limitation in the term "modification".) |
794 |
136 |
795 |
|
796 |
|
797 "Source code" for a work means the preferred form of the work for |
137 "Source code" for a work means the preferred form of the work for |
798 |
|
799 making modifications to it. For a library, complete source code means |
138 making modifications to it. For a library, complete source code means |
800 |
|
801 all the source code for all modules it contains, plus any associated |
139 all the source code for all modules it contains, plus any associated |
802 |
|
803 interface definition files, plus the scripts used to control compilation |
140 interface definition files, plus the scripts used to control compilation |
804 |
|
805 and installation of the library. |
141 and installation of the library. |
806 |
142 |
807 |
|
808 |
|
809 Activities other than copying, distribution and modification are not |
143 Activities other than copying, distribution and modification are not |
810 |
|
811 covered by this License; they are outside its scope. The act of |
144 covered by this License; they are outside its scope. The act of |
812 |
|
813 running a program using the Library is not restricted, and output from |
145 running a program using the Library is not restricted, and output from |
814 |
|
815 such a program is covered only if its contents constitute a work based |
146 such a program is covered only if its contents constitute a work based |
816 |
|
817 on the Library (independent of the use of the Library in a tool for |
147 on the Library (independent of the use of the Library in a tool for |
818 |
|
819 writing it). Whether that is true depends on what the Library does |
148 writing it). Whether that is true depends on what the Library does |
820 |
|
821 and what the program that uses the Library does. |
149 and what the program that uses the Library does. |
822 |
150 |
823 |
|
824 |
|
825 1. You may copy and distribute verbatim copies of the Library's |
151 1. You may copy and distribute verbatim copies of the Library's |
826 |
|
827 complete source code as you receive it, in any medium, provided that |
152 complete source code as you receive it, in any medium, provided that |
828 |
|
829 you conspicuously and appropriately publish on each copy an |
153 you conspicuously and appropriately publish on each copy an |
830 |
|
831 appropriate copyright notice and disclaimer of warranty; keep intact |
154 appropriate copyright notice and disclaimer of warranty; keep intact |
832 |
|
833 all the notices that refer to this License and to the absence of any |
155 all the notices that refer to this License and to the absence of any |
834 |
|
835 warranty; and distribute a copy of this License along with the |
156 warranty; and distribute a copy of this License along with the |
836 |
|
837 Library. |
157 Library. |
838 |
158 |
839 |
|
840 |
|
841 You may charge a fee for the physical act of transferring a copy, |
159 You may charge a fee for the physical act of transferring a copy, |
842 |
|
843 and you may at your option offer warranty protection in exchange for a |
160 and you may at your option offer warranty protection in exchange for a |
844 |
|
845 fee. |
161 fee. |
846 |
162 |
847 |
|
848 |
|
849 2. You may modify your copy or copies of the Library or any portion |
163 2. You may modify your copy or copies of the Library or any portion |
850 |
|
851 of it, thus forming a work based on the Library, and copy and |
164 of it, thus forming a work based on the Library, and copy and |
852 |
|
853 distribute such modifications or work under the terms of Section 1 |
165 distribute such modifications or work under the terms of Section 1 |
854 |
|
855 above, provided that you also meet all of these conditions: |
166 above, provided that you also meet all of these conditions: |
856 |
167 |
857 |
|
858 |
|
859 a) The modified work must itself be a software library. |
168 a) The modified work must itself be a software library. |
860 |
169 |
861 |
|
862 |
|
863 b) You must cause the files modified to carry prominent notices |
170 b) You must cause the files modified to carry prominent notices |
864 |
|
865 stating that you changed the files and the date of any change. |
171 stating that you changed the files and the date of any change. |
866 |
172 |
867 |
|
868 |
|
869 c) You must cause the whole of the work to be licensed at no |
173 c) You must cause the whole of the work to be licensed at no |
870 |
|
871 charge to all third parties under the terms of this License. |
174 charge to all third parties under the terms of this License. |
872 |
175 |
873 |
|
874 |
|
875 d) If a facility in the modified Library refers to a function or a |
176 d) If a facility in the modified Library refers to a function or a |
876 |
|
877 table of data to be supplied by an application program that uses |
177 table of data to be supplied by an application program that uses |
878 |
|
879 the facility, other than as an argument passed when the facility |
178 the facility, other than as an argument passed when the facility |
880 |
|
881 is invoked, then you must make a good faith effort to ensure that, |
179 is invoked, then you must make a good faith effort to ensure that, |
882 |
|
883 in the event an application does not supply such function or |
180 in the event an application does not supply such function or |
884 |
|
885 table, the facility still operates, and performs whatever part of |
181 table, the facility still operates, and performs whatever part of |
886 |
|
887 its purpose remains meaningful. |
182 its purpose remains meaningful. |
888 |
183 |
889 |
|
890 |
|
891 (For example, a function in a library to compute square roots has |
184 (For example, a function in a library to compute square roots has |
892 |
|
893 a purpose that is entirely well-defined independent of the |
185 a purpose that is entirely well-defined independent of the |
894 |
|
895 application. Therefore, Subsection 2d requires that any |
186 application. Therefore, Subsection 2d requires that any |
896 |
|
897 application-supplied function or table used by this function must |
187 application-supplied function or table used by this function must |
898 |
|
899 be optional: if the application does not supply it, the square |
188 be optional: if the application does not supply it, the square |
900 |
|
901 root function must still compute square roots.) |
189 root function must still compute square roots.) |
902 |
190 |
903 |
|
904 |
|
905 These requirements apply to the modified work as a whole. If |
191 These requirements apply to the modified work as a whole. If |
906 |
|
907 identifiable sections of that work are not derived from the Library, |
192 identifiable sections of that work are not derived from the Library, |
908 |
|
909 and can be reasonably considered independent and separate works in |
193 and can be reasonably considered independent and separate works in |
910 |
|
911 themselves, then this License, and its terms, do not apply to those |
194 themselves, then this License, and its terms, do not apply to those |
912 |
|
913 sections when you distribute them as separate works. But when you |
195 sections when you distribute them as separate works. But when you |
914 |
|
915 distribute the same sections as part of a whole which is a work based |
196 distribute the same sections as part of a whole which is a work based |
916 |
|
917 on the Library, the distribution of the whole must be on the terms of |
197 on the Library, the distribution of the whole must be on the terms of |
918 |
|
919 this License, whose permissions for other licensees extend to the |
198 this License, whose permissions for other licensees extend to the |
920 |
|
921 entire whole, and thus to each and every part regardless of who wrote |
199 entire whole, and thus to each and every part regardless of who wrote |
922 |
|
923 it. |
200 it. |
924 |
201 |
925 |
|
926 |
|
927 Thus, it is not the intent of this section to claim rights or contest |
202 Thus, it is not the intent of this section to claim rights or contest |
928 |
|
929 your rights to work written entirely by you; rather, the intent is to |
203 your rights to work written entirely by you; rather, the intent is to |
930 |
|
931 exercise the right to control the distribution of derivative or |
204 exercise the right to control the distribution of derivative or |
932 |
|
933 collective works based on the Library. |
205 collective works based on the Library. |
934 |
206 |
935 |
|
936 |
|
937 In addition, mere aggregation of another work not based on the Library |
207 In addition, mere aggregation of another work not based on the Library |
938 |
|
939 with the Library (or with a work based on the Library) on a volume of |
208 with the Library (or with a work based on the Library) on a volume of |
940 |
|
941 a storage or distribution medium does not bring the other work under |
209 a storage or distribution medium does not bring the other work under |
942 |
|
943 the scope of this License. |
210 the scope of this License. |
944 |
211 |
945 |
|
946 |
|
947 3. You may opt to apply the terms of the ordinary GNU General Public |
212 3. You may opt to apply the terms of the ordinary GNU General Public |
948 |
|
949 License instead of this License to a given copy of the Library. To do |
213 License instead of this License to a given copy of the Library. To do |
950 |
|
951 this, you must alter all the notices that refer to this License, so |
214 this, you must alter all the notices that refer to this License, so |
952 |
|
953 that they refer to the ordinary GNU General Public License, version 2, |
215 that they refer to the ordinary GNU General Public License, version 2, |
954 |
|
955 instead of to this License. (If a newer version than version 2 of the |
216 instead of to this License. (If a newer version than version 2 of the |
956 |
|
957 ordinary GNU General Public License has appeared, then you can specify |
217 ordinary GNU General Public License has appeared, then you can specify |
958 |
|
959 that version instead if you wish.) Do not make any other change in |
218 that version instead if you wish.) Do not make any other change in |
960 |
|
961 these notices. |
219 these notices. |
962 |
220 |
963 |
|
964 |
|
965 Once this change is made in a given copy, it is irreversible for |
221 Once this change is made in a given copy, it is irreversible for |
966 |
|
967 that copy, so the ordinary GNU General Public License applies to all |
222 that copy, so the ordinary GNU General Public License applies to all |
968 |
|
969 subsequent copies and derivative works made from that copy. |
223 subsequent copies and derivative works made from that copy. |
970 |
224 |
971 |
|
972 |
|
973 This option is useful when you wish to copy part of the code of |
225 This option is useful when you wish to copy part of the code of |
974 |
|
975 the Library into a program that is not a library. |
226 the Library into a program that is not a library. |
976 |
227 |
977 |
|
978 |
|
979 4. You may copy and distribute the Library (or a portion or |
228 4. You may copy and distribute the Library (or a portion or |
980 |
|
981 derivative of it, under Section 2) in object code or executable form |
229 derivative of it, under Section 2) in object code or executable form |
982 |
|
983 under the terms of Sections 1 and 2 above provided that you accompany |
230 under the terms of Sections 1 and 2 above provided that you accompany |
984 |
|
985 it with the complete corresponding machine-readable source code, which |
231 it with the complete corresponding machine-readable source code, which |
986 |
|
987 must be distributed under the terms of Sections 1 and 2 above on a |
232 must be distributed under the terms of Sections 1 and 2 above on a |
988 |
|
989 medium customarily used for software interchange. |
233 medium customarily used for software interchange. |
990 |
234 |
991 |
|
992 |
|
993 If distribution of object code is made by offering access to copy |
235 If distribution of object code is made by offering access to copy |
994 |
|
995 from a designated place, then offering equivalent access to copy the |
236 from a designated place, then offering equivalent access to copy the |
996 |
|
997 source code from the same place satisfies the requirement to |
237 source code from the same place satisfies the requirement to |
998 |
|
999 distribute the source code, even though third parties are not |
238 distribute the source code, even though third parties are not |
1000 |
|
1001 compelled to copy the source along with the object code. |
239 compelled to copy the source along with the object code. |
1002 |
240 |
1003 |
|
1004 |
|
1005 5. A program that contains no derivative of any portion of the |
241 5. A program that contains no derivative of any portion of the |
1006 |
|
1007 Library, but is designed to work with the Library by being compiled or |
242 Library, but is designed to work with the Library by being compiled or |
1008 |
|
1009 linked with it, is called a "work that uses the Library". Such a |
243 linked with it, is called a "work that uses the Library". Such a |
1010 |
|
1011 work, in isolation, is not a derivative work of the Library, and |
244 work, in isolation, is not a derivative work of the Library, and |
1012 |
|
1013 therefore falls outside the scope of this License. |
245 therefore falls outside the scope of this License. |
1014 |
246 |
1015 |
|
1016 |
|
1017 However, linking a "work that uses the Library" with the Library |
247 However, linking a "work that uses the Library" with the Library |
1018 |
|
1019 creates an executable that is a derivative of the Library (because it |
248 creates an executable that is a derivative of the Library (because it |
1020 |
|
1021 contains portions of the Library), rather than a "work that uses the |
249 contains portions of the Library), rather than a "work that uses the |
1022 |
|
1023 library". The executable is therefore covered by this License. |
250 library". The executable is therefore covered by this License. |
1024 |
|
1025 Section 6 states terms for distribution of such executables. |
251 Section 6 states terms for distribution of such executables. |
1026 |
252 |
1027 |
|
1028 |
|
1029 When a "work that uses the Library" uses material from a header file |
253 When a "work that uses the Library" uses material from a header file |
1030 |
|
1031 that is part of the Library, the object code for the work may be a |
254 that is part of the Library, the object code for the work may be a |
1032 |
|
1033 derivative work of the Library even though the source code is not. |
255 derivative work of the Library even though the source code is not. |
1034 |
|
1035 Whether this is true is especially significant if the work can be |
256 Whether this is true is especially significant if the work can be |
1036 |
|
1037 linked without the Library, or if the work is itself a library. The |
257 linked without the Library, or if the work is itself a library. The |
1038 |
|
1039 threshold for this to be true is not precisely defined by law. |
258 threshold for this to be true is not precisely defined by law. |
1040 |
259 |
1041 |
|
1042 |
|
1043 If such an object file uses only numerical parameters, data |
260 If such an object file uses only numerical parameters, data |
1044 |
|
1045 structure layouts and accessors, and small macros and small inline |
261 structure layouts and accessors, and small macros and small inline |
1046 |
|
1047 functions (ten lines or less in length), then the use of the object |
262 functions (ten lines or less in length), then the use of the object |
1048 |
|
1049 file is unrestricted, regardless of whether it is legally a derivative |
263 file is unrestricted, regardless of whether it is legally a derivative |
1050 |
|
1051 work. (Executables containing this object code plus portions of the |
264 work. (Executables containing this object code plus portions of the |
1052 |
|
1053 Library will still fall under Section 6.) |
265 Library will still fall under Section 6.) |
1054 |
266 |
1055 |
|
1056 |
|
1057 Otherwise, if the work is a derivative of the Library, you may |
267 Otherwise, if the work is a derivative of the Library, you may |
1058 |
|
1059 distribute the object code for the work under the terms of Section 6. |
268 distribute the object code for the work under the terms of Section 6. |
1060 |
|
1061 Any executables containing that work also fall under Section 6, |
269 Any executables containing that work also fall under Section 6, |
1062 |
|
1063 whether or not they are linked directly with the Library itself. |
270 whether or not they are linked directly with the Library itself. |
1064 |
271 |
1065 |
|
1066 |
|
1067 6. As an exception to the Sections above, you may also combine or |
272 6. As an exception to the Sections above, you may also combine or |
1068 |
|
1069 link a "work that uses the Library" with the Library to produce a |
273 link a "work that uses the Library" with the Library to produce a |
1070 |
|
1071 work containing portions of the Library, and distribute that work |
274 work containing portions of the Library, and distribute that work |
1072 |
|
1073 under terms of your choice, provided that the terms permit |
275 under terms of your choice, provided that the terms permit |
1074 |
|
1075 modification of the work for the customer's own use and reverse |
276 modification of the work for the customer's own use and reverse |
1076 |
|
1077 engineering for debugging such modifications. |
277 engineering for debugging such modifications. |
1078 |
278 |
1079 |
|
1080 |
|
1081 You must give prominent notice with each copy of the work that the |
279 You must give prominent notice with each copy of the work that the |
1082 |
|
1083 Library is used in it and that the Library and its use are covered by |
280 Library is used in it and that the Library and its use are covered by |
1084 |
|
1085 this License. You must supply a copy of this License. If the work |
281 this License. You must supply a copy of this License. If the work |
1086 |
|
1087 during execution displays copyright notices, you must include the |
282 during execution displays copyright notices, you must include the |
1088 |
|
1089 copyright notice for the Library among them, as well as a reference |
283 copyright notice for the Library among them, as well as a reference |
1090 |
|
1091 directing the user to the copy of this License. Also, you must do one |
284 directing the user to the copy of this License. Also, you must do one |
1092 |
|
1093 of these things: |
285 of these things: |
1094 |
286 |
1095 |
|
1096 |
|
1097 a) Accompany the work with the complete corresponding |
287 a) Accompany the work with the complete corresponding |
1098 |
|
1099 machine-readable source code for the Library including whatever |
288 machine-readable source code for the Library including whatever |
1100 |
|
1101 changes were used in the work (which must be distributed under |
289 changes were used in the work (which must be distributed under |
1102 |
|
1103 Sections 1 and 2 above); and, if the work is an executable linked |
290 Sections 1 and 2 above); and, if the work is an executable linked |
1104 |
|
1105 with the Library, with the complete machine-readable "work that |
291 with the Library, with the complete machine-readable "work that |
1106 |
|
1107 uses the Library", as object code and/or source code, so that the |
292 uses the Library", as object code and/or source code, so that the |
1108 |
|
1109 user can modify the Library and then relink to produce a modified |
293 user can modify the Library and then relink to produce a modified |
1110 |
|
1111 executable containing the modified Library. (It is understood |
294 executable containing the modified Library. (It is understood |
1112 |
|
1113 that the user who changes the contents of definitions files in the |
295 that the user who changes the contents of definitions files in the |
1114 |
|
1115 Library will not necessarily be able to recompile the application |
296 Library will not necessarily be able to recompile the application |
1116 |
|
1117 to use the modified definitions.) |
297 to use the modified definitions.) |
1118 |
298 |
1119 |
|
1120 |
|
1121 b) Use a suitable shared library mechanism for linking with the |
299 b) Use a suitable shared library mechanism for linking with the |
1122 |
|
1123 Library. A suitable mechanism is one that (1) uses at run time a |
300 Library. A suitable mechanism is one that (1) uses at run time a |
1124 |
|
1125 copy of the library already present on the user's computer system, |
301 copy of the library already present on the user's computer system, |
1126 |
|
1127 rather than copying library functions into the executable, and (2) |
302 rather than copying library functions into the executable, and (2) |
1128 |
|
1129 will operate properly with a modified version of the library, if |
303 will operate properly with a modified version of the library, if |
1130 |
|
1131 the user installs one, as long as the modified version is |
304 the user installs one, as long as the modified version is |
1132 |
|
1133 interface-compatible with the version that the work was made with. |
305 interface-compatible with the version that the work was made with. |
1134 |
306 |
1135 |
|
1136 |
|
1137 c) Accompany the work with a written offer, valid for at |
307 c) Accompany the work with a written offer, valid for at |
1138 |
|
1139 least three years, to give the same user the materials |
308 least three years, to give the same user the materials |
1140 |
|
1141 specified in Subsection 6a, above, for a charge no more |
309 specified in Subsection 6a, above, for a charge no more |
1142 |
|
1143 than the cost of performing this distribution. |
310 than the cost of performing this distribution. |
1144 |
311 |
1145 |
|
1146 |
|
1147 d) If distribution of the work is made by offering access to copy |
312 d) If distribution of the work is made by offering access to copy |
1148 |
|
1149 from a designated place, offer equivalent access to copy the above |
313 from a designated place, offer equivalent access to copy the above |
1150 |
|
1151 specified materials from the same place. |
314 specified materials from the same place. |
1152 |
315 |
1153 |
|
1154 |
|
1155 e) Verify that the user has already received a copy of these |
316 e) Verify that the user has already received a copy of these |
1156 |
|
1157 materials or that you have already sent this user a copy. |
317 materials or that you have already sent this user a copy. |
1158 |
318 |
1159 |
|
1160 |
|
1161 For an executable, the required form of the "work that uses the |
319 For an executable, the required form of the "work that uses the |
1162 |
|
1163 Library" must include any data and utility programs needed for |
320 Library" must include any data and utility programs needed for |
1164 |
|
1165 reproducing the executable from it. However, as a special exception, |
321 reproducing the executable from it. However, as a special exception, |
1166 |
|
1167 the materials to be distributed need not include anything that is |
322 the materials to be distributed need not include anything that is |
1168 |
|
1169 normally distributed (in either source or binary form) with the major |
323 normally distributed (in either source or binary form) with the major |
1170 |
|
1171 components (compiler, kernel, and so on) of the operating system on |
324 components (compiler, kernel, and so on) of the operating system on |
1172 |
|
1173 which the executable runs, unless that component itself accompanies |
325 which the executable runs, unless that component itself accompanies |
1174 |
|
1175 the executable. |
326 the executable. |
1176 |
327 |
1177 |
|
1178 |
|
1179 It may happen that this requirement contradicts the license |
328 It may happen that this requirement contradicts the license |
1180 |
|
1181 restrictions of other proprietary libraries that do not normally |
329 restrictions of other proprietary libraries that do not normally |
1182 |
|
1183 accompany the operating system. Such a contradiction means you cannot |
330 accompany the operating system. Such a contradiction means you cannot |
1184 |
|
1185 use both them and the Library together in an executable that you |
331 use both them and the Library together in an executable that you |
1186 |
|
1187 distribute. |
332 distribute. |
1188 |
333 |
1189 |
|
1190 |
|
1191 7. You may place library facilities that are a work based on the |
334 7. You may place library facilities that are a work based on the |
1192 |
|
1193 Library side-by-side in a single library together with other library |
335 Library side-by-side in a single library together with other library |
1194 |
|
1195 facilities not covered by this License, and distribute such a combined |
336 facilities not covered by this License, and distribute such a combined |
1196 |
|
1197 library, provided that the separate distribution of the work based on |
337 library, provided that the separate distribution of the work based on |
1198 |
|
1199 the Library and of the other library facilities is otherwise |
338 the Library and of the other library facilities is otherwise |
1200 |
|
1201 permitted, and provided that you do these two things: |
339 permitted, and provided that you do these two things: |
1202 |
340 |
1203 |
|
1204 |
|
1205 a) Accompany the combined library with a copy of the same work |
341 a) Accompany the combined library with a copy of the same work |
1206 |
|
1207 based on the Library, uncombined with any other library |
342 based on the Library, uncombined with any other library |
1208 |
|
1209 facilities. This must be distributed under the terms of the |
343 facilities. This must be distributed under the terms of the |
1210 |
|
1211 Sections above. |
344 Sections above. |
1212 |
345 |
1213 |
|
1214 |
|
1215 b) Give prominent notice with the combined library of the fact |
346 b) Give prominent notice with the combined library of the fact |
1216 |
|
1217 that part of it is a work based on the Library, and explaining |
347 that part of it is a work based on the Library, and explaining |
1218 |
|
1219 where to find the accompanying uncombined form of the same work. |
348 where to find the accompanying uncombined form of the same work. |
1220 |
349 |
1221 |
|
1222 |
|
1223 8. You may not copy, modify, sublicense, link with, or distribute |
350 8. You may not copy, modify, sublicense, link with, or distribute |
1224 |
|
1225 the Library except as expressly provided under this License. Any |
351 the Library except as expressly provided under this License. Any |
1226 |
|
1227 attempt otherwise to copy, modify, sublicense, link with, or |
352 attempt otherwise to copy, modify, sublicense, link with, or |
1228 |
|
1229 distribute the Library is void, and will automatically terminate your |
353 distribute the Library is void, and will automatically terminate your |
1230 |
|
1231 rights under this License. However, parties who have received copies, |
354 rights under this License. However, parties who have received copies, |
1232 |
|
1233 or rights, from you under this License will not have their licenses |
355 or rights, from you under this License will not have their licenses |
1234 |
|
1235 terminated so long as such parties remain in full compliance. |
356 terminated so long as such parties remain in full compliance. |
1236 |
357 |
1237 |
|
1238 |
|
1239 9. You are not required to accept this License, since you have not |
358 9. You are not required to accept this License, since you have not |
1240 |
|
1241 signed it. However, nothing else grants you permission to modify or |
359 signed it. However, nothing else grants you permission to modify or |
1242 |
|
1243 distribute the Library or its derivative works. These actions are |
360 distribute the Library or its derivative works. These actions are |
1244 |
|
1245 prohibited by law if you do not accept this License. Therefore, by |
361 prohibited by law if you do not accept this License. Therefore, by |
1246 |
|
1247 modifying or distributing the Library (or any work based on the |
362 modifying or distributing the Library (or any work based on the |
1248 |
|
1249 Library), you indicate your acceptance of this License to do so, and |
363 Library), you indicate your acceptance of this License to do so, and |
1250 |
|
1251 all its terms and conditions for copying, distributing or modifying |
364 all its terms and conditions for copying, distributing or modifying |
1252 |
|
1253 the Library or works based on it. |
365 the Library or works based on it. |
1254 |
366 |
1255 |
|
1256 |
|
1257 10. Each time you redistribute the Library (or any work based on the |
367 10. Each time you redistribute the Library (or any work based on the |
1258 |
|
1259 Library), the recipient automatically receives a license from the |
368 Library), the recipient automatically receives a license from the |
1260 |
|
1261 original licensor to copy, distribute, link with or modify the Library |
369 original licensor to copy, distribute, link with or modify the Library |
1262 |
|
1263 subject to these terms and conditions. You may not impose any further |
370 subject to these terms and conditions. You may not impose any further |
1264 |
|
1265 restrictions on the recipients' exercise of the rights granted herein. |
371 restrictions on the recipients' exercise of the rights granted herein. |
1266 |
|
1267 You are not responsible for enforcing compliance by third parties with |
372 You are not responsible for enforcing compliance by third parties with |
1268 |
|
1269 this License. |
373 this License. |
1270 |
374 |
1271 |
|
1272 |
|
1273 11. If, as a consequence of a court judgment or allegation of patent |
375 11. If, as a consequence of a court judgment or allegation of patent |
1274 |
|
1275 infringement or for any other reason (not limited to patent issues), |
376 infringement or for any other reason (not limited to patent issues), |
1276 |
|
1277 conditions are imposed on you (whether by court order, agreement or |
377 conditions are imposed on you (whether by court order, agreement or |
1278 |
|
1279 otherwise) that contradict the conditions of this License, they do not |
378 otherwise) that contradict the conditions of this License, they do not |
1280 |
|
1281 excuse you from the conditions of this License. If you cannot |
379 excuse you from the conditions of this License. If you cannot |
1282 |
|
1283 distribute so as to satisfy simultaneously your obligations under this |
380 distribute so as to satisfy simultaneously your obligations under this |
1284 |
|
1285 License and any other pertinent obligations, then as a consequence you |
381 License and any other pertinent obligations, then as a consequence you |
1286 |
|
1287 may not distribute the Library at all. For example, if a patent |
382 may not distribute the Library at all. For example, if a patent |
1288 |
|
1289 license would not permit royalty-free redistribution of the Library by |
383 license would not permit royalty-free redistribution of the Library by |
1290 |
|
1291 all those who receive copies directly or indirectly through you, then |
384 all those who receive copies directly or indirectly through you, then |
1292 |
|
1293 the only way you could satisfy both it and this License would be to |
385 the only way you could satisfy both it and this License would be to |
1294 |
|
1295 refrain entirely from distribution of the Library. |
386 refrain entirely from distribution of the Library. |
1296 |
387 |
1297 |
|
1298 |
|
1299 If any portion of this section is held invalid or unenforceable under any |
388 If any portion of this section is held invalid or unenforceable under any |
1300 |
|
1301 particular circumstance, the balance of the section is intended to apply, |
389 particular circumstance, the balance of the section is intended to apply, |
1302 |
|
1303 and the section as a whole is intended to apply in other circumstances. |
390 and the section as a whole is intended to apply in other circumstances. |
1304 |
391 |
1305 |
|
1306 |
|
1307 It is not the purpose of this section to induce you to infringe any |
392 It is not the purpose of this section to induce you to infringe any |
1308 |
|
1309 patents or other property right claims or to contest validity of any |
393 patents or other property right claims or to contest validity of any |
1310 |
|
1311 such claims; this section has the sole purpose of protecting the |
394 such claims; this section has the sole purpose of protecting the |
1312 |
|
1313 integrity of the free software distribution system which is |
395 integrity of the free software distribution system which is |
1314 |
|
1315 implemented by public license practices. Many people have made |
396 implemented by public license practices. Many people have made |
1316 |
|
1317 generous contributions to the wide range of software distributed |
397 generous contributions to the wide range of software distributed |
1318 |
|
1319 through that system in reliance on consistent application of that |
398 through that system in reliance on consistent application of that |
1320 |
|
1321 system; it is up to the author/donor to decide if he or she is willing |
399 system; it is up to the author/donor to decide if he or she is willing |
1322 |
|
1323 to distribute software through any other system and a licensee cannot |
400 to distribute software through any other system and a licensee cannot |
1324 |
|
1325 impose that choice. |
401 impose that choice. |
1326 |
402 |
1327 |
|
1328 |
|
1329 This section is intended to make thoroughly clear what is believed to |
403 This section is intended to make thoroughly clear what is believed to |
1330 |
|
1331 be a consequence of the rest of this License. |
404 be a consequence of the rest of this License. |
1332 |
405 |
1333 |
|
1334 |
|
1335 12. If the distribution and/or use of the Library is restricted in |
406 12. If the distribution and/or use of the Library is restricted in |
1336 |
|
1337 certain countries either by patents or by copyrighted interfaces, the |
407 certain countries either by patents or by copyrighted interfaces, the |
1338 |
|
1339 original copyright holder who places the Library under this License may add |
408 original copyright holder who places the Library under this License may add |
1340 |
|
1341 an explicit geographical distribution limitation excluding those countries, |
409 an explicit geographical distribution limitation excluding those countries, |
1342 |
|
1343 so that distribution is permitted only in or among countries not thus |
410 so that distribution is permitted only in or among countries not thus |
1344 |
|
1345 excluded. In such case, this License incorporates the limitation as if |
411 excluded. In such case, this License incorporates the limitation as if |
1346 |
|
1347 written in the body of this License. |
412 written in the body of this License. |
1348 |
413 |
1349 |
|
1350 |
|
1351 13. The Free Software Foundation may publish revised and/or new |
414 13. The Free Software Foundation may publish revised and/or new |
1352 |
|
1353 versions of the Lesser General Public License from time to time. |
415 versions of the Lesser General Public License from time to time. |
1354 |
|
1355 Such new versions will be similar in spirit to the present version, |
416 Such new versions will be similar in spirit to the present version, |
1356 |
|
1357 but may differ in detail to address new problems or concerns. |
417 but may differ in detail to address new problems or concerns. |
1358 |
418 |
1359 |
|
1360 |
|
1361 Each version is given a distinguishing version number. If the Library |
419 Each version is given a distinguishing version number. If the Library |
1362 |
|
1363 specifies a version number of this License which applies to it and |
420 specifies a version number of this License which applies to it and |
1364 |
|
1365 "any later version", you have the option of following the terms and |
421 "any later version", you have the option of following the terms and |
1366 |
|
1367 conditions either of that version or of any later version published by |
422 conditions either of that version or of any later version published by |
1368 |
|
1369 the Free Software Foundation. If the Library does not specify a |
423 the Free Software Foundation. If the Library does not specify a |
1370 |
|
1371 license version number, you may choose any version ever published by |
424 license version number, you may choose any version ever published by |
1372 |
|
1373 the Free Software Foundation. |
425 the Free Software Foundation. |
1374 |
426 |
1375 |
|
1376 |
|
1377 14. If you wish to incorporate parts of the Library into other free |
427 14. If you wish to incorporate parts of the Library into other free |
1378 |
|
1379 programs whose distribution conditions are incompatible with these, |
428 programs whose distribution conditions are incompatible with these, |
1380 |
|
1381 write to the author to ask for permission. For software which is |
429 write to the author to ask for permission. For software which is |
1382 |
|
1383 copyrighted by the Free Software Foundation, write to the Free |
430 copyrighted by the Free Software Foundation, write to the Free |
1384 |
|
1385 Software Foundation; we sometimes make exceptions for this. Our |
431 Software Foundation; we sometimes make exceptions for this. Our |
1386 |
|
1387 decision will be guided by the two goals of preserving the free status |
432 decision will be guided by the two goals of preserving the free status |
1388 |
|
1389 of all derivatives of our free software and of promoting the sharing |
433 of all derivatives of our free software and of promoting the sharing |
1390 |
|
1391 and reuse of software generally. |
434 and reuse of software generally. |
1392 |
435 |
1393 |
|
1394 |
|
1395 NO WARRANTY |
436 NO WARRANTY |
1396 |
437 |
1397 |
|
1398 |
|
1399 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO |
438 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO |
1400 |
|
1401 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. |
439 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. |
1402 |
|
1403 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR |
440 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR |
1404 |
|
1405 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY |
441 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY |
1406 |
|
1407 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE |
442 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE |
1408 |
|
1409 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
443 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
1410 |
|
1411 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE |
444 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE |
1412 |
|
1413 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME |
445 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME |
1414 |
|
1415 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. |
446 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. |
1416 |
447 |
1417 |
|
1418 |
|
1419 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN |
448 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN |
1420 |
|
1421 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY |
449 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY |
1422 |
|
1423 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU |
450 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU |
1424 |
|
1425 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR |
451 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR |
1426 |
|
1427 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE |
452 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE |
1428 |
|
1429 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING |
453 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING |
1430 |
|
1431 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A |
454 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A |
1432 |
|
1433 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF |
455 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF |
1434 |
|
1435 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH |
456 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH |
1436 |
|
1437 DAMAGES. |
457 DAMAGES. |
1438 |
458 |
1439 |
|
1440 |
|
1441 END OF TERMS AND CONDITIONS |
459 END OF TERMS AND CONDITIONS |
1442 |
460 |
1443 |
|
1444 |
|
1445 How to Apply These Terms to Your New Libraries |
461 How to Apply These Terms to Your New Libraries |
1446 |
462 |
1447 |
|
1448 |
|
1449 If you develop a new library, and you want it to be of the greatest |
463 If you develop a new library, and you want it to be of the greatest |
1450 |
|
1451 possible use to the public, we recommend making it free software that |
464 possible use to the public, we recommend making it free software that |
1452 |
|
1453 everyone can redistribute and change. You can do so by permitting |
465 everyone can redistribute and change. You can do so by permitting |
1454 |
|
1455 redistribution under these terms (or, alternatively, under the terms of the |
466 redistribution under these terms (or, alternatively, under the terms of the |
1456 |
|
1457 ordinary General Public License). |
467 ordinary General Public License). |
1458 |
468 |
1459 |
|
1460 |
|
1461 To apply these terms, attach the following notices to the library. It is |
469 To apply these terms, attach the following notices to the library. It is |
1462 |
|
1463 safest to attach them to the start of each source file to most effectively |
470 safest to attach them to the start of each source file to most effectively |
1464 |
|
1465 convey the exclusion of warranty; and each file should have at least the |
471 convey the exclusion of warranty; and each file should have at least the |
1466 |
|
1467 "copyright" line and a pointer to where the full notice is found. |
472 "copyright" line and a pointer to where the full notice is found. |
1468 |
473 |
1469 |
|
1470 |
|
1471 <one line to give the library's name and a brief idea of what it does.> |
474 <one line to give the library's name and a brief idea of what it does.> |
1472 |
|
1473 Copyright (C) <year> <name of author> |
475 Copyright (C) <year> <name of author> |
1474 |
476 |
1475 |
|
1476 |
|
1477 This library is free software; you can redistribute it and/or |
477 This library is free software; you can redistribute it and/or |
1478 |
|
1479 modify it under the terms of the GNU Lesser General Public |
478 modify it under the terms of the GNU Lesser General Public |
1480 |
|
1481 License as published by the Free Software Foundation; either |
479 License as published by the Free Software Foundation; either |
1482 |
|
1483 version 2.1 of the License, or (at your option) any later version. |
480 version 2.1 of the License, or (at your option) any later version. |
1484 |
481 |
1485 |
|
1486 |
|
1487 This library is distributed in the hope that it will be useful, |
482 This library is distributed in the hope that it will be useful, |
1488 |
|
1489 but WITHOUT ANY WARRANTY; without even the implied warranty of |
483 but WITHOUT ANY WARRANTY; without even the implied warranty of |
1490 |
|
1491 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
484 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
1492 |
|
1493 Lesser General Public License for more details. |
485 Lesser General Public License for more details. |
1494 |
486 |
1495 |
|
1496 |
|
1497 You should have received a copy of the GNU Lesser General Public |
487 You should have received a copy of the GNU Lesser General Public |
1498 |
|
1499 License along with this library; if not, write to the Free Software |
488 License along with this library; if not, write to the Free Software |
1500 |
489 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
1501 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
490 |
1502 |
|
1503 |
|
1504 |
|
1505 Also add information on how to contact you by electronic and paper mail. |
491 Also add information on how to contact you by electronic and paper mail. |
1506 |
492 |
1507 |
|
1508 |
|
1509 You should also get your employer (if you work as a programmer) or your |
493 You should also get your employer (if you work as a programmer) or your |
1510 |
|
1511 school, if any, to sign a "copyright disclaimer" for the library, if |
494 school, if any, to sign a "copyright disclaimer" for the library, if |
1512 |
|
1513 necessary. Here is a sample; alter the names: |
495 necessary. Here is a sample; alter the names: |
1514 |
496 |
1515 |
|
1516 |
|
1517 Yoyodyne, Inc., hereby disclaims all copyright interest in the |
497 Yoyodyne, Inc., hereby disclaims all copyright interest in the |
1518 |
|
1519 library `Frob' (a library for tweaking knobs) written by James Random Hacker. |
498 library `Frob' (a library for tweaking knobs) written by James Random Hacker. |
1520 |
499 |
1521 |
|
1522 |
|
1523 <signature of Ty Coon>, 1 April 1990 |
500 <signature of Ty Coon>, 1 April 1990 |
1524 |
|
1525 Ty Coon, President of Vice |
501 Ty Coon, President of Vice |
1526 |
502 |
1527 |
|
1528 |
|
1529 That's all there is to it! |
503 That's all there is to it! |
1530 |
504 |