Bug#825534: jessie-pu: package backuppc/3.3.0-2
Control: tags -1 + moreinfo
On Fri, 2016-05-27 at 16:47 +0200, Ludovic Drolez wrote:
> Backuppc is a backup service that can be used to backup SMB shares with
> the help of smbclient.
>
> Unfortunately, a security update of Samba, from 2:4.1.17+dfsg-2+deb8u2
> to 2:4.2.10+dfsg-0+deb8u2, broke Backuppc backups and restores
> because smbclient was completely rewritten with the 4.2 release.
> Backuppc relied on messages output by smbclient 4.1 to confirm that
> file transfers were ok.
>
> This patch add new regexps in Backuppc, to provide compatibility with
> smbclient 4.2 and more.
How do any of these changes relate to the samba update?
> +-$Conf{BackupZeroFilesIsFatal} = 1;
> ++$Conf{BackupZeroFilesIsFatal} = 0;
[...]
> - #
> - # URL of the BackupPC_Admin CGI script. Used for email messages.
> #
> -$Conf{CgiURL} = 'http://XXXXXX/backuppc/index.cgi';
> +$Conf{CgiURL} = 'http://'.$Conf{ServerHost}.'/backuppc/index.cgi';
[...]
> --- backuppc-3.3.0.orig/lib/BackupPC/CGI/Browse.pm
> +++ backuppc-3.3.0/lib/BackupPC/CGI/Browse.pm
> @@ -65,7 +65,7 @@
> #
> # default to the newest backup
> #
> - if ( !defined($In{num}) && defined(@Backups) && @Backups > 0 ) {
> + if ( !defined($In{num}) && @Backups && @Backups > 0 ) {
Regards,
Adam
Reply to: