Hello community,
here is the log from the commit of package yast2-network
checked in at Mon Nov 3 14:43:32 CET 2008.
--------
--- yast2-network/yast2-network.changes 2008-10-27 12:48:27.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-network/yast2-network.changes 2008-11-03 14:40:27.609427000 +0100
@@ -1,0 +2,51 @@
+Fri Oct 31 12:19:25 CET 2008 - mzugec@suse.de
+
+- for devices without hwinfo (bridge, vlan, ...) dont propose
+ STARTMODE ifpluge, propose STARTMODE='auto'
+- 2.14.50
+
+-------------------------------------------------------------------
+Thu Oct 30 17:01:53 CET 2008 - kmachalkova@suse.cz
+
+- If no DNS search list exists in 2nd stage of installation, preset
+ current domain name (!= 'site') as a default value (bnc#438167)
+- Correct fix for bnc#427044: removed workaround for KDE4 and
+ metacity
+
+-------------------------------------------------------------------
+Thu Oct 30 10:52:58 CET 2008 - mzugec@suse.de
+
+- increase time to wait for NM to 15 seconds (bnc#439915)
+- 2.14.49
+
+-------------------------------------------------------------------
+Thu Oct 30 10:38:26 CET 2008 - mzugec@suse.de
+
+- for bridged proposal skip devices with no ifcfg (bnc#440132)
+- 2.14.48
+
+-------------------------------------------------------------------
+Thu Oct 30 10:32:12 CET 2008 - mzugec@suse.de
+
+- address dialog layout (bnc#439100)
+
+-------------------------------------------------------------------
+Thu Oct 30 09:30:54 CET 2008 - mzugec@suse.de
+
+- fixed exception when propose bridged network (bnc#439978)
+- 2.14.47
+
+-------------------------------------------------------------------
+Wed Oct 29 10:51:00 CET 2008 - kmachalkova@suse.cz
+
+- Fit internet test dialog into 80x24 console (bnc#433091)
+
+-------------------------------------------------------------------
+Mon Oct 27 13:24:33 CET 2008 - kmachalkova@suse.cz
+
+- Remote administration (VNC): service name for opening port in
+ firewall is 'service:xorg-x11-server'(bnc#431971)
+- Make sure at least one windowmanager is installed if VNC is enabled,
+ taking (almost) all shipped ones into account (bnc#427044)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-network-2.17.46.tar.bz2
New:
----
yast2-network-2.17.50.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-network.spec ++++++
--- /var/tmp/diff_new_pack.na6222/_old 2008-11-03 14:43:14.000000000 +0100
+++ /var/tmp/diff_new_pack.na6222/_new 2008-11-03 14:43:14.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-network (Version 2.17.46)
+# spec file for package yast2-network (Version 2.17.50)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-network
-Version: 2.17.46
+Version: 2.17.50
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-network-2.17.46.tar.bz2
+Source0: yast2-network-2.17.50.tar.bz2
Prefix: /usr
# should be required by devtools
BuildRequires: perl-XML-Writer pkgconfig rpm
@@ -79,7 +79,7 @@
Michal Svec
%prep
-%setup -n yast2-network-2.17.46
+%setup -n yast2-network-2.17.50
%build
%{prefix}/bin/y2tool y2autoconf
@@ -142,7 +142,35 @@
%doc %{prefix}/share/doc/packages/yast2-network
%exclude %{prefix}/share/doc/packages/yast2-network/COPYING
%exclude %{prefix}/share/doc/packages/yast2-network/README
+
%changelog
+* Fri Oct 31 2008 mzugec@suse.de
+- for devices without hwinfo (bridge, vlan, ...) dont propose
+ STARTMODE ifpluge, propose STARTMODE='auto'
+- 2.14.50
+* Thu Oct 30 2008 kmachalkova@suse.cz
+- If no DNS search list exists in 2nd stage of installation, preset
+ current domain name (!= 'site') as a default value (bnc#438167)
+- Correct fix for bnc#427044: removed workaround for KDE4 and
+ metacity
+* Thu Oct 30 2008 mzugec@suse.de
+- increase time to wait for NM to 15 seconds (bnc#439915)
+- 2.14.49
+* Thu Oct 30 2008 mzugec@suse.de
+- for bridged proposal skip devices with no ifcfg (bnc#440132)
+- 2.14.48
+* Thu Oct 30 2008 mzugec@suse.de
+- address dialog layout (bnc#439100)
+* Thu Oct 30 2008 mzugec@suse.de
+- fixed exception when propose bridged network (bnc#439978)
+- 2.14.47
+* Wed Oct 29 2008 kmachalkova@suse.cz
+- Fit internet test dialog into 80x24 console (bnc#433091)
+* Mon Oct 27 2008 kmachalkova@suse.cz
+- Remote administration (VNC): service name for opening port in
+ firewall is 'service:xorg-x11-server'(bnc#431971)
+- Make sure at least one windowmanager is installed if VNC is enabled,
+ taking (almost) all shipped ones into account (bnc#427044)
* Mon Oct 27 2008 mzugec@suse.cz
- during installation export sysconfig network settings
into NetworkManager
++++++ yast2-network-2.17.46.tar.bz2 -> yast2-network-2.17.50.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.17.46/configure new/yast2-network-2.17.50/configure
--- old/yast2-network-2.17.46/configure 2008-10-27 12:29:39.000000000 +0100
+++ new/yast2-network-2.17.50/configure 2008-10-31 12:16:46.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-network 2.17.45.
+# Generated by GNU Autoconf 2.63 for yast2-network 2.17.49.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -596,8 +596,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-network'
PACKAGE_TARNAME='yast2-network'
-PACKAGE_VERSION='2.17.45'
-PACKAGE_STRING='yast2-network 2.17.45'
+PACKAGE_VERSION='2.17.49'
+PACKAGE_STRING='yast2-network 2.17.49'
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-network 2.17.45 to adapt to many kinds of systems.
+\`configure' configures yast2-network 2.17.49 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-network 2.17.45:";;
+ short | recursive ) echo "Configuration of yast2-network 2.17.49:";;
esac
cat <<\_ACEOF
@@ -1425,7 +1425,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-network configure 2.17.45
+yast2-network configure 2.17.49
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-network $as_me 2.17.45, which was
+It was created by yast2-network $as_me 2.17.49, 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-network'
- VERSION='2.17.45'
+ VERSION='2.17.49'
cat >>confdefs.h <<_ACEOF
@@ -2510,7 +2510,7 @@
-VERSION="2.17.45"
+VERSION="2.17.49"
RPMNAME="yast2-network"
MAINTAINER="Michal Zugec "
@@ -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-network $as_me 2.17.45, which was
+This file was extended by yast2-network $as_me 2.17.49, 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-network config.status 2.17.45
+yast2-network config.status 2.17.49
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-network-2.17.46/configure.in new/yast2-network-2.17.50/configure.in
--- old/yast2-network-2.17.46/configure.in 2008-10-27 12:29:16.000000000 +0100
+++ new/yast2-network-2.17.50/configure.in 2008-10-31 12:16:39.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-network, 2.17.45, http://bugs.opensuse.org/, yast2-network)
+AC_INIT(yast2-network, 2.17.49, http://bugs.opensuse.org/, yast2-network)
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.45"
+VERSION="2.17.49"
RPMNAME="yast2-network"
MAINTAINER="Michal Zugec "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.17.46/src/clients/lan_proposal.ycp new/yast2-network-2.17.50/src/clients/lan_proposal.ycp
--- old/yast2-network-2.17.46/src/clients/lan_proposal.ycp 2008-10-24 13:04:36.000000000 +0200
+++ new/yast2-network-2.17.50/src/clients/lan_proposal.ycp 2008-10-30 09:32:56.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Lan configuration proposal
* Authors: Michal Svec
*
- * $Id: lan_proposal.ycp 52509 2008-10-24 11:04:36Z mzugec $
+ * $Id: lan_proposal.ycp 52719 2008-10-30 08:32:55Z mzugec $
*/
{
@@ -49,7 +49,7 @@
// think it does a full reread and unset Lan::modified. #147270
Lan::Read (force_reset? `nocache: `cache);
if (Lan::virt_net_proposal==nil){
- if((PackageSystem::Installed("xen") && Arch::is_xen0()) || PackageSystem::Installed("kvm")||
+ if((PackageSystem::Installed("xen") && !Arch::is_xenU()) || PackageSystem::Installed("kvm")||
PackageSystem::Installed("qemu") || PackageSystem::Installed("virtualbox-ose"))
Lan::virt_net_proposal = true;
else Lan::virt_net_proposal = false;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.17.46/src/installation/dialogs.ycp new/yast2-network-2.17.50/src/installation/dialogs.ycp
--- old/yast2-network-2.17.46/src/installation/dialogs.ycp 2008-08-12 13:42:02.000000000 +0200
+++ new/yast2-network-2.17.50/src/installation/dialogs.ycp 2008-10-04 13:29:18.000000000 +0200
@@ -5,7 +5,7 @@
* Authors: Michal Svec
* Arvin Schnell
*
- * $Id: dialogs.ycp 49446 2008-07-28 08:59:26Z mzugec $
+ * $Id: dialogs.ycp 52651 2008-10-29 09:50:38Z kmachalkova $
*/
{
@@ -130,13 +130,13 @@
string current = Internet::device;
/* Radiobuttons */
term buttons = `VBox(
- `VSpacing(1),
+ `VSpacing(0.4),
/* RadioButton label */
`Left(`RadioButton(`id(`yes), `opt(`notify), _("&Yes, Test Connection to the Internet Via"), Internet::do_test)),
getDeviceContens(current),
/* RadioButton label */
`Left(`RadioButton(`id(`no), `opt(`notify), _("N&o, Skip This Test"), !Internet::do_test)),
- `VSpacing(1)
+ `VSpacing(0.4)
);
/* the steps */
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.17.46/src/lan/address.ycp new/yast2-network-2.17.50/src/lan/address.ycp
--- old/yast2-network-2.17.46/src/lan/address.ycp 2008-10-09 12:07:06.000000000 +0200
+++ new/yast2-network-2.17.50/src/lan/address.ycp 2008-10-30 10:32:51.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Network card adresss configuration dialogs
* Authors: Michal Svec
*
- * $Id: address.ycp 52014 2008-10-09 10:07:06Z mzugec $
+ * $Id: address.ycp 52725 2008-10-30 10:22:04Z mzugec $
*/
{
@@ -632,6 +632,7 @@
`item(`id(`dhcp_auto), "DHCP+Zeroconf"),
`item(`id(`auto), "Zeroconf")
]),
+ `HSpacing(2),
`ComboBox(`id(`dhcp_mode), "", [
`item(`id(`dhcp_both), _("DHCP both version 4 and 6")),
`item(`id(`dhcp_v4), _("DHCP version 4 only")),
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.17.46/src/lan/hardware.ycp new/yast2-network-2.17.50/src/lan/hardware.ycp
--- old/yast2-network-2.17.46/src/lan/hardware.ycp 2008-10-06 14:08:58.000000000 +0200
+++ new/yast2-network-2.17.50/src/lan/hardware.ycp 2008-10-31 12:20:42.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Hardware dialogs
* Authors: Michal Svec
*
- * $Id: hardware.ycp 51863 2008-10-06 12:08:57Z mzugec $
+ * $Id: hardware.ycp 52790 2008-10-31 12:48:50Z mzugec $
*/
{
@@ -511,6 +511,11 @@
LanItems::Items[LanItems::current, "ifcfg"]= nm;
//Initialize udev map, so that setDriver (see below) sets correct module
LanItems::Items[LanItems::current, "udev"]= $[];
+ //FIXME: for interfaces with no hwinfo don't propose ifplugd
+ if (size(LanItems::getCurrentItem()["hwinfo"]:$[])==0) {
+ y2milestone("interface without hwinfo, proposing STARTMODE=auto");
+ LanItems::startmode="auto";
+ }
}
string driver = (string) UI::QueryWidget(`modul, `Value);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.17.46/src/lan/wireless.ycp new/yast2-network-2.17.50/src/lan/wireless.ycp
--- old/yast2-network-2.17.46/src/lan/wireless.ycp 2008-08-12 18:57:22.000000000 +0200
+++ new/yast2-network-2.17.50/src/lan/wireless.ycp 2008-10-30 10:32:51.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Wireless dialogs
* Authors: Michal Svec
*
- * $Id: wireless.ycp 50061 2008-08-14 08:32:15Z mzugec $
+ * $Id: wireless.ycp 52725 2008-10-30 10:22:04Z mzugec $
*/
{
@@ -260,7 +260,7 @@
type_w,
`VSpacing(0.2),
/* Text entry label */
- `TextEntry(`id(`key), _("&Encryption Key"), key),
+ `Password(`id(`key), _("&Encryption Key"), key),
`VSpacing(0.5)
), `HSpacing(2))),
`VSpacing(0.5),
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.17.46/src/modules/DNS.ycp new/yast2-network-2.17.50/src/modules/DNS.ycp
--- old/yast2-network-2.17.46/src/modules/DNS.ycp 2008-09-09 15:31:24.000000000 +0200
+++ new/yast2-network-2.17.50/src/modules/DNS.ycp 2008-10-30 10:47:48.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Hostname and DNS data
* Authors: Michal Svec
*
- * $Id: DNS.ycp 50563 2008-09-02 11:39:14Z aschnell $
+ * $Id: DNS.ycp 52761 2008-10-30 15:52:37Z kmachalkova $
*
* Manages resolv.conf and (fully qualified) hostname, also
* respecting DHCP.
@@ -44,11 +44,6 @@
global list<string> nameservers = [];
global list<string> searchlist = [];
-/**
- * Name of program that has claimed resolv.conf
- */
-global string resolv_conf_process = "";
-global boolean resolv_conf_force = false;
global string resolv_conf_policy = "";
@@ -236,19 +231,15 @@
y2milestone("hostname=%1", hostname);
y2milestone("domain=%1", domain);
- /* either no process or force update */
- boolean update_resolv = (resolv_conf_process == "" || resolv_conf_force == true);
list <string> steps = [
/* Progress stage 1 */
_("Write hostname"),
/* Progress stage 2 */
_("Run SuSEconfig"),
- ];
-
- if( update_resolv )
/* Progress stage 3 */
- steps = add(steps, _("Update /etc/resolv.conf"));
+ _("Update /etc/resolv.conf")
+ ];
/* Write dialog caption */
string caption = _("Saving Hostname and DNS Configuration");
@@ -287,21 +278,18 @@
SCR::Write(.target.string, resolv_conf, "");
*/
- if( update_resolv ) {
- /* Progress step 3/3 */
- ProgressNextStage(_("Updating /etc/resolv.conf ..."));
+ /* Progress step 3/3 */
+ ProgressNextStage(_("Updating /etc/resolv.conf ..."));
- SCR::Write(.sysconfig.network.config.NETCONFIG_DNS_POLICY, resolv_conf_policy);
- SCR::Write(.sysconfig.network.config.NETCONFIG_DNS_STATIC_SEARCHLIST, mergestring(searchlist, " "));
- SCR::Write(.sysconfig.network.config.NETCONFIG_DNS_STATIC_SERVERS, mergestring(nameservers, " "));
- SCR::Write(.sysconfig.network.config, nil);
+ SCR::Write(.sysconfig.network.config.NETCONFIG_DNS_POLICY, resolv_conf_policy);
+ SCR::Write(.sysconfig.network.config.NETCONFIG_DNS_STATIC_SEARCHLIST, mergestring(searchlist, " "));
+ SCR::Write(.sysconfig.network.config.NETCONFIG_DNS_STATIC_SERVERS, mergestring(nameservers, " "));
+ SCR::Write(.sysconfig.network.config, nil);
- SCR::Execute(.target.bash, "/sbin/netconfig update");
-
- sleep(sl);
+ SCR::Execute(.target.bash, "/sbin/netconfig update");
- } else y2milestone("resolv.conf changed by %1, leave untouched", resolv_conf_process);
+ sleep(sl);
Progress::NextStage();
modified = false;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.17.46/src/modules/Lan.ycp new/yast2-network-2.17.50/src/modules/Lan.ycp
--- old/yast2-network-2.17.46/src/modules/Lan.ycp 2008-10-27 12:41:42.000000000 +0100
+++ new/yast2-network-2.17.50/src/modules/Lan.ycp 2008-10-30 10:54:17.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Network card data
* Authors: Michal Svec
*
- * $Id: Lan.ycp 52565 2008-10-27 11:41:43Z mzugec $
+ * $Id: Lan.ycp 52772 2008-10-31 07:56:11Z mzugec $
*
* Representation of the configuration of network cards.
* Input and output routines.
@@ -473,7 +473,7 @@
if (NetworkService::IsManaged())
{
boolean network=false;
- integer timeout=10;
+ integer timeout=15;
while(timeout>0)
{
if (NetworkService::isNetworkRunning()){
@@ -627,7 +627,7 @@
// enable ipv6 support
link_v6 = Hyperlink (href_v6, _("Enable IPv6"));
}
- if ( (PackageSystem::Installed("xen") && Arch::is_xen0()) || PackageSystem::Installed("kvm")||
+ if ( (PackageSystem::Installed("xen") && !Arch::is_xenU()) || PackageSystem::Installed("kvm")||
PackageSystem::Installed("qemu")||PackageSystem::Installed("virtualbox-ose")
){
if (virt_net_proposal){
@@ -780,27 +780,29 @@
// and add old device name into bridge_ports
foreach(integer current, any config, LanItems::Items, {
string ifcfg = LanItems::Items[current, "ifcfg"]:"";
- if (! (NetworkInterfaces::GetType(ifcfg)=="br")){
- NetworkInterfaces::Edit(ifcfg);
- string new_ifcfg = sformat("br%1", NetworkInterfaces::GetFreeDevice("br"));
- y2milestone("old configuration %1, bridge %2", ifcfg, new_ifcfg);
- NetworkInterfaces::Name = new_ifcfg;
- NetworkInterfaces::Current["BRIDGE"]="yes";
- NetworkInterfaces::Current["BRIDGE_PORTS"]=ifcfg;
- // remove description - will be replaced by new (real) one
- NetworkInterfaces::Current=remove(NetworkInterfaces::Current, "NAME");
- if( NetworkInterfaces::Commit() ){
- NetworkInterfaces::Delete(ifcfg);
- NetworkInterfaces::Commit();
-
- LanItems::Items[current, "ifcfg"] = new_ifcfg;
- LanItems::modified=true;
- LanItems::force_restart=true;
- y2internal("List %1", NetworkInterfaces::List(""));
- // re-read configuration to see new items in UI
- LanItems::Read();
- } else y2error("error while proposing bridge device for %1", ifcfg);
- } else y2internal("skipping bridge ...");
+ if (size(ifcfg)>0){
+ if (! (NetworkInterfaces::GetType(ifcfg)=="br")){
+ NetworkInterfaces::Edit(ifcfg);
+ string new_ifcfg = sformat("br%1", NetworkInterfaces::GetFreeDevice("br"));
+ y2milestone("old configuration %1, bridge %2", ifcfg, new_ifcfg);
+ NetworkInterfaces::Name = new_ifcfg;
+ NetworkInterfaces::Current["BRIDGE"]="yes";
+ NetworkInterfaces::Current["BRIDGE_PORTS"]=ifcfg;
+ // remove description - will be replaced by new (real) one
+ NetworkInterfaces::Current=remove(NetworkInterfaces::Current, "NAME");
+ if( NetworkInterfaces::Commit() ){
+ NetworkInterfaces::Delete(ifcfg);
+ NetworkInterfaces::Commit();
+
+ LanItems::Items[current, "ifcfg"] = new_ifcfg;
+ LanItems::modified=true;
+ LanItems::force_restart=true;
+ y2internal("List %1", NetworkInterfaces::List(""));
+ // re-read configuration to see new items in UI
+ LanItems::Read();
+ } else y2error("error while proposing bridge device for %1", ifcfg);
+ } else y2internal("skipping bridge ...");
+ } else y2warning("empty ifcfg");
});
} else {
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.17.46/src/modules/NetHwDetection.ycp new/yast2-network-2.17.50/src/modules/NetHwDetection.ycp
--- old/yast2-network-2.17.46/src/modules/NetHwDetection.ycp 2008-09-09 15:31:24.000000000 +0200
+++ new/yast2-network-2.17.50/src/modules/NetHwDetection.ycp 2008-10-30 10:39:43.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Network detection
* Authors: Michal Svec
*
- * $Id: NetHwDetection.ycp 50620 2008-09-03 13:31:11Z mzugec $
+ * $Id: NetHwDetection.ycp 52729 2008-10-30 11:19:20Z mzugec $
*
* <p>Detects network settings, using dhcp or sniffing network traffic</p>
*
@@ -126,7 +126,7 @@
// {
y2milestone("Setting link up for interface %1", ifc);
SCR::Execute(.target.bash, sformat("ip link set %1 up", ifc));
-// } else y2milestone("Link for %1 interface is already up, do nothing", ifc);
+// } else y2milestone("Link for %1 interface is already up, nothing to do", ifc);
});
} else y2error("Error while execute %1 : %2", command, output);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.17.46/src/modules/Remote.ycp new/yast2-network-2.17.50/src/modules/Remote.ycp
--- old/yast2-network-2.17.46/src/modules/Remote.ycp 2008-08-12 13:42:03.000000000 +0200
+++ new/yast2-network-2.17.50/src/modules/Remote.ycp 2008-10-31 09:27:28.000000000 +0100
@@ -5,7 +5,7 @@
* Authors: Arvin Schnell
* Martin Vidner
*
- * $Id: Remote.ycp 47418 2008-05-09 14:49:54Z kmachalkova $
+ * $Id: Remote.ycp 52777 2008-10-31 09:50:45Z kmachalkova $
*
*/
@@ -138,16 +138,17 @@
boolean have_xinetd = Package::Installed("xinetd");
if(allow_administration) {
- /* Install require packages */
+ /* Install required packages */
list<string> packages = ["xinetd", "tightvnc", "xorg-x11", "xorg-x11-Xvnc", ];
- // #40155: have to specify a concrete window manager,
- // "windowmanager" only works for yast2 -i
- // #381708: take KDE4 into consideration, too
- // ( but what about GNOME? )
- if (!Package::Installed ("kdebase3") && !Package::Installed("kdebase4"))
+
+ //At least one windowmanager must be installed (#427044)
+ //If none is, there, use fvwm2 as fallback
+ //Package::Installed uses rpm -q --whatprovides
+ if ( !Package::Installed("windowmanager") )
{
packages = add (packages, "fvwm2" );
}
+
if(!Package::InstallAll(packages)) {
y2error("Installing of required packages failed");
return false;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.17.46/src/services/dns.ycp new/yast2-network-2.17.50/src/services/dns.ycp
--- old/yast2-network-2.17.46/src/services/dns.ycp 2008-10-27 12:41:42.000000000 +0100
+++ new/yast2-network-2.17.50/src/services/dns.ycp 2008-10-30 10:47:48.000000000 +0100
@@ -5,7 +5,7 @@
* Authors: Michal Svec
* Martin Vidner
*
- * $Id: dns.ycp 52565 2008-10-27 11:41:43Z mzugec $
+ * $Id: dns.ycp 52754 2008-10-30 15:30:10Z kmachalkova $
*/
{
@@ -78,7 +78,8 @@
/* domain search */
string searchstring = mergestring (DNS::searchlist, "\n");
// #49094: populate the search list
- if (searchstring == "")
+ // #437759: discard 'site', nobody really wants that pre-set
+ if (searchstring == "" && settings["DOMAIN"]:"" != "site" )
{
searchstring = settings["DOMAIN"]:"";
}
@@ -530,7 +531,6 @@
))
);
-// map > widget_descr = widget_descr_dns;
symbol ret = CWM::ShowAndRun (
$[
"widget_descr": widget_descr_dns,
@@ -545,6 +545,16 @@
if (ret == `next)
{
+ //Pre-populate resolv.conf search list with current domain name
+ //but only if none exists so far
+ string current_domain = hn_settings["DOMAIN"]:"";
+
+ //Need to modify hn_settings explicitly as SEARCHLIST_S widget
+ //does not exist in this dialog, thus StoreHnWidget won't do it
+ //#438167
+ if ( DNS::searchlist == [] && current_domain != "site")
+ hn_settings["SEARCHLIST_S"] = current_domain;
+
StoreSettings (hn_settings);
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.17.46/VERSION new/yast2-network-2.17.50/VERSION
--- old/yast2-network-2.17.46/VERSION 2008-10-27 12:37:32.000000000 +0100
+++ new/yast2-network-2.17.50/VERSION 2008-10-31 12:19:20.000000000 +0100
@@ -1 +1 @@
-2.17.46
+2.17.50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org