Hello community,
here is the log from the commit of package yast2
checked in at Fri Sep 26 16:58:13 CEST 2008.
--------
--- yast2/yast2.changes 2008-09-25 15:17:56.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2/yast2.changes 2008-09-26 16:01:12.657921000 +0200
@@ -1,0 +2,18 @@
+Fri Sep 26 12:15:53 CEST 2008 - locilka@suse.cz
+
+- Disabling firewall functions in Stage::initial (bnc #429861).
+- 2.17.32
+
+-------------------------------------------------------------------
+Fri Sep 26 10:24:15 CEST 2008 - lslezak@suse.cz
+
+- SlideShow.ycp - fixed division by zero when the installed
+ packages are very small (bnc#429933)
+
+-------------------------------------------------------------------
+Thu Sep 25 17:20:38 CEST 2008 - jdsn@suse.de
+
+- added new control center group: support (fate#303458)
+- 2.17.31
+
+-------------------------------------------------------------------
Old:
----
yast2-2.17.30.tar.bz2
New:
----
yast2-2.17.32.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2.spec ++++++
--- /var/tmp/diff_new_pack.e26047/_old 2008-09-26 16:57:45.000000000 +0200
+++ /var/tmp/diff_new_pack.e26047/_new 2008-09-26 16:57:45.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2 (Version 2.17.30)
+# spec file for package yast2 (Version 2.17.32)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2
-Version: 2.17.30
+Version: 2.17.32
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-2.17.30.tar.bz2
+Source0: yast2-2.17.32.tar.bz2
Prefix: /usr
Source1: yast2-rpmlintrc
BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-perl-bindings yast2-testsuite
@@ -147,7 +147,7 @@
Steffen Winterfeldt
%prep
-%setup -n yast2-2.17.30
+%setup -n yast2-2.17.32
%build
%{prefix}/bin/y2tool y2autoconf
@@ -251,6 +251,15 @@
%doc %{prefix}/share/doc/packages/yast2/types
%doc %{prefix}/share/doc/packages/yast2/wizard
%changelog
+* Fri Sep 26 2008 locilka@suse.cz
+- Disabling firewall functions in Stage::initial (bnc #429861).
+- 2.17.32
+* Fri Sep 26 2008 lslezak@suse.cz
+- SlideShow.ycp - fixed division by zero when the installed
+ packages are very small (bnc#429933)
+* Thu Sep 25 2008 jdsn@suse.de
+- added new control center group: support (fate#303458)
+- 2.17.31
* Thu Sep 25 2008 lslezak@suse.cz
- reverted back the base product detection, fixed in pkg-bindings
(bnc#413444)
++++++ yast2-2.17.30.tar.bz2 -> yast2-2.17.32.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.17.30/configure new/yast2-2.17.32/configure
--- old/yast2-2.17.30/configure 2008-09-25 15:16:57.000000000 +0200
+++ new/yast2-2.17.32/configure 2008-09-26 15:57:15.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for yast2 2.17.30.
+# Generated by GNU Autoconf 2.61 for yast2 2.17.32.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -574,8 +574,8 @@
# Identity of this package.
PACKAGE_NAME='yast2'
PACKAGE_TARNAME='yast2'
-PACKAGE_VERSION='2.17.30'
-PACKAGE_STRING='yast2 2.17.30'
+PACKAGE_VERSION='2.17.32'
+PACKAGE_STRING='yast2 2.17.32'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1200,7 +1200,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 2.17.30 to adapt to many kinds of systems.
+\`configure' configures yast2 2.17.32 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1271,7 +1271,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2 2.17.30:";;
+ short | recursive ) echo "Configuration of yast2 2.17.32:";;
esac
cat <<\_ACEOF
@@ -1349,7 +1349,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2 configure 2.17.30
+yast2 configure 2.17.32
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1363,7 +1363,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 $as_me 2.17.30, which was
+It was created by yast2 $as_me 2.17.32, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
@@ -2184,7 +2184,7 @@
# Define the identity of the package.
PACKAGE='yast2'
- VERSION='2.17.30'
+ VERSION='2.17.32'
cat >>confdefs.h <<_ACEOF
@@ -2412,7 +2412,7 @@
-VERSION="2.17.30"
+VERSION="2.17.32"
RPMNAME="yast2"
MAINTAINER="Jiri Srain "
@@ -3427,7 +3427,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2 $as_me 2.17.30, which was
+This file was extended by yast2 $as_me 2.17.32, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3470,7 +3470,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2 config.status 2.17.30
+yast2 config.status 2.17.32
configured by $0, generated by GNU Autoconf 2.61,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.17.30/configure.in new/yast2-2.17.32/configure.in
--- old/yast2-2.17.30/configure.in 2008-09-25 15:16:52.000000000 +0200
+++ new/yast2-2.17.32/configure.in 2008-09-26 15:57:10.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.17.3 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2, 2.17.30, http://bugs.opensuse.org/, yast2)
+AC_INIT(yast2, 2.17.32, http://bugs.opensuse.org/, yast2)
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.30"
+VERSION="2.17.32"
RPMNAME="yast2"
MAINTAINER="Jiri Srain "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.17.30/library/desktop/groups/support.desktop new/yast2-2.17.32/library/desktop/groups/support.desktop
--- old/yast2-2.17.30/library/desktop/groups/support.desktop 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-2.17.32/library/desktop/groups/support.desktop 2008-09-26 10:16:37.000000000 +0200
@@ -0,0 +1,17 @@
+[Desktop Entry]
+Type=Application
+Categories=Qt;X-SuSE-YaST;
+
+X-KDE-ModuleType=Library
+X-KDE-RootOnly=true
+X-KDE-HasReadOnlyMode=true
+X-KDE-Library=yast2
+
+X-SuSE-YaST-Group=Support
+X-SuSE-YaST-SortKey=90
+
+OnlyShowIn=X-SuSE-YaST;
+Icon=yast-support
+
+Name=Support
+X-KDE-SubstituteUID=true
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.17.30/library/modules/Version.ycp new/yast2-2.17.32/library/modules/Version.ycp
--- old/yast2-2.17.30/library/modules/Version.ycp 2008-09-25 15:17:07.000000000 +0200
+++ new/yast2-2.17.32/library/modules/Version.ycp 2008-09-26 15:57:26.000000000 +0200
@@ -20,7 +20,7 @@
/**
* Version of the yast2 package
*/
-global string yast2 = "2.17.30";
+global string yast2 = "2.17.32";
/* EOF */
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.17.30/library/network/src/CWMFirewallInterfaces.ycp new/yast2-2.17.32/library/network/src/CWMFirewallInterfaces.ycp
--- old/yast2-2.17.30/library/network/src/CWMFirewallInterfaces.ycp 2008-09-09 16:39:06.000000000 +0200
+++ new/yast2-2.17.32/library/network/src/CWMFirewallInterfaces.ycp 2008-09-26 13:55:10.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Routines for selecting interfaces opened in firewall
* Authors: Jiri Srain
*
- * $Id: CWMFirewallInterfaces.ycp 50435 2008-08-28 11:02:06Z locilka $
+ * $Id: CWMFirewallInterfaces.ycp 51569 2008-09-26 10:17:48Z locilka $
*
* WARNING: If you want to use this functionality of this module
* you should allways call 'SuSEFirewall::Read()' in the
@@ -29,10 +29,10 @@
import "Label";
import "Mode";
import "NetworkInterfaces";
-//import "NetworkService";
import "Popup";
import "SuSEFirewall";
import "Report";
+import "Stage";
// used only for (Mode::installation() || Mode::update())
import "SuSEFirewallProposal";
@@ -92,13 +92,19 @@
/**
* Set the firewall status label
- * @param status symbol one of `off, `closed, `open_all, `custom
+ * @param status symbol one of `off, `closed, `open_all, `custom, `not_installed
*/
void SetFirewallLabel (symbol status) {
string label = "";
if (status == `not_installed) {
- // label
- label = _("Firewall package is not installed");
+ // bnc #429861
+ if (Stage::initial()) {
+ // label
+ label = _("Firewall cannot be adjusted during first stage installation");
+ } else {
+ // label
+ label = _("Firewall package is not installed");
+ }
}
else if (status == `off)
{
@@ -207,7 +213,8 @@
InitAllInterfacesList ();
symbol status = `custom;
- if (! SuSEFirewall::SuSEFirewallIsInstalled())
+ // bnc #429861
+ if (Stage::initial() || ! SuSEFirewall::SuSEFirewallIsInstalled())
status = `not_installed;
else if (! SuSEFirewall::GetEnableService())
status = `off;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.17.30/library/network/src/SuSEFirewall.ycp new/yast2-2.17.32/library/network/src/SuSEFirewall.ycp
--- old/yast2-2.17.30/library/network/src/SuSEFirewall.ycp 2008-09-15 16:52:30.000000000 +0200
+++ new/yast2-2.17.32/library/network/src/SuSEFirewall.ycp 2008-09-26 13:55:10.000000000 +0200
@@ -6,7 +6,7 @@
* Summary: Interface manipulation of /etc/sysconfig/SuSEFirewall
* Authors: Lukas Ocilka
*
- * $Id: SuSEFirewall.ycp 51148 2008-09-15 10:58:02Z locilka $
+ * $Id: SuSEFirewall.ycp 51569 2008-09-26 10:17:48Z locilka $
*
* Module for handling SuSEfirewall2.
*/
@@ -27,6 +27,7 @@
import "PackageSystem";
import "FileUtils";
import "Directory";
+ import "Stage";
// <!-- SuSEFirewall VARIABLES //-->
@@ -2255,6 +2256,23 @@
global void ConvertToServicesDefinedByPackages();
/**
+ * Fills the configuration with default settings,
+ * adjusts internal variables that firewall cannot be configured.
+ */
+ void FillUpEmptyConfig () {
+ // do not call it again
+ configuration_has_been_read = true;
+
+ // Default settings, services are disabled
+ SETTINGS = DEFAULT_SETTINGS;
+ SETTINGS["enable_firewall"] = false;
+ SETTINGS["start_firewall"] = false;
+
+ // Cannot be configured, packages weren't installed
+ fw_service_can_be_configured = false;
+ }
+
+ /**
* Function for reading SuSEFirewall configuration.
* Fills internal variables only.
*
@@ -2272,19 +2290,17 @@
return fw_service_can_be_configured;
}
+ // bnc #429861
+ if (Stage::initial()) {
+ y2warning ("Stage::initial -> firewall can't be configured.");
+ FillUpEmptyConfig();
+ return false;
+ }
+
if (! SuSEFirewallIsInstalled()) {
y2warning ("Package not installed, disabling SuSEfirewall2-related functions.");
- // do not call it again
- configuration_has_been_read = true;
-
- // Default settings, services are disabled
- SETTINGS = DEFAULT_SETTINGS;
- SETTINGS["enable_firewall"] = false;
- SETTINGS["start_firewall"] = false;
-
- // Cannot be configured, packages weren't installed
- fw_service_can_be_configured = false;
- return fw_service_can_be_configured;
+ FillUpEmptyConfig();
+ return false;
}
// Can be configured, packages were installed
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.17.30/library/packages/src/SlideShow.ycp new/yast2-2.17.32/library/packages/src/SlideShow.ycp
--- old/yast2-2.17.30/library/packages/src/SlideShow.ycp 2008-09-22 18:09:05.000000000 +0200
+++ new/yast2-2.17.32/library/packages/src/SlideShow.ycp 2008-09-26 10:27:33.000000000 +0200
@@ -6,7 +6,7 @@
* Author: Stefan Hundhammer
* Stanislav Visnovsky
*
- * $Id: SlideShow.ycp 51354 2008-09-22 11:00:16Z visnov $
+ * $Id: SlideShow.ycp 51563 2008-09-26 08:27:31Z lslezak $
*
* Usage:
* This is a generic module for handling global progress bar with optional slideshow/release notes etc.
@@ -935,6 +935,12 @@
total_time = total_time + (stage["value"]:0 / 3495);
}
});
+
+ // avoid division by zero, set at least 1 second
+ if (total_time == 0)
+ {
+ total_time = 1;
+ }
y2milestone( "Total estimated time: %1", total_time );
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.17.30/VERSION new/yast2-2.17.32/VERSION
--- old/yast2-2.17.30/VERSION 2008-09-25 15:04:59.000000000 +0200
+++ new/yast2-2.17.32/VERSION 2008-09-26 15:56:34.000000000 +0200
@@ -1 +1 @@
-2.17.30
+2.17.32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org