Hello community,

here is the log from the commit of package wsmancli for openSUSE:Factory
checked in at Mon Sep 19 18:08:34 CEST 2011.



--------
--- wsmancli/wsmancli.changes   2011-05-01 04:32:56.000000000 +0200
+++ wsmancli/wsmancli.changes   2011-09-14 21:59:24.000000000 +0200
@@ -1,0 +2,18 @@
+Wed Sep 14 19:58:18 UTC 2011 - [email protected]
+
+- Update to version 2.2.7.1
+  - adapt to reduced libu exposure in openwsman
+  - openwsman C++ bindings need libwsman_clientpp-devel now
+
+-------------------------------------------------------------------
+Thu Sep  8 07:24:37 UTC 2011 - [email protected]
+
+- Update to version 2.2.7
+  Bugfix release
+  - add wseventmgr
+  - fix the default port setting to match wsmc_create() call. Use
+    https (port 5986) when cainfo is set.
+  - in debug mode, dump the complete response XML if it can't
+    be parsed (Chris Poblete)
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  wsmancli-2.2.6.tar.bz2

New:
----
  wsmancli-2.2.7.1.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ wsmancli.spec ++++++
--- /var/tmp/diff_new_pack.1iwsBt/_old  2011-09-19 18:08:30.000000000 +0200
+++ /var/tmp/diff_new_pack.1iwsBt/_new  2011-09-19 18:08:30.000000000 +0200
@@ -19,15 +19,15 @@
 
 
 Name:           wsmancli
-BuildRequires:  gcc-c++ libwsman-devel pkgconfig
+BuildRequires:  gcc-c++ libwsman-devel >= 2.2.7 libwsman_clientpp-devel >= 
2.2.7 pkgconfig
 %if 0%{?suse_version} > 1010
 BuildRequires:  libcurl-devel
 %else
 # SLE 10
 BuildRequires:  curl-devel
 %endif
-Version:        2.2.6
-Release:        1
+Version:        2.2.7.1
+Release:        11
 Url:            http://www.openwsman.org/
 License:        BSD3c
 Group:          System/Management

++++++ wsmancli-2.2.6.tar.bz2 -> wsmancli-2.2.7.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wsmancli-2.2.6/ChangeLog 
new/wsmancli-2.2.7.1/ChangeLog
--- old/wsmancli-2.2.6/ChangeLog        2011-04-20 12:24:06.000000000 +0200
+++ new/wsmancli-2.2.7.1/ChangeLog      2011-09-14 21:09:09.000000000 +0200
@@ -1,3 +1,12 @@
+Version 2.2.7.1
+  - adapt to reduced libu exposure in openwsman
+
+Version 2.2.7
+  - fix the default port setting to match wsmc_create() call. Use
+    https (port 5986) when cainfo is set.
+  - in debug mode, dump the complete response XML if it can't
+    be parsed (Chris Poblete)
+
 Version 2.2.6
   - fix segfault in output_file handling (Chris Poblete)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wsmancli-2.2.6/configure 
new/wsmancli-2.2.7.1/configure
--- old/wsmancli-2.2.6/configure        2011-04-20 12:25:44.000000000 +0200
+++ new/wsmancli-2.2.7.1/configure      2011-09-14 21:09:36.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for wsmancli 2.2.6.
+# Generated by GNU Autoconf 2.68 for wsmancli 2.2.7.1.
 #
 #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -557,8 +557,8 @@
 # Identity of this package.
 PACKAGE_NAME='wsmancli'
 PACKAGE_TARNAME='wsmancli'
