Merge lp:~allison/ubuntu/oneiric/backuppc/bug-852484 into lp:ubuntu/oneiric/backuppc

Proposed by Dave Walker
Status: Merged
Merged at revision: 34
Proposed branch: lp:~allison/ubuntu/oneiric/backuppc/bug-852484
Merge into: lp:ubuntu/oneiric/backuppc
Diff against target: 1367 lines (+200/-140)
74 files modified
ChangeLog (+24/-1)
README (+7/-7)
bin/BackupPC (+1/-1)
bin/BackupPC_archive (+1/-1)
bin/BackupPC_archiveHost (+1/-1)
bin/BackupPC_archiveStart (+1/-1)
bin/BackupPC_attribPrint (+1/-1)
bin/BackupPC_dump (+1/-1)
bin/BackupPC_fixupBackupSummary (+1/-1)
bin/BackupPC_link (+1/-1)
bin/BackupPC_nightly (+1/-1)
bin/BackupPC_restore (+1/-1)
bin/BackupPC_sendEmail (+1/-1)
bin/BackupPC_serverMesg (+1/-1)
bin/BackupPC_tarCreate (+1/-1)
bin/BackupPC_tarExtract (+1/-1)
bin/BackupPC_tarPCCopy (+1/-1)
bin/BackupPC_trashClean (+1/-1)
bin/BackupPC_zcat (+1/-1)
bin/BackupPC_zipCreate (+1/-1)
cgi-bin/BackupPC_Admin (+1/-1)
conf/BackupPC_stnd.css (+1/-1)
conf/BackupPC_stnd_orig.css (+1/-1)
configure.pl (+6/-6)
debian/changelog (+29/-0)
debian/control (+1/-1)
doc/BackupPC.html (+19/-17)
doc/BackupPC.pod (+19/-17)
init.d/src/debian-backuppc (+1/-1)
init.d/src/gentoo-backuppc (+1/-1)
init.d/src/linux-backuppc (+1/-1)
init.d/src/slackware-backuppc (+1/-1)
init.d/src/solaris-backuppc (+1/-1)
init.d/src/suse-backuppc (+1/-1)
lib/BackupPC/Attrib.pm (+10/-5)
lib/BackupPC/CGI/AdminOptions.pm (+1/-1)
lib/BackupPC/CGI/Archive.pm (+1/-1)
lib/BackupPC/CGI/ArchiveInfo.pm (+1/-1)
lib/BackupPC/CGI/Browse.pm (+3/-3)
lib/BackupPC/CGI/DirHistory.pm (+1/-1)
lib/BackupPC/CGI/EditConfig.pm (+1/-1)
lib/BackupPC/CGI/EmailSummary.pm (+1/-1)
lib/BackupPC/CGI/GeneralInfo.pm (+1/-1)
lib/BackupPC/CGI/HostInfo.pm (+1/-1)
lib/BackupPC/CGI/LOGlist.pm (+1/-1)
lib/BackupPC/CGI/Lib.pm (+1/-1)
lib/BackupPC/CGI/Queue.pm (+1/-1)
lib/BackupPC/CGI/RSS.pm (+1/-1)
lib/BackupPC/CGI/ReloadServer.pm (+1/-1)
lib/BackupPC/CGI/Restore.pm (+1/-1)
lib/BackupPC/CGI/RestoreFile.pm (+1/-1)
lib/BackupPC/CGI/RestoreInfo.pm (+1/-1)
lib/BackupPC/CGI/StartServer.pm (+1/-1)
lib/BackupPC/CGI/StartStopBackup.pm (+1/-1)
lib/BackupPC/CGI/StopServer.pm (+1/-1)
lib/BackupPC/CGI/Summary.pm (+1/-1)
lib/BackupPC/CGI/View.pm (+1/-1)
lib/BackupPC/Config/Meta.pm (+1/-1)
lib/BackupPC/FileZIO.pm (+1/-1)
lib/BackupPC/Lib.pm (+2/-2)
lib/BackupPC/PoolWrite.pm (+1/-1)
lib/BackupPC/Storage.pm (+1/-1)
lib/BackupPC/Storage/Text.pm (+1/-1)
lib/BackupPC/View.pm (+1/-1)
lib/BackupPC/Xfer.pm (+1/-1)
lib/BackupPC/Xfer/Archive.pm (+1/-1)
lib/BackupPC/Xfer/Ftp.pm (+1/-1)
lib/BackupPC/Xfer/Protocol.pm (+9/-12)
lib/BackupPC/Xfer/Rsync.pm (+5/-4)
lib/BackupPC/Xfer/RsyncDigest.pm (+1/-1)
lib/BackupPC/Xfer/RsyncFileIO.pm (+1/-1)
lib/BackupPC/Xfer/Smb.pm (+1/-1)
lib/BackupPC/Xfer/Tar.pm (+5/-4)
lib/BackupPC/Zip/FileMember.pm (+1/-1)
To merge this branch: bzr merge lp:~allison/ubuntu/oneiric/backuppc/bug-852484
Reviewer Review Type Date Requested Status
James Page Approve
Ubuntu branches Pending
Review via email: mp+75973@code.launchpad.net
To post a comment you must log in.
Revision history for this message
James Page (james-page) wrote :

LGTM

Revision history for this message
James Page (james-page) wrote :

However I can't upload - but still LGTM!

review: Approve
Revision history for this message
Dave Walker (davewalker) wrote :

