Hello community,
here is the log from the commit of package yast2
checked in at Wed Apr 5 17:47:44 CEST 2006.
--------
--- yast2/yast2.changes 2006-04-04 15:41:27.000000000 +0200
+++ yast2/yast2.changes 2006-04-05 16:00:54.000000000 +0200
@@ -1,0 +2,45 @@
+Wed Apr 5 15:59:36 CEST 2006 - locilka@suse.cz
+
+- Registered new Pkg:: callbacks
+ - Pkg::CallbackAcceptUnsignedFile
+ - Pkg::CallbackAcceptUnknownGpgKey
+ - Pkg::CallbackImportGpgKey
+ - Pkg::CallbackAcceptVerificationFailed
+ - Pkg::CallbackTrustedKeyAdded
+ - Pkg::CallbackTrustedKeyRemoved
+- 2.13.45
+
+-------------------------------------------------------------------
+Wed Apr 5 15:09:52 CEST 2006 - sh@suse.de
+
+- V 2.13.44
+- Fixed bug #116356: save_y2logs saves into a different directory
+
+-------------------------------------------------------------------
+Wed Apr 5 11:36:03 CEST 2006 - fehr@suse.de
+
+- changed some very verbose debug output in AsciiFile.ycp
+- 2.13.43
+
+-------------------------------------------------------------------
+Wed Apr 5 11:11:44 CEST 2006 - locilka@suse.cz
+
+- Adding special Xen interface "xenbr0" into the
+ FW_FORWARD_ALWAYS_INOUT_DEV variable in the Network Proposal in
+ case of "kernel-xen" package installed (#154133).
+
+-------------------------------------------------------------------
+Wed Apr 5 10:49:47 CEST 2006 - mvidner@suse.cz
+
+- Added CWM::DisableButtons (jsuchome, #157125).
+
+-------------------------------------------------------------------
+Wed Apr 5 09:44:25 CEST 2006 - locilka@suse.cz
+
+- Fixed wrong handling of special 'any' string in the internal
+ function ArePortsOrServicesAllowed(). This part was forgotten
+ from the first implementation of NetworkManager support (#162512).
+- Adding FW_FORWARD_ALWAYS_INOUT_DEV variable into the Read()
+ function to prepare fix for Xen handling (#154133).
+
+-------------------------------------------------------------------
Old:
----
yast2-2.13.42.tar.bz2
New:
----
yast2-2.13.45.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2.spec ++++++
--- /var/tmp/diff_new_pack.oukytP/_old 2006-04-05 17:47:27.000000000 +0200
+++ /var/tmp/diff_new_pack.oukytP/_new 2006-04-05 17:47:27.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2 (Version 2.13.42)
+# spec file for package yast2 (Version 2.13.45)
#
# Copyright (c) 2006 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.13.42
+Version: 2.13.45
Release: 1
License: GPL
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-2.13.42.tar.bz2
+Source0: yast2-2.13.45.tar.bz2
prefix: /usr
BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-pkg-bindings yast2-testsuite
# Need the new file popups
@@ -93,7 +93,7 @@
Steffen Winterfeldt
%prep
-%setup -n yast2-2.13.42
+%setup -n yast2-2.13.45
%build
%{prefix}/bin/y2tool y2autoconf
@@ -192,6 +192,33 @@
%doc %{prefix}/share/doc/packages/yast2/wizard
%changelog -n yast2
+* Wed Apr 05 2006 - locilka@suse.cz
+- Registered new Pkg:: callbacks
+- Pkg::CallbackAcceptUnsignedFile
+- Pkg::CallbackAcceptUnknownGpgKey
+- Pkg::CallbackImportGpgKey
+- Pkg::CallbackAcceptVerificationFailed
+- Pkg::CallbackTrustedKeyAdded
+- Pkg::CallbackTrustedKeyRemoved
+- 2.13.45
+* Wed Apr 05 2006 - sh@suse.de
+- V 2.13.44
+- Fixed bug #116356: save_y2logs saves into a different directory
+* Wed Apr 05 2006 - fehr@suse.de
+- changed some very verbose debug output in AsciiFile.ycp
+- 2.13.43
+* Wed Apr 05 2006 - locilka@suse.cz
+- Adding special Xen interface "xenbr0" into the
+ FW_FORWARD_ALWAYS_INOUT_DEV variable in the Network Proposal in
+ case of "kernel-xen" package installed (#154133).
+* Wed Apr 05 2006 - mvidner@suse.cz
+- Added CWM::DisableButtons (jsuchome, #157125).
+* Wed Apr 05 2006 - locilka@suse.cz
+- Fixed wrong handling of special 'any' string in the internal
+ function ArePortsOrServicesAllowed(). This part was forgotten
+ from the first implementation of NetworkManager support (#162512).
+- Adding FW_FORWARD_ALWAYS_INOUT_DEV variable into the Read()
+ function to prepare fix for Xen handling (#154133).
* Tue Apr 04 2006 - locilka@suse.cz
- Added mapping for Pkg::CallbackAcceptUnsignedFile() callback
(#162858)
++++++ yast2-2.13.42.tar.bz2 -> yast2-2.13.45.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.13.42/VERSION new/yast2-2.13.45/VERSION
--- old/yast2-2.13.42/VERSION 2006-04-04 15:38:54.000000000 +0200
+++ new/yast2-2.13.45/VERSION 2006-04-05 15:59:31.000000000 +0200
@@ -1 +1 @@
-2.13.42
+2.13.45
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.13.42/configure new/yast2-2.13.45/configure
--- old/yast2-2.13.42/configure 2006-04-04 15:54:42.000000000 +0200
+++ new/yast2-2.13.45/configure 2006-04-05 16:31:29.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for yast2 2.13.42.
+# Generated by GNU Autoconf 2.59 for yast2 2.13.45.
#
# Report bugs to http://www.suse.de/feedback.
#
@@ -269,8 +269,8 @@
# Identity of this package.
PACKAGE_NAME='yast2'
PACKAGE_TARNAME='yast2'
-PACKAGE_VERSION='2.13.42'
-PACKAGE_STRING='yast2 2.13.42'
+PACKAGE_VERSION='2.13.45'
+PACKAGE_STRING='yast2 2.13.45'
PACKAGE_BUGREPORT='http://www.suse.de/feedback'
ac_unique_file="RPMNAME"
@@ -728,7 +728,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.13.42 to adapt to many kinds of systems.
+\`configure' configures yast2 2.13.45 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -795,7 +795,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2 2.13.42:";;
+ short | recursive ) echo "Configuration of yast2 2.13.45:";;
esac
cat <<\_ACEOF
@@ -908,7 +908,7 @@
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-yast2 configure 2.13.42
+yast2 configure 2.13.45
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
@@ -922,7 +922,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.13.42, which was
+It was created by yast2 $as_me 2.13.45, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
@@ -1652,7 +1652,7 @@
# Define the identity of the package.
PACKAGE='yast2'
- VERSION='2.13.42'
+ VERSION='2.13.45'
cat >>confdefs.h <<_ACEOF
@@ -1863,7 +1863,7 @@
-VERSION="2.13.42"
+VERSION="2.13.45"
RPMNAME="yast2"
MAINTAINER="Stanislav Visnovsky "
@@ -2797,7 +2797,7 @@
} >&5
cat >&5 <<_CSEOF
-This file was extended by yast2 $as_me 2.13.42, which was
+This file was extended by yast2 $as_me 2.13.45, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -2852,7 +2852,7 @@
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2 config.status 2.13.42
+yast2 config.status 2.13.45
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.13.42/configure.in new/yast2-2.13.45/configure.in
--- old/yast2-2.13.42/configure.in 2006-04-04 15:54:36.000000000 +0200
+++ new/yast2-2.13.45/configure.in 2006-04-05 16:31:22.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2, 2.13.42, http://www.suse.de/feedback, yast2)
+AC_INIT(yast2, 2.13.45, http://www.suse.de/feedback, 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.13.42"
+VERSION="2.13.45"
RPMNAME="yast2"
MAINTAINER="Stanislav Visnovsky "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.13.42/library/cwm/src/CWM.ycp new/yast2-2.13.45/library/cwm/src/CWM.ycp
--- old/yast2-2.13.42/library/cwm/src/CWM.ycp 2006-02-03 08:47:14.000000000 +0100
+++ new/yast2-2.13.45/library/cwm/src/CWM.ycp 2006-04-05 11:10:55.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Routines for common widget manipulation
* Authors: Jiri Srain
*
- * $Id: CWM.ycp 26844 2006-01-05 15:57:41Z mvidner $
+ * $Id: CWM.ycp 29700 2006-04-05 08:53:20Z mvidner $
*
*/
@@ -812,6 +812,20 @@
}
/**
+ * Disable given bottom buttons of the wizard sequencer
+ * @patam buttons list of buttons to be disabled
+ */
+ global define void DisableButtons (list<string> buttons) {
+ foreach (string button, buttons, {
+ if (button == "back_button")
+ Wizard::DisableBackButton ();
+ if (button == "abort_button")
+ Wizard::DisableAbortButton ();
+ if (button == "next_button")
+ Wizard::DisableNextButton ();
+ });
+ }
+ /**
* Adjust the labels of the bottom buttons of the wizard sequencer
* @param next label of the "Next" button
* @param back string label of the "Back" button
@@ -879,6 +893,7 @@
Wizard::SetContentsButtons (caption, contents, help,
back_button, next_button);
AdjustButtons (next_button, back_button, abort_button, nil);
+ DisableButtons (settings["disable_buttons"]:[]);
return Run (w, fallback);
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.13.42/library/modules/AsciiFile.ycp new/yast2-2.13.45/library/modules/AsciiFile.ycp
--- old/yast2-2.13.42/library/modules/AsciiFile.ycp 2006-02-03 08:47:24.000000000 +0100
+++ new/yast2-2.13.45/library/modules/AsciiFile.ycp 2006-04-05 12:13:41.000000000 +0200
@@ -5,7 +5,7 @@
*
* Purpose: Handle reading and modifying of ascii files.
*
- * $Id: AsciiFile.ycp 21897 2005-02-24 11:00:17Z fehr $
+ * $Id: AsciiFile.ycp 29706 2006-04-05 09:37:17Z fehr $
*/
{
module "AsciiFile";
@@ -314,13 +314,13 @@
global define void RewriteFile( map& file, string fpath )
``{
y2milestone( "path %1", fpath );
- y2milestone( "out: %1", file );
+ y2debug( "out: %1", file );
string out = "";
foreach( integer num, map entry, file["l"]:$[],
``{
out = out + AssertLineValid( file, num ) + "\n";
});
- y2milestone ("Out text: %1", out );
+ y2debug ("Out text: %1", out );
if( size(out)==0 )
{
if( SCR::Read( .target.size, fpath ) >= 0 )
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.13.42/library/modules/Version.ycp new/yast2-2.13.45/library/modules/Version.ycp
--- old/yast2-2.13.42/library/modules/Version.ycp 2006-04-04 15:55:01.000000000 +0200
+++ new/yast2-2.13.45/library/modules/Version.ycp 2006-04-05 16:31:48.000000000 +0200
@@ -20,7 +20,7 @@
/**
* Version of the yast2 package
*/
-global string yast2 = "2.13.42";
+global string yast2 = "2.13.45";
/* EOF */
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.13.42/library/network/src/CWMFirewallInterfaces.ycp new/yast2-2.13.45/library/network/src/CWMFirewallInterfaces.ycp
--- old/yast2-2.13.42/library/network/src/CWMFirewallInterfaces.ycp 2006-02-13 09:51:15.000000000 +0100
+++ new/yast2-2.13.45/library/network/src/CWMFirewallInterfaces.ycp 2006-04-05 11:57:22.000000000 +0200
@@ -4,12 +4,26 @@
* Summary: Routines for selecting interfaces opened in firewall
* Authors: Jiri Srain
*
- * $Id: CWMFirewallInterfaces.ycp 27875 2006-02-13 08:51:13Z locilka $
+ * $Id: CWMFirewallInterfaces.ycp 29707 2006-04-05 09:57:19Z locilka $
*
*/
{
+ /**
+ * WARNING: If you want to use this functionality of this module
+ * you should allways call 'SuSEFirewall::Read()' in the
+ * Read() function of you module
+ * and you should call 'SuSEFirewall::Write()' in the
+ * Write() function.
+ *
+ * Functionality of this module only changes the SuSEFirewall
+ * settings in memory, it never Reads or Writes the settings.
+ *
+ * Additionally you may need to call Progress::set(false)
+ * before SuSEFirewall::Read() or SuSEFirewall::Write().
+ */
+
module "CWMFirewallInterfaces";
textdomain "base";
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.13.42/library/network/src/Makefile.am new/yast2-2.13.45/library/network/src/Makefile.am
--- old/yast2-2.13.42/library/network/src/Makefile.am 2006-02-03 08:47:17.000000000 +0100
+++ new/yast2-2.13.45/library/network/src/Makefile.am 2006-04-05 12:08:38.000000000 +0200
@@ -19,5 +19,5 @@
EXTRA_DIST = $(client_DATA) $(ynclude_DATA) $(module_DATA)
# runlevel: Service, wizard: Report, Progress
-YCPCFLAGS = -M ../../types/src -M ../../modules -M ../../runlevel/src -M ../../wizard/src -M ../../cwm/src -M ../../control/src -M ../../xml/src -M ../../commandline/src
+YCPCFLAGS = -M ../../types/src -M ../../modules -M ../../runlevel/src -M ../../wizard/src -M ../../cwm/src -M ../../control/src -M ../../xml/src -M ../../commandline/src -M ../../packages/src
include $(top_srcdir)/Makefile.am.common
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.13.42/library/network/src/Makefile.in new/yast2-2.13.45/library/network/src/Makefile.in
--- old/yast2-2.13.42/library/network/src/Makefile.in 2006-04-04 15:54:51.000000000 +0200
+++ new/yast2-2.13.45/library/network/src/Makefile.in 2006-04-05 16:31:37.000000000 +0200
@@ -190,7 +190,7 @@
EXTRA_DIST = $(client_DATA) $(ynclude_DATA) $(module_DATA)
# runlevel: Service, wizard: Report, Progress
-YCPCFLAGS = -M ../../types/src -M ../../modules -M ../../runlevel/src -M ../../wizard/src -M ../../cwm/src -M ../../control/src -M ../../xml/src -M ../../commandline/src
+YCPCFLAGS = -M ../../types/src -M ../../modules -M ../../runlevel/src -M ../../wizard/src -M ../../cwm/src -M ../../control/src -M ../../xml/src -M ../../commandline/src -M ../../packages/src
modulebin_DATA = $(patsubst %.ycp,%.ybc,$(module_DATA))
modulebindir = $(moduledir)
ybcfiles = $(filter %.ybc,$(modulebin_DATA))
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.13.42/library/network/src/NetworkDevices.ycp new/yast2-2.13.45/library/network/src/NetworkDevices.ycp
--- old/yast2-2.13.42/library/network/src/NetworkDevices.ycp 2006-02-03 08:47:17.000000000 +0100
+++ new/yast2-2.13.45/library/network/src/NetworkDevices.ycp 2006-04-05 09:49:25.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Interface manipulation (/etc/sysconfig/network/ifcfg-*)
* Authors: Michal Svec
*
- * $Id: NetworkDevices.ycp 26301 2005-11-25 14:30:03Z mvidner $
+ * $Id: NetworkDevices.ycp 29693 2006-04-05 07:49:19Z locilka $
*
* The new sysconfig naming is interface (eg. eth0) vs. device
* (eg. NE2000 card), but historically yast has called them device
@@ -21,6 +21,11 @@
import "String";
/**
+ * False suppresses tones of logs 'NetworkDevices.ycp:ABC Check(eth,id-00:aa:bb:cc:dd:ee,)'
+ */
+global boolean report_every_check = true;
+
+/**
* Current device identifier
* @example eth0, eth1:blah, lo, ...
* Add, Edit and Delete copy the requested device info (via Select)
@@ -830,7 +835,7 @@
string typ = device_type(dev);
string num = device_num(dev);
string anum = alias_num(dev);
- y2milestone("Check(%1,%2,%3)", typ, num, anum);
+ if (report_every_check) y2milestone("Check(%1,%2,%3)", typ, num, anum);
if(!haskey(Devices, typ))
return false;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.13.42/library/network/src/SuSEFirewall.ycp new/yast2-2.13.45/library/network/src/SuSEFirewall.ycp
--- old/yast2-2.13.42/library/network/src/SuSEFirewall.ycp 2006-02-13 09:38:17.000000000 +0100
+++ new/yast2-2.13.45/library/network/src/SuSEFirewall.ycp 2006-04-05 11:56:21.000000000 +0200
@@ -110,7 +110,7 @@
"FW_PROTECT_FROM_INT",
// global routing, masquerading
- "FW_ROUTE", "FW_MASQUERADE", "FW_FORWARD_MASQ",
+ "FW_ROUTE", "FW_MASQUERADE", "FW_FORWARD_MASQ", "FW_FORWARD_ALWAYS_INOUT_DEV",
// broadcast packets
"FW_ALLOW_FW_BROADCAST_EXT", "FW_ALLOW_FW_BROADCAST_INT", "FW_ALLOW_FW_BROADCAST_DMZ",
@@ -970,7 +970,7 @@
/**
* Local function allows ports for requested protocol and zone.
*
- * @param list <string> ports to be removed
+ * @param list <string> ports to be added
* @param string protocol
* @param string zone
*/
@@ -1882,14 +1882,6 @@
boolean ArePortsOrServicesAllowed (list <string> needed_ports, string protocol, string zone, boolean check_for_aliases) {
boolean are_allowed = true;
- // When NetworkManager is turned on
- //if (NetworkService::IsManaged()) {
- // When the defined zone contains the defined special string (EXT/any) by default
- if (contains(SuSEFirewall::GetSpecialInterfacesInZone(special_all_interface_zone), special_all_interface_string)) {
- zone = special_all_interface_zone;
- }
- //}
-
if (size(needed_ports)<1) {
y2warning("Undefined list of %1 services/ports for service", protocol);
return true;
@@ -2162,6 +2154,10 @@
* Fills internal variables only.
*/
global define boolean Read () {
+ // Don't fill up the logs with tones of Check-logs
+ // Turn on for debugging
+ // NetworkDevices::report_every_check = false;
+
if (configuration_has_been_read) {
y2milestone("SuSEfirewall2 configuration has been read already.");
return true;
@@ -2204,6 +2200,7 @@
// Allways modified for installation, allways save the final state
// fixing bug #67355
// SetModified();
+ boolean make_parser_happy = true;
}
if (have_progress) Progress::NextStage();
@@ -2828,6 +2825,23 @@
SETTINGS["FW_IGNORE_FW_BROADCAST_" + zone] = bcast;
}
+ /**
+ * Function adds a special interface into the FW_FORWARD_ALWAYS_INOUT_DEV variable
+ *
+ * @see: https://bugzilla.novell.com/show_bug.cgi?id=154133
+ */
+ global define void AddXenSupport () {
+ string special_xen_interface = "xenbr0";
+
+ SetModified();
+
+ list <string> allways_inout_dev = splitstring (SETTINGS["FW_FORWARD_ALWAYS_INOUT_DEV"]:"", " ");
+ allways_inout_dev = toset(add (allways_inout_dev, special_xen_interface));
+ SETTINGS["FW_FORWARD_ALWAYS_INOUT_DEV"] = mergestring(allways_inout_dev, " ");
+
+ y2milestone("FW_FORWARD_ALWAYS_INOUT_DEV -> %1", SETTINGS["FW_FORWARD_ALWAYS_INOUT_DEV"]:"");
+ }
+
# <!-- SuSEFirewall GLOBAL FUNCTIONS //-->
/* EOF */
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.13.42/library/network/src/SuSEFirewallProposal.ycp new/yast2-2.13.45/library/network/src/SuSEFirewallProposal.ycp
--- old/yast2-2.13.42/library/network/src/SuSEFirewallProposal.ycp 2006-02-13 09:51:15.000000000 +0100
+++ new/yast2-2.13.45/library/network/src/SuSEFirewallProposal.ycp 2006-04-05 11:56:21.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Functional interface for SuSEFirewall installation proposal
* Authors: Lukas Ocilka
*
- * $Id: SuSEFirewallProposal.ycp 27875 2006-02-13 08:51:13Z locilka $
+ * $Id: SuSEFirewallProposal.ycp 29702 2006-04-05 09:14:44Z locilka $
*
* This module provides a functional API for Installation proposal of SuSEfirewall2
*/
@@ -17,6 +17,7 @@
//import "NetworkService";
import "ProductFeatures";
import "Linuxrc";
+ import "Package";
# <!-- SuSEFirewall LOCAL VARIABLES //-->
@@ -175,6 +176,13 @@
}
/**
+ * Local function returns whether the Xen kernel is installed
+ */
+ boolean IsXenInstalled () {
+ return Package::Installed ("kernel-xen");
+ }
+
+ /**
* Local function for proposing firewall configuration.
*/
void ProposeFunctions () {
@@ -258,6 +266,14 @@
OpenServiceOnNonDialUpInterfaces("ssh");
}
+ /*
+ * Firewall support for XEN domain0
+ */
+ if (IsXenInstalled()) {
+ y2milestone("Adding Xen support into the firewall configuration");
+ SuSEFirewall::AddXenSupport();
+ }
+
SetKnownInterfaces(SuSEFirewall::GetListOfKnownInterfaces());
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.13.42/library/packages/src/PackageCallbacksInit.ycp new/yast2-2.13.45/library/packages/src/PackageCallbacksInit.ycp
--- old/yast2-2.13.42/library/packages/src/PackageCallbacksInit.ycp 2006-04-04 15:42:13.000000000 +0200
+++ new/yast2-2.13.45/library/packages/src/PackageCallbacksInit.ycp 2006-04-05 16:01:22.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Initialize packager callbacks
* Authors: Jiri Srain
*
- * $Id: PackageCallbacksInit.ycp 29661 2006-04-04 13:42:05Z locilka $
+ * $Id: PackageCallbacksInit.ycp 29725 2006-04-05 14:01:18Z locilka $
*
* This module is used to initialize package manager callbacks
*/
@@ -42,7 +42,12 @@
// Pkg::CallbackDoneDownload ("PackageCallbacks::DoneDownload");
// Signature-related callbacks
- Pkg::CallbackAcceptUnsignedFile ("SignatureCheckCallbacks::AcceptUnsignedFile");
+ Pkg::CallbackAcceptUnsignedFile ("SignatureCheckCallbacks::AcceptUnsignedFile");
+ Pkg::CallbackAcceptUnknownGpgKey ("SignatureCheckCallbacks::AcceptUnknownGpgKey");
+ Pkg::CallbackImportGpgKey ("SignatureCheckCallbacks::ImportGpgKey");
+ Pkg::CallbackAcceptVerificationFailed ("SignatureCheckCallbacks::AcceptVerificationFailed");
+ Pkg::CallbackTrustedKeyAdded ("SignatureCheckCallbacks::TrustedKeyAdded");
+ Pkg::CallbackTrustedKeyRemoved ("SignatureCheckCallbacks::TrustedKeyRemoved");
SetMediaCallbacks ();
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.13.42/scripts/save_y2logs new/yast2-2.13.45/scripts/save_y2logs
--- old/yast2-2.13.42/scripts/save_y2logs 2006-02-03 08:47:26.000000000 +0100
+++ new/yast2-2.13.45/scripts/save_y2logs 2006-04-05 15:55:08.000000000 +0200
@@ -5,19 +5,54 @@
#
# Author: Stefan Hundhammer
-if [ $# != 1 ]; then
+usage()
+{
echo "Usage: $0 <tgz-file-name>"
echo ""
echo "Copies the YaST2 logs to a compressed tar archive."
exit 1
-fi
+}
+
+test -z "$1" && usage
+
+case "$1" in
+ -*)
+ usage
+ ;;
+
+ *.tgz|*.tar.gz)
+ TARGET="$1"
+ COMPRESSION=--gzip
+ ;;
+
+ *.tar.bz2)
+ TARGET="$1"
+ COMPRESSION=--bzip2
+
+ if [ ! -x /usr/bin/bzip2 ]; then
+ echo "FATAL: /usr/bin/bzip2 not available" >&2
+ # This might easily happen in the inst-sys
+ exit 3
+ fi
+ ;;
+
+ *)
+ echo "FATAL: Uncompressed archives not supported" >&2
+ echo "Use one of: .tgz .tar.gz .tar.bz2" >&2
+ exit 4
+esac
-TARGET=$1
LIST=YaST2
-[ -f /var/log/evms-engine.log ] && LIST="$LIST evms-engine.*"
+if [ -f /var/log/evms-engine.log ]; then
+ LIST="$LIST $( cd /var/log/; ls evms-engine.*)"
+fi
+
+echo "Saving y2logs to $TARGET"
+
+tar cf "$TARGET" $COMPRESSION --directory=/var/log $LIST && exit 0
-cd /var/log && tar czf $TARGET $LIST && exit 0
+echo "FATAL: Error creating archive $TARGET" >&2
exit 2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...