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