Changeset 2657
- Timestamp:
- 08/03/2010 21:28:01 (2 years ago)
- Location:
- box/RELEASE/0.11rc7
- Files:
-
- 2 deleted
- 4 edited
- 3 copied
-
COPYING.txt (copied) (copied from box/trunk/COPYING.txt) (3 diffs)
-
LICENSE-DUAL.txt (copied) (copied from box/trunk/LICENSE-DUAL.txt)
-
LICENSE-GPL.txt (copied) (copied from box/trunk/LICENSE-GPL.txt) (2 diffs)
-
LICENSE.txt (deleted)
-
distribution/COMMON-MANIFEST.txt (modified) (3 diffs)
-
distribution/boxbackup/DISTRIBUTION-MANIFEST.txt (modified) (3 diffs)
-
distribution/boxbackup/LICENSE.txt (deleted)
-
infrastructure/makedistribution.pl.in (modified) (6 diffs)
-
parcels.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/RELEASE/0.11rc7/COPYING.txt
r2596 r2657 14 14 Note that this project uses mixed licensing. Different parts of the project 15 15 may be used and distributed under different licenses, as described below. 16 The two licenses used are GPL and BSD.16 The two licenses used are "Box Backup GPL" and a BSD-style license. 17 17 18 18 Unless stated otherwise in the file, all files in the following directories 19 fall under the GPL license (the GNU General Public License v2, or later 20 at your choice): 19 fall under the "Box Backup GPL" license, described below: 21 20 22 21 bin/bbackupctl … … 46 45 distribution/boxbackup 47 46 48 The GPLlicense follows:47 The "Box Backup GPL" license follows: 49 48 --------------------------------------------------------------------- 49 The Box Backup GPL is based on the GPLv2 (GNU General Public License 50 version 2 or later) as published by the Free Software Foundation. 51 However, it includes optional exceptions which allow linking with 52 OpenSSL and Microsoft VSS, listed below. This means that Box Backup 53 is not under pure GPLv2 as published by the Free Software Foundation. 54 These are the only differences between the Box Backup GPL license and 55 the original GPL from the Free Software Foundation. 56 57 Please note that while the Box Backup GPL is similar in spirit to the 58 original GPL, it is not fully compatible. Because of these optional 59 exceptions, you may not include or combine fully GPL source code 60 (such as the GNU readline library) with Box Backup, or distribute the 61 resulting binaries, under the Box Backup GPL license, without 62 specific permission from the authors of such code. You may do so 63 under the pure GPL license, by omitting the optional exclusion clauses 64 below, however you may not legally link such code with OpenSSL or 65 Microsoft VSS, which may limit the usefulness or functionality of the 66 resulting code. 67 68 The license exemption section below was based on the license of the 69 Bacula project 70 [http://bacula.git.sourceforge.net/git/gitweb.cgi?p=bacula/bacula;a=blob_plain;f=bacula/LICENSE;hb=HEAD]. 71 72 For the most part, Box Backup is licensed under the GPL version 2 73 [http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt]. 74 The sections that follow are optional exemptions to the GPL version 2 75 license, that apply to code that is copyrighted by Ben Summers and 76 Contributors. 77 78 Linking: 79 As a special exception to the GPLv2, the Box Backup Project gives 80 permission to link any code falling under this license (the Box Backup 81 GPL) with any software that can be downloaded from 82 the OpenSSL website [http://www.openssl.org] under either the 83 "OpenSSL License" or the "Original SSLeay License", and to distribute 84 the linked executables under the terms of the "Box Backup GPL" license. 85 86 As a special exception to the GPLv2, the Box Backup Project gives 87 permission to link any code falling under this license (the Box Backup 88 GPL) with any version of Microsoft's Volume Shadow Copy Service 7.2 SDK 89 or Microsoft Windows Software Development Kit (SDK), including 90 vssapi.lib, that can be downloaded from the Microsoft website 91 [*.microsoft.com], and to distribute the linked executables under the 92 terms of the "Box Backup GPL" license. 93 94 The sections above are optional, and you may distribute the code that 95 falls under this license under the original GPLv2 license by omitting 96 them. The original GPLv2 license follows. 97 50 98 GNU GENERAL PUBLIC LICENSE 51 99 Version 2, June 1991 … … 388 436 Public License instead of this License. 389 437 --------------------------------------------------------------------- 390 [http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt]391 438 392 439 Unless stated otherwise in the file or in the list of directories above, -
box/RELEASE/0.11rc7/LICENSE-GPL.txt
r2596 r2657 6 6 Note that this project uses mixed licensing. Any file with this license 7 7 attached, or where the code LICENSE-GPL appears on the first line, falls 8 under this license. See the file COPYING.txt for more information. 8 under the "Box Backup GPL" license. See the file COPYING.txt for more 9 information about this license. 9 10 11 --------------------------------------------------------------------- 10 12 This program is free software; you can redistribute it and/or 11 13 modify it under the terms of the GNU General Public License … … 24 26 [http://www.gnu.org/licenses/old-licenses/gpl-2.0.html#SEC4] 25 27 26 You may find a full copy of the GPLv2 license at: 27 [http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt] 28 As a special exception to the GPLv2, the Box Backup Project gives 29 permission to link any code falling under this license (the Box Backup 30 GPL) with any software that can be downloaded from 31 the OpenSSL website [http://www.openssl.org] under either the 32 "OpenSSL License" or the "Original SSLeay License", and to distribute 33 the linked executables under the terms of the "Box Backup GPL" license. 34 35 As a special exception to the GPLv2, the Box Backup Project gives 36 permission to link any code falling under this license (the Box Backup 37 GPL) with any version of Microsoft's Volume Shadow Copy Service 7.2 SDK 38 or Microsoft Windows Software Development Kit (SDK), including 39 vssapi.lib, that can be downloaded from the Microsoft website 40 [*.microsoft.com], and to distribute the linked executables under the 41 terms of the "Box Backup GPL" license. -
box/RELEASE/0.11rc7/distribution/COMMON-MANIFEST.txt
r2573 r2657 1 LICENSE-DUAL.txt 2 3 LICENSE DUAL 4 1 5 RUN ./bootstrap 2 6 RUN cd docs; make 7 3 8 lib/common 4 9 lib/crypto … … 28 33 infrastructure/mingw 29 34 infrastructure/msvc 30 NO-LICENSE config.sub31 NO-LICENSE config.guess32 35 bootstrap 33 36 configure.ac … … 35 38 parcels.txt 36 39 runtest.pl.in 37 NO-LICENSE-IN-DIR infrastructure/m4 40 COPYING.txt 41 42 LICENSE none 43 config.sub 44 config.guess 45 infrastructure/m4 -
box/RELEASE/0.11rc7/distribution/boxbackup/DISTRIBUTION-MANIFEST.txt
r2580 r2657 1 LICENSE-GPL.txt 2 3 LICENSE DUAL 1 4 lib/intercept 2 5 lib/raidfile 6 lib/httpserver 3 7 test/raidfile 4 8 test/raidfile/testfiles 9 test/httpserver 10 11 LICENSE GPL 5 12 lib/backupclient 6 13 lib/backupstore 7 lib/httpserver8 14 bin/bbstored 9 15 bin/bbstoreaccounts … … 21 27 test/bbackupd/testfiles 22 28 test/backupdiff 23 test/httpserver24 29 test/httpserver/testfiles 25 30 test/httpserver/testfiles/photos 26 31 docs/Makefile 27 32 docs/tools 33 34 LICENSE DUAL 28 35 docs/api-notes 29 docs/api-notes/backup30 36 docs/api-notes/raidfile 31 37 docs/api-notes/raidfile/lib_raidfile.txt 32 docs/html 33 docs/html/images 38 39 LICENSE GPL 40 docs/api-notes/backup 41 42 docs/images 34 43 docs/htmlguide 35 44 docs/htmlguide/adminguide … … 67 76 BUGS.txt 68 77 contrib 69 NO-LICENSE-IN-DIR contrib/debian 70 NO-LICENSE-IN-DIR contrib/mac_osx 71 NO-LICENSE-IN-DIR contrib/redhat 72 NO-LICENSE-IN-DIR contrib/rpm 78 79 contrib/debian 80 contrib/mac_osx 81 contrib/redhat 82 contrib/rpm 73 83 REPLACE-VERSION-IN contrib/rpm/boxbackup.spec 74 NO-LICENSE-IN-DIRcontrib/solaris75 NO-LICENSE-IN-DIRcontrib/suse76 NO-LICENSE-IN-DIRcontrib/bbreporter77 NO-LICENSE-IN-DIRcontrib/windows78 NO-LICENSE-IN-DIRcontrib/windows/installer79 NO-LICENSE-IN-DIRcontrib/windows/installer/tools84 contrib/solaris 85 contrib/suse 86 contrib/bbreporter 87 contrib/windows 88 contrib/windows/installer 89 contrib/windows/installer/tools 80 90 infrastructure/msvc 81 NO-LICENSE-IN-DIRinfrastructure/msvc/200382 NO-LICENSE-IN-DIRinfrastructure/msvc/200591 infrastructure/msvc/2003 92 infrastructure/msvc/2005 -
box/RELEASE/0.11rc7/infrastructure/makedistribution.pl.in
r2573 r2657 13 13 14 14 # files which don't get the license added 15 my %no_license = (); # 'filename' => 1 15 # my %file_license = (); # 'filename' => 'GPL', 'DUAL' or 'none' 16 16 17 17 # ---------------------------------------------- 18 18 19 19 # filled in from the manifest file 20 my %no_license_dir = (); 20 # my %dir_license = (); # 'dir' => 'GPL', 'DUAL' or 'none' 21 # 22 # most recently specified LICENSE become default until overridden 23 my $current_license; # 'GPL', 'DUAL' or 'none' 21 24 22 25 # distribution name … … 69 72 mkdir $base_name,0755; 70 73 71 # get license file 72 open LICENSE,"$dist_root/LICENSE.txt" or die "Can't open $dist_root/LICENSE.txt"; 73 my $license_f; 74 read LICENSE,$license_f,100000; 75 close LICENSE; 76 my @license = ('distribution '.$base_name.' (svn version: '.$svnversion.')',split(/\n/,$license_f)); 74 # get license files 75 my %license_text; # name of license => array of lines of license text 76 foreach my $license ("GPL", "DUAL") 77 { 78 my $file = "./LICENSE-$license.txt"; 79 open LICENSE, $file or die "Can't open $file: $!"; 80 my @lines = <LICENSE>; 81 close LICENSE; 82 unshift @lines, "distribution $base_name (svn version: $svnversion)\n"; 83 $license_text{$license} = \@lines; 84 } 77 85 78 86 # copy files, make a note of all the modules included … … 89 97 next unless $line =~ m/\S/; 90 98 chomp $line; 91 my ($src,$dst,$other) = split /\s+/, $line; 99 my @words = split /\s+/, $line; 100 my ($src,$dst,$other) = @words; 92 101 $dst = $src if $dst eq ''; 93 102 if($src eq 'MKDIR') … … 96 105 mkdir "$base_name/$dst",0755; 97 106 } 98 elsif($src eq 'NO-LICENSE-IN-DIR') 99 { 100 my ($junk,$spec) = split /\s+/, $line; 101 # record that this directory shouldn't have the license added 102 $no_license_dir{$dst} = 1; 103 104 # actually copy it, to remove redundancy in manifests 105 $src = $dst; 106 $dst = $other; 107 $dst = $src if $dst eq ''; 108 $modules_included{$spec} = 1; 109 copy_dir($src,$dst); 107 elsif($src eq 'LICENSE') 108 { 109 $current_license = $dst; 110 110 } 111 111 elsif($src eq 'REPLACE-VERSION-IN') 112 112 { 113 113 replace_version_in($dst); 114 }115 elsif($src eq 'NO-LICENSE')116 {117 $no_license{$dst} = 1;118 119 # actually copy it, to remove redundancy in manifests120 $src = $dst;121 $dst = $other;122 $dst = $src if $dst eq '';123 124 copy_file($src,$dst);125 114 } 126 115 elsif($src eq 'RUN') … … 190 179 my $ext; 191 180 $ext = $1 if $fn =~ m/\.(\w+)\Z/; 192 193 # licenses not used in this directory?194 my $license_in_dir = 1;195 181 $dst_fn =~ m~\A(.+)/[^/]+?\Z~; 196 $license_in_dir = 0 if exists $no_license_dir{$1};197 182 198 183 # licensed or not? 199 if(exists $comment_chars{$ext} && !exists $no_license{$fn} && $license_in_dir)184 if(exists $comment_chars{$ext} && $current_license ne "none") 200 185 { 201 186 # copy as text, inserting license … … 215 200 # write license 216 201 my $b = $comment_chars{$ext}; 217 for(@license) 218 { 219 print OUT $b,$_,"\n" 202 my $this_license = $license_text{$current_license}; 203 for (@$this_license) 204 { 205 print OUT $b, $_; 220 206 } 221 207 -
box/RELEASE/0.11rc7/parcels.txt
r2518 r2657 9 9 bin bbackupctl 10 10 script bin/bbackupd/bbackupd-config 11 noinstall script LICENSE.txt 11 noinstall script COPYING.txt 12 noinstall script LICENSE-GPL.txt 13 noinstall script LICENSE-DUAL.txt 12 14 13 15 html bbackupd … … 51 53 script bin/bbstored/bbstored-config 52 54 script lib/raidfile/raidfile-config 53 noinstall script LICENSE.txt 55 noinstall script COPYING.txt 56 noinstall script LICENSE-GPL.txt 57 noinstall script LICENSE-DUAL.txt 54 58 55 59 html bbstored
Note: See TracChangeset
for help on using the changeset viewer.
