Hello community,
here is the log from the commit of package yast2
checked in at Tue Jan 23 01:33:15 CET 2007.
--------
--- yast2/yast2.changes 2007-01-09 11:24:16.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2/yast2.changes 2007-01-22 17:54:40.000000000 +0100
@@ -1,0 +2,25 @@
+Mon Jan 22 17:53:17 CET 2007 - mzugec@suse.cz
+
+- 2.15.3
+- #237353 - use cache to avoid multiple confirmations for the same purpose
+
+-------------------------------------------------------------------
+Fri Jan 19 10:16:05 CET 2007 - jsuchome@suse.cz
+
+- added new API to Popup: MessageDetails, WarningDetails, ErrorDetails,
+ NotifyDetails (popup with text and Details button for extra info)
+
+-------------------------------------------------------------------
+Fri Jan 19 09:09:33 CET 2007 - locilka@suse.cz
+
+- Added two new remarkable functions GetFirewallKernelModules and
+ SetFirewallKernelModules into the SuSEFirewall module. They will
+ allow to open FTP service in SuSEfirewall2.
+- Adjusted testsuite on Firewall
+
+-------------------------------------------------------------------
+Thu Jan 18 15:16:45 CET 2007 - kmachalkova@suse.cz
+
+- Avoid displaying empty strings in NetworkPopup (#220813, #223498)
+
+-------------------------------------------------------------------
Old:
----
yast2-2.15.2.tar.bz2
New:
----
yast2-2.15.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2.spec ++++++
--- /var/tmp/diff_new_pack.D31406/_old 2007-01-23 01:31:54.000000000 +0100
+++ /var/tmp/diff_new_pack.D31406/_new 2007-01-23 01:31:54.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2 (Version 2.15.2)
+# spec file for package yast2 (Version 2.15.3)
#
# 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.2
-Release: 4
+Version: 2.15.3
+Release: 1
License: GNU General Public License (GPL)
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-2.15.2.tar.bz2
+Source0: yast2-2.15.3.tar.bz2
prefix: /usr
BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-pkg-bindings yast2-testsuite
# UI::RunInTerminal builtin
@@ -97,7 +97,7 @@
Steffen Winterfeldt
%prep
-%setup -n yast2-2.15.2
+%setup -n yast2-2.15.3
%build
%{prefix}/bin/y2tool y2autoconf
@@ -198,6 +198,19 @@
%doc %{prefix}/share/doc/packages/yast2/wizard
%changelog -n yast2
+* Mon Jan 22 2007 - mzugec@suse.cz
+- 2.15.3
+- #237353 - use cache to avoid multiple confirmations for the same purpose
+* Fri Jan 19 2007 - jsuchome@suse.cz
+- added new API to Popup: MessageDetails, WarningDetails, ErrorDetails,
+ NotifyDetails (popup with text and Details button for extra info)
+* Fri Jan 19 2007 - locilka@suse.cz
+- Added two new remarkable functions GetFirewallKernelModules and
+ SetFirewallKernelModules into the SuSEFirewall module. They will
+ allow to open FTP service in SuSEfirewall2.
+- Adjusted testsuite on Firewall
+* Thu Jan 18 2007 - kmachalkova@suse.cz
+- Avoid displaying empty strings in NetworkPopup (#220813, #223498)
* Tue Jan 09 2007 - mzugec@suse.cz
- add bond device
* Mon Jan 08 2007 - locilka@suse.cz
++++++ yast2-2.15.2.tar.bz2 -> yast2-2.15.3.tar.bz2 ++++++
++++ 9620 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-2.15.2/configure.in new/yast2-2.15.3/configure.in
--- old/yast2-2.15.2/configure.in 2007-01-09 11:18:49.000000000 +0100
+++ new/yast2-2.15.3/configure.in 2007-01-22 17:39:41.000000000 +0100
@@ -1,6 +1,6 @@
dnl configure.in for yast2
dnl
-dnl -- This file is generated by y2autoconf 2.14.0 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.13.29 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
AC_INIT(yast2, 2.15.2, http://bugs.opensuse.org/, yast2)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-2.15.2/library/modules/Popup.ycp new/yast2-2.15.3/library/modules/Popup.ycp
--- old/yast2-2.15.2/library/modules/Popup.ycp 2006-12-11 13:16:06.000000000 +0100
+++ new/yast2-2.15.3/library/modules/Popup.ycp 2007-01-22 16:52:57.000000000 +0100
@@ -7,7 +7,7 @@
* Arvin Schnell
* Flags: Stable
*
- * $Id: Popup.ycp 31242 2006-06-01 12:59:16Z locilka $
+ * $Id: Popup.ycp 35519 2007-01-19 09:23:33Z jsuchome $
*
* Contains commonly used popup dialogs
* for general usage, e.g. Popup::YesNo(), Popup::ContinueCancel().
@@ -752,7 +752,52 @@
}
+/**
+ * Generic message popup with Details button - internal
+ *
+ * Show a message with optional headline above and
+ * wait until user clicked "OK" or "Details". On "Details", show window with detailed information.
+ *
+ * @param headline optional headline or Popup::NoHeadline()
+ * @param message the message (maybe multi-line) to display.
+ * @param details the detailed information text
+ */
+define void anyMessageDetailsInternalType(string headline, string message, string details, string icon_name, boolean richtext, integer width, integer height )
+{
+ term button_box = `HBox (
+ `PushButton (`id(`ok_msg), `opt (`default, `key_F10), Label::OKButton()),
+ // button label
+ `PushButton (`id(`details), `opt (`key_F6), _("&Details..."))
+ );
+ UI::OpenDialog (
+ `opt(`decorated),
+ richtext ? popupLayoutInternalRich(headline, message, icon_name, button_box, width, height)
+ : popupLayoutInternal( headline, message, icon_name, button_box )
+ );
+ UI::SetFocus(`id(`ok_msg) );
+
+ while (true)
+ {
+ any ret = UI::UserInput();
+ if (ret == `details)
+ {
+ UI::OpenDialog (`opt(`decorated ), `HBox (`VSpacing(default_height),
+ `VBox (
+ `HSpacing (default_width),
+ `VSpacing (0.5),
+ `RichText (details),
+ `VSpacing (),
+ `PushButton (`id(`ok), `opt(`default, `key_F10), Label::OKButton())
+ )
+ ));
+ UI::UserInput();
+ UI::CloseDialog();
+ }
+ else break;
+ }
+ UI::CloseDialog();
+}
/**
* Generic message popup - internal
@@ -792,6 +837,13 @@
anyMessageInternalType(headline, message, icon_name, true, width, height);
}
+/**
+ * Internal function - wrapper for anyMessageDetailsInternalType call
+ */
+define void anyMessageDetailsInternal (string headline, string message, string details, string icon_name) {
+ anyMessageDetailsInternalType (headline, message, details, icon_name, false, 0, 0);
+}
+
/**
* Generic message popup - internal
@@ -943,6 +995,19 @@
}
/**
+ * Show a message with Details button and wait until user clicked "OK".
+ *
+ * @param message message string
+ * @param details detailed information string
+ * @example Popup::MessageDetails("This is an information about ... .", "This service is intended to...");
+ *
+ * @see Message
+ */
+global define void MessageDetails (string message, string details) {
+ anyMessageDetailsInternal (NoHeadline (), message, details, NoIcon ());
+}
+
+/**
* Show a warning message and wait until user clicked "OK".
*
*
@@ -1023,6 +1088,18 @@
anyTimedRichMessageInternal( Label::WarningMsg(), message, popupIcon( "msg_warning.png" ), timeout_seconds, width, height );
}
+/**
+ * Show a warning with Details button and wait until user clicked "OK".
+ *
+ * @param message warning message string
+ * @param details detailed information string
+ * @example Popup::WarningDetails("Something is wrong. Please check your configuration.", "possible problem is in..." );
+ *
+ * @see Message
+ */
+global define void WarningDetails (string message, string details) {
+ anyMessageDetailsInternal (Label::WarningMsg(), message, details, popupIcon("msg_warning.png"));
+}
/**
* Show an error message and wait until user clicked "OK".
@@ -1105,6 +1182,18 @@
anyTimedRichMessageInternal( Label::ErrorMsg(), message, popupIcon( "msg_error.png" ), timeout_seconds, width, height );
}
+/**
+ * Show an error message with Details button and wait until user clicked "OK".
+ *
+ * @param message error message string
+ * @param details detailed information string
+ * @example Popup::ErrorDetails("The configuration was not succesful.", "Service failed to start");
+ *
+ * @see Message
+ */
+global define void ErrorDetails (string message, string details) {
+ anyMessageDetailsInternal (Label::ErrorMsg(), message, details, popupIcon ("msg_error.png"));
+}
/**
@@ -1183,6 +1272,18 @@
/**
+ * Show a notify message with Details button and wait until user clicked "OK".
+ *
+ * @param message error message string
+ * @param details detailed information string
+ *
+ * @see Message
+ */
+global define void NotifyDetails (string message, string details) {
+ anyMessageDetailsInternal (NoHeadline(), message, details, popupIcon ("msg_info.png"));
+}
+
+/**
* Display a message with a timeout
*
* Display a message with a timeout and return when the user clicks "OK", "Cancel"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-2.15.2/library/modules/Version.ycp new/yast2-2.15.3/library/modules/Version.ycp
--- old/yast2-2.15.2/library/modules/Version.ycp 2007-01-09 11:19:04.000000000 +0100
+++ new/yast2-2.15.3/library/modules/Version.ycp 2007-01-22 17:54:02.000000000 +0100
@@ -20,7 +20,7 @@
/**
* Version of the yast2 package
*/
-global string yast2 = "2.15.2";
+global string yast2 = "2.15.3";
/* EOF */
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-2.15.2/library/network/src/NetworkPopup.ycp new/yast2-2.15.3/library/network/src/NetworkPopup.ycp
--- old/yast2-2.15.2/library/network/src/NetworkPopup.ycp 2006-12-11 13:15:57.000000000 +0100
+++ new/yast2-2.15.3/library/network/src/NetworkPopup.ycp 2007-01-22 16:52:56.000000000 +0100
@@ -9,7 +9,7 @@
* Martin Vidner
* Ladislav Slezak
*
- * $Id: NetworkPopup.ycp 33492 2006-10-18 12:02:47Z kmachalkova $
+ * $Id: NetworkPopup.ycp 35490 2007-01-18 14:22:40Z kmachalkova $
*
* Network browsing dialogs - all hosts, NFS servers, exports of the NFS server
*
@@ -41,12 +41,23 @@
list Items = maplist(string i, items, ``{
string device_name = NetworkDevices::GetValue(i, "NAME");
+ if ( (device_name == nil) || (device_name == "") ) {
+ //TRANSLATORS: Informs that device name is not known
+ device_name = _("Unknown device");
+ }
if (size(device_name) > 30) {
device_name = substring (device_name, 0, 27) + "...";
}
- // translators: table item, informing that IP address is assigned via DHCP
- return `item(`id(i), NetworkDevices::GetDeviceType(i), device_name, (NetworkDevices::GetValue(i, "BOOTPROTO") == "dhcp" ?
- _("DHCP address"): NetworkDevices::GetValue(i, "IPADDR")), i);
+ string ip_addr = (NetworkDevices::GetValue(i, "BOOTPROTO") == "dhcp" ?
+ // TRANSLATORS: Informs that the IP address is assigned via DHCP
+ _("DHCP address") :
+ NetworkDevices::GetValue(i, "IPADDR"));
+
+ if ( (ip_addr == nil) || (ip_addr == "")) {
+ // TRANSLATORS: table item, informing that device has no IP address
+ ip_addr = _("No IP address assigned");
+ }
+ return `item(`id(i), NetworkDevices::GetDeviceType(i), device_name, ip_addr, i);
}
);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-2.15.2/library/network/src/SuSEFirewall.ycp new/yast2-2.15.3/library/network/src/SuSEFirewall.ycp
--- old/yast2-2.15.2/library/network/src/SuSEFirewall.ycp 2006-12-11 13:15:57.000000000 +0100
+++ new/yast2-2.15.3/library/network/src/SuSEFirewall.ycp 2007-01-22 16:52:56.000000000 +0100
@@ -135,6 +135,9 @@
// Custom rulezz
// net,protocol[,dport][,sport]
"FW_SERVICES_ACCEPT_EXT", "FW_SERVICES_ACCEPT_INT", "FW_SERVICES_ACCEPT_DMZ",
+
+ // Custom kernel modules, e.g., for FTP
+ "FW_LOAD_MODULES",
];
# <!-- SuSEFirewall VARIABLES //-->
@@ -2745,6 +2748,57 @@
return true;
}
+ /**
+ * Returns list of additional kernel modules, that are loaded by firewall on startup.
+ * For instance "ip_conntrack_ftp" and "ip_nat_ftp" for FTP service.
+ *
+ * @return list <string> of kernel modules
+ *
+ * @see /etc/sysconfig/SuSEfirewall2 option nr. 32
+ */
+ global define list <string> GetFirewallKernelModules () {
+ list <string> k_modules = splitstring (SETTINGS["FW_LOAD_MODULES"]:"", " \t\n");
+
+ k_modules = filter (string one_module, k_modules, {
+ return (one_module != "");
+ });
+
+ return toset (k_modules);
+ }
+
+ /**
+ * Sets list of additional kernel modules to be loaded by firewall on startup.
+ *
+ * @param list <string> of kernel modules
+ *
+ * @see /etc/sysconfig/SuSEfirewall2 option nr. 32
+ *
+ * @example SuSEFirewall::SetFirewallKernelModules (["ip_conntrack_ftp","ip_nat_ftp"]);
+ */
+ global define void SetFirewallKernelModules (list <string> k_modules) {
+ k_modules = filter (string one_module, k_modules, {
+ if (one_module == nil) {
+ y2error ("List of modules %1 contains 'nil'! It will be ignored.", k_modules);
+ return false;
+ } else if (one_module == "") {
+ y2warning ("List of modules %1 contains an empty string, it will be ignored.", k_modules);
+ return false;
+ }
+
+ if (regexpmatch (one_module, " ") || regexpmatch (one_module, "\t")) {
+ y2warning (
+ "Additional module '%1' contains spaces. They will be evaluated as two or more modules later.",
+ one_module
+ );
+ }
+
+ return true;
+ });
+
+ SETTINGS["FW_LOAD_MODULES"] = mergestring (k_modules, " ");
+ SetModified();
+ }
+
# <!-- SuSEFirewall GLOBAL FUNCTIONS //-->
/* EOF */
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-2.15.2/library/network/testsuite/tests/SuSEFirewall.out new/yast2-2.15.3/library/network/testsuite/tests/SuSEFirewall.out
--- old/yast2-2.15.2/library/network/testsuite/tests/SuSEFirewall.out 2006-12-11 13:15:57.000000000 +0100
+++ new/yast2-2.15.3/library/network/testsuite/tests/SuSEFirewall.out 2007-01-22 16:52:56.000000000 +0100
@@ -12,7 +12,7 @@
Dump
Dump == Import/Export ==
Return nil
-Return $["FW_ALLOW_FW_BROADCAST_DMZ":"no", "FW_ALLOW_FW_BROADCAST_EXT":"no", "FW_ALLOW_FW_BROADCAST_INT":"no", "FW_DEV_DMZ":"", "FW_DEV_EXT":"eth6 special-string eth8", "FW_DEV_INT":"dsl0", "FW_FORWARD_MASQ":"", "FW_IGNORE_FW_BROADCAST_DMZ":"no", "FW_IGNORE_FW_BROADCAST_EXT":"yes", "FW_IGNORE_FW_BROADCAST_INT":"no", "FW_IPSEC_TRUST":"no", "FW_LOG_ACCEPT_ALL":"no", "FW_LOG_ACCEPT_CRIT":"yes", "FW_LOG_DROP_ALL":"no", "FW_LOG_DROP_CRIT":"yes", "FW_MASQUERADE":"no", "FW_PROTECT_FROM_INT":"no", "FW_ROUTE":"no", "FW_SERVICES_DMZ_IP":"", "FW_SERVICES_DMZ_RPC":"", "FW_SERVICES_DMZ_TCP":"", "FW_SERVICES_DMZ_UDP":"", "FW_SERVICES_EXT_IP":"", "FW_SERVICES_EXT_RPC":"", "FW_SERVICES_EXT_TCP":"", "FW_SERVICES_EXT_UDP":"", "FW_SERVICES_INT_IP":"", "FW_SERVICES_INT_RPC":"", "FW_SERVICES_INT_TCP":"", "FW_SERVICES_INT_UDP":"", "enable_firewall":false, "start_firewall":false]
+Return $["FW_ALLOW_FW_BROADCAST_DMZ":"no", "FW_ALLOW_FW_BROADCAST_EXT":"no", "FW_ALLOW_FW_BROADCAST_INT":"no", "FW_DEV_DMZ":"", "FW_DEV_EXT":"eth6 special-string eth8", "FW_DEV_INT":"dsl0", "FW_FORWARD_MASQ":"", "FW_IGNORE_FW_BROADCAST_DMZ":"no", "FW_IGNORE_FW_BROADCAST_EXT":"yes", "FW_IGNORE_FW_BROADCAST_INT":"no", "FW_IPSEC_TRUST":"no", "FW_LOAD_MODULES":"\n\n\n", "FW_LOG_ACCEPT_ALL":"no", "FW_LOG_ACCEPT_CRIT":"yes", "FW_LOG_DROP_ALL":"no", "FW_LOG_DROP_CRIT":"yes", "FW_MASQUERADE":"no", "FW_PROTECT_FROM_INT":"no", "FW_ROUTE":"no", "FW_SERVICES_DMZ_IP":"", "FW_SERVICES_DMZ_RPC":"", "FW_SERVICES_DMZ_TCP":"", "FW_SERVICES_DMZ_UDP":"", "FW_SERVICES_EXT_IP":"", "FW_SERVICES_EXT_RPC":"", "FW_SERVICES_EXT_TCP":"", "FW_SERVICES_EXT_UDP":"", "FW_SERVICES_INT_IP":"", "FW_SERVICES_INT_RPC":"", "FW_SERVICES_INT_TCP":"", "FW_SERVICES_INT_UDP":"", "enable_firewall":false, "start_firewall":false]
Dump
Dump == Firewall behaviour ==
Return [$["id":"ippp5", "name":"", "type":"dialup", "zone":nil], $["id":"ppp5", "name":"", "type":"dialup", "zone":nil], $["id":"arc5", "name":"", "zone":nil], $["id":"atm5", "name":"", "zone":nil], $["id":"ci5", "name":"", "zone":nil], $["id":"ctc5", "name":"", "zone":nil], $["id":"dummy5", "name":"", "zone":nil], $["id":"escon5", "name":"", "zone":nil], $["id":"eth5", "name":"", "zone":nil], $["id":"eth6", "name":"", "zone":"EXT"], $["id":"eth7", "name":"", "zone":nil], $["id":"eth8", "name":"", "zone":"EXT"], $["id":"eth9", "name":"", "zone":nil], $["id":"fddi5", "name":"", "zone":nil], $["id":"hippi5", "name":"", "zone":nil], $["id":"hsi5", "name":"", "zone":nil], $["id":"iucv5", "name":"", "zone":nil], $["id":"myri5", "name":"", "zone":nil], $["id":"tr5", "name":"", "zone":nil]]
@@ -78,3 +78,12 @@
Return true
Return false
Return false
+Dump
+Dump == Additional Kernel Modules ==
+Return []
+Return nil
+Return ["module_a", "module_b", "module_c"]
+Return nil
+Return ["module_x", "module_y", "module_z"]
+Return nil
+Return ["module_a", "module_b", "module_c", "module_x", "module_y", "module_z"]
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-2.15.2/library/network/testsuite/tests/SuSEFirewall.ycp new/yast2-2.15.3/library/network/testsuite/tests/SuSEFirewall.ycp
--- old/yast2-2.15.2/library/network/testsuite/tests/SuSEFirewall.ycp 2006-12-11 13:15:57.000000000 +0100
+++ new/yast2-2.15.3/library/network/testsuite/tests/SuSEFirewall.ycp 2007-01-22 16:52:56.000000000 +0100
@@ -15,6 +15,7 @@
"FW_IGNORE_FW_BROADCAST_EXT":"yes",
"FW_IGNORE_FW_BROADCAST_INT":"no",
"FW_IPSEC_TRUST":"no",
+ "FW_LOAD_MODULES":"\n\n\n",
"FW_LOG_ACCEPT_ALL":"no",
"FW_LOG_ACCEPT_CRIT":"yes",
"FW_LOG_DROP_ALL":"no",
@@ -210,4 +211,16 @@
TEST(``(SuSEFirewall::StopServices()), [READ, WRITE, EXECUTE_OK], nil);
TEST(``(SuSEFirewall::StartServices()), [READ, WRITE, EXECUTE_ERR], nil);
TEST(``(SuSEFirewall::StartServices()), [READ, WRITE, EXECUTE_ERR], nil);
+
+ DUMP("");
+ DUMP("== Additional Kernel Modules ==");
+ TEST(``(SuSEFirewall::GetFirewallKernelModules()), [READ, WRITE, EXECUTE], nil);
+ // empty modules, nil modules
+ TEST(``(SuSEFirewall::SetFirewallKernelModules(["module_a", nil, "module_b", "", "module_c", ""])), [READ, WRITE, EXECUTE], nil);
+ TEST(``(SuSEFirewall::GetFirewallKernelModules()), [READ, WRITE, EXECUTE], nil);
+ TEST(``(SuSEFirewall::SetFirewallKernelModules(["module_z", "module_x", "module_y"])), [READ, WRITE, EXECUTE], nil);
+ TEST(``(SuSEFirewall::GetFirewallKernelModules()), [READ, WRITE, EXECUTE], nil);
+ // more modules in one entry - separated by space or tab
+ TEST(``(SuSEFirewall::SetFirewallKernelModules(["module_a module_z", "module_y\tmodule_x", "module_b module_c"])), [READ, WRITE, EXECUTE], nil);
+ TEST(``(SuSEFirewall::GetFirewallKernelModules()), [READ, WRITE, EXECUTE], nil);
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-2.15.2/library/wizard/src/Confirm.ycp new/yast2-2.15.3/library/wizard/src/Confirm.ycp
--- old/yast2-2.15.2/library/wizard/src/Confirm.ycp 2006-12-11 13:16:01.000000000 +0100
+++ new/yast2-2.15.3/library/wizard/src/Confirm.ycp 2007-01-22 17:53:53.000000000 +0100
@@ -9,7 +9,7 @@
*
* Flags: Stable
*
- * $Id: Confirm.ycp 31242 2006-06-01 12:59:16Z locilka $
+ * $Id: Confirm.ycp 35606 2007-01-22 16:53:51Z mzugec $
*/
{
@@ -23,6 +23,9 @@
import "Popup";
import "Linuxrc";
+// #TODO bug number
+map detection_cache = $[];
+
/**
* Confirm hardware detection (only in manual installation)
* @param class hardware class (network cards)
@@ -32,6 +35,12 @@
if(Linuxrc::manual () != true) return true;
+ boolean result = detection_cache[class]:nil;
+ if (result != nil) {
+ y2milestone ("Detection cached result: %1 -> %2", class, result);
+ return result;
+ }
+
UI::OpenDialog(`opt(`decorated), `HBox(
`HSpacing(1),
`HCenter(`HSquash(`VBox(
@@ -71,12 +80,14 @@
any ret = UI::UserInput();
UI::CloseDialog();
+ result = true;
if(ret != `continue) {
y2milestone("Detection skipped: %1", class);
- return false;
+ result = false;
}
- return true;
+ detection_cache[class] = result;
+ return result;
}
/*
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-2.15.2/VERSION new/yast2-2.15.3/VERSION
--- old/yast2-2.15.2/VERSION 2007-01-09 11:13:21.000000000 +0100
+++ new/yast2-2.15.3/VERSION 2007-01-22 17:53:14.000000000 +0100
@@ -1 +1 @@
-2.15.2
+2.15.3
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org