1c778db4a69bc9b310b24eca3a3405ad9453a91f
[ghc-hetmet.git] / distrib / MacOS / installer-docs / license.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> <head>
3 <title>The Glasgow Haskell Compilation System License</title>
4 </head>
5
6 <body>
7 <h1>The Glasgow Haskell Compilation System License</h1>
8 <p>
9 The Glasgow Haskell Compilation System (GHC) is a bundle of software
10 components covered by three different licenses as detailed below.
11 </p>
12 <ul>
13   <li><a href="#compiler">Compiler, runtime system, supporting infrastructure,
14   and almost all libraries</a> (BSD3)</li>
15   <li><a href="#gmp">GNU MP Bignum Library, aka GMP</a> (LGPL)</li>
16   <li><a href="#readline">GNU Readline Library and System.Console.Readline</a>
17   (GPL)</li>
18 </ul>
19 <p>
20 Note that by default the GMP will be statically linked into any binary
21 produced by GHC.  Software with a non-GPL compatible license will have to
22 ensure that the conditions of the LGPL are met; for example, by forcing GMP to
23 link dynamically instead.
24 </p>
25
26 <hr>
27
28 <a name="compiler">
29 <h2>Compiler, runtime system, supporting infrastructure, and almost all
30   libraries</h2>
31 </a>
32 <p>
33 Copyright [2002..2008], The University Court of the University of Glasgow and
34 others. All rights reserved.
35 </p>
36 <p>
37 Redistribution and use in source and binary forms, with or without
38 modification, are permitted provided that the following conditions are met:
39 </p>
40 <ul>
41   <li>Redistributions of source code must retain the above copyright notice,
42   this list of conditions and the following disclaimer.</li>
43   <li>Redistributions in binary form must reproduce the above copyright
44   notice, this list of conditions and the following disclaimer in the
45   documentation and/or other materials provided with the distribution.</li>
46  <li>Neither name of the University nor the names of its contributors may be
47   used to endorse or promote products derived from this software without
48   specific prior written permission.</li>
49 </ul>
50 <p>
51 THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY COURT OF THE UNIVERSITY OF
52 GLASGOW AND THE CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
53 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
54 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
55 UNIVERSITY COURT OF THE UNIVERSITY OF GLASGOW OR THE CONTRIBUTORS BE LIABLE
56 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
57 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
58 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
59 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
60 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
61 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
62 DAMAGE.
63 </p>
64
65 <hr>
66
67 <a name="gmp">
68 <h2>GNU MP Bignum Library</h2>
69 </a>
70
71 <h3>GNU LESSER GENERAL PUBLIC LICENSE</h3>
72 <p>Version 3, 29 June 2007</p>
73
74 <p>Copyright (C) 2007 Free Software Foundation, Inc. &lt;http://fsf.org/&gt;</p><p>
75  Everyone is permitted to copy and distribute verbatim copies
76  of this license document, but changing it is not allowed.</p>
77
78 <p>This version of the GNU Lesser General Public License incorporates
79 the terms and conditions of version 3 of the GNU General Public
80 License, supplemented by the additional permissions listed below.</p>
81
82 <h4><a name="section0"></a>0. Additional Definitions.</h4>
83
84 <p>As used herein, &ldquo;this License&rdquo; refers to version 3 of the GNU Lesser
85 General Public License, and the &ldquo;GNU GPL&rdquo; refers to version 3 of the GNU
86 General Public License.</p>
87
88 <p>&ldquo;The Library&rdquo; refers to a covered work governed by this License,
89 other than an Application or a Combined Work as defined below.</p>
90
91 <p>An &ldquo;Application&rdquo; is any work that makes use of an interface provided
92 by the Library, but which is not otherwise based on the Library.
93 Defining a subclass of a class defined by the Library is deemed a mode
94 of using an interface provided by the Library.</p>
95
96 <p>A &ldquo;Combined Work&rdquo; is a work produced by combining or linking an
97 Application with the Library.  The particular version of the Library
98 with which the Combined Work was made is also called the &ldquo;Linked
99 Version&rdquo;.</p>
100
101 <p>The &ldquo;Minimal Corresponding Source&rdquo; for a Combined Work means the
102 Corresponding Source for the Combined Work, excluding any source code
103 for portions of the Combined Work that, considered in isolation, are
104 based on the Application, and not on the Linked Version.</p>
105
106 <p>The &ldquo;Corresponding Application Code&rdquo; for a Combined Work means the
107 object code and/or source code for the Application, including any data
108 and utility programs needed for reproducing the Combined Work from the
109 Application, but excluding the System Libraries of the Combined Work.</p>
110
111 <h4><a name="section1"></a>1. Exception to Section 3 of the GNU GPL.</h4>
112
113 <p>You may convey a covered work under sections 3 and 4 of this License
114 without being bound by section 3 of the GNU GPL.</p>
115
116 <h4><a name="section2"></a>2. Conveying Modified Versions.</h4>
117
118 <p>If you modify a copy of the Library, and, in your modifications, a
119 facility refers to a function or data to be supplied by an Application
120 that uses the facility (other than as an argument passed when the
121 facility is invoked), then you may convey a copy of the modified
122 version:</p>
123
124 <ul>
125 <li>a) under this License, provided that you make a good faith effort to
126    ensure that, in the event an Application does not supply the
127    function or data, the facility still operates, and performs
128    whatever part of its purpose remains meaningful, or</li>
129
130 <li>b) under the GNU GPL, with none of the additional permissions of
131    this License applicable to that copy.</li>
132 </ul>
133
134 <h4><a name="section3"></a>3. Object Code Incorporating Material from Library Header Files.</h4>
135
136 <p>The object code form of an Application may incorporate material from
137 a header file that is part of the Library.  You may convey such object
138 code under terms of your choice, provided that, if the incorporated
139 material is not limited to numerical parameters, data structure
140 layouts and accessors, or small macros, inline functions and templates
141 (ten or fewer lines in length), you do both of the following:</p>
142
143 <ul>
144 <li>a) Give prominent notice with each copy of the object code that the
145    Library is used in it and that the Library and its use are
146    covered by this License.</li>
147
148 <li>b) Accompany the object code with a copy of the GNU GPL and this license
149    document.</li>
150 </ul>
151
152 <h4><a name="section4"></a>4. Combined Works.</h4>
153
154 <p>You may convey a Combined Work under terms of your choice that,
155 taken together, effectively do not restrict modification of the
156 portions of the Library contained in the Combined Work and reverse
157 engineering for debugging such modifications, if you also do each of
158 the following:</p>
159
160 <ul>
161 <li>a) Give prominent notice with each copy of the Combined Work that
162    the Library is used in it and that the Library and its use are
163    covered by this License.</li>
164
165 <li>b) Accompany the Combined Work with a copy of the GNU GPL and this license
166    document.</li>
167
168 <li>c) For a Combined Work that displays copyright notices during
169    execution, include the copyright notice for the Library among
170    these notices, as well as a reference directing the user to the
171    copies of the GNU GPL and this license document.</li>
172
173 <li>d) Do one of the following:
174
175 <ul>
176 <li>0) Convey the Minimal Corresponding Source under the terms of this
177        License, and the Corresponding Application Code in a form
178        suitable for, and under terms that permit, the user to
179        recombine or relink the Application with a modified version of
180        the Linked Version to produce a modified Combined Work, in the
181        manner specified by section 6 of the GNU GPL for conveying
182        Corresponding Source.</li>
183
184 <li>1) Use a suitable shared library mechanism for linking with the
185        Library.  A suitable mechanism is one that (a) uses at run time
186        a copy of the Library already present on the user's computer
187        system, and (b) will operate properly with a modified version
188        of the Library that is interface-compatible with the Linked
189        Version.</li>
190 </ul></li>
191
192 <li>e) Provide Installation Information, but only if you would otherwise
193    be required to provide such information under section 6 of the
194    GNU GPL, and only to the extent that such information is
195    necessary to install and execute a modified version of the
196    Combined Work produced by recombining or relinking the
197    Application with a modified version of the Linked Version. (If
198    you use option 4d0, the Installation Information must accompany
199    the Minimal Corresponding Source and Corresponding Application
200    Code. If you use option 4d1, you must provide the Installation
201    Information in the manner specified by section 6 of the GNU GPL
202    for conveying Corresponding Source.)</li>
203 </ul>
204
205 <h4><a name="section5"></a>5. Combined Libraries.</h4>
206
207 <p>You may place library facilities that are a work based on the
208 Library side by side in a single library together with other library
209 facilities that are not Applications and are not covered by this
210 License, and convey such a combined library under terms of your
211 choice, if you do both of the following:</p>
212
213 <ul>
214 <li>a) Accompany the combined library with a copy of the same work based
215    on the Library, uncombined with any other library facilities,
216    conveyed under the terms of this License.</li>
217
218 <li>b) Give prominent notice with the combined library that part of it
219    is a work based on the Library, and explaining where to find the
220    accompanying uncombined form of the same work.</li>
221 </ul>
222
223 <h4><a name="section6"></a>6. Revised Versions of the GNU Lesser General Public License.</h4>
224
225 <p>The Free Software Foundation may publish revised and/or new versions
226 of the GNU Lesser General Public License from time to time. Such new
227 versions will be similar in spirit to the present version, but may
228 differ in detail to address new problems or concerns.</p>
229
230 <p>Each version is given a distinguishing version number. If the
231 Library as you received it specifies that a certain numbered version
232 of the GNU Lesser General Public License &ldquo;or any later version&rdquo;
233 applies to it, you have the option of following the terms and
234 conditions either of that published version or of any later version
235 published by the Free Software Foundation. If the Library as you
236 received it does not specify a version number of the GNU Lesser
237 General Public License, you may choose any version of the GNU Lesser
238 General Public License ever published by the Free Software Foundation.</p>
239
240 <p>If the Library as you received it specifies that a proxy can decide
241 whether future versions of the GNU Lesser General Public License shall
242 apply, that proxy's public statement of acceptance of any version is
243 permanent authorization for you to choose that version for the
244 Library.</p>
245
246 <hr>
247
248 <a name="readline">
249 <h2>GNU Readline Library and System.Console.Readline</h2>
250 </a>
251
252 <h3>GNU GENERAL PUBLIC LICENSE</h3>
253 <p>Version 3, 29 June 2007</p>
254
255 <p>Copyright &copy; 2007 Free Software Foundation, Inc. &lt;http://fsf.org/&gt;</p><p>
256  Everyone is permitted to copy and distribute verbatim copies
257  of this license document, but changing it is not allowed.</p>
258
259 <h3><a name="preamble"></a>Preamble</h3>
260
261 <p>The GNU General Public License is a free, copyleft license for
262 software and other kinds of works.</p>
263
264 <p>The licenses for most software and other practical works are designed
265 to take away your freedom to share and change the works.  By contrast,
266 the GNU General Public License is intended to guarantee your freedom to
267 share and change all versions of a program--to make sure it remains free
268 software for all its users.  We, the Free Software Foundation, use the
269 GNU General Public License for most of our software; it applies also to
270 any other work released this way by its authors.  You can apply it to
271 your programs, too.</p>
272
273 <p>When we speak of free software, we are referring to freedom, not
274 price.  Our General Public Licenses are designed to make sure that you
275 have the freedom to distribute copies of free software (and charge for
276 them if you wish), that you receive source code or can get it if you
277 want it, that you can change the software or use pieces of it in new
278 free programs, and that you know you can do these things.</p>
279
280 <p>To protect your rights, we need to prevent others from denying you
281 these rights or asking you to surrender the rights.  Therefore, you have
282 certain responsibilities if you distribute copies of the software, or if
283 you modify it: responsibilities to respect the freedom of others.</p>
284
285 <p>For example, if you distribute copies of such a program, whether
286 gratis or for a fee, you must pass on to the recipients the same
287 freedoms that you received.  You must make sure that they, too, receive
288 or can get the source code.  And you must show them these terms so they
289 know their rights.</p>
290
291 <p>Developers that use the GNU GPL protect your rights with two steps:
292 (1) assert copyright on the software, and (2) offer you this License
293 giving you legal permission to copy, distribute and/or modify it.</p>
294
295 <p>For the developers' and authors' protection, the GPL clearly explains
296 that there is no warranty for this free software.  For both users' and
297 authors' sake, the GPL requires that modified versions be marked as
298 changed, so that their problems will not be attributed erroneously to
299 authors of previous versions.</p>
300
301 <p>Some devices are designed to deny users access to install or run
302 modified versions of the software inside them, although the manufacturer
303 can do so.  This is fundamentally incompatible with the aim of
304 protecting users' freedom to change the software.  The systematic
305 pattern of such abuse occurs in the area of products for individuals to
306 use, which is precisely where it is most unacceptable.  Therefore, we
307 have designed this version of the GPL to prohibit the practice for those
308 products.  If such problems arise substantially in other domains, we
309 stand ready to extend this provision to those domains in future versions
310 of the GPL, as needed to protect the freedom of users.</p>
311
312 <p>Finally, every program is threatened constantly by software patents.
313 States should not allow patents to restrict development and use of
314 software on general-purpose computers, but in those that do, we wish to
315 avoid the special danger that patents applied to a free program could
316 make it effectively proprietary.  To prevent this, the GPL assures that
317 patents cannot be used to render the program non-free.</p>
318
319 <p>The precise terms and conditions for copying, distribution and
320 modification follow.</p>
321
322 <h3><a name="terms"></a>TERMS AND CONDITIONS</h3>
323
324 <h4><a name="section0"></a>0. Definitions.</h4>
325
326 <p>&ldquo;This License&rdquo; refers to version 3 of the GNU General Public License.</p>
327
328 <p>&ldquo;Copyright&rdquo; also means copyright-like laws that apply to other kinds of
329 works, such as semiconductor masks.</p>
330  
331 <p>&ldquo;The Program&rdquo; refers to any copyrightable work licensed under this
332 License.  Each licensee is addressed as &ldquo;you&rdquo;.  &ldquo;Licensees&rdquo; and
333 &ldquo;recipients&rdquo; may be individuals or organizations.</p>
334
335 <p>To &ldquo;modify&rdquo; a work means to copy from or adapt all or part of the work
336 in a fashion requiring copyright permission, other than the making of an
337 exact copy.  The resulting work is called a &ldquo;modified version&rdquo; of the
338 earlier work or a work &ldquo;based on&rdquo; the earlier work.</p>
339
340 <p>A &ldquo;covered work&rdquo; means either the unmodified Program or a work based
341 on the Program.</p>
342
343 <p>To &ldquo;propagate&rdquo; a work means to do anything with it that, without
344 permission, would make you directly or secondarily liable for
345 infringement under applicable copyright law, except executing it on a
346 computer or modifying a private copy.  Propagation includes copying,
347 distribution (with or without modification), making available to the
348 public, and in some countries other activities as well.</p>
349
350 <p>To &ldquo;convey&rdquo; a work means any kind of propagation that enables other
351 parties to make or receive copies.  Mere interaction with a user through
352 a computer network, with no transfer of a copy, is not conveying.</p>
353
354 <p>An interactive user interface displays &ldquo;Appropriate Legal Notices&rdquo;
355 to the extent that it includes a convenient and prominently visible
356 feature that (1) displays an appropriate copyright notice, and (2)
357 tells the user that there is no warranty for the work (except to the
358 extent that warranties are provided), that licensees may convey the
359 work under this License, and how to view a copy of this License.  If
360 the interface presents a list of user commands or options, such as a
361 menu, a prominent item in the list meets this criterion.</p>
362
363 <h4><a name="section1"></a>1. Source Code.</h4>
364
365 <p>The &ldquo;source code&rdquo; for a work means the preferred form of the work
366 for making modifications to it.  &ldquo;Object code&rdquo; means any non-source
367 form of a work.</p>
368
369 <p>A &ldquo;Standard Interface&rdquo; means an interface that either is an official
370 standard defined by a recognized standards body, or, in the case of
371 interfaces specified for a particular programming language, one that
372 is widely used among developers working in that language.</p>
373
374 <p>The &ldquo;System Libraries&rdquo; of an executable work include anything, other
375 than the work as a whole, that (a) is included in the normal form of
376 packaging a Major Component, but which is not part of that Major
377 Component, and (b) serves only to enable use of the work with that
378 Major Component, or to implement a Standard Interface for which an
379 implementation is available to the public in source code form.  A
380 &ldquo;Major Component&rdquo;, in this context, means a major essential component
381 (kernel, window system, and so on) of the specific operating system
382 (if any) on which the executable work runs, or a compiler used to
383 produce the work, or an object code interpreter used to run it.</p>
384
385 <p>The &ldquo;Corresponding Source&rdquo; for a work in object code form means all
386 the source code needed to generate, install, and (for an executable
387 work) run the object code and to modify the work, including scripts to
388 control those activities.  However, it does not include the work's
389 System Libraries, or general-purpose tools or generally available free
390 programs which are used unmodified in performing those activities but
391 which are not part of the work.  For example, Corresponding Source
392 includes interface definition files associated with source files for
393 the work, and the source code for shared libraries and dynamically
394 linked subprograms that the work is specifically designed to require,
395 such as by intimate data communication or control flow between those
396 subprograms and other parts of the work.</p>
397
398 <p>The Corresponding Source need not include anything that users
399 can regenerate automatically from other parts of the Corresponding
400 Source.</p>
401
402 <p>The Corresponding Source for a work in source code form is that
403 same work.</p>
404
405 <h4><a name="section2"></a>2. Basic Permissions.</h4>
406
407 <p>All rights granted under this License are granted for the term of
408 copyright on the Program, and are irrevocable provided the stated
409 conditions are met.  This License explicitly affirms your unlimited
410 permission to run the unmodified Program.  The output from running a
411 covered work is covered by this License only if the output, given its
412 content, constitutes a covered work.  This License acknowledges your
413 rights of fair use or other equivalent, as provided by copyright law.</p>
414
415 <p>You may make, run and propagate covered works that you do not
416 convey, without conditions so long as your license otherwise remains
417 in force.  You may convey covered works to others for the sole purpose
418 of having them make modifications exclusively for you, or provide you
419 with facilities for running those works, provided that you comply with
420 the terms of this License in conveying all material for which you do
421 not control copyright.  Those thus making or running the covered works
422 for you must do so exclusively on your behalf, under your direction
423 and control, on terms that prohibit them from making any copies of
424 your copyrighted material outside their relationship with you.</p>
425
426 <p>Conveying under any other circumstances is permitted solely under
427 the conditions stated below.  Sublicensing is not allowed; section 10
428 makes it unnecessary.</p>
429
430 <h4><a name="section3"></a>3. Protecting Users' Legal Rights From Anti-Circumvention Law.</h4>
431
432 <p>No covered work shall be deemed part of an effective technological
433 measure under any applicable law fulfilling obligations under article
434 11 of the WIPO copyright treaty adopted on 20 December 1996, or
435 similar laws prohibiting or restricting circumvention of such
436 measures.</p>
437
438 <p>When you convey a covered work, you waive any legal power to forbid
439 circumvention of technological measures to the extent such circumvention
440 is effected by exercising rights under this License with respect to
441 the covered work, and you disclaim any intention to limit operation or
442 modification of the work as a means of enforcing, against the work's
443 users, your or third parties' legal rights to forbid circumvention of
444 technological measures.</p>
445
446 <h4><a name="section4"></a>4. Conveying Verbatim Copies.</h4>
447
448 <p>You may convey verbatim copies of the Program's source code as you
449 receive it, in any medium, provided that you conspicuously and
450 appropriately publish on each copy an appropriate copyright notice;
451 keep intact all notices stating that this License and any
452 non-permissive terms added in accord with section 7 apply to the code;
453 keep intact all notices of the absence of any warranty; and give all
454 recipients a copy of this License along with the Program.</p>
455
456 <p>You may charge any price or no price for each copy that you convey,
457 and you may offer support or warranty protection for a fee.</p>
458
459 <h4><a name="section5"></a>5. Conveying Modified Source Versions.</h4>
460
461 <p>You may convey a work based on the Program, or the modifications to
462 produce it from the Program, in the form of source code under the
463 terms of section 4, provided that you also meet all of these conditions:</p>
464
465 <ul>
466 <li>a) The work must carry prominent notices stating that you modified
467     it, and giving a relevant date.</li>
468
469 <li>b) The work must carry prominent notices stating that it is
470     released under this License and any conditions added under section
471     7.  This requirement modifies the requirement in section 4 to
472     &ldquo;keep intact all notices&rdquo;.</li>
473
474 <li>c) You must license the entire work, as a whole, under this
475     License to anyone who comes into possession of a copy.  This
476     License will therefore apply, along with any applicable section 7
477     additional terms, to the whole of the work, and all its parts,
478     regardless of how they are packaged.  This License gives no
479     permission to license the work in any other way, but it does not
480     invalidate such permission if you have separately received it.</li>
481
482 <li>d) If the work has interactive user interfaces, each must display
483     Appropriate Legal Notices; however, if the Program has interactive
484     interfaces that do not display Appropriate Legal Notices, your
485     work need not make them do so.</li>
486 </ul>
487
488 <p>A compilation of a covered work with other separate and independent
489 works, which are not by their nature extensions of the covered work,
490 and which are not combined with it such as to form a larger program,
491 in or on a volume of a storage or distribution medium, is called an
492 &ldquo;aggregate&rdquo; if the compilation and its resulting copyright are not
493 used to limit the access or legal rights of the compilation's users
494 beyond what the individual works permit.  Inclusion of a covered work
495 in an aggregate does not cause this License to apply to the other
496 parts of the aggregate.</p>
497
498 <h4><a name="section6"></a>6. Conveying Non-Source Forms.</h4>
499
500 <p>You may convey a covered work in object code form under the terms
501 of sections 4 and 5, provided that you also convey the
502 machine-readable Corresponding Source under the terms of this License,
503 in one of these ways:</p>
504
505 <ul>
506 <li>a) Convey the object code in, or embodied in, a physical product
507     (including a physical distribution medium), accompanied by the
508     Corresponding Source fixed on a durable physical medium
509     customarily used for software interchange.</li>
510
511 <li>b) Convey the object code in, or embodied in, a physical product
512     (including a physical distribution medium), accompanied by a
513     written offer, valid for at least three years and valid for as
514     long as you offer spare parts or customer support for that product
515     model, to give anyone who possesses the object code either (1) a
516     copy of the Corresponding Source for all the software in the
517     product that is covered by this License, on a durable physical
518     medium customarily used for software interchange, for a price no
519     more than your reasonable cost of physically performing this
520     conveying of source, or (2) access to copy the
521     Corresponding Source from a network server at no charge.</li>
522
523 <li>c) Convey individual copies of the object code with a copy of the
524     written offer to provide the Corresponding Source.  This
525     alternative is allowed only occasionally and noncommercially, and
526     only if you received the object code with such an offer, in accord
527     with subsection 6b.</li>
528
529 <li>d) Convey the object code by offering access from a designated
530     place (gratis or for a charge), and offer equivalent access to the
531     Corresponding Source in the same way through the same place at no
532     further charge.  You need not require recipients to copy the
533     Corresponding Source along with the object code.  If the place to
534     copy the object code is a network server, the Corresponding Source
535     may be on a different server (operated by you or a third party)
536     that supports equivalent copying facilities, provided you maintain
537     clear directions next to the object code saying where to find the
538     Corresponding Source.  Regardless of what server hosts the
539     Corresponding Source, you remain obligated to ensure that it is
540     available for as long as needed to satisfy these requirements.</li>
541
542 <li>e) Convey the object code using peer-to-peer transmission, provided
543     you inform other peers where the object code and Corresponding
544     Source of the work are being offered to the general public at no
545     charge under subsection 6d.</li>
546 </ul>
547
548 <p>A separable portion of the object code, whose source code is excluded
549 from the Corresponding Source as a System Library, need not be
550 included in conveying the object code work.</p>
551
552 <p>A &ldquo;User Product&rdquo; is either (1) a &ldquo;consumer product&rdquo;, which means any
553 tangible personal property which is normally used for personal, family,
554 or household purposes, or (2) anything designed or sold for incorporation
555 into a dwelling.  In determining whether a product is a consumer product,
556 doubtful cases shall be resolved in favor of coverage.  For a particular
557 product received by a particular user, &ldquo;normally used&rdquo; refers to a
558 typical or common use of that class of product, regardless of the status
559 of the particular user or of the way in which the particular user
560 actually uses, or expects or is expected to use, the product.  A product
561 is a consumer product regardless of whether the product has substantial
562 commercial, industrial or non-consumer uses, unless such uses represent
563 the only significant mode of use of the product.</p>
564
565 <p>&ldquo;Installation Information&rdquo; for a User Product means any methods,
566 procedures, authorization keys, or other information required to install
567 and execute modified versions of a covered work in that User Product from
568 a modified version of its Corresponding Source.  The information must
569 suffice to ensure that the continued functioning of the modified object
570 code is in no case prevented or interfered with solely because
571 modification has been made.</p>
572
573 <p>If you convey an object code work under this section in, or with, or
574 specifically for use in, a User Product, and the conveying occurs as
575 part of a transaction in which the right of possession and use of the
576 User Product is transferred to the recipient in perpetuity or for a
577 fixed term (regardless of how the transaction is characterized), the
578 Corresponding Source conveyed under this section must be accompanied
579 by the Installation Information.  But this requirement does not apply
580 if neither you nor any third party retains the ability to install
581 modified object code on the User Product (for example, the work has
582 been installed in ROM).</p>
583
584 <p>The requirement to provide Installation Information does not include a
585 requirement to continue to provide support service, warranty, or updates
586 for a work that has been modified or installed by the recipient, or for
587 the User Product in which it has been modified or installed.  Access to a
588 network may be denied when the modification itself materially and
589 adversely affects the operation of the network or violates the rules and
590 protocols for communication across the network.</p>
591
592 <p>Corresponding Source conveyed, and Installation Information provided,
593 in accord with this section must be in a format that is publicly
594 documented (and with an implementation available to the public in
595 source code form), and must require no special password or key for
596 unpacking, reading or copying.</p>
597
598 <h4><a name="section7"></a>7. Additional Terms.</h4>
599
600 <p>&ldquo;Additional permissions&rdquo; are terms that supplement the terms of this
601 License by making exceptions from one or more of its conditions.
602 Additional permissions that are applicable to the entire Program shall
603 be treated as though they were included in this License, to the extent
604 that they are valid under applicable law.  If additional permissions
605 apply only to part of the Program, that part may be used separately
606 under those permissions, but the entire Program remains governed by
607 this License without regard to the additional permissions.</p>
608
609 <p>When you convey a copy of a covered work, you may at your option
610 remove any additional permissions from that copy, or from any part of
611 it.  (Additional permissions may be written to require their own
612 removal in certain cases when you modify the work.)  You may place
613 additional permissions on material, added by you to a covered work,
614 for which you have or can give appropriate copyright permission.</p>
615
616 <p>Notwithstanding any other provision of this License, for material you
617 add to a covered work, you may (if authorized by the copyright holders of
618 that material) supplement the terms of this License with terms:</p>
619
620 <ul>
621 <li>a) Disclaiming warranty or limiting liability differently from the
622     terms of sections 15 and 16 of this License; or</li>
623
624 <li>b) Requiring preservation of specified reasonable legal notices or
625     author attributions in that material or in the Appropriate Legal
626     Notices displayed by works containing it; or</li>
627
628 <li>c) Prohibiting misrepresentation of the origin of that material, or
629     requiring that modified versions of such material be marked in
630     reasonable ways as different from the original version; or</li>
631
632 <li>d) Limiting the use for publicity purposes of names of licensors or
633     authors of the material; or</li>
634
635 <li>e) Declining to grant rights under trademark law for use of some
636     trade names, trademarks, or service marks; or</li>
637
638 <li>f) Requiring indemnification of licensors and authors of that
639     material by anyone who conveys the material (or modified versions of
640     it) with contractual assumptions of liability to the recipient, for
641     any liability that these contractual assumptions directly impose on
642     those licensors and authors.</li>
643 </ul>
644
645 <p>All other non-permissive additional terms are considered &ldquo;further
646 restrictions&rdquo; within the meaning of section 10.  If the Program as you
647 received it, or any part of it, contains a notice stating that it is
648 governed by this License along with a term that is a further
649 restriction, you may remove that term.  If a license document contains
650 a further restriction but permits relicensing or conveying under this
651 License, you may add to a covered work material governed by the terms
652 of that license document, provided that the further restriction does
653 not survive such relicensing or conveying.</p>
654
655 <p>If you add terms to a covered work in accord with this section, you
656 must place, in the relevant source files, a statement of the
657 additional terms that apply to those files, or a notice indicating
658 where to find the applicable terms.</p>
659
660 <p>Additional terms, permissive or non-permissive, may be stated in the
661 form of a separately written license, or stated as exceptions;
662 the above requirements apply either way.</p>
663
664 <h4><a name="section8"></a>8. Termination.</h4>
665
666 <p>You may not propagate or modify a covered work except as expressly
667 provided under this License.  Any attempt otherwise to propagate or
668 modify it is void, and will automatically terminate your rights under
669 this License (including any patent licenses granted under the third
670 paragraph of section 11).</p>
671
672 <p>However, if you cease all violation of this License, then your
673 license from a particular copyright holder is reinstated (a)
674 provisionally, unless and until the copyright holder explicitly and
675 finally terminates your license, and (b) permanently, if the copyright
676 holder fails to notify you of the violation by some reasonable means
677 prior to 60 days after the cessation.</p>
678
679 <p>Moreover, your license from a particular copyright holder is
680 reinstated permanently if the copyright holder notifies you of the
681 violation by some reasonable means, this is the first time you have
682 received notice of violation of this License (for any work) from that
683 copyright holder, and you cure the violation prior to 30 days after
684 your receipt of the notice.</p>
685
686 <p>Termination of your rights under this section does not terminate the
687 licenses of parties who have received copies or rights from you under
688 this License.  If your rights have been terminated and not permanently
689 reinstated, you do not qualify to receive new licenses for the same
690 material under section 10.</p>
691
692 <h4><a name="section9"></a>9. Acceptance Not Required for Having Copies.</h4>
693
694 <p>You are not required to accept this License in order to receive or
695 run a copy of the Program.  Ancillary propagation of a covered work
696 occurring solely as a consequence of using peer-to-peer transmission
697 to receive a copy likewise does not require acceptance.  However,
698 nothing other than this License grants you permission to propagate or
699 modify any covered work.  These actions infringe copyright if you do
700 not accept this License.  Therefore, by modifying or propagating a
701 covered work, you indicate your acceptance of this License to do so.</p>
702
703 <h4><a name="section10"></a>10. Automatic Licensing of Downstream Recipients.</h4>
704
705 <p>Each time you convey a covered work, the recipient automatically
706 receives a license from the original licensors, to run, modify and
707 propagate that work, subject to this License.  You are not responsible
708 for enforcing compliance by third parties with this License.</p>
709
710 <p>An &ldquo;entity transaction&rdquo; is a transaction transferring control of an
711 organization, or substantially all assets of one, or subdividing an
712 organization, or merging organizations.  If propagation of a covered
713 work results from an entity transaction, each party to that
714 transaction who receives a copy of the work also receives whatever
715 licenses to the work the party's predecessor in interest had or could
716 give under the previous paragraph, plus a right to possession of the
717 Corresponding Source of the work from the predecessor in interest, if
718 the predecessor has it or can get it with reasonable efforts.</p>
719
720 <p>You may not impose any further restrictions on the exercise of the
721 rights granted or affirmed under this License.  For example, you may
722 not impose a license fee, royalty, or other charge for exercise of
723 rights granted under this License, and you may not initiate litigation
724 (including a cross-claim or counterclaim in a lawsuit) alleging that
725 any patent claim is infringed by making, using, selling, offering for
726 sale, or importing the Program or any portion of it.</p>
727
728 <h4><a name="section11"></a>11. Patents.</h4>
729
730 <p>A &ldquo;contributor&rdquo; is a copyright holder who authorizes use under this
731 License of the Program or a work on which the Program is based.  The
732 work thus licensed is called the contributor's &ldquo;contributor version&rdquo;.</p>
733
734 <p>A contributor's &ldquo;essential patent claims&rdquo; are all patent claims
735 owned or controlled by the contributor, whether already acquired or
736 hereafter acquired, that would be infringed by some manner, permitted
737 by this License, of making, using, or selling its contributor version,
738 but do not include claims that would be infringed only as a
739 consequence of further modification of the contributor version.  For
740 purposes of this definition, &ldquo;control&rdquo; includes the right to grant
741 patent sublicenses in a manner consistent with the requirements of
742 this License.</p>
743
744 <p>Each contributor grants you a non-exclusive, worldwide, royalty-free
745 patent license under the contributor's essential patent claims, to
746 make, use, sell, offer for sale, import and otherwise run, modify and
747 propagate the contents of its contributor version.</p>
748
749 <p>In the following three paragraphs, a &ldquo;patent license&rdquo; is any express
750 agreement or commitment, however denominated, not to enforce a patent
751 (such as an express permission to practice a patent or covenant not to
752 sue for patent infringement).  To &ldquo;grant&rdquo; such a patent license to a
753 party means to make such an agreement or commitment not to enforce a
754 patent against the party.</p>
755
756 <p>If you convey a covered work, knowingly relying on a patent license,
757 and the Corresponding Source of the work is not available for anyone
758 to copy, free of charge and under the terms of this License, through a
759 publicly available network server or other readily accessible means,
760 then you must either (1) cause the Corresponding Source to be so
761 available, or (2) arrange to deprive yourself of the benefit of the
762 patent license for this particular work, or (3) arrange, in a manner
763 consistent with the requirements of this License, to extend the patent
764 license to downstream recipients.  &ldquo;Knowingly relying&rdquo; means you have
765 actual knowledge that, but for the patent license, your conveying the
766 covered work in a country, or your recipient's use of the covered work
767 in a country, would infringe one or more identifiable patents in that
768 country that you have reason to believe are valid.</p>
769   
770 <p>If, pursuant to or in connection with a single transaction or
771 arrangement, you convey, or propagate by procuring conveyance of, a
772 covered work, and grant a patent license to some of the parties
773 receiving the covered work authorizing them to use, propagate, modify
774 or convey a specific copy of the covered work, then the patent license
775 you grant is automatically extended to all recipients of the covered
776 work and works based on it.</p>
777
778 <p>A patent license is &ldquo;discriminatory&rdquo; if it does not include within
779 the scope of its coverage, prohibits the exercise of, or is
780 conditioned on the non-exercise of one or more of the rights that are
781 specifically granted under this License.  You may not convey a covered
782 work if you are a party to an arrangement with a third party that is
783 in the business of distributing software, under which you make payment
784 to the third party based on the extent of your activity of conveying
785 the work, and under which the third party grants, to any of the
786 parties who would receive the covered work from you, a discriminatory
787 patent license (a) in connection with copies of the covered work
788 conveyed by you (or copies made from those copies), or (b) primarily
789 for and in connection with specific products or compilations that
790 contain the covered work, unless you entered into that arrangement,
791 or that patent license was granted, prior to 28 March 2007.</p>
792
793 <p>Nothing in this License shall be construed as excluding or limiting
794 any implied license or other defenses to infringement that may
795 otherwise be available to you under applicable patent law.</p>
796
797 <h4><a name="section12"></a>12. No Surrender of Others' Freedom.</h4>
798
799 <p>If conditions are imposed on you (whether by court order, agreement or
800 otherwise) that contradict the conditions of this License, they do not
801 excuse you from the conditions of this License.  If you cannot convey a
802 covered work so as to satisfy simultaneously your obligations under this
803 License and any other pertinent obligations, then as a consequence you may
804 not convey it at all.  For example, if you agree to terms that obligate you
805 to collect a royalty for further conveying from those to whom you convey
806 the Program, the only way you could satisfy both those terms and this
807 License would be to refrain entirely from conveying the Program.</p>
808
809 <h4><a name="section13"></a>13. Use with the GNU Affero General Public License.</h4>
810
811 <p>Notwithstanding any other provision of this License, you have
812 permission to link or combine any covered work with a work licensed
813 under version 3 of the GNU Affero General Public License into a single
814 combined work, and to convey the resulting work.  The terms of this
815 License will continue to apply to the part which is the covered work,
816 but the special requirements of the GNU Affero General Public License,
817 section 13, concerning interaction through a network will apply to the
818 combination as such.</p>
819
820 <h4><a name="section14"></a>14. Revised Versions of this License.</h4>
821
822 <p>The Free Software Foundation may publish revised and/or new versions of
823 the GNU General Public License from time to time.  Such new versions will
824 be similar in spirit to the present version, but may differ in detail to
825 address new problems or concerns.</p>
826
827 <p>Each version is given a distinguishing version number.  If the
828 Program specifies that a certain numbered version of the GNU General
829 Public License &ldquo;or any later version&rdquo; applies to it, you have the
830 option of following the terms and conditions either of that numbered
831 version or of any later version published by the Free Software
832 Foundation.  If the Program does not specify a version number of the
833 GNU General Public License, you may choose any version ever published
834 by the Free Software Foundation.</p>
835
836 <p>If the Program specifies that a proxy can decide which future
837 versions of the GNU General Public License can be used, that proxy's
838 public statement of acceptance of a version permanently authorizes you
839 to choose that version for the Program.</p>
840
841 <p>Later license versions may give you additional or different
842 permissions.  However, no additional obligations are imposed on any
843 author or copyright holder as a result of your choosing to follow a
844 later version.</p>
845
846 <h4><a name="section15"></a>15. Disclaimer of Warranty.</h4>
847
848 <p>THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
849 APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
850 HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM &ldquo;AS IS&rdquo; WITHOUT WARRANTY
851 OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
852 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
853 PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
854 IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
855 ALL NECESSARY SERVICING, REPAIR OR CORRECTION.</p>
856
857 <h4><a name="section16"></a>16. Limitation of Liability.</h4>
858
859 <p>IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
860 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
861 THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
862 GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
863 USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
864 DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
865 PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
866 EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
867 SUCH DAMAGES.</p>
868
869 <h4><a name="section17"></a>17. Interpretation of Sections 15 and 16.</h4>
870
871 <p>If the disclaimer of warranty and limitation of liability provided
872 above cannot be given local legal effect according to their terms,
873 reviewing courts shall apply local law that most closely approximates
874 an absolute waiver of all civil liability in connection with the
875 Program, unless a warranty or assumption of liability accompanies a
876 copy of the Program in return for a fee.</p>
877
878 <p>END OF TERMS AND CONDITIONS</p>
879
880 <h3><a name="howto"></a>How to Apply These Terms to Your New Programs</h3>
881
882 <p>If you develop a new program, and you want it to be of the greatest
883 possible use to the public, the best way to achieve this is to make it
884 free software which everyone can redistribute and change under these terms.</p>
885
886 <p>To do so, attach the following notices to the program.  It is safest
887 to attach them to the start of each source file to most effectively
888 state the exclusion of warranty; and each file should have at least
889 the &ldquo;copyright&rdquo; line and a pointer to where the full notice is found.</p>
890
891 <pre>    &lt;one line to give the program's name and a brief idea of what it does.&gt;
892     Copyright (C) &lt;year&gt;  &lt;name of author&gt;
893
894     This program is free software: you can redistribute it and/or modify
895     it under the terms of the GNU General Public License as published by
896     the Free Software Foundation, either version 3 of the License, or
897     (at your option) any later version.
898
899     This program is distributed in the hope that it will be useful,
900     but WITHOUT ANY WARRANTY; without even the implied warranty of
901     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
902     GNU General Public License for more details.
903
904     You should have received a copy of the GNU General Public License
905     along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.
906 </pre>
907
908 <p>Also add information on how to contact you by electronic and paper mail.</p>
909
910 <p>If the program does terminal interaction, make it output a short
911 notice like this when it starts in an interactive mode:</p>
912
913 <pre>    &lt;program&gt;  Copyright (C) &lt;year&gt;  &lt;name of author&gt;
914     This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
915     This is free software, and you are welcome to redistribute it
916     under certain conditions; type `show c' for details.
917 </pre>
918
919 <p>The hypothetical commands `show w' and `show c' should show the appropriate
920 parts of the General Public License.  Of course, your program's commands
921 might be different; for a GUI interface, you would use an &ldquo;about box&rdquo;.</p>
922
923 <p>You should also get your employer (if you work as a programmer) or school,
924 if any, to sign a &ldquo;copyright disclaimer&rdquo; for the program, if necessary.
925 For more information on this, and how to apply and follow the GNU GPL, see
926 &lt;http://www.gnu.org/licenses/&gt;.</p>
927
928 <p>The GNU General Public License does not permit incorporating your program
929 into proprietary programs.  If your program is a subroutine library, you
930 may consider it more useful to permit linking proprietary applications with
931 the library.  If this is what you want to do, use the GNU Lesser General
932 Public License instead of this License.  But first, please read
933 &lt;http://www.gnu.org/philosophy/why-not-lgpl.html&gt;.</p>
934
935
936 </div>
937
938 </body> </html>