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