![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package yast2-network checked in at Thu Aug 7 01:40:08 CEST 2008. -------- --- yast2-network/yast2-network.changes 2008-08-04 15:59:15.000000000 +0200 +++ /mounts/work_src_done/STABLE/yast2-network/yast2-network.changes 2008-08-06 13:01:57.474106000 +0200 @@ -1,0 +2,19 @@ +Wed Aug 6 13:00:12 CEST 2008 - mzugec@suse.cz + +- increase default idle time-out for modem connection (fate#303429) +- 2.17.17 + +------------------------------------------------------------------- +Wed Aug 6 09:18:00 CEST 2008 - mzugec@suse.cz + +- installation via wireless (bnc#223570) +- possibility to add bond device into bridge and device with /32 + prefixlen (bnc#405343) +- 2.17.16 + +------------------------------------------------------------------- +Tue Aug 5 10:28:41 CEST 2008 - mzugec@suse.cz + +- improved help text (bnc#376063) + +------------------------------------------------------------------- Old: ---- yast2-network-2.17.15.tar.bz2 New: ---- yast2-network-2.17.17.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-network.spec ++++++ --- /var/tmp/diff_new_pack.H24471/_old 2008-08-07 01:40:03.000000000 +0200 +++ /var/tmp/diff_new_pack.H24471/_new 2008-08-07 01:40:03.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package yast2-network (Version 2.17.15) +# spec file for package yast2-network (Version 2.17.17) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,12 +19,12 @@ Name: yast2-network -Version: 2.17.15 +Version: 2.17.17 Release: 1 License: GPL v2 or later Group: System/YaST BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-network-2.17.15.tar.bz2 +Source0: yast2-network-2.17.17.tar.bz2 Prefix: /usr # should be required by devtools BuildRequires: perl-XML-Writer pkgconfig rpm @@ -78,7 +78,7 @@ Michal Svec <msvec@suse.cz> %prep -%setup -n yast2-network-2.17.15 +%setup -n yast2-network-2.17.17 %build %{prefix}/bin/y2tool y2autoconf @@ -142,6 +142,16 @@ %exclude %{prefix}/share/doc/packages/yast2-network/COPYING %exclude %{prefix}/share/doc/packages/yast2-network/README %changelog +* Wed Aug 06 2008 mzugec@suse.cz +- increase default idle time-out for modem connection (fate#303429) +- 2.17.17 +* Wed Aug 06 2008 mzugec@suse.cz +- installation via wireless (bnc#223570) +- possibility to add bond device into bridge and device with /32 + prefixlen (bnc#405343) +- 2.17.16 +* Tue Aug 05 2008 mzugec@suse.cz +- improved help text (bnc#376063) * Mon Aug 04 2008 mzugec@suse.cz - for ssh/vnc installation don't reload/restart network because possibility of IP change (bnc#347482) ++++++ yast2-network-2.17.15.tar.bz2 -> yast2-network-2.17.17.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.17.15/configure new/yast2-network-2.17.17/configure --- old/yast2-network-2.17.15/configure 2008-08-04 15:55:11.000000000 +0200 +++ new/yast2-network-2.17.17/configure 2008-08-06 12:56:15.000000000 +0200 @@ -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.17.14. +# Generated by GNU Autoconf 2.61 for yast2-network 2.17.16. # # 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.17.14' -PACKAGE_STRING='yast2-network 2.17.14' +PACKAGE_VERSION='2.17.16' +PACKAGE_STRING='yast2-network 2.17.16' 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.17.14 to adapt to many kinds of systems. +\`configure' configures yast2-network 2.17.16 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.17.14:";; + short | recursive ) echo "Configuration of yast2-network 2.17.16:";; 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.17.14 +yast2-network configure 2.17.16 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.17.14, which was +It was created by yast2-network $as_me 2.17.16, 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.17.14' + VERSION='2.17.16' cat >>confdefs.h <<_ACEOF @@ -2409,7 +2409,7 @@ -VERSION="2.17.14" +VERSION="2.17.16" RPMNAME="yast2-network" MAINTAINER="Michal Zugec <mzugec@suse.cz>" @@ -3304,7 +3304,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.14, which was +This file was extended by yast2-network $as_me 2.17.16, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -3347,7 +3347,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -yast2-network config.status 2.17.14 +yast2-network config.status 2.17.16 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.17.15/configure.in new/yast2-network-2.17.17/configure.in --- old/yast2-network-2.17.15/configure.in 2008-08-04 15:55:05.000000000 +0200 +++ new/yast2-network-2.17.17/configure.in 2008-08-06 12:56:09.000000000 +0200 @@ -3,7 +3,7 @@ dnl -- This file is generated by y2autoconf 2.17.0 - DO NOT EDIT! -- dnl (edit configure.in.in instead) -AC_INIT(yast2-network, 2.17.14, http://bugs.opensuse.org/, yast2-network) +AC_INIT(yast2-network, 2.17.16, 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.14" +VERSION="2.17.16" RPMNAME="yast2-network" MAINTAINER="Michal Zugec <mzugec@suse.cz>" diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.17.15/src/clients/save_network.ycp new/yast2-network-2.17.17/src/clients/save_network.ycp --- old/yast2-network-2.17.15/src/clients/save_network.ycp 2008-07-15 15:47:46.000000000 +0200 +++ new/yast2-network-2.17.17/src/clients/save_network.ycp 2008-08-06 09:10:24.000000000 +0200 @@ -100,11 +100,11 @@ ReadInstallInfItem(install_inf, "QETH_LAYER2_SUPPORT", "Layer2"); ReadInstallInfItem(install_inf, "LLADDR", "OSAHWAddr"); - ReadInstallInfItem(install_inf, "WlanESSID", "WESSID"); - ReadInstallInfItem(install_inf, "WlanAuth", "WAuth"); - ReadInstallInfItem(install_inf, "WlanKey", "WKey"); - ReadInstallInfItem(install_inf, "WlanKeyType", "WkeyType"); - ReadInstallInfItem(install_inf, "WlanKeyLen", "WkeyLen"); + ReadInstallInfItem(install_inf, "WESSID", "WlanESSID"); + ReadInstallInfItem(install_inf, "WAuth", "WlanAuth"); + ReadInstallInfItem(install_inf, "WKey", "WlanKey"); + ReadInstallInfItem(install_inf, "WkeyType", "WlanKeyType"); + ReadInstallInfItem(install_inf, "WkeyLen", "WlanKeyLen"); /* Split network device */ @@ -210,27 +210,43 @@ SCR::Execute(.target.bash_output, "sed -i s/\"DHCLIENT_SET_HOSTNAME=.*\"/'DHCLIENT_SET_HOSTNAME=\"yes\"'/g /etc/sysconfig/network/dhcp"); } - // wlan devices - if (size(InstallInf["WESSID"]:"")>0 || size(InstallInf["WAuth"]:"")>0 || - size(InstallInf["WKey"]:"")>0 || size(InstallInf["WKeyType"]:"")>0 || - size(InstallInf["WKeyLen"]:"")>0) + // wireless devices (bnc#223570) + if ( size(InstallInf["WESSID"]:"")>0 ) { network_configuration = sformat("%1WIRELESS_ESSID='%2'\n", network_configuration, InstallInf["WESSID"]:""); - network_configuration = sformat("%1WIRELESS_AUTH_MODE='%2'\n", network_configuration, InstallInf["WAuth"]:""); - network_configuration = sformat("%1WIRELESS_AUTH_MODE='%2'\n", network_configuration, InstallInf["WAuth"]:""); - network_configuration = sformat("%1WIRELESS_KEY_LENGTH='%2'\n", network_configuration, InstallInf["WKeyLen"]:""); - if (size(InstallInf["WKeyType"]:"")>0 && size(InstallInf["WKey"]:"")>0) - network_configuration = sformat("%1WIRELESS_KEY_0='%2:%3'\n", network_configuration, +// network_configuration = sformat("%1WIRELESS_AUTH_MODE='%2'\n", network_configuration, InstallInf["WAuth"]:""); + switch(InstallInf["WAuth"]:""){ + case "" : // "" means wpa-psk + case "psk" : + network_configuration = sformat("%1WIRELESS_WPA_PSK='%2'\n", network_configuration, InstallInf["WKey"]:""); + network_configuration = sformat("%1WIRELESS_AUTH_MODE='psk'\n", network_configuration); + break; + case "open" : + network_configuration = sformat("%1WIRELESS_AUTH_MODE='no-encryption'\n", network_configuration); + break; + case "wep_open" : + case "wep_restricted" : + string type=""; + if (InstallInf["WkeyType"]:""=="password") type="h:"; + else if (InstallInf["WkeyType"]:""=="ascii") type="s:"; + network_configuration = sformat("%1WIRELESS_AUTH_MODE='%2'\n", network_configuration, (InstallInf["WAuth"]:""=="wep-open") ? "open" : "sharedkey"); + network_configuration = sformat("%1WIRELESS_DEFAULT_KEY='0'\n", network_configuration); + network_configuration = sformat("%1WIRELESS_KEY_0='%2%3'\n", network_configuration, type, InstallInf["WKey"]:""); + network_configuration = sformat("%1WIRELESS_KEY_LENGTH='%2'\n", network_configuration, InstallInf["WKeyLen"]:""); + if (size(InstallInf["WKeyType"]:"")>0 && size(InstallInf["WKey"]:"")>0) + network_configuration = sformat("%1WIRELESS_KEY_0='%2:%3'\n", network_configuration, substring(InstallInf["WKeyType"]:"", 0, 1), InstallInf["WKey"]:""); + break; + } } // if available, write MTU - if (size(InstallInf["mtu"]:"")>0) + if (size(InstallInf["mtu"]:"")>0) network_configuration = sformat("%1MTU='%2'\n", network_configuration, InstallInf["mtu"]:""); // for queth devices (s390) - if (size(InstallInf["LLADDR"]:"")>0) + if (size(InstallInf["LLADDR"]:"")>0) network_configuration = sformat("%1LLADDR='%2'\n", network_configuration, InstallInf["LLADDR"]:""); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.17.15/src/lan/bridge.ycp new/yast2-network-2.17.17/src/lan/bridge.ycp --- old/yast2-network-2.17.15/src/lan/bridge.ycp 2008-07-25 11:31:41.000000000 +0200 +++ new/yast2-network-2.17.17/src/lan/bridge.ycp 2008-08-06 09:09:20.000000000 +0200 @@ -56,7 +56,10 @@ string device = t[0, 0]:""; if (contains(sel, device) && hasAnyValue(device)) { if (contains(confs, device)){ - if (contains(["tun", "tap"], NetworkInterfaces::GetType(device))) continue; + // allow to add bonding device into bridge and also device with mask /32(bnc#405343) + if (contains(["tun", "tap", "bond"], NetworkInterfaces::GetType(device))) continue; + if (((string)configurations[NetworkInterfaces::GetType(device), device, "PREFIXLEN"]:"" != "32") + || ((string)configurations[NetworkInterfaces::GetType(device), device, "NETMASK"]:"" != "255.255.255.255")) if ((string)configurations[NetworkInterfaces::GetType(device), device, "IPADDR"]:"" != "0.0.0.0") { if(!confirmed) { valid = Popup::ContinueCancel(_("At least one selected device is already configured. diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.17.15/src/lan/help.ycp new/yast2-network-2.17.17/src/lan/help.ycp --- old/yast2-network-2.17.15/src/lan/help.ycp 2008-04-21 12:32:10.000000000 +0200 +++ new/yast2-network-2.17.17/src/lan/help.ycp 2008-08-05 10:28:13.000000000 +0200 @@ -169,7 +169,7 @@ /* Address dialog help 6/8 */ "netmask": _("<p>For <b>Static Address Setup</b> enter the static IP address for your computer (for example: <tt>192.168.100.99</tt>) and -the network mask (usually <tt>255.255.255.0</tt>). Optionally, you can enter +the network mask (usually <tt>255.255.255.0</tt> or just lenght of prefix <tt>/24</tt>). For special case - unconfigured interface use <tt>0.0.0.0</tt> and <tt>/32</tt>.Optionally, you can enter a fully qualified hostname for this IP address. The hostname will be written to <tt>/etc/hosts</tt>.</p> ") + diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.17.15/src/provider/connection.ycp new/yast2-network-2.17.17/src/provider/connection.ycp --- old/yast2-network-2.17.15/src/provider/connection.ycp 2008-04-21 12:32:11.000000000 +0200 +++ new/yast2-network-2.17.17/src/provider/connection.ycp 2008-08-06 13:01:11.000000000 +0200 @@ -4,7 +4,7 @@ * Summary: Connection configuration dialogs * Authors: Michal Svec <msvec@suse.cz> * - * $Id: connection.ycp 46855 2008-04-18 13:48:54Z jsrain $ + * $Id: connection.ycp 49757 2008-08-06 11:01:11Z mzugec $ */ { @@ -48,7 +48,7 @@ string DNS1 = Provider::Current["DNS1"]:""; string DNS2 = Provider::Current["DNS2"]:""; - string idletime = Provider::Current["IDLETIME"]:"300"; + string idletime = Provider::Current["IDLETIME"]:"900"; string device = nil; string dtype = nil; @@ -168,7 +168,8 @@ seconds = add(seconds, idletime); seconds = maplist(string e, (list<string>) seconds, { - return `item(`id(sformat("%1", e)), sformat("%1", e), e == idletime); + // translators: min - shortcut to "minutes" (fate#303429) + return `item(`id(sformat("%1", e)), sformat("%1 (%2 %3)", e, tofloat(e)/60, _("min")), e == idletime); }); /* Checkbox label */ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.17.15/VERSION new/yast2-network-2.17.17/VERSION --- old/yast2-network-2.17.15/VERSION 2008-08-04 15:56:24.000000000 +0200 +++ new/yast2-network-2.17.17/VERSION 2008-08-06 13:00:10.000000000 +0200 @@ -1 +1 @@ -2.17.15 +2.17.17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org