Your message dated Sat, 15 Dec 2007 08:32:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#437451: fixed in backuppc 3.1.0-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: backuppc
Version: 3.0.0-3
Severity: important
Tags: patch

Since BackupPC 3.0 Xfer/Tar.pm prepends "./" before _all_ file exclusions.
Effectively, this means that it is no longer possible to exclude files by
name only, you would always have to list the full path for each individual
file.
Besides the fact that this makes file exclusions for tar completely
unusable, it is also in contradiction to the documentation [1].

The attached (tested) patch fixes this issue.

Note that the same syntax is also used for "BackupFilesOnly" immediately 
below. I am fairly certain that the same fix needs to be implemented there,
but was not sure enough to include it in the patch.

[1] 
http://backuppc.sourceforge.net/faq/BackupPC.html#item__conf_backupfilesexclude_

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages backuppc depends on:
ii  adduser                    3.102         Add and remove users and groups
ii  apache2                    2.2.3-4       Next generation, scalable, extenda
ii  apache2-mpm-worker [httpd] 2.2.3-4       High speed threaded model for Apac
ii  bzip2                      1.0.3-6       high-quality block-sorting file co
ii  debconf [debconf-2.0]      1.5.11        Debian configuration management sy
ii  dpkg                       1.13.25       package maintenance system for Deb
ii  exim4                      4.63-17       metapackage to ease exim MTA (v4) 
ii  exim4-daemon-light [mail-t 4.63-17       lightweight exim MTA (v4) daemon
ii  libarchive-zip-perl        1.16-1        Module for manipulation of ZIP arc
ii  libcompress-zlib-perl      1.42-2        Perl module for creation and manip
ii  perl [libdigest-md5-perl]  5.8.8-7       Larry Wall's Practical Extraction 
ii  perl-suid                  5.8.8-7       Runs setuid Perl scripts
ii  samba-common               3.0.24-6etch4 Samba common files used by both th
ii  smbclient                  3.0.24-6etch4 a LanManager-like simple client fo
ii  tar                        1.16-2        GNU tar
ii  wwwconfig-common           0.0.48        Debian web auto configuration

backuppc recommends no packages.

-- debconf information excluded

diff --git a/lib/BackupPC/Xfer/Tar.pm b/lib/BackupPC/Xfer/Tar.pm
index c34b019..06d6832 100644
--- a/lib/BackupPC/Xfer/Tar.pm
+++ b/lib/BackupPC/Xfer/Tar.pm
@@ -101,8 +101,7 @@ sub start
         if ( defined($conf->{BackupFilesExclude}{$t->{shareName}}) ) {
             foreach my $file ( @{$conf->{BackupFilesExclude}{$t->{shareName}}} )
             {
-                $file = $2 if ( $file =~ m{^(\./+|/+)(.*)}s );
-		$file = "./$file";
+                $file = "./$2" if ( $file =~ m{^(\./+|/+)(.*)}s );
                 $file = encode($conf->{ClientCharset}, $file)
                             if ( $conf->{ClientCharset} ne "" );
                 push(@fileList, "--exclude=$file");

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---
--- Begin Message ---
Source: backuppc
Source-Version: 3.1.0-1

We believe that the bug you reported is fixed in the latest version of
backuppc, which is due to be installed in the Debian FTP archive:

backuppc_3.1.0-1.diff.gz
  to pool/main/b/backuppc/backuppc_3.1.0-1.diff.gz
backuppc_3.1.0-1.dsc
  to pool/main/b/backuppc/backuppc_3.1.0-1.dsc
backuppc_3.1.0-1_all.deb
  to pool/main/b/backuppc/backuppc_3.1.0-1_all.deb
backuppc_3.1.0.orig.tar.gz
  to pool/main/b/backuppc/backuppc_3.1.0.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ludovic Drolez <[EMAIL PROTECTED]> (supplier of updated backuppc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri,  7 Dec 2007 10:54:44 +0100
Source: backuppc
Binary: backuppc
Architecture: source all
Version: 3.1.0-1
Distribution: unstable
Urgency: low
Maintainer: Ludovic Drolez <[EMAIL PROTECTED]>
Changed-By: Ludovic Drolez <[EMAIL PROTECTED]>
Description: 
 backuppc   - high-performance, enterprise-grade system for backing up PCs
Closes: 434291 436793 437451 441337 451922 452672 452673 452677 454795
Changes: 
 backuppc (3.1.0-1) unstable; urgency=low
 .
   * New upstream release. Closes: #437451
   * Moved MTAs, rsync and openssh to the recommends line. Smbclient is still 
needed.
     Closes: #454795, #441337
   * symlink /etc/backuppc/pc to /etc/backuppc to follow the doc. Closes: 
#436793
   * moved the creation of /var/lib/backuppc/pc/localhost to the postinst. 
Closes: #451922
   * Added the PT debconf translation. Closes: #434291
   * Unfuzzy config.pl.diff. Closes: #452673
   * Support /var/run on tmpfs and use LSB logging. Closes: #452672
   * Properly remove /etc/apache*/conf.d/backuppc.conf. Closes: #452677
Files: 
 0c101d2bb420fdfb654c2652d6ab6abb 619 utils optional backuppc_3.1.0-1.dsc
 84b4471852ef910768eae9963ef932d2 474981 utils optional 
backuppc_3.1.0.orig.tar.gz
 6c6a110a60254985ba41ad552855e5e1 20109 utils optional backuppc_3.1.0-1.diff.gz
 8124214f68a48e4ec23d1bfb3dac36c1 537550 utils optional backuppc_3.1.0-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHY46XsRlQAP1GppgRAlhoAJ9KeK6kU07YN7BqYgCQVID6ZftuOQCfUmyv
aBI5r3huJ6e47ZIiYDGoTFs=
=pcNy
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to