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