Hello community,
here is the log from the commit of package yast2-core
checked in at Mon Apr 3 18:45:37 CEST 2006.
--------
--- yast2-core/yast2-core.changes 2006-03-23 15:57:49.000000000 +0100
+++ yast2-core/yast2-core.changes 2006-04-03 14:22:26.000000000 +0200
@@ -1,0 +2,7 @@
+Mon Apr 3 14:22:06 CEST 2006 - mvidner@suse.cz
+
+- Do not use a random path if an invalid one is given in Dir(.modinfo)
+ (#154171).
+- 2.13.20
+
+-------------------------------------------------------------------
Old:
----
yast2-core-2.13.19.tar.bz2
New:
----
yast2-core-2.13.20.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-core.spec ++++++
--- /var/tmp/diff_new_pack.Qi1MJv/_old 2006-04-03 18:41:26.000000000 +0200
+++ /var/tmp/diff_new_pack.Qi1MJv/_new 2006-04-03 18:41:26.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-core (Version 2.13.19)
+# spec file for package yast2-core (Version 2.13.20)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild
Name: yast2-core
-Version: 2.13.19
+Version: 2.13.20
Release: 1
License: GPL
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-core-2.13.19.tar.bz2
+Source0: yast2-core-2.13.20.tar.bz2
prefix: /usr
BuildRequires: ElectricFence blocxx-devel curl-devel dejagnu docbook-xsl-stylesheets doxygen gcc-c++ libxcrypt-devel libxslt liby2util-devel openslp-devel perl-XML-Writer popt-devel sgml-skel udev yast2-devtools
Summary: YaST2 - Core Libraries
@@ -93,7 +93,7 @@
Stanislav Visnovsky
%prep
-%setup -n yast2-core-2.13.19
+%setup -n yast2-core-2.13.20
%build
%{prefix}/bin/y2tool y2autoconf
@@ -164,6 +164,10 @@
/usr/share/YaST2/data/devtools/bin/generateYCPWrappers
%changelog -n yast2-core
+* Mon Apr 03 2006 - mvidner@suse.cz
+- Do not use a random path if an invalid one is given in Dir(.modinfo)
+ (#154171).
+- 2.13.20
* Thu Mar 23 2006 - sh@suse.de
- V 2.13.19
- Enable starting up pkg selector in inst sources view: Use
++++++ yast2-core-2.13.19.tar.bz2 -> yast2-core-2.13.20.tar.bz2 ++++++
++++ 22096 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-core-2.13.19/VERSION new/yast2-core-2.13.20/VERSION
--- old/yast2-core-2.13.19/VERSION 2006-03-23 12:06:27.000000000 +0100
+++ new/yast2-core-2.13.20/VERSION 2006-04-03 14:21:03.000000000 +0200
@@ -1 +1 @@
-2.13.19
+2.13.20
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-core-2.13.19/agents-perl/ag_modinfo new/yast2-core-2.13.20/agents-perl/ag_modinfo
--- old/yast2-core-2.13.19/agents-perl/ag_modinfo 2005-12-13 14:38:48.000000000 +0100
+++ new/yast2-core-2.13.20/agents-perl/ag_modinfo 2006-04-03 14:22:29.000000000 +0200
@@ -5,7 +5,7 @@
# Agent for reading modinfo of modules in the directory
# /lib/modules/`uname -r`/
#
-# $Id: ag_modinfo 19975 2004-10-27 07:56:53Z lslezak $
+# $Id: ag_modinfo 29612 2006-04-03 12:22:26Z mvidner $
use lib "/usr/lib/YaST2/agents_non_y2";
use ycp;
@@ -34,7 +34,7 @@
if ( ycpCommandIsDir )
{
my @list = ();
- my $dirs = qx(cd $path 2> /dev/null ; find -type d 2> /dev/null);
+ my $dirs = qx(cd $path 2> /dev/null && find -type d 2> /dev/null);
foreach my $dir (split ("\n", $dirs)) {
my $list_mod = qx(cd $path/$dir 2> /dev/null; ls *.ko 2> /dev/null);
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-core-2.13.19/configure.in new/yast2-core-2.13.20/configure.in
--- old/yast2-core-2.13.19/configure.in 2006-03-20 17:49:41.000000000 +0100
+++ new/yast2-core-2.13.20/configure.in 2006-04-03 14:31:34.000000000 +0200
@@ -1,9 +1,9 @@
dnl configure.in for yast2-core
dnl
-dnl -- This file is generated by y2autoconf - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.13.16 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-core, 2.13.18, http://www.suse.de/feedback, yast2-core)
+AC_INIT(yast2-core, 2.13.20, http://www.suse.de/feedback, yast2-core)
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.13.18"
+VERSION="2.13.20"
RPMNAME="yast2-core"
MAINTAINER="Stanislav Visnovsky "
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-core-2.13.19/libyui/doc/examples/Layout-Stretchable2.ycp new/yast2-core-2.13.20/libyui/doc/examples/Layout-Stretchable2.ycp
--- old/yast2-core-2.13.19/libyui/doc/examples/Layout-Stretchable2.ycp 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-core-2.13.20/libyui/doc/examples/Layout-Stretchable2.ycp 2005-12-13 14:46:32.000000000 +0100
@@ -0,0 +1,35 @@
+{
+ // Layout example:
+ //
+ // Build a dialog with three widgets without any weights.
+ //
+ // Each widget will get its "nice size", i.e. the size that makes
+ // the widget's contents fit into it.
+ //
+ // Upon resize the first and the last widgets will stretch, the
+ // center widget will retain its size.
+ //
+ // The stretchable widgets will get an equal share of the extra
+ // space in addition to their "nice size". They are not
+ // (generally) of equal size!
+ //
+
+ UI::OpenDialog(
+ `VBox (
+ `HBox(
+ `TextEntry( `opt(`hstretch, `default), "I am stretchable" ),
+ `TextEntry( "I am not" ),
+ `TextEntry( `opt(`hstretch ), "I am stretchable, too" )
+ ),
+ `HBox(
+ `PushButton( `opt(`hstretch, `default), "I am stretchable" ),
+ `PushButton( "I am not" ),
+ `PushButton( `opt(`hstretch ), "I am stretchable, too" )
+ )
+ )
+ );
+
+ UI::UserInput();
+ UI::CloseDialog();
+}
+
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-core-2.13.19/libyui/doc/examples/PackageSelector-10.1-stable.ycp new/yast2-core-2.13.20/libyui/doc/examples/PackageSelector-10.1-stable.ycp
--- old/yast2-core-2.13.19/libyui/doc/examples/PackageSelector-10.1-stable.ycp 2006-03-20 17:53:27.000000000 +0100
+++ new/yast2-core-2.13.20/libyui/doc/examples/PackageSelector-10.1-stable.ycp 1970-01-01 01:00:00.000000000 +0100
@@ -1,15 +0,0 @@
-// Package Selector example
-{
- Pkg::SourceCreate( "file:/mounts/dist/install/stable-x86/", "" );
-
- Pkg::TargetInit( "/", // installed system
- false ); // don't create a new RPM database
-
- UI::OpenDialog(`opt(`defaultsize),
- `PackageSelector(`id(`selector), "/dev/fd0" ) );
-
- any input = UI::RunPkgSelection(`id(`selector) );
- UI::CloseDialog();
-
- y2milestone( "Input: %1", input );
-}
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-core-2.13.19/libyui/doc/examples/PackageSelector2.ycp new/yast2-core-2.13.20/libyui/doc/examples/PackageSelector2.ycp
--- old/yast2-core-2.13.19/libyui/doc/examples/PackageSelector2.ycp 2006-03-10 17:10:23.000000000 +0100
+++ new/yast2-core-2.13.20/libyui/doc/examples/PackageSelector2.ycp 1970-01-01 01:00:00.000000000 +0100
@@ -1,15 +0,0 @@
-// Package Selector example
-{
- // Pkg::SourceCreate( "http://dist.suse.de/install/SLP/SUSE-10.0-RC4/CD1/", "" );
- Pkg::SourceCreate( "file:/srv/sles-10-i386/CD1/", "" );
- Pkg::SourceCreate( "http://armstrong.suse.de/download/Code/10/update/i386/", "/" );
- Pkg::TargetInit( "/", // installed system
- false ); // don't create a new RPM database
-
- UI::OpenDialog(`opt(`defaultsize),
- `PackageSelector(`id(`selector), "/dev/fd0" ) );
- any input = UI::RunPkgSelection(`id(`selector) );
- UI::CloseDialog();
-
- y2milestone( "Input: %1", input );
-}
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-core-2.13.19/libyui/doc/examples/PatternSelector-10.1-stable.ycp new/yast2-core-2.13.20/libyui/doc/examples/PatternSelector-10.1-stable.ycp
--- old/yast2-core-2.13.19/libyui/doc/examples/PatternSelector-10.1-stable.ycp 2006-03-20 13:58:24.000000000 +0100
+++ new/yast2-core-2.13.20/libyui/doc/examples/PatternSelector-10.1-stable.ycp 1970-01-01 01:00:00.000000000 +0100
@@ -1,86 +0,0 @@
-// Full-fledged pattern selection
-{
- textdomain "bogus";
-
- Pkg::SourceCreate( "file:/mounts/dist/install/stable-x86/", "" );
-
- void detailedSelection()
- {
- // Open empty dialog for instant feedback
-
- UI::OpenDialog(`opt(`defaultsize),
- `ReplacePoint(`id( `rep),
- `Label( "Reading package database..." )
- )
- );
-
- // This will take a while: Detailed package data are retrieved
- // while the package manager is initialized
- UI::ReplaceWidget(`rep, `PackageSelector(`id(`packages ), "/dev/fd0" ) );
-
- symbol input = (symbol) UI::RunPkgSelection(`id(`packages ) );
- y2milestone( "Package selector returned %1", input );
- UI::CloseDialog();
-
- }
-
-
-
- if ( ! UI::HasSpecialWidget(`PatternSelector ) )
- {
- detailedSelection(); // Fallback: Do detailed selection right away
- return;
- }
-
-
- UI::OpenDialog(`opt(`defaultsize ),
- `Wizard(`back, "",
- `cancel, "&Cancel",
- `ok, "&OK" ) );
-
- string help_text
- = _( "<p>"
- "The available software for this system is shown by category in the left "
- "column. To view a description for an item, select it in the list."
- "</p>" )
- + _( "<p>"
- "Change the status of items by clicking on their status icon "
- "or right-click on any icon for a context menu. "
- "With the context menu you can also change the status of all items."
- "</p>" )
- + _( "<p>"
- "<b>Details</b> opens the detailed software package selection "
- "where you can view and select individual software packages."
- "</p>" )
- + _( "<p>"
- "The <b>disk usage</b> display in the lower right corner shows the remaining disk space "
- "after all requested changes will have been performed. "
- "Please notice that hard disk partitions that are full or nearly full can degrade "
- "system performance and in some cases even cause serious problems. "
- "The system needs some available disk space to run properly."
- "</p>" );
-
- UI::WizardCommand(`SetDialogIcon( "/usr/share/YaST2/theme/SuSELinux/icons/22x22/apps/yast-software.png" ) );
- UI::WizardCommand(`SetDialogHeading( "Software Selection" ) );
- UI::WizardCommand(`SetHelpText( help_text ) );
-
- Pkg::TargetInit( "/", // installed system
- false ); // don't create a new RPM database
-
- UI::ReplaceWidget(`id(`contents), `PatternSelector(`id(`patterns ) ) );
-
-
- symbol button = nil;
-
- repeat
- {
- button = (symbol) UI::RunPkgSelection(`id(`patterns ) );
- y2milestone( "Pattern selector returned %1", button );
-
- if ( button == `details )
- detailedSelection();
-
- } until ( button == `cancel || button == `accept );
-
- UI::CloseDialog();
-}
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-core-2.13.19/libyui/doc/examples/bullshit.ycp new/yast2-core-2.13.20/libyui/doc/examples/bullshit.ycp
--- old/yast2-core-2.13.19/libyui/doc/examples/bullshit.ycp 2006-03-23 13:03:55.000000000 +0100
+++ new/yast2-core-2.13.20/libyui/doc/examples/bullshit.ycp 1970-01-01 01:00:00.000000000 +0100
@@ -1,17 +0,0 @@
-// Package Selector example
-{
- // Pkg::SourceCreate( "file:/srv/sles-10-i386/CD1/", "" );
- Pkg::SourceCreate( "file:/srv/10.1-i386/CD1/", "" );
- // Pkg::SourceCreate( "http://ftp.uni-erlangen.de/pub/mirrors/packman/suse/10.0/", "" );
- // Pkg::SourceCreate( "ftp://ftp.gwdg.de/pub/linux/misc/packman/suse/10.0/", "" );
- Pkg::TargetInit( "/", false ); // installed system
-
- UI::OpenDialog(`opt(`defaultsize),
- `PackageSelector(`id(`selector), `opt(`instSourcesMode),
- // `opt(`testMode),
- "/dev/fd0" ) );
- any input = UI::RunPkgSelection(`id(`selector) );
- UI::CloseDialog();
-
- y2milestone( "Input: %1", input );
-}
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-core-2.13.19/libyui/doc/examples/inst_registration.ycp new/yast2-core-2.13.20/libyui/doc/examples/inst_registration.ycp
--- old/yast2-core-2.13.19/libyui/doc/examples/inst_registration.ycp 2006-02-16 15:07:33.000000000 +0100
+++ new/yast2-core-2.13.20/libyui/doc/examples/inst_registration.ycp 1970-01-01 01:00:00.000000000 +0100
@@ -1,26 +0,0 @@
-// blub
-{
- string macro_file = "/tmp/registration.ycp";
-
- UI::RecordMacro( macro_file );
- UI::OpenDialog(`opt(`defaultsize),
- `Wizard( `back, "&Back",
- `abort, "&Abort",
- `next, "&Next" ) );
-
- term contents =
- `HVCenter(
- `VBox(
- `TextEntry(`id(`name), "Name:"),
- `TextEntry(`id(`company), "Company:"),
- `TextEntry(`id(`reg_key), "Registration Key:")
- )
- );
-
- UI::ReplaceWidget(`id(`contents), contents );
-
- UI::UserInput();
- UI::CloseDialog();
-
- UI::StopRecordMacro();
-}
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-core-2.13.19/libyui/doc/examples/registration-answer.ycp new/yast2-core-2.13.20/libyui/doc/examples/registration-answer.ycp
--- old/yast2-core-2.13.19/libyui/doc/examples/registration-answer.ycp 2006-02-16 14:02:48.000000000 +0100
+++ new/yast2-core-2.13.20/libyui/doc/examples/registration-answer.ycp 1970-01-01 01:00:00.000000000 +0100
@@ -1,27 +0,0 @@
-// YaST2 UI macro file generated by UI macro recorder
-//
-// Qt UI: Alt-Ctrl-Shift-M: start/stop Macro recorder
-// Alt-Ctrl-Shift-P: Play macro
-//
-// Each block will be executed just before the next UserInput().
-// 'return' before the closing brace ( '}' ) of each block relinquishes control
-// back to the YCP source.
-// Inside each block arbitrary YCP code can be added manually.
-
-{
- {
- // Dialog with YPushButton "OK"
- //
- // 2006-02-16 14:02:48
-
- UI::ChangeWidget( `id (`name), `Value, "Hundhammer" ); // YTextEntry "Name:"
- UI::ChangeWidget( `id (`company), `Value, "SuSE" ); // YTextEntry "Company:"
- UI::ChangeWidget( `id (`reg_key), `Value, "4711" ); // YTextEntry "Registration Key:"
-
- // UI::MakeScreenShot( "/tmp/yast2-0000" );
- UI::FakeUserInput();
-
- return;
- }
-
-}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...