Hello community,
here is the log from the commit of package yast2-network
checked in at Thu Nov 29 18:28:32 CET 2007.
--------
--- yast2-network/yast2-network.changes 2007-11-21 18:30:27.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-network/yast2-network.changes 2007-11-29 15:42:12.000000000 +0100
@@ -1,0 +2,7 @@
+Thu Nov 29 15:39:35 CET 2007 - mzugec@suse.cz
+
+- when user change BOOTPROTO to NONE, set STARTMODE to off
+- for hotplug devices set STARTMODE=hotplug (#132583)
+- 2.16.11
+
+-------------------------------------------------------------------
Old:
----
yast2-network-2.16.10.tar.bz2
New:
----
yast2-network-2.16.11.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-network.spec ++++++
--- /var/tmp/diff_new_pack.e26888/_old 2007-11-29 18:27:46.000000000 +0100
+++ /var/tmp/diff_new_pack.e26888/_new 2007-11-29 18:27:46.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-network (Version 2.16.10)
+# spec file for package yast2-network (Version 2.16.11)
#
# 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-network
-Version: 2.16.10
+Version: 2.16.11
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-network-2.16.10.tar.bz2
+Source0: yast2-network-2.16.11.tar.bz2
Prefix: /usr
# should be required by devtools
BuildRequires: perl-XML-Writer pkgconfig rpm
@@ -45,12 +45,12 @@
Summary: YaST2 - Network Configuration
%package devel-doc
-Version: 2.16.10
+Version: 2.16.11
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-network-2.16.10.tar.bz2
+Source0: yast2-network-2.16.11.tar.bz2
Prefix: /usr
Requires: yast2-network >= 2.15.53
Summary: YaST2 - Developer documentation for yast2-network
@@ -74,7 +74,7 @@
Michal Svec
%prep
-%setup -n yast2-network-2.16.10
+%setup -n yast2-network-2.16.11
%build
%{prefix}/bin/y2tool y2autoconf
@@ -138,6 +138,10 @@
%exclude %{prefix}/share/doc/packages/yast2-network/COPYING
%exclude %{prefix}/share/doc/packages/yast2-network/README
%changelog
+* Thu Nov 29 2007 - mzugec@suse.cz
+- when user change BOOTPROTO to NONE, set STARTMODE to off
+- for hotplug devices set STARTMODE=hotplug (#132583)
+- 2.16.11
* Wed Nov 21 2007 - mzugec@suse.cz
- choosing pptp server by domain name, not only ip (#241461)
thanks to nderkach@gmail.com
++++++ yast2-network-2.16.10.tar.bz2 -> yast2-network-2.16.11.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.16.10/configure new/yast2-network-2.16.11/configure
--- old/yast2-network-2.16.10/configure 2007-11-21 18:26:07.000000000 +0100
+++ new/yast2-network-2.16.11/configure 2007-11-29 15:36:54.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for yast2-network 2.16.9.
+# Generated by GNU Autoconf 2.61 for yast2-network 2.16.10.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -574,8 +574,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-network'
PACKAGE_TARNAME='yast2-network'
-PACKAGE_VERSION='2.16.9'
-PACKAGE_STRING='yast2-network 2.16.9'
+PACKAGE_VERSION='2.16.10'
+PACKAGE_STRING='yast2-network 2.16.10'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1197,7 +1197,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.16.9 to adapt to many kinds of systems.
+\`configure' configures yast2-network 2.16.10 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1268,7 +1268,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-network 2.16.9:";;
+ short | recursive ) echo "Configuration of yast2-network 2.16.10:";;
esac
cat <<\_ACEOF
@@ -1346,7 +1346,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-network configure 2.16.9
+yast2-network configure 2.16.10
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1360,7 +1360,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.16.9, which was
+It was created by yast2-network $as_me 2.16.10, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
@@ -2181,7 +2181,7 @@
# Define the identity of the package.
PACKAGE='yast2-network'
- VERSION='2.16.9'
+ VERSION='2.16.10'
cat >>confdefs.h <<_ACEOF
@@ -2408,7 +2408,7 @@
-VERSION="2.16.9"
+VERSION="2.16.10"
RPMNAME="yast2-network"
MAINTAINER="Michal Zugec "
@@ -3303,7 +3303,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.16.9, which was
+This file was extended by yast2-network $as_me 2.16.10, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3346,7 +3346,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-network config.status 2.16.9
+yast2-network config.status 2.16.10
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-network-2.16.10/configure.in new/yast2-network-2.16.11/configure.in
--- old/yast2-network-2.16.10/configure.in 2007-11-21 18:26:01.000000000 +0100
+++ new/yast2-network-2.16.11/configure.in 2007-11-29 15:36:47.000000000 +0100
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.15.9 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-network, 2.16.9, http://bugs.opensuse.org/, yast2-network)
+AC_INIT(yast2-network, 2.16.10, http://bugs.opensuse.org/, yast2-network)
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.16.9"
+VERSION="2.16.10"
RPMNAME="yast2-network"
MAINTAINER="Michal Zugec "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.16.10/src/lan/address.ycp new/yast2-network-2.16.11/src/lan/address.ycp
--- old/yast2-network-2.16.10/src/lan/address.ycp 2007-11-19 14:18:51.000000000 +0100
+++ new/yast2-network-2.16.11/src/lan/address.ycp 2007-11-29 15:41:18.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Network card adresss configuration dialogs
* Authors: Michal Svec
*
- * $Id: address.ycp 42105 2007-11-15 18:29:34Z mzugec $
+ * $Id: address.ycp 42510 2007-11-29 14:41:18Z mzugec $
*/
{
@@ -120,6 +120,13 @@
settings["SLAVES"] = (list<string>)UI::QueryWidget (`id(key), `SelectedItems);
}
+void enableDisableBootProto(symbol current){
+ UI::ChangeWidget(`dyn, `Enabled, current==`dynamic);
+ UI::ChangeWidget(`ipaddr, `Enabled, current==`static);
+ UI::ChangeWidget(`netmask, `Enabled, current==`static);
+ UI::ChangeWidget(`hostname, `Enabled, current==`static);
+}
+
/**
* Initialize a RadioButtonGroup
* Group called FOO has buttons FOO_bar FOO_qux and values bar qux
@@ -143,25 +150,16 @@
case "none" : UI::ChangeWidget(`id(`bootproto), `CurrentButton, `none);
break;
}
+ enableDisableBootProto((symbol)UI::QueryWidget(`id(`bootproto), `CurrentButton));
}
symbol handleBootProto (string key, map event) {
- boolean none = false;
- boolean dynamic = false;
- boolean stat = false;
- switch((symbol)UI::QueryWidget(`id(`bootproto), `CurrentButton)){
- case `none : none=true;
- break;
- case `static: stat=true;
- break;
- default : dynamic=true;
- break;
- }
- UI::ChangeWidget(`dyn, `Enabled, dynamic);
- UI::ChangeWidget(`ipaddr, `Enabled, stat);
- UI::ChangeWidget(`netmask, `Enabled, stat);
- UI::ChangeWidget(`hostname, `Enabled, stat);
+ if (event["EventReason"]:""=="ValueChanged"){
+ symbol current = (symbol)UI::QueryWidget(`id(`bootproto), `CurrentButton);
+ enableDisableBootProto(current);
+ if (current == `none) settings["STARTMODE"] = "off";
+ }
return nil;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.16.10/src/modules/LanItems.ycp new/yast2-network-2.16.11/src/modules/LanItems.ycp
--- old/yast2-network-2.16.10/src/modules/LanItems.ycp 2007-10-29 10:03:47.000000000 +0100
+++ new/yast2-network-2.16.11/src/modules/LanItems.ycp 2007-11-29 14:43:20.000000000 +0100
@@ -777,7 +777,8 @@
// if(dev == "") {
// defaults for a new device
devmap = $[
- "STARTMODE": "auto", // #115448, #156388
+ // for hotplug devices set STARTMODE=hotplug (#132583)
+ "STARTMODE": hasAnyValue(Items[current, "hwinfo", "hotplug"]:"") ? "hotplug" : "auto", // #115448, #156388
"NETMASK": (NetHwDetection::result["NETMASK"]:"255.255.255.0"), // #31369
];
string product_startmode = ProductFeatures::GetStringFeature ("network", "startmode");
@@ -788,7 +789,7 @@
{
// #164816
y2milestone ("Not a laptop, will not prefer ifplugd");
- product_startmode = "auto";
+ product_startmode = hasAnyValue(Items[current, "hwinfo", "hotplug"]:"") ? "hotplug" : "auto";
}
devmap["STARTMODE"] = product_startmode;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.16.10/VERSION new/yast2-network-2.16.11/VERSION
--- old/yast2-network-2.16.10/VERSION 2007-11-21 18:27:11.000000000 +0100
+++ new/yast2-network-2.16.11/VERSION 2007-11-29 15:38:11.000000000 +0100
@@ -1 +1 @@
-2.16.10
+2.16.11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org