Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / LICENSE
1
2 In general, the runtime and its class libraries are licensed under the
3 terms of the MIT license, and some third party code is licensed under
4 the 3-clause BSD license.  See the file "PATENTS.TXT" for Microsoft's
5 patent grant on the Mono codebase.
6
7 The Mono distribution does include a handful of pieces of code that
8 are used during the build system and are covered under different
9 licenses, those include:
10
11 Build Time Code
12 ===============
13
14 This is code that is used at build time, or during the maintenance of
15 Mono itself, and does not end up in the redistributable part of Mono:
16
17 * gettext
18
19   m4 source files used to probe features at build time: GPL
20
21 * Benchmark Source Files
22
23   Logic.cs and zipmark.cs are GPL source files.
24
25 * mono/docs/HtmlAgilityPack
26
27   MS-PL licensed
28
29 * mcs/jay: 4-clause BSD licensed
30
31 * mcs/nunit24: MS-PL
32
33 * mcs/class/I18N/mklist.sh, tools/cvt.sh: GNU GPLv2
34
35 Runtime Code
36 ============
37
38 The following code is linked with the final Mono runtime, the libmono
39 embeddable runtime:
40
41 * support/minizip: BSD license.
42
43 * mono/utils/memcheck.h: BSD license, used on debug builds that use Valgrind.
44
45 * mono/utils/freebsd-dwarf.h, freebsd-elf_common.h, freebsd-elf64.h freebsd-elf32.h: BSD license.
46
47 * mono/utils/bsearch.c: BSD license.
48
49 * mono/io-layer/wapi_glob.h, wapi_glob.c: BSD license
50
51 Class Library code
52 ==================
53
54 These are class libraries that can be loaded by your process:
55
56 * mcs/class/RabbitMQ.Client: dual licensed in Apache v2, and Mozilla Public License 1.1
57
58 * mcs/class/Compat.ICSharpCode.SharpZipLib and
59   mcs/class/ICSharpCode.SharpZipLib are GPL with class-path exception.
60   Originates with the SharpDevelop project.
61
62 * mcs/class/System.Core/System/TimeZoneInfo.Android.cs
63
64   This is a port of Apache 2.0-licensed Android code, and thus is
65   licensed under the Apache 2.0 license
66
67             http://www.apache.org/licenses/LICENSE-2.0
68
69 API Documentation
70 =================
71
72 The API documentation is licensed under the terms of the Creative
73 Commons Attribution 4.0 International Public License
74
75
76 The Licenses
77 ============
78
79         These are the licenses used in Mono, the files are located:
80
81 ### MIT X11 License
82
83 Permission is hereby granted, free of charge, to any person obtaining
84 a copy of this software and associated documentation files (the
85 "Software"), to deal in the Software without restriction, including
86 without limitation the rights to use, copy, modify, merge, publish,
87 distribute, sublicense, and/or sell copies of the Software, and to
88 permit persons to whom the Software is furnished to do so, subject to
89 the following conditions:
90
91 The above copyright notice and this permission notice shall be
92 included in all copies or substantial portions of the Software.
93
94 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
95 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
96 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
97 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
98 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
99 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
100 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
101
102
103 ### Mozilla.MPL
104
105                           MOZILLA PUBLIC LICENSE
106                                 Version 1.1
107
108                               ---------------
109
110 1. Definitions.
111
112      1.0.1. "Commercial Use" means distribution or otherwise making the
113      Covered Code available to a third party.
114
115      1.1. "Contributor" means each entity that creates or contributes to
116      the creation of Modifications.
117
118      1.2. "Contributor Version" means the combination of the Original
119      Code, prior Modifications used by a Contributor, and the Modifications
120      made by that particular Contributor.
121
122      1.3. "Covered Code" means the Original Code or Modifications or the
123      combination of the Original Code and Modifications, in each case
124      including portions thereof.
125
126      1.4. "Electronic Distribution Mechanism" means a mechanism generally
127      accepted in the software development community for the electronic
128      transfer of data.
129
130      1.5. "Executable" means Covered Code in any form other than Source
131      Code.
132
133      1.6. "Initial Developer" means the individual or entity identified
134      as the Initial Developer in the Source Code notice required by Exhibit
135      A.
136
137      1.7. "Larger Work" means a work which combines Covered Code or
138      portions thereof with code not governed by the terms of this License.
139
140      1.8. "License" means this document.
141
142      1.8.1. "Licensable" means having the right to grant, to the maximum
143      extent possible, whether at the time of the initial grant or
144      subsequently acquired, any and all of the rights conveyed herein.
145
146      1.9. "Modifications" means any addition to or deletion from the
147      substance or structure of either the Original Code or any previous
148      Modifications. When Covered Code is released as a series of files, a
149      Modification is:
150           A. Any addition to or deletion from the contents of a file
151           containing Original Code or previous Modifications.
152
153           B. Any new file that contains any part of the Original Code or
154           previous Modifications.
155
156      1.10. "Original Code" means Source Code of computer software code
157      which is described in the Source Code notice required by Exhibit A as
158      Original Code, and which, at the time of its release under this
159      License is not already Covered Code governed by this License.
160
161      1.10.1. "Patent Claims" means any patent claim(s), now owned or
162      hereafter acquired, including without limitation,  method, process,
163      and apparatus claims, in any patent Licensable by grantor.
164
165      1.11. "Source Code" means the preferred form of the Covered Code for
166      making modifications to it, including all modules it contains, plus
167      any associated interface definition files, scripts used to control
168      compilation and installation of an Executable, or source code
169      differential comparisons against either the Original Code or another
170      well known, available Covered Code of the Contributor's choice. The
171      Source Code can be in a compressed or archival form, provided the
172      appropriate decompression or de-archiving software is widely available
173      for no charge.
174
175      1.12. "You" (or "Your")  means an individual or a legal entity
176      exercising rights under, and complying with all of the terms of, this
177      License or a future version of this License issued under Section 6.1.
178      For legal entities, "You" includes any entity which controls, is
179      controlled by, or is under common control with You. For purposes of
180      this definition, "control" means (a) the power, direct or indirect,
181      to cause the direction or management of such entity, whether by
182      contract or otherwise, or (b) ownership of more than fifty percent
183      (50%) of the outstanding shares or beneficial ownership of such
184      entity.
185
186 2. Source Code License.
187
188      2.1. The Initial Developer Grant.
189      The Initial Developer hereby grants You a world-wide, royalty-free,
190      non-exclusive license, subject to third party intellectual property
191      claims:
192           (a)  under intellectual property rights (other than patent or
193           trademark) Licensable by Initial Developer to use, reproduce,
194           modify, display, perform, sublicense and distribute the Original
195           Code (or portions thereof) with or without Modifications, and/or
196           as part of a Larger Work; and
197
198           (b) under Patents Claims infringed by the making, using or
199           selling of Original Code, to make, have made, use, practice,
200           sell, and offer for sale, and/or otherwise dispose of the
201           Original Code (or portions thereof).
202
203           (c) the licenses granted in this Section 2.1(a) and (b) are
204           effective on the date Initial Developer first distributes
205           Original Code under the terms of this License.
206
207           (d) Notwithstanding Section 2.1(b) above, no patent license is
208           granted: 1) for code that You delete from the Original Code; 2)
209           separate from the Original Code;  or 3) for infringements caused
210           by: i) the modification of the Original Code or ii) the
211           combination of the Original Code with other software or devices.
212
213      2.2. Contributor Grant.
214      Subject to third party intellectual property claims, each Contributor
215      hereby grants You a world-wide, royalty-free, non-exclusive license
216
217           (a)  under intellectual property rights (other than patent or
218           trademark) Licensable by Contributor, to use, reproduce, modify,
219           display, perform, sublicense and distribute the Modifications
220           created by such Contributor (or portions thereof) either on an
221           unmodified basis, with other Modifications, as Covered Code
222           and/or as part of a Larger Work; and
223
224           (b) under Patent Claims infringed by the making, using, or
225           selling of  Modifications made by that Contributor either alone
226           and/or in combination with its Contributor Version (or portions
227           of such combination), to make, use, sell, offer for sale, have
228           made, and/or otherwise dispose of: 1) Modifications made by that
229           Contributor (or portions thereof); and 2) the combination of
230           Modifications made by that Contributor with its Contributor
231           Version (or portions of such combination).
232
233           (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
234           effective on the date Contributor first makes Commercial Use of
235           the Covered Code.
236
237           (d)    Notwithstanding Section 2.2(b) above, no patent license is
238           granted: 1) for any code that Contributor has deleted from the
239           Contributor Version; 2)  separate from the Contributor Version;
240           3)  for infringements caused by: i) third party modifications of
241           Contributor Version or ii)  the combination of Modifications made
242           by that Contributor with other software  (except as part of the
243           Contributor Version) or other devices; or 4) under Patent Claims
244           infringed by Covered Code in the absence of Modifications made by
245           that Contributor.
246
247 3. Distribution Obligations.
248
249      3.1. Application of License.
250      The Modifications which You create or to which You contribute are
251      governed by the terms of this License, including without limitation
252      Section 2.2. The Source Code version of Covered Code may be
253      distributed only under the terms of this License or a future version
254      of this License released under Section 6.1, and You must include a
255      copy of this License with every copy of the Source Code You
256      distribute. You may not offer or impose any terms on any Source Code
257      version that alters or restricts the applicable version of this
258      License or the recipients' rights hereunder. However, You may include
259      an additional document offering the additional rights described in
260      Section 3.5.
261
262      3.2. Availability of Source Code.
263      Any Modification which You create or to which You contribute must be
264      made available in Source Code form under the terms of this License
265      either on the same media as an Executable version or via an accepted
266      Electronic Distribution Mechanism to anyone to whom you made an
267      Executable version available; and if made available via Electronic
268      Distribution Mechanism, must remain available for at least twelve (12)
269      months after the date it initially became available, or at least six
270      (6) months after a subsequent version of that particular Modification
271      has been made available to such recipients. You are responsible for
272      ensuring that the Source Code version remains available even if the
273      Electronic Distribution Mechanism is maintained by a third party.
274
275      3.3. Description of Modifications.
276      You must cause all Covered Code to which You contribute to contain a
277      file documenting the changes You made to create that Covered Code and
278      the date of any change. You must include a prominent statement that
279      the Modification is derived, directly or indirectly, from Original
280      Code provided by the Initial Developer and including the name of the
281      Initial Developer in (a) the Source Code, and (b) in any notice in an
282      Executable version or related documentation in which You describe the
283      origin or ownership of the Covered Code.
284
285      3.4. Intellectual Property Matters
286           (a) Third Party Claims.
287           If Contributor has knowledge that a license under a third party's
288           intellectual property rights is required to exercise the rights
289           granted by such Contributor under Sections 2.1 or 2.2,
290           Contributor must include a text file with the Source Code
291           distribution titled "LEGAL" which describes the claim and the
292           party making the claim in sufficient detail that a recipient will
293           know whom to contact. If Contributor obtains such knowledge after
294           the Modification is made available as described in Section 3.2,
295           Contributor shall promptly modify the LEGAL file in all copies
296           Contributor makes available thereafter and shall take other steps
297           (such as notifying appropriate mailing lists or newsgroups)
298           reasonably calculated to inform those who received the Covered
299           Code that new knowledge has been obtained.
300
301           (b) Contributor APIs.
302           If Contributor's Modifications include an application programming
303           interface and Contributor has knowledge of patent licenses which
304           are reasonably necessary to implement that API, Contributor must
305           also include this information in the LEGAL file.
306
307                (c)    Representations.
308           Contributor represents that, except as disclosed pursuant to
309           Section 3.4(a) above, Contributor believes that Contributor's
310           Modifications are Contributor's original creation(s) and/or
311           Contributor has sufficient rights to grant the rights conveyed by
312           this License.
313
314      3.5. Required Notices.
315      You must duplicate the notice in Exhibit A in each file of the Source
316      Code.  If it is not possible to put such notice in a particular Source
317      Code file due to its structure, then You must include such notice in a
318      location (such as a relevant directory) where a user would be likely
319      to look for such a notice.  If You created one or more Modification(s)
320      You may add your name as a Contributor to the notice described in
321      Exhibit A.  You must also duplicate this License in any documentation
322      for the Source Code where You describe recipients' rights or ownership
323      rights relating to Covered Code.  You may choose to offer, and to
324      charge a fee for, warranty, support, indemnity or liability
325      obligations to one or more recipients of Covered Code. However, You
326      may do so only on Your own behalf, and not on behalf of the Initial
327      Developer or any Contributor. You must make it absolutely clear than
328      any such warranty, support, indemnity or liability obligation is
329      offered by You alone, and You hereby agree to indemnify the Initial
330      Developer and every Contributor for any liability incurred by the
331      Initial Developer or such Contributor as a result of warranty,
332      support, indemnity or liability terms You offer.
333
334      3.6. Distribution of Executable Versions.
335      You may distribute Covered Code in Executable form only if the
336      requirements of Section 3.1-3.5 have been met for that Covered Code,
337      and if You include a notice stating that the Source Code version of
338      the Covered Code is available under the terms of this License,
339      including a description of how and where You have fulfilled the
340      obligations of Section 3.2. The notice must be conspicuously included
341      in any notice in an Executable version, related documentation or
342      collateral in which You describe recipients' rights relating to the
343      Covered Code. You may distribute the Executable version of Covered
344      Code or ownership rights under a license of Your choice, which may
345      contain terms different from this License, provided that You are in
346      compliance with the terms of this License and that the license for the
347      Executable version does not attempt to limit or alter the recipient's
348      rights in the Source Code version from the rights set forth in this
349      License. If You distribute the Executable version under a different
350      license You must make it absolutely clear that any terms which differ
351      from this License are offered by You alone, not by the Initial
352      Developer or any Contributor. You hereby agree to indemnify the
353      Initial Developer and every Contributor for any liability incurred by
354      the Initial Developer or such Contributor as a result of any such
355      terms You offer.
356
357      3.7. Larger Works.
358      You may create a Larger Work by combining Covered Code with other code
359      not governed by the terms of this License and distribute the Larger
360      Work as a single product. In such a case, You must make sure the
361      requirements of this License are fulfilled for the Covered Code.
362
363 4. Inability to Comply Due to Statute or Regulation.
364
365      If it is impossible for You to comply with any of the terms of this
366      License with respect to some or all of the Covered Code due to
367      statute, judicial order, or regulation then You must: (a) comply with
368      the terms of this License to the maximum extent possible; and (b)
369      describe the limitations and the code they affect. Such description
370      must be included in the LEGAL file described in Section 3.4 and must
371      be included with all distributions of the Source Code. Except to the
372      extent prohibited by statute or regulation, such description must be
373      sufficiently detailed for a recipient of ordinary skill to be able to
374      understand it.
375
376 5. Application of this License.
377
378      This License applies to code to which the Initial Developer has
379      attached the notice in Exhibit A and to related Covered Code.
380
381 6. Versions of the License.
382
383      6.1. New Versions.
384      Netscape Communications Corporation ("Netscape") may publish revised
385      and/or new versions of the License from time to time. Each version
386      will be given a distinguishing version number.
387
388      6.2. Effect of New Versions.
389      Once Covered Code has been published under a particular version of the
390      License, You may always continue to use it under the terms of that
391      version. You may also choose to use such Covered Code under the terms
392      of any subsequent version of the License published by Netscape. No one
393      other than Netscape has the right to modify the terms applicable to
394      Covered Code created under this License.
395
396      6.3. Derivative Works.
397      If You create or use a modified version of this License (which you may
398      only do in order to apply it to code which is not already Covered Code
399      governed by this License), You must (a) rename Your license so that
400      the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
401      "MPL", "NPL" or any confusingly similar phrase do not appear in your
402      license (except to note that your license differs from this License)
403      and (b) otherwise make it clear that Your version of the license
404      contains terms which differ from the Mozilla Public License and
405      Netscape Public License. (Filling in the name of the Initial
406      Developer, Original Code or Contributor in the notice described in
407      Exhibit A shall not of themselves be deemed to be modifications of
408      this License.)
409
410 7. DISCLAIMER OF WARRANTY.
411
412      COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
413      WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
414      WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
415      DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
416      THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
417      IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
418      YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
419      COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
420      OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
421      ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
422
423 8. TERMINATION.
424
425      8.1.  This License and the rights granted hereunder will terminate
426      automatically if You fail to comply with terms herein and fail to cure
427      such breach within 30 days of becoming aware of the breach. All
428      sublicenses to the Covered Code which are properly granted shall
429      survive any termination of this License. Provisions which, by their
430      nature, must remain in effect beyond the termination of this License
431      shall survive.
432
433      8.2.  If You initiate litigation by asserting a patent infringement
434      claim (excluding declatory judgment actions) against Initial Developer
435      or a Contributor (the Initial Developer or Contributor against whom
436      You file such action is referred to as "Participant")  alleging that:
437
438      (a)  such Participant's Contributor Version directly or indirectly
439      infringes any patent, then any and all rights granted by such
440      Participant to You under Sections 2.1 and/or 2.2 of this License
441      shall, upon 60 days notice from Participant terminate prospectively,
442      unless if within 60 days after receipt of notice You either: (i)
443      agree in writing to pay Participant a mutually agreeable reasonable
444      royalty for Your past and future use of Modifications made by such
445      Participant, or (ii) withdraw Your litigation claim with respect to
446      the Contributor Version against such Participant.  If within 60 days
447      of notice, a reasonable royalty and payment arrangement are not
448      mutually agreed upon in writing by the parties or the litigation claim
449      is not withdrawn, the rights granted by Participant to You under
450      Sections 2.1 and/or 2.2 automatically terminate at the expiration of
451      the 60 day notice period specified above.
452
453      (b)  any software, hardware, or device, other than such Participant's
454      Contributor Version, directly or indirectly infringes any patent, then
455      any rights granted to You by such Participant under Sections 2.1(b)
456      and 2.2(b) are revoked effective as of the date You first made, used,
457      sold, distributed, or had made, Modifications made by that
458      Participant.
459
460      8.3.  If You assert a patent infringement claim against Participant
461      alleging that such Participant's Contributor Version directly or
462      indirectly infringes any patent where such claim is resolved (such as
463      by license or settlement) prior to the initiation of patent
464      infringement litigation, then the reasonable value of the licenses
465      granted by such Participant under Sections 2.1 or 2.2 shall be taken
466      into account in determining the amount or value of any payment or
467      license.
468
469      8.4.  In the event of termination under Sections 8.1 or 8.2 above,
470      all end user license agreements (excluding distributors and resellers)
471      which have been validly granted by You or any distributor hereunder
472      prior to termination shall survive termination.
473
474 9. LIMITATION OF LIABILITY.
475
476      UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
477      (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
478      DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
479      OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
480      ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
481      CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
482      WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
483      COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
484      INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
485      LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
486      RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
487      PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
488      EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
489      THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
490
491 10. U.S. GOVERNMENT END USERS.
492
493      The Covered Code is a "commercial item," as that term is defined in
494      48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
495      software" and "commercial computer software documentation," as such
496      terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
497      C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
498      all U.S. Government End Users acquire Covered Code with only those
499      rights set forth herein.
500
501 11. MISCELLANEOUS.
502
503      This License represents the complete agreement concerning subject
504      matter hereof. If any provision of this License is held to be
505      unenforceable, such provision shall be reformed only to the extent
506      necessary to make it enforceable. This License shall be governed by
507      California law provisions (except to the extent applicable law, if
508      any, provides otherwise), excluding its conflict-of-law provisions.
509      With respect to disputes in which at least one party is a citizen of,
510      or an entity chartered or registered to do business in the United
511      States of America, any litigation relating to this License shall be
512      subject to the jurisdiction of the Federal Courts of the Northern
513      District of California, with venue lying in Santa Clara County,
514      California, with the losing party responsible for costs, including
515      without limitation, court costs and reasonable attorneys' fees and
516      expenses. The application of the United Nations Convention on
517      Contracts for the International Sale of Goods is expressly excluded.
518      Any law or regulation which provides that the language of a contract
519      shall be construed against the drafter shall not apply to this
520      License.
521
522 12. RESPONSIBILITY FOR CLAIMS.
523
524      As between Initial Developer and the Contributors, each party is
525      responsible for claims and damages arising, directly or indirectly,
526      out of its utilization of rights under this License and You agree to
527      work with Initial Developer and Contributors to distribute such
528      responsibility on an equitable basis. Nothing herein is intended or
529      shall be deemed to constitute any admission of liability.
530
531 13. MULTIPLE-LICENSED CODE.
532
533      Initial Developer may designate portions of the Covered Code as
534      "Multiple-Licensed".  "Multiple-Licensed" means that the Initial
535      Developer permits you to utilize portions of the Covered Code under
536      Your choice of the NPL or the alternative licenses, if any, specified
537      by the Initial Developer in the file described in Exhibit A.
538
539 EXHIBIT A -Mozilla Public License.
540
541      ``The contents of this file are subject to the Mozilla Public License
542      Version 1.1 (the "License"); you may not use this file except in
543      compliance with the License. You may obtain a copy of the License at
544      http://www.mozilla.org/MPL/
545
546      Software distributed under the License is distributed on an "AS IS"
547      basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
548      License for the specific language governing rights and limitations
549      under the License.
550
551      The Original Code is ______________________________________.
552
553      The Initial Developer of the Original Code is ________________________.
554      Portions created by ______________________ are Copyright (C) ______
555      _______________________. All Rights Reserved.
556
557      Contributor(s): ______________________________________.
558
559      Alternatively, the contents of this file may be used under the terms
560      of the _____ license (the  "[___] License"), in which case the
561      provisions of [______] License are applicable instead of those
562      above.  If you wish to allow use of your version of this file only
563      under the terms of the [____] License and not to allow others to use
564      your version of this file under the MPL, indicate your decision by
565      deleting  the provisions above and replace  them with the notice and
566      other provisions required by the [___] License.  If you do not delete
567      the provisions above, a recipient may use your version of this file
568      under either the MPL or the [___] License."
569
570      [NOTE: The text of this Exhibit A may differ slightly from the text of
571      the notices in the Source Code files of the Original Code. You should
572      use the text of this Exhibit A rather than the text found in the
573      Original Code Source Code for Your Modifications.]
574
575 ### Microsoft Public License
576
577 Microsoft Permissive License (Ms-PL)
578  
579         This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software.
580  
581 1. Definitions
582
583         The terms \93reproduce,\94 \93reproduction,\94 \93derivative works,\94 and \93distribution\94 have the same meaning here as under U.S. copyright law.
584         A \93contribution\94 is the original software, or any additions or changes to the software.
585         A \93contributor\94 is any person that distributes its contribution under this license.
586          \93Licensed patents\94 are a contributor\92s patent claims that read directly on its contribution.
587  
588 2. Grant of Rights
589
590         (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create.
591         (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software.
592  
593 3. Conditions and Limitations
594
595         (A) No Trademark License- This license does not grant you rights to use any contributors\92 name, logo, or trademarks.
596         (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically.
597         (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software.
598         (D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license.
599         (E) The software is licensed \93as-is.\94 You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement.
600         (F) If you distribute the software or derivative works with programs you develop, you agree to indemnify, defend, and hold harmless all contributors from any claims, including attorneys\92 fees, related to the distribution or use of your programs.  For clarity, you have no such obligations to a contributor for any claims based solely on the unmodified contributions of that contributor.
601         (G) If you make any additions or changes to the original software, you may only distribute them under a new namespace.  In addition, you will clearly identify your changes or additions as your own.
602
603 ### Infozip BSD
604
605 This is version 2009-Jan-02 of the Info-ZIP license. The definitive
606 version of this document should be available at
607 ftp://ftp.info-zip.org/pub/infozip/license.html indefinitely and a
608 copy at http://www.info-zip.org/pub/infozip/license.html.
609
610 Copyright (c) 1990-2009 Info-ZIP. All rights reserved.
611
612 For the purposes of this copyright and license, "Info-ZIP" is defined
613 as the following set of individuals: Mark Adler, John Bush, Karl
614 Davis, Harald Denker, Jean-Michel Dubois, Jean-loup Gailly, Hunter
615 Goatley, Ed Gordon, Ian Gorman, Chris Herborth, Dirk Haase, Greg
616 Hartwig, Robert Heath, Jonathan Hudson, Paul Kienitz, David
617 Kirschbaum, Johnny Lee, Onno van der Linden, Igor Mandrichenko, Steve
618 P. Miller, Sergio Monesi, Keith Owens, George Petrov, Greg Roelofs,
619 Kai Uwe Rommel, Steve Salisbury, Dave Smith, Steven M. Schweda,
620 Christian Spieler, Cosmin Truta, Antoine Verheijen, Paul von Behren,
621 Rich Wales, Mike White.
622
623 This software is provided "as is," without warranty of any kind,
624 express or implied. In no event shall Info-ZIP or its contributors be
625 held liable for any direct, indirect, incidental, special or
626 consequential damages arising out of the use of or inability to use
627 this software.
628
629 Permission is granted to anyone to use this software for any purpose,
630 including commercial applications, and to alter it and redistribute it
631 freely, subject to the above disclaimer and the following
632 restrictions:
633
634 Redistributions of source code (in whole or in part) must retain the
635 above copyright notice, definition, disclaimer, and this list of
636 conditions.
637
638 Redistributions in binary form (compiled executables and libraries)
639 must reproduce the above copyright notice, definition, disclaimer, and
640 this list of conditions in documentation and/or other materials
641 provided with the distribution. Additional documentation is not needed
642 for executables where a command line license option provides these and
643 a note regarding this option is in the executable's startup
644 banner. The sole exception to this condition is redistribution of a
645 standard UnZipSFX binary (including SFXWiz) as part of a
646 self-extracting archive; that is permitted without inclusion of this
647 license, as long as the normal SFX banner has not been removed from
648 the binary or disabled.
649
650 Altered versions--including, but not limited to, ports to new
651 operating systems, existing ports with new graphical interfaces,
652 versions with modified or added functionality, and dynamic, shared, or
653 static library versions not from Info-ZIP--must be plainly marked as
654 such and must not be misrepresented as being the original source or,
655 if binaries, compiled from the original source. Such altered versions
656 also must not be misrepresented as being Info-ZIP releases--including,
657 but not limited to, labeling of the altered versions with the names
658 "Info-ZIP" (or any variation thereof, including, but not limited to,
659 different capitalizations), "Pocket UnZip," "WiZ" or "MacZip" without
660 the explicit permission of Info-ZIP. Such altered versions are further
661 prohibited from misrepresentative use of the Zip-Bugs or Info-ZIP
662 e-mail addresses or the Info-ZIP URL(s), such as to imply Info-ZIP
663 will provide support for the altered versions.
664
665 Info-ZIP retains the right to use the names "Info-ZIP," "Zip,"
666 "UnZip," "UnZipSFX," "WiZ," "Pocket UnZip," "Pocket Zip," and "MacZip"
667 for its own source and binary releases.
668
669 ### License Creative Commons 2.5
670
671 // Copyright 2006 James Newton-King
672 // http://www.newtonsoft.com
673 //
674 // This work is licensed under the Creative Commons Attribution 2.5 License
675 // http://creativecommons.org/licenses/by/2.5/
676 //
677 // You are free:
678 //    * to copy, distribute, display, and perform the work
679 //    * to make derivative works
680 //    * to make commercial use of the work
681 //
682 // Under the following conditions:
683 //    * For any reuse or distribution, you must make clear to others the license terms of this work.
684 //    * Any of these conditions can be waived if you get permission from the copyright holder.
685
686 From: james.newtonking@gmail.com [mailto:james.newtonking@gmail.com] On Behalf Of James Newton-King
687 Sent: Tuesday, June 05, 2007 6:36 AM
688 To: Konstantin Triger
689 Subject: Re: Support request by Konstantin Triger for Json.NET
690
691 Hey Kosta
692
693 I think it would be awesome to use Json.NET in Mono for System.Web.Extensions.
694
695 The CC license has the following clause: Any of the above conditions can be waived if you get permission from the copyright holder.
696
697 I can waive that statement for you and Mono. Would that be acceptable?
698
699
700 Regards,
701 James
702
703 ### Creative Commons Attribution 4.0 International Public License
704
705 Attribution 4.0 International
706
707 =======================================================================
708
709 Creative Commons Corporation ("Creative Commons") is not a law firm and
710 does not provide legal services or legal advice. Distribution of
711 Creative Commons public licenses does not create a lawyer-client or
712 other relationship. Creative Commons makes its licenses and related
713 information available on an "as-is" basis. Creative Commons gives no
714 warranties regarding its licenses, any material licensed under their
715 terms and conditions, or any related information. Creative Commons
716 disclaims all liability for damages resulting from their use to the
717 fullest extent possible.
718
719 Using Creative Commons Public Licenses
720
721 Creative Commons public licenses provide a standard set of terms and
722 conditions that creators and other rights holders may use to share
723 original works of authorship and other material subject to copyright
724 and certain other rights specified in the public license below. The
725 following considerations are for informational purposes only, are not
726 exhaustive, and do not form part of our licenses.
727
728      Considerations for licensors: Our public licenses are
729      intended for use by those authorized to give the public
730      permission to use material in ways otherwise restricted by
731      copyright and certain other rights. Our licenses are
732      irrevocable. Licensors should read and understand the terms
733      and conditions of the license they choose before applying it.
734      Licensors should also secure all rights necessary before
735      applying our licenses so that the public can reuse the
736      material as expected. Licensors should clearly mark any
737      material not subject to the license. This includes other CC-
738      licensed material, or material used under an exception or
739      limitation to copyright. More considerations for licensors:
740         wiki.creativecommons.org/Considerations_for_licensors
741
742      Considerations for the public: By using one of our public
743      licenses, a licensor grants the public permission to use the
744      licensed material under specified terms and conditions. If
745      the licensor's permission is not necessary for any reason--for
746      example, because of any applicable exception or limitation to
747      copyright--then that use is not regulated by the license. Our
748      licenses grant only permissions under copyright and certain
749      other rights that a licensor has authority to grant. Use of
750      the licensed material may still be restricted for other
751      reasons, including because others have copyright or other
752      rights in the material. A licensor may make special requests,
753      such as asking that all changes be marked or described.
754      Although not required by our licenses, you are encouraged to
755      respect those requests where reasonable. More_considerations
756      for the public: 
757         wiki.creativecommons.org/Considerations_for_licensees
758
759 =======================================================================
760
761 Creative Commons Attribution 4.0 International Public License
762
763 By exercising the Licensed Rights (defined below), You accept and agree
764 to be bound by the terms and conditions of this Creative Commons
765 Attribution 4.0 International Public License ("Public License"). To the
766 extent this Public License may be interpreted as a contract, You are
767 granted the Licensed Rights in consideration of Your acceptance of
768 these terms and conditions, and the Licensor grants You such rights in
769 consideration of benefits the Licensor receives from making the
770 Licensed Material available under these terms and conditions.
771
772
773 Section 1 -- Definitions.
774
775   a. Adapted Material means material subject to Copyright and Similar
776      Rights that is derived from or based upon the Licensed Material
777      and in which the Licensed Material is translated, altered,
778      arranged, transformed, or otherwise modified in a manner requiring
779      permission under the Copyright and Similar Rights held by the
780      Licensor. For purposes of this Public License, where the Licensed
781      Material is a musical work, performance, or sound recording,
782      Adapted Material is always produced where the Licensed Material is
783      synched in timed relation with a moving image.
784
785   b. Adapter's License means the license You apply to Your Copyright
786      and Similar Rights in Your contributions to Adapted Material in
787      accordance with the terms and conditions of this Public License.
788
789   c. Copyright and Similar Rights means copyright and/or similar rights
790      closely related to copyright including, without limitation,
791      performance, broadcast, sound recording, and Sui Generis Database
792      Rights, without regard to how the rights are labeled or
793      categorized. For purposes of this Public License, the rights
794      specified in Section 2(b)(1)-(2) are not Copyright and Similar
795      Rights.
796
797   d. Effective Technological Measures means those measures that, in the
798      absence of proper authority, may not be circumvented under laws
799      fulfilling obligations under Article 11 of the WIPO Copyright
800      Treaty adopted on December 20, 1996, and/or similar international
801      agreements.
802
803   e. Exceptions and Limitations means fair use, fair dealing, and/or
804      any other exception or limitation to Copyright and Similar Rights
805      that applies to Your use of the Licensed Material.
806
807   f. Licensed Material means the artistic or literary work, database,
808      or other material to which the Licensor applied this Public
809      License.
810
811   g. Licensed Rights means the rights granted to You subject to the
812      terms and conditions of this Public License, which are limited to
813      all Copyright and Similar Rights that apply to Your use of the
814      Licensed Material and that the Licensor has authority to license.
815
816   h. Licensor means the individual(s) or entity(ies) granting rights
817      under this Public License.
818
819   i. Share means to provide material to the public by any means or
820      process that requires permission under the Licensed Rights, such
821      as reproduction, public display, public performance, distribution,
822      dissemination, communication, or importation, and to make material
823      available to the public including in ways that members of the
824      public may access the material from a place and at a time
825      individually chosen by them.
826
827   j. Sui Generis Database Rights means rights other than copyright
828      resulting from Directive 96/9/EC of the European Parliament and of
829      the Council of 11 March 1996 on the legal protection of databases,
830      as amended and/or succeeded, as well as other essentially
831      equivalent rights anywhere in the world.
832
833   k. You means the individual or entity exercising the Licensed Rights
834      under this Public License. Your has a corresponding meaning.
835
836
837 Section 2 -- Scope.
838
839   a. License grant.
840
841        1. Subject to the terms and conditions of this Public License,
842           the Licensor hereby grants You a worldwide, royalty-free,
843           non-sublicensable, non-exclusive, irrevocable license to
844           exercise the Licensed Rights in the Licensed Material to:
845
846             a. reproduce and Share the Licensed Material, in whole or
847                in part; and
848
849             b. produce, reproduce, and Share Adapted Material.
850
851        2. Exceptions and Limitations. For the avoidance of doubt, where
852           Exceptions and Limitations apply to Your use, this Public
853           License does not apply, and You do not need to comply with
854           its terms and conditions.
855
856        3. Term. The term of this Public License is specified in Section
857           6(a).
858
859        4. Media and formats; technical modifications allowed. The
860           Licensor authorizes You to exercise the Licensed Rights in
861           all media and formats whether now known or hereafter created,
862           and to make technical modifications necessary to do so. The
863           Licensor waives and/or agrees not to assert any right or
864           authority to forbid You from making technical modifications
865           necessary to exercise the Licensed Rights, including
866           technical modifications necessary to circumvent Effective
867           Technological Measures. For purposes of this Public License,
868           simply making modifications authorized by this Section 2(a)
869           (4) never produces Adapted Material.
870
871        5. Downstream recipients.
872
873             a. Offer from the Licensor -- Licensed Material. Every
874                recipient of the Licensed Material automatically
875                receives an offer from the Licensor to exercise the
876                Licensed Rights under the terms and conditions of this
877                Public License.
878
879             b. No downstream restrictions. You may not offer or impose
880                any additional or different terms or conditions on, or
881                apply any Effective Technological Measures to, the
882                Licensed Material if doing so restricts exercise of the
883                Licensed Rights by any recipient of the Licensed
884                Material.
885
886        6. No endorsement. Nothing in this Public License constitutes or
887           may be construed as permission to assert or imply that You
888           are, or that Your use of the Licensed Material is, connected
889           with, or sponsored, endorsed, or granted official status by,
890           the Licensor or others designated to receive attribution as
891           provided in Section 3(a)(1)(A)(i).
892
893   b. Other rights.
894
895        1. Moral rights, such as the right of integrity, are not
896           licensed under this Public License, nor are publicity,
897           privacy, and/or other similar personality rights; however, to
898           the extent possible, the Licensor waives and/or agrees not to
899           assert any such rights held by the Licensor to the limited
900           extent necessary to allow You to exercise the Licensed
901           Rights, but not otherwise.
902
903        2. Patent and trademark rights are not licensed under this
904           Public License.
905
906        3. To the extent possible, the Licensor waives any right to
907           collect royalties from You for the exercise of the Licensed
908           Rights, whether directly or through a collecting society
909           under any voluntary or waivable statutory or compulsory
910           licensing scheme. In all other cases the Licensor expressly
911           reserves any right to collect such royalties.
912
913
914 Section 3 -- License Conditions.
915
916 Your exercise of the Licensed Rights is expressly made subject to the
917 following conditions.
918
919   a. Attribution.
920
921        1. If You Share the Licensed Material (including in modified
922           form), You must:
923
924             a. retain the following if it is supplied by the Licensor
925                with the Licensed Material:
926
927                  i. identification of the creator(s) of the Licensed
928                     Material and any others designated to receive
929                     attribution, in any reasonable manner requested by
930                     the Licensor (including by pseudonym if
931                     designated);
932
933                 ii. a copyright notice;
934
935                iii. a notice that refers to this Public License;
936
937                 iv. a notice that refers to the disclaimer of
938                     warranties;
939
940                  v. a URI or hyperlink to the Licensed Material to the
941                     extent reasonably practicable;
942
943             b. indicate if You modified the Licensed Material and
944                retain an indication of any previous modifications; and
945
946             c. indicate the Licensed Material is licensed under this
947                Public License, and include the text of, or the URI or
948                hyperlink to, this Public License.
949
950        2. You may satisfy the conditions in Section 3(a)(1) in any
951           reasonable manner based on the medium, means, and context in
952           which You Share the Licensed Material. For example, it may be
953           reasonable to satisfy the conditions by providing a URI or
954           hyperlink to a resource that includes the required
955           information.
956
957        3. If requested by the Licensor, You must remove any of the
958           information required by Section 3(a)(1)(A) to the extent
959           reasonably practicable.
960
961        4. If You Share Adapted Material You produce, the Adapter's
962           License You apply must not prevent recipients of the Adapted
963           Material from complying with this Public License.
964
965
966 Section 4 -- Sui Generis Database Rights.
967
968 Where the Licensed Rights include Sui Generis Database Rights that
969 apply to Your use of the Licensed Material:
970
971   a. for the avoidance of doubt, Section 2(a)(1) grants You the right
972      to extract, reuse, reproduce, and Share all or a substantial
973      portion of the contents of the database;
974
975   b. if You include all or a substantial portion of the database
976      contents in a database in which You have Sui Generis Database
977      Rights, then the database in which You have Sui Generis Database
978      Rights (but not its individual contents) is Adapted Material; and
979
980   c. You must comply with the conditions in Section 3(a) if You Share
981      all or a substantial portion of the contents of the database.
982
983 For the avoidance of doubt, this Section 4 supplements and does not
984 replace Your obligations under this Public License where the Licensed
985 Rights include other Copyright and Similar Rights.
986
987
988 Section 5 -- Disclaimer of Warranties and Limitation of Liability.
989
990   a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
991      EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
992      AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
993      ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
994      IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
995      WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
996      PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
997      ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
998      KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
999      ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
1000
1001   b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
1002      TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
1003      NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
1004      INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
1005      COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
1006      USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
1007      ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
1008      DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
1009      IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
1010
1011   c. The disclaimer of warranties and limitation of liability provided
1012      above shall be interpreted in a manner that, to the extent
1013      possible, most closely approximates an absolute disclaimer and
1014      waiver of all liability.
1015
1016
1017 Section 6 -- Term and Termination.
1018
1019   a. This Public License applies for the term of the Copyright and
1020      Similar Rights licensed here. However, if You fail to comply with
1021      this Public License, then Your rights under this Public License
1022      terminate automatically.
1023
1024   b. Where Your right to use the Licensed Material has terminated under
1025      Section 6(a), it reinstates:
1026
1027        1. automatically as of the date the violation is cured, provided
1028           it is cured within 30 days of Your discovery of the
1029           violation; or
1030
1031        2. upon express reinstatement by the Licensor.
1032
1033      For the avoidance of doubt, this Section 6(b) does not affect any
1034      right the Licensor may have to seek remedies for Your violations
1035      of this Public License.
1036
1037   c. For the avoidance of doubt, the Licensor may also offer the
1038      Licensed Material under separate terms or conditions or stop
1039      distributing the Licensed Material at any time; however, doing so
1040      will not terminate this Public License.
1041
1042   d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
1043      License.
1044
1045
1046 Section 7 -- Other Terms and Conditions.
1047
1048   a. The Licensor shall not be bound by any additional or different
1049      terms or conditions communicated by You unless expressly agreed.
1050
1051   b. Any arrangements, understandings, or agreements regarding the
1052      Licensed Material not stated herein are separate from and
1053      independent of the terms and conditions of this Public License.
1054
1055
1056 Section 8 -- Interpretation.
1057
1058   a. For the avoidance of doubt, this Public License does not, and
1059      shall not be interpreted to, reduce, limit, restrict, or impose
1060      conditions on any use of the Licensed Material that could lawfully
1061      be made without permission under this Public License.
1062
1063   b. To the extent possible, if any provision of this Public License is
1064      deemed unenforceable, it shall be automatically reformed to the
1065      minimum extent necessary to make it enforceable. If the provision
1066      cannot be reformed, it shall be severed from this Public License
1067      without affecting the enforceability of the remaining terms and
1068      conditions.
1069
1070   c. No term or condition of this Public License will be waived and no
1071      failure to comply consented to unless expressly agreed to by the
1072      Licensor.
1073
1074   d. Nothing in this Public License constitutes or may be interpreted
1075      as a limitation upon, or waiver of, any privileges and immunities
1076      that apply to the Licensor or You, including from the legal
1077      processes of any jurisdiction or authority.
1078
1079
1080 =======================================================================
1081
1082 Creative Commons is not a party to its public
1083 licenses. Notwithstanding, Creative Commons may elect to apply one of
1084 its public licenses to material it publishes and in those instances
1085 will be considered the “Licensor.” The text of the Creative Commons
1086 public licenses is dedicated to the public domain under the CC0 Public
1087 Domain Dedication. Except for the limited purpose of indicating that
1088 material is shared under a Creative Commons public license or as
1089 otherwise permitted by the Creative Commons policies published at
1090 creativecommons.org/policies, Creative Commons does not authorize the
1091 use of the trademark "Creative Commons" or any other trademark or logo
1092 of Creative Commons without its prior written consent including,
1093 without limitation, in connection with any unauthorized modifications
1094 to any of its public licenses or any other arrangements,
1095 understandings, or agreements concerning use of licensed material. For
1096 the avoidance of doubt, this paragraph does not form part of the
1097 public licenses.
1098
1099 Creative Commons may be contacted at creativecommons.org.
1100
1101 ### GPL version 2
1102
1103                     GNU GENERAL PUBLIC LICENSE
1104                        Version 2, June 1991
1105
1106  Copyright (C) 1989, 1991 Free Software Foundation, Inc.
1107      59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
1108  Everyone is permitted to copy and distribute verbatim copies
1109  of this license document, but changing it is not allowed.
1110
1111                             Preamble
1112
1113   The licenses for most software are designed to take away your
1114 freedom to share and change it.  By contrast, the GNU General Public
1115 License is intended to guarantee your freedom to share and change free
1116 software--to make sure the software is free for all its users.  This
1117 General Public License applies to most of the Free Software
1118 Foundation's software and to any other program whose authors commit to
1119 using it.  (Some other Free Software Foundation software is covered by
1120 the GNU Library General Public License instead.)  You can apply it to
1121 your programs, too.
1122
1123   When we speak of free software, we are referring to freedom, not
1124 price.  Our General Public Licenses are designed to make sure that you
1125 have the freedom to distribute copies of free software (and charge for
1126 this service if you wish), that you receive source code or can get it
1127 if you want it, that you can change the software or use pieces of it
1128 in new free programs; and that you know you can do these things.
1129
1130   To protect your rights, we need to make restrictions that forbid
1131 anyone to deny you these rights or to ask you to surrender the rights.
1132 These restrictions translate to certain responsibilities for you if you
1133 distribute copies of the software, or if you modify it.
1134
1135   For example, if you distribute copies of such a program, whether
1136 gratis or for a fee, you must give the recipients all the rights that
1137 you have.  You must make sure that they, too, receive or can get the
1138 source code.  And you must show them these terms so they know their
1139 rights.
1140
1141   We protect your rights with two steps: (1) copyright the software, and
1142 (2) offer you this license which gives you legal permission to copy,
1143 distribute and/or modify the software.
1144
1145   Also, for each author's protection and ours, we want to make certain
1146 that everyone understands that there is no warranty for this free
1147 software.  If the software is modified by someone else and passed on, we
1148 want its recipients to know that what they have is not the original, so
1149 that any problems introduced by others will not reflect on the original
1150 authors' reputations.
1151
1152   Finally, any free program is threatened constantly by software
1153 patents.  We wish to avoid the danger that redistributors of a free
1154 program will individually obtain patent licenses, in effect making the
1155 program proprietary.  To prevent this, we have made it clear that any
1156 patent must be licensed for everyone's free use or not licensed at all.
1157
1158   The precise terms and conditions for copying, distribution and
1159 modification follow.
1160 \f
1161                     GNU GENERAL PUBLIC LICENSE
1162    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1163
1164   0. This License applies to any program or other work which contains
1165 a notice placed by the copyright holder saying it may be distributed
1166 under the terms of this General Public License.  The "Program", below,
1167 refers to any such program or work, and a "work based on the Program"
1168 means either the Program or any derivative work under copyright law:
1169 that is to say, a work containing the Program or a portion of it,
1170 either verbatim or with modifications and/or translated into another
1171 language.  (Hereinafter, translation is included without limitation in
1172 the term "modification".)  Each licensee is addressed as "you".
1173
1174 Activities other than copying, distribution and modification are not
1175 covered by this License; they are outside its scope.  The act of
1176 running the Program is not restricted, and the output from the Program
1177 is covered only if its contents constitute a work based on the
1178 Program (independent of having been made by running the Program).
1179 Whether that is true depends on what the Program does.
1180
1181   1. You may copy and distribute verbatim copies of the Program's
1182 source code as you receive it, in any medium, provided that you
1183 conspicuously and appropriately publish on each copy an appropriate
1184 copyright notice and disclaimer of warranty; keep intact all the
1185 notices that refer to this License and to the absence of any warranty;
1186 and give any other recipients of the Program a copy of this License
1187 along with the Program.
1188
1189 You may charge a fee for the physical act of transferring a copy, and
1190 you may at your option offer warranty protection in exchange for a fee.
1191
1192   2. You may modify your copy or copies of the Program or any portion
1193 of it, thus forming a work based on the Program, and copy and
1194 distribute such modifications or work under the terms of Section 1
1195 above, provided that you also meet all of these conditions:
1196
1197     a) You must cause the modified files to carry prominent notices
1198     stating that you changed the files and the date of any change.
1199
1200     b) You must cause any work that you distribute or publish, that in
1201     whole or in part contains or is derived from the Program or any
1202     part thereof, to be licensed as a whole at no charge to all third
1203     parties under the terms of this License.
1204
1205     c) If the modified program normally reads commands interactively
1206     when run, you must cause it, when started running for such
1207     interactive use in the most ordinary way, to print or display an
1208     announcement including an appropriate copyright notice and a
1209     notice that there is no warranty (or else, saying that you provide
1210     a warranty) and that users may redistribute the program under
1211     these conditions, and telling the user how to view a copy of this
1212     License.  (Exception: if the Program itself is interactive but
1213     does not normally print such an announcement, your work based on
1214     the Program is not required to print an announcement.)
1215 \f
1216 These requirements apply to the modified work as a whole.  If
1217 identifiable sections of that work are not derived from the Program,
1218 and can be reasonably considered independent and separate works in
1219 themselves, then this License, and its terms, do not apply to those
1220 sections when you distribute them as separate works.  But when you
1221 distribute the same sections as part of a whole which is a work based
1222 on the Program, the distribution of the whole must be on the terms of
1223 this License, whose permissions for other licensees extend to the
1224 entire whole, and thus to each and every part regardless of who wrote it.
1225
1226 Thus, it is not the intent of this section to claim rights or contest
1227 your rights to work written entirely by you; rather, the intent is to
1228 exercise the right to control the distribution of derivative or
1229 collective works based on the Program.
1230
1231 In addition, mere aggregation of another work not based on the Program
1232 with the Program (or with a work based on the Program) on a volume of
1233 a storage or distribution medium does not bring the other work under
1234 the scope of this License.
1235
1236   3. You may copy and distribute the Program (or a work based on it,
1237 under Section 2) in object code or executable form under the terms of
1238 Sections 1 and 2 above provided that you also do one of the following:
1239
1240     a) Accompany it with the complete corresponding machine-readable
1241     source code, which must be distributed under the terms of Sections
1242     1 and 2 above on a medium customarily used for software interchange; or,
1243
1244     b) Accompany it with a written offer, valid for at least three
1245     years, to give any third party, for a charge no more than your
1246     cost of physically performing source distribution, a complete
1247     machine-readable copy of the corresponding source code, to be
1248     distributed under the terms of Sections 1 and 2 above on a medium
1249     customarily used for software interchange; or,
1250
1251     c) Accompany it with the information you received as to the offer
1252     to distribute corresponding source code.  (This alternative is
1253     allowed only for noncommercial distribution and only if you
1254     received the program in object code or executable form with such
1255     an offer, in accord with Subsection b above.)
1256
1257 The source code for a work means the preferred form of the work for
1258 making modifications to it.  For an executable work, complete source
1259 code means all the source code for all modules it contains, plus any
1260 associated interface definition files, plus the scripts used to
1261 control compilation and installation of the executable.  However, as a
1262 special exception, the source code distributed need not include
1263 anything that is normally distributed (in either source or binary
1264 form) with the major components (compiler, kernel, and so on) of the
1265 operating system on which the executable runs, unless that component
1266 itself accompanies the executable.
1267
1268 If distribution of executable or object code is made by offering
1269 access to copy from a designated place, then offering equivalent
1270 access to copy the source code from the same place counts as
1271 distribution of the source code, even though third parties are not
1272 compelled to copy the source along with the object code.
1273 \f
1274   4. You may not copy, modify, sublicense, or distribute the Program
1275 except as expressly provided under this License.  Any attempt
1276 otherwise to copy, modify, sublicense or distribute the Program is
1277 void, and will automatically terminate your rights under this License.
1278 However, parties who have received copies, or rights, from you under
1279 this License will not have their licenses terminated so long as such
1280 parties remain in full compliance.
1281
1282   5. You are not required to accept this License, since you have not
1283 signed it.  However, nothing else grants you permission to modify or
1284 distribute the Program or its derivative works.  These actions are
1285 prohibited by law if you do not accept this License.  Therefore, by
1286 modifying or distributing the Program (or any work based on the
1287 Program), you indicate your acceptance of this License to do so, and
1288 all its terms and conditions for copying, distributing or modifying
1289 the Program or works based on it.
1290
1291   6. Each time you redistribute the Program (or any work based on the
1292 Program), the recipient automatically receives a license from the
1293 original licensor to copy, distribute or modify the Program subject to
1294 these terms and conditions.  You may not impose any further
1295 restrictions on the recipients' exercise of the rights granted herein.
1296 You are not responsible for enforcing compliance by third parties to
1297 this License.
1298
1299   7. If, as a consequence of a court judgment or allegation of patent
1300 infringement or for any other reason (not limited to patent issues),
1301 conditions are imposed on you (whether by court order, agreement or
1302 otherwise) that contradict the conditions of this License, they do not
1303 excuse you from the conditions of this License.  If you cannot
1304 distribute so as to satisfy simultaneously your obligations under this
1305 License and any other pertinent obligations, then as a consequence you
1306 may not distribute the Program at all.  For example, if a patent
1307 license would not permit royalty-free redistribution of the Program by
1308 all those who receive copies directly or indirectly through you, then
1309 the only way you could satisfy both it and this License would be to
1310 refrain entirely from distribution of the Program.
1311
1312 If any portion of this section is held invalid or unenforceable under
1313 any particular circumstance, the balance of the section is intended to
1314 apply and the section as a whole is intended to apply in other
1315 circumstances.
1316
1317 It is not the purpose of this section to induce you to infringe any
1318 patents or other property right claims or to contest validity of any
1319 such claims; this section has the sole purpose of protecting the
1320 integrity of the free software distribution system, which is
1321 implemented by public license practices.  Many people have made
1322 generous contributions to the wide range of software distributed
1323 through that system in reliance on consistent application of that
1324 system; it is up to the author/donor to decide if he or she is willing
1325 to distribute software through any other system and a licensee cannot
1326 impose that choice.
1327
1328 This section is intended to make thoroughly clear what is believed to
1329 be a consequence of the rest of this License.
1330 \f
1331   8. If the distribution and/or use of the Program is restricted in
1332 certain countries either by patents or by copyrighted interfaces, the
1333 original copyright holder who places the Program under this License
1334 may add an explicit geographical distribution limitation excluding
1335 those countries, so that distribution is permitted only in or among
1336 countries not thus excluded.  In such case, this License incorporates
1337 the limitation as if written in the body of this License.
1338
1339   9. The Free Software Foundation may publish revised and/or new versions
1340 of the General Public License from time to time.  Such new versions will
1341 be similar in spirit to the present version, but may differ in detail to
1342 address new problems or concerns.
1343
1344 Each version is given a distinguishing version number.  If the Program
1345 specifies a version number of this License which applies to it and "any
1346 later version", you have the option of following the terms and conditions
1347 either of that version or of any later version published by the Free
1348 Software Foundation.  If the Program does not specify a version number of
1349 this License, you may choose any version ever published by the Free Software
1350 Foundation.
1351
1352   10. If you wish to incorporate parts of the Program into other free
1353 programs whose distribution conditions are different, write to the author
1354 to ask for permission.  For software which is copyrighted by the Free
1355 Software Foundation, write to the Free Software Foundation; we sometimes
1356 make exceptions for this.  Our decision will be guided by the two goals
1357 of preserving the free status of all derivatives of our free software and
1358 of promoting the sharing and reuse of software generally.
1359
1360                             NO WARRANTY
1361
1362   11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
1363 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
1364 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
1365 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
1366 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1367 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
1368 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
1369 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
1370 REPAIR OR CORRECTION.
1371
1372   12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
1373 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
1374 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
1375 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
1376 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
1377 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
1378 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
1379 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
1380 POSSIBILITY OF SUCH DAMAGES.
1381
1382                      END OF TERMS AND CONDITIONS
1383 \f
1384             How to Apply These Terms to Your New Programs
1385
1386   If you develop a new program, and you want it to be of the greatest
1387 possible use to the public, the best way to achieve this is to make it
1388 free software which everyone can redistribute and change under these terms.
1389
1390   To do so, attach the following notices to the program.  It is safest
1391 to attach them to the start of each source file to most effectively
1392 convey the exclusion of warranty; and each file should have at least
1393 the "copyright" line and a pointer to where the full notice is found.
1394
1395     <one line to give the program's name and a brief idea of what it does.>
1396     Copyright (C) <year>  <name of author>
1397
1398     This program is free software; you can redistribute it and/or modify
1399     it under the terms of the GNU General Public License as published by
1400     the Free Software Foundation; either version 2 of the License, or
1401     (at your option) any later version.
1402
1403     This program is distributed in the hope that it will be useful,
1404     but WITHOUT ANY WARRANTY; without even the implied warranty of
1405     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1406     GNU General Public License for more details.
1407
1408     You should have received a copy of the GNU General Public License
1409     along with this program; if not, write to the Free Software
1410     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
1411
1412
1413 Also add information on how to contact you by electronic and paper mail.
1414
1415 If the program is interactive, make it output a short notice like this
1416 when it starts in an interactive mode:
1417
1418     Gnomovision version 69, Copyright (C) year  name of author
1419     Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
1420     This is free software, and you are welcome to redistribute it
1421     under certain conditions; type `show c' for details.
1422
1423 The hypothetical commands `show w' and `show c' should show the appropriate
1424 parts of the General Public License.  Of course, the commands you use may
1425 be called something other than `show w' and `show c'; they could even be
1426 mouse-clicks or menu items--whatever suits your program.
1427
1428 You should also get your employer (if you work as a programmer) or your
1429 school, if any, to sign a "copyright disclaimer" for the program, if
1430 necessary.  Here is a sample; alter the names:
1431
1432   Yoyodyne, Inc., hereby disclaims all copyright interest in the program
1433   `Gnomovision' (which makes passes at compilers) written by James Hacker.
1434
1435   <signature of Ty Coon>, 1 April 1989
1436   Ty Coon, President of Vice
1437
1438 This General Public License does not permit incorporating your program into
1439 proprietary programs.  If your program is a subroutine library, you may
1440 consider it more useful to permit linking proprietary applications with the
1441 library.  If this is what you want to do, use the GNU Library General
1442 Public License instead of this License.