Hello community,
here is the log from the commit of package yast2-core
checked in at Wed Sep 24 17:47:14 CEST 2008.
--------
--- yast2-core/yast2-core.changes 2008-09-10 16:07:12.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-core/yast2-core.changes 2008-09-18 10:18:49.841529000 +0200
@@ -1,0 +2,6 @@
+Wed Sep 17 15:49:42 CEST 2008 - visnov@suse.cz
+
+- Warn to log if using non-standard place for loading modules
+- 2.17.12
+
+-------------------------------------------------------------------
Old:
----
yast2-core-2.17.10.tar.bz2
New:
----
yast2-core-2.17.12.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-core.spec ++++++
--- /var/tmp/diff_new_pack.DH3315/_old 2008-09-24 17:47:04.000000000 +0200
+++ /var/tmp/diff_new_pack.DH3315/_new 2008-09-24 17:47:04.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-core (Version 2.17.10)
+# spec file for package yast2-core (Version 2.17.12)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-core
-Version: 2.17.10
-Release: 6
+Version: 2.17.12
+Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-core-2.17.10.tar.bz2
+Source0: yast2-core-2.17.12.tar.bz2
Prefix: /usr
# obviously
BuildRequires: gcc-c++
@@ -95,7 +95,7 @@
Stanislav Visnovsky
%prep
-%setup -n yast2-core-2.17.10
+%setup -n yast2-core-2.17.12
%build
%{prefix}/bin/y2tool y2autoconf
@@ -177,8 +177,10 @@
%doc %{prefix}/share/doc/packages/yast2-core
%doc %{_datadir}/doc/yastdoc
/usr/share/YaST2/data/devtools/bin/generateYCPWrappers
-
%changelog
+* Wed Sep 17 2008 visnov@suse.cz
+- Warn to log if using non-standard place for loading modules
+- 2.17.12
* Tue Sep 09 2008 visnov@suse.cz
- Added y2useritem and y2usernote builtins for user-level
action log (Fate #100386)
++++++ yast2-core-2.17.10.tar.bz2 -> yast2-core-2.17.12.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.17.10/configure new/yast2-core-2.17.12/configure
--- old/yast2-core-2.17.10/configure 2008-09-04 12:54:00.000000000 +0200
+++ new/yast2-core-2.17.12/configure 2008-09-17 15:51:22.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-core 2.17.9.
+# Generated by GNU Autoconf 2.61 for yast2-core 2.17.12.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -728,8 +728,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-core'
PACKAGE_TARNAME='yast2-core'
-PACKAGE_VERSION='2.17.9'
-PACKAGE_STRING='yast2-core 2.17.9'
+PACKAGE_VERSION='2.17.12'
+PACKAGE_STRING='yast2-core 2.17.12'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1472,7 +1472,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-core 2.17.9 to adapt to many kinds of systems.
+\`configure' configures yast2-core 2.17.12 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1543,7 +1543,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-core 2.17.9:";;
+ short | recursive ) echo "Configuration of yast2-core 2.17.12:";;
esac
cat <<\_ACEOF
@@ -1660,7 +1660,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-core configure 2.17.9
+yast2-core configure 2.17.12
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1674,7 +1674,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-core $as_me 2.17.9, which was
+It was created by yast2-core $as_me 2.17.12, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
@@ -2495,7 +2495,7 @@
# Define the identity of the package.
PACKAGE='yast2-core'
- VERSION='2.17.9'
+ VERSION='2.17.12'
cat >>confdefs.h <<_ACEOF
@@ -2723,7 +2723,7 @@
-VERSION="2.17.9"
+VERSION="2.17.12"
RPMNAME="yast2-core"
MAINTAINER="Martin Vidner "
@@ -24383,7 +24383,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-core $as_me 2.17.9, which was
+This file was extended by yast2-core $as_me 2.17.12, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -24436,7 +24436,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-core config.status 2.17.9
+yast2-core config.status 2.17.12
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-core-2.17.10/configure.in new/yast2-core-2.17.12/configure.in
--- old/yast2-core-2.17.10/configure.in 2008-09-04 12:53:43.000000000 +0200
+++ new/yast2-core-2.17.12/configure.in 2008-09-17 15:50:58.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-core, 2.17.9, http://bugs.opensuse.org/, yast2-core)
+AC_INIT(yast2-core, 2.17.12, http://bugs.opensuse.org/, yast2-core)
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.9"
+VERSION="2.17.12"
RPMNAME="yast2-core"
MAINTAINER="Martin Vidner "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.17.10/libycp/src/include/ycp/pathsearch.h new/yast2-core-2.17.12/libycp/src/include/ycp/pathsearch.h
--- old/yast2-core-2.17.10/libycp/src/include/ycp/pathsearch.h 2007-06-25 11:19:15.000000000 +0200
+++ new/yast2-core-2.17.12/libycp/src/include/ycp/pathsearch.h 2008-09-17 16:17:05.000000000 +0200
@@ -97,8 +97,10 @@
*/
static string completeFilename (const string& fname);
-private:
+protected:
+ static bool searchPrefixWarn;
+private:
static int defaultComponentLevel ();
};
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.17.10/libycp/src/pathsearch.cc new/yast2-core-2.17.12/libycp/src/pathsearch.cc
--- old/yast2-core-2.17.10/libycp/src/pathsearch.cc 2007-11-26 12:48:41.000000000 +0100
+++ new/yast2-core-2.17.12/libycp/src/pathsearch.cc 2008-09-17 16:46:57.000000000 +0200
@@ -48,6 +48,7 @@
static const int NUM_LEVELS = sizeof (paths) / sizeof (paths[0]);
+bool Y2PathSearch::searchPrefixWarn = true;
int
Y2PathSearch::numberOfComponentLevels ()
@@ -178,6 +179,11 @@
pathname = completeFilename (pathname + filename);
if (access (pathname.c_str(), mode) == 0)
{
+ // FIXME: this check is different for clients and for modules - see find
+ if( searchPrefixWarn && i != NUM_LEVELS-1 )
+ {
+ y2warning( "Using special search prefix '%s' for '%s'",searchPath (GENERIC, i).c_str(), pathname.c_str() );
+ }
return pathname;
}
}
@@ -278,6 +284,8 @@
const char *home = getenv ("HOME");
const char *y2dir = getenv ("Y2DIR");
+ searchPrefixWarn = (getenv ("Y2SILENTSEARCH") == NULL);
+
addPath (kind, string (YAST2DIR) + suffix);
if (home)
{
@@ -329,6 +337,10 @@
if (access (pathname.c_str(), R_OK) == 0)
{
y2debug ("... success");
+ // FIXME: this check is different for clients and for modules - see findy2
+ if( searchPrefixWarn && *i != kindList.back () ) {
+ y2warning( "Using special search prefix '%s' for '%s'", i->c_str(), pathname.c_str() );
+ }
return pathname;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.17.10/libycp/testsuite/runtest.sh new/yast2-core-2.17.12/libycp/testsuite/runtest.sh
--- old/yast2-core-2.17.10/libycp/testsuite/runtest.sh 2007-06-25 11:19:26.000000000 +0200
+++ new/yast2-core-2.17.12/libycp/testsuite/runtest.sh 2008-09-17 16:32:05.000000000 +0200
@@ -5,6 +5,7 @@
unset Y2DEBUGGER
export EF_ALLOW_MALLOC_0=1
+export Y2SILENTSEARCH=1
(./runycp -l - -I tests/Include -M tests/Module $1 >$2) 2>&1 | fgrep -v 'Electric Fence' | fgrep -v " <0> " | grep -v "^$" | sed 's/^....-..-.. ..:..:.. [^)]*) //g' > $3
exit 0
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.17.10/VERSION new/yast2-core-2.17.12/VERSION
--- old/yast2-core-2.17.10/VERSION 2008-09-09 14:21:42.000000000 +0200
+++ new/yast2-core-2.17.12/VERSION 2008-09-17 15:50:18.000000000 +0200
@@ -1 +1 @@
-2.17.10
+2.17.12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org