Hello community,
here is the log from the commit of package yast2-backup for openSUSE:Factory
checked in at Thu Jan 29 01:31:34 CET 2009.
--------
--- yast2-backup/yast2-backup.changes 2009-01-16 13:18:53.000000000 +0100
+++ yast2-backup/yast2-backup.changes 2009-01-27 17:43:58.000000000 +0100
@@ -1,0 +2,7 @@
+Tue Jan 27 17:42:55 CET 2009 - locilka@suse.cz
+
+- SCR agent .backup.free_space has been moved to yast2-2.18.4 and
+ renamed to .system.freespace (needed for bnc #460477).
+- 2.18.2
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-backup-2.18.1.tar.bz2
New:
----
yast2-backup-2.18.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-backup.spec ++++++
--- /var/tmp/diff_new_pack.Zh5089/_old 2009-01-29 01:30:59.000000000 +0100
+++ /var/tmp/diff_new_pack.Zh5089/_new 2009-01-29 01:30:59.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-backup (Version 2.18.1)
+# spec file for package yast2-backup (Version 2.18.2)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-backup
-Version: 2.18.1
+Version: 2.18.2
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-backup-2.18.1.tar.bz2
+Source0: yast2-backup-2.18.2.tar.bz2
Prefix: /usr
Summary: YaST2 - System Backup
BuildArch: noarch
@@ -48,6 +48,8 @@
Requires: yast2
Requires: yast2-nfs-client
Requires: yast2-storage
+# ag_freespace
+Requires: yast2 >= 2.18.4
# new builtin lsubstring
Conflicts: yast2-core < 2.17.22
Recommends: yast2-bootloader
@@ -71,7 +73,7 @@
Lukas Ocilka
%prep
-%setup -n yast2-backup-2.18.1
+%setup -n yast2-backup-2.18.2
%build
%{prefix}/bin/y2tool y2autoconf
@@ -99,9 +101,7 @@
%dir /usr/share/YaST2/include/backup
/usr/share/YaST2/scrconf/proc_filesystems.scr
/usr/lib/YaST2/servers_non_y2/ag_file_append
-/usr/lib/YaST2/servers_non_y2/ag_free_space
/usr/share/YaST2/scrconf/cfg_backup.scr
-/usr/share/YaST2/scrconf/cfg_backup_freespace.scr
/usr/share/YaST2/include/backup/*
/usr/share/YaST2/clients/backup*.ycp
%{prefix}/lib/YaST2/bin/backup_*
@@ -110,6 +110,10 @@
%{prefix}/share/applications/YaST2/backup.desktop
%doc %{prefix}/share/doc/packages/yast2-backup
%changelog
+* Tue Jan 27 2009 locilka@suse.cz
+- SCR agent .backup.free_space has been moved to yast2-2.18.4 and
+ renamed to .system.freespace (needed for bnc #460477).
+- 2.18.2
* Fri Jan 16 2009 locilka@suse.cz
- Fixed Automatic Backup for profiles with a space character in
the profile name (bnc #466750).
++++++ yast2-backup-2.18.1.tar.bz2 -> yast2-backup-2.18.2.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-backup-2.18.1/agents/ag_free_space new/yast2-backup-2.18.2/agents/ag_free_space
--- old/yast2-backup-2.18.1/agents/ag_free_space 2007-05-18 10:43:36.000000000 +0200
+++ new/yast2-backup-2.18.2/agents/ag_free_space 1970-01-01 01:00:00.000000000 +0100
@@ -1,66 +0,0 @@
-#!/usr/bin/perl -w
-
-use ycp;
-use File::Temp;
-
-# Returns free space in the directory
-# @example: SCR::Read(.backup.free_space, "/tmp")
-
-while ( <STDIN> ) {
- my ($command, $path, $directory) = ycp::ParseCommand ($_);
-
- if ($command eq 'Read') {
- if ($path eq '.' && defined $directory) {
- if (!$directory) {
- y2error ('Directory must be defined');
- ycp::Return -1;
- next;
- }
- if (! -e $directory) {
- y2error ('Directory '.$directory.' does not exist');
- ycp::Return -1;
- next;
- }
- if (! -d $directory) {
- y2error ('Object '.$directory.' is not a directory');
- ycp::Return -1;
- next;
- }
-
- my $command = '/bin/df';
- if (!-x $command) {
- y2error('Cannot execute '.$command.' command');
- ycp::Return -1;
- next;
- }
-
- # esacping quoting
- $directory =~ s/\"/\\\"/g;
- $command = `$command -P "$directory"`;
- # first line of out is the header
- my @out = split(/\n/, $command);
- if (defined $out[1]) {
- @out = split(/ +/, $out[1]);
- }
-
- if (defined $out[3]) {
- ycp::Return $out[3];
- next;
- } else {
- y2error ('Cannot determine the free space - Unknown error');
- ycp::Return -1;
- next;
- }
- } else {
- y2error ('Wrong arguments');
- ycp::Return -1;
- next;
- }
- } elsif ($command eq 'result') {
- exit 0;
- } else {
- y2error ('Wrong path or arguments');
- ycp::Return -1;
- next;
- }
-}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-backup-2.18.1/agents/Makefile.am new/yast2-backup-2.18.2/agents/Makefile.am
--- old/yast2-backup-2.18.1/agents/Makefile.am 2007-05-18 10:43:36.000000000 +0200
+++ new/yast2-backup-2.18.2/agents/Makefile.am 2009-01-27 13:18:40.000000000 +0100
@@ -2,7 +2,6 @@
# Makefile.am for backup/agents
#
-agent_SCRIPTS = ag_file_append \
- ag_free_space
+agent_SCRIPTS = ag_file_append
EXTRA_DIST = $(agent_SCRIPTS) $(scrconf_DATA)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-backup-2.18.1/agents/Makefile.in new/yast2-backup-2.18.2/agents/Makefile.in
--- old/yast2-backup-2.18.1/agents/Makefile.in 2008-10-23 17:21:54.000000000 +0200
+++ new/yast2-backup-2.18.2/agents/Makefile.in 2009-01-27 17:44:25.000000000 +0100
@@ -167,9 +167,7 @@
ydatadir = @ydatadir@
yncludedir = @yncludedir@
ystartupdir = @ystartupdir@
-agent_SCRIPTS = ag_file_append \
- ag_free_space
-
+agent_SCRIPTS = ag_file_append
EXTRA_DIST = $(agent_SCRIPTS) $(scrconf_DATA)
all: all-am
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-backup-2.18.1/configure new/yast2-backup-2.18.2/configure
--- old/yast2-backup-2.18.1/configure 2008-10-23 17:21:54.000000000 +0200
+++ new/yast2-backup-2.18.2/configure 2009-01-27 17:44:25.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63 for yast2-backup 2.17.1.
+# Generated by GNU Autoconf 2.63 for yast2-backup 2.18.2.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -596,8 +596,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-backup'
PACKAGE_TARNAME='yast2-backup'
-PACKAGE_VERSION='2.17.1'
-PACKAGE_STRING='yast2-backup 2.17.1'
+PACKAGE_VERSION='2.18.2'
+PACKAGE_STRING='yast2-backup 2.18.2'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1274,7 +1274,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.17.1 to adapt to many kinds of systems.
+\`configure' configures yast2-backup 2.18.2 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1345,7 +1345,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-backup 2.17.1:";;
+ short | recursive ) echo "Configuration of yast2-backup 2.18.2:";;
esac
cat <<\_ACEOF
@@ -1425,7 +1425,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-backup configure 2.17.1
+yast2-backup configure 2.18.2
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1439,7 +1439,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.17.1, which was
+It was created by yast2-backup $as_me 2.18.2, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
@@ -2286,7 +2286,7 @@
# Define the identity of the package.
PACKAGE='yast2-backup'
- VERSION='2.17.1'
+ VERSION='2.18.2'
cat >>confdefs.h <<_ACEOF
@@ -2510,7 +2510,7 @@
-VERSION="2.17.1"
+VERSION="2.18.2"
RPMNAME="yast2-backup"
MAINTAINER="Lukas Ocilka "
@@ -3451,7 +3451,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.17.1, which was
+This file was extended by yast2-backup $as_me 2.18.2, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3501,7 +3501,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-yast2-backup config.status 2.17.1
+yast2-backup config.status 2.18.2
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-backup-2.18.1/configure.in new/yast2-backup-2.18.2/configure.in
--- old/yast2-backup-2.18.1/configure.in 2008-10-23 17:21:51.000000000 +0200
+++ new/yast2-backup-2.18.2/configure.in 2009-01-27 17:44:22.000000000 +0100
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.17.6 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-backup, 2.17.1, http://bugs.opensuse.org/, yast2-backup)
+AC_INIT(yast2-backup, 2.18.2, http://bugs.opensuse.org/, yast2-backup)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -18,7 +18,7 @@
AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
dnl Important YaST2 variables
-VERSION="2.17.1"
+VERSION="2.18.2"
RPMNAME="yast2-backup"
MAINTAINER="Lukas Ocilka "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-backup-2.18.1/scrconf/cfg_backup_freespace.scr new/yast2-backup-2.18.2/scrconf/cfg_backup_freespace.scr
--- old/yast2-backup-2.18.1/scrconf/cfg_backup_freespace.scr 2007-05-18 10:43:37.000000000 +0200
+++ new/yast2-backup-2.18.2/scrconf/cfg_backup_freespace.scr 1970-01-01 01:00:00.000000000 +0100
@@ -1,35 +0,0 @@
-/**
- * File:
- * cfg_freespace.scr
- *
- * Summary:
- * Agent for getting the free space in the directory (in 1K blocks)
- *
- * Author:
- * Lukas Ocilka
- *
- * Access:
- * read
- *
- * Example:
- * Read(.backup.free_space, "/tmp")
- * (3752236)
- *
- * Read(.backup.free_space, "/abcd1")
- * (-1) // Directory does not exist or is not a directory
- *
- * Read(.backup.free_space, "/abcd2")
- * (-1) // Cannot find '/bin/df' binary
- *
- * Agent calls command '/bin/df $directory' and returns the available space
- * in 1K blocks. -1 is returned in case of any error, such as 'Directory does
- * not exist', 'Object is not a directory', '/bin/df does not exist on the
- * system' or 'Directory not defined'. Every error should appear in the y2log.
- *
- * $Id: cfg_backup_freespace.scr 30762 2006-05-09 13:21:49Z locilka $
- *
- */
-.backup.free_space
-
-`ag_free_space ()
-
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-backup-2.18.1/scrconf/Makefile.am new/yast2-backup-2.18.2/scrconf/Makefile.am
--- old/yast2-backup-2.18.1/scrconf/Makefile.am 2007-05-18 10:43:37.000000000 +0200
+++ new/yast2-backup-2.18.2/scrconf/Makefile.am 2009-01-27 13:21:41.000000000 +0100
@@ -3,7 +3,6 @@
#
scrconf_DATA = proc_filesystems.scr \
- cfg_backup.scr \
- cfg_backup_freespace.scr
+ cfg_backup.scr
EXTRA_DIST = $(scrconf_DATA)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-backup-2.18.1/scrconf/Makefile.in new/yast2-backup-2.18.2/scrconf/Makefile.in
--- old/yast2-backup-2.18.1/scrconf/Makefile.in 2008-10-23 17:21:54.000000000 +0200
+++ new/yast2-backup-2.18.2/scrconf/Makefile.in 2009-01-27 17:44:25.000000000 +0100
@@ -174,8 +174,7 @@
yncludedir = @yncludedir@
ystartupdir = @ystartupdir@
scrconf_DATA = proc_filesystems.scr \
- cfg_backup.scr \
- cfg_backup_freespace.scr
+ cfg_backup.scr
EXTRA_DIST = $(scrconf_DATA)
all: all-am
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-backup-2.18.1/src/ui.ycp new/yast2-backup-2.18.2/src/ui.ycp
--- old/yast2-backup-2.18.1/src/ui.ycp 2009-01-16 13:04:53.000000000 +0100
+++ new/yast2-backup-2.18.2/src/ui.ycp 2009-01-27 17:44:06.000000000 +0100
@@ -8,7 +8,7 @@
* Authors:
* Ladislav Slezak
*
- * $Id: ui.ycp 54689 2009-01-16 12:04:55Z locilka $
+ * $Id: ui.ycp 55096 2009-01-27 16:44:10Z locilka $
*
* Yast2 user interface functions - dialogs
*/
@@ -74,13 +74,13 @@
enough_free_space_target = true;
// check the tmpdir free space
- integer free_tmp = (integer) SCR::Read(.backup.free_space, Backup::tmp_dir);
+ integer free_tmp = (integer) SCR::Read(.system.freespace, Backup::tmp_dir);
if (free_tmp != -1 && free_tmp < min_free_space) {
enough_free_space_tmp = false;
}
// check the targetdir free space
- integer free_target = (integer) SCR::Read(.backup.free_space, Backup::target_dir);
+ integer free_target = (integer) SCR::Read(.system.freespace, Backup::target_dir);
if (free_target != -1 && free_target < min_free_space) {
enough_free_space_target = false;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-backup-2.18.1/VERSION new/yast2-backup-2.18.2/VERSION
--- old/yast2-backup-2.18.1/VERSION 2009-01-16 13:06:09.000000000 +0100
+++ new/yast2-backup-2.18.2/VERSION 2009-01-27 17:42:51.000000000 +0100
@@ -1 +1 @@
-2.18.1
+2.18.2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org