Hello community,
here is the log from the commit of package yast2
checked in at Tue Jun 19 20:14:58 CEST 2007.
--------
--- yast2/yast2.changes 2007-06-12 18:09:22.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2/yast2.changes 2007-06-19 14:16:32.336485000 +0200
@@ -1,0 +2,27 @@
+Tue Jun 19 13:02:27 CEST 2007 - kmachalkova@suse.cz
+
+- Respect user's choice and never unset LANG (yast2-funcs)
+- Do not append .UTF-8 suffix to POSIX and C locale (/sbin/yast2)
+ (#285178)
+- 2.15.37
+
+-------------------------------------------------------------------
+Tue Jun 19 08:28:57 CEST 2007 - locilka@suse.cz
+
+- Allowing to go back in the installation workflow even if the
+ workflow has changed. The condition must be explicitly set in
+ the control file.
+
+-------------------------------------------------------------------
+Mon Jun 18 17:13:55 CEST 2007 - jsrain@suse.cz
+
+- check patch lenght before calling substring (#283146)
+
+-------------------------------------------------------------------
+Thu Jun 14 15:57:58 CEST 2007 - kmachalkova@suse.cz
+
+- Enable setting color theme of ncurses UI (Y2NCURSES_COLOR_THEME
+ variable added to sysconfig, exported by /sbin/yast2 if defined)
+ (FaTE #301893))
+
+-------------------------------------------------------------------
Old:
----
yast2-2.15.36.tar.bz2
New:
----
yast2-2.15.37.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2.spec ++++++
--- /var/tmp/diff_new_pack.i20781/_old 2007-06-19 20:09:38.000000000 +0200
+++ /var/tmp/diff_new_pack.i20781/_new 2007-06-19 20:09:38.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2 (Version 2.15.36)
+# spec file for package yast2 (Version 2.15.37)
#
# 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.36
+Version: 2.15.37
Release: 1
License: GNU General Public License (GPL)
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-2.15.36.tar.bz2
+Source0: yast2-2.15.37.tar.bz2
prefix: /usr
BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-perl-bindings yast2-pkg-bindings yast2-testsuite
# SCR::RegisterNewAgents()
@@ -101,7 +101,7 @@
Steffen Winterfeldt
%prep
-%setup -n yast2-2.15.36
+%setup -n yast2-2.15.37
%build
%{prefix}/bin/y2tool y2autoconf
@@ -206,6 +206,21 @@
%doc %{prefix}/share/doc/packages/yast2/wizard
%changelog
+* Tue Jun 19 2007 - kmachalkova@suse.cz
+- Respect user's choice and never unset LANG (yast2-funcs)
+- Do not append .UTF-8 suffix to POSIX and C locale (/sbin/yast2)
+ (#285178)
+- 2.15.37
+* Tue Jun 19 2007 - locilka@suse.cz
+- Allowing to go back in the installation workflow even if the
+ workflow has changed. The condition must be explicitly set in
+ the control file.
+* Mon Jun 18 2007 - jsrain@suse.cz
+- check patch lenght before calling substring (#283146)
+* Thu Jun 14 2007 - kmachalkova@suse.cz
+- Enable setting color theme of ncurses UI (Y2NCURSES_COLOR_THEME
+ variable added to sysconfig, exported by /sbin/yast2 if defined)
+ (FaTE #301893))
* Tue Jun 12 2007 - mzugec@suse.cz
- fixed CheckDomain function - allow "." character at the end
of domain name (suse.cz.)
++++++ yast2-2.15.36.tar.bz2 -> yast2-2.15.37.tar.bz2 ++++++
++++ 21971 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-2.15.36/configure.in new/yast2-2.15.37/configure.in
--- old/yast2-2.15.36/configure.in 2007-06-12 18:07:48.000000000 +0200
+++ new/yast2-2.15.37/configure.in 2007-05-21 15:54:06.000000000 +0200
@@ -1,9 +1,9 @@
dnl configure.in for yast2
dnl
-dnl -- This file is generated by y2autoconf 2.14.0 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.15.0 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2, 2.15.36, http://bugs.opensuse.org/, yast2)
+AC_INIT(yast2, 2.15.33, 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.36"
+VERSION="2.15.33"
RPMNAME="yast2"
MAINTAINER="Jiri Srain "
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-2.15.36/data/sysconfig.yast2 new/yast2-2.15.37/data/sysconfig.yast2
--- old/yast2-2.15.36/data/sysconfig.yast2 2007-06-01 08:52:56.000000000 +0200
+++ new/yast2-2.15.37/data/sysconfig.yast2 2007-06-14 13:48:22.000000000 +0200
@@ -21,3 +21,13 @@
# presence and adapt accordingly, falling back to
# qt rendering if gtk is not present
WANTED_GUI="auto"
+
+## Type: string(linux,xterm,rxvt,mono,braille)
+## Default: ""
+# Color theme for YaST ncurses UI
+# xterm: blue-white-red
+# linux: blue-white-yellow
+# rxvt: black-yellow-red
+# mono: white-black
+# braille: for visually impaired
+Y2NCURSES_COLOR_THEME=""
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-2.15.36/library/control/src/ProductControl.ycp new/yast2-2.15.37/library/control/src/ProductControl.ycp
--- old/yast2-2.15.36/library/control/src/ProductControl.ycp 2007-05-04 11:29:58.000000000 +0200
+++ new/yast2-2.15.37/library/control/src/ProductControl.ycp 2007-06-19 13:00:59.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Product Control routines
* Authors: Anas Nashif
*
- * $Id: ProductControl.ycp 37799 2007-05-03 12:24:10Z locilka $
+ * $Id: ProductControl.ycp 38515 2007-06-19 06:30:57Z locilka $
*/
{
textdomain "base";
@@ -865,10 +865,14 @@
boolean retranslate = step["retranslate"]:false;
string step_id = step["id"]:"";
- if (current_step <= minimum_step)
- {
- step["enable_back"] = "no";
- }
+ // Don't mark back button disabled when back button status
+ // is forced in the control file
+ if (step["enable_back"]:nil == nil) {
+ if (current_step <= minimum_step) {
+ step["enable_back"] = "no";
+ y2milestone ("Disabling back: %1 %2 %3", current_step, minimum_step, step["enable_back"]:nil);
+ }
+ }
boolean do_continue = false;
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-2.15.36/library/modules/Version.ycp new/yast2-2.15.37/library/modules/Version.ycp
--- old/yast2-2.15.36/library/modules/Version.ycp 2007-06-12 18:08:03.000000000 +0200
+++ new/yast2-2.15.37/library/modules/Version.ycp 2007-06-19 13:05:28.000000000 +0200
@@ -20,7 +20,7 @@
/**
* Version of the yast2 package
*/
-global string yast2 = "2.15.36";
+global string yast2 = "2.15.37";
/* EOF */
}
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-2.15.36/library/types/src/URL.ycp new/yast2-2.15.37/library/types/src/URL.ycp
--- old/yast2-2.15.36/library/types/src/URL.ycp 2007-03-12 09:51:38.000000000 +0100
+++ new/yast2-2.15.37/library/types/src/URL.ycp 2007-06-19 13:00:59.000000000 +0200
@@ -6,7 +6,7 @@
* Anas Nashif
* Flags: Stable
*
- * $Id: URL.ycp 36762 2007-03-07 12:27:35Z jsrain $
+ * $Id: URL.ycp 38509 2007-06-18 15:14:57Z jsrain $
*/
{
@@ -186,7 +186,7 @@
{
pth = "/" + substring (pth, 4);
}
- else
+ else if (pth != "")
{
pth = substring (pth, 1);
}
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-2.15.36/missing new/yast2-2.15.37/missing
--- old/yast2-2.15.36/missing 2007-06-12 18:07:53.000000000 +0200
+++ new/yast2-2.15.37/missing 2007-05-21 15:54:21.000000000 +0200
@@ -1,9 +1,9 @@
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
-scriptversion=2005-06-08.21
+scriptversion=2006-05-10.23
-# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
+# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard , 1996.
@@ -33,6 +33,8 @@
fi
run=:
+sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
+sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
# In the cases where this matters, `missing' is being run in the
# srcdir already.
@@ -44,7 +46,7 @@
msg="missing on your system"
-case "$1" in
+case $1 in
--run)
# Try to run requested program, and just exit if it succeeds.
run=
@@ -77,6 +79,7 @@
aclocal touch file \`aclocal.m4'
autoconf touch file \`configure'
autoheader touch file \`config.h.in'
+ autom4te touch the output file, or create a stub one
automake touch all \`Makefile.in' files
bison create \`y.tab.[ch]', if possible, from existing .[ch]
flex create \`lex.yy.c', if possible, from existing .c
@@ -106,7 +109,7 @@
# Now exit if we have it, but it failed. Also exit now if we
# don't have it and --version was passed (most likely to detect
# the program).
-case "$1" in
+case $1 in
lex|yacc)
# Not GNU programs, they don't have --version.
;;
@@ -135,7 +138,7 @@
# If it does not exist, or fails to run (possibly an outdated version),
# try to emulate it.
-case "$1" in
+case $1 in
aclocal*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
@@ -164,7 +167,7 @@
test -z "$files" && files="config.h"
touch_files=
for f in $files; do
- case "$f" in
+ case $f in
*:*) touch_files="$touch_files "`echo "$f" |
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
*) touch_files="$touch_files $f.in";;
@@ -192,8 +195,8 @@
You can get \`$1' as part of \`Autoconf' from any GNU
archive site."
- file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
- test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
+ file=`echo "$*" | sed -n "$sed_output"`
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
if test -f "$file"; then
touch $file
else
@@ -214,25 +217,25 @@
in order for those modifications to take effect. You can get
\`Bison' from any GNU archive site."
rm -f y.tab.c y.tab.h
- if [ $# -ne 1 ]; then
+ if test $# -ne 1; then
eval LASTARG="\${$#}"
- case "$LASTARG" in
+ case $LASTARG in
*.y)
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
- if [ -f "$SRCFILE" ]; then
+ if test -f "$SRCFILE"; then
cp "$SRCFILE" y.tab.c
fi
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
- if [ -f "$SRCFILE" ]; then
+ if test -f "$SRCFILE"; then
cp "$SRCFILE" y.tab.h
fi
;;
esac
fi
- if [ ! -f y.tab.h ]; then
+ if test ! -f y.tab.h; then
echo >y.tab.h
fi
- if [ ! -f y.tab.c ]; then
+ if test ! -f y.tab.c; then
echo 'main() { return 0; }' >y.tab.c
fi
;;
@@ -244,18 +247,18 @@
in order for those modifications to take effect. You can get
\`Flex' from any GNU archive site."
rm -f lex.yy.c
- if [ $# -ne 1 ]; then
+ if test $# -ne 1; then
eval LASTARG="\${$#}"
- case "$LASTARG" in
+ case $LASTARG in
*.l)
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
- if [ -f "$SRCFILE" ]; then
+ if test -f "$SRCFILE"; then
cp "$SRCFILE" lex.yy.c
fi
;;
esac
fi
- if [ ! -f lex.yy.c ]; then
+ if test ! -f lex.yy.c; then
echo 'main() { return 0; }' >lex.yy.c
fi
;;
@@ -267,11 +270,9 @@
\`Help2man' package in order for those modifications to take
effect. You can get \`Help2man' from any GNU archive site."
- file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
- if test -z "$file"; then
- file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
- fi
- if [ -f "$file" ]; then
+ file=`echo "$*" | sed -n "$sed_output"`
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
+ if test -f "$file"; then
touch $file
else
test -z "$file" || exec >$file
@@ -289,11 +290,17 @@
DU, IRIX). You might want to install the \`Texinfo' package or
the \`GNU make' package. Grab either from any GNU archive site."
# The file to touch is that specified with -o ...
- file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
+ file=`echo "$*" | sed -n "$sed_output"`
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
if test -z "$file"; then
# ... or it is the one specified with @setfilename ...
infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
- file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile`
+ file=`sed -n '
+ /^@setfilename/{
+ s/.* \([^ ]*\) *$/\1/
+ p
+ q
+ }' $infile`
# ... or it is derived from the source name (dir/f.texi becomes f.info)
test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
fi
@@ -317,13 +324,13 @@
fi
firstarg="$1"
if shift; then
- case "$firstarg" in
+ case $firstarg in
*o*)
firstarg=`echo "$firstarg" | sed s/o//`
tar "$firstarg" "$@" && exit 0
;;
esac
- case "$firstarg" in
+ case $firstarg in
*h*)
firstarg=`echo "$firstarg" | sed s/h//`
tar "$firstarg" "$@" && exit 0
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-2.15.36/scripts/yast2 new/yast2-2.15.37/scripts/yast2
--- old/yast2-2.15.36/scripts/yast2 2007-05-28 09:43:50.000000000 +0200
+++ new/yast2-2.15.37/scripts/yast2 2007-06-19 12:56:33.000000000 +0200
@@ -271,9 +271,12 @@
/usr/bin/test -n "$LC_CTYPE" && LC_CTYPE=${LC_CTYPE%.UTF-8}
# the terminal supports utf8 and it is currently set
# so strip any possible suffix from locale and append .UTF-8
- elif [ "$UTF8TESTED" == "1" ] && [ $UTF8STATUS -eq 2 ]; then
- /usr/bin/test -n "$LANG" && LANG=${LANG%%[.@]*}.UTF-8
- /usr/bin/test -n "$LC_CTYPE" && LC_CTYPE=${LC_CTYPE%%[.@]*}.UTF-8
+ elif [ "$UTF8TESTED" == "1" ] && [ $UTF8STATUS -eq 2 ]; then
+ #do not append .UTF-8 suffix to POSIX and C locale (#285178)
+ if [ "$LANG" != "POSIX" ] || [ $LANG != "C" ]; then
+ /usr/bin/test -n "$LANG" && LANG=${LANG%%[.@]*}.UTF-8
+ /usr/bin/test -n "$LC_CTYPE" && LC_CTYPE=${LC_CTYPE%%[.@]*}.UTF-8
+ fi
fi
#default: do nothing, keep locale untouched
;;
@@ -283,6 +286,11 @@
# this fixes launching of interactive subprocesses, #150799
NCTHREADS=--nothreads
+ # set color theme, if defined
+ if [ ! -z "$Y2NCURSES_COLOR_THEME" ]; then
+ export Y2NCURSES_COLOR_THEME="$Y2NCURSES_COLOR_THEME"
+ fi
+
# use menu.ycp
# TODO: this does not need to be a special case. refactor after release
if [ $module == "menu" ] ; then
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-2.15.36/scripts/yast2-funcs new/yast2-2.15.37/scripts/yast2-funcs
--- old/yast2-2.15.36/scripts/yast2-funcs 2006-12-11 13:16:10.000000000 +0100
+++ new/yast2-2.15.37/scripts/yast2-funcs 2007-06-19 14:14:17.000000000 +0200
@@ -3,7 +3,7 @@
# Summary: Common functions for YaST2 start scripts
# Authors: Arvin Schnell
#
-# $Id: yast2-funcs 33421 2006-10-16 09:24:51Z mvidner $
+# $Id: yast2-funcs 38518 2007-06-19 12:14:16Z kmachalkova $
# some path definitions
ybindir=/usr/lib/YaST2/bin
@@ -81,12 +81,12 @@
#
function set_lang_from_sysconfig()
{
- # if LANG is "POSIX", unset LANG
- # SL 9.3 had default LANG set to ""
- # SL 10.0 has default LANG set to "POSIX"
- if [ "$LANG" == "POSIX" ] ; then
- LANG=""
- fi
+ # respect user's choice and never unset LANG
+ # /sbin/yast script takes care that .UTF-8 suffix
+ # will not be appended to POSIX and C locale (#285178)
+ #if [ "$LANG" == "POSIX" ] ; then
+ # LANG=""
+ #fi
# if LANG is not empty and /etc/sysconfig/language exists
if [ -z "$LANG" -a -r /etc/sysconfig/language ] ; then
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-2.15.36/VERSION new/yast2-2.15.37/VERSION
--- old/yast2-2.15.36/VERSION 2007-06-12 18:05:50.000000000 +0200
+++ new/yast2-2.15.37/VERSION 2007-06-19 13:05:22.000000000 +0200
@@ -1 +1 @@
-2.15.36
+2.15.37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org