commit yast2-network for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-network for openSUSE:Factory checked in at Mon Nov 2 12:48:19 CET 2009. -------- --- yast2-network/yast2-network.changes 2009-10-26 16:05:00.000000000 +0100 +++ /mounts/work_src_done/STABLE/yast2-network/yast2-network.changes 2009-10-29 17:49:03.000000000 +0100 @@ -1,0 +2,6 @@ +Thu Oct 29 17:47:14 CET 2009 - mzugec@suse.cz + +- physical identification for NIC cards (FaTE#307164) +- 2.18.53 + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- yast2-network-2.18.52.tar.bz2 New: ---- yast2-network-2.18.53.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-network.spec ++++++ --- /var/tmp/diff_new_pack.YQ94zg/_old 2009-11-02 12:48:13.000000000 +0100 +++ /var/tmp/diff_new_pack.YQ94zg/_new 2009-11-02 12:48:13.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package yast2-network (Version 2.18.52) +# spec file for package yast2-network (Version 2.18.53) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,10 +19,10 @@ Name: yast2-network -Version: 2.18.52 +Version: 2.18.53 Release: 1 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-network-2.18.52.tar.bz2 +Source0: yast2-network-2.18.53.tar.bz2 Prefix: /usr Group: System/YaST License: GPL v2 or later @@ -65,7 +65,7 @@ This package contains autogenerated documentation for yast2-network %prep -%setup -n yast2-network-2.18.52 +%setup -n yast2-network-2.18.53 %build %{prefix}/bin/y2tool y2autoconf ++++++ yast2-network-2.18.52.tar.bz2 -> yast2-network-2.18.53.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-2.18.52/VERSION new/yast2-network-2.18.53/VERSION --- old/yast2-network-2.18.52/VERSION 2009-10-26 16:00:28.000000000 +0100 +++ new/yast2-network-2.18.53/VERSION 2009-10-29 17:04:43.000000000 +0100 @@ -1 +1 @@ -2.18.52 +2.18.53 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-network-2.18.52/src/lan/hardware.ycp new/yast2-network-2.18.53/src/lan/hardware.ycp --- old/yast2-network-2.18.52/src/lan/hardware.ycp 2009-05-18 08:09:12.000000000 +0200 +++ new/yast2-network-2.18.53/src/lan/hardware.ycp 2009-10-29 17:48:17.000000000 +0100 @@ -4,7 +4,7 @@ * Summary: Hardware dialogs * Authors: Michal Svec <msvec@suse.cz> * - * $Id: hardware.ycp 57221 2009-05-17 20:11:45Z mzugec $ + * $Id: hardware.ycp 59245 2009-10-29 16:48:16Z mzugec $ */ { @@ -37,6 +37,10 @@ eth1, wlan0 ) and assures a persistent device name upon reboot. ") + +_("<p><b>Show visible port identification</b> allows you to physically identify now configured NIC. +Set appropriate time, click <b>Blink</b> and LED diods on you NIC will start blinking for selected time. +</p>")+ + /* Manual network card setup help 2/4 */ _("<p><b>Kernel Module</b>. Enter the kernel module (driver) name for your network device here. If the device is already configured, see if there is more than one driver available for @@ -202,9 +206,16 @@ if(LanItems::operation == `edit ) TypeNameWidgets = `Empty(); else UdevWidget = `Empty(); + term BlinkCard = `Frame(_("Show visible port identification"), + `HBox( + `IntField(`id(`blink_time), "Seconds:", 0, 100, 5), + `PushButton(`id(`blink), _("Blink")) + ) + ); + term contents = `VBox( - `HBox(UdevWidget,`HStretch()), + `HBox(UdevWidget,`HStretch(), BlinkCard), TypeNameWidgets, KernelBox, `VStretch() @@ -430,10 +441,10 @@ `CheckBox(`id(`change_dev_name), `opt(`notify), _("Change DeviceName"), false), `InputField(`id(`dev_name), "", LanItems::GetItemUdev("NAME")) ) - ), + ), `VSpacing(0.5), `HBox( `PushButton (`id(`ok), `opt(`default), Label::OKButton ()), - `PushButton (`id(`cancel), Label::CancelButton ()) + `PushButton (`id(`cancel), Label::CancelButton ()) ) ) @@ -471,6 +482,13 @@ UI::CloseDialog(); UI::ChangeWidget(`device_name, `Value, LanItems::Items[LanItems::current, "ifcfg"]:""); } + if (ret==`blink){ + string device = LanItems::device; + integer timeout = tointeger(UI::QueryWidget(`blink_time, `Value)); + y2milestone("blink, blink ... %1 seconds on %2 device", timeout, device); + string cmd = sformat("ethtool -p %1 %2", device, timeout); + y2milestone("%1 : %2", cmd, SCR::Execute(.target.bash_output, cmd)); + } return nil; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de