Hello community,

here is the log from the commit of package sblim-sfcc for openSUSE:Factory 
checked in at 2012-12-22 22:18:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sblim-sfcc (Old)
 and      /work/SRC/openSUSE:Factory/.sblim-sfcc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sblim-sfcc", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/sblim-sfcc/sblim-sfcc.changes    2012-11-21 
17:22:36.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.sblim-sfcc.new/sblim-sfcc.changes       
2012-12-22 22:18:06.000000000 +0100
@@ -1,0 +2,11 @@
+Fri Dec 21 09:08:56 UTC 2012 - [email protected]
+
+- update to 2.2.5
+  - 3586680: improve error reporting in cmciConnect2
+  - 3566968: sfcc enumInstances fails to parse the xml
+  - 3555103: wrong declaration of release attribute in _CIMCArgsFT
+  - 3547832: memory leak in backend/cimxml/grammer.c
+
+- drop patches, all included in 2.2.5
+
+-------------------------------------------------------------------

Old:
----
  0001-3547832-memory-leak-in-backend-cimxml-grammer.c.patch
  0001-Improve-error-reporting-within-cmciConnect2.patch
  0002-3555103-wrong-declaration-of-release-attribute-in-_C.patch
  0003-3566968-sfcc-enumInstances-fails-to-parse-the-xml.patch
  sblim-sfcc-2.2.4.tar.bz2

New:
----
  sblim-sfcc-2.2.5.tar.bz2

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

Other differences:
------------------
++++++ sblim-sfcc.spec ++++++
--- /var/tmp/diff_new_pack.ydbIYo/_old  2012-12-22 22:18:07.000000000 +0100
+++ /var/tmp/diff_new_pack.ydbIYo/_new  2012-12-22 22:18:07.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           sblim-sfcc
-Version:        2.2.4
+Version:        2.2.5
 Release:        0
 Url:            http://sblim.wiki.sourceforge.net/
 Summary:        Small Footprint CIM Client Library
@@ -26,14 +26,6 @@
 Source:         %{name}-%{version}.tar.bz2
 Source1:        autoconfiscate.sh
 
-# patches from upstream past 2.2.4
-Patch1:         0001-3547832-memory-leak-in-backend-cimxml-grammer.c.patch
-Patch2:         0002-3555103-wrong-declaration-of-release-attribute-in-_C.patch
-Patch3:         0003-3566968-sfcc-enumInstances-fails-to-parse-the-xml.patch
-
-# upstream ID 3586680 ([email protected])
-Patch10:        0001-Improve-error-reporting-within-cmciConnect2.patch
-
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
@@ -64,11 +56,6 @@
 %prep
 %setup -q
 
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch10 -p1
-
 %build
 # autoconfiscate
 sh %{S:1}

++++++ sblim-sfcc-2.2.4.tar.bz2 -> sblim-sfcc-2.2.5.tar.bz2 ++++++
++++ 22103 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/sblim-sfcc-2.2.4/ChangeLog new/sblim-sfcc-2.2.5/ChangeLog
--- old/sblim-sfcc-2.2.4/ChangeLog      2012-06-07 19:55:27.000000000 +0200
+++ new/sblim-sfcc-2.2.5/ChangeLog      2012-09-12 17:40:09.000000000 +0200
@@ -1,3 +1,9 @@
+2012-07-31  Chris Buccella  <[email protected]>
+
+       * backend/cimxml/grammar.c:
+       [ 3547832 ] memory leak in backend/cimxml/grammer.c
+       (patch by Michal Minar)
+
 2012-06-07  Chris Buccella  <[email protected]>
 
        * backend/cimxml/client.c, cimc/cimc.h, cimc/cimcclient.c:
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/sblim-sfcc-2.2.4/INSTALL new/sblim-sfcc-2.2.5/INSTALL
--- old/sblim-sfcc-2.2.4/INSTALL        2010-01-18 20:17:48.000000000 +0100
+++ new/sblim-sfcc-2.2.5/INSTALL        2012-04-02 19:37:09.000000000 +0200
@@ -1,8 +1,8 @@
 Installation Instructions
 *************************
 
-Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
-2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation,
+Inc.
 
    Copying and distribution of this file, with or without modification,
 are permitted in any medium without royalty provided the copyright
@@ -226,6 +226,11 @@
 
 and if that doesn't work, install pre-built binaries of GCC for HP-UX.
 
