Debian Codegraph @

doc/gpl.html

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