-PACKAGE_VERSION='2.2.6'
-PACKAGE_STRING='wsmancli 2.2.6'
+PACKAGE_VERSION='2.2.7.1'
+PACKAGE_STRING='wsmancli 2.2.7.1'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1267,7 +1267,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 wsmancli 2.2.6 to adapt to many kinds of systems.
+\`configure' configures wsmancli 2.2.7.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1333,7 +1333,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of wsmancli 2.2.6:";;
+     short | recursive ) echo "Configuration of wsmancli 2.2.7.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1434,7 +1434,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-wsmancli configure 2.2.6
+wsmancli configure 2.2.7.1
 generated by GNU Autoconf 2.68
 
 Copyright (C) 2010 Free Software Foundation, Inc.
@@ -1770,7 +1770,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by wsmancli $as_me 2.2.6, which was
+It was created by wsmancli $as_me 2.2.7.1, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   $ $0 $@
@@ -2586,7 +2586,7 @@
 
 # Define the identity of the package.
  PACKAGE=wsmancli
- VERSION=2.2.6
+ VERSION=2.2.7.1
 
 
 cat >>confdefs.h <<_ACEOF
@@ -5923,12 +5923,12 @@
     pkg_cv_OPENWSMAN_CFLAGS="$OPENWSMAN_CFLAGS"
  elif test -n "$PKG_CONFIG"; then
     if test -n "$PKG_CONFIG" && \
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists 
--print-errors \"openwsman >= 2.2.3\""; } >&5
-  ($PKG_CONFIG --exists --print-errors "openwsman >= 2.2.3") 2>&5
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists 
--print-errors \"openwsman >= 2.2.7\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "openwsman >= 2.2.7") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
-  pkg_cv_OPENWSMAN_CFLAGS=`$PKG_CONFIG --cflags "openwsman >= 2.2.3" 
2>/dev/null`
+  pkg_cv_OPENWSMAN_CFLAGS=`$PKG_CONFIG --cflags "openwsman >= 2.2.7" 
2>/dev/null`
 else
   pkg_failed=yes
 fi
@@ -5939,12 +5939,12 @@
     pkg_cv_OPENWSMAN_LIBS="$OPENWSMAN_LIBS"
  elif test -n "$PKG_CONFIG"; then
     if test -n "$PKG_CONFIG" && \
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists 
--print-errors \"openwsman >= 2.2.3\""; } >&5
-  ($PKG_CONFIG --exists --print-errors "openwsman >= 2.2.3") 2>&5
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists 
--print-errors \"openwsman >= 2.2.7\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "openwsman >= 2.2.7") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
-  pkg_cv_OPENWSMAN_LIBS=`$PKG_CONFIG --libs "openwsman >= 2.2.3" 2>/dev/null`
+  pkg_cv_OPENWSMAN_LIBS=`$PKG_CONFIG --libs "openwsman >= 2.2.7" 2>/dev/null`
 else
   pkg_failed=yes
 fi
@@ -5964,14 +5964,14 @@
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               OPENWSMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors 
"openwsman >= 2.2.3" 2>&1`
+               OPENWSMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors 
"openwsman >= 2.2.7" 2>&1`
         else
-               OPENWSMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors "openwsman >= 
2.2.3" 2>&1`
+               OPENWSMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors "openwsman >= 
2.2.7" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$OPENWSMAN_PKG_ERRORS" >&5
 
-       as_fn_error $? "Package requirements (openwsman >= 2.2.3) were not met:
+       as_fn_error $? "Package requirements (openwsman >= 2.2.7) were not met:
 
 $OPENWSMAN_PKG_ERRORS
 
@@ -6611,7 +6611,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by wsmancli $as_me 2.2.6, which was
+This file was extended by wsmancli $as_me 2.2.7.1, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -6677,7 +6677,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-wsmancli config.status 2.2.6
+wsmancli config.status 2.2.7.1
 configured by $0, generated by GNU Autoconf 2.68,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wsmancli-2.2.6/configure.in 
