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