diff -Nru slbackup-php-0.4.5/debian/changelog slbackup-php-0.4.5/debian/changelog --- slbackup-php-0.4.5/debian/changelog 2016-04-02 00:42:51.000000000 +0000 +++ slbackup-php-0.4.5/debian/changelog 2016-05-27 14:14:18.000000000 +0000 @@ -1,8 +1,17 @@ -slbackup-php (0.4.5-2ubuntu1) xenial; urgency=medium +slbackup-php (0.4.5-3) unstable; urgency=medium - * Update to PHP7.0 dependencies (LP: #1565155). + * debian/control: + + Drop explicit PHP5 dependencies, make package fit for PHP7. + (Closes: #821659). + + Bump Standards: to 3.9.8. No changes needed. + * debian/patches: + + Add 1002_php7-compat.patch. Use preg_split() instead of split() + Thanks to Wolfgang Schweer for providing that patch (via #821659). + * debian/po: + + Add pt_BR.po translation file. Thanks to Adriano Rafael Gomes for + working on the internationalization of slbackup-php. (Closes: #816957). - -- Nishanth Aravamudan Fri, 01 Apr 2016 17:08:46 -0700 + -- Mike Gabriel Fri, 27 May 2016 16:12:38 +0200 slbackup-php (0.4.5-2) unstable; urgency=medium diff -Nru slbackup-php-0.4.5/debian/control slbackup-php-0.4.5/debian/control --- slbackup-php-0.4.5/debian/control 2016-04-02 00:42:51.000000000 +0000 +++ slbackup-php-0.4.5/debian/control 2016-05-27 14:13:48.000000000 +0000 @@ -1,11 +1,10 @@ Source: slbackup-php Section: misc Priority: optional -Maintainer: Ubuntu Developers -XSBC-Original-Maintainer: Debian Edu Packaging Team +Maintainer: Debian Edu Packaging Team Uploaders: Mike Gabriel , -Standards-Version: 3.9.6 +Standards-Version: 3.9.8 Build-Depends: debhelper (>= 7.0.50~), po-debconf, @@ -18,7 +17,7 @@ Architecture: all Depends: ${misc:Depends}, - libapache2-mod-php | php-cgi, + php, apache2 | httpd, ssh, php-cli, diff -Nru slbackup-php-0.4.5/debian/patches/1002_php7-compat.patch slbackup-php-0.4.5/debian/patches/1002_php7-compat.patch --- slbackup-php-0.4.5/debian/patches/1002_php7-compat.patch 1970-01-01 00:00:00.000000000 +0000 +++ slbackup-php-0.4.5/debian/patches/1002_php7-compat.patch 2016-05-27 14:08:06.000000000 +0000 @@ -0,0 +1,30 @@ +Description: Make slbackup-php PHP7 compatible (use preg_split instead of split) +Author: Wolfgang Schweer + +--- a/src/functions.php ++++ b/src/functions.php +@@ -75,7 +75,7 @@ + $lang_accept = array () ; + $lang_accept = explode (",", $_SERVER['HTTP_ACCEPT_LANGUAGE']); + for ($i = 0 ; $i < count ($lang_accept) ; $i++ ) { +- $lang_accept[$i] = split(";", $lang_accept[$i]) ; ++ $lang_accept[$i] = preg_split(';', $lang_accept[$i]) ; + $lang_accept[$i] = $lang_accept[$i][0] ; + } + +@@ -101,13 +101,13 @@ + $locales = array(); + $locales_utf8 = array(); + if (isset($found_locale) && !empty($lang_accept[0])) { +- $found_locale_tuple = split('_', $found_locale); ++ $found_locale_tuple = preg_split('_', $found_locale); + if (count($found_locale_tuple) > 1) { + $locales[] = $found_locale; + $locales_utf8[] = $found_locale.'.UTF-8'; + } + foreach ($lang_accept as $lang) { +- $lang_tuple = split('-',$lang); ++ $lang_tuple = preg_split('-',$lang); + if (count($lang_tuple) > 1) { + $language = strtolower($lang_tuple[0]); + $country = strtoupper($lang_tuple[1]); diff -Nru slbackup-php-0.4.5/debian/patches/series slbackup-php-0.4.5/debian/patches/series --- slbackup-php-0.4.5/debian/patches/series 2015-06-07 23:00:03.000000000 +0000 +++ slbackup-php-0.4.5/debian/patches/series 2016-05-27 14:01:55.000000000 +0000 @@ -1 +1,2 @@ 1001_adapt-to-apache24.patch +1002_php7-compat.patch diff -Nru slbackup-php-0.4.5/debian/po/pt_BR.po slbackup-php-0.4.5/debian/po/pt_BR.po --- slbackup-php-0.4.5/debian/po/pt_BR.po 1970-01-01 00:00:00.000000000 +0000 +++ slbackup-php-0.4.5/debian/po/pt_BR.po 2016-05-27 14:09:56.000000000 +0000 @@ -0,0 +1,44 @@ +# Debconf translations for slbackup-php. +# Copyright (C) 2016 THE slbackup-php'S COPYRIGHT HOLDER +# This file is distributed under the same license as the slbackup-php package. +# Adriano Rafael Gomes , 2016. +# +msgid "" +msgstr "" +"Project-Id-Version: slbackup-php 0.4.5-2\n" +"Report-Msgid-Bugs-To: patrick.winnertz@skolelinux.org\n" +"POT-Creation-Date: 2007-06-24 01:04+0200\n" +"PO-Revision-Date: 2016-02-14 20:40-0200\n" +"Last-Translator: Adriano Rafael Gomes \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "Activate SSL support in slbackup-php?" +msgstr "Ativar suporte a SSL no slbackup-php?" + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"Please note that SSL is needed to connect to the slbackup-php server. " +"Activating it is therefore strongly recommended." +msgstr "" +"Por favor, note que SSL é necessário para conectar ao servidor slbackup-php. " +"Portanto, é fortemente recomendado ativá-lo." + +#. Type: boolean +#. Description +#: ../templates:2001 +msgid "" +"However, SSL should also be activated in the web server which will not be " +"done by choosing this option." +msgstr "" +"Entretanto, o SSL deve ser ativado também no servidor web, o que não será " +"feito ao escolher essa opção."