Uploading thanks to ~james-page's review.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ChangeLog'
2--- ChangeLog 2010-11-21 14:59:53 +0000
3+++ ChangeLog 2011-09-19 08:47:26 +0000
4@@ -11,13 +11,36 @@
5 #
6 #========================================================================
7 #
8-# Version 3.2.0, released 31 Jul 2010.
9+# Version 3.2.1, released 24 Apr 2011.
10 #
11 # See http://backuppc.sourceforge.net.
12 #
13 #========================================================================
14
15 #------------------------------------------------------------------------
16+# Version 3.2.1, 24 Apr 2011
17+#------------------------------------------------------------------------
18+
19+* Ensure $num is numeric in lib/BackupPC/CGI/Browse.pm to avoid XSS
20+ attack. Report and patch by Adam E.
21+
22+* Fixed application of "*" in $Conf{BackupFilesOnly} and
23+ $Conf{BackupFilesExclud} for 2nd and later shares. Reported
24+ by Alessandro and Alexander Maringer.
25+
26+* Fixed email status check in lib/BackupPC/CGI/HostInfo.pl so that
27+ empty email info doesn't appear; reported by Wayne Trevena,
28+ and based on patch from Tyler Wagner.
29+
30+* Several fixes to FTP xfer mode related to file excludes, from
31+ Dave Pearce.
32+
33+* Wrapped eval() around unpack() in lib/BackupPC/Attrib.pm to avoid
34+ failures on corrupted attrib files; patch from Tim Connors.
35+
36+* Applied documention patch from Alexander Moisseev.
37+
38+#------------------------------------------------------------------------
39 # Version 3.2.0, 31 Jul 2010
40 #------------------------------------------------------------------------
41
42
43=== modified file 'README'
44--- README 2010-11-21 14:59:53 +0000
45+++ README 2011-09-19 08:47:26 +0000
46@@ -1,11 +1,11 @@
47
48 BackupPC
49
50- Version 3.2.0
51-
52- 31 Jul 2010
53-
54- Copyright (C) 2001-2009 Craig Barratt. All rights reserved.
55+ Version 3.2.1
56+
57+ 24 Apr 2011
58+
59+ Copyright (C) 2001-2010 Craig Barratt. All rights reserved.
60
61 This program is free software; you can redistribute it and/or
62 modify it under the terms of the GNU General Public License.
63@@ -28,8 +28,8 @@
64
65 To install BackupPC run these commands as root:
66
67- tar zxf BackupPC-3.2.0.tar.gz
68- cd BackupPC-3.2.0
69+ tar zxf BackupPC-3.2.1.tar.gz
70+ cd BackupPC-3.2.1
71 perl configure.pl
72
73 This will automatically determine some system information and prompt you
74
75=== modified file 'bin/BackupPC'
76--- bin/BackupPC 2010-11-21 14:59:53 +0000
77+++ bin/BackupPC 2011-09-19 08:47:26 +0000
78@@ -47,7 +47,7 @@
79 #
80 #========================================================================
81 #
82-# Version 3.2.0, released 31 Jul 2010.
83+# Version 3.2.1, released 24 Apr 2011.
84 #
85 # See http://backuppc.sourceforge.net.
86 #
87
88=== modified file 'bin/BackupPC_archive'
89--- bin/BackupPC_archive 2010-11-21 14:59:53 +0000
90+++ bin/BackupPC_archive 2011-09-19 08:47:26 +0000
91@@ -29,7 +29,7 @@
92 #
93 #========================================================================
94 #
95-# Version 3.2.0, released 31 Jul 2010.
96+# Version 3.2.1, released 24 Apr 2011.
97 #
98 # See http://backuppc.sourceforge.net.
99 #
100
101=== modified file 'bin/BackupPC_archiveHost'
102--- bin/BackupPC_archiveHost 2010-11-21 14:59:53 +0000
103+++ bin/BackupPC_archiveHost 2011-09-19 08:47:26 +0000
104@@ -38,7 +38,7 @@
105 #
106 #========================================================================
107 #
108-# Version 3.2.0, released 31 Jul 2010.
109+# Version 3.2.1, released 24 Apr 2011.
110 #
111 # See http://backuppc.sourceforge.net.
112 #
113
114=== modified file 'bin/BackupPC_archiveStart'
115--- bin/BackupPC_archiveStart 2010-11-21 14:59:53 +0000
116+++ bin/BackupPC_archiveStart 2011-09-19 08:47:26 +0000
117@@ -35,7 +35,7 @@
118 #
119 #========================================================================
120 #
121-# Version 3.2.0, released 31 Jul 2010.
122+# Version 3.2.1, released 24 Apr 2011.
123 #
124 # See http://backuppc.sourceforge.net.
125 #
126
127=== modified file 'bin/BackupPC_attribPrint'
128--- bin/BackupPC_attribPrint 2010-11-21 14:59:53 +0000
129+++ bin/BackupPC_attribPrint 2011-09-19 08:47:26 +0000
130@@ -31,7 +31,7 @@
131 #
132 #========================================================================
133 #
134-# Version 3.2.0, released 31 Jul 2010.
135+# Version 3.2.1, released 24 Apr 2011.
136 #
137 # See http://backuppc.sourceforge.net.
138 #
139
140=== modified file 'bin/BackupPC_dump'
141--- bin/BackupPC_dump 2011-03-07 11:35:50 +0000
142+++ bin/BackupPC_dump 2011-09-19 08:47:26 +0000
143@@ -77,7 +77,7 @@
144 #
145 #========================================================================
146 #
147-# Version 3.2.0, released 31 Jul 2010.
148+# Version 3.2.1, released 24 Apr 2011.
149 #
150 # See http://backuppc.sourceforge.net.
151 #
152
153=== modified file 'bin/BackupPC_fixupBackupSummary'
154--- bin/BackupPC_fixupBackupSummary 2010-11-21 14:59:53 +0000
155+++ bin/BackupPC_fixupBackupSummary 2011-09-19 08:47:26 +0000
156@@ -30,7 +30,7 @@
157 #
158 #========================================================================
159 #
160-# Version 3.2.0, released 31 Jul 2010.
161+# Version 3.2.1, released 24 Apr 2011.
162 #
163 # See http://backuppc.sourceforge.net.
164 #
165
166=== modified file 'bin/BackupPC_link'
167--- bin/BackupPC_link 2010-11-21 14:59:53 +0000
168+++ bin/BackupPC_link 2011-09-19 08:47:26 +0000
169@@ -39,7 +39,7 @@
170 #
171 #========================================================================
172 #
173-# Version 3.2.0, released 31 Jul 2010.
174+# Version 3.2.1, released 24 Apr 2011.
175 #
176 # See http://backuppc.sourceforge.net.
177 #
178
179=== modified file 'bin/BackupPC_nightly'
180--- bin/BackupPC_nightly 2010-11-21 14:59:53 +0000
181+++ bin/BackupPC_nightly 2011-09-19 08:47:26 +0000
182@@ -55,7 +55,7 @@
183 #
184 #========================================================================
185 #
186-# Version 3.2.0, released 31 Jul 2010.
187+# Version 3.2.1, released 24 Apr 2011.
188 #
189 # See http://backuppc.sourceforge.net.
190 #
191
192=== modified file 'bin/BackupPC_restore'
193--- bin/BackupPC_restore 2011-03-07 11:35:50 +0000
194+++ bin/BackupPC_restore 2011-09-19 08:47:26 +0000
195@@ -29,7 +29,7 @@
196 #
197 #========================================================================
198 #
199-# Version 3.2.0, released 31 Jul 2010.
200+# Version 3.2.1, released 24 Apr 2011.
201 #
202 # See http://backuppc.sourceforge.net.
203 #
204
205=== modified file 'bin/BackupPC_sendEmail'
206--- bin/BackupPC_sendEmail 2010-11-21 14:59:53 +0000
207+++ bin/BackupPC_sendEmail 2011-09-19 08:47:26 +0000
208@@ -31,7 +31,7 @@
209 #
210 #========================================================================
211 #
212-# Version 3.2.0, released 31 Jul 2010.
213+# Version 3.2.1, released 24 Apr 2011.
214 #
215 # See http://backuppc.sourceforge.net.
216 #
217
218=== modified file 'bin/BackupPC_serverMesg'
219--- bin/BackupPC_serverMesg 2010-11-21 14:59:53 +0000
220+++ bin/BackupPC_serverMesg 2011-09-19 08:47:26 +0000
221@@ -43,7 +43,7 @@
222 #
223 #========================================================================
224 #
225-# Version 3.2.0, released 31 Jul 2010.
226+# Version 3.2.1, released 24 Apr 2011.
227 #
228 # See http://backuppc.sourceforge.net.
229 #
230
231=== modified file 'bin/BackupPC_tarCreate'
232--- bin/BackupPC_tarCreate 2010-11-21 14:59:53 +0000
233+++ bin/BackupPC_tarCreate 2011-09-19 08:47:26 +0000
234@@ -55,7 +55,7 @@
235 #
236 #========================================================================
237 #
238-# Version 3.2.0, released 31 Jul 2010.
239+# Version 3.2.1, released 24 Apr 2011.
240 #
241 # See http://backuppc.sourceforge.net.
242 #
243
244=== modified file 'bin/BackupPC_tarExtract'
245--- bin/BackupPC_tarExtract 2010-11-21 14:59:53 +0000
246+++ bin/BackupPC_tarExtract 2011-09-19 08:47:26 +0000
247@@ -27,7 +27,7 @@
248 #
249 #========================================================================
250 #
251-# Version 3.2.0, released 31 Jul 2010.
252+# Version 3.2.1, released 24 Apr 2011.
253 #
254 # See http://backuppc.sourceforge.net.
255 #
256
257=== modified file 'bin/BackupPC_tarPCCopy'
258--- bin/BackupPC_tarPCCopy 2010-11-21 14:59:53 +0000
259+++ bin/BackupPC_tarPCCopy 2011-09-19 08:47:26 +0000
260@@ -38,7 +38,7 @@
261 #
262 #========================================================================
263 #
264-# Version 3.2.0, released 31 Jul 2010.
265+# Version 3.2.1, released 24 Apr 2011.
266 #
267 # See http://backuppc.sourceforge.net.
268 #
269
270=== modified file 'bin/BackupPC_trashClean'
271--- bin/BackupPC_trashClean 2010-11-21 14:59:53 +0000
272+++ bin/BackupPC_trashClean 2011-09-19 08:47:26 +0000
273@@ -29,7 +29,7 @@
274 #
275 #========================================================================
276 #
277-# Version 3.2.0, released 31 Jul 2010.
278+# Version 3.2.1, released 24 Apr 2011.
279 #
280 # See http://backuppc.sourceforge.net.
281 #
282
283=== modified file 'bin/BackupPC_zcat'
284--- bin/BackupPC_zcat 2010-11-21 14:59:53 +0000
285+++ bin/BackupPC_zcat 2011-09-19 08:47:26 +0000
286@@ -32,7 +32,7 @@
287 #
288 #========================================================================
289 #
290-# Version 3.2.0, released 31 Jul 2010.
291+# Version 3.2.1, released 24 Apr 2011.
292 #
293 # See http://backuppc.sourceforge.net.
294 #
295
296=== modified file 'bin/BackupPC_zipCreate'
297--- bin/BackupPC_zipCreate 2010-11-21 14:59:53 +0000
298+++ bin/BackupPC_zipCreate 2011-09-19 08:47:26 +0000
299@@ -51,7 +51,7 @@
300 #
301 #========================================================================
302 #
303-# Version 3.2.0, released 31 Jul 2010.
304+# Version 3.2.1, released 24 Apr 2011.
305 #
306 # See http://backuppc.sourceforge.net.
307 #
308
309=== modified file 'cgi-bin/BackupPC_Admin'
310--- cgi-bin/BackupPC_Admin 2010-11-21 14:59:53 +0000
311+++ cgi-bin/BackupPC_Admin 2011-09-19 08:47:26 +0000
312@@ -39,7 +39,7 @@
313 #
314 #========================================================================
315 #
316-# Version 3.2.0, released 31 Jul 2010.
317+# Version 3.2.1, released 24 Apr 2011.
318 #
319 # See http://backuppc.sourceforge.net.
320 #
321
322=== modified file 'conf/BackupPC_stnd.css'
323--- conf/BackupPC_stnd.css 2010-11-21 14:59:53 +0000
324+++ conf/BackupPC_stnd.css 2011-09-19 08:47:26 +0000
325@@ -1,7 +1,7 @@
326 /*
327 * BackupPC standard CSS definitions
328 *
329- * Version 3.2.0, released 31 Jul 2010.
330+ * Version 3.2.1, released 24 Apr 2011.
331 *
332 * See http://backuppc.sourceforge.net.
333 *
334
335=== modified file 'conf/BackupPC_stnd_orig.css'
336--- conf/BackupPC_stnd_orig.css 2010-11-21 14:59:53 +0000
337+++ conf/BackupPC_stnd_orig.css 2011-09-19 08:47:26 +0000
338@@ -1,7 +1,7 @@
339 /*
340 * BackupPC standard CSS definitions
341 *
342- * Version 3.2.0, released 31 Jul 2010.
343+ * Version 3.2.1, released 24 Apr 2011.
344 *
345 * See http://backuppc.sourceforge.net.
346 *
347
348=== modified file 'configure.pl'
349--- configure.pl 2011-03-07 11:35:50 +0000
350+++ configure.pl 2011-09-19 08:47:26 +0000
351@@ -19,7 +19,7 @@
352 # Craig Barratt <cbarratt@users.sourceforge.net>
353 #
354 # COPYRIGHT
355-# Copyright (C) 2001-2009 Craig Barratt
356+# Copyright (C) 2001-2010 Craig Barratt
357 #
358 # This program is free software; you can redistribute it and/or modify
359 # it under the terms of the GNU General Public License as published by
360@@ -37,7 +37,7 @@
361 #
362 #========================================================================
363 #
364-# Version 3.2.0, released 31 Jul 2010.
365+# Version 3.2.1, released 24 Apr 2011.
366 #
367 # See http://backuppc.sourceforge.net.
368 #
369@@ -72,7 +72,7 @@
370 BackupPC distribution. This probably means you did not cd to the
371 unpacked BackupPC distribution before running configure.pl, eg:
372
373- cd BackupPC-3.2.0
374+ cd BackupPC-3.2.1
375 ./configure.pl
376
377 Please try again.
378@@ -673,7 +673,7 @@
379 #
380 # Install new CSS file, making a backup copy if necessary
381 #
382- my $cssBackup = "$DestDir$Conf{CgiImageDir}/BackupPC_stnd.css.pre-3.2.0";
383+ my $cssBackup = "$DestDir$Conf{CgiImageDir}/BackupPC_stnd.css.pre-3.2.1";
384 if ( -f "$DestDir$Conf{CgiImageDir}/BackupPC_stnd.css" && !-f $cssBackup ) {
385 rename("$DestDir$Conf{CgiImageDir}/BackupPC_stnd.css", $cssBackup);
386 }
387@@ -893,7 +893,7 @@
388 #
389 # Now backup and write the config file
390 #
391-my $confCopy = "$dest.pre-3.2.0";
392+my $confCopy = "$dest.pre-3.2.1";
393 if ( -f $dest && !-f $confCopy ) {
394 #
395 # Make copy of config file, preserving ownership and modes
396@@ -1386,7 +1386,7 @@
397
398 =head1 COPYRIGHT
399
400-Copyright (C) 2001-2009 Craig Barratt.
401+Copyright (C) 2001-2010 Craig Barratt.
402
403 This program is free software; you can redistribute it and/or modify
404 it under the terms of the GNU General Public License as published by
405
406=== modified file 'debian/changelog'
407--- debian/changelog 2011-06-15 16:28:41 +0000
408+++ debian/changelog 2011-09-19 08:47:26 +0000
409@@ -1,3 +1,32 @@
410+backuppc (3.2.1-1ubuntu1) oneiric; urgency=high
411+
412+ * Merge from debian unstable. (LP: #852484) Remaining changes:
413+ - debian/backup.init, debian/rules, debian/postinst: Do not call init
414+ script on shutdown and reboot (TearDown) (Debian #488660)
415+ - debian/control: Add dependency for libsocket6-perl.
416+ - debian/control: Drop build dependency to 'par2', it's in universe.
417+ - configure.pl: Do not test for par2 being available at build time
418+ - debian/control: depend on default-mta | mail-transport-agent, instead of
419+ enumerating a long list of alternative MTAs.
420+ - debian/rules: installing setuid wrapper with setuid bit set, and no
421+ permissions granted to other (mode 4750)
422+
423+ -- Allison Randal <allison@canonical.com> Sun, 18 Sep 2011 17:37:55 -0700
424+
425+backuppc (3.2.1-1) unstable; urgency=high
426+
427+ * New upstream release. Closes: #641450
428+ * urgency set to high because of a security fix
429+
430+ -- Ludovic Drolez <ldrolez@debian.org> Tue, 13 Sep 2011 20:38:00 +0200
431+
432+backuppc (3.2.0-4.1) unstable; urgency=low
433+
434+ * Non-maintainer upload.
435+ * Use inetutils-ping as an alternative to iputils-ping. Closes: #630777
436+
437+ -- Bernd Zeimetz <bzed@debian.org> Tue, 28 Jun 2011 22:31:10 +0200
438+
439 backuppc (3.2.0-4ubuntu1) oneiric; urgency=low
440
441 * Merge from debian unstable. Remaining changes:
442
443=== modified file 'debian/control'
444--- debian/control 2011-06-15 16:28:41 +0000
445+++ debian/control 2011-09-19 08:47:26 +0000
446@@ -8,7 +8,7 @@
447
448 Package: backuppc
449 Architecture: any
450-Depends: ${shlibs:Depends}, ${perl:Depends}, libdigest-md5-perl, libcompress-zlib-perl, libarchive-zip-perl, tar (>> 1.13), adduser (>=3.9), dpkg (>=1.8.3), apache2 | httpd, ${misc:Depends}, smbclient, samba-common-bin, bzip2, default-mta | mail-transport-agent, iputils-ping, ucf, libtime-modules-perl, libwww-perl, libsocket6-perl
451+Depends: ${shlibs:Depends}, ${perl:Depends}, libdigest-md5-perl, libcompress-zlib-perl, libarchive-zip-perl, tar (>> 1.13), adduser (>=3.9), dpkg (>=1.8.3), apache2 | httpd, ${misc:Depends}, smbclient, samba-common-bin, bzip2, default-mta | mail-transport-agent, iputils-ping | inetutils-ping, ucf, libtime-modules-perl, libwww-perl, libsocket6-perl
452 Recommends: rsync, libfile-rsyncp-perl (>= 0.68), openssh-client | ssh-client, rrdtool, libio-dirent-perl
453 Suggests: w3m | www-browser, par2
454 Conflicts: libfile-rsyncp-perl (<< 0.68)
455
456=== modified file 'doc/BackupPC.html'
457--- doc/BackupPC.html 2010-11-21 14:59:53 +0000
458+++ doc/BackupPC.html 2011-09-19 08:47:26 +0000
459@@ -124,8 +124,8 @@
460 <p>
461 </p>
462 <h1><a name="backuppc_introduction">BackupPC Introduction</a></h1>
463-<p>This documentation describes BackupPC version 3.2.0,
464-released on 31 Jul 2010.</p>
465+<p>This documentation describes BackupPC version 3.2.1,
466+released on 24 Apr 2011.</p>
467 <p>
468 </p>
469 <h2><a name="overview">Overview</a></h2>
470@@ -591,7 +591,7 @@
471 and install BackupPC yourself. If you use a package provided by a
472 distribution, the package management system should take of installing
473 any needed dependencies.</p>
474-<p>First off, there are three perl modules you should install.
475+<p>First off, there are five perl modules you should install.
476 These are all optional, but highly recommended:</p>
477 <dl>
478 <dt><strong><a name="compress_zlib" class="item">Compress::Zlib</a></strong></dt>
479@@ -624,12 +624,14 @@
480 File::RsyncP is available from <a href="http://perlrsync.sourceforge.net">http://perlrsync.sourceforge.net</a>.
481 Version 0.68 or later is required.</p>
482 </dd>
483-<dt><strong><a name="file_rsyncp2" class="item">File::RsyncP</a></strong></dt>
484+<dt><strong><a name="file_listing_net_ftp_net_ftp_retrhandle_net_ftp_autoreconnect" class="item">File::Listing, Net::FTP, Net::FTP::RetrHandle, Net::FTP::AutoReconnect</a></strong></dt>
485
486 <dd>
487-<p>To use ftp with BackupPC you will need to install three libraries:
488-Net::FTP, Net::FTP::RetrHandle and Net::FTP::AutoReconnect. You can
489-run &quot;perldoc Net::FTP&quot; to see if a particular module is installed.</p>
490+<p>To use ftp with BackupPC you will need four libraries, but actually
491+need to install only File::Listing from <a href="http://www.cpan.org">http://www.cpan.org</a>.
492+You can run &quot;perldoc File::Listing&quot; to see if this module is installed.
493+Net::FTP is a standard module. Net::FTP::RetrHandle and
494+Net::FTP::AutoReconnect included in BackupPC distribution.</p>
495 </dd>
496 </dl>
497 <p>To build and install these packages you should use the cpan program.
498@@ -644,27 +646,27 @@
499 make install</pre>
500 <p>The same sequence of commands can be used for each module.</p>
501 <p>Now let's move onto BackupPC itself. After fetching
502-BackupPC-3.2.0.tar.gz, run these commands as root:</p>
503+BackupPC-3.2.1.tar.gz, run these commands as root:</p>
504 <pre>
505- tar zxf BackupPC-3.2.0.tar.gz
506- cd BackupPC-3.2.0
507+ tar zxf BackupPC-3.2.1.tar.gz
508+ cd BackupPC-3.2.1
509 perl configure.pl</pre>
510 <p>In the future this release might also have patches available on the
511 SourceForge site. These patch files are text files, with a name of
512 the form</p>
513 <pre>
514- BackupPC-3.2.0plN.diff</pre>
515+ BackupPC-3.2.1plN.diff</pre>
516 <p>where N is the patch level, eg: pl2 is patch-level 2. These
517 patch files are cumulative: you only need apply the last patch
518 file, not all the earlier patch files. If a patch file is
519-available, eg: BackupPC-3.2.0pl2.diff, you should apply
520+available, eg: BackupPC-3.2.1pl2.diff, you should apply
521 the patch after extracting the tar file:</p>
522 <pre>
523- # fetch BackupPC-3.2.0.tar.gz
524- # fetch BackupPC-3.2.0pl2.diff
525- tar zxf BackupPC-3.2.0.tar.gz
526- cd BackupPC-3.2.0
527- patch -p0 &lt; ../BackupPC-3.2.0pl2.diff
528+ # fetch BackupPC-3.2.1.tar.gz
529+ # fetch BackupPC-3.2.1pl2.diff
530+ tar zxf BackupPC-3.2.1.tar.gz
531+ cd BackupPC-3.2.1
532+ patch -p0 &lt; ../BackupPC-3.2.1pl2.diff
533 perl configure.pl</pre>
534 <p>A patch file includes comments that describe that bug fixes
535 and changes. Feel free to review it before you apply the patch.</p>
536
537=== modified file 'doc/BackupPC.pod'
538--- doc/BackupPC.pod 2010-11-21 14:59:53 +0000
539+++ doc/BackupPC.pod 2011-09-19 08:47:26 +0000
540@@ -1,7 +1,7 @@
541 =head1 BackupPC Introduction
542
543-This documentation describes BackupPC version 3.2.0,
544-released on 31 Jul 2010.
545+This documentation describes BackupPC version 3.2.1,
546+released on 24 Apr 2011.
547
548 =head2 Overview
549
550@@ -522,7 +522,7 @@
551 distribution, the package management system should take of installing
552 any needed dependencies.
553
554-First off, there are three perl modules you should install.
555+First off, there are five perl modules you should install.
556 These are all optional, but highly recommended:
557
558 =over 4
559@@ -553,11 +553,13 @@
560 File::RsyncP is available from L<http://perlrsync.sourceforge.net>.
561 Version 0.68 or later is required.
562
563-=item File::RsyncP
564+=item File::Listing, Net::FTP, Net::FTP::RetrHandle, Net::FTP::AutoReconnect
565
566-To use ftp with BackupPC you will need to install three libraries:
567-Net::FTP, Net::FTP::RetrHandle and Net::FTP::AutoReconnect. You can
568-run "perldoc Net::FTP" to see if a particular module is installed.
569+To use ftp with BackupPC you will need four libraries, but actually
570+need to install only File::Listing from L<http://www.cpan.org>.
571+You can run "perldoc File::Listing" to see if this module is installed.
572+Net::FTP is a standard module. Net::FTP::RetrHandle and
573+Net::FTP::AutoReconnect included in BackupPC distribution.
574
575 =back
576
577@@ -575,29 +577,29 @@
578 The same sequence of commands can be used for each module.
579
580 Now let's move onto BackupPC itself. After fetching
581-BackupPC-3.2.0.tar.gz, run these commands as root:
582+BackupPC-3.2.1.tar.gz, run these commands as root:
583
584- tar zxf BackupPC-3.2.0.tar.gz
585- cd BackupPC-3.2.0
586+ tar zxf BackupPC-3.2.1.tar.gz
587+ cd BackupPC-3.2.1
588 perl configure.pl
589
590 In the future this release might also have patches available on the
591 SourceForge site. These patch files are text files, with a name of
592 the form
593
594- BackupPC-3.2.0plN.diff
595+ BackupPC-3.2.1plN.diff
596
597 where N is the patch level, eg: pl2 is patch-level 2. These
598 patch files are cumulative: you only need apply the last patch
599 file, not all the earlier patch files. If a patch file is
600-available, eg: BackupPC-3.2.0pl2.diff, you should apply
601+available, eg: BackupPC-3.2.1pl2.diff, you should apply
602 the patch after extracting the tar file:
603
604- # fetch BackupPC-3.2.0.tar.gz
605- # fetch BackupPC-3.2.0pl2.diff
606- tar zxf BackupPC-3.2.0.tar.gz
607- cd BackupPC-3.2.0
608- patch -p0 < ../BackupPC-3.2.0pl2.diff
609+ # fetch BackupPC-3.2.1.tar.gz
610+ # fetch BackupPC-3.2.1pl2.diff
611+ tar zxf BackupPC-3.2.1.tar.gz
612+ cd BackupPC-3.2.1
613+ patch -p0 < ../BackupPC-3.2.1pl2.diff
614 perl configure.pl
615
616 A patch file includes comments that describe that bug fixes
617
618=== modified file 'init.d/src/debian-backuppc'
619--- init.d/src/debian-backuppc 2010-11-21 14:59:53 +0000
620+++ init.d/src/debian-backuppc 2011-09-19 08:47:26 +0000
621@@ -4,7 +4,7 @@
622 #
623 # Startup init script for BackupPC on Debian.
624 #
625-# Distributed with BackupPC version 3.2.0, released 31 Jul 2010.
626+# Distributed with BackupPC version 3.2.1, released 24 Apr 2011.
627 #
628
629 set -e
630
631=== modified file 'init.d/src/gentoo-backuppc'
632--- init.d/src/gentoo-backuppc 2010-11-21 14:59:53 +0000
633+++ init.d/src/gentoo-backuppc 2011-09-19 08:47:26 +0000
634@@ -4,7 +4,7 @@
635 #
636 # Startup init script for BackupPC on Gentoo` linux.
637 #
638-# Distributed with BackupPC version 3.2.0, released 31 Jul 2010.
639+# Distributed with BackupPC version 3.2.1, released 24 Apr 2011.
640 #
641 # description: Starts and stops the BackupPC server
642 # Copy to /etc/init.d and run 'rc-update add backuppc default'
643
644=== modified file 'init.d/src/linux-backuppc'
645--- init.d/src/linux-backuppc 2010-11-21 14:59:53 +0000
646+++ init.d/src/linux-backuppc 2011-09-19 08:47:26 +0000
647@@ -4,7 +4,7 @@
648 #
649 # Startup init script for BackupPC on Redhat linux.
650 #
651-# Distributed with BackupPC version 3.2.0, released 31 Jul 2010.
652+# Distributed with BackupPC version 3.2.1, released 24 Apr 2011.
653 #
654 # chkconfig: - 91 35
655 # description: Starts and stops the BackupPC server
656
657=== modified file 'init.d/src/slackware-backuppc'
658--- init.d/src/slackware-backuppc 2010-11-21 14:59:53 +0000
659+++ init.d/src/slackware-backuppc 2011-09-19 08:47:26 +0000
660@@ -4,7 +4,7 @@
661 #
662 # Startup init script for BackupPC for Slackware.
663 #
664-# Distributed with BackupPC version 3.2.0, released 31 Jul 2010.
665+# Distributed with BackupPC version 3.2.1, released 24 Apr 2011.
666 #
667 # Provided by Tony Nelson.
668 #
669
670=== modified file 'init.d/src/solaris-backuppc'
671--- init.d/src/solaris-backuppc 2010-11-21 14:59:53 +0000
672+++ init.d/src/solaris-backuppc 2011-09-19 08:47:26 +0000
673@@ -4,7 +4,7 @@
674 #
675 # Startup init script for BackupPC for solaris.
676 #
677-# Distributed with BackupPC version 3.2.0, released 31 Jul 2010.
678+# Distributed with BackupPC version 3.2.1, released 24 Apr 2011.
679 #
680 # Not tested...
681 #
682
683=== modified file 'init.d/src/suse-backuppc'
684--- init.d/src/suse-backuppc 2010-11-21 14:59:53 +0000
685+++ init.d/src/suse-backuppc 2011-09-19 08:47:26 +0000
686@@ -4,7 +4,7 @@
687 #
688 # Startup init script for BackupPC on suse linux.
689 #
690-# Distributed with BackupPC version 3.2.0, released 31 Jul 2010.
691+# Distributed with BackupPC version 3.2.1, released 24 Apr 2011.
692 #
693
694 set -e
695
696=== modified file 'lib/BackupPC/Attrib.pm' (properties changed: +x to -x)
697--- lib/BackupPC/Attrib.pm 2010-11-21 14:59:53 +0000
698+++ lib/BackupPC/Attrib.pm 2011-09-19 08:47:26 +0000
699@@ -30,7 +30,7 @@
700 #
701 #========================================================================
702 #
703-# Version 3.2.0, released 31 Jul 2010.
704+# Version 3.2.1, released 24 Apr 2011.
705 #
706 # See http://backuppc.sourceforge.net.
707 #
708@@ -297,10 +297,15 @@
709 = $a->{files}{$file}{size} % (4096 * 1024 * 1024);
710 $a->{files}{$file}{sizeDiv4GB}
711 = int($a->{files}{$file}{size} / (4096 * 1024 * 1024));
712- $data .= pack("w a* w$nFldsW N$nFldsN", length($file), $file,
713- @{$a->{files}{$file}}{@FldsUnixW},
714- @{$a->{files}{$file}}{@FldsUnixN},
715- );
716+ eval {
717+ $data .= pack("w a* w$nFldsW N$nFldsN", length($file), $file,
718+ @{$a->{files}{$file}}{@FldsUnixW},
719+ @{$a->{files}{$file}}{@FldsUnixN},
720+ );
721+ };
722+ if ( $@ ) {
723+ $a->{_errStr} = "Can't pack attr for $file: " . Dumper($a->{files}{$file});
724+ }
725 }
726 return $data;
727 }
728
729=== modified file 'lib/BackupPC/CGI/AdminOptions.pm' (properties changed: +x to -x)
730--- lib/BackupPC/CGI/AdminOptions.pm 2010-11-21 14:59:53 +0000
731+++ lib/BackupPC/CGI/AdminOptions.pm 2011-09-19 08:47:26 +0000
732@@ -28,7 +28,7 @@
733 #
734 #========================================================================
735 #
736-# Version 3.2.0, released 31 Jul 2010.
737+# Version 3.2.1, released 24 Apr 2011.
738 #
739 # See http://backuppc.sourceforge.net.
740 #
741
742=== modified file 'lib/BackupPC/CGI/Archive.pm' (properties changed: +x to -x)
743--- lib/BackupPC/CGI/Archive.pm 2010-11-21 14:59:53 +0000
744+++ lib/BackupPC/CGI/Archive.pm 2011-09-19 08:47:26 +0000
745@@ -28,7 +28,7 @@
746 #
747 #========================================================================
748 #
749-# Version 3.2.0, released 31 Jul 2010.
750+# Version 3.2.1, released 24 Apr 2011.
751 #
752 # See http://backuppc.sourceforge.net.
753 #
754
755=== modified file 'lib/BackupPC/CGI/ArchiveInfo.pm' (properties changed: +x to -x)
756--- lib/BackupPC/CGI/ArchiveInfo.pm 2010-11-21 14:59:53 +0000
757+++ lib/BackupPC/CGI/ArchiveInfo.pm 2011-09-19 08:47:26 +0000
758@@ -28,7 +28,7 @@
759 #
760 #========================================================================
761 #
762-# Version 3.2.0, released 31 Jul 2010.
763+# Version 3.2.1, released 24 Apr 2011.
764 #
765 # See http://backuppc.sourceforge.net.
766 #
767
768=== modified file 'lib/BackupPC/CGI/Browse.pm' (properties changed: +x to -x)
769--- lib/BackupPC/CGI/Browse.pm 2010-11-21 14:59:53 +0000
770+++ lib/BackupPC/CGI/Browse.pm 2011-09-19 08:47:26 +0000
771@@ -28,7 +28,7 @@
772 #
773 #========================================================================
774 #
775-# Version 3.2.0, released 31 Jul 2010.
776+# Version 3.2.1, released 24 Apr 2011.
777 #
778 # See http://backuppc.sourceforge.net.
779 #
780@@ -73,8 +73,8 @@
781 for ( $i = 0 ; $i < @Backups ; $i++ ) {
782 last if ( $Backups[$i]{num} == $num );
783 }
784- if ( $i >= @Backups ) {
785- ErrorExit("Backup number $num for host ${EscHTML($host)} does"
786+ if ( $i >= @Backups || $num !~ /^\d+$/ ) {
787+ ErrorExit("Backup number ${EscHTML($num)} for host ${EscHTML($host)} does"
788 . " not exist.");
789 }
790 my $backupTime = timeStamp2($Backups[$i]{startTime});
791
792=== modified file 'lib/BackupPC/CGI/DirHistory.pm' (properties changed: +x to -x)
793--- lib/BackupPC/CGI/DirHistory.pm 2010-11-21 14:59:53 +0000
794+++ lib/BackupPC/CGI/DirHistory.pm 2011-09-19 08:47:26 +0000
795@@ -28,7 +28,7 @@
796 #
797 #========================================================================
798 #
799-# Version 3.2.0, released 31 Jul 2010.
800+# Version 3.2.1, released 24 Apr 2011.
801 #
802 # See http://backuppc.sourceforge.net.
803 #
804
805=== modified file 'lib/BackupPC/CGI/EditConfig.pm' (properties changed: +x to -x)
806--- lib/BackupPC/CGI/EditConfig.pm 2010-11-21 14:59:53 +0000
807+++ lib/BackupPC/CGI/EditConfig.pm 2011-09-19 08:47:26 +0000
808@@ -28,7 +28,7 @@
809 #
810 #========================================================================
811 #
812-# Version 3.2.0, released 31 Jul 2010.
813+# Version 3.2.1, released 24 Apr 2011.
814 #
815 # See http://backuppc.sourceforge.net.
816 #
817
818=== modified file 'lib/BackupPC/CGI/EmailSummary.pm' (properties changed: +x to -x)
819--- lib/BackupPC/CGI/EmailSummary.pm 2010-11-21 14:59:53 +0000
820+++ lib/BackupPC/CGI/EmailSummary.pm 2011-09-19 08:47:26 +0000
821@@ -28,7 +28,7 @@
822 #
823 #========================================================================
824 #
825-# Version 3.2.0, released 31 Jul 2010.
826+# Version 3.2.1, released 24 Apr 2011.
827 #
828 # See http://backuppc.sourceforge.net.
829 #
830
831=== modified file 'lib/BackupPC/CGI/GeneralInfo.pm' (properties changed: +x to -x)
832--- lib/BackupPC/CGI/GeneralInfo.pm 2010-11-21 14:59:53 +0000
833+++ lib/BackupPC/CGI/GeneralInfo.pm 2011-09-19 08:47:26 +0000
834@@ -28,7 +28,7 @@
835 #
836 #========================================================================
837 #
838-# Version 3.2.0, released 31 Jul 2010.
839+# Version 3.2.1, released 24 Apr 2011.
840 #
841 # See http://backuppc.sourceforge.net.
842 #
843
844=== modified file 'lib/BackupPC/CGI/HostInfo.pm' (properties changed: +x to -x)
845--- lib/BackupPC/CGI/HostInfo.pm 2010-11-21 14:59:53 +0000
846+++ lib/BackupPC/CGI/HostInfo.pm 2011-09-19 08:47:26 +0000
847@@ -28,7 +28,7 @@
848 #
849 #========================================================================
850 #
851-# Version 3.2.0, released 31 Jul 2010.
852+# Version 3.2.1, released 24 Apr 2011.
853 #
854 # See http://backuppc.sourceforge.net.
855 #
856
857=== modified file 'lib/BackupPC/CGI/LOGlist.pm' (properties changed: +x to -x)
858--- lib/BackupPC/CGI/LOGlist.pm 2010-11-21 14:59:53 +0000
859+++ lib/BackupPC/CGI/LOGlist.pm 2011-09-19 08:47:26 +0000
860@@ -28,7 +28,7 @@
861 #
862 #========================================================================
863 #
864-# Version 3.2.0, released 31 Jul 2010.
865+# Version 3.2.1, released 24 Apr 2011.
866 #
867 # See http://backuppc.sourceforge.net.
868 #
869
870=== modified file 'lib/BackupPC/CGI/Lib.pm' (properties changed: +x to -x)
871--- lib/BackupPC/CGI/Lib.pm 2010-11-21 14:59:53 +0000
872+++ lib/BackupPC/CGI/Lib.pm 2011-09-19 08:47:26 +0000
873@@ -29,7 +29,7 @@
874 #
875 #========================================================================
876 #
877-# Version 3.2.0, released 31 Jul 2010.
878+# Version 3.2.1, released 24 Apr 2011.
879 #
880 # See http://backuppc.sourceforge.net.
881 #
882
883=== modified file 'lib/BackupPC/CGI/Queue.pm' (properties changed: +x to -x)
884--- lib/BackupPC/CGI/Queue.pm 2010-11-21 14:59:53 +0000
885+++ lib/BackupPC/CGI/Queue.pm 2011-09-19 08:47:26 +0000
886@@ -28,7 +28,7 @@
887 #
888 #========================================================================
889 #
890-# Version 3.2.0, released 31 Jul 2010.
891+# Version 3.2.1, released 24 Apr 2011.
892 #
893 # See http://backuppc.sourceforge.net.
894 #
895
896=== modified file 'lib/BackupPC/CGI/RSS.pm' (properties changed: +x to -x)
897--- lib/BackupPC/CGI/RSS.pm 2010-11-21 14:59:53 +0000
898+++ lib/BackupPC/CGI/RSS.pm 2011-09-19 08:47:26 +0000
899@@ -28,7 +28,7 @@
900 #
901 #========================================================================
902 #
903-# Version 3.2.0, released 31 Jul 2010.
904+# Version 3.2.1, released 24 Apr 2011.
905 #
906 # See http://backuppc.sourceforge.net.
907 #
908
909=== modified file 'lib/BackupPC/CGI/ReloadServer.pm' (properties changed: +x to -x)
910--- lib/BackupPC/CGI/ReloadServer.pm 2010-11-21 14:59:53 +0000
911+++ lib/BackupPC/CGI/ReloadServer.pm 2011-09-19 08:47:26 +0000
912@@ -28,7 +28,7 @@
913 #
914 #========================================================================
915 #
916-# Version 3.2.0, released 31 Jul 2010.
917+# Version 3.2.1, released 24 Apr 2011.
918 #
919 # See http://backuppc.sourceforge.net.
920 #
921
922=== modified file 'lib/BackupPC/CGI/Restore.pm' (properties changed: +x to -x)
923--- lib/BackupPC/CGI/Restore.pm 2010-11-21 14:59:53 +0000
924+++ lib/BackupPC/CGI/Restore.pm 2011-09-19 08:47:26 +0000
925@@ -28,7 +28,7 @@
926 #
927 #========================================================================
928 #
929-# Version 3.2.0, released 31 Jul 2010.
930+# Version 3.2.1, released 24 Apr 2011.
931 #
932 # See http://backuppc.sourceforge.net.
933 #
934
935=== modified file 'lib/BackupPC/CGI/RestoreFile.pm' (properties changed: +x to -x)
936--- lib/BackupPC/CGI/RestoreFile.pm 2010-11-21 14:59:53 +0000
937+++ lib/BackupPC/CGI/RestoreFile.pm 2011-09-19 08:47:26 +0000
938@@ -28,7 +28,7 @@
939 #
940 #========================================================================
941 #
942-# Version 3.2.0, released 31 Jul 2010.
943+# Version 3.2.1, released 24 Apr 2011.
944 #
945 # See http://backuppc.sourceforge.net.
946 #
947
948=== modified file 'lib/BackupPC/CGI/RestoreInfo.pm' (properties changed: +x to -x)
949--- lib/BackupPC/CGI/RestoreInfo.pm 2010-11-21 14:59:53 +0000
950+++ lib/BackupPC/CGI/RestoreInfo.pm 2011-09-19 08:47:26 +0000
951@@ -28,7 +28,7 @@
952 #
953 #========================================================================
954 #
955-# Version 3.2.0, released 31 Jul 2010.
956+# Version 3.2.1, released 24 Apr 2011.
957 #
958 # See http://backuppc.sourceforge.net.
959 #
960
961=== modified file 'lib/BackupPC/CGI/StartServer.pm' (properties changed: +x to -x)
962--- lib/BackupPC/CGI/StartServer.pm 2010-11-21 14:59:53 +0000
963+++ lib/BackupPC/CGI/StartServer.pm 2011-09-19 08:47:26 +0000
964@@ -28,7 +28,7 @@
965 #
966 #========================================================================
967 #
968-# Version 3.2.0, released 31 Jul 2010.
969+# Version 3.2.1, released 24 Apr 2011.
970 #
971 # See http://backuppc.sourceforge.net.
972 #
973
974=== modified file 'lib/BackupPC/CGI/StartStopBackup.pm' (properties changed: +x to -x)
975--- lib/BackupPC/CGI/StartStopBackup.pm 2010-11-21 14:59:53 +0000
976+++ lib/BackupPC/CGI/StartStopBackup.pm 2011-09-19 08:47:26 +0000
977@@ -28,7 +28,7 @@
978 #
979 #========================================================================
980 #
981-# Version 3.2.0, released 31 Jul 2010.
982+# Version 3.2.1, released 24 Apr 2011.
983 #
984 # See http://backuppc.sourceforge.net.
985 #
986
987=== modified file 'lib/BackupPC/CGI/StopServer.pm' (properties changed: +x to -x)
988--- lib/BackupPC/CGI/StopServer.pm 2010-11-21 14:59:53 +0000
989+++ lib/BackupPC/CGI/StopServer.pm 2011-09-19 08:47:26 +0000
990@@ -28,7 +28,7 @@
991 #
992 #========================================================================
993 #
994-# Version 3.2.0, released 31 Jul 2010.
995+# Version 3.2.1, released 24 Apr 2011.
996 #
997 # See http://backuppc.sourceforge.net.
998 #
999
1000=== modified file 'lib/BackupPC/CGI/Summary.pm' (properties changed: +x to -x)
1001--- lib/BackupPC/CGI/Summary.pm 2010-11-21 14:59:53 +0000
1002+++ lib/BackupPC/CGI/Summary.pm 2011-09-19 08:47:26 +0000
1003@@ -28,7 +28,7 @@
1004 #
1005 #========================================================================
1006 #
1007-# Version 3.2.0, released 31 Jul 2010.
1008+# Version 3.2.1, released 24 Apr 2011.
1009 #
1010 # See http://backuppc.sourceforge.net.
1011 #
1012
1013=== modified file 'lib/BackupPC/CGI/View.pm' (properties changed: +x to -x)
1014--- lib/BackupPC/CGI/View.pm 2010-11-21 14:59:53 +0000
1015+++ lib/BackupPC/CGI/View.pm 2011-09-19 08:47:26 +0000
1016@@ -28,7 +28,7 @@
1017 #
1018 #========================================================================
1019 #
1020-# Version 3.2.0, released 31 Jul 2010.
1021+# Version 3.2.1, released 24 Apr 2011.
1022 #
1023 # See http://backuppc.sourceforge.net.
1024 #
1025
1026=== modified file 'lib/BackupPC/Config.pm' (properties changed: +x to -x)
1027=== modified file 'lib/BackupPC/Config/Meta.pm' (properties changed: +x to -x)
1028--- lib/BackupPC/Config/Meta.pm 2011-03-07 11:35:50 +0000
1029+++ lib/BackupPC/Config/Meta.pm 2011-09-19 08:47:26 +0000
1030@@ -28,7 +28,7 @@
1031 #
1032 #========================================================================
1033 #
1034-# Version 3.2.0, released 31 Jul 2010.
1035+# Version 3.2.1, released 24 Apr 2011.
1036 #
1037 # See http://backuppc.sourceforge.net.
1038 #
1039
1040=== modified file 'lib/BackupPC/FileZIO.pm' (properties changed: +x to -x)
1041--- lib/BackupPC/FileZIO.pm 2010-11-21 14:59:53 +0000
1042+++ lib/BackupPC/FileZIO.pm 2011-09-19 08:47:26 +0000
1043@@ -29,7 +29,7 @@
1044 #
1045 #========================================================================
1046 #
1047-# Version 3.2.0, released 31 Jul 2010.
1048+# Version 3.2.1, released 24 Apr 2011.
1049 #
1050 # See http://backuppc.sourceforge.net.
1051 #
1052
1053=== modified file 'lib/BackupPC/Lang/de.pm' (properties changed: +x to -x)
1054=== modified file 'lib/BackupPC/Lang/en.pm' (properties changed: +x to -x)
1055=== modified file 'lib/BackupPC/Lang/es.pm' (properties changed: +x to -x)
1056=== modified file 'lib/BackupPC/Lang/fr.pm' (properties changed: +x to -x)
1057=== modified file 'lib/BackupPC/Lang/it.pm' (properties changed: +x to -x)
1058=== modified file 'lib/BackupPC/Lang/nl.pm' (properties changed: +x to -x)
1059=== modified file 'lib/BackupPC/Lang/pl.pm' (properties changed: +x to -x)
1060=== modified file 'lib/BackupPC/Lang/pt_br.pm' (properties changed: +x to -x)
1061=== modified file 'lib/BackupPC/Lang/zh_CN.pm' (properties changed: +x to -x)
1062=== modified file 'lib/BackupPC/Lib.pm' (properties changed: +x to -x)
1063--- lib/BackupPC/Lib.pm 2011-03-07 11:35:50 +0000
1064+++ lib/BackupPC/Lib.pm 2011-09-19 08:47:26 +0000
1065@@ -29,7 +29,7 @@
1066 #
1067 #========================================================================
1068 #
1069-# Version 3.2.0, released 31 Jul 2010.
1070+# Version 3.2.1, released 24 Apr 2011.
1071 #
1072 # See http://backuppc.sourceforge.net.
1073 #
1074@@ -131,7 +131,7 @@
1075
1076 my $bpc = bless {
1077 %$paths,
1078- Version => '3.2.0',
1079+ Version => '3.2.1',
1080 }, $class;
1081
1082 $bpc->{storage} = BackupPC::Storage->new($paths);
1083
1084=== modified file 'lib/BackupPC/PoolWrite.pm' (properties changed: +x to -x)
1085--- lib/BackupPC/PoolWrite.pm 2010-11-21 14:59:53 +0000
1086+++ lib/BackupPC/PoolWrite.pm 2011-09-19 08:47:26 +0000
1087@@ -56,7 +56,7 @@
1088 #
1089 #========================================================================
1090 #
1091-# Version 3.2.0, released 31 Jul 2010.
1092+# Version 3.2.1, released 24 Apr 2011.
1093 #
1094 # See http://backuppc.sourceforge.net.
1095 #
1096
1097=== modified file 'lib/BackupPC/Storage.pm' (properties changed: +x to -x)
1098--- lib/BackupPC/Storage.pm 2010-11-21 14:59:53 +0000
1099+++ lib/BackupPC/Storage.pm 2011-09-19 08:47:26 +0000
1100@@ -29,7 +29,7 @@
1101 #
1102 #========================================================================
1103 #
1104-# Version 3.2.0, released 31 Jul 2010.
1105+# Version 3.2.1, released 24 Apr 2011.
1106 #
1107 # See http://backuppc.sourceforge.net.
1108 #
1109
1110=== modified file 'lib/BackupPC/Storage/Text.pm' (properties changed: +x to -x)
1111--- lib/BackupPC/Storage/Text.pm 2010-11-21 14:59:53 +0000
1112+++ lib/BackupPC/Storage/Text.pm 2011-09-19 08:47:26 +0000
1113@@ -30,7 +30,7 @@
1114 #
1115 #========================================================================
1116 #
1117-# Version 3.2.0, released 31 Jul 2010.
1118+# Version 3.2.1, released 24 Apr 2011.
1119 #
1120 # See http://backuppc.sourceforge.net.
1121 #
1122
1123=== modified file 'lib/BackupPC/View.pm' (properties changed: +x to -x)
1124--- lib/BackupPC/View.pm 2010-11-21 14:59:53 +0000
1125+++ lib/BackupPC/View.pm 2011-09-19 08:47:26 +0000
1126@@ -31,7 +31,7 @@
1127 #
1128 #========================================================================
1129 #
1130-# Version 3.2.0, released 31 Jul 2010.
1131+# Version 3.2.1, released 24 Apr 2011.
1132 #
1133 # See http://backuppc.sourceforge.net.
1134 #
1135
1136=== modified file 'lib/BackupPC/Xfer.pm' (properties changed: +x to -x)
1137--- lib/BackupPC/Xfer.pm 2010-10-06 20:57:45 +0000
1138+++ lib/BackupPC/Xfer.pm 2011-09-19 08:47:26 +0000
1139@@ -30,7 +30,7 @@
1140 #
1141 #========================================================================
1142 #
1143-# Version 3.2.0, released 31 Jul 2010.
1144+# Version 3.2.1, released 24 Apr 2011.
1145 #
1146 # See http://backuppc.sourceforge.net.
1147 #
1148
1149=== modified file 'lib/BackupPC/Xfer/Archive.pm' (properties changed: +x to -x)
1150--- lib/BackupPC/Xfer/Archive.pm 2010-11-21 14:59:53 +0000
1151+++ lib/BackupPC/Xfer/Archive.pm 2011-09-19 08:47:26 +0000
1152@@ -29,7 +29,7 @@
1153 #
1154 #========================================================================
1155 #
1156-# Version 3.2.0, released 31 Jul 2010.
1157+# Version 3.2.1, released 24 Apr 2011.
1158 #
1159 # See http://backuppc.sourceforge.net.
1160 #
1161
1162=== modified file 'lib/BackupPC/Xfer/Ftp.pm' (properties changed: +x to -x)
1163--- lib/BackupPC/Xfer/Ftp.pm 2010-10-06 20:57:45 +0000
1164+++ lib/BackupPC/Xfer/Ftp.pm 2011-09-19 08:47:26 +0000
1165@@ -31,7 +31,7 @@
1166 #
1167 #========================================================================
1168 #
1169-# Version 3.2.0, released 31 Jul 2010.
1170+# Version 3.2.1, released 24 Apr 2011.
1171 #
1172 # See http://backuppc.sourceforge.net.
1173 #
1174
1175=== modified file 'lib/BackupPC/Xfer/Protocol.pm' (properties changed: +x to -x)
1176--- lib/BackupPC/Xfer/Protocol.pm 2010-10-06 20:57:45 +0000
1177+++ lib/BackupPC/Xfer/Protocol.pm 2011-09-19 08:47:26 +0000
1178@@ -29,7 +29,7 @@
1179 #
1180 #========================================================================
1181 #
1182-# Version 3.2.0, released 31 Jul 2010.
1183+# Version 3.2.1, released 24 Apr 2011.
1184 #
1185 # See http://backuppc.sourceforge.net.
1186 #
1187@@ -288,12 +288,9 @@
1188 my @BackupFilesExclude = ();
1189 my ($shareName, $shareNameRE);
1190
1191- #
1192- # $conf->{$shareType} shold be a reference to an array with one
1193- # element, thanks to BackupFileConfFix().
1194- #
1195- $shareName = @{ $conf->{$shareType} }[0];
1196+ $shareName = $t->{shareName};
1197 $shareName =~ s/\/*$//; # remove trailing slashes
1198+ $shareName = "/" if ( $shareName eq "" );
1199
1200 $t->{shareName} = $shareName;
1201 $t->{shareNameRE} = $bpc->glob2re($shareName);
1202@@ -422,18 +419,18 @@
1203 my ($t, $file) = @_;
1204
1205 my $shareName = $t->{shareName};
1206- my $includes = $t->{BackupFilesOnly} || return 0;
1207+ my $excludes = $t->{BackupFilesExclude} || return 0;
1208 my $match = "";
1209
1210- foreach my $include ( @{$includes} ) {
1211+ foreach my $exclude ( @{$excludes} ) {
1212
1213 #
1214 # construct regexp elsewhere to avoid syntactical evil
1215 #
1216- $match = '^' . quotemeta( $shareName . $include ) . '(?=\/.*)?';
1217+ $match = '^' . quotemeta( $shareName . $exclude ) . '(?=\/.*)?';
1218
1219 #
1220- # return true if the include folder is a parent of the file,
1221+ # return true if the exclude folder is a parent of the file,
1222 # or the folder itself.
1223 #
1224 return 1 if ( $file =~ /$match/ );
1225@@ -441,10 +438,10 @@
1226 $match = '^' . quotemeta($file) . '(?=\/.*)?';
1227
1228 #
1229- # return true if the file is a parent of the include folder,
1230+ # return true if the file is a parent of the exclude folder,
1231 # or the folder itself.
1232 #
1233- return 1 if ( "$shareName$include" =~ /$match/ );
1234+ return 1 if ( "$shareName$exclude" =~ /$match/ );
1235 }
1236 return 0;
1237 }
1238
1239=== modified file 'lib/BackupPC/Xfer/Rsync.pm' (properties changed: +x to -x)
1240--- lib/BackupPC/Xfer/Rsync.pm 2010-11-21 14:59:53 +0000
1241+++ lib/BackupPC/Xfer/Rsync.pm 2011-09-19 08:47:26 +0000
1242@@ -29,7 +29,7 @@
1243 #
1244 #========================================================================
1245 #
1246-# Version 3.2.0, released 31 Jul 2010.
1247+# Version 3.2.1, released 24 Apr 2011.
1248 #
1249 # See http://backuppc.sourceforge.net.
1250 #
1251@@ -126,7 +126,7 @@
1252
1253 if ( defined($conf->{BackupFilesOnly}{$t->{shareName}}) ) {
1254 my(@inc, @exc, %incDone, %excDone);
1255- foreach my $file ( @{$conf->{BackupFilesOnly}{$t->{shareName}}} ) {
1256+ foreach my $file2 ( @{$conf->{BackupFilesOnly}{$t->{shareName}}} ) {
1257 #
1258 # If the user wants to just include /home/craig, then
1259 # we need to do create include/exclude pairs at
1260@@ -144,6 +144,7 @@
1261 # To make this easier we do all the includes first and all
1262 # of the excludes at the end (hopefully they commute).
1263 #
1264+ my $file = $file2;
1265 $file =~ s{/$}{};
1266 $file = "/$file";
1267 $file =~ s{//+}{/}g;
1268@@ -185,11 +186,11 @@
1269 }
1270 }
1271 if ( defined($conf->{BackupFilesExclude}{$t->{shareName}}) ) {
1272- foreach my $file ( @{$conf->{BackupFilesExclude}{$t->{shareName}}} )
1273- {
1274+ foreach my $file2 ( @{$conf->{BackupFilesExclude}{$t->{shareName}}} ) {
1275 #
1276 # just append additional exclude lists onto the end
1277 #
1278+ my $file = $file2;
1279 $file = encode($conf->{ClientCharset}, $file)
1280 if ( $conf->{ClientCharset} ne "" );
1281 push(@fileList, "--exclude=$file");
1282
1283=== modified file 'lib/BackupPC/Xfer/RsyncDigest.pm' (properties changed: +x to -x)
1284--- lib/BackupPC/Xfer/RsyncDigest.pm 2010-11-21 14:59:53 +0000
1285+++ lib/BackupPC/Xfer/RsyncDigest.pm 2011-09-19 08:47:26 +0000
1286@@ -29,7 +29,7 @@
1287 #
1288 #========================================================================
1289 #
1290-# Version 3.2.0, released 31 Jul 2010.
1291+# Version 3.2.1, released 24 Apr 2011.
1292 #
1293 # See http://backuppc.sourceforge.net.
1294 #
1295
1296=== modified file 'lib/BackupPC/Xfer/RsyncFileIO.pm' (properties changed: +x to -x)
1297--- lib/BackupPC/Xfer/RsyncFileIO.pm 2010-11-21 14:59:53 +0000
1298+++ lib/BackupPC/Xfer/RsyncFileIO.pm 2011-09-19 08:47:26 +0000
1299@@ -26,7 +26,7 @@
1300 #
1301 #========================================================================
1302 #
1303-# Version 3.2.0, released 31 Jul 2010.
1304+# Version 3.2.1, released 24 Apr 2011.
1305 #
1306 # See http://backuppc.sourceforge.net.
1307 #
1308
1309=== modified file 'lib/BackupPC/Xfer/Smb.pm' (properties changed: +x to -x)
1310--- lib/BackupPC/Xfer/Smb.pm 2010-11-21 14:59:53 +0000
1311+++ lib/BackupPC/Xfer/Smb.pm 2011-09-19 08:47:26 +0000
1312@@ -29,7 +29,7 @@
1313 #
1314 #========================================================================
1315 #
1316-# Version 3.2.0, released 31 Jul 2010.
1317+# Version 3.2.1, released 24 Apr 2011.
1318 #
1319 # See http://backuppc.sourceforge.net.
1320 #
1321
1322=== modified file 'lib/BackupPC/Xfer/Tar.pm' (properties changed: +x to -x)
1323--- lib/BackupPC/Xfer/Tar.pm 2010-11-21 14:59:53 +0000
1324+++ lib/BackupPC/Xfer/Tar.pm 2011-09-19 08:47:26 +0000
1325@@ -29,7 +29,7 @@
1326 #
1327 #========================================================================
1328 #
1329-# Version 3.2.0, released 31 Jul 2010.
1330+# Version 3.2.1, released 24 Apr 2011.
1331 #
1332 # See http://backuppc.sourceforge.net.
1333 #
1334@@ -71,8 +71,8 @@
1335 $bpc->backupFileConfFix($conf, "TarShareName");
1336
1337 if ( defined($conf->{BackupFilesExclude}{$t->{shareName}}) ) {
1338- foreach my $file ( @{$conf->{BackupFilesExclude}{$t->{shareName}}} )
1339- {
1340+ foreach my $file2 ( @{$conf->{BackupFilesExclude}{$t->{shareName}}} ) {
1341+ my $file = $file2;
1342 $file = "./$2" if ( $file =~ m{^(\./+|/+)(.*)}s );
1343 $file = encode($conf->{ClientCharset}, $file)
1344 if ( $conf->{ClientCharset} ne "" );
1345@@ -80,7 +80,8 @@
1346 }
1347 }
1348 if ( defined($conf->{BackupFilesOnly}{$t->{shareName}}) ) {
1349- foreach my $file ( @{$conf->{BackupFilesOnly}{$t->{shareName}}} ) {
1350+ foreach my $file2 ( @{$conf->{BackupFilesOnly}{$t->{shareName}}} ) {
1351+ my $file = $file2;
1352 $file = $2 if ( $file =~ m{^(\./+|/+)(.*)}s );
1353 $file = "./$file";
1354 $file = encode($conf->{ClientCharset}, $file)
1355
1356=== modified file 'lib/BackupPC/Zip/FileMember.pm' (properties changed: +x to -x)
1357--- lib/BackupPC/Zip/FileMember.pm 2010-11-21 14:59:53 +0000
1358+++ lib/BackupPC/Zip/FileMember.pm 2011-09-19 08:47:26 +0000
1359@@ -33,7 +33,7 @@
1360 #
1361 #========================================================================
1362 #
1363-# Version 3.2.0, released 31 Jul 2010.
1364+# Version 3.2.1, released 24 Apr 2011.
1365 #
1366 # See http://backuppc.sourceforge.net.
1367 #

Subscribers

People subscribed via source and target branches