Hello community,
here is the log from the commit of package yast2-network
checked in at Mon Aug 4 14:17:30 CEST 2008.
--------
--- yast2-network/yast2-network.changes 2008-07-28 11:07:11.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-network/yast2-network.changes 2008-08-04 13:26:18.864625000 +0200
@@ -1,0 +2,7 @@
+Mon Aug 4 13:22:38 CEST 2008 - mzugec@suse.cz
+
+- improved Lan::Packages() function
+- added STARTMODE=onboot for tun/tap devices (FaTE#302184)
+- 2.17.14
+
+-------------------------------------------------------------------
Old:
----
yast2-network-2.17.13.tar.bz2
New:
----
yast2-network-2.17.14.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-network.spec ++++++
--- /var/tmp/diff_new_pack.w16198/_old 2008-08-04 14:16:17.000000000 +0200
+++ /var/tmp/diff_new_pack.w16198/_new 2008-08-04 14:16:17.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-network (Version 2.17.13)
+# spec file for package yast2-network (Version 2.17.14)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,12 +12,12 @@
Name: yast2-network
-Version: 2.17.13
+Version: 2.17.14
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-network-2.17.13.tar.bz2
+Source0: yast2-network-2.17.14.tar.bz2
Prefix: /usr
# should be required by devtools
BuildRequires: perl-XML-Writer pkgconfig rpm
@@ -71,7 +71,7 @@
Michal Svec
%prep
-%setup -n yast2-network-2.17.13
+%setup -n yast2-network-2.17.14
%build
%{prefix}/bin/y2tool y2autoconf
@@ -135,6 +135,10 @@
%exclude %{prefix}/share/doc/packages/yast2-network/COPYING
%exclude %{prefix}/share/doc/packages/yast2-network/README
%changelog
+* Mon Aug 04 2008 mzugec@suse.cz
+- improved Lan::Packages() function
+- added STARTMODE=onboot for tun/tap devices (FaTE#302184)
+- 2.17.14
* Mon Jul 28 2008 mzugec@suse.cz
- use all devices for InternetTest, not only eth (bnc#400632)
- 2.17.13
++++++ yast2-network-2.17.13.tar.bz2 -> yast2-network-2.17.14.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.17.13/configure new/yast2-network-2.17.14/configure
--- old/yast2-network-2.17.13/configure 2008-07-28 10:51:17.000000000 +0200
+++ new/yast2-network-2.17.14/configure 2008-08-04 13:21:38.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.12.
+# Generated by GNU Autoconf 2.61 for yast2-network 2.17.13.
#
# 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.12'
-PACKAGE_STRING='yast2-network 2.17.12'
+PACKAGE_VERSION='2.17.13'
+PACKAGE_STRING='yast2-network 2.17.13'
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.12 to adapt to many kinds of systems.
+\`configure' configures yast2-network 2.17.13 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.12:";;
+ short | recursive ) echo "Configuration of yast2-network 2.17.13:";;
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.12
+yast2-network configure 2.17.13
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.12, which was
+It was created by yast2-network $as_me 2.17.13, 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.12'
+ VERSION='2.17.13'
cat >>confdefs.h <<_ACEOF
@@ -2409,7 +2409,7 @@
-VERSION="2.17.12"
+VERSION="2.17.13"
RPMNAME="yast2-network"
MAINTAINER="Michal Zugec "
@@ -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.12, which was
+This file was extended by yast2-network $as_me 2.17.13, 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.12
+yast2-network config.status 2.17.13
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.13/configure.in new/yast2-network-2.17.14/configure.in
--- old/yast2-network-2.17.13/configure.in 2008-07-28 10:51:12.000000000 +0200
+++ new/yast2-network-2.17.14/configure.in 2008-08-04 13:21:32.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.12, http://bugs.opensuse.org/, yast2-network)
+AC_INIT(yast2-network, 2.17.13, 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.12"
+VERSION="2.17.13"
RPMNAME="yast2-network"
MAINTAINER="Michal Zugec "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.17.13/src/lan/address.ycp new/yast2-network-2.17.14/src/lan/address.ycp
--- old/yast2-network-2.17.13/src/lan/address.ycp 2008-07-25 16:20:15.000000000 +0200
+++ new/yast2-network-2.17.14/src/lan/address.ycp 2008-08-04 13:24:52.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Network card adresss configuration dialogs
* Authors: Michal Svec
*
- * $Id: address.ycp 49420 2008-07-25 14:20:14Z mzugec $
+ * $Id: address.ycp 49627 2008-08-04 11:24:52Z mzugec $
*/
{
@@ -732,6 +732,7 @@
{
settings = $[
"BOOTPROTO": "static",
+ "STARTMODE": "onboot",
"TUNNEL" : LanItems::type,
"TUNNEL_SET_PERSISTENT" : LanItems::tunnel_set_persistent ? "yes" : "no",
"TUNNEL_SET_OWNER" : LanItems::tunnel_set_owner,
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.17.13/src/modules/LanItems.ycp new/yast2-network-2.17.14/src/modules/LanItems.ycp
--- old/yast2-network-2.17.13/src/modules/LanItems.ycp 2008-07-25 16:06:48.000000000 +0200
+++ new/yast2-network-2.17.14/src/modules/LanItems.ycp 2008-08-04 12:06:18.000000000 +0200
@@ -1203,6 +1203,7 @@
if (contains(["tun", "tap"], type)){
newdev=$[
"BOOTPROTO" : "static",
+ "STARTMODE" : "onboot",
"TUNNEL" : type,
"TUNNEL_SET_PERSISTENT" : tunnel_set_persistent ? "yes" : "no",
"TUNNEL_SET_OWNER" : tunnel_set_owner,
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.17.13/src/modules/Lan.ycp new/yast2-network-2.17.14/src/modules/Lan.ycp
--- old/yast2-network-2.17.13/src/modules/Lan.ycp 2008-07-22 12:56:18.000000000 +0200
+++ new/yast2-network-2.17.14/src/modules/Lan.ycp 2008-08-04 13:24:52.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Network card data
* Authors: Michal Svec
*
- * $Id: Lan.ycp 49315 2008-07-22 10:47:00Z mzugec $
+ * $Id: Lan.ycp 49627 2008-08-04 11:24:52Z mzugec $
*
* Representation of the configuration of network cards.
* Input and output routines.
@@ -1123,29 +1123,42 @@
if (!PackageSystem::Installed("smpppd")) pkgs = add (pkgs, "smpppd");
}
*/
- if (NetworkInterfaces::Locate ("STARTMODE", "ifplugd") != [])
- {
- if (!PackageSystem::Installed("ifplugd")) pkgs = add (pkgs, "ifplugd");
- }
- // #suse49880
- if (NetworkInterfaces::List ("wlan") != [])
- {
- if (!PackageSystem::Installed("wireless-tools")) pkgs = add (pkgs, "wireless-tools");
- }
- if (NetworkInterfaces::List ("vlan") != [])
- {
- if (!PackageSystem::Installed("vlan")) pkgs = add (pkgs, "vlan");
- }
- if (NetworkInterfaces::List ("br") != [])
- {
- if (!PackageSystem::Installed("bridge-utils")) pkgs = add (pkgs, "bridge-utils");
- }
- // #47809
- if (NetworkInterfaces::Locate ("WIRELESS_AUTH_MODE", "psk") != [] ||
- NetworkInterfaces::Locate ("WIRELESS_AUTH_MODE", "eap") != [])
- {
- if (!PackageSystem::Installed("wpa_supplicant")) pkgs = add (pkgs, "wpa_supplicant");
- }
+ map required = $[
+ "types":$[
+ "wlan" : "wireless-tools",
+ "vlan" : "vlan",
+ "br" : "bridge-utils",
+ "tun" : "tunctl",
+ "tap" : "tunctl"
+ ],
+ "options":$[
+ "STARTMODE":$[
+ "ifplugd" : "ifplugd"
+ ],
+ "WIRELESS_AUTH_MODE":$[
+ "psk" : "wpa_supplicant",
+ "eap" : "wpa_supplicant"
+ ]
+ ]
+ ];
+
+ foreach(string type, (list<string>)Map::Keys(required["types"]:$[]), {
+ string package=required["types", type]:"";
+ if (size( NetworkInterfaces::List(type) ) > 0)
+ y2milestone("Network interface type %1 requires package %2", type, package);
+ if (!PackageSystem::Installed( package )) pkgs = add (pkgs, package);
+ });
+
+
+ foreach(string type, (list<string>)Map::Keys(required["options"]:$[]), {
+ foreach(string option, (list<string>)Map::Keys(required["options", type]:$[]), {
+ string package=required["options", type, option]:"";
+ if (NetworkInterfaces::Locate (type, option) != [])
+ y2milestone("Network interface with options %1, %2 requires package %3", type, option, package);
+ if (!PackageSystem::Installed(package)) pkgs = add (pkgs, package);
+ });
+ });
+
if (NetworkService::IsManaged ())
{
if (!PackageSystem::Installed("NetworkManager")) pkgs = add (pkgs, "NetworkManager");
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.17.13/VERSION new/yast2-network-2.17.14/VERSION
--- old/yast2-network-2.17.13/VERSION 2008-07-28 10:52:48.000000000 +0200
+++ new/yast2-network-2.17.14/VERSION 2008-08-04 13:22:34.000000000 +0200
@@ -1 +1 @@
-2.17.13
+2.17.14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org