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