Hello community,
here is the log from the commit of package wsmancli for openSUSE:Factory
checked in at Mon Mar 8 18:27:13 CET 2010.
--------
--- wsmancli/wsmancli.changes 2008-09-16 09:57:34.000000000 +0200
+++ /mounts/work_src_done/STABLE/wsmancli/wsmancli.changes 2010-03-08 11:36:26.000000000 +0100
@@ -1,0 +2,8 @@
+Thu Feb 25 14:26:20 UTC 2010 - kkaempf@novell.com
+
+- Update to version 2.2.3
+ Bugfix release, synchronize version with openwsman
+ - fix double free error on enumeration (Chris Poblete)
+ - add '--version' to print version and build timestamp
+
+-------------------------------------------------------------------
@@ -11,0 +20,5 @@
+
+-------------------------------------------------------------------
+Mon APr 7 14:44:07 MST 2008 - npaxton@novell.com
+
+- Update to ver 2.0.0
calling whatdependson for head-i586
Old:
----
wsmancli-2.1.0.tar.bz2
New:
----
wsmancli-2.2.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ wsmancli.spec ++++++
--- /var/tmp/diff_new_pack.rYaV1P/_old 2010-03-08 18:27:06.000000000 +0100
+++ /var/tmp/diff_new_pack.rYaV1P/_new 2010-03-08 18:27:06.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package wsmancli (Version 2.1.0)
+# spec file for package wsmancli (Version 2.2.3)
#
-# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,11 +20,15 @@
Name: wsmancli
BuildRequires: gcc-c++ libwsman-devel pkgconfig
+%if 0%{?suse_version} > 1020
BuildRequires: libcurl-devel
-Version: 2.1.0
+%else
+BuildRequires: curl-devel
+%endif
+Version: 2.2.3
Release: 1
Url: http://www.openwsman.org/
-License: BSD 3-Clause
+License: BSD3c
Group: System/Management
Summary: Opensource Implementation of WS-Management - Command line utility
Source: %{name}-%{version}.tar.bz2
++++++ wsmancli-2.1.0.tar.bz2 -> wsmancli-2.2.3.tar.bz2 ++++++
++++ 24738 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/wsmancli-2.1.0/ChangeLog new/wsmancli-2.2.3/ChangeLog
--- old/wsmancli-2.1.0/ChangeLog 1970-01-01 01:00:00.000000000 +0100
+++ new/wsmancli-2.2.3/ChangeLog 2010-02-22 15:49:18.000000000 +0100
@@ -0,0 +1,4 @@
+Version 2.2.3
+ Bugfix release, synchronize version with openwsman
+ - fix double free error on enumeration (Chris Poblete)
+ - add '--version' to print version and build timestamp
\ No newline at end of file
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/wsmancli-2.1.0/configure.in new/wsmancli-2.2.3/configure.in
--- old/wsmancli-2.1.0/configure.in 2008-09-15 04:01:23.000000000 +0200
+++ new/wsmancli-2.2.3/configure.in 2010-02-25 13:51:34.000000000 +0100
@@ -1,6 +1,6 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(wsmancli, 2.1.0)
+AC_INIT(wsmancli, 2.2.3)
AC_CONFIG_SRCDIR(wsmancli.spec.in)
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
AM_CONFIG_HEADER(config.h)
@@ -14,8 +14,10 @@
WSMAN_PKG=$PACKAGE_NAME
AC_SUBST(WSMAN_PKG)
+PACKAGE_BUILDTS=`date +%Y%m%d%H%M`
+AC_SUBST(PACKAGE_BUILDTS)
-PKG_CHECK_MODULES(OPENWSMAN, [openwsman >= 2.1.0])
+PKG_CHECK_MODULES(OPENWSMAN, [openwsman >= 2.2.3])
have_cunit=no
AC_CHECK_HEADERS([CUnit/Basic.h], have_cunit="yes" )
AM_CONDITIONAL(BUILD_CUNIT_TESTS, test "$have_cunit" == "yes")
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/wsmancli-2.1.0/missing new/wsmancli-2.2.3/missing
--- old/wsmancli-2.1.0/missing 2007-03-08 02:10:41.000000000 +0100
+++ new/wsmancli-2.2.3/missing 2007-11-09 14:53:13.000000000 +0100
@@ -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/wsmancli-2.1.0/src/Makefile.am new/wsmancli-2.2.3/src/Makefile.am
--- old/wsmancli-2.1.0/src/Makefile.am 2008-02-04 04:26:00.000000000 +0100
+++ new/wsmancli-2.2.3/src/Makefile.am 2010-02-22 15:49:18.000000000 +0100
@@ -1,7 +1,8 @@
AM_CFLAGS = @CFLAGS@
CFLAGS = \
- $(OPENWSMAN_CFLAGS)
+ $(OPENWSMAN_CFLAGS) \
+ -DPACKAGE_BUILDTS=\"$(PACKAGE_BUILDTS)\"
wsman_LDADD = \
$(OPENWSMAN_LIBS) \
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/wsmancli-2.1.0/src/wsman.c new/wsmancli-2.2.3/src/wsman.c
--- old/wsmancli-2.1.0/src/wsman.c 2008-06-03 16:00:27.000000000 +0200
+++ new/wsmancli-2.2.3/src/wsman.c 2010-02-22 15:49:18.000000000 +0100
@@ -179,8 +179,11 @@
{
char retval = 0;
u_error_t *error = NULL;
+ char my_version = 0;
u_option_entry_t options[] = {
+ {"version", 'q', U_OPTION_ARG_NONE, &my_version,
+ "Display application version", NULL},
{"debug", 'd', U_OPTION_ARG_INT, &debug_level,
"Set the verbosity of debugging output.", "1-6"},
{"encoding", 'j', U_OPTION_ARG_STRING, &encoding,
@@ -366,6 +369,11 @@
return FALSE;
}
+ if (my_version) {
+ fprintf(stdout, PACKAGE_STRING " (" PACKAGE_BUILDTS ")\n\n");
+ exit(0);
+ }
+
if (argc > 2) {
_action = argv[1];
resource_uri_opt = argv[2];
@@ -837,7 +845,6 @@
enumContext = wsmc_get_enum_context(enum_response);
ws_xml_destroy_doc(enum_response);
} else {
- u_free(enumContext);
break;
}
@@ -852,7 +859,6 @@
if (wsmc_get_response_code(cl) != 200
&& wsmc_get_response_code(cl) != 400
&& wsmc_get_response_code(cl) != 500) {
- u_free(enumContext);
break;
}
u_free(enumContext);
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org