Mailinglist Archive: opensuse-commit (1828 mails)

< Previous Next >
commit yast2-network
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Thu, 25 Sep 2008 01:05:06 +0200
  • Message-id: <20080924230507.012EA678159@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package yast2-network
checked in at Thu Sep 25 01:05:06 CEST 2008.


--------
--- yast2-network/yast2-network.changes 2008-09-18 11:56:45.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-network/yast2-network.changes
2008-09-22 16:12:21.444740000 +0200
@@ -1,0 +2,25 @@
+Mon Sep 22 16:07:34 CEST 2008 - mzugec@xxxxxxx
+
+- add "need firmware" into overview description (bnc#327549)
+- 2.17.31
+
+-------------------------------------------------------------------
+Mon Sep 22 11:20:12 CEST 2008 - mzugec@xxxxxxx
+
+- Modem: check return value of installation (bnc#387716)
+- 2.17.30
+
+-------------------------------------------------------------------
+Fri Sep 19 17:45:23 CEST 2008 - mzugec@xxxxxxx
+
+- button labeling in dsl module (bnc#398505)
+- button labeling in modem module (bnc#398508)
+- 2.17.29
+
+-------------------------------------------------------------------
+Fri Sep 19 14:36:53 CEST 2008 - mzugec@xxxxxxx
+
+- fixed detection of dhcp devices (bnc#427669)
+- 2.17.28
+
+-------------------------------------------------------------------



Old:
----
yast2-network-2.17.27.tar.bz2

New:
----
yast2-network-2.17.31.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-network.spec ++++++
--- /var/tmp/diff_new_pack.Y31221/_old 2008-09-25 01:04:54.000000000 +0200
+++ /var/tmp/diff_new_pack.Y31221/_new 2008-09-25 01:04:54.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-network (Version 2.17.27)
+# spec file for package yast2-network (Version 2.17.31)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@


Name: yast2-network
-Version: 2.17.27
+Version: 2.17.31
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-network-2.17.27.tar.bz2
+Source0: yast2-network-2.17.31.tar.bz2
Prefix: /usr
# should be required by devtools
BuildRequires: perl-XML-Writer pkgconfig rpm
@@ -79,7 +79,7 @@
Michal Svec <msvec@xxxxxxx>

%prep
-%setup -n yast2-network-2.17.27
+%setup -n yast2-network-2.17.31

%build
%{prefix}/bin/y2tool y2autoconf
@@ -143,6 +143,19 @@
%exclude %{prefix}/share/doc/packages/yast2-network/COPYING
%exclude %{prefix}/share/doc/packages/yast2-network/README
%changelog
+* Mon Sep 22 2008 mzugec@xxxxxxx
+- add "need firmware" into overview description (bnc#327549)
+- 2.17.31
+* Mon Sep 22 2008 mzugec@xxxxxxx
+- Modem: check return value of installation (bnc#387716)
+- 2.17.30
+* Fri Sep 19 2008 mzugec@xxxxxxx
+- button labeling in dsl module (bnc#398505)
+- button labeling in modem module (bnc#398508)
+- 2.17.29
+* Fri Sep 19 2008 mzugec@xxxxxxx
+- fixed detection of dhcp devices (bnc#427669)
+- 2.17.28
* Thu Sep 18 2008 jsrain@xxxxxxx
- use release notes of all products when checking internet
connection (bnc #413444)

++++++ yast2-network-2.17.27.tar.bz2 -> yast2-network-2.17.31.tar.bz2 ++++++
++++ 9704 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/yast2-network-2.17.27/configure.in new/yast2-network-2.17.31/configure.in
--- old/yast2-network-2.17.27/configure.in 2008-09-18 11:56:20.000000000
+0200
+++ new/yast2-network-2.17.31/configure.in 2008-09-22 14:01:25.000000000
+0200
@@ -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.27, http://bugs.opensuse.org/, yast2-network)
+AC_INIT(yast2-network, 2.17.30, 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.27"
+VERSION="2.17.30"
RPMNAME="yast2-network"
MAINTAINER="Michal Zugec <mzugec@xxxxxxx>"

diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/yast2-network-2.17.27/src/dsl/complex.ycp
new/yast2-network-2.17.31/src/dsl/complex.ycp
--- old/yast2-network-2.17.27/src/dsl/complex.ycp 2008-03-10
13:15:25.000000000 +0100
+++ new/yast2-network-2.17.31/src/dsl/complex.ycp 2008-09-19
17:52:56.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Summary, overview and IO dialogs for DSL configuration.
* Authors: Michal Svec <msvec@xxxxxxx>
*
- * $Id: complex.ycp 43483 2008-01-08 17:49:13Z mzugec $
+ * $Id: complex.ycp 51338 2008-09-19 15:52:56Z mzugec $
*/

{
@@ -351,7 +351,8 @@
"caption": caption,
"back_button": Label::BackButton(),
// #182853
- "next_button": (Mode::normal ()? Label::FinishButton():
Label::NextButton()),
+ "next_button": Label::OKButton(),
+ "abort_button": Label::CancelButton(),
// #54027
"disable_buttons" : (Mode::normal ()? ["back_button"] : []),
]);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/yast2-network-2.17.27/src/installation/inst_do_net_test.ycp
new/yast2-network-2.17.31/src/installation/inst_do_net_test.ycp
--- old/yast2-network-2.17.27/src/installation/inst_do_net_test.ycp
2008-09-18 11:56:15.000000000 +0200
+++ new/yast2-network-2.17.31/src/installation/inst_do_net_test.ycp
2008-09-22 11:37:58.000000000 +0200
@@ -1,11 +1,11 @@
-/**
+/*
* File: clients/inst_do_net_test.ycp
* Package: Network configuration
* Summary: Configuration dialogs for installation
* Authors: Michal Svec <msvec@xxxxxxx>
* Arvin Schnell <arvin@xxxxxxx>
*
- * $Id: inst_do_net_test.ycp 51265 2008-09-18 09:56:14Z jsrain $
+ * $Id: inst_do_net_test.ycp 51353 2008-09-22 09:37:58Z mzugec $
*/

{
@@ -649,9 +649,9 @@
ret = Popup::ContinueCancel(_("Download of latest release
notes failed due to server-side error.
This does not necessarily mean misconfigured network.

-Click <b>Continue</b> to proceed to the next installation step. To skip any
steps
+Click 'Continue' to proceed to the next installation step. To skip any steps
requiring internet connection or to get back to your network configuration,
-click <b>Cancel</b>."));
+click 'Cancel'."));
}
// return code shows misconfigured network
// return false
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/yast2-network-2.17.27/src/modem/complex.ycp
new/yast2-network-2.17.31/src/modem/complex.ycp
--- old/yast2-network-2.17.27/src/modem/complex.ycp 2008-03-10
13:15:25.000000000 +0100
+++ new/yast2-network-2.17.31/src/modem/complex.ycp 2008-09-19
17:52:56.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Summary, overview and IO dialogs for modems configuration.
* Authors: Michal Svec <msvec@xxxxxxx>
*
- * $Id: complex.ycp 43483 2008-01-08 17:49:13Z mzugec $
+ * $Id: complex.ycp 51338 2008-09-19 15:52:56Z mzugec $
*/

{
@@ -373,7 +373,8 @@
"caption": caption,
"back_button": Label::BackButton(),
// #182853
- "next_button": (Mode::normal ()? Label::FinishButton():
Label::NextButton()),
+ "next_button": Label::OKButton(),
+ "abort_button": Label::CancelButton(),
// #54027
"disable_buttons" : (Mode::normal ()? ["back_button"] : []),
]);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/yast2-network-2.17.27/src/modules/LanItems.ycp
new/yast2-network-2.17.31/src/modules/LanItems.ycp
--- old/yast2-network-2.17.27/src/modules/LanItems.ycp 2008-09-08
10:54:39.000000000 +0200
+++ new/yast2-network-2.17.31/src/modules/LanItems.ycp 2008-09-22
13:53:59.000000000 +0200
@@ -415,6 +415,40 @@
return descr;
}

+global boolean needFirmwareCurrentItem(){
+ boolean need = false;
+ if (hasAnyValue(Items[current, "hwinfo", "driver"]:"")){
+ if(haskey(request_firmware, Items[current, "hwinfo", "driver"]:"")) need =
true;
+ } else{
+ foreach(map driver, Items[current, "hwinfo", "drivers"]:[], {
+ if(haskey(request_firmware, driver["modules", 0,0]:"")) {
+ y2milestone("driver %1 needs firmware", driver["modules", 0,0]:"");
+ need = true;
+ }
+ });
+ }
+ y2milestone("item %1 needs firmware:%2", current, need);
+ return need;
+}
+
+global string GetFirmwareForCurrentItem(){
+ string kernel_module="";
+ if (hasAnyValue(Items[current, "hwinfo", "driver"]:"")){
+ if(haskey(request_firmware, Items[current, "hwinfo", "driver"]:""))
kernel_module=Items[current, "hwinfo", "driver"]:"";
+ } else{
+ foreach(map driver, Items[current, "hwinfo", "drivers"]:[], {
+ if(haskey(request_firmware, driver["modules", 0,0]:"")) {
+ kernel_module = driver["modules", 0,0]:"";
+ break;
+ }
+ });
+ }
+ string firmware = request_firmware[kernel_module]:"";
+ y2milestone("driver %1 needs firmware %2", kernel_module, firmware);
+
+ return firmware;
+}
+
global list BuildLanOverview() {
list<string> overview=[];
list<string> links=[];
@@ -521,9 +555,19 @@
if (!hasAnyValue(Items[key, "hwinfo", "dev_name"]:"") && size(Items[key,
"hwinfo"]:$[])>0)
rich = rich + _("<p>Unable to configure the network card
because the kernel device (eth0, wlan0) is not present. This is mostly caused
by missing firmware (for wlan devices). See dmesg output for details.</p>");
else if (hasAnyValue(Items[key, "ifcfg"]:"") ) rich = rich + HTML::List
(bullets);
- else rich = rich + _("<p>The device is not configured. Press
<b>Edit</b>
+ else {
+ rich = rich + _("<p>The device is not configured. Press
<b>Edit</b>
to configure.</p>
");
+ integer curr=current;
+ current=key;
+ if(needFirmwareCurrentItem()){
+ string fw = GetFirmwareForCurrentItem();
+ rich = rich+ sformat("%1 : %2",
+ _("Needed firmware"), (fw!="") ? fw :
_("unknown"));
+ }
+ current=curr;
+ }


Items[key, "table_descr"] = $[
@@ -1531,39 +1575,6 @@
Items[current, "udev", "driver"] = driver;
}

-global boolean needFirmwareCurrentItem(){
- boolean need = false;
- if (hasAnyValue(getCurrentItem()["hwinfo", "driver"]:"")){
- if(haskey(request_firmware, getCurrentItem()["hwinfo", "driver"]:"")) need =
true;
- } else{
- foreach(map driver, getCurrentItem()["hwinfo", "drivers"]:[], {
- if(haskey(request_firmware, driver["modules", 0,0]:"")) {
- y2milestone("driver %1 needs firmware", driver["modules", 0,0]:"");
- need = true;
- }
- });
- }
- y2milestone("item %1 needs firmware:%2", current, need);
- return need;
-}
-
-global string GetFirmwareForCurrentItem(){
- string kernel_module="";
- if (hasAnyValue(getCurrentItem()["hwinfo", "driver"]:"")){
- if(haskey(request_firmware, getCurrentItem()["hwinfo", "driver"]:""))
kernel_module=getCurrentItem()["hwinfo", "driver"]:"";
- } else{
- foreach(map driver, getCurrentItem()["hwinfo", "drivers"]:[], {
- if(haskey(request_firmware, driver["modules", 0,0]:"")) {
- kernel_module = driver["modules", 0,0]:"";
- break;
- }
- });
- }
- string firmware = request_firmware[kernel_module]:"";
- y2milestone("driver %1 needs firmware %2", kernel_module, firmware);
- return firmware;
-}
-
global boolean enableCurrentEditButton(){
if (needFirmwareCurrentItem()) return true;
if (!hasAnyValue(LanItems::getCurrentItem()["hwinfo", "dev_name"]:"") &&
size(LanItems::getCurrentItem()["hwinfo"]:$[])>0) return false;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/yast2-network-2.17.27/src/modules/Lan.ycp
new/yast2-network-2.17.31/src/modules/Lan.ycp
--- old/yast2-network-2.17.27/src/modules/Lan.ycp 2008-09-18
11:44:39.000000000 +0200
+++ new/yast2-network-2.17.31/src/modules/Lan.ycp 2008-09-19
14:44:37.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Network card data
* Authors: Michal Svec <msvec@xxxxxxx>
*
- * $Id: Lan.ycp 51122 2008-09-12 13:37:48Z mzugec $
+ * $Id: Lan.ycp 51318 2008-09-19 12:44:36Z mzugec $
*
* Representation of the configuration of network cards.
* Input and output routines.
@@ -1170,7 +1170,19 @@
* @return true if any DHCP device is configured
*/
global define boolean AnyDHCPDevice() {
- return size(union(NetworkInterfaces::Locate("BOOTPROTO", "dhcp"),
NetworkInterfaces::Locate("BOOTPROTO", "dhcp+autoip"))) > 0;
+ // return true if there is at least one device with dhcp4, dhcp6, dhcp or
dhcp+autoip
+ return size(
+ union(
+ union(
+ NetworkInterfaces::Locate("BOOTPROTO", "dhcp4"),
+ NetworkInterfaces::Locate("BOOTPROTO", "dhcp6")
+ ),
+ union(
+ NetworkInterfaces::Locate("BOOTPROTO", "dhcp"),
+ NetworkInterfaces::Locate("BOOTPROTO", "dhcp+autoip")
+ )
+ )
+ ) > 0;
}


diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/yast2-network-2.17.27/src/modules/Modem.ycp
new/yast2-network-2.17.31/src/modules/Modem.ycp
--- old/yast2-network-2.17.27/src/modules/Modem.ycp 2008-04-04
16:27:51.000000000 +0200
+++ new/yast2-network-2.17.31/src/modules/Modem.ycp 2008-09-22
11:21:24.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Modem data
* Authors: Michal Svec <msvec@xxxxxxx>
*
- * $Id: Modem.ycp 46109 2008-04-04 14:02:03Z mzugec $
+ * $Id: Modem.ycp 51351 2008-09-22 09:21:23Z mzugec $
*
* Representation of the configuration of modem.
* Input and output routines.
@@ -22,6 +22,7 @@
import "Routing";
import "Service";
import "Summary";
+import "Message";
import "SuSEFirewall4Network";

include "network/complex.ycp";
@@ -239,7 +240,8 @@

/* Setup SL modem */
if(contains(Requires, "smartlink-softmodem")) {
- PackageSystem::CheckAndInstallPackages(Requires);
+ if(!PackageSystem::CheckAndInstallPackages(Requires))
+ Popup::Error(sformat("%1 :
smartlink-softmodem",Message::CannotContinueWithoutPackagesInstalled()));
y2milestone("Setting up smartlink-softmodem ...");

Service::Stop("slmodemd");
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore --exclude Makefile.in --exclude configure --exclude
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh
old/yast2-network-2.17.27/VERSION new/yast2-network-2.17.31/VERSION
--- old/yast2-network-2.17.27/VERSION 2008-09-18 11:45:42.000000000 +0200
+++ new/yast2-network-2.17.31/VERSION 2008-09-22 14:05:58.000000000 +0200
@@ -1 +1 @@
-2.17.27
+2.17.31


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >