source: box/invisnet/COPYING.txt @ 2600

Revision 2600, 23.8 KB checked in by chris, 2 years ago (diff)

Create a new license that allows Box Backup to be linked with OpenSSL
and Microsoft VSS SDK.

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