+   HP-UX `make' updates targets which have the same time stamps as
+their prerequisites, which makes it generally unusable when shipped
+generated files such as `configure' are involved.  Use GNU `make'
+instead.
+
    On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
 parse its `<wchar.h>' header file.  The option `-nodtk' can be used as
 a workaround.  If GNU CC is not installed, it is therefore recommended
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/sblim-sfcc-2.2.4/NEWS new/sblim-sfcc-2.2.5/NEWS
--- old/sblim-sfcc-2.2.4/NEWS   2012-06-07 19:55:47.000000000 +0200
+++ new/sblim-sfcc-2.2.5/NEWS   2012-12-20 20:49:11.000000000 +0100
@@ -1,5 +1,14 @@
 Small Footprint CIM Client Library NEWS
 
+Changes in 2.2.5
+================
+
+Bugs:
+- 3586680: improve error reporting in cmciConnect2
+- 3566968: sfcc enumInstances fails to parse the xml
+- 3555103: wrong declaration of release attribute in _CIMCArgsFT
+- 3547832: memory leak in backend/cimxml/grammer.c
+
 Changes in 2.2.4
 ================
 
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/sblim-sfcc-2.2.4/TEST/Makefile.am new/sblim-sfcc-2.2.5/TEST/Makefile.am
--- old/sblim-sfcc-2.2.4/TEST/Makefile.am       2011-04-07 23:38:53.000000000 
+0200
+++ new/sblim-sfcc-2.2.5/TEST/Makefile.am       2012-12-20 21:00:21.000000000 
+0100
@@ -97,7 +97,7 @@
 
 test_ec_SOURCES = test_ec.c \
                    show.c
-test_ec_LDADD = ../libcmpisfcc.la
+test_ec_LDADD = ../libcmpisfcc.la 
 
 test_ecn_SOURCES = test_ecn.c \
                    show.c
@@ -180,25 +180,25 @@
 test_qualifiers2_LDADD = ../libcmpisfcc.la
 
 v2test_ec_SOURCES = v2test_ec.c show.c
-v2test_ec_LDADD   = ../libcmpisfcc.la
+v2test_ec_LDADD   = ../libcmpisfcc.la ../libcimcclient.la
 
 v2test_ecn_SOURCES = v2test_ecn.c show.c
-v2test_ecn_LDADD   = ../libcmpisfcc.la
+v2test_ecn_LDADD   = ../libcmpisfcc.la ../libcimcclient.la
 
 v2test_ei_SOURCES = v2test_ei.c show.c
-v2test_ei_LDADD   = ../libcmpisfcc.la
+v2test_ei_LDADD   = ../libcmpisfcc.la ../libcimcclient.la
 
 v2test_ein_SOURCES = v2test_ein.c show.c
-v2test_ein_LDADD   = ../libcmpisfcc.la
+v2test_ein_LDADD   = ../libcmpisfcc.la ../libcimcclient.la
 
 v2test_gc_SOURCES = v2test_gc.c show.c
-v2test_gc_LDADD   = ../libcmpisfcc.la
+v2test_gc_LDADD   = ../libcmpisfcc.la ../libcimcclient.la
 
 v2test_im_SOURCES = v2test_im.c show.c
-v2test_im_LDADD   = ../libcmpisfcc.la
+v2test_im_LDADD   = ../libcmpisfcc.la ../libcimcclient.la
 
 v2test_xq_synerr_SOURCES = v2test_xq_synerr.c show.c
