Hello community, here is the log from the commit of package wsmancli for openSUSE:Factory checked in at 2015-06-16 14:05:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wsmancli (Old) and /work/SRC/openSUSE:Factory/.wsmancli.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wsmancli" Changes: -------- --- /work/SRC/openSUSE:Factory/wsmancli/wsmancli.changes 2015-01-15 15:59:31.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.wsmancli.new/wsmancli.changes 2015-06-16 14:05:17.000000000 +0200 @@ -1,0 +2,16 @@ +Thu Jun 11 09:20:35 UTC 2015 - [email protected] + +- Version 2.6.0 + - add '-L <locale>' flag to specify request-locale + +------------------------------------------------------------------- +Wed Jun 3 15:15:58 UTC 2015 - [email protected] + +- Update to version 2.5.0 + - 'wsman -h' exits with zero + - properties and selectors are kept sorted + (requires Openwsman 2.5 now) + +- Version 2.4 was never released + +------------------------------------------------------------------- Old: ---- wsmancli-2.3.2.tar.bz2 New: ---- wsmancli-2.6.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wsmancli.spec ++++++ --- /var/tmp/diff_new_pack.Wi6HxO/_old 2015-06-16 14:05:18.000000000 +0200 +++ /var/tmp/diff_new_pack.Wi6HxO/_new 2015-06-16 14:05:18.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package wsmancli # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,8 +18,8 @@ Name: wsmancli BuildRequires: gcc-c++ -BuildRequires: libwsman-devel >= 2.4.12 -BuildRequires: libwsman_clientpp-devel >= 2.4.12 +BuildRequires: libwsman-devel >= 2.5.1 +BuildRequires: libwsman_clientpp-devel >= 2.5.1 BuildRequires: pkgconfig %if 0%{?suse_version} > 1010 BuildRequires: libcurl-devel @@ -27,7 +27,7 @@ # SLE 10 BuildRequires: curl-devel %endif -Version: 2.3.2 +Version: 2.6.0 Release: 0 Url: http://www.openwsman.org/ Summary: Command line client utilities for WS-Management ++++++ wsmancli-2.3.2.tar.bz2 -> wsmancli-2.6.0.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wsmancli-2.3.2/ChangeLog new/wsmancli-2.6.0/ChangeLog --- old/wsmancli-2.3.2/ChangeLog 2014-02-26 10:08:40.000000000 +0100 +++ new/wsmancli-2.6.0/ChangeLog 2015-06-11 10:04:38.000000000 +0200 @@ -1,3 +1,17 @@ +Version 2.6.0 + - add '-L <locale>' flag to specify request-locale + +Version 2.5.0 + - 'wsman -h' exits with zero + - properties and selectors are kept sorted + (requires Openwsman 2.5 now) + +Version 2.4 + - skipped - + +Version 2.3.2 + - keep properties (invoke call parameters) sorted + Version 2.3.1 - exit with non-zero code if connection fails - man pages (Kent Baxley) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wsmancli-2.3.2/configure new/wsmancli-2.6.0/configure --- old/wsmancli-2.3.2/configure 2015-01-15 08:45:00.000000000 +0100 +++ new/wsmancli-2.6.0/configure 2015-06-11 10:50:31.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for wsmancli 2.3.2. +# Generated by GNU Autoconf 2.69 for wsmancli 2.6.0. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -587,8 +587,8 @@ # Identity of this package. PACKAGE_NAME='wsmancli' PACKAGE_TARNAME='wsmancli' -PACKAGE_VERSION='2.3.2' -PACKAGE_STRING='wsmancli 2.3.2' +PACKAGE_VERSION='2.6.0' +PACKAGE_STRING='wsmancli 2.6.0' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1343,7 +1343,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.3.2 to adapt to many kinds of systems. +\`configure' configures wsmancli 2.6.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1413,7 +1413,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of wsmancli 2.3.2:";; + short | recursive ) echo "Configuration of wsmancli 2.6.0:";; esac cat <<\_ACEOF @@ -1536,7 +1536,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -wsmancli configure 2.3.2 +wsmancli configure 2.6.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2022,7 +2022,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.3.2, which was +It was created by wsmancli $as_me 2.6.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2887,7 +2887,7 @@ # Define the identity of the package. PACKAGE=wsmancli - VERSION=2.3.2 + VERSION=2.6.0 cat >>confdefs.h <<_ACEOF @@ -16639,12 +16639,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.7\""; } >&5 - ($PKG_CONFIG --exists --print-errors "openwsman >= 2.2.7") 2>&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openwsman >= 2.6.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "openwsman >= 2.6.0") 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.7" 2>/dev/null` + pkg_cv_OPENWSMAN_CFLAGS=`$PKG_CONFIG --cflags "openwsman >= 2.6.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -16656,12 +16656,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.7\""; } >&5 - ($PKG_CONFIG --exists --print-errors "openwsman >= 2.2.7") 2>&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openwsman >= 2.6.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "openwsman >= 2.6.0") 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.7" 2>/dev/null` + pkg_cv_OPENWSMAN_LIBS=`$PKG_CONFIG --libs "openwsman >= 2.6.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -16682,14 +16682,14 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - OPENWSMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openwsman >= 2.2.7" 2>&1` + OPENWSMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openwsman >= 2.6.0" 2>&1` else - OPENWSMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openwsman >= 2.2.7" 2>&1` + OPENWSMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openwsman >= 2.6.0" 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.7) were not met: + as_fn_error $? "Package requirements (openwsman >= 2.6.0) were not met: $OPENWSMAN_PKG_ERRORS @@ -17351,7 +17351,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.3.2, which was +This file was extended by wsmancli $as_me 2.6.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -17417,7 +17417,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.3.2 +wsmancli config.status 2.6.0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wsmancli-2.3.2/configure.in new/wsmancli-2.6.0/configure.in --- old/wsmancli-2.3.2/configure.in 2015-01-15 08:43:41.000000000 +0100 +++ new/wsmancli-2.6.0/configure.in 2015-06-11 10:49:08.000000000 +0200 @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(wsmancli, 2.3.2) +AC_INIT(wsmancli, 2.6.0) AC_CONFIG_SRCDIR(wsmancli.spec.in) AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) AM_CONFIG_HEADER(config.h) @@ -18,7 +18,7 @@ PACKAGE_BUILDTS=`date +%Y%m%d%H%M` AC_SUBST(PACKAGE_BUILDTS) -PKG_CHECK_MODULES(OPENWSMAN, [openwsman >= 2.2.7]) +PKG_CHECK_MODULES(OPENWSMAN, [openwsman >= 2.6.0]) 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.3.2/src/wseventmgr.c new/wsmancli-2.6.0/src/wseventmgr.c --- old/wsmancli-2.3.2/src/wseventmgr.c 2014-02-24 12:50:07.000000000 +0100 +++ new/wsmancli-2.6.0/src/wseventmgr.c 2015-01-22 09:04:31.000000000 +0100 @@ -272,6 +272,9 @@ } return FALSE; } + else if (retval == 2) { /* found help */ + exit(0); + } if (argc > 2) { _action = argv[1]; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wsmancli-2.3.2/src/wsman.c new/wsmancli-2.6.0/src/wsman.c --- old/wsmancli-2.3.2/src/wsman.c 2015-01-14 16:41:07.000000000 +0100 +++ new/wsmancli-2.6.0/src/wsman.c 2015-06-11 10:03:18.000000000 +0200 @@ -103,6 +103,7 @@ static char *cim_namespace = NULL; static char *fragment = NULL; +static char *locale = NULL; static char *wsm_filter = NULL; static char *wsm_dialect = NULL; static char *input = NULL; @@ -249,6 +250,8 @@ "maximal envelope size", "<size>"}, {"fragment", 'F', U_OPTION_ARG_STRING, &fragment, "Fragment (Supported Dialects: XPATH)", "<fragment>"}, + {"locale", 'L', U_OPTION_ARG_STRING, &locale, + "Locale for this request", "<RFC 5646 language code>"}, {NULL} }; @@ -373,6 +376,9 @@ } return FALSE; } + else if (retval == 2) { /* help */ + exit(0); + } if (my_version) { fprintf(stdout, PACKAGE_STRING " (" PACKAGE_BUILDTS ")\n\n"); @@ -737,6 +743,9 @@ if (fragment) { options->fragment = fragment; } + if (locale) { + options->locale = locale; + } wsman_options_set_properties(options); options->cim_ns = cim_namespace; @@ -877,7 +886,7 @@ hnode_t *hn; hash_t *selfilter = NULL; hash_t *selectors_new = NULL; - selector_entry *entry; + key_value_t *entry; selectors_new = hash_create2(HASHCOUNT_T_MAX, 0, 0); selfilter = u_parse_query(wsm_filter); if (!selfilter) { @@ -886,9 +895,9 @@ } hash_scan_begin(&hs, selfilter); while ((hn = hash_scan_next(&hs))) { - entry = u_malloc(sizeof(selector_entry)); + entry = u_malloc(sizeof(key_value_t)); entry->type = 0; - entry->entry.text = (char *)hnode_get(hn); + entry->v.text = (char *)hnode_get(hn); hash_alloc_insert(selectors_new, hnode_getkey(hn), entry); }
