Hello community,
here is the log from the commit of package yast2
checked in at Mon Feb 19 23:27:25 CET 2007.
--------
--- yast2/yast2.changes 2007-02-16 13:03:39.000000000 +0100
+++ yast2/yast2.changes 2007-02-19 16:09:50.799331000 +0100
@@ -1,0 +2,7 @@
+Mon Feb 19 14:04:18 CET 2007 - lslezak@suse.cz
+
+- NetworkPopup - fixed NFS browsing (the same problem was
+ in #71064), display scan results in a simple popup
+- 2.15.11
+
+-------------------------------------------------------------------
Old:
----
yast2-2.15.10.tar.bz2
New:
----
yast2-2.15.11.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2.spec ++++++
--- /var/tmp/diff_new_pack.er4119/_old 2007-02-19 23:26:47.000000000 +0100
+++ /var/tmp/diff_new_pack.er4119/_new 2007-02-19 23:26:47.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2 (Version 2.15.10)
+# spec file for package yast2 (Version 2.15.11)
#
# 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
-Version: 2.15.10
+Version: 2.15.11
Release: 1
License: GNU General Public License (GPL)
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-2.15.10.tar.bz2
+Source0: yast2-2.15.11.tar.bz2
prefix: /usr
BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-pkg-bindings yast2-testsuite
# UI::RunInTerminal builtin
@@ -97,7 +97,7 @@
Steffen Winterfeldt
%prep
-%setup -n yast2-2.15.10
+%setup -n yast2-2.15.11
%build
%{prefix}/bin/y2tool y2autoconf
@@ -202,6 +202,10 @@
%doc %{prefix}/share/doc/packages/yast2/wizard
%changelog
+* Mon Feb 19 2007 - lslezak@suse.cz
+- NetworkPopup - fixed NFS browsing (the same problem was
+ in #71064), display scan results in a simple popup
+- 2.15.11
* Fri Feb 16 2007 - lslezak@suse.cz
- added String::FormatFilename() and URL::FormatUrl() - functions
for removing the middle part of an URL/file name (#221163)
++++++ yast2-2.15.10.tar.bz2 -> yast2-2.15.11.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.10/VERSION new/yast2-2.15.11/VERSION
--- old/yast2-2.15.10/VERSION 2007-02-16 12:50:30.000000000 +0100
+++ new/yast2-2.15.11/VERSION 2007-02-19 16:00:19.000000000 +0100
@@ -1 +1 @@
-2.15.10
+2.15.11
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.10/configure new/yast2-2.15.11/configure
--- old/yast2-2.15.10/configure 2007-02-16 13:02:33.000000000 +0100
+++ new/yast2-2.15.11/configure 2007-02-19 16:02:14.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.60 for yast2 2.15.10.
+# Generated by GNU Autoconf 2.60 for yast2 2.15.11.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -559,8 +559,8 @@
# Identity of this package.
PACKAGE_NAME='yast2'
PACKAGE_TARNAME='yast2'
-PACKAGE_VERSION='2.15.10'
-PACKAGE_STRING='yast2 2.15.10'
+PACKAGE_VERSION='2.15.11'
+PACKAGE_STRING='yast2 2.15.11'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1183,7 +1183,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 2.15.10 to adapt to many kinds of systems.
+\`configure' configures yast2 2.15.11 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1254,7 +1254,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2 2.15.10:";;
+ short | recursive ) echo "Configuration of yast2 2.15.11:";;
esac
cat <<\_ACEOF
@@ -1332,7 +1332,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2 configure 2.15.10
+yast2 configure 2.15.11
generated by GNU Autoconf 2.60
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1346,7 +1346,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 $as_me 2.15.10, which was
+It was created by yast2 $as_me 2.15.11, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ $0 $@
@@ -2147,7 +2147,7 @@
# Define the identity of the package.
PACKAGE='yast2'
- VERSION='2.15.10'
+ VERSION='2.15.11'
cat >>confdefs.h <<_ACEOF
@@ -2374,7 +2374,7 @@
-VERSION="2.15.10"
+VERSION="2.15.11"
RPMNAME="yast2"
MAINTAINER="Jiri Srain "
@@ -3366,7 +3366,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2 $as_me 2.15.10, which was
+This file was extended by yast2 $as_me 2.15.11, which was
generated by GNU Autoconf 2.60. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3409,7 +3409,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2 config.status 2.15.10
+yast2 config.status 2.15.11
configured by $0, generated by GNU Autoconf 2.60,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.10/configure.in new/yast2-2.15.11/configure.in
--- old/yast2-2.15.10/configure.in 2007-02-16 13:02:26.000000000 +0100
+++ new/yast2-2.15.11/configure.in 2007-02-19 16:02:07.000000000 +0100
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.14.0 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2, 2.15.10, http://bugs.opensuse.org/, yast2)
+AC_INIT(yast2, 2.15.11, http://bugs.opensuse.org/, yast2)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -17,7 +17,7 @@
AM_INIT_AUTOMAKE(tar-ustar) dnl searches for some needed programs
dnl Important YaST2 variables
-VERSION="2.15.10"
+VERSION="2.15.11"
RPMNAME="yast2"
MAINTAINER="Jiri Srain "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.10/library/modules/Version.ycp new/yast2-2.15.11/library/modules/Version.ycp
--- old/yast2-2.15.10/library/modules/Version.ycp 2007-02-16 13:02:51.000000000 +0100
+++ new/yast2-2.15.11/library/modules/Version.ycp 2007-02-19 16:02:33.000000000 +0100
@@ -20,7 +20,7 @@
/**
* Version of the yast2 package
*/
-global string yast2 = "2.15.10";
+global string yast2 = "2.15.11";
/* EOF */
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.10/library/network/src/NetworkPopup.ycp new/yast2-2.15.11/library/network/src/NetworkPopup.ycp
--- old/yast2-2.15.10/library/network/src/NetworkPopup.ycp 2007-01-22 08:35:56.000000000 +0100
+++ new/yast2-2.15.11/library/network/src/NetworkPopup.ycp 2007-02-19 14:07:24.000000000 +0100
@@ -9,7 +9,7 @@
* Martin Vidner
* Ladislav Slezak
*
- * $Id: NetworkPopup.ycp 35490 2007-01-18 14:22:40Z kmachalkova $
+ * $Id: NetworkPopup.ycp 36259 2007-02-19 13:07:23Z lslezak $
*
* Network browsing dialogs - all hosts, NFS servers, exports of the NFS server
*
@@ -95,6 +95,52 @@
}
/**
+ * Let the user choose one of a list of items
+ * @param title selectionbox title
+ * @param items a list of items
+ * @param selected preselected a value in the list
+ * @return one item or nil
+ */
+ define string ChooseItemSimple (string title, list<string> items, string selected) ``{
+ string item = nil;
+
+ list Items = maplist(string i, items, ``{
+ return `item(`id(i), i, i == selected);
+ }
+ );
+
+ UI::OpenDialog (
+ `VBox (
+ `HSpacing (40),
+ `HBox (
+ `SelectionBox (`id (`items), title, Items),
+ `VSpacing(10)
+ ),
+ `HBox (
+ `PushButton (`id(`ok), `opt(`default, `key_F10),
+ Label::OKButton()),
+ `PushButton (`id(`cancel), `opt(`key_F9),
+ Label::CancelButton())
+ )
+ ));
+ UI::SetFocus (`id (`items));
+ symbol ret = nil;
+ do
+ {
+ ret = (symbol)UI::UserInput();
+ }
+ while (ret != `cancel && ret != `ok);
+
+ if (ret == `ok)
+ {
+ item = (string)UI::QueryWidget (`id (`items), `CurrentItem);
+ }
+ UI::CloseDialog();
+
+ return item;
+ }
+
+ /**
* Give me NFS server name on the local network
*
* display dialog with all local NFS servers
@@ -107,7 +153,11 @@
{
// label message
UI::OpenDialog(`Label(_("Scanning for hosts on this LAN...")));
- found_nfs_servers = (list<string>)SCR::Read(.net.hostnames.rpc, "nfs");
+ // #71064
+ // this works also if ICMP broadcasts are ignored
+ string cmd = "/usr/sbin/rpcinfo -b mountd 1 | cut -d ' ' -f 2 | sort -u";
+ map out = (map) SCR::Execute (.target.bash_output, cmd);
+ found_nfs_servers = filter (string s, splitstring (out["stdout"]:"", "\n"), ``( s != ""));
UI::CloseDialog();
if (found_nfs_servers == nil)
@@ -122,7 +172,7 @@
}
// selection box label
- string ret = ChooseItem(_("&NFS Servers"), found_nfs_servers, selected);
+ string ret = ChooseItemSimple(_("&NFS Servers"), found_nfs_servers, selected);
return ret;
}
@@ -148,7 +198,7 @@
}
// selection box label
- string ret = ChooseItem(_("Re&mote Hosts"), found_hosts, selected);
+ string ret = ChooseItemSimple(_("Re&mote Hosts"), found_hosts, selected);
return ret;
}
@@ -169,7 +219,7 @@
}
// selection box label
- string ret = ChooseItem(_("&Exported Directories"), dirs, selected);
+ string ret = ChooseItemSimple(_("&Exported Directories"), dirs, selected);
return ret;
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org