new/wsmancli-2.2.7.1/configure.in
--- old/wsmancli-2.2.6/configure.in     2011-04-20 12:25:22.000000000 +0200
+++ new/wsmancli-2.2.7.1/configure.in   2011-09-14 21:09:29.000000000 +0200
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 
-AC_INIT(wsmancli, 2.2.6)
+AC_INIT(wsmancli, 2.2.7.1)
 AC_CONFIG_SRCDIR(wsmancli.spec.in)
 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 AM_CONFIG_HEADER(config.h)
@@ -17,7 +17,7 @@
 PACKAGE_BUILDTS=`date +%Y%m%d%H%M`
 AC_SUBST(PACKAGE_BUILDTS)
 
-PKG_CHECK_MODULES(OPENWSMAN, [openwsman >= 2.2.3])
+PKG_CHECK_MODULES(OPENWSMAN, [openwsman >= 2.2.7])
 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' old/wsmancli-2.2.6/examples/create_resource.c 
new/wsmancli-2.2.7.1/examples/create_resource.c
--- old/wsmancli-2.2.6/examples/create_resource.c       2010-03-05 
13:31:37.000000000 +0100
+++ new/wsmancli-2.2.7.1/examples/create_resource.c     2011-09-14 
21:04:57.000000000 +0200
@@ -41,7 +41,7 @@
 #include "wsman-xml-serializer.h"
 #include "wsman-client-api.h"
 #include "wsman-client-transport.h"
-
+#include "u/libu.h"
 
 #define RESOURCE_URI 
"http://example.com/wbem/wscim/1/schema/1/EXL_ExamplePolicy";
 #define CLASSNAME "EXL_ExamplePolicy"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wsmancli-2.2.6/examples/win32_service.c 
new/wsmancli-2.2.7.1/examples/win32_service.c
--- old/wsmancli-2.2.6/examples/win32_service.c 2010-03-05 13:31:37.000000000 
+0100
+++ new/wsmancli-2.2.7.1/examples/win32_service.c       2011-09-14 
21:04:42.000000000 +0200
@@ -40,6 +40,7 @@
 
 
 #include "wsman-api.h"
+#include "u/libu.h"
 
 #define RESOURCE_URI 
"http://schemas.microsoft.com/wbem/wsman/1/wmi/root/cimv2/Win32_Service";
 #define CLASSNAME "Win32_Service"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wsmancli-2.2.6/examples/wsmid_identify.c 
new/wsmancli-2.2.7.1/examples/wsmid_identify.c
--- old/wsmancli-2.2.6/examples/wsmid_identify.c        2010-03-05 
13:31:37.000000000 +0100
+++ new/wsmancli-2.2.7.1/examples/wsmid_identify.c      2011-09-14 
21:04:16.000000000 +0200
@@ -40,6 +40,7 @@
 
 
 #include "wsman-api.h"
