1
2      The GNU General Public License (GPL)
3      Version 2, June 1991
4
5      Copyright (C) 1989, 1991 Free Software Foundation, Inc.
6      51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
7      Everyone is permitted to copy and distribute verbatim copies
8      of this license document, but changing it is not allowed.
9
10      Preamble
11
12      The licenses for most software are designed to take away your freedom to
13      share and change it. By contrast, the GNU General Public License is
14      intended to guarantee your freedom to share and change free software--to
15      make sure the software is free for all its users. This General Public
16      License applies to most of the Free Software Foundation's software and to
17      any other program whose authors commit to using it. (Some other Free
18      Software Foundation software is covered by the GNU Library General Public
19      License instead.) You can apply it to your programs, too.
20
21      When we speak of free software, we are referring to freedom, not price.
22      Our General Public Licenses are designed to make sure that you have the
23      freedom to distribute copies of free software (and charge for this service
24      if you wish), that you receive source code or can get it if you want it,
25      that you can change the software or use pieces of it in new free programs;
26      and that you know you can do these things.
27
28      To protect your rights, we need to make restrictions that forbid anyone to
29      deny you these rights or to ask you to surrender the rights. These
30      restrictions translate to certain responsibilities for you if you
31      distribute copies of the software, or if you modify it.
32
33      For example, if you distribute copies of such a program, whether gratis or
34      for a fee, you must give the recipients all the rights that you have. You
35      must make sure that they, too, receive or can get the source code. And you
36      must show them these terms so they know their rights.
37
38      We protect your rights with two steps: (1) copyright the software, and (2)
39      offer you this license which gives you legal permission to copy,
40      distribute and/or modify the software.
41
42      Also, for each author's protection and ours, we want to make certain that
43      everyone understands that there is no warranty for this free software. If
44      the software is modified by someone else and passed on, we want its
45      recipients to know that what they have is not the original, so that any
46      problems introduced by others will not reflect on the original authors'
47      reputations.
48
49      Finally, any free program is threatened constantly by software patents. We
50      wish to avoid the danger that redistributors of a free program will
51      individually obtain patent licenses, in effect making the program
52      proprietary. To prevent this, we have made it clear that any patent must
53      be licensed for everyone's free use or not licensed at all.
54
55      The precise terms and conditions for copying, distribution and
56      modification follow.
57
58      TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
59
60      0. This License applies to any program or other work which contains a
61      notice placed by the copyright holder saying it may be distributed under
62      the terms of this General Public License. The "Program", below, refers to
63      any such program or work, and a "work based on the Program" means either
64      the Program or any derivative work under copyright law: that is to say, a
65      work containing the Program or a portion of it, either verbatim or with
66      modifications and/or translated into another language. (Hereinafter,
67      translation is included without limitation in the term "modification".)
68      Each licensee is addressed as "you".
69
70      Activities other than copying, distribution and modification are not
71      covered by this License; they are outside its scope. The act of running
72      the Program is not restricted, and the output from the Program is covered
73      only if its contents constitute a work based on the Program (independent
74      of having been made by running the Program). Whether that is true depends
75      on what the Program does.
76
77      1. You may copy and distribute verbatim copies of the Program's source
78      code as you receive it, in any medium, provided that you conspicuously and
79      appropriately publish on each copy an appropriate copyright notice and
80      disclaimer of warranty; keep intact all the notices that refer to this
81      License and to the absence of any warranty; and give any other recipients
82      of the Program a copy of this License along with the Program.
83
84      You may charge a fee for the physical act of transferring a copy, and you
85      may at your option offer warranty protection in exchange for a fee.
86
87      2. You may modify your copy or copies of the Program or any portion of it,
88      thus forming a work based on the Program, and copy and distribute such
89      modifications or work under the terms of Section 1 above, provided that
90      you also meet all of these conditions:
91
92        a) You must cause the modified files to carry prominent notices stating
93        that you changed the files and the date of any change.
94
95        b) You must cause any work that you distribute or publish, that in whole
96        or in part contains or is derived from the Program or any part thereof,
97        to be licensed as a whole at no charge to all third parties under the
98        terms of this License.
99
100        c) If the modified program normally reads commands interactively when
101        run, you must cause it, when started running for such interactive use in
102        the most ordinary way, to print or display an announcement including an
103        appropriate copyright notice and a notice that there is no warranty (or
104        else, saying that you provide a warranty) and that users may
105        redistribute the program under these conditions, and telling the user
106        how to view a copy of this License. (Exception: if the Program itself is
107        interactive but does not normally print such an announcement, your work
108        based on the Program is not required to print an announcement.)
109
110      These requirements apply to the modified work as a whole. If identifiable
111      sections of that work are not derived from the Program, and can be
112      reasonably considered independent and separate works in themselves, then
113      this License, and its terms, do not apply to those sections when you
114      distribute them as separate works. But when you distribute the same
115      sections as part of a whole which is a work based on the Program, the
116      distribution of the whole must be on the terms of this License, whose
117      permissions for other licensees extend to the entire whole, and thus to
118      each and every part regardless of who wrote it.
119
120      Thus, it is not the intent of this section to claim rights or contest your
121      rights to work written entirely by you; rather, the intent is to exercise
122      the right to control the distribution of derivative or collective works
123      based on the Program.
124
125      In addition, mere aggregation of another work not based on the Program
126      with the Program (or with a work based on the Program) on a volume of a
127      storage or distribution medium does not bring the other work under the
128      scope of this License.
129
130      3. You may copy and distribute the Program (or a work based on it, under
131      Section 2) in object code or executable form under the terms of Sections 1
132      and 2 above provided that you also do one of the following:
133
134        a) Accompany it with the complete corresponding machine-readable source
135        code, which must be distributed under the terms of Sections 1 and 2
136        above on a medium customarily used for software interchange; or,
137
138        b) Accompany it with a written offer, valid for at least three years, to
139        give any third party, for a charge no more than your cost of physically
140        performing source distribution, a complete machine-readable copy of the
141        corresponding source code, to be distributed under the terms of Sections
142        1 and 2 above on a medium customarily used for software interchange; or,
143
144        c) Accompany it with the information you received as to the offer to
145        distribute corresponding source code. (This alternative is allowed only
146        for noncommercial distribution and only if you received the program in
147        object code or executable form with such an offer, in accord with
148        Subsection b above.)
149
150      The source code for a work means the preferred form of the work for making
151      modifications to it. For an executable work, complete source code means
152      all the source code for all modules it contains, plus any associated
153      interface definition files, plus the scripts used to control compilation
154      and installation of the executable. However, as a special exception, the
155      source code distributed need not include anything that is normally
156      distributed (in either source or binary form) with the major components
157      (compiler, kernel, and so on) of the operating system on which the
158      executable runs, unless that component itself accompanies the executable.
159
160      If distribution of executable or object code is made by offering access to
161      copy from a designated place, then offering equivalent access to copy the
162      source code from the same place counts as distribution of the source code,
163      even though third parties are not compelled to copy the source along with
164      the object code.
165
166      4. You may not copy, modify, sublicense, or distribute the Program except
167      as expressly provided under this License. Any attempt otherwise to copy,
168      modify, sublicense or distribute the Program is void, and will
169      automatically terminate your rights under this License. However, parties
170      who have received copies, or rights, from you under this License will not
171      have their licenses terminated so long as such parties remain in full
172      compliance.
173
174      5. You are not required to accept this License, since you have not signed
175      it. However, nothing else grants you permission to modify or distribute
176      the Program or its derivative works. These actions are prohibited by law
177      if you do not accept this License. Therefore, by modifying or distributing
178      the Program (or any work based on the Program), you indicate your
179      acceptance of this License to do so, and all its terms and conditions for
180      copying, distributing or modifying the Program or works based on it.
181
182      6. Each time you redistribute the Program (or any work based on the
183      Program), the recipient automatically receives a license from the original
184      licensor to copy, distribute or modify the Program subject to these terms
185      and conditions. You may not impose any further restrictions on the
186      recipients' exercise of the rights granted herein. You are not responsible
187      for enforcing compliance by third parties to this License.
188
189      7. If, as a consequence of a court judgment or allegation of patent
190      infringement or for any other reason (not limited to patent issues),
191      conditions are imposed on you (whether by court order, agreement or
192      otherwise) that contradict the conditions of this License, they do not
193      excuse you from the conditions of this License. If you cannot distribute
194      so as to satisfy simultaneously your obligations under this License and
195      any other pertinent obligations, then as a consequence you may not
196      distribute the Program at all. For example, if a patent license would not
197      permit royalty-free redistribution of the Program by all those who receive
198      copies directly or indirectly through you, then the only way you could
199      satisfy both it and this License would be to refrain entirely from
200      distribution of the Program.
201
202      If any portion of this section is held invalid or unenforceable under any
203      particular circumstance, the balance of the section is intended to apply
204      and the section as a whole is intended to apply in other circumstances.
205
206      It is not the purpose of this section to induce you to infringe any
207      patents or other property right claims or to contest validity of any such
208      claims; this section has the sole purpose of protecting the integrity of
209      the free software distribution system, which is implemented by public
210      license practices. Many people have made generous contributions to the
211      wide range of software distributed through that system in reliance on
212      consistent application of that system; it is up to the author/donor to
213      decide if he or she is willing to distribute software through any other
214      system and a licensee cannot impose that choice.
215
216      This section is intended to make thoroughly clear what is believed to be a
217      consequence of the rest of this License.
218
219      8. If the distribution and/or use of the Program is restricted in certain
220      countries either by patents or by copyrighted interfaces, the original
221      copyright holder who places the Program under this License may add an
222      explicit geographical distribution limitation excluding those countries,
223      so that distribution is permitted only in or among countries not thus
224      excluded. In such case, this License incorporates the limitation as if
225      written in the body of this License.
226
227      9. The Free Software Foundation may publish revised and/or new versions of
228      the General Public License from time to time. Such new versions will be
229      similar in spirit to the present version, but may differ in detail to
230      address new problems or concerns.
231
232      Each version is given a distinguishing version number. If the Program
233      specifies a version number of this License which applies to it and "any
234      later version", you have the option of following the terms and conditions
235      either of that version or of any later version published by the Free
236      Software Foundation. If the Program does not specify a version number of
237      this License, you may choose any version ever published by the Free
238      Software Foundation.
239
240      10. If you wish to incorporate parts of the Program into other free
241      programs whose distribution conditions are different, write to the author
242      to ask for permission. For software which is copyrighted by the Free
243      Software Foundation, write to the Free Software Foundation; we sometimes
244      make exceptions for this. Our decision will be guided by the two goals of
245      preserving the free status of all derivatives of our free software and of
246      promoting the sharing and reuse of software generally.
247
248      NO WARRANTY
249
250      11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
251      FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
252      OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
253      PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
254      OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
255      MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
256      TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
257      PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
258      REPAIR OR CORRECTION.
259
260      12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
261      WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
262      REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
263      INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
264      ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT
265      LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES
266      SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE
267      WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN
268      ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
269
270      END OF TERMS AND CONDITIONS
271
272
273