Hello community,
here is the log from the commit of package yast2-backup
checked in at Wed Jul 4 13:02:08 CEST 2007.
--------
--- yast2-backup/yast2-backup.changes 2007-03-28 10:30:14.000000000 +0200
+++ /mounts/work_src_done/NOARCH/yast2-backup/yast2-backup.changes 2007-07-04 11:14:46.000000000 +0200
@@ -1,0 +2,12 @@
+Wed Jul 4 11:13:22 CEST 2007 - locilka@suse.cz
+
+- Restart and/or enable cron service if needed for changed/added
+ scheduled backups (#285442).
+- 2.15.4
+
+-------------------------------------------------------------------
+Fri May 25 13:30:04 CEST 2007 - jsrain@suse.cz
+
+- removed outdated translations from .desktop-files (#271209)
+
+-------------------------------------------------------------------
Old:
----
yast2-backup-2.15.3.tar.bz2
New:
----
yast2-backup-2.15.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-backup.spec ++++++
--- /var/tmp/diff_new_pack.Z13141/_old 2007-07-04 13:02:04.000000000 +0200
+++ /var/tmp/diff_new_pack.Z13141/_new 2007-07-04 13:02:04.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-backup (Version 2.15.3)
+# spec file for package yast2-backup (Version 2.15.4)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild
Name: yast2-backup
-Version: 2.15.3
+Version: 2.15.4
Release: 1
-License: GNU General Public License (GPL)
+License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-backup-2.15.3.tar.bz2
+Source0: yast2-backup-2.15.4.tar.bz2
prefix: /usr
Summary: YaST2 - System Backup
BuildArchitectures: noarch
@@ -64,7 +64,7 @@
Lukas Ocilka
%prep
-%setup -n yast2-backup-2.15.3
+%setup -n yast2-backup-2.15.4
%build
%{prefix}/bin/y2tool y2autoconf
@@ -104,6 +104,12 @@
%doc %{prefix}/share/doc/packages/yast2-backup
%changelog
+* Wed Jul 04 2007 - locilka@suse.cz
+- Restart and/or enable cron service if needed for changed/added
+ scheduled backups (#285442).
+- 2.15.4
+* Fri May 25 2007 - jsrain@suse.cz
+- removed outdated translations from .desktop-files (#271209)
* Wed Mar 28 2007 - mvidner@suse.cz
- Do not repeatedly add archive extension if the file name contains
non-ascii characters (#185042).
++++++ yast2-backup-2.15.3.tar.bz2 -> yast2-backup-2.15.4.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-backup-2.15.3/configure new/yast2-backup-2.15.4/configure
--- old/yast2-backup-2.15.3/configure 2007-03-28 10:40:14.000000000 +0200
+++ new/yast2-backup-2.15.4/configure 2007-07-04 11:16:46.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.60 for yast2-backup 2.15.3.
+# Generated by GNU Autoconf 2.60 for yast2-backup 2.15.4.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -559,8 +559,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-backup'
PACKAGE_TARNAME='yast2-backup'
-PACKAGE_VERSION='2.15.3'
-PACKAGE_STRING='yast2-backup 2.15.3'
+PACKAGE_VERSION='2.15.4'
+PACKAGE_STRING='yast2-backup 2.15.4'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1181,7 +1181,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures yast2-backup 2.15.3 to adapt to many kinds of systems.
+\`configure' configures yast2-backup 2.15.4 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1252,7 +1252,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-backup 2.15.3:";;
+ short | recursive ) echo "Configuration of yast2-backup 2.15.4:";;
esac
cat <<\_ACEOF
@@ -1330,7 +1330,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-backup configure 2.15.3
+yast2-backup configure 2.15.4
generated by GNU Autoconf 2.60
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1344,7 +1344,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by yast2-backup $as_me 2.15.3, which was
+It was created by yast2-backup $as_me 2.15.4, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ $0 $@
@@ -2145,7 +2145,7 @@
# Define the identity of the package.
PACKAGE='yast2-backup'
- VERSION='2.15.3'
+ VERSION='2.15.4'
cat >>confdefs.h <<_ACEOF
@@ -2372,7 +2372,7 @@
-VERSION="2.15.3"
+VERSION="2.15.4"
RPMNAME="yast2-backup"
MAINTAINER="Lukas Ocilka "
@@ -3258,7 +3258,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-backup $as_me 2.15.3, which was
+This file was extended by yast2-backup $as_me 2.15.4, which was
generated by GNU Autoconf 2.60. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3301,7 +3301,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-backup config.status 2.15.3
+yast2-backup config.status 2.15.4
configured by $0, generated by GNU Autoconf 2.60,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-backup-2.15.3/configure.in new/yast2-backup-2.15.4/configure.in
--- old/yast2-backup-2.15.3/configure.in 2007-03-28 10:36:18.000000000 +0200
+++ new/yast2-backup-2.15.4/configure.in 2007-07-04 11:16:41.000000000 +0200
@@ -1,9 +1,9 @@
dnl configure.in for yast2-backup
dnl
-dnl -- This file is generated by y2autoconf 2.14.0 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.15.0 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-backup, 2.15.3, http://bugs.opensuse.org/, yast2-backup)
+AC_INIT(yast2-backup, 2.15.4, http://bugs.opensuse.org/, yast2-backup)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -17,7 +17,7 @@
AM_INIT_AUTOMAKE(tar-ustar) dnl searches for some needed programs
dnl Important YaST2 variables
-VERSION="2.15.3"
+VERSION="2.15.4"
RPMNAME="yast2-backup"
MAINTAINER="Lukas Ocilka "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-backup-2.15.3/src/backup.desktop new/yast2-backup-2.15.4/src/backup.desktop
--- old/yast2-backup-2.15.3/src/backup.desktop 2006-04-19 16:52:30.000000000 +0200
+++ new/yast2-backup-2.15.4/src/backup.desktop 2007-05-30 08:09:39.000000000 +0200
@@ -21,40 +21,4 @@
Name=System Backup
GenericName=Back up files and system areas
-Name[cs]=Záloha systému
-GenericName[cs]=Zálohujte si soubory a systémové oblasti
-Name[de]=Sicherungskopie der Systembereiche
-GenericName[de]=Sicherung von Dateien und Systembereichen
-Name[es]=Copia de seguridad del sistema
-GenericName[es]=Hacer una copia de seguridad de archivos y zonas del sistema
-Name[hu]=Biztonsági mentés
-GenericName[hu]=Fájlok és rendszerterület mentése
-Name[it]=Backup del sistema
-GenericName[it]=Effettua la copia di backup dei file e delle aree di sistema
-Name[ko]=시스템 백업
-GenericName[ko]=파일과 시스템 영역을 백업합니다
-Name[nl]=Systeem backup
-GenericName[nl]=Backup bestanden en systeemgebieden
-Name[pt]=Salvamento do sistema
-GenericName[pt]=Salvamento de arquivos e áreas de sistema
-Name[sk]=Záloha systému
-GenericName[sk]=Záloha súborov a systémových oblastí
-Name[sv]=Säkerhetskopiera system
-GenericName[sv]=Säkerhetskopiera filer och systemområden
-Name[da]=System sikkerhedskopi
-GenericName[da]=Sikkerhedskopiér filer og systemområder
-Name[el]=Αντίγραφα Εφεδρείας Συστήματος
-GenericName[el]=Δημιουργία αντιγράφων εφεδρείας για αρχεία και περιοχή συστήματος
-Name[fr]=Sauvegarde du système
-GenericName[fr]=Sauvegarde des fichiers et des zones système
-Name[ja]=システムのバックアップ
-GenericName[ja]=バックアップの概要
-Name[lt]=Sistemos atsarginės kopijos
-GenericName[lt]=Daryti bylų ir sisteminių sričių atsargines kopijas
-Name[ru]=Резервное копирование Системы
-GenericName[ru]=Резервное копирование файлов и системных областей
-Name[sl]=Varnostna kopija sistema
-GenericName[sl]=Varujte datoteke in sistemska področja
-Name[tr]=Sistem yedekleme
-GenericName[tr]=Dosyaları ve sistem alanını yedekle
X-KDE-SubstituteUID=true
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-backup-2.15.3/src/Backup.ycp new/yast2-backup-2.15.4/src/Backup.ycp
--- old/yast2-backup-2.15.3/src/Backup.ycp 2007-03-27 17:00:16.000000000 +0200
+++ new/yast2-backup-2.15.4/src/Backup.ycp 2007-07-04 11:16:30.000000000 +0200
@@ -8,7 +8,7 @@
* Authors:
* Ladislav Slezak
*
- * $Id: Backup.ycp 36859 2007-03-12 09:44:01Z locilka $
+ * $Id: Backup.ycp 39154 2007-07-04 09:16:29Z locilka $
*
* Main file for backup module
*
@@ -27,6 +27,7 @@
import "Popup";
import "FileUtils";
import "String";
+import "Service";
include "backup/functions.ycp";
@@ -1071,6 +1072,9 @@
global define void WriteCronSettings() ``{
y2milestone("backup_profiles: %1", backup_profiles);
+ boolean cron_settings_changed = false;
+ boolean cron_is_needed = false;
+
// write cron files
foreach(string name, map opts, backup_profiles, ``{
// cron file content
@@ -1096,12 +1100,17 @@
SCR::Write(.target.string, cron_file, setting);
y2milestone("Created file: %1", cron_file);
+
+ cron_settings_changed = true;
+ cron_is_needed = true;
}
else if (size(cron_file) > 0 && opts[`cron_settings, "auto"]:false == false)
{
// remove existing cron file
SCR::Execute(.target.bash, "/bin/rm -f " + cron_file);
y2milestone("removed old cron file: %1", cron_file);
+
+ cron_settings_changed = true;
}
// mark saved value as unchanged
@@ -1113,6 +1122,23 @@
backup_profiles[name] = (map)eval(prof);
}
);
+
+ // Cron needs to be restarted for changes to take effect
+ // bugzilla #285442
+ if (cron_settings_changed) {
+ // running
+ if (Service::Status("cron") == 0) {
+ // restart it only
+ Service::Restart ("cron");
+
+ // not running but needed
+ } else if (cron_is_needed) {
+ // not enabled, enable it
+ if (! Service::Enabled ("cron")) Service::Enable ("cron");
+ // and start it
+ Service::Start ("cron");
+ }
+ }
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-backup-2.15.3/VERSION new/yast2-backup-2.15.4/VERSION
--- old/yast2-backup-2.15.3/VERSION 2007-03-28 10:26:51.000000000 +0200
+++ new/yast2-backup-2.15.4/VERSION 2007-07-04 11:14:50.000000000 +0200
@@ -1 +1 @@
-2.15.3
+2.15.4
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org