+#include "u/libu.h"
 
 struct __wsmid_identify
 {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wsmancli-2.2.6/src/wseventmgr.c 
new/wsmancli-2.2.7.1/src/wseventmgr.c
--- old/wsmancli-2.2.6/src/wseventmgr.c 2010-09-14 19:59:08.000000000 +0200
+++ new/wsmancli-2.2.7.1/src/wseventmgr.c       2011-09-14 21:03:40.000000000 
+0200
@@ -51,7 +51,7 @@
 #include <wsman-client-api.h>
 #include <wsman-client-transport.h>
 #include <wsman-debug.h>
-
+#include <u/libu.h>
 
 #if __linux__
 extern char *getpass (const char *__prompt);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wsmancli-2.2.6/src/wsman.c 
new/wsmancli-2.2.7.1/src/wsman.c
--- old/wsmancli-2.2.6/src/wsman.c      2011-04-20 12:18:49.000000000 +0200
+++ new/wsmancli-2.2.7.1/src/wsman.c    2011-09-14 21:03:22.000000000 +0200
@@ -48,10 +48,10 @@
 #include <errno.h>
 #include <time.h>
 
-#include <wsman-client-api.h>
+#include <wsman-client.h>
 #include <wsman-client-transport.h>
 #include <wsman-debug.h>
-
+#include <u/libu.h>
 
 #if __linux__
 extern char *getpass (const char *__prompt);
@@ -395,7 +395,7 @@
 
        // set default options
        if (server_port == 0) {
-               server_port = cainfo ? 5985 : 5986;
+               server_port = cainfo ? 5986 : 5985;
        }
        if (url_path == NULL) {
                if (strcmp(argv[1], "anonid") == 0)
@@ -407,12 +407,11 @@
 }
 
 
-
-
 static void wsman_output(WsManClient * cl, WsXmlDocH doc)
 {
        FILE *f = stdout;
        const char *filename = output_file;
+       const char *badxml = NULL;
        WS_LASTERR_Code err;
 
        err = wsmc_get_last_error(cl);
@@ -421,19 +420,28 @@
        }
        if (!doc) {
                error("doc with NULL content");
-               return;
+               badxml = (char*)u_buf_ptr(cl->connection->response);
+               if ((-1 == debug_level) || (NULL == badxml)) {
+                       goto error1;
+               }
        }
        if (filename) {
                f = fopen(filename, "w");
                if (f == NULL) {
                        error("Could not open file for writing");
-                       return;
+                       goto error1;
                }
        }
-       ws_xml_dump_node_tree(f, ws_xml_get_doc_root(doc));
+       if (NULL != badxml) {
+               fprintf(f, "%s", badxml); // on debug mode, output the bad xml
+       } else {
+               ws_xml_dump_node_tree(f, ws_xml_get_doc_root(doc));
+       }
        if (f != stdout) {
                fclose(f);
        }
+
+error1:
        return;
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wsmancli-2.2.6/wsmancli.spec.in 
new/wsmancli-2.2.7.1/wsmancli.spec.in
--- old/wsmancli-2.2.6/wsmancli.spec.in 2010-03-05 13:31:37.000000000 +0100
+++ new/wsmancli-2.2.7.1/wsmancli.spec.in       2011-09-08 09:23:14.000000000 
+0200
@@ -1,33 +1,54 @@
+#
+# spec file for package wsmancli (Version @PACKAGE_VERSION@)
+#
+
+# norootforbuild
+
+
 Name:           wsmancli
-Version:       @PACKAGE_VERSION@
-Release:        1
-License:        BSD
+BuildRequires:  gcc-c++ libwsman-devel pkgconfig
+%if 0%{?suse_version} > 1010
+BuildRequires:  libcurl-devel
+%else
+# SLE 10
+BuildRequires:  curl-devel
+%endif
+Version:        @PACKAGE_VERSION@
+Release:        11
 Url:            http://www.openwsman.org/
-Source:         %{name}-%{version}.tar.gz
+License:        BSD3c
+Group:          System/Management
+Summary:        Opensource Implementation of WS-Management - Command line 
utility
+Source:         %{name}-%{version}.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Group:          Applications/Management
-BuildRequires:  openwsman-devel pkgconfig curl-devel
-Requires:       openwsman curl
-Summary:        Opensource Implementation of WS-Management - Command line 
Utility
-
 
 %description
-Part of openwsman, an Opensource Implementation of WS-Management 
+Part of Openwsman, an Opensource Implementation of WS-Management
 
 
 
+Authors:
+--------
+    Anas Nashif <[email protected]>
+    Vadim Revyakin <[email protected]>
+    Denis Sadykov <[email protected]>
+
 %prep
-%setup
+%setup -q -n %{name}-%{version}
 
 %build
-%configure 
-make
+%configure --disable-more-warnings
+make %{?jobs:-j%jobs}
 
 %install
-make DESTDIR=%{buildroot} install
+make DESTDIR=$RPM_BUILD_ROOT install
+
 %clean
-rm -rf "$RPM_BUILD_ROOT"
+rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root)
 %{_bindir}/wsman
+%{_bindir}/wseventmgr
+
+%changelog


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to