Hello community,
here is the log from the commit of package yast2-support
checked in at Wed Nov 5 18:23:14 CET 2008.
--------
--- yast2-support/yast2-support.changes 2008-10-29 14:24:26.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-support/yast2-support.changes 2008-11-05 16:02:42.578685000 +0100
@@ -1,0 +2,13 @@
+Wed Nov 5 14:15:44 CET 2008 - jsrain@suse.cz
+
+- fixed typos (bnc #441790)
+- 2.17.13
+
+-------------------------------------------------------------------
+Wed Oct 29 16:55:40 CET 2008 - jsrain@suse.cz
+
+- issue a warning before starting browser as root
+- fixed passing root password to supportconfig if YaST is run as
+ non-root
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-support-2.17.12.tar.bz2
New:
----
yast2-support-2.17.13.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-support.spec ++++++
--- /var/tmp/diff_new_pack.h16077/_old 2008-11-05 18:23:09.000000000 +0100
+++ /var/tmp/diff_new_pack.h16077/_new 2008-11-05 18:23:09.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-support (Version 2.17.12)
+# spec file for package yast2-support (Version 2.17.13)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-support
-Version: 2.17.12
+Version: 2.17.13
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-support-2.17.12.tar.bz2
+Source0: yast2-support-2.17.13.tar.bz2
Prefix: /usr
Requires: yast2
BuildRequires: perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-testsuite
@@ -38,7 +38,7 @@
%prep
-%setup -n yast2-support-2.17.12
+%setup -n yast2-support-2.17.13
%build
%{prefix}/bin/y2tool y2autoconf
@@ -72,6 +72,13 @@
/usr/share/YaST2/scrconf/*.scr
%doc %{prefix}/share/doc/packages/yast2-support
%changelog
+* Wed Nov 05 2008 jsrain@suse.cz
+- fixed typos (bnc #441790)
+- 2.17.13
+* Wed Oct 29 2008 jsrain@suse.cz
+- issue a warning before starting browser as root
+- fixed passing root password to supportconfig if YaST is run as
+ non-root
* Wed Oct 29 2008 mzugec@suse.de
- fixed layout
- 2.17.12
++++++ yast2-support-2.17.12.tar.bz2 -> yast2-support-2.17.13.tar.bz2 ++++++
++++ 3942 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-support-2.17.12/configure.in new/yast2-support-2.17.13/configure.in
--- old/yast2-support-2.17.12/configure.in 2008-10-29 14:02:51.000000000 +0100
+++ new/yast2-support-2.17.13/configure.in 2008-11-05 16:02:11.000000000 +0100
@@ -1,9 +1,9 @@
dnl configure.in for yast2-support
dnl
-dnl -- This file is generated by y2autoconf 2.17.0 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.17.6 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-support, 2.17.11, http://bugs.opensuse.org/, yast2-support)
+AC_INIT(yast2-support, 2.17.13, http://bugs.opensuse.org/, yast2-support)
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.11"
+VERSION="2.17.13"
RPMNAME="yast2-support"
MAINTAINER="Michal Zugec "
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-support-2.17.12/src/dialogs.ycp new/yast2-support-2.17.13/src/dialogs.ycp
--- old/yast2-support-2.17.12/src/dialogs.ycp 2008-10-29 14:02:23.000000000 +0100
+++ new/yast2-support-2.17.13/src/dialogs.ycp 2008-11-05 14:14:02.000000000 +0100
@@ -118,8 +118,17 @@
if (Support::browser==nil) Popup::Error(_("Couldn't find any installed browser."));
else{
string url="http://www.novell.com/center/eservice";
- y2milestone("Executing browser %1 with URL %2", Support::browser, url);
- SCR::Execute(.target.bash, sformat("su $(env|grep LOGNAME|cut -d'=' -f2-) -c \"%1 %2\"", Support::browser, url));
+ if (0 == SCR::Execute (.target.bash, "env|grep LOGNAME|cut -d'=' -f2- | grep root"))
+ {
+ if (Popup::ContinueCancel (sformat (_("YaST will run a web browser as superuser. Consider
+running it as a non-provileged user and entering URL
+%1.
+Start web browser?"), url)))
+ {
+ y2milestone("Executing browser %1 with URL %2", Support::browser, url);
+ SCR::Execute(.target.bash, sformat("su $(env|grep LOGNAME|cut -d'=' -f2-) -c \"%1 %2\"", Support::browser, url));
+ }
+ }
}
}
}
@@ -187,12 +196,14 @@
if (! Support::AskForRootPwd())
return `back;
integer id = Support::WhoAmI();
- SCR::Write (.target.string, Support::pwd_pipe, Support::root_pw + "\n");
- command = sformat("cat %2 | su -c '%1'", command, Support::pwd_pipe);
+ SCR::Write (.target.string, Support::pwd_file, Support::root_pw + "\n");
+ command = sformat("cat %2 | su -c '%1'", command, Support::pwd_file);
}
y2milestone("executing %1", command);
map output = (map)SCR::Execute(.target.bash_output, command);
y2milestone("output %1", output);
+ if (Support::WhoAmI() != 0)
+ SCR::Write (.target.string, Support::pwd_file, "");
if (output["exit"]:-1 != 0) Report::Error (sformat("%1 : %2",_("Cannot write settings"), output));
else{
command = sformat("find \"%1\" -type f -name \"%2*\"|tr -d '\n'", Support::log_files["tmp_dir"]:"", Support::log_files["log_dir"]:"");
@@ -251,7 +262,7 @@
string caption = _("Supportconfig Parameters Configuration");
list<term> items = [
-// `item(`id(`use_defaults), _("Use Defaults (ignore /etc/supportconfig.conf)"), Support::use_defaults),
+// `item(`id(`use_defaults), _("Use Defaults (ignore /etc/supportconfig.conf)"), Support::use_defaults),
`item(`id(`full_listening), _("Create a full file listing from '/'"), Support::full_listening),
`item(`id(`exclude_disk_scan), _("Exclude detailed disk info and scans"), Support::exclude_disk_scan),
`item(`id(`search_for_edir), _("Search root filesystem for eDirectory instances"), Support::search_for_edir),
@@ -265,7 +276,7 @@
`Left(
`RadioButtonGroup(`id(`rb),
`VBox(
- `Left( `RadioButton(`id(`use_defaults), `opt(`notify), _("Use Defaults (ignore /etc/supportconfig.conf)")) ),
+ `Left( `RadioButton(`id(`use_defaults), `opt(`notify), _("Use Defaults (ignore /etc/supportconfig.conf)")) ),
`Left( `RadioButton(`id(`full_logging), `opt(`notify), _("Activates all support functions")) ),
`Left( `RadioButton(`id(`minimal_logs), `opt(`notify), _("Only gather a minimum amount of info")) ),
`Left( `VBox(
@@ -525,8 +536,8 @@
if (! Support::AskForRootPwd())
return `back;
integer id = Support::WhoAmI();
- SCR::Write (.target.string, Support::pwd_pipe, Support::root_pw + "\n");
- cmd = sformat("cat %4 | su -c 'supportconfig %1 -t %2 && chown -R %3 %2'", Support::GetParameterList(), Support::log_files["tmp_dir"]:"", id, Support::pwd_pipe);
+ SCR::Write (.target.string, Support::pwd_file, Support::root_pw + "\n");
+ cmd = sformat("cat %4 | su -c 'supportconfig %1 -t %2 && chown -R %3 %2'", Support::GetParameterList(), Support::log_files["tmp_dir"]:"", id, Support::pwd_file);
}
symbol ret = nil;
integer pid = (integer) SCR::Execute(.process.start_shell, cmd);
@@ -549,6 +560,8 @@
break;
}
}
+ if (Support::WhoAmI() != 0)
+ SCR::Write (.target.string, Support::pwd_file, "");
while(ret!=`back && ret!=`abort && ret!=`next){
ret = (symbol)UI::UserInput();
}
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-support-2.17.12/src/helps.ycp new/yast2-support-2.17.13/src/helps.ycp
--- old/yast2-support-2.17.12/src/helps.ycp 2008-10-29 12:42:49.000000000 +0100
+++ new/yast2-support-2.17.13/src/helps.ycp 2008-11-05 14:15:34.000000000 +0100
@@ -93,7 +93,7 @@
/* Configure1 dialog help 1/3 */
"support_params" : _("<p><b><big>Supportconfig Options</big></b><br>
Select an option to override the defaults. You can use the default settings,
-gather the most data or only gather a minimum amount of data.")
+gather the most data or only gather a minimum amount of data.")
/* Configure1 dialog help 2/3 */
+ _("<p><b><big>Expert Settings</big></b><br>
Select <b>Use Custom</b> and the <b>Expert Settings</b> button
@@ -109,7 +109,7 @@
Select or deselect each of the data sets you would like to include in the supportconfig tarball.</p>"),
/* Contact dialog help 1/4 */
- "contact" : _("<p><big><b>Contact Information</b></big>