Hello community, here is the log from the commit of package yast2-network checked in at Fri Sep 21 15:57:22 CEST 2007. -------- --- yast2-network/yast2-network.changes 2007-09-20 18:49:42.000000000 +0200 +++ /mounts/work_src_done/STABLE/yast2-network/yast2-network.changes 2007-09-21 12:32:52.559470000 +0200 @@ -1,0 +2,8 @@ +Fri Sep 21 12:22:00 CEST 2007 - kmachalkova@suse.cz + +- Correct manual adding of network devices and assigning firewall + zones (pass 'eth1' 'wlan0' string instead of 'eth-eth1' or + 'wlan-wlan0') (partly #308763) +- 2.15.79 + +------------------------------------------------------------------- Old: ---- yast2-network-2.15.78.tar.bz2 New: ---- yast2-network-2.15.79.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-network.spec ++++++ --- /var/tmp/diff_new_pack.D20131/_old 2007-09-21 15:54:26.000000000 +0200 +++ /var/tmp/diff_new_pack.D20131/_new 2007-09-21 15:54:26.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package yast2-network (Version 2.15.78) +# spec file for package yast2-network (Version 2.15.79) # # 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.15.78 +Version: 2.15.79 Release: 1 License: GPL v2 or later Group: System/YaST BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-network-2.15.78.tar.bz2 +Source0: yast2-network-2.15.79.tar.bz2 Prefix: /usr # should be required by devtools BuildRequires: perl-XML-Writer pkgconfig rpm @@ -44,12 +44,12 @@ Summary: YaST2 - Network Configuration %package devel-doc -Version: 2.15.78 +Version: 2.15.79 Release: 1 License: GPL v2 or later Group: System/YaST BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-network-2.15.78.tar.bz2 +Source0: yast2-network-2.15.79.tar.bz2 Prefix: /usr Requires: yast2-network >= 2.15.53 Summary: YaST2 - Developer documentation for yast2-network @@ -73,7 +73,7 @@ Michal Svec <msvec@suse.cz> %prep -%setup -n yast2-network-2.15.78 +%setup -n yast2-network-2.15.79 %build %{prefix}/bin/y2tool y2autoconf @@ -139,6 +139,11 @@ %exclude %{prefix}/share/doc/packages/yast2-network/COPYRIGHT.english %exclude %{prefix}/share/doc/packages/yast2-network/README %changelog +* Fri Sep 21 2007 - kmachalkova@suse.cz +- Correct manual adding of network devices and assigning firewall + zones (pass 'eth1' 'wlan0' string instead of 'eth-eth1' or + 'wlan-wlan0') (partly #308763) +- 2.15.79 * Thu Sep 20 2007 - kmachalkova@suse.cz - Always add '127.0.0.2 host.site host' line into /etc/hosts (if 'Write hostname to /etc/hosts' is enabled) to make hostname ++++++ yast2-network-2.15.78.tar.bz2 -> yast2-network-2.15.79.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.15.78/src/lan/address.ycp new/yast2-network-2.15.79/src/lan/address.ycp --- old/yast2-network-2.15.78/src/lan/address.ycp 2007-09-20 18:47:38.000000000 +0200 +++ new/yast2-network-2.15.79/src/lan/address.ycp 2007-09-21 12:26:06.000000000 +0200 @@ -4,7 +4,7 @@ * Summary: Network card adresss configuration dialogs * Authors: Michal Svec <msvec@suse.cz> * - * $Id: address.ycp 40916 2007-09-14 12:10:37Z kmachalkova $ + * $Id: address.ycp 41017 2007-09-21 10:26:05Z kmachalkova $ */ { @@ -328,7 +328,7 @@ * @param event the event being handled * @return whether valid */ -boolean ValidateDialog (string key, map event) { +boolean ValidateBootproto (string key, map event) { if (UI::QueryWidget(`bootproto, `CurrentButton) == `static) { string ipa = (string) UI::QueryWidget (`ipaddr, `Value); @@ -520,6 +520,8 @@ "init": initBootProto, "handle": handleBootProto, "store": storeBootProto, + "validate_type" : `function, + "validate_function" : ValidateBootproto, ], "REMOTEIP": $[ "widget": `textentry, @@ -617,7 +619,6 @@ "IFCFGID": LanItems::device, ]; - string drvtype = DriverType (settings["IFCFGTYPE"]:""); boolean is_ptp = drvtype == "ctc" || drvtype == "iucv"; @@ -788,8 +789,6 @@ map functions = $[ "init" : InitAddrWidget, - "validate_type": `function, - "validate_function": ValidateDialog, "store" : StoreAddrWidget, `abort : LanItems::Rollback, ]; @@ -876,9 +875,7 @@ if (ret != `back && ret != `abort) { - string ifcfgname = NetworkDevices::device_name ( - settings["IFCFGTYPE"]:"", - settings["IFCFGID"]:""); + string ifcfgname = settings["IFCFGID"]:""; // general tab LanItems::startmode = settings["STARTMODE"]:""; @@ -903,7 +900,6 @@ if (LanItems::bootproto == "static") // #104494 { boolean ip_changed = ( LanItems::ipaddr != settings["IPADDR"]:"" ); - y2milestone("jezkovy voci %1 %2", LanItems::ipaddr, settings["IPADDR"]:""); if (ip_changed) { Host::hosts[LanItems::ipaddr] = []; diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.15.78/VERSION new/yast2-network-2.15.79/VERSION --- old/yast2-network-2.15.78/VERSION 2007-09-20 18:43:15.000000000 +0200 +++ new/yast2-network-2.15.79/VERSION 2007-09-21 12:25:08.000000000 +0200 @@ -1 +1 @@ -2.15.78 +2.15.79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org