1 |
commit: 622b21cf681b659f19e80030367c653c9ec2730e |
2 |
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Jul 4 19:13:09 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 7 07:19:02 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=622b21cf |
7 |
|
8 |
app-backup/backuppc: remove unused patches |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/1826 |
11 |
|
12 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
13 |
|
14 |
app-backup/backuppc/files/BackupPC-2.1.2pl2.diff | 202 ----------------------- |
15 |
app-backup/backuppc/files/postinstall-en.txt | 1 - |
16 |
2 files changed, 203 deletions(-) |
17 |
|
18 |
diff --git a/app-backup/backuppc/files/BackupPC-2.1.2pl2.diff b/app-backup/backuppc/files/BackupPC-2.1.2pl2.diff |
19 |
deleted file mode 100644 |
20 |
index e98ff4f..0000000 |
21 |
--- a/app-backup/backuppc/files/BackupPC-2.1.2pl2.diff |
22 |
+++ /dev/null |
23 |
@@ -1,202 +0,0 @@ |
24 |
-# |
25 |
-# BackupPC-2.1.2pl2.diff: BackupPC patch file generated |
26 |
-# on Sun Jun 18 19:36:32 2006. |
27 |
-# |
28 |
-# This patch file should be applied to a cleanly unpacked BackupPC |
29 |
-# version 2.1.2. Do not apply any old patch files; each |
30 |
-# patch file accumulates all previous changes. |
31 |
-# |
32 |
-# Example: |
33 |
-# |
34 |
-# # fetch BackupPC-2.1.2.tar.gz |
35 |
-# # fetch BackupPC-2.1.2pl2.diff |
36 |
-# tar zxvf BackupPC-2.1.2.tar.gz |
37 |
-# cd BackupPC-2.1.2 |
38 |
-# patch -p0 < ../BackupPC-2.1.2pl2.diff |
39 |
-# perl configure.pl |
40 |
-# |
41 |
-# ChangeLog: |
42 |
-# |
43 |
-# - In conf/config.pl, changed --devices to -D in $Conf{RsyncArgs} |
44 |
-# and $Conf{RsyncRestoreArgs} to fix "fileListReceive failed" and |
45 |
-# "Can't open .../f%2f for empty output" errors with rsync 2.6.7+. |
46 |
-# Fix proposed by Justin Pessa and Vincent Ho, and confirmed by |
47 |
-# Dan Niles. |
48 |
-# |
49 |
-# - Added patch from Michael (mna.news) to ignore "file is unchanged" |
50 |
-# message from tar 1.15.x during incremental backups. |
51 |
-# |
52 |
-# - Fixed creation of .rsrc directories in bin/BackupPC_tarExtract |
53 |
-# when used with xtar on MacOS. Reported by Samuel Bancal and |
54 |
-# Matthew Radey, who helped with debugging. |
55 |
-# |
56 |
-# - Fixed bug in BackupPC_tarExtract for files >8GB in size whose |
57 |
-# lengths are multiples of 256. Reported by Jamie Myers and |
58 |
-# Marko Tukiainen, who both helped debugging the problem. |
59 |
-# |
60 |
-# - Fixed bug in lib/BackupPC/Xfer/RsyncFileIO.pm that caused |
61 |
-# incorrected deleted attributes to be set in directories |
62 |
-# where one of the files had an rsync phase 1 retry during |
63 |
-# an incremental. Reported by Tony Nelson. |
64 |
-# |
65 |
---- bin/BackupPC_tarExtract 2005-09-05 16:21:21.000000000 -0700 |
66 |
-+++ bin/BackupPC_tarExtract 2006-06-18 19:36:31.995945464 -0700 |
67 |
-@@ -58,7 +58,7 @@ |
68 |
- exit(1); |
69 |
- } |
70 |
- my $client = $1; |
71 |
--if ( $ARGV[1] !~ /^([\w\s\.\/\$-]+)$/ ) { |
72 |
-+if ( $ARGV[1] !~ /^([\w\s.\/$(){}[\]-]+)$/ ) { |
73 |
- print("$0: bad share name '$ARGV[1]'\n"); |
74 |
- exit(1); |
75 |
- } |
76 |
-@@ -101,7 +101,7 @@ |
77 |
- # Copyright 1998 Stephen Zander. All rights reserved. |
78 |
- # |
79 |
- my $tar_unpack_header |
80 |
-- = 'Z100 A8 A8 A8 A12 A12 A8 A1 Z100 A6 A2 Z32 Z32 A8 A8 A155 x12'; |
81 |
-+ = 'Z100 A8 A8 A8 a12 A12 A8 A1 Z100 A6 A2 Z32 Z32 A8 A8 A155 x12'; |
82 |
- my $tar_header_length = 512; |
83 |
- |
84 |
- my $BufSize = 1048576; # 1MB or 2^20 |
85 |
-@@ -251,7 +251,7 @@ |
86 |
- $name = $longName if ( defined($longName) ); |
87 |
- $linkname = $longLink if ( defined($longLink) ); |
88 |
- $name =~ s{^\./+}{}; |
89 |
-- $name =~ s{/+$}{}; |
90 |
-+ $name =~ s{/+\.?$}{}; |
91 |
- $name =~ s{//+}{/}g; |
92 |
- return { |
93 |
- name => $name, |
94 |
-@@ -313,7 +313,7 @@ |
95 |
- # |
96 |
- my($nRead); |
97 |
- #print("Reading $f->{name}, $f->{size} bytes, type $f->{type}\n"); |
98 |
-- pathCreate($dir, "$OutDir/$ShareName/$f->{mangleName}", $file, $f); |
99 |
-+ pathCreate($dir, "$OutDir/$ShareName/$f->{mangleName}", $f); |
100 |
- my $poolWrite = BackupPC::PoolWrite->new($bpc, |
101 |
- "$OutDir/$ShareName/$f->{mangleName}", |
102 |
- $f->{size}, $Compress); |
103 |
-@@ -351,7 +351,7 @@ |
104 |
- # a plain file. |
105 |
- # |
106 |
- $f->{size} = length($f->{linkname}); |
107 |
-- pathCreate($dir, "$OutDir/$ShareName/$f->{mangleName}", $file, $f); |
108 |
-+ pathCreate($dir, "$OutDir/$ShareName/$f->{mangleName}", $f); |
109 |
- my $poolWrite = BackupPC::PoolWrite->new($bpc, |
110 |
- "$OutDir/$ShareName/$f->{mangleName}", |
111 |
- $f->{size}, $Compress); |
112 |
-@@ -369,7 +369,7 @@ |
113 |
- # contents. |
114 |
- # |
115 |
- $f->{size} = length($f->{linkname}); |
116 |
-- pathCreate($dir, "$OutDir/$ShareName/$f->{mangleName}", $file, $f); |
117 |
-+ pathCreate($dir, "$OutDir/$ShareName/$f->{mangleName}", $f); |
118 |
- my $poolWrite = BackupPC::PoolWrite->new($bpc, |
119 |
- "$OutDir/$ShareName/$f->{mangleName}", |
120 |
- $f->{size}, $Compress); |
121 |
-@@ -393,7 +393,7 @@ |
122 |
- } else { |
123 |
- $data = "$f->{devmajor},$f->{devminor}"; |
124 |
- } |
125 |
-- pathCreate($dir, "$OutDir/$ShareName/$f->{mangleName}", $file, $f); |
126 |
-+ pathCreate($dir, "$OutDir/$ShareName/$f->{mangleName}", $f); |
127 |
- my $poolWrite = BackupPC::PoolWrite->new($bpc, |
128 |
- "$OutDir/$ShareName/$f->{mangleName}", |
129 |
- length($data), $Compress); |
130 |
-@@ -487,17 +487,21 @@ |
131 |
- # |
132 |
- sub pathCreate |
133 |
- { |
134 |
-- my($dir, $fullPath, $file, $f) = @_; |
135 |
-+ my($dir, $fullPath, $f) = @_; |
136 |
- |
137 |
- # |
138 |
- # Get parent directory of each of $dir and $fullPath |
139 |
- # |
140 |
-- $dir =~ s{/[^/]*$}{}; |
141 |
-+ # print("pathCreate: dir = $dir, fullPath = $fullPath\n"); |
142 |
-+ $dir =~ s{/([^/]*)$}{}; |
143 |
-+ my $file = $bpc->fileNameUnmangle($1); |
144 |
- $fullPath =~ s{/[^/]*$}{}; |
145 |
-- return if ( -d $fullPath ); |
146 |
-+ return if ( -d $fullPath || $file eq "" ); |
147 |
-+ unlink($fullPath) if ( -e $fullPath ); |
148 |
- mkpath($fullPath, 0, 0777); |
149 |
- $Attrib{$dir} = BackupPC::Attrib->new({ compress => $Compress }) |
150 |
- if ( !defined($Attrib{$dir}) ); |
151 |
-+ # print("pathCreate: adding file = $file to dir = $dir\n"); |
152 |
- $Attrib{$dir}->set($file, { |
153 |
- type => BPC_FTYPE_DIR, |
154 |
- mode => 0755, |
155 |
---- lib/BackupPC/Lib.pm 2005-09-05 16:21:21.000000000 -0700 |
156 |
-+++ lib/BackupPC/Lib.pm 2006-06-18 19:36:32.035939384 -0700 |
157 |
-@@ -59,7 +59,7 @@ |
158 |
- TopDir => $topDir || '__TOPDIR__', |
159 |
- BinDir => $installDir || '__INSTALLDIR__', |
160 |
- LibDir => $installDir || '__INSTALLDIR__', |
161 |
-- Version => '2.1.2', |
162 |
-+ Version => '2.1.2pl2', |
163 |
- BackupFields => [qw( |
164 |
- num type startTime endTime |
165 |
- nFiles size nFilesExist sizeExist nFilesNew sizeNew |
166 |
---- lib/BackupPC/Xfer/RsyncFileIO.pm 2005-09-05 16:21:21.000000000 -0700 |
167 |
-+++ lib/BackupPC/Xfer/RsyncFileIO.pm 2006-06-18 19:36:32.120926464 -0700 |
168 |
-@@ -405,6 +405,11 @@ |
169 |
- my($fio, $d) = @_; |
170 |
- my($poolWrite); |
171 |
- |
172 |
-+ # |
173 |
-+ # Don't write attributes on 2nd phase - they're already |
174 |
-+ # taken care of during the first phase. |
175 |
-+ # |
176 |
-+ return if ( $fio->{phase} > 0 ); |
177 |
- if ( !defined($d) ) { |
178 |
- # |
179 |
- # flush all entries (in reverse order) |
180 |
-@@ -932,6 +937,7 @@ |
181 |
- |
182 |
- close($fio->{rxInFd}) if ( defined($fio->{rxInFd}) ); |
183 |
- unlink("$fio->{outDirSh}RStmp") if ( -f "$fio->{outDirSh}RStmp" ); |
184 |
-+ $fio->{phase} = $phase; |
185 |
- |
186 |
- # |
187 |
- # Check the final md4 digest |
188 |
---- lib/BackupPC/Xfer/Tar.pm 2005-09-05 16:21:21.000000000 -0700 |
189 |
-+++ lib/BackupPC/Xfer/Tar.pm 2006-06-18 19:36:32.110927984 -0700 |
190 |
-@@ -221,8 +221,13 @@ |
191 |
- $t->{XferLOG}->write(\"$_\n") if ( $t->{logLevel} >= 2 ); |
192 |
- $t->{fileCnt}++; |
193 |
- } else { |
194 |
-- $t->{XferLOG}->write(\"$_\n") if ( $t->{logLevel} >= 0 ); |
195 |
-- $t->{xferErrCnt}++; |
196 |
-+ # |
197 |
-+ # Ignore annoying log message on incremental for tar 1.15.x |
198 |
-+ # |
199 |
-+ if ( !/: file is unchanged; not dumped$/ ) { |
200 |
-+ $t->{XferLOG}->write(\"$_\n") if ( $t->{logLevel} >= 0 ); |
201 |
-+ $t->{xferErrCnt}++; |
202 |
-+ } |
203 |
- # |
204 |
- # If tar encounters a minor error, it will exit with a non-zero |
205 |
- # status. We still consider that ok. Remember if tar prints |
206 |
---- conf/config.pl 2005-09-05 16:21:22.000000000 -0700 |
207 |
-+++ conf/config.pl 2006-06-18 19:36:31.968949568 -0700 |
208 |
-@@ -1052,7 +1052,7 @@ |
209 |
- '--perms', |
210 |
- '--owner', |
211 |
- '--group', |
212 |
-- '--devices', |
213 |
-+ '-D', |
214 |
- '--links', |
215 |
- '--times', |
216 |
- '--block-size=2048', |
217 |
-@@ -1086,7 +1086,7 @@ |
218 |
- '--perms', |
219 |
- '--owner', |
220 |
- '--group', |
221 |
-- '--devices', |
222 |
-+ '-D', |
223 |
- '--links', |
224 |
- '--times', |
225 |
- '--block-size=2048', |
226 |
|
227 |
diff --git a/app-backup/backuppc/files/postinstall-en.txt b/app-backup/backuppc/files/postinstall-en.txt |
228 |
deleted file mode 100644 |
229 |
index ec1634b..0000000 |
230 |
--- a/app-backup/backuppc/files/postinstall-en.txt |
231 |
+++ /dev/null |
232 |
@@ -1 +0,0 @@ |
233 |
-Please make sure to edit /etc/backuppc/config.pl to suit your needs. |