Bug#712533: Correction for slbackup-php login ans checkbox option
Mike Gabriel
mike.gabriel at das-netzwerkteam.de
Sun Jun 16 21:28:57 UTC 2013
Package: slbackup-php
Severity: normal
Sending this issue report as a new bug to Debian BTS on behalf of
Cyril ETCHEVERRIA <cyril.e at wanadoo.fr>.
Some of the patch lines have already been included in the latest
upload, but there is obviously some more work to do.
I will see through those several patch lines later, none of the fixes
are critical IMHO.
Thanks for reporting.
Telling from the Debian version this issue was reported from, this is
a patch against the slbackup-php version in Debian squeeze.
Mike
Correction __________________________________________________
/usr/share/slbackup-php/web# diff index.php.orig index.php
622a623
> break ;
656a658
> break ;
711,712c713,714
< sscanf ($array[0], "%d", $config["minutes"]) ;
< sscanf ($array[1], "%d", $config["hours"]) ;
---
> sscanf ($array[0], "%s", $config["minutes"]) ;
> sscanf ($array[1], "%s", $config["hours"]) ;
Correction __________________________________________________
/usr/share/slbackup-php/templates# diff config.tpl.orig config.tpl
48,49c48
< {html_options name=server_type values=$types
< output=$types selected=$server_type}
---
> {html_options name=server_type values=$types output=$types
> selected=$server_type}
69,70c68
< {html_options name=client values=$clients output=$clients
< selected=$client}
---
> {html_options name=client values=$clients output=$clients selected=$client}
90,91c88
< {html_options name=client_type values=$types
< output=$types selected=$client_type}
---
> {html_options name=client_type values=$types output=$types
> selected=$client_type}
/usr/share/slbackup-php/templates# diff maint.tpl.orig maint.tpl
23,24c23
< {html_options name=client values=$clients output=$clients
< selected=$client}
---
> {html_options name=client values=$clients output=$clients selected=$client}
29,30c28
< {html_options name=snapshot values=$snapshots output=$snapshots
< selected=$snapshot}
---
> {html_options name=snapshot values=$snapshots output=$snapshots
> selected=$snapshot}
/usr/share/slbackup-php/templates# diff restore.tpl.orig restore.tpl
23,24c23
< {html_options name=client values=$clients output=$clients
< selected=$client}
---
> {html_options name=client values=$clients output=$clients selected=$client}
27,28c26
< {html_options name=location values=$locations output=$locations
< selected=$location}
---
> {html_options name=location values=$locations output=$locations
> selected=$location}
Missing File _________________________________________________
# cat /etc/slbackup/config.php
<?
######################################################
# Fichier de configuration de slbackup-php
######################################################
# Comportement sur acces non sécurisé (mot de passe root en clair sur
le réseaux)
# les valeurs sont "warn", "allow", "deny".
#$nonhttps = "warn";
# Chemin relatif des templates
#$smarty_templ = "../templates";
# Chemin du spool des php temporaires
#$smarty_compile = "/var/spool/slbackup-php";
$backuphost ="nom du serveur slbackup" ;
#$backupuser ="root" ;
#$backupconf ="/etc/slbackup/slbackup.conf" ;
#$backupcron ="/etc/cron.d/slbackup" ;
# option -v pour un log plus détaillé dans >>>> /tmp/error.log <<<<<<<
$ssh_options ="-v -o StrictHostKeyChecking=no" ;
#$logfile ="/var/log/slbackup/slbackup.log" ;
?>
______________________________________________________________
-- System Information:
Debian Release: 6.0.7
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500,
'oldstable-proposed-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--
Ce message a �t� v�rifi� par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a �t� trouv�.
For all your IT requirements visit: http://www.transtec.co.uk
-------------- next part --------------
_______________________________________________
Debian-edu-pkg-team mailing list
Debian-edu-pkg-team at lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-edu-pkg-team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.alioth.debian.org/pipermail/debian-edu-pkg-team/attachments/20130616/963a9dbf/attachment.sig>
More information about the Debian-edu-pkg-team
mailing list