Hello community, here is the log from the commit of package yast2-devtools checked in at Wed Sep 12 16:53:59 CEST 2007. -------- --- yast2-devtools/yast2-devtools.changes 2007-08-29 14:31:11.000000000 +0200 +++ /mounts/work_src_done/NOARCH/yast2-devtools/yast2-devtools.changes 2007-09-12 14:00:50.975990000 +0200 @@ -1,0 +2,6 @@ +Wed Sep 12 13:50:10 CEST 2007 - dfiser@suse.cz + +- Added support for reading from stdin to showy2log script. +- 2.15.9 + +------------------------------------------------------------------- Old: ---- yast2-devtools-2.15.8.tar.bz2 New: ---- yast2-devtools-2.15.9.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-devtools.spec ++++++ --- /var/tmp/diff_new_pack.Cw3523/_old 2007-09-12 16:53:17.000000000 +0200 +++ /var/tmp/diff_new_pack.Cw3523/_new 2007-09-12 16:53:17.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package yast2-devtools (Version 2.15.8) +# spec file for package yast2-devtools (Version 2.15.9) # # 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-devtools -Version: 2.15.8 +Version: 2.15.9 Release: 1 License: GPL v2 or later Group: System/YaST BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-devtools-2.15.8.tar.bz2 +Source0: yast2-devtools-2.15.9.tar.bz2 prefix: /usr BuildRequires: docbook-xsl-stylesheets gcc-c++ libxslt perl-XML-Writer pkgconfig sgml-skel Requires: perl @@ -48,7 +48,7 @@ Michal Svec <msvec@suse.cz> %prep -%setup -n yast2-devtools-2.15.8 +%setup -n yast2-devtools-2.15.9 %build autoreconf --force --install @@ -88,6 +88,9 @@ %doc %{prefix}/share/doc/packages/yast2-devtools %changelog +* Wed Sep 12 2007 - dfiser@suse.cz +- Added support for reading from stdin to showy2log script. +- 2.15.9 * Wed Aug 29 2007 - mvidner@suse.cz - "make dist" will create only a tar.bz2, not a tar.gz (#289571). - 2.15.8 ++++++ yast2-devtools-2.15.8.tar.bz2 -> yast2-devtools-2.15.9.tar.bz2 ++++++ ++++ 18821 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-devtools-2.15.8/configure.in new/yast2-devtools-2.15.9/configure.in --- old/yast2-devtools-2.15.8/configure.in 2007-08-29 14:31:20.000000000 +0200 +++ new/yast2-devtools-2.15.9/configure.in 2007-09-12 13:59:30.000000000 +0200 @@ -1,9 +1,9 @@ dnl configure.in for yast2-devtools dnl -dnl -- This file is generated by y2autoconf 2.14.0 - DO NOT EDIT! -- +dnl -- This file is generated by y2autoconf 2.15.8 - DO NOT EDIT! -- dnl (edit configure.in.in instead) -AC_INIT(yast2-devtools, 2.15.8, http://bugs.opensuse.org/, yast2-devtools) +AC_INIT(yast2-devtools, 2.15.9, http://bugs.opensuse.org/, yast2-devtools) 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.8" +VERSION="2.15.9" RPMNAME="yast2-devtools" MAINTAINER="Martin Vidner <mvidner@suse.cz>" @@ -208,6 +208,8 @@ scrdoc/doc/Makefile scrdoc/src/Makefile scrdoc/Makefile +y2logview/y2log_ana/Makefile +y2logview/Makefile yast2/check_ycp/doc/Makefile yast2/check_ycp/Makefile yast2/Makefile @@ -219,8 +221,6 @@ ydoc/doc/Makefile ydoc/src/Makefile ydoc/po-tools/Makefile -ydoc/Makefile -y2logview/y2log_ana/Makefile -y2logview/Makefile) +ydoc/Makefile) AC_OUTPUT 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-devtools-2.15.8/devtools/bin/showy2log new/yast2-devtools-2.15.9/devtools/bin/showy2log --- old/yast2-devtools-2.15.8/devtools/bin/showy2log 2007-08-09 09:01:12.000000000 +0200 +++ new/yast2-devtools-2.15.9/devtools/bin/showy2log 2007-09-12 13:49:27.000000000 +0200 @@ -40,8 +40,8 @@ my $debuglvl = 0; -my $vcs_id = '$Id: showy2log 40114 2007-08-08 23:29:50Z odabrunz $'; -my $vcs_date = '$Date: 2007-08-09 01:29:50 +0200 (Čt, 09 srp 2007) $'; +my $vcs_id = '$Id: showy2log 40869 2007-09-12 11:50:09Z dfiser $'; +my $vcs_date = '$Date: 2007-09-12 13:50:09 +0200 (Wed, 12 Sep 2007) $'; $vcs_id =~ /^\$[[:alpha:]]+: [^ ]+ ([^ ]+ [^ ]+ [^ ]+) [^ ]+.*$/; my $version = $1; @@ -130,7 +130,8 @@ By default $default_file is processed, unless you're not root and ~/.y2log exists. - -f FILE use FILE as y2log file + -f FILE use FILE as y2log file, if FILE equals to '-' script reads + the log from stdin Filter options: Those options allow to select which message lines are actually printed @@ -240,7 +241,7 @@ $indent = "a" } -if ( ! -r "$file" ) { +if ( ! -r "$file" and "$file" ne "-") { die "Can't read file '$file'"; } @@ -670,14 +671,18 @@ # main # ######################################################################## -my $command = ""; -if ( $#ARGV != -1 ) { - $command .= "$_ " foreach (@ARGV); -} else { - $command = "cat "; +if ("$file" ne "-"){ + my $command = ""; + if ( $#ARGV != -1 ) { + $command .= "$_ " foreach (@ARGV); + } else { + $command = "cat "; + } + open(FILE, "$command '$file'|"); +}else{ + open(FILE, "-"); } -open(FILE, "$command '$file'|"); binmode(FILE, ":utf8"); showlog(); 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-devtools-2.15.8/devtools/bin/version new/yast2-devtools-2.15.9/devtools/bin/version --- old/yast2-devtools-2.15.8/devtools/bin/version 2007-08-29 14:32:28.000000000 +0200 +++ new/yast2-devtools-2.15.9/devtools/bin/version 2007-09-12 13:59:44.000000000 +0200 @@ -1,5 +1,5 @@ #!/bin/bash -echo 2.15.8 +echo 2.15.9 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-devtools-2.15.8/devtools/doc/skeletons/config/index.html new/yast2-devtools-2.15.9/devtools/doc/skeletons/config/index.html --- old/yast2-devtools-2.15.8/devtools/doc/skeletons/config/index.html 2007-08-29 15:01:05.000000000 +0200 +++ new/yast2-devtools-2.15.9/devtools/doc/skeletons/config/index.html 2007-09-12 13:59:51.000000000 +0200 @@ -124,10 +124,10 @@ </tr> <tr> <td> - <a href="complex.html#Modified">Modified ()</a> + <a href="XXPkgXX.html#Modified">Modified ()</a> </td> <td> - <a href="complex.html">complex.ycp</a> + <a href="XXPkgXX.html">XXPkgXX.ycp</a> </td> </tr> <tr> @@ -140,10 +140,10 @@ </tr> <tr> <td> - <a href="XXPkgXX.html#Modified">Modified ()</a> + <a href="complex.html#Modified">Modified ()</a> </td> <td> - <a href="XXPkgXX.html">XXPkgXX.ycp</a> + <a href="complex.html">complex.ycp</a> </td> </tr> <tr> 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-devtools-2.15.8/Makefile.am new/yast2-devtools-2.15.9/Makefile.am --- old/yast2-devtools-2.15.8/Makefile.am 2007-08-29 14:31:20.000000000 +0200 +++ new/yast2-devtools-2.15.9/Makefile.am 2007-09-12 13:59:30.000000000 +0200 @@ -213,4 +213,4 @@ test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo # test ! -f $(srcdir)/po/Makefile || $(MAKE) -C po checkpo make-pox # No ./SUBDIRS file found - assuming default: All direct subdirs with Makefile.am -SUBDIRS = devtools docbook doxygen scrdoc yast2 ycpdoc ydoc y2logview +SUBDIRS = devtools docbook doxygen scrdoc y2logview yast2 ycpdoc ydoc 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-devtools-2.15.8/missing new/yast2-devtools-2.15.9/missing --- old/yast2-devtools-2.15.8/missing 2007-08-29 14:31:49.000000000 +0200 +++ new/yast2-devtools-2.15.9/missing 2007-09-12 13:59:37.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 <pinard@iro.umontreal.ca>, 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-devtools-2.15.8/VERSION new/yast2-devtools-2.15.9/VERSION --- old/yast2-devtools-2.15.8/VERSION 2007-08-29 14:30:13.000000000 +0200 +++ new/yast2-devtools-2.15.9/VERSION 2007-09-12 13:50:43.000000000 +0200 @@ -1 +1 @@ -2.15.8 +2.15.9 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de