Update to BackupPC 3.3.0.

See for Changelog:
http://comments.gmane.org/gmane.comp.sysutils.backup.backuppc.devel/960
This commit is contained in:
landry 2013-12-03 22:02:53 +00:00
parent bde7e85865
commit afb1fb109d
5 changed files with 20 additions and 21 deletions

View File

@ -1,10 +1,9 @@
# $OpenBSD: Makefile,v 1.6 2013/03/11 11:41:29 espie Exp $
# $OpenBSD: Makefile,v 1.7 2013/12/03 22:02:53 landry Exp $
COMMENT = remote backup software system
DISTNAME = BackupPC-3.2.1
DISTNAME = BackupPC-3.3.0
PKGNAME = ${DISTNAME:L}
REVISION = 2
CATEGORIES = sysutils
@ -15,7 +14,7 @@ HOMEPAGE = http://backuppc.sourceforge.net
#ftp: Too many redirections requested
#MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=BackupPC/}
MASTER_SITES= http://freefr.dl.sourceforge.net/project/backuppc/backuppc/3.2.1/
MASTER_SITES= http://freefr.dl.sourceforge.net/project/backuppc/backuppc/3.3.0/
NO_BUILD = Yes

View File

@ -1,5 +1,2 @@
MD5 (BackupPC-3.2.1.tar.gz) = IzT6+44DKEIlqbin+yMAEg==
RMD160 (BackupPC-3.2.1.tar.gz) = eWAHz2mQAjjTsQt0a4oG8j6Bpnk=
SHA1 (BackupPC-3.2.1.tar.gz) = FGjg44RnpUA0Kvil6h13k8qECUM=
SHA256 (BackupPC-3.2.1.tar.gz) = WbCcm6UjbnjPGDFTtkujSIIMMSJ17dz2FdYQZzt98FQ=
SIZE (BackupPC-3.2.1.tar.gz) = 511896
SHA256 (BackupPC-3.3.0.tar.gz) = ipwbb6pFArTEBhe+l+gGgTgV2eIlRIVNmZg8PafB9ps=
SIZE (BackupPC-3.3.0.tar.gz) = 554155

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-configure_pl,v 1.1.1.1 2011/09/20 11:36:55 landry Exp $
--- configure.pl.orig Mon Apr 25 05:31:55 2011
+++ configure.pl Sat Sep 17 19:16:37 2011
@@ -521,7 +523,7 @@ exit unless prompt("--> Do you want to continue?", "y"
$OpenBSD: patch-configure_pl,v 1.2 2013/12/03 22:02:54 landry Exp $
--- configure.pl.orig Sun Apr 14 22:43:32 2013
+++ configure.pl Tue Dec 3 22:53:53 2013
@@ -521,7 +521,7 @@ exit unless prompt("--> Do you want to continue?", "y"
#
# Create install directories
#
@ -10,7 +10,7 @@ $OpenBSD: patch-configure_pl,v 1.1.1.1 2011/09/20 11:36:55 landry Exp $
lib/BackupPC/CGI
lib/BackupPC/Config
lib/BackupPC/Lang
@@ -557,13 +559,7 @@ foreach my $dir ( ($Conf{CgiImageDir}) ) {
@@ -557,13 +557,7 @@ foreach my $dir ( ($Conf{CgiImageDir}) ) {
# Create other directories
#
foreach my $dir ( (
@ -25,7 +25,7 @@ $OpenBSD: patch-configure_pl,v 1.1.1.1 2011/09/20 11:36:55 landry Exp $
) ) {
mkpath("$DestDir$dir", 0, 0750) if ( !-d "$DestDir$dir" );
if ( !-d "$DestDir$dir"
@@ -689,21 +685,21 @@ foreach my $init ( qw(gentoo-backuppc gentoo-backuppc.
@@ -692,21 +686,21 @@ foreach my $init ( qw(gentoo-backuppc gentoo-backuppc.
printf("Making Apache configuration file for suid-perl\n");
InstallFile("httpd/src/BackupPC.conf", "httpd/BackupPC.conf", 0644);
@ -53,7 +53,7 @@ $OpenBSD: patch-configure_pl,v 1.1.1.1 2011/09/20 11:36:55 landry Exp $
my ($distConf, $distVars) = ConfigParse("conf/config.pl");
my ($oldConf, $oldVars);
my ($newConf, $newVars) = ($distConf, $distVars);
@@ -730,6 +726,7 @@ if ( !defined($Conf{CgiURL}) ) {
@@ -733,6 +727,7 @@ if ( !defined($Conf{CgiURL}) ) {
}
}

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-lib_BackupPC_CGI_View_pm,v 1.2 2011/10/28 21:56:57 jasper Exp $
$OpenBSD: patch-lib_BackupPC_CGI_View_pm,v 1.3 2013/12/03 22:02:54 landry Exp $
First chunk:
Security fix for SA46615
@ -6,8 +6,8 @@ BackupPC "num" Cross-Site Scripting Vulnerability
From http://patches.ubuntu.com/b/backuppc/backuppc_3.2.1-1ubuntu2.patch
--- lib/BackupPC/CGI/View.pm.orig Mon Apr 25 05:31:55 2011
+++ lib/BackupPC/CGI/View.pm Fri Oct 28 23:54:56 2011
--- lib/BackupPC/CGI/View.pm.orig Sun Apr 14 22:43:32 2013
+++ lib/BackupPC/CGI/View.pm Tue Dec 3 22:53:53 2013
@@ -46,7 +46,7 @@ sub action
my $compress = 0;
my $fh;
@ -17,7 +17,7 @@ From http://patches.ubuntu.com/b/backuppc/backuppc_3.2.1-1ubuntu2.patch
my $type = $In{type};
my $linkHosts = 0;
my($file, $comment);
@@ -86,7 +86,7 @@ sub action
@@ -89,7 +89,7 @@ sub action
$file = $bpc->ConfDir() . "/hosts";
$linkHosts = 1;
} elsif ( $type eq "docs" ) {

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2012/04/22 11:43:37 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.3 2013/12/03 22:02:54 landry Exp $
bin/BackupPC
bin/BackupPC_Admin
bin/BackupPC_Admin.fcgi
@ -55,9 +55,12 @@ lib/BackupPC/Lang/en.pm
lib/BackupPC/Lang/es.pm
lib/BackupPC/Lang/fr.pm
lib/BackupPC/Lang/it.pm
lib/BackupPC/Lang/ja.pm
lib/BackupPC/Lang/nl.pm
lib/BackupPC/Lang/pl.pm
lib/BackupPC/Lang/pt_br.pm
lib/BackupPC/Lang/ru.pm
lib/BackupPC/Lang/uk.pm
lib/BackupPC/Lang/zh_CN.pm
lib/BackupPC/Lib.pm
lib/BackupPC/PoolWrite.pm