Statistics
| Revision:

root / COPYING @ 3019

History | View | Annotate | Download (17.6 kB)

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