instrumentation: add next-share/
[cs-p2p-next.git] / instrumentation / next-share / LICENSE.txt
1 ------------------------------------------------------------------------------\r
2 \r
3     Next-Share content-delivery library.\r
4 \r
5     The research leading to this library has received funding from the European\r
6     Community's Seventh Framework Programme in the P2P-Next project under grant\r
7     agreement no 216217.\r
8 \r
9     All library modules are free software, unless stated otherwise; you can \r
10     redistribute them and/or modify them under the terms of the GNU Lesser \r
11     General Public License as published by the Free Software Foundation; in \r
12     particular, version 2.1 of the License.\r
13 \r
14     This library is distributed in the hope that it will be useful,\r
15     but WITHOUT ANY WARRANTY; without even the implied warranty of\r
16     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
17     Lesser General Public License for more details.\r
18 \r
19     The following library modules are Copyright (c) 2008-2012, VTT Technical Research Centre of Finland; All rights reserved:\r
20 \r
21     The following library modules are Copyright (c) 2008-2012, Norut AS; All rights reserved:\r
22       BaseLib/Core/Multicast/*\r
23       BaseLib/Core/Statistics/Status/*\r
24       BaseLib/Core/ClosedSwarm/*\r
25       BaseLib/Player/swarmplayer-njaal.py\r
26       BaseLib/Plugin/BackgroundProcess-njaal.py\r
27       BaseLib/Test/test_closedswarm.py\r
28       BaseLib/Test/test_status.py\r
29       BaseLib/Tools/createlivestream-njaal.py\r
30       BaseLib/Tools/createpoa.py\r
31       BaseLib/Tools/trial_poa_server.py\r
32       BaseLib/UPnP/*\r
33       BaseLib/Test/test_upnp.py\r
34 \r
35     The following library modules are Copyright (c) 2008-2012, DACC Systems AB; All rights reserved:\r
36       DACC/transfer.php\r
37  \r
38     The following library modules are Copyright (c) 2008-2012, Lancaster University; All rights reserved:\r
39 \r
40     The following library modules are Copyright (c) 2008-2012, Jožef Stefan Institute; All rights reserved:\r
41 \r
42     The following library modules are Copyright (c) 2008-2012, First Oversi Ltd.; All rights reserved:\r
43 \r
44     The following library modules are Copyright (c) 2008-2012, TECHNISCHE UNIVERSITEIT DELFT; All rights reserved:\r
45       BaseLib/Core/NATFirewall/NatCheck.py\r
46       BaseLib/Core/NATFirewall/TimeoutCheck.py\r
47       BaseLib/Core/NATFirewall/NatCheckMsgHandler.py\r
48       BaseLib/Policies/SeedingManager.py\r
49       BaseLib/Core/Statistics/SeedingStatsCrawler.py\r
50       BaseLib/Core/CacheDB/SqliteSeedingStatsCacheDB.py\r
51       BaseLib/Core/BuddyCast/moderationcast.py\r
52       BaseLib/Core/BuddyCast/moderationcast_util.py\r
53       BaseLib/Core/BuddyCast/votecast.py\r
54       BaseLib/Core/CacheDB/maxflow.py\r
55       BaseLib/Core/CacheDB/SqliteVideoPlaybackStatsCacheDB.py\r
56       BaseLib/Core/NATFirewall/ConnectionCheck.py\r
57       BaseLib/Core/NATFirewall/NatTraversal.py\r
58       BaseLib/Core/Search/Reranking.py\r
59       BaseLib/Core/Statistics/tribler_videoplayback_stats.sql\r
60       BaseLib/Core/Statistics/VideoPlaybackCrawler.py\r
61       BaseLib/Core/Utilities/Crypto.py\r
62       BaseLib/Images/\r
63       BaseLib/Player/BaseApp.py\r
64       BaseLib/Player/EmbeddedPlayer4Frame.py\r
65       BaseLib/Player/PlayerVideoFrame.py\r
66       BaseLib/Plugin\r
67       BaseLib/Test/test_multicast.py\r
68       BaseLib/Test/test_na_extend_hs.py\r
69       BaseLib/Test/test_na_extend_hs.sh\r
70       BaseLib/Test/test_sqlitecachedbhandler.sh\r
71       BaseLib/Tools/dirtrackerseeder.py\r
72       BaseLib/Tools/pipe-babscam-h264-nosound-mencoder.sh\r
73       BaseLib/Tools/superpeer.py\r
74       BaseLib/Utilities/LinuxSingleInstanceChecker.py\r
75       BaseLib/Video/Images\r
76       BaseLib/Video/VideoFrame.py\r
77       reset.bat\r
78       reset-keepid.bat\r
79       BaseLib/Core/Video/PiecePickerSVC.py\r
80       BaseLib/Core/Video/SVCTransporter.py\r
81       BaseLib/Core/Video/SVCVideoStatus.py\r
82       BaseLib/schema_sdb_v5.sql\r
83       BaseLib/Core/APIImplementation/makeurl.py\r
84       BaseLib/Core/BuddyCast/channelcast.py\r
85       BaseLib/Core/DecentralizedTracking/repex.py\r
86       BaseLib/Core/NATFirewall/TimeoutFinder.py\r
87       BaseLib/Core/NATFirewall/UDPPuncture.py\r
88       BaseLib/Core/Statistics/RepexCrawler.py\r
89       BaseLib/Debug/*\r
90       BaseLib/Tools/createtorrent.py\r
91       BaseLib/Tools/pingbackserver.py\r
92       BaseLib/Tools/seeking.py\r
93       BaseLib/Tools/stunserver.py\r
94       lucid-xpicreate.sh\r
95       patentfreevlc.bat\r
96       BaseLib/Core/BitTornado/BT1/GetRightHTTPDownloader.py\r
97       BaseLib/Core/BitTornado/BT1/HoffmanHTTPDownloader.py\r
98       BaseLib/Core/CacheDB/MetadataDBHandler.py\r
99       BaseLib/Core/DecentralizedTracking/MagnetLink/*\r
100       BaseLib/Core/Subtitles/*\r
101       BaseLib/Images/SwarmServerIcon.ico\r
102       BaseLib/Main/Build/Ubuntu/tribler.gconf-defaults\r
103       BaseLib/Main/Utility/logging_util.py\r
104       BaseLib/Main/vwxGUI/ChannelsPanel.py\r
105       BaseLib/Main/vwxGUI/images/iconSaved_state4.png\r
106       BaseLib/schema_sdb_v5.sql\r
107       BaseLib/Test/Core/*\r
108       BaseLib/Test/extend_hs_dir/proxyservice.test.torrent\r
109       BaseLib/Test/subtitles_test_res\r
110       BaseLib/Test/test_channelcast_plus_subtitles.py\r
111       BaseLib/Test/test_magnetlink.py\r
112       BaseLib/Test/test_miscutils.py\r
113       BaseLib/Test/test_subtitles.bat\r
114       BaseLib/Test/test_subtitles_isolation.py\r
115       BaseLib/Test/test_subtitles_msgs.py\r
116       BaseLib/Test/test_subtitles.sh\r
117       BaseLib/Test/test_threadpool.py\r
118       BaseLib/Tools/dirtracker.py\r
119       BaseLib/Tools/duration2torrent.py\r
120       BaseLib/Tools/httpseeder.py\r
121       BaseLib/Transport/*\r
122       BaseLib/Video/Ogg.py\r
123       BaseLib/WebUI/*\r
124       xpitransmakedeb.sh\r
125       xpitransmakedist.bat\r
126       xpitransmakedist.sh\r
127       xpitransmakedistmac.sh\r
128       xie8transmakedist.bat\r
129       TUD/swift-spbackend-r1598/*\r
130       vlc-1.0.5-swarmplugin-switch-kcc-src-aug2010-r16968.patch (except bindings/python)\r
131 \r
132     The following library modules are Copyright (c) 2008-2012, STMicroelectronics S.r.l.; All rights reserved:\r
133 \r
134     The following library modules are Copyright (c) 2008-2012, Kungliga Tekniska Högskolan (The Royal Institute of Technology); All rights reserved:\r
135       BaseLib/Core/DecentralizedTracking/kadtracker/*\r
136 \r
137     The following library modules are Copyright (c) 2008-2012, Markenfilm GmbH & Co. KG; All rights reserved:\r
138 \r
139     The following library modules are Copyright (c) 2008-2012, Radiotelevizija Slovenija Javni Zavvod Ljubljana; All rights reserved:\r
140 \r
141     The following library modules are Copyright (c) 2008-2012, Kendra Foundation; All rights reserved:\r
142 \r
143     The following library modules are Copyright (c) 2008-2012, Universitaet Klagenfurt; All rights reserved:\r
144 \r
145     The following library modules are Copyright (c) 2008-2012, AG Projects; All rights reserved:\r
146       AGP/sipsimple-20100621.tgz\r
147       \r
148     The following library modules are Copyright (c) 2008-2012, The British Broadcasting Corporation; All rights reserved:\r
149 \r
150     The following library modules are Copyright (c) 2008-2012, Pioneer Digital Design Centre Limited; All rights reserved:\r
151   \r
152     The following library modules are Copyright (c) 2008-2012, INSTITUT FUER RUNDFUNKTECHNIK GMBH; All rights reserved:\r
153 \r
154     The following library modules are Copyright (c) 2008-2012, Fabchannel BV; All rights reserved:\r
155 \r
156     The following library modules are Copyright (c) 2008-2012, University Politehnica Bucharest; All rights reserved:\r
157       BaseLib/Core/ProxyService/*\r
158       BaseLib/Tools/proxy-cmdline.py\r
159       BaseLib/Test/test_proxyservice_as_coord.bat\r
160       BaseLib/Test/test_proxyservice_as_coord.py\r
161       BaseLib/Test/test_proxyservice_as_coord.sh\r
162       BaseLib/Test/test_proxyservice.bat\r
163       BaseLib/Test/test_proxyservice.py\r
164       BaseLib/Test/test_proxyservice.sh\r
165       BaseLib/Test/extend_hs_dir/proxyservice.test.torrent\r
166       \r
167 \r
168     The following library modules are Copyright (c) 2008-2012, EBU-UER; All rights reserved:\r
169 \r
170     The following library modules are Copyright (c) 2008-2012, Università di Roma Sapienza; All rights reserved:\r
171 \r
172 \r
173     You should have received a copy of the GNU Lesser General Public\r
174     License along with this library; if not, write to the Free Software\r
175     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\r
176 \r
177     VTT Technical Research Centre of Finland, \r
178     Tekniikankatu 1, \r
179     FIN-33710 Tampere, \r
180     Finland\r
181 \r
182     Norut AS,\r
183     Postboks 6434 \r
184     Forskningsparken, \r
185     9294 Tromsø,\r
186     Norway\r
187 \r
188     DACC Systems AB\r
189     Glimmervägen 4, \r
190     SE18734, Täby,\r
191     Sweden\r
192 \r
193     Lancaster University, \r
194     University House, \r
195     Bailrigg, Lancaster, LA1 4YW\r
196     United Kingdom\r
197 \r
198     Jožef Stefan Institute, \r
199     Jamova cesta 39, \r
200     1000 Ljubljana, \r
201     Slovenia\r
202 \r
203     First Oversi Ltd.,\r
204     Rishon Lezion 1,\r
205     Petah Tikva 49723, \r
206     Israel\r
207 \r
208     TECHNISCHE UNIVERSITEIT DELFT, \r
209     Faculty of Electrical Engineering, Mathematics and Computer Science, \r
210     Mekelweg 4, \r
211     2628 CD Delft, \r
212     The Netherlands\r
213 \r
214     STMicroelectronics S.r.l., \r
215     via C.Olivetti 2, \r
216     I-20041 Agrate Brianza,\r
217     Italy\r
218 \r
219     Kungliga Tekniska Högskolan (The Royal Institute of Technology), \r
220     KTH/ICT/ECS/TSLab\r
221     Electrum 229\r
222     164 40 Kista\r
223     Sweden\r
224 \r
225     Markenfilm GmbH & Co. KG, \r
226     Schulauer Moorweg 25, \r
227     22880 Wedel, \r
228     Germany\r
229 \r
230     Radiotelevizija Slovenija Javni Zavvod Ljubljana, \r
231     Kolodvorska 2, \r
232     SI-1000 Ljubljana,\r
233     Slovenia\r
234 \r
235 \r
236     Kendra Foundation, \r
237     Meadow Barn, Holne, \r
238     Newton Abbot, Devon, TQ13 7SP,\r
239     United Kingdom\r
240 \r
241 \r
242     Universitaet Klagenfurt, \r
243     Universitaetstrasse 65-67, \r
244     9020 Klagenfurt, \r
245     Austria\r
246 \r
247     AG Projects, \r
248     Dr. Leijdsstraat 92,\r
249     2021RK Haarlem, \r
250     The Netherlands\r
251 \r
252     The British Broadcasting Corporation,\r
253     Broadcasting House, Portland Place, \r
254     London, W1A 1AA \r
255     United Kingdom\r
256 \r
257     Pioneer Digital Design Centre Limited, \r
258     Pioneer House, Hollybush Hill, Stoke Poges, \r
259     Slough, SL2 4QP\r
260     United Kingdom\r
261 \r
262     INSTITUT FUER RUNDFUNKTECHNIK GMBH\r
263     Floriansmuehlstrasse 60,\r
264     80939 München, \r
265     Germany\r
266 \r
267     Fabchannel BV, \r
268     Kleine-Gartmanplantsoen 21, \r
269     1017 RP Amsterdam, \r
270     The Netherlands\r
271 \r
272     University Politehnica Bucharest, \r
273     313 Splaiul Independentei, \r
274     District 6, cod 060042, Bucharest,\r
275     Romania\r
276 \r
277     EBU-UER, \r
278     L'Ancienne Route 17A, 1218\r
279     Grand Saconnex - Geneva, \r
280     Switzerland\r
281 \r
282     Università di Roma Sapienza\r
283     Dipartimento di Informatica e Sistemistica (DIS),\r
284     Via Ariosto 25, \r
285     00185 Rome, \r
286     Italy\r
287 \r
288 \r
289 ------------------------------------------------------------------------------\r
290 \r
291     BaseLib content-delivery library.\r
292 \r
293     Development of the BaseLib library was supported by various research \r
294     grants:\r
295 \r
296      - BSIK Freeband Communication I-Share project (Dutch Ministry of Economic \r
297        Affairs)\r
298      - Netherlands Organisation for Scientific Research (NWO) grant 612.060.215\r
299      - Dutch Technology Foundation STW: Veni project DTC.7299\r
300      - European Community's Sixth Framework Programme in the P2P-FUSION project\r
301        under contract no 035249.\r
302  \r
303     The following library modules are Copyright (c) 2005-2010,\r
304     Delft University of Technology and Vrije Universiteit Amsterdam; \r
305     All rights reserved.\r
306 \r
307       BaseLib/*\r
308 \r
309     This library is free software; you can redistribute it and/or\r
310     modify it under the terms of the GNU Lesser General Public\r
311     License as published by the Free Software Foundation; either\r
312     version 2.1 of the License, or (at your option) any later version.\r
313 \r
314     This library is distributed in the hope that it will be useful,\r
315     but WITHOUT ANY WARRANTY; without even the implied warranty of\r
316     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
317     Lesser General Public License for more details.\r
318 \r
319     You should have received a copy of the GNU Lesser General Public\r
320     License along with this library; if not, write to the Free Software\r
321     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\r
322 \r
323     Delft University of Technology\r
324     Postbus 5\r
325     2600 AA Delft\r
326     The Netherlands\r
327     \r
328     Vrije Universiteit\r
329     De Boelelaan 1105\r
330     1081 HV Amsterdam\r
331     The Netherlands\r
332 \r
333 \r
334  \r
335 -------------------------------------------------------------------------------\r
336 \r
337     BuddyCast4 content-recommendation library.\r
338 \r
339     The research leading to this library has received funding from the\r
340     European Community's Seventh Framework Programme [FP7/2007-2011] \r
341     in the Petamedia project under grant agreement no. 216444\r
342 \r
343     The following library modules are Copyright (c) 2008-2010,\r
344     Delft University of Technology and Technische Universität Berlin; \r
345     All rights reserved.\r
346 \r
347       BaseLib/Core/BuddyCast/buddycast.py\r
348 \r
349     The following library modules are Copyright (c) 2008-2010,\r
350     Technische Universität Berlin; \r
351     All rights reserved.\r
352 \r
353       BaseLib/Core/Search/Reranking.py\r
354       BaseLib/Test/test_buddycast4.py\r
355       BaseLib/Test/test_buddycast4_stresstest.py\r
356       \r
357     All library modules are free software, unless stated otherwise; you can \r
358     redistribute them and/or modify them under the terms of the GNU Lesser \r
359     General Public License as published by the Free Software Foundation; in \r
360     particular, version 2.1 of the License.\r
361 \r
362     This library is distributed in the hope that it will be useful,\r
363     but WITHOUT ANY WARRANTY; without even the implied warranty of\r
364     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
365     Lesser General Public License for more details.\r
366 \r
367     You should have received a copy of the GNU Lesser General Public\r
368     License along with this library; if not, write to the Free Software\r
369     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\r
370 \r
371     Delft University of Technology\r
372     Postbus 5\r
373     2600 AA Delft\r
374     The Netherlands\r
375     \r
376     Technische Universität Berlin\r
377     Strasse des 17. Juni 135\r
378     10623 Berlin\r
379     Germany\r
380 \r
381 \r
382 ------------------------------------------------------------------------------\r
383 \r
384     SwarmTransport/SwarmPlayer Firefox library.\r
385 \r
386     The research leading to this library has received funding from the European\r
387     Community's Seventh Framework Programme in the P2P-Next project under grant\r
388     agreement no 216217.\r
389 \r
390     All library modules are free software, unless stated otherwise; you can \r
391     redistribute them and/or modify them under the terms of the GNU Lesser \r
392     General Public License as published by the Free Software Foundation; in \r
393     particular, version 2.1 of the License.\r
394 \r
395     This library is distributed in the hope that it will be useful,\r
396     but WITHOUT ANY WARRANTY; without even the implied warranty of\r
397     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
398     Lesser General Public License for more details.\r
399 \r
400 \r
401     The following library modules are Copyright (c) 2008-2012, TECHNISCHE UNIVERSITEIT DELFT; \r
402     and Jan Gerber; All rights reserved:\r
403       BaseLib/Transport/tribeIChannel.idl\r
404       BaseLib/Transport/tribeISwarmTransport.idl\r
405       BaseLib/Transport/components/TribeChannel.js\r
406       BaseLib/Transport/components/TribeProtocolHandler.js\r
407       BaseLib/Transport/components/SwarmTransport.js\r
408       BaseLib/Transport/install.rdf\r
409       BaseLib/Transport/chrome.manifest\r
410 \r
411     You should have received a copy of the GNU Lesser General Public\r
412     License along with this library; if not, write to the Free Software\r
413     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\r
414 \r
415     TECHNISCHE UNIVERSITEIT DELFT, \r
416     Faculty of Electrical Engineering, Mathematics and Computer Science, \r
417     Mekelweg 4, \r
418     2628 CD Delft, \r
419     The Netherlands\r
420     \r
421     Jan Gerber\r
422     j@thing.net\r
423 \r
424 -------------------------------------------------------------------------------\r
425 \r
426 Unless otherwise noted, all files written by Bram Cohen, John Hoffman, Petru \r
427 Paler, Uoti Urpala, Ross Cohen, Tim Tucker, Choopan RATTANAPOKA, Yejun Yang,\r
428 Myers Carpenter, Bill Bumgarner, Henry 'Pi' James, Loring Holden, \r
429 Dustin Pate ("noirsoldats@codemeu.com"), kratoak5, Roee Shlomo, Greg Fleming, \r
430 N. Goldmann ("Pir4nhaX,www.clanyakuza.com"), and Michel Hartmann is released\r
431 under the MIT license, exceptions contain licensing information in them.\r
432 \r
433 Copyright (C) 2001-2002 Bram Cohen\r
434 \r
435 Permission is hereby granted, free of charge, to any person\r
436 obtaining a copy of this software and associated documentation files\r
437 (the "Software"), to deal in the Software without restriction,\r
438 including without limitation the rights to use, copy, modify, merge,\r
439 publish, distribute, sublicense, and/or sell copies of the Software,\r
440 and to permit persons to whom the Software is furnished to do so,\r
441 subject to the following conditions:\r
442 \r
443 The above copyright notice and this permission notice shall be\r
444 included in all copies or substantial portions of the Software.\r
445 \r
446 The Software is provided "AS IS", without warranty of any kind,\r
447 express or implied, including but not limited to the warranties of\r
448 merchantability,  fitness for a particular purpose and\r
449 noninfringement. In no event shall the  authors or copyright holders\r
450 be liable for any claim, damages or other liability, whether in an\r
451 action of contract, tort or otherwise, arising from, out of or in\r
452 connection with the Software or the use or other dealings in the\r
453 Software.\r
454 \r
455 -------------------------------------------------------------------------------\r
456 \r
457                   GNU LESSER GENERAL PUBLIC LICENSE\r
458                        Version 2.1, February 1999\r
459 \r
460  Copyright (C) 1991, 1999 Free Software Foundation, Inc.\r
461      51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\r
462  Everyone is permitted to copy and distribute verbatim copies\r
463  of this license document, but changing it is not allowed.\r
464 \r
465 [This is the first released version of the Lesser GPL.  It also counts\r
466  as the successor of the GNU Library Public License, version 2, hence\r
467  the version number 2.1.]\r
468 \r
469                             Preamble\r
470 \r
471   The licenses for most software are designed to take away your\r
472 freedom to share and change it.  By contrast, the GNU General Public\r
473 Licenses are intended to guarantee your freedom to share and change\r
474 free software--to make sure the software is free for all its users.\r
475 \r
476   This license, the Lesser General Public License, applies to some\r
477 specially designated software packages--typically libraries--of the\r
478 Free Software Foundation and other authors who decide to use it.  You\r
479 can use it too, but we suggest you first think carefully about whether\r
480 this license or the ordinary General Public License is the better\r
481 strategy to use in any particular case, based on the explanations below.\r
482 \r
483   When we speak of free software, we are referring to freedom of use,\r
484 not price.  Our General Public Licenses are designed to make sure that\r
485 you have the freedom to distribute copies of free software (and charge\r
486 for this service if you wish); that you receive source code or can get\r
487 it if you want it; that you can change the software and use pieces of\r
488 it in new free programs; and that you are informed that you can do\r
489 these things.\r
490 \r
491   To protect your rights, we need to make restrictions that forbid\r
492 distributors to deny you these rights or to ask you to surrender these\r
493 rights.  These restrictions translate to certain responsibilities for\r
494 you if you distribute copies of the library or if you modify it.\r
495 \r
496   For example, if you distribute copies of the library, whether gratis\r
497 or for a fee, you must give the recipients all the rights that we gave\r
498 you.  You must make sure that they, too, receive or can get the source\r
499 code.  If you link other code with the library, you must provide\r
500 complete object files to the recipients, so that they can relink them\r
501 with the library after making changes to the library and recompiling\r
502 it.  And you must show them these terms so they know their rights.\r
503 \r
504   We protect your rights with a two-step method: (1) we copyright the\r
505 library, and (2) we offer you this license, which gives you legal\r
506 permission to copy, distribute and/or modify the library.\r
507 \r
508   To protect each distributor, we want to make it very clear that\r
509 there is no warranty for the free library.  Also, if the library is\r
510 modified by someone else and passed on, the recipients should know\r
511 that what they have is not the original version, so that the original\r
512 author's reputation will not be affected by problems that might be\r
513 introduced by others.\r
514 \r
515 \r
516   Finally, software patents pose a constant threat to the existence of\r
517 any free program.  We wish to make sure that a company cannot\r
518 effectively restrict the users of a free program by obtaining a\r
519 restrictive license from a patent holder.  Therefore, we insist that\r
520 any patent license obtained for a version of the library must be\r
521 consistent with the full freedom of use specified in this license.\r
522 \r
523   Most GNU software, including some libraries, is covered by the\r
524 ordinary GNU General Public License.  This license, the GNU Lesser\r
525 General Public License, applies to certain designated libraries, and\r
526 is quite different from the ordinary General Public License.  We use\r
527 this license for certain libraries in order to permit linking those\r
528 libraries into non-free programs.\r
529 \r
530   When a program is linked with a library, whether statically or using\r
531 a shared library, the combination of the two is legally speaking a\r
532 combined work, a derivative of the original library.  The ordinary\r
533 General Public License therefore permits such linking only if the\r
534 entire combination fits its criteria of freedom.  The Lesser General\r
535 Public License permits more lax criteria for linking other code with\r
536 the library.\r
537 \r
538   We call this license the "Lesser" General Public License because it\r
539 does Less to protect the user's freedom than the ordinary General\r
540 Public License.  It also provides other free software developers Less\r
541 of an advantage over competing non-free programs.  These disadvantages\r
542 are the reason we use the ordinary General Public License for many\r
543 libraries.  However, the Lesser license provides advantages in certain\r
544 special circumstances.\r
545 \r
546   For example, on rare occasions, there may be a special need to\r
547 encourage the widest possible use of a certain library, so that it becomes\r
548 a de-facto standard.  To achieve this, non-free programs must be\r
549 allowed to use the library.  A more frequent case is that a free\r
550 library does the same job as widely used non-free libraries.  In this\r
551 case, there is little to gain by limiting the free library to free\r
552 software only, so we use the Lesser General Public License.\r
553 \r
554   In other cases, permission to use a particular library in non-free\r
555 programs enables a greater number of people to use a large body of\r
556 free software.  For example, permission to use the GNU C Library in\r
557 non-free programs enables many more people to use the whole GNU\r
558 operating system, as well as its variant, the GNU/Linux operating\r
559 system.\r
560 \r
561   Although the Lesser General Public License is Less protective of the\r
562 users' freedom, it does ensure that the user of a program that is\r
563 linked with the Library has the freedom and the wherewithal to run\r
564 that program using a modified version of the Library.\r
565 \r
566   The precise terms and conditions for copying, distribution and\r
567 modification follow.  Pay close attention to the difference between a\r
568 "work based on the library" and a "work that uses the library".  The\r
569 former contains code derived from the library, whereas the latter must\r
570 be combined with the library in order to run.\r
571 \r
572 \r
573                   GNU LESSER GENERAL PUBLIC LICENSE\r
574    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\r
575 \r
576   0. This License Agreement applies to any software library or other\r
577 program which contains a notice placed by the copyright holder or\r
578 other authorized party saying it may be distributed under the terms of\r
579 this Lesser General Public License (also called "this License").\r
580 Each licensee is addressed as "you".\r
581 \r
582   A "library" means a collection of software functions and/or data\r
583 prepared so as to be conveniently linked with application programs\r
584 (which use some of those functions and data) to form executables.\r
585 \r
586   The "Library", below, refers to any such software library or work\r
587 which has been distributed under these terms.  A "work based on the\r
588 Library" means either the Library or any derivative work under\r
589 copyright law: that is to say, a work containing the Library or a\r
590 portion of it, either verbatim or with modifications and/or translated\r
591 straightforwardly into another language.  (Hereinafter, translation is\r
592 included without limitation in the term "modification".)\r
593 \r
594   "Source code" for a work means the preferred form of the work for\r
595 making modifications to it.  For a library, complete source code means\r
596 all the source code for all modules it contains, plus any associated\r
597 interface definition files, plus the scripts used to control compilation\r
598 and installation of the library.\r
599 \r
600   Activities other than copying, distribution and modification are not\r
601 covered by this License; they are outside its scope.  The act of\r
602 running a program using the Library is not restricted, and output from\r
603 such a program is covered only if its contents constitute a work based\r
604 on the Library (independent of the use of the Library in a tool for\r
605 writing it).  Whether that is true depends on what the Library does\r
606 and what the program that uses the Library does.\r
607   \r
608   1. You may copy and distribute verbatim copies of the Library's\r
609 complete source code as you receive it, in any medium, provided that\r
610 you conspicuously and appropriately publish on each copy an\r
611 appropriate copyright notice and disclaimer of warranty; keep intact\r
612 all the notices that refer to this License and to the absence of any\r
613 warranty; and distribute a copy of this License along with the\r
614 Library.\r
615 \r
616   You may charge a fee for the physical act of transferring a copy,\r
617 and you may at your option offer warranty protection in exchange for a\r
618 fee.\r
619 \r
620 \r
621   2. You may modify your copy or copies of the Library or any portion\r
622 of it, thus forming a work based on the Library, and copy and\r
623 distribute such modifications or work under the terms of Section 1\r
624 above, provided that you also meet all of these conditions:\r
625 \r
626     a) The modified work must itself be a software library.\r
627 \r
628     b) You must cause the files modified to carry prominent notices\r
629     stating that you changed the files and the date of any change.\r
630 \r
631     c) You must cause the whole of the work to be licensed at no\r
632     charge to all third parties under the terms of this License.\r
633 \r
634     d) If a facility in the modified Library refers to a function or a\r
635     table of data to be supplied by an application program that uses\r
636     the facility, other than as an argument passed when the facility\r
637     is invoked, then you must make a good faith effort to ensure that,\r
638     in the event an application does not supply such function or\r
639     table, the facility still operates, and performs whatever part of\r
640     its purpose remains meaningful.\r
641 \r
642     (For example, a function in a library to compute square roots has\r
643     a purpose that is entirely well-defined independent of the\r
644     application.  Therefore, Subsection 2d requires that any\r
645     application-supplied function or table used by this function must\r
646     be optional: if the application does not supply it, the square\r
647     root function must still compute square roots.)\r
648 \r
649 These requirements apply to the modified work as a whole.  If\r
650 identifiable sections of that work are not derived from the Library,\r
651 and can be reasonably considered independent and separate works in\r
652 themselves, then this License, and its terms, do not apply to those\r
653 sections when you distribute them as separate works.  But when you\r
654 distribute the same sections as part of a whole which is a work based\r
655 on the Library, the distribution of the whole must be on the terms of\r
656 this License, whose permissions for other licensees extend to the\r
657 entire whole, and thus to each and every part regardless of who wrote\r
658 it.\r
659 \r
660 Thus, it is not the intent of this section to claim rights or contest\r
661 your rights to work written entirely by you; rather, the intent is to\r
662 exercise the right to control the distribution of derivative or\r
663 collective works based on the Library.\r
664 \r
665 In addition, mere aggregation of another work not based on the Library\r
666 with the Library (or with a work based on the Library) on a volume of\r
667 a storage or distribution medium does not bring the other work under\r
668 the scope of this License.\r
669 \r
670   3. You may opt to apply the terms of the ordinary GNU General Public\r
671 License instead of this License to a given copy of the Library.  To do\r
672 this, you must alter all the notices that refer to this License, so\r
673 that they refer to the ordinary GNU General Public License, version 2,\r
674 instead of to this License.  (If a newer version than version 2 of the\r
675 ordinary GNU General Public License has appeared, then you can specify\r
676 that version instead if you wish.)  Do not make any other change in\r
677 these notices.\r
678 \r
679 \r
680   Once this change is made in a given copy, it is irreversible for\r
681 that copy, so the ordinary GNU General Public License applies to all\r
682 subsequent copies and derivative works made from that copy.\r
683 \r
684   This option is useful when you wish to copy part of the code of\r
685 the Library into a program that is not a library.\r
686 \r
687   4. You may copy and distribute the Library (or a portion or\r
688 derivative of it, under Section 2) in object code or executable form\r
689 under the terms of Sections 1 and 2 above provided that you accompany\r
690 it with the complete corresponding machine-readable source code, which\r
691 must be distributed under the terms of Sections 1 and 2 above on a\r
692 medium customarily used for software interchange.\r
693 \r
694   If distribution of object code is made by offering access to copy\r
695 from a designated place, then offering equivalent access to copy the\r
696 source code from the same place satisfies the requirement to\r
697 distribute the source code, even though third parties are not\r
698 compelled to copy the source along with the object code.\r
699 \r
700   5. A program that contains no derivative of any portion of the\r
701 Library, but is designed to work with the Library by being compiled or\r
702 linked with it, is called a "work that uses the Library".  Such a\r
703 work, in isolation, is not a derivative work of the Library, and\r
704 therefore falls outside the scope of this License.\r
705 \r
706   However, linking a "work that uses the Library" with the Library\r
707 creates an executable that is a derivative of the Library (because it\r
708 contains portions of the Library), rather than a "work that uses the\r
709 library".  The executable is therefore covered by this License.\r
710 Section 6 states terms for distribution of such executables.\r
711 \r
712   When a "work that uses the Library" uses material from a header file\r
713 that is part of the Library, the object code for the work may be a\r
714 derivative work of the Library even though the source code is not.\r
715 Whether this is true is especially significant if the work can be\r
716 linked without the Library, or if the work is itself a library.  The\r
717 threshold for this to be true is not precisely defined by law.\r
718 \r
719   If such an object file uses only numerical parameters, data\r
720 structure layouts and accessors, and small macros and small inline\r
721 functions (ten lines or less in length), then the use of the object\r
722 file is unrestricted, regardless of whether it is legally a derivative\r
723 work.  (Executables containing this object code plus portions of the\r
724 Library will still fall under Section 6.)\r
725 \r
726   Otherwise, if the work is a derivative of the Library, you may\r
727 distribute the object code for the work under the terms of Section 6.\r
728 Any executables containing that work also fall under Section 6,\r
729 whether or not they are linked directly with the Library itself.\r
730 \r
731 \r
732   6. As an exception to the Sections above, you may also combine or\r
733 link a "work that uses the Library" with the Library to produce a\r
734 work containing portions of the Library, and distribute that work\r
735 under terms of your choice, provided that the terms permit\r
736 modification of the work for the customer's own use and reverse\r
737 engineering for debugging such modifications.\r
738 \r
739   You must give prominent notice with each copy of the work that the\r
740 Library is used in it and that the Library and its use are covered by\r
741 this License.  You must supply a copy of this License.  If the work\r
742 during execution displays copyright notices, you must include the\r
743 copyright notice for the Library among them, as well as a reference\r
744 directing the user to the copy of this License.  Also, you must do one\r
745 of these things:\r
746 \r
747     a) Accompany the work with the complete corresponding\r
748     machine-readable source code for the Library including whatever\r
749     changes were used in the work (which must be distributed under\r
750     Sections 1 and 2 above); and, if the work is an executable linked\r
751     with the Library, with the complete machine-readable "work that\r
752     uses the Library", as object code and/or source code, so that the\r
753     user can modify the Library and then relink to produce a modified\r
754     executable containing the modified Library.  (It is understood\r
755     that the user who changes the contents of definitions files in the\r
756     Library will not necessarily be able to recompile the application\r
757     to use the modified definitions.)\r
758 \r
759     b) Use a suitable shared library mechanism for linking with the\r
760     Library.  A suitable mechanism is one that (1) uses at run time a\r
761     copy of the library already present on the user's computer system,\r
762     rather than copying library functions into the executable, and (2)\r
763     will operate properly with a modified version of the library, if\r
764     the user installs one, as long as the modified version is\r
765     interface-compatible with the version that the work was made with.\r
766 \r
767     c) Accompany the work with a written offer, valid for at\r
768     least three years, to give the same user the materials\r
769     specified in Subsection 6a, above, for a charge no more\r
770     than the cost of performing this distribution.\r
771 \r
772     d) If distribution of the work is made by offering access to copy\r
773     from a designated place, offer equivalent access to copy the above\r
774     specified materials from the same place.\r
775 \r
776     e) Verify that the user has already received a copy of these\r
777     materials or that you have already sent this user a copy.\r
778 \r
779   For an executable, the required form of the "work that uses the\r
780 Library" must include any data and utility programs needed for\r
781 reproducing the executable from it.  However, as a special exception,\r
782 the materials to be distributed need not include anything that is\r
783 normally distributed (in either source or binary form) with the major\r
784 components (compiler, kernel, and so on) of the operating system on\r
785 which the executable runs, unless that component itself accompanies\r
786 the executable.\r
787 \r
788   It may happen that this requirement contradicts the license\r
789 restrictions of other proprietary libraries that do not normally\r
790 accompany the operating system.  Such a contradiction means you cannot\r
791 use both them and the Library together in an executable that you\r
792 distribute.\r
793 \r
794 \r
795   7. You may place library facilities that are a work based on the\r
796 Library side-by-side in a single library together with other library\r
797 facilities not covered by this License, and distribute such a combined\r
798 library, provided that the separate distribution of the work based on\r
799 the Library and of the other library facilities is otherwise\r
800 permitted, and provided that you do these two things:\r
801 \r
802     a) Accompany the combined library with a copy of the same work\r
803     based on the Library, uncombined with any other library\r
804     facilities.  This must be distributed under the terms of the\r
805     Sections above.\r
806 \r
807     b) Give prominent notice with the combined library of the fact\r
808     that part of it is a work based on the Library, and explaining\r
809     where to find the accompanying uncombined form of the same work.\r
810 \r
811   8. You may not copy, modify, sublicense, link with, or distribute\r
812 the Library except as expressly provided under this License.  Any\r
813 attempt otherwise to copy, modify, sublicense, link with, or\r
814 distribute the Library is void, and will automatically terminate your\r
815 rights under this License.  However, parties who have received copies,\r
816 or rights, from you under this License will not have their licenses\r
817 terminated so long as such parties remain in full compliance.\r
818 \r
819   9. You are not required to accept this License, since you have not\r
820 signed it.  However, nothing else grants you permission to modify or\r
821 distribute the Library or its derivative works.  These actions are\r
822 prohibited by law if you do not accept this License.  Therefore, by\r
823 modifying or distributing the Library (or any work based on the\r
824 Library), you indicate your acceptance of this License to do so, and\r
825 all its terms and conditions for copying, distributing or modifying\r
826 the Library or works based on it.\r
827 \r
828   10. Each time you redistribute the Library (or any work based on the\r
829 Library), the recipient automatically receives a license from the\r
830 original licensor to copy, distribute, link with or modify the Library\r
831 subject to these terms and conditions.  You may not impose any further\r
832 restrictions on the recipients' exercise of the rights granted herein.\r
833 You are not responsible for enforcing compliance by third parties with\r
834 this License.\r
835 \r
836 \r
837   11. If, as a consequence of a court judgment or allegation of patent\r
838 infringement or for any other reason (not limited to patent issues),\r
839 conditions are imposed on you (whether by court order, agreement or\r
840 otherwise) that contradict the conditions of this License, they do not\r
841 excuse you from the conditions of this License.  If you cannot\r
842 distribute so as to satisfy simultaneously your obligations under this\r
843 License and any other pertinent obligations, then as a consequence you\r
844 may not distribute the Library at all.  For example, if a patent\r
845 license would not permit royalty-free redistribution of the Library by\r
846 all those who receive copies directly or indirectly through you, then\r
847 the only way you could satisfy both it and this License would be to\r
848 refrain entirely from distribution of the Library.\r
849 \r
850 If any portion of this section is held invalid or unenforceable under any\r
851 particular circumstance, the balance of the section is intended to apply,\r
852 and the section as a whole is intended to apply in other circumstances.\r
853 \r
854 It is not the purpose of this section to induce you to infringe any\r
855 patents or other property right claims or to contest validity of any\r
856 such claims; this section has the sole purpose of protecting the\r
857 integrity of the free software distribution system which is\r
858 implemented by public license practices.  Many people have made\r
859 generous contributions to the wide range of software distributed\r
860 through that system in reliance on consistent application of that\r
861 system; it is up to the author/donor to decide if he or she is willing\r
862 to distribute software through any other system and a licensee cannot\r
863 impose that choice.\r
864 \r
865 This section is intended to make thoroughly clear what is believed to\r
866 be a consequence of the rest of this License.\r
867 \r
868   12. If the distribution and/or use of the Library is restricted in\r
869 certain countries either by patents or by copyrighted interfaces, the\r
870 original copyright holder who places the Library under this License may add\r
871 an explicit geographical distribution limitation excluding those countries,\r
872 so that distribution is permitted only in or among countries not thus\r
873 excluded.  In such case, this License incorporates the limitation as if\r
874 written in the body of this License.\r
875 \r
876   13. The Free Software Foundation may publish revised and/or new\r
877 versions of the Lesser General Public License from time to time.\r
878 Such new versions will be similar in spirit to the present version,\r
879 but may differ in detail to address new problems or concerns.\r
880 \r
881 Each version is given a distinguishing version number.  If the Library\r
882 specifies a version number of this License which applies to it and\r
883 "any later version", you have the option of following the terms and\r
884 conditions either of that version or of any later version published by\r
885 the Free Software Foundation.  If the Library does not specify a\r
886 license version number, you may choose any version ever published by\r
887 the Free Software Foundation.\r
888 \r
889 \r
890   14. If you wish to incorporate parts of the Library into other free\r
891 programs whose distribution conditions are incompatible with these,\r
892 write to the author to ask for permission.  For software which is\r
893 copyrighted by the Free Software Foundation, write to the Free\r
894 Software Foundation; we sometimes make exceptions for this.  Our\r
895 decision will be guided by the two goals of preserving the free status\r
896 of all derivatives of our free software and of promoting the sharing\r
897 and reuse of software generally.\r
898 \r
899                             NO WARRANTY\r
900 \r
901   15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\r
902 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\r
903 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\r
904 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY\r
905 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\r
906 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r
907 PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\r
908 LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\r
909 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\r
910 \r
911   16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\r
912 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\r
913 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\r
914 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\r
915 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\r
916 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\r
917 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\r
918 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\r
919 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\r
920 DAMAGES.\r
921 \r
922                      END OF TERMS AND CONDITIONS\r
923 \r
924 \r
925            How to Apply These Terms to Your New Libraries\r
926 \r
927   If you develop a new library, and you want it to be of the greatest\r
928 possible use to the public, we recommend making it free software that\r
929 everyone can redistribute and change.  You can do so by permitting\r
930 redistribution under these terms (or, alternatively, under the terms of the\r
931 ordinary General Public License).\r
932 \r
933   To apply these terms, attach the following notices to the library.  It is\r
934 safest to attach them to the start of each source file to most effectively\r
935 convey the exclusion of warranty; and each file should have at least the\r
936 "copyright" line and a pointer to where the full notice is found.\r
937 \r
938     <one line to give the library's name and a brief idea of what it does.>\r
939     Copyright (C) <year>  <name of author>\r
940 \r
941     This library is free software; you can redistribute it and/or\r
942     modify it under the terms of the GNU Lesser General Public\r
943     License as published by the Free Software Foundation; either\r
944     version 2.1 of the License, or (at your option) any later version.\r
945 \r
946     This library is distributed in the hope that it will be useful,\r
947     but WITHOUT ANY WARRANTY; without even the implied warranty of\r
948     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
949     Lesser General Public License for more details.\r
950 \r
951     You should have received a copy of the GNU Lesser General Public\r
952     License along with this library; if not, write to the Free Software\r
953     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\r
954 \r
955 Also add information on how to contact you by electronic and paper mail.\r
956 \r
957 You should also get your employer (if you work as a programmer) or your\r
958 school, if any, to sign a "copyright disclaimer" for the library, if\r
959 necessary.  Here is a sample; alter the names:\r
960 \r
961   Yoyodyne, Inc., hereby disclaims all copyright interest in the\r
962   library `Frob' (a library for tweaking knobs) written by James Random Hacker.\r
963 \r
964   <signature of Ty Coon>, 1 April 1990\r
965   Ty Coon, President of Vice\r
966 \r
967 That's all there is to it!\r
968 \r
969 -------------------------------------------------------------------------------\r
970 \r