Hello community,
here is the log from the commit of package yast2
checked in at Wed Apr 18 18:38:58 CEST 2007.
--------
--- yast2/yast2.changes 2007-04-12 14:08:54.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2/yast2.changes 2007-04-18 16:40:21.000000000 +0200
@@ -1,0 +2,14 @@
+Wed Apr 18 08:33:37 CEST 2007 - locilka@suse.cz
+
+- FileUtils::CheckAndCreatePatch function has been fixed not to
+ turn "/" into empty string (#203363).
+- 2.15.29
+
+-------------------------------------------------------------------
+Fri Apr 13 16:36:09 CEST 2007 - locilka@suse.cz
+
+- Added 'modified' flag into SuSEFirewallServices module. This
+ makes SuSEFirewall module to restart SuSEfirewall2 in case of
+ changed only SuSEFirewallServices settings.
+
+-------------------------------------------------------------------
Old:
----
yast2-2.15.28.tar.bz2
New:
----
yast2-2.15.29.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2.spec ++++++
--- /var/tmp/diff_new_pack.Q27203/_old 2007-04-18 18:38:50.000000000 +0200
+++ /var/tmp/diff_new_pack.Q27203/_new 2007-04-18 18:38:50.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2 (Version 2.15.28)
+# spec file for package yast2 (Version 2.15.29)
#
# 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
-Version: 2.15.28
+Version: 2.15.29
Release: 1
License: GNU General Public License (GPL)
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-2.15.28.tar.bz2
+Source0: yast2-2.15.29.tar.bz2
prefix: /usr
BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-pkg-bindings yast2-testsuite
# SCR::RegisterNewAgents()
@@ -101,7 +101,7 @@
Steffen Winterfeldt
%prep
-%setup -n yast2-2.15.28
+%setup -n yast2-2.15.29
%build
%{prefix}/bin/y2tool y2autoconf
@@ -209,6 +209,14 @@
%doc %{prefix}/share/doc/packages/yast2/wizard
%changelog
+* Wed Apr 18 2007 - locilka@suse.cz
+- FileUtils::CheckAndCreatePatch function has been fixed not to
+ turn "/" into empty string (#203363).
+- 2.15.29
+* Fri Apr 13 2007 - locilka@suse.cz
+- Added 'modified' flag into SuSEFirewallServices module. This
+ makes SuSEFirewall module to restart SuSEfirewall2 in case of
+ changed only SuSEFirewallServices settings.
* Thu Apr 12 2007 - locilka@suse.cz
- Added new SetNeededPortsAndProtocols() function into
SuSEFirewallServices module. It allows to modify services defined
++++++ yast2-2.15.28.tar.bz2 -> yast2-2.15.29.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.28/configure new/yast2-2.15.29/configure
--- old/yast2-2.15.28/configure 2007-04-06 15:49:03.000000000 +0200
+++ new/yast2-2.15.29/configure 2007-04-18 15:39:54.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 2.15.25.
+# Generated by GNU Autoconf 2.60 for yast2 2.15.28.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -559,8 +559,8 @@
# Identity of this package.
PACKAGE_NAME='yast2'
PACKAGE_TARNAME='yast2'
-PACKAGE_VERSION='2.15.25'
-PACKAGE_STRING='yast2 2.15.25'
+PACKAGE_VERSION='2.15.28'
+PACKAGE_STRING='yast2 2.15.28'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1183,7 +1183,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.15.25 to adapt to many kinds of systems.
+\`configure' configures yast2 2.15.28 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1254,7 +1254,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2 2.15.25:";;
+ short | recursive ) echo "Configuration of yast2 2.15.28:";;
esac
cat <<\_ACEOF
@@ -1332,7 +1332,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2 configure 2.15.25
+yast2 configure 2.15.28
generated by GNU Autoconf 2.60
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1346,7 +1346,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.15.25, which was
+It was created by yast2 $as_me 2.15.28, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ $0 $@
@@ -2147,7 +2147,7 @@
# Define the identity of the package.
PACKAGE='yast2'
- VERSION='2.15.25'
+ VERSION='2.15.28'
cat >>confdefs.h <<_ACEOF
@@ -2374,7 +2374,7 @@
-VERSION="2.15.25"
+VERSION="2.15.28"
RPMNAME="yast2"
MAINTAINER="Jiri Srain "
@@ -3366,7 +3366,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.15.25, which was
+This file was extended by yast2 $as_me 2.15.28, which was
generated by GNU Autoconf 2.60. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3409,7 +3409,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2 config.status 2.15.25
+yast2 config.status 2.15.28
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-2.15.28/configure.in new/yast2-2.15.29/configure.in
--- old/yast2-2.15.28/configure.in 2007-04-06 15:48:58.000000000 +0200
+++ new/yast2-2.15.29/configure.in 2007-04-18 15:39:50.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.14.0 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2, 2.15.25, http://bugs.opensuse.org/, yast2)
+AC_INIT(yast2, 2.15.28, http://bugs.opensuse.org/, yast2)
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.25"
+VERSION="2.15.28"
RPMNAME="yast2"
MAINTAINER="Jiri Srain "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.28/library/modules/FileUtils.ycp new/yast2-2.15.29/library/modules/FileUtils.ycp
--- old/yast2-2.15.28/library/modules/FileUtils.ycp 2007-03-06 22:26:33.000000000 +0100
+++ new/yast2-2.15.29/library/modules/FileUtils.ycp 2007-04-18 08:35:11.000000000 +0200
@@ -7,7 +7,7 @@
* removing them.
* Flags: Stable
*
- * $Id: FileUtils.ycp 36754 2007-03-06 21:26:30Z locilka $
+ * $Id: FileUtils.ycp 37521 2007-04-18 06:35:09Z locilka $
*/
{
module "FileUtils";
@@ -274,7 +274,10 @@
string check_path = pathvalue;
// remove the final slash
- if (regexpmatch(check_path, "/$")) check_path = regexpsub(check_path, "^(.*)/$", "\\1");
+ // but never the last one "/"
+ // bugzilla #203363
+ if (regexpmatch (check_path, "/$") && check_path != "/")
+ check_path = regexpsub (check_path, "^(.*)/$", "\\1");
y2milestone("Checking existency of %1 path", check_path);
// Directory (path) already exists
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.28/library/modules/Mode.ycp new/yast2-2.15.29/library/modules/Mode.ycp
--- old/yast2-2.15.28/library/modules/Mode.ycp 2007-02-09 15:03:37.000000000 +0100
+++ new/yast2-2.15.29/library/modules/Mode.ycp 2007-04-18 14:15:19.000000000 +0200
@@ -5,7 +5,7 @@
* Authors: Klaus Kaempf
* Flags: Stable
*
- * $Id: Mode.ycp 35995 2007-02-09 13:55:54Z mvidner $
+ * $Id: Mode.ycp 37529 2007-04-18 12:15:16Z locilka $
*
* Provide installation mode information.
* Mostly values from /etc/install.inf
@@ -93,6 +93,10 @@
// main mode definitions
+/**
+ * Returns the current mode name. It's one of
+ * "installation", "normal", "update", "repair", "autoinstallation", "autoinst_config"
+ */
global string mode () {
if (_mode == nil)
{
@@ -150,6 +154,10 @@
// UI mode definitions
+/**
+ * Returns the current UI mode.
+ * It's one of "commandline", "dialog", "none"
+ */
global string ui () {
return _ui;
}
@@ -195,7 +203,7 @@
}
/**
- * do auto-installation
+ * doing auto-installation
*/
global boolean autoinst () {
return mode () == "autoinstallation";
@@ -227,6 +235,9 @@
return testMode () == "screenshot";
}
+/**
+ * Returns whether running in testsuite.
+ */
global boolean testsuite () {
return testMode () == "testsuite";
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.28/library/modules/Version.ycp new/yast2-2.15.29/library/modules/Version.ycp
--- old/yast2-2.15.28/library/modules/Version.ycp 2007-04-12 14:09:20.000000000 +0200
+++ new/yast2-2.15.29/library/modules/Version.ycp 2007-04-18 16:40:59.000000000 +0200
@@ -20,7 +20,7 @@
/**
* Version of the yast2 package
*/
-global string yast2 = "2.15.28";
+global string yast2 = "2.15.29";
/* EOF */
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.28/library/network/src/SuSEFirewallServices.ycp new/yast2-2.15.29/library/network/src/SuSEFirewallServices.ycp
--- old/yast2-2.15.28/library/network/src/SuSEFirewallServices.ycp 2007-04-12 14:34:39.000000000 +0200
+++ new/yast2-2.15.29/library/network/src/SuSEFirewallServices.ycp 2007-04-13 16:42:05.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Definition of Supported Firewall Services and Port Aliases.
* Authors: Lukas Ocilka
*
- * $Id: SuSEFirewallServices.ycp 37418 2007-04-12 12:34:38Z locilka $
+ * $Id: SuSEFirewallServices.ycp 37457 2007-04-13 14:42:00Z locilka $
*
* Global Definition of Firewall Services
* Defined using TCP, UDP and RPC ports and IP protocols and Broadcast UDP
@@ -56,6 +56,9 @@
*/
string services_definitions_in = "/etc/sysconfig/SuSEfirewall2.d/services/";
+
+ // firewall needs restarting
+ boolean sfws_modified = false;
map known_services_features = $[
"TCP" : "tcp_ports",
@@ -477,6 +480,29 @@
}
/**
+ * Sets that configuration was modified
+ */
+ global void SetModified () {
+ sfws_modified = true;
+ }
+
+ /**
+ * Sets that configuration was not modified
+ */
+ global void ResetModified () {
+ sfws_modified = false;
+ }
+
+ /**
+ * Returns whether configuration was modified
+ *
+ * @return boolean modified
+ */
+ global boolean GetModified () {
+ return sfws_modified;
+ }
+
+ /**
* Function returns needed ports allowing broadcast
*
* @param string service
@@ -633,6 +659,7 @@
// not only store to disk but also to the memory
if (SERVICES[service]:nil == nil) SERVICES[service] = $[];
SERVICES[service] = new_store_definition;
+ SetModified();
}
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.28/library/network/src/SuSEFirewall.ycp new/yast2-2.15.29/library/network/src/SuSEFirewall.ycp
--- old/yast2-2.15.28/library/network/src/SuSEFirewall.ycp 2007-03-21 16:12:05.000000000 +0100
+++ new/yast2-2.15.29/library/network/src/SuSEFirewall.ycp 2007-04-13 16:35:55.000000000 +0200
@@ -959,13 +959,14 @@
boolean fw_service_can_be_configured = false;
/**
- * Functions returns if any firewall's configuration was modified
- * or wasn't
+ * Functions returns whether any firewall's configuration was modified.
*
* @return boolean if the configuration was modified
*/
global define boolean GetModified () {
- return modified;
+ // Changed SuSEFirewall or
+ // Changed SuSEFirewallServices (needs resatrting as well)
+ return (modified || SuSEFirewallServices::GetModified());
}
/**
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.28/VERSION new/yast2-2.15.29/VERSION
--- old/yast2-2.15.28/VERSION 2007-04-12 14:08:59.000000000 +0200
+++ new/yast2-2.15.29/VERSION 2007-04-18 16:40:06.000000000 +0200
@@ -1 +1 @@
-2.15.28
+2.15.29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org