-v2test_xq_synerr_LDADD   = ../libcmpisfcc.la
+v2test_xq_synerr_LDADD   = ../libcmpisfcc.la ../libcimcclient.la
 
 print_types_SOURCES = print-types.c
 
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/sblim-sfcc-2.2.4/backend/cimxml/cimXmlParser.c 
new/sblim-sfcc-2.2.5/backend/cimxml/cimXmlParser.c
--- old/sblim-sfcc-2.2.4/backend/cimxml/cimXmlParser.c  2012-05-29 
20:11:45.000000000 +0200
+++ new/sblim-sfcc-2.2.5/backend/cimxml/cimXmlParser.c  2012-11-05 
17:55:22.000000000 +0100
@@ -757,9 +757,10 @@
 {
    static XmlElement elm[] = {
       {"VALUETYPE"},
+      {"TYPE"},
       {NULL}
    };
-   XmlAttr attr[1] = {
+   XmlAttr attr[2] = {
       {NULL}
    };
    char *val;
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/sblim-sfcc-2.2.4/backend/cimxml/grammar.c 
new/sblim-sfcc-2.2.5/backend/cimxml/grammar.c
--- old/sblim-sfcc-2.2.4/backend/cimxml/grammar.c       2011-05-28 
01:21:06.000000000 +0200
+++ new/sblim-sfcc-2.2.5/backend/cimxml/grammar.c       2012-09-12 
17:40:09.000000000 +0200
@@ -571,7 +571,7 @@
 static void valueObjectWithPathData(ParserControl *parm, parseUnion 
*stateUnion)
 {
        parseUnion lvalp={0};
-       CMPIObjectPath *op;
+       CMPIObjectPath *op = NULL;
        CMPIInstance *inst;
        ct = localLex((parseUnion*)&stateUnion->xtokObjectWithPathData, parm);
        if(ct == XTOK_CLASSPATH) {
@@ -590,6 +590,7 @@
                setInstQualifiers(inst, 
&stateUnion->xtokObjectWithPathData.inst.inst.qualifiers);
                setInstProperties(inst, 
&stateUnion->xtokObjectWithPathData.inst.inst.properties);
                
simpleArrayAdd(parm->respHdr.rvArray,(CMPIValue*)&inst,CMPI_instance);
+               if (op) op->ft->release(op);
        }
        else {
                parseError("XTOK_CLASSPATH or XTOK_INSTANCEPATH", ct, parm);
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/sblim-sfcc-2.2.4/cimc/cimcft.h new/sblim-sfcc-2.2.5/cimc/cimcft.h
--- old/sblim-sfcc-2.2.4/cimc/cimcft.h  2010-09-07 22:52:55.000000000 +0200
+++ new/sblim-sfcc-2.2.5/cimc/cimcft.h  2012-09-12 17:40:09.000000000 +0200
@@ -434,7 +434,7 @@
 
   struct _CIMCArgsFT {
     int ftVersion;
-    CIMCStatus (*release) (CIMCArgs args);
+    CIMCStatus (*release) (CIMCArgs* args);
     CIMCArgs* (*clone) (CIMCArgs* args, CIMCStatus* rc);
     CIMCStatus (*addArg) (CIMCArgs* args, const char* name, CIMCValue* value, 
CIMCType type);
     CIMCData (*getArg) (CIMCArgs * args, const char * name, CIMCStatus * rc);
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/sblim-sfcc-2.2.4/configure.ac new/sblim-sfcc-2.2.5/configure.ac
--- old/sblim-sfcc-2.2.4/configure.ac   2012-06-12 21:43:54.000000000 +0200
+++ new/sblim-sfcc-2.2.5/configure.ac   2012-12-20 22:24:02.000000000 +0100
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.59)
-AC_INIT(sblim-sfcc, 2.2.4, [email protected])
+AC_INIT(sblim-sfcc, 2.2.5, [email protected])
 AC_CONFIG_SRCDIR([cimc/cimcclient.c])
 AC_CONFIG_HEADER([config.h])
 
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/sblim-sfcc-2.2.4/frontend/sfcc/sfcclient.c 
new/sblim-sfcc-2.2.5/frontend/sfcc/sfcclient.c
--- old/sblim-sfcc-2.2.4/frontend/sfcc/sfcclient.c      2011-05-28 
01:38:39.000000000 +0200
+++ new/sblim-sfcc-2.2.5/frontend/sfcc/sfcclient.c      2012-12-20 
20:30:15.000000000 +0100
@@ -76,10 +76,11 @@
                         CMPIStatus *rc)
 {  
   CMCIClient     *cc = NULL;
-  char           *msg;
+  char           *msg = NULL;
   int             retc = 0;
   char           *client;
 
+  if (rc) rc->rc = CMPI_RC_OK;
   pthread_mutex_lock(&ConnectionControl.ccMux);
   if (ConnectionControl.ccCount == 0) {
     client = getenv("SFCC_CLIENT");
@@ -94,8 +95,15 @@
   }
   if (retc || ConnectionControl.ccEnv == NULL) {
     if(rc) {
-      rc->rc=CMPI_RC_ERR_FAILED;
-      rc->msg=NULL;
+      rc->rc = CMPI_RC_ERR_FAILED;
+      if (msg) {
+        fprintf(stderr, "sfcc: NewCIMCEnv failed: %s\n", msg);
+        free(msg);
+      }
+      else {
+        fprintf(stderr, "sfcc: NewCIMCEnv failed without message\n");
+      }
+      rc->msg = NULL; /* Can't create CMPIString without 
ConnectionControl.ccEnv ! */
     }
     cc=NULL;
   } else {
@@ -113,8 +121,10 @@
     /* cleanup ccEnv after pthread_mutex_unlock */
     cmciRelease(NULL);
     if (rc) {
-      rc->rc = CMPI_RC_ERR_FAILED;
-      rc->msg = NULL;
+      if (rc->rc == CMPI_RC_OK)
+        rc->rc = CMPI_RC_ERR_FAILED;
+      if (rc->msg == NULL && ConnectionControl.ccEnv != NULL)
+        rc->msg = native_new_CMPIString("Connection failed", NULL);
     }
   }
 
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/sblim-sfcc-2.2.4/missing new/sblim-sfcc-2.2.5/missing
--- old/sblim-sfcc-2.2.4/missing        2010-01-18 20:17:48.000000000 +0100
+++ new/sblim-sfcc-2.2.5/missing        2012-04-02 19:37:09.000000000 +0200
@@ -1,10 +1,10 @@
 #! /bin/sh
 # Common stub for a few missing GNU programs while installing.
 
-scriptversion=2009-04-28.21; # UTC
+scriptversion=2012-01-06.13; # UTC
 
 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
-# 2008, 2009 Free Software Foundation, Inc.
+# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
 # Originally by Fran,cois Pinard <[email protected]>, 1996.
 
 # This program is free software; you can redistribute it and/or modify
@@ -84,7 +84,6 @@
   help2man     touch the output file
   lex          create \`lex.yy.c', if possible, from existing .c
   makeinfo     touch the output file
-  tar          try tar, gnutar, gtar, then tar without non-portable flags
   yacc         create \`y.tab.[ch]', if possible, from existing .[ch]
 
 Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
@@ -122,15 +121,6 @@
     # Not GNU programs, they don't have --version.
     ;;
 
-  tar*)
-    if test -n "$run"; then
-       echo 1>&2 "ERROR: \`tar' requires --run"
-       exit 1
-    elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
-       exit 1
-    fi
-    ;;
-
   *)
     if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
        # We have it, but it failed.
@@ -226,7 +216,7 @@
          \`Bison' from any GNU archive site."
     rm -f y.tab.c y.tab.h
     if test $# -ne 1; then
-        eval LASTARG="\${$#}"
+        eval LASTARG=\${$#}
        case $LASTARG in
        *.y)
            SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
@@ -256,7 +246,7 @@
          \`Flex' from any GNU archive site."
     rm -f lex.yy.c
     if test $# -ne 1; then
-        eval LASTARG="\${$#}"
+        eval LASTARG=\${$#}
        case $LASTARG in
        *.l)
            SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
@@ -318,41 +308,6 @@
     touch $file
     ;;
 
-  tar*)
-    shift
-
-    # We have already tried tar in the generic part.
-    # Look for gnutar/gtar before invocation to avoid ugly error
-    # messages.
-    if (gnutar --version > /dev/null 2>&1); then
-       gnutar "$@" && exit 0
-    fi
-    if (gtar --version > /dev/null 2>&1); then
-       gtar "$@" && exit 0
-    fi
-    firstarg="$1"
-    if shift; then
-       case $firstarg in
-       *o*)
-           firstarg=`echo "$firstarg" | sed s/o//`
-           tar "$firstarg" "$@" && exit 0
-           ;;
-       esac
-       case $firstarg in
-       *h*)
-           firstarg=`echo "$firstarg" | sed s/h//`
-           tar "$firstarg" "$@" && exit 0
-           ;;
-       esac
-    fi
-
-    echo 1>&2 "\
-WARNING: I can't seem to be able to run \`tar' with the given arguments.
-         You may want to install GNU tar or Free paxutils, or check the
-         command line arguments."
-    exit 1
-    ;;
-
   *)
     echo 1>&2 "\
 WARNING: \`$1' is needed, and is $msg.
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/sblim-sfcc-2.2.4/sfcc.spec new/sblim-sfcc-2.2.5/sfcc.spec
--- old/sblim-sfcc-2.2.4/sfcc.spec      2012-06-12 21:44:17.000000000 +0200
+++ new/sblim-sfcc-2.2.5/sfcc.spec      2012-12-20 22:25:29.000000000 +0100
@@ -8,7 +8,7 @@
 
 Summary: Small Footprint CIM Client Library
 Name: sblim-sfcc
-Version: 2.2.4
+Version: 2.2.5
 Release: 0
 Group: Systems Management/Base
 License: EPL

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

Reply via email to