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