Hello community,
here is the log from the commit of package yast2-core for openSUSE:Factory
checked in at Tue Jun 2 12:29:30 CEST 2009.
--------
--- yast2-core/yast2-core.changes 2009-05-04 19:33:20.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-core/yast2-core.changes 2009-06-01 09:20:12.000000000 +0200
@@ -1,0 +2,18 @@
+Mon Jun 1 08:54:18 CEST 2009 - mvidner@suse.cz
+
+- Fixed char* constness for glibc-2.10.
+- 2.18.11
+
+-------------------------------------------------------------------
+Thu May 14 15:01:49 CEST 2009 - lslezak@suse.cz
+
+- DBus service - fixed DBus object to Yast name space conversion
+ in autoimport code ('/' -> '::'), replace all occurrences
+
+-------------------------------------------------------------------
+Thu May 7 15:46:48 CEST 2009 - mvidner@suse.cz
+
+- Y2ProgramComponent: close fds>2 before exec
+ to make external agents more robust (bnc#501758).
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-core-2.18.10.tar.bz2
New:
----
yast2-core-2.18.11.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-core.spec ++++++
--- /var/tmp/diff_new_pack.n24111/_old 2009-06-02 12:28:32.000000000 +0200
+++ /var/tmp/diff_new_pack.n24111/_new 2009-06-02 12:28:32.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-core (Version 2.18.10)
+# spec file for package yast2-core (Version 2.18.11)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-core
-Version: 2.18.10
+Version: 2.18.11
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-core-2.18.10.tar.bz2
+Source0: yast2-core-2.18.11.tar.bz2
Prefix: /usr
# obviously
BuildRequires: gcc-c++
@@ -95,7 +95,7 @@
Stanislav Visnovsky
%prep
-%setup -n yast2-core-2.18.10
+%setup -n yast2-core-2.18.11
%build
%{prefix}/bin/y2tool y2autoconf
@@ -190,6 +190,15 @@
%doc %{_datadir}/doc/yastdoc
/usr/share/YaST2/data/devtools/bin/generateYCPWrappers
%changelog
+* Mon Jun 01 2009 mvidner@suse.cz
+- Fixed char* constness for glibc-2.10.
+- 2.18.11
+* Thu May 14 2009 lslezak@suse.cz
+- DBus service - fixed DBus object to Yast name space conversion
+ in autoimport code ('/' -> '::'), replace all occurrences
+* Thu May 07 2009 mvidner@suse.cz
+- Y2ProgramComponent: close fds>2 before exec
+ to make external agents more robust (bnc#501758).
* Mon May 04 2009 lslezak@suse.cz
- SCR DBus service - fixed DBus object registration, fixed creating
the PolicyKit action ID
++++++ yast2-core-2.18.10.tar.bz2 -> yast2-core-2.18.11.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.10/aclocal.m4 new/yast2-core-2.18.11/aclocal.m4
--- old/yast2-core-2.18.10/aclocal.m4 2009-05-04 18:56:13.000000000 +0200
+++ new/yast2-core-2.18.11/aclocal.m4 2009-06-01 08:58:00.000000000 +0200
@@ -19,6 +19,162 @@
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.])])
+# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
+#
+# Copyright © 2004 Scott James Remnant .
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# PKG_PROG_PKG_CONFIG([MIN-VERSION])
+# ----------------------------------
+AC_DEFUN([PKG_PROG_PKG_CONFIG],
+[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
+m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+ AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
+fi
+if test -n "$PKG_CONFIG"; then
+ _pkg_min_version=m4_default([$1], [0.9.0])
+ AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ PKG_CONFIG=""
+ fi
+
+fi[]dnl
+])# PKG_PROG_PKG_CONFIG
+
+# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+#
+# Check to see whether a particular set of modules exists. Similar
+# to PKG_CHECK_MODULES(), but does not set variables or print errors.
+#
+#
+# Similar to PKG_CHECK_MODULES, make sure that the first instance of
+# this or PKG_CHECK_MODULES is called, or make sure to call
+# PKG_CHECK_EXISTS manually
+# --------------------------------------------------------------
+AC_DEFUN([PKG_CHECK_EXISTS],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+if test -n "$PKG_CONFIG" && \
+ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
+ m4_ifval([$2], [$2], [:])
+m4_ifvaln([$3], [else
+ $3])dnl
+fi])
+
+
+# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
+# ---------------------------------------------
+m4_define([_PKG_CONFIG],
+[if test -n "$$1"; then
+ pkg_cv_[]$1="$$1"
+ elif test -n "$PKG_CONFIG"; then
+ PKG_CHECK_EXISTS([$3],
+ [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
+ [pkg_failed=yes])
+ else
+ pkg_failed=untried
+fi[]dnl
+])# _PKG_CONFIG
+
+# _PKG_SHORT_ERRORS_SUPPORTED
+# -----------------------------
+AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi[]dnl
+])# _PKG_SHORT_ERRORS_SUPPORTED
+
+
+# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
+# [ACTION-IF-NOT-FOUND])
+#
+#
+# Note that if there is a possibility the first call to
+# PKG_CHECK_MODULES might not happen, you should be sure to include an
+# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
+#
+#
+# --------------------------------------------------------------
+AC_DEFUN([PKG_CHECK_MODULES],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
+AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
+
+pkg_failed=no
+AC_MSG_CHECKING([for $1])
+
+_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
+_PKG_CONFIG([$1][_LIBS], [libs], [$2])
+
+m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
+and $1[]_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.])
+
+if test $pkg_failed = yes; then
+ _PKG_SHORT_ERRORS_SUPPORTED
+ if test $_pkg_short_errors_supported = yes; then
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
+ else
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
+
+ ifelse([$4], , [AC_MSG_ERROR(dnl
+[Package requirements ($2) were not met:
+
+$$1_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+_PKG_TEXT
+])],
+ [AC_MSG_RESULT([no])
+ $4])
+elif test $pkg_failed = untried; then
+ ifelse([$4], , [AC_MSG_FAILURE(dnl
+[The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+_PKG_TEXT
+
+To get pkg-config, see http://pkg-config.freedesktop.org/.])],
+ [$4])
+else
+ $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
+ $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
+ AC_MSG_RESULT([yes])
+ ifelse([$3], , :, [$3])
+fi[]dnl
+])# PKG_CHECK_MODULES
+
# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
@@ -904,162 +1060,6 @@
AC_SUBST([am__untar])
]) # _AM_PROG_TAR
-# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
-#
-# Copyright © 2004 Scott James Remnant .
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-# PKG_PROG_PKG_CONFIG([MIN-VERSION])
-# ----------------------------------
-AC_DEFUN([PKG_PROG_PKG_CONFIG],
-[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
-m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
-AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
-if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
- AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
-fi
-if test -n "$PKG_CONFIG"; then
- _pkg_min_version=m4_default([$1], [0.9.0])
- AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
- if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
- AC_MSG_RESULT([yes])
- else
- AC_MSG_RESULT([no])
- PKG_CONFIG=""
- fi
-
-fi[]dnl
-])# PKG_PROG_PKG_CONFIG
-
-# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
-#
-# Check to see whether a particular set of modules exists. Similar
-# to PKG_CHECK_MODULES(), but does not set variables or print errors.
-#
-#
-# Similar to PKG_CHECK_MODULES, make sure that the first instance of
-# this or PKG_CHECK_MODULES is called, or make sure to call
-# PKG_CHECK_EXISTS manually
-# --------------------------------------------------------------
-AC_DEFUN([PKG_CHECK_EXISTS],
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
-if test -n "$PKG_CONFIG" && \
- AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
- m4_ifval([$2], [$2], [:])
-m4_ifvaln([$3], [else
- $3])dnl
-fi])
-
-
-# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
-# ---------------------------------------------
-m4_define([_PKG_CONFIG],
-[if test -n "$$1"; then
- pkg_cv_[]$1="$$1"
- elif test -n "$PKG_CONFIG"; then
- PKG_CHECK_EXISTS([$3],
- [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
- [pkg_failed=yes])
- else
- pkg_failed=untried
-fi[]dnl
-])# _PKG_CONFIG
-
-# _PKG_SHORT_ERRORS_SUPPORTED
-# -----------------------------
-AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
-else
- _pkg_short_errors_supported=no
-fi[]dnl
-])# _PKG_SHORT_ERRORS_SUPPORTED
-
-
-# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
-# [ACTION-IF-NOT-FOUND])
-#
-#
-# Note that if there is a possibility the first call to
-# PKG_CHECK_MODULES might not happen, you should be sure to include an
-# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
-#
-#
-# --------------------------------------------------------------
-AC_DEFUN([PKG_CHECK_MODULES],
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
-AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
-AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
-
-pkg_failed=no
-AC_MSG_CHECKING([for $1])
-
-_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
-_PKG_CONFIG([$1][_LIBS], [libs], [$2])
-
-m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
-and $1[]_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.])
-
-if test $pkg_failed = yes; then
- _PKG_SHORT_ERRORS_SUPPORTED
- if test $_pkg_short_errors_supported = yes; then
- $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
- else
- $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
-
- ifelse([$4], , [AC_MSG_ERROR(dnl
-[Package requirements ($2) were not met:
-
-$$1_PKG_ERRORS
-
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
-installed software in a non-standard prefix.
-
-_PKG_TEXT
-])],
- [AC_MSG_RESULT([no])
- $4])
-elif test $pkg_failed = untried; then
- ifelse([$4], , [AC_MSG_FAILURE(dnl
-[The pkg-config script could not be found or is too old. Make sure it
-is in your PATH or set the PKG_CONFIG environment variable to the full
-path to pkg-config.
-
-_PKG_TEXT
-
-To get pkg-config, see http://pkg-config.freedesktop.org/.])],
- [$4])
-else
- $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
- $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
- AC_MSG_RESULT([yes])
- ifelse([$3], , :, [$3])
-fi[]dnl
-])# PKG_CHECK_MODULES
-
dnl check for docbook -*- autoconf -*-
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.10/agent-modules/testsuite/tests/dir.scr new/yast2-core-2.18.11/agent-modules/testsuite/tests/dir.scr
--- old/yast2-core-2.18.10/agent-modules/testsuite/tests/dir.scr 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-core-2.18.11/agent-modules/testsuite/tests/dir.scr 2009-04-27 13:31:18.000000000 +0200
@@ -0,0 +1,6 @@
+.
+
+`ag_modules(
+ `ModulesConf("tests/dir.in.test")
+)
+
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.10/agent-modules/testsuite/tests/missing.scr new/yast2-core-2.18.11/agent-modules/testsuite/tests/missing.scr
--- old/yast2-core-2.18.10/agent-modules/testsuite/tests/missing.scr 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-core-2.18.11/agent-modules/testsuite/tests/missing.scr 2009-04-27 13:31:17.000000000 +0200
@@ -0,0 +1,6 @@
+.
+
+`ag_modules(
+ `ModulesConf("tests/missing.in.test")
+)
+
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.10/agent-modules/testsuite/tests/read1.scr new/yast2-core-2.18.11/agent-modules/testsuite/tests/read1.scr
--- old/yast2-core-2.18.10/agent-modules/testsuite/tests/read1.scr 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-core-2.18.11/agent-modules/testsuite/tests/read1.scr 2009-04-27 13:31:17.000000000 +0200
@@ -0,0 +1,6 @@
+.
+
+`ag_modules(
+ `ModulesConf("tests/read1.in.test")
+)
+
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.10/agent-modules/testsuite/tests/write1.scr new/yast2-core-2.18.11/agent-modules/testsuite/tests/write1.scr
--- old/yast2-core-2.18.10/agent-modules/testsuite/tests/write1.scr 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-core-2.18.11/agent-modules/testsuite/tests/write1.scr 2009-04-27 13:31:19.000000000 +0200
@@ -0,0 +1,6 @@
+.
+
+`ag_modules(
+ `ModulesConf("tests/write1.in.test")
+)
+
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.10/agent-modules/testsuite/tests/write2.scr new/yast2-core-2.18.11/agent-modules/testsuite/tests/write2.scr
--- old/yast2-core-2.18.10/agent-modules/testsuite/tests/write2.scr 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-core-2.18.11/agent-modules/testsuite/tests/write2.scr 2009-04-27 13:31:10.000000000 +0200
@@ -0,0 +1,6 @@
+.
+
+`ag_modules(
+ `ModulesConf("tests/write2.in.test")
+)
+
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.10/agent-modules/testsuite/tests/write3.scr new/yast2-core-2.18.11/agent-modules/testsuite/tests/write3.scr
--- old/yast2-core-2.18.10/agent-modules/testsuite/tests/write3.scr 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-core-2.18.11/agent-modules/testsuite/tests/write3.scr 2009-04-27 13:31:18.000000000 +0200
@@ -0,0 +1,6 @@
+.
+
+`ag_modules(
+ `ModulesConf("tests/write3.in.test")
+)
+
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.10/agents-perl/doc/ycp-pm-pod.html new/yast2-core-2.18.11/agents-perl/doc/ycp-pm-pod.html
--- old/yast2-core-2.18.10/agents-perl/doc/ycp-pm-pod.html 2009-04-10 10:03:42.000000000 +0200
+++ new/yast2-core-2.18.11/agents-perl/doc/ycp-pm-pod.html 2009-01-26 14:04:49.000000000 +0100
@@ -4,7 +4,7 @@
<head>
<title>ycp - a Perl module for parsing and writing the YaST2 Communication Protocol</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
-<link rev="made" href="mailto:feedback@suse.de" />
+<link rev="made" href="mailto:root@localhost" />
</head>
<body style="background-color: white">
@@ -104,36 +104,31 @@
<p>A PerlYCPValue cannot represent a term but only a term is allowed
to initialize an agent in a .scr file. Therefore <a href="#parseterm">ParseTerm</a> is provided.</p>
<dl>
-<dt><strong><a name="string_integer_boolean" class="item">string, integer, boolean</a></strong>
+<dt><strong><a name="string_integer_boolean" class="item">string, integer, boolean</a></strong></dt>
<dd>
<p>Stored as a scalar.</p>
</dd>
-</li>
-<dt><strong><a name="list" class="item">list</a></strong>
+<dt><strong><a name="list" class="item">list</a></strong></dt>
<dd>
<p>Stored as a reference to a list of PerlYCPValues.</p>
</dd>
-</li>
-<dt><strong><a name="map" class="item">map</a></strong>
+<dt><strong><a name="map" class="item">map</a></strong></dt>
<dd>
<p>Stored as a reference to a map of PerlYCPValues.</p>
</dd>
-</li>
-<dt><strong><a name="path" class="item">path</a></strong>
+<dt><strong><a name="path" class="item">path</a></strong></dt>
<dd>
<p>Stored as a reference to a string (starting with a "." as expected).</p>
</dd>
-</li>
-<dt><strong><a name="nil" class="item">nil (void)</a></strong>
+<dt><strong><a name="nil" class="item">nil (void)</a></strong></dt>
<dd>
<p>Stored as an undef.</p>
</dd>
-</li>
</dl>
<p>
</p>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.10/configure new/yast2-core-2.18.11/configure
--- old/yast2-core-2.18.10/configure 2009-05-04 18:56:16.000000000 +0200
+++ new/yast2-core-2.18.11/configure 2009-06-01 08:58:04.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63 for yast2-core 2.18.10.
+# Generated by GNU Autoconf 2.63 for yast2-core 2.18.11.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -745,8 +745,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-core'
PACKAGE_TARNAME='yast2-core'
-PACKAGE_VERSION='2.18.10'
-PACKAGE_STRING='yast2-core 2.18.10'
+PACKAGE_VERSION='2.18.11'
+PACKAGE_STRING='yast2-core 2.18.11'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1567,7 +1567,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.18.10 to adapt to many kinds of systems.
+\`configure' configures yast2-core 2.18.11 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1638,7 +1638,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-core 2.18.10:";;
+ short | recursive ) echo "Configuration of yast2-core 2.18.11:";;
esac
cat <<\_ACEOF
@@ -1755,7 +1755,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-core configure 2.18.10
+yast2-core configure 2.18.11
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1769,7 +1769,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.18.10, which was
+It was created by yast2-core $as_me 2.18.11, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
@@ -2616,7 +2616,7 @@
# Define the identity of the package.
PACKAGE='yast2-core'
- VERSION='2.18.10'
+ VERSION='2.18.11'
cat >>confdefs.h <<_ACEOF
@@ -2840,7 +2840,7 @@
-VERSION="2.18.10"
+VERSION="2.18.11"
RPMNAME="yast2-core"
MAINTAINER="Martin Vidner "
@@ -19983,7 +19983,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.18.10, which was
+This file was extended by yast2-core $as_me 2.18.11, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -20046,7 +20046,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-yast2-core config.status 2.18.10
+yast2-core config.status 2.18.11
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.10/configure.in new/yast2-core-2.18.11/configure.in
--- old/yast2-core-2.18.10/configure.in 2009-05-04 18:55:59.000000000 +0200
+++ new/yast2-core-2.18.11/configure.in 2009-06-01 08:57:45.000000000 +0200
@@ -1,9 +1,9 @@
dnl configure.in for yast2-core
dnl
-dnl -- This file is generated by y2autoconf 2.17.6 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.18.3 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-core, 2.18.10, http://bugs.opensuse.org/, yast2-core)
+AC_INIT(yast2-core, 2.18.11, 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.18.10"
+VERSION="2.18.11"
RPMNAME="yast2-core"
MAINTAINER="Martin Vidner "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.10/dbus/namespace_service/src/DBusModulesServer.cc new/yast2-core-2.18.11/dbus/namespace_service/src/DBusModulesServer.cc
--- old/yast2-core-2.18.10/dbus/namespace_service/src/DBusModulesServer.cc 2009-04-24 08:29:57.000000000 +0200
+++ new/yast2-core-2.18.11/dbus/namespace_service/src/DBusModulesServer.cc 2009-06-01 07:20:55.000000000 +0200
@@ -704,12 +704,14 @@
y2debug("Found object prefix " YAST_DBUS_OBJ_PREFIX " in request");
std::string req_namespace(req_path, sizeof(YAST_DBUS_OBJ_PREFIX));
- // hack: replace __ in request to :: to make a valid namespace
+ // hack: replace / in request to :: to make a valid namespace
// DBus object name cannot contain ::
- std::string::size_type pos = req_namespace.find("__");
- if (pos != std::string::npos)
+ std::string::size_type pos = req_namespace.find("/");
+
+ while (pos != std::string::npos)
{
- req_namespace.replace(pos, 2, "::");
+ req_namespace.erase(pos, 1).insert(pos, "::");
+ pos = req_namespace.find("/");
}
y2milestone("Autoimporting namespace %s...", req_namespace.c_str());
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.10/liby2/src/Y2CCProgram.cc new/yast2-core-2.18.11/liby2/src/Y2CCProgram.cc
--- old/yast2-core-2.18.10/liby2/src/Y2CCProgram.cc 2009-04-10 09:49:51.000000000 +0200
+++ new/yast2-core-2.18.11/liby2/src/Y2CCProgram.cc 2009-05-05 16:58:24.000000000 +0200
@@ -80,7 +80,7 @@
{
// Check at least if it is executable (for others) and
// if it is a regular file.
- if (S_ISREG (buf.st_mode) && (buf.st_mode & S_IXOTH == S_IXOTH)) {
+ if (S_ISREG (buf.st_mode) && ((buf.st_mode & S_IXOTH) == S_IXOTH)) {
if (!root.empty ())
file = file.substr (root.length ());
return new Y2ProgramComponent (root, file.c_str (), name,
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.10/liby2/src/Y2ProgramComponent.cc new/yast2-core-2.18.11/liby2/src/Y2ProgramComponent.cc
--- old/yast2-core-2.18.10/liby2/src/Y2ProgramComponent.cc 2009-04-28 17:39:17.000000000 +0200
+++ new/yast2-core-2.18.11/liby2/src/Y2ProgramComponent.cc 2009-05-07 15:30:28.000000000 +0200
@@ -305,6 +305,11 @@
chdir ("/");
}
+ // close all filedescriptors above stderr, bnc#501758
+ for (int i = getdtablesize () - 1; i > 2; --i) {
+ close (i);
+ }
+
execv (bin_file.c_str (), argv); // execute program
// this code is only reached if exec failed
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.10/liby2util-r/src/y2log.cc new/yast2-core-2.18.11/liby2util-r/src/y2log.cc
--- old/yast2-core-2.18.10/liby2util-r/src/y2log.cc 2009-04-28 17:39:17.000000000 +0200
+++ new/yast2-core-2.18.11/liby2util-r/src/y2log.cc 2009-06-01 08:54:40.000000000 +0200
@@ -10,7 +10,7 @@
* Arvin Schnell
* Martin Vidner
*
- * $Id: y2log.cc 56965 2009-04-24 11:24:09Z mvidner $
+ * $Id: y2log.cc 57367 2009-06-01 06:54:39Z mvidner $
*/
#include
@@ -199,10 +199,10 @@
/* Prepare the file, strip rooted path */
if(*file == '/') // rooted path
{
- char *slashptr = strrchr (file, '/');
+ const char *slashptr = strrchr (file, '/');
if (slashptr > file) // last slash is second slash
{
- char *slashptr2 = slashptr-1;
+ const char *slashptr2 = slashptr-1;
// find last but one slash
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.10/libycp/src/StaticDeclaration.cc new/yast2-core-2.18.11/libycp/src/StaticDeclaration.cc
--- old/yast2-core-2.18.10/libycp/src/StaticDeclaration.cc 2009-04-10 09:49:52.000000000 +0200
+++ new/yast2-core-2.18.11/libycp/src/StaticDeclaration.cc 2009-06-01 08:10:05.000000000 +0200
@@ -282,7 +282,8 @@
#endif
// split the name by the namespace
- char *next = strstr (name, "::");
+ char *next = const_cast(strstr (name, "::"));
+ // cast away const because of the (temporary) '\0' below
#if DO_DEBUG
y2debug( "Next is %p", next );
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.10/Makefile.am new/yast2-core-2.18.11/Makefile.am
--- old/yast2-core-2.18.10/Makefile.am 2009-05-04 18:55:59.000000000 +0200
+++ new/yast2-core-2.18.11/Makefile.am 2009-06-01 08:57:46.000000000 +0200
@@ -32,7 +32,7 @@
# less strict; prefer bzip2
AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip
-# where devtools install m4 snippets
+# where devtools instal m4 snippets
# argh, executed literally
#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal
ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.10/Makefile.in new/yast2-core-2.18.11/Makefile.in
--- old/yast2-core-2.18.10/Makefile.in 2009-05-04 18:56:34.000000000 +0200
+++ new/yast2-core-2.18.11/Makefile.in 2009-06-01 08:58:24.000000000 +0200
@@ -302,7 +302,7 @@
# less strict; prefer bzip2
AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip
-# where devtools install m4 snippets
+# where devtools instal m4 snippets
# argh, executed literally
#ACLOCAL_AMFLAGS = -I $(Y2DEVTOOLS_PREFIX)/share/aclocal
ACLOCAL_AMFLAGS = -I . -I `if test -d ./devtools/admin; then echo ./devtools/admin; else pkg-config --print-errors --variable=datadir yast2-devtools; fi`/aclocal
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-core-2.18.10/VERSION new/yast2-core-2.18.11/VERSION
--- old/yast2-core-2.18.10/VERSION 2009-05-04 18:32:25.000000000 +0200
+++ new/yast2-core-2.18.11/VERSION 2009-06-01 08:52:39.000000000 +0200
@@ -1 +1 @@
-2.18.10
+2.18.11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org