Hello community,

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

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

Changes:
--------
--- /work/SRC/openSUSE:Factory/sblim-sfcb/sblim-sfcb.changes    2011-10-02 
11:14:35.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.sblim-sfcb.new/sblim-sfcb.changes       
2012-04-12 09:51:58.000000000 +0200
@@ -1,0 +2,98 @@
+Tue Apr  3 07:45:47 UTC 2012 - [email protected]
+
+Changes in 1.3.14
+=================
+
+New features:
+
+- 3367333 New entry point for authentication library
+- 3367332 RHOST Support for PAM
+- 3435778 Preserve leading/trailing whitespace in values
+- 3433733 CreationClassNames should be supplied
+- 3446179 Add a feature to validate CMPI types
+- 3484025 Disable indication sequencing
+- 3462309 Do not allow multiple instances of sfcb
+- 3488688 Don't spawn logger for clients
+- 3493493 Add sfcbsem
+- 3495060 Verify filter and handler information during subscription
+- 3498932 Implement ModifyInstance for CIM_ListenerDestination
+- 3367361 Allow for releasing auth handle after CIM request completes
+- 3367363 Add CMPIRole Support
+- 3512575 Add indication delivery thread limit and timeout
+
+Bugs fixed: 
+
+- 3414700 assocClass ignored for assoc upcalls
+- 3416055 SIGSEGV sometimes does not print provider name
+- 3416167 CIM_InstDeletion not in class repo by default
+- 3422650 Associators calls to IndicationService depends on cmpi-base
+- 3428806 type=null in authorizeFilter call
+- 3419721 reset CMPIValue buffer in str2CMPIValue
+- 3478930 Handle SIGPIPE in providerMgr
+- 3478933 Sequence Number reset issues
+- 3483294 InternalProvider Should Handle SFCB_RegisteredProfile
+- 3485438 segfault while retrying to deliver an indication
+- 3486814 sfcb crashes while freeing the cimxml response
+- 3485830 SFCB Makes Redundant ActivateFilter Calls
+- 3487419 TestIndication Provider Does Enable Correctly
+- 3487675 Log messages can be concatenated
+- 3492362 Problem with whitespace trimming if local connect only
+- 3457460 PAM_RHOST set wrong
+- 3495343 Bad pointer references in trace statements
+- 3416164 Don't write CIM_IndicationService to disk
+- 3495801 Correction to 3495343
+- 3495789 Makefile improvements for test suite
+- 3495806 isChild() can cause a provider mismatch
+- 3483200 duplicate indication deliveries
+- 3496061 IndicationSubscription May Be Undeletable
+- 3484083 Exclude SFCBIndicationID
+- 3496383 Faster Return from CBDeliverIndication
+- 3416060 sigsegv in tool_mm_flush()
+- 3497096 double free during stopProc
+- 3497765 Better Error Handling in sfcb Provider Manager and Driver
+- 3497950 SFCB Semaphore Handling Improvements
+- 3498275 Remove __Namespace
+- 3498044 RIEnabled conflicts with settable retries
+- 3426027 cimAccountPassThrough does not set return code
+- 3498719 Better SSL error reporting for sfcb
+- 3471814 segfault in objectImpl.c:131,ClObjectGetClString
+- 3499930 Check file repository writes
+- 3497209 oom panic: out of memory using fsp indprovider
+- 3504607 CMPIRole Support in brokerUpc
+- 3506306 Fix count for InvokeMethod requests
+- 3498496 sfcb hangs and fails to respond to CIM requests
+- 3512425 SequenceContext needs to be set at startup
+- 3510458 Malformed XML response to GetProperty
+- 3510456 GetProperty calls not passing keys to providers
+- 3505407 Client openlog changes settings
+- 3408288 Safer Signal Handlers
+- 3441028 sblim-sfcb fails on large https requests
+- 3416054 Provider continues despite SIGSEGV
+- 3512094 SFCB can leak PAM handles under error conditions
+
+-------------------------------------------------------------------
+Fri Mar 16 08:11:15 UTC 2012 - [email protected]
+
+- Make License tag spdx.org compliant
+
+-------------------------------------------------------------------
+Thu Mar  8 14:04:08 UTC 2012 - [email protected]
+
+- Provide a way to pass provider information via argv to 'ps'
+  for debug purposes. Set "argvDebug: true" in sfcb.cfg
+
+-------------------------------------------------------------------
+Tue Nov 22 09:40:40 UTC 2011 - [email protected]
+
+- Fix large https requests. Check SSL buffer before doing
+  a select() on the socket. bnc#716299, upstream 3441028
+
+-------------------------------------------------------------------
+Sat Oct  1 11:56:00 UTC 2011 - [email protected]
+
+- Fixes (upstream Ids)
+  - 3416054: Provider continues despite SIGSEGV
+  - 3416055: SIGSEGV sometimes does not print provider name
+  - 3416060: SIGSEGV in tool_mm_flush()
+
+-------------------------------------------------------------------

Old:
----
  sblim-sfcb-1.3.13.tar.bz2

New:
----
  0004-Don-t-call-tool_mm_flush-during-OPS_LoadProvider.patch
  0006-Reflect-provider-information-in-ps-via-argv.patch
  sblim-sfcb-1.3.14.tar.bz2
  use-local-cmpi-header-file.patch

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

Other differences:
------------------
++++++ sblim-sfcb.spec ++++++
--- /var/tmp/diff_new_pack.8xYMRm/_old  2012-04-12 09:51:59.000000000 +0200
+++ /var/tmp/diff_new_pack.8xYMRm/_new  2012-04-12 09:51:59.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package sblim-sfcb
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -18,12 +18,12 @@
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Summary:        Small Footprint CIM Broker
+License:        EPL-1.0
+Group:          System/Management
 
 Name:           sblim-sfcb
-Version:        1.3.13
-Release:        2
-Group:          System/Management
-License:        Other uncritical OpenSource License ; "CPL 1.0 ..." ; CPL 1.0
+Version:        1.3.14
+Release:        0
 Url:            http://sblim.sf.net/
 
 Provides:       openwbem = 3.2.2
@@ -39,24 +39,28 @@
 Source5:        %{name}-rpmlintrc
 Source6:        susefirewall.conf
 Patch1:         pending-upstream.patch
+Patch4:         0004-Don-t-call-tool_mm_flush-during-OPS_LoadProvider.patch
+Patch6:         0006-Reflect-provider-information-in-ps-via-argv.patch
+Patch7:         use-local-cmpi-header-file.patch
 
-Provides:       cimserver
 Provides:       cim-server
+Provides:       cimserver
 %if 0%{?suse_version} >= 1030
 BuildRequires:  libcurl-devel
 %else
 BuildRequires:  curl-devel
 %endif
+BuildRequires:  cim-schema
 BuildRequires:  libtool
-BuildRequires:  zlib-devel
 BuildRequires:  openssl-devel
 BuildRequires:  pam-devel
-BuildRequires:  cim-schema
 BuildRequires:  sblim-sfcc-devel
+BuildRequires:  zlib-devel
 %if 0%{?rhel_version} == 0 && 0%{?centos_version} == 0
 BuildRequires:  openslp-devel
 %endif
-BuildRequires:  bison flex
+BuildRequires:  bison
+BuildRequires:  flex
 BuildRequires:  unzip
 # RHEL4 explicitly requires gcc
 %if 0%{?rhel_version} >= 400 || 0%{?centos_version} >= 400
@@ -90,6 +94,9 @@
 %prep
 %setup -q -n %{name}-%{version}
 %patch1 -p1
+%patch4 -p1
+%patch6 -p1
+%patch7 -p1
 
 export PATCH_GET=0
 
@@ -120,7 +127,7 @@
 #if test -d mofc; then cd mofc && autoreconf -f -i; fi
 #%%configure --enable-debug --enable-ssl --enable-pam --enable-ipv6 
CIMSCHEMA_SOURCE=%{SOURCE1} CIMSCHEMA_MOF=cimv216.mof CIMSCHEMA_SUBDIRS=y
 mkdir -p m4
-%if 0%{?rhel_version} == 0
+%if 0%{?rhel_version} == 0 && 0%{?centos_version} == 0
 WITH_SLP=--enable-slp
 %else
 WITH_SLP=

++++++ 0004-Don-t-call-tool_mm_flush-during-OPS_LoadProvider.patch ++++++
>From cb5e8339dc7e60c83f84566c2ca150305ce91903 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <[email protected]>
Date: Sat, 1 Oct 2011 08:29:56 +0200
Subject: [PATCH 4/4] Don't call tool_mm_flush() during OPS_LoadProvider

This fixes a SIGSEGV reported upstream as 3416060
---
 providerDrv.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff -wruN -x '*~' ../orig-sblim-sfcb-1.3.14/providerDrv.c ./providerDrv.c
--- ../orig-sblim-sfcb-1.3.14/providerDrv.c     2012-03-31 01:15:00.000000000 
+0200
+++ ./providerDrv.c     2012-04-03 09:27:51.000000000 +0200
@@ -3028,6 +3028,7 @@
 #endif
    }  
     
+   if (pInfo)
    tool_mm_flush();
    
    if (pInfo && idleThreadStartHandled==0) {
-- 
1.7.6.1

++++++ 0006-Reflect-provider-information-in-ps-via-argv.patch ++++++
>From 48cd38bd8ca5de5a524a9cb44f3939415e754bf9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <[email protected]>
Date: Thu, 8 Mar 2012 14:34:41 +0100
Subject: [PATCH] Reflect provider information in 'ps' via argv

This patch changes the argv[] buffer to contain provider information
(provider name, location and class name) making it easier to debug
misbehaving providers.
Set
  argvDebug: true
in sfcb.cfg to enable this.
---
 control.c       |    1 +
 providerDrv.c   |   39 +++++++++++++++++++++++++++++++++++++++
 sfcBroker.c     |    6 ++++++
 sfcb.cfg.pre.in |    5 +++++
 4 files changed, 51 insertions(+), 0 deletions(-)

diff -wruN -x '*~' ../orig-sblim-sfcb-1.3.14/control.c ./control.c
--- ../orig-sblim-sfcb-1.3.14/control.c 2012-03-30 19:56:41.000000000 +0200
+++ ./control.c 2012-04-03 09:30:45.000000000 +0200
@@ -61,6 +61,7 @@
 // { property, type, value}
 // Type: 0=string, 1=num, 2=bool, 3=unstripped string
 Control init[] = {
+   {"argvDebug",        2, "false"},
    {"httpPort",         1, "5988"},
    {"enableHttp",       2, "true"},
    {"enableUds",        2, "true"},
diff -wruN -x '*~' ../orig-sblim-sfcb-1.3.14/providerDrv.c ./providerDrv.c
--- ../orig-sblim-sfcb-1.3.14/providerDrv.c     2012-03-31 01:15:00.000000000 
+0200
+++ ./providerDrv.c     2012-04-03 09:30:45.000000000 +0200
@@ -894,6 +894,42 @@
    _SFCB_RETURN(-1);
 }
 
+static int *origArgcPtr;
+static char ***origArgvPtr;
+void passOrigArgPtrs(int *argc, char ***argv)
+{
+  origArgcPtr = argc;
+  origArgvPtr = argv;
+}
+
+/* Reflect provider in argv (restartArgv) for 'ps'
+ * if argvDebug=true in sfcb.conf
+ */
+  
+void providerStarted(ProviderInfo * info)
+{
+  char **argv;
+  char *ptr;
+
+  if (origArgvPtr == NULL)
+    return; /* disabled in conf */
+
+  argv = *origArgvPtr;
+  ptr = argv[0];
+  
+  argv[0] = strcpy(ptr,"sfcbd "); ptr += (strlen(argv[0]));
+  argv[1] = strcpy(ptr,"provider:"); ptr += (strlen(argv[1]));
+  argv[2] = strcpy(ptr,info->providerName); ptr += (strlen(argv[2]));
+  argv[3] = strcpy(ptr," -class:"); ptr += (strlen(argv[3]));
+  argv[4] = strcpy(ptr,info->className); ptr += (strlen(argv[4]));
+  argv[5] = strcpy(ptr," -location:"); ptr += (strlen(argv[5]));
+  argv[6] = strcpy(ptr,info->location); ptr += (strlen(argv[6]));
+//  *origArgvPtr = argv;
+  *origArgcPtr = 7;
+
+  fprintf(stderr, "Provider %s started for %s from %s\n", info->providerName, 
info->className, info->location);
+}
+
 // I think we should break this function into two subfunctions:
 // something like isLoaded() and doForkProvider()
 int forkProvider(ProviderInfo * info, OperationHdr * req, char **msg)
@@ -946,6 +982,8 @@
       BinRequestContext binCtx;
       BinResponseHdr *resp;
 
+      providerStarted(info);
+
       memset(&binCtx,0,sizeof(BinRequestContext));
       sreq.className = setCharsMsgSegment(info->className);
       sreq.libName = setCharsMsgSegment(info->location);
diff -wruN -x '*~' ../orig-sblim-sfcb-1.3.14/sfcb.cfg.pre.in ./sfcb.cfg.pre.in
--- ../orig-sblim-sfcb-1.3.14/sfcb.cfg.pre.in   2012-03-29 17:39:33.000000000 
+0200
+++ ./sfcb.cfg.pre.in   2012-04-03 09:30:45.000000000 +0200
@@ -11,6 +11,11 @@
 ## Use '#' at the start of a line to comment
 ## 
 
+##--- Debug ---
+## Show provider information via argv, viewable in 'ps' output
+## Default: false
+argvDebug: true
+
 ##------------------------------------- HTTP ----------------------------------
 ## Enable HTTP. 
 ## Default is true. If HTTPS is configured, default is false.
diff -wruN -x '*~' ../orig-sblim-sfcb-1.3.14/sfcBroker.c ./sfcBroker.c
--- ../orig-sblim-sfcb-1.3.14/sfcBroker.c       2012-03-05 20:12:09.000000000 
+0100
+++ ./sfcBroker.c       2012-04-03 09:30:45.000000000 +0200
@@ -556,6 +556,8 @@
     exit(0);
 }
 
+extern void passOrigArgPtrs(int *argc, char ***argv);
+
 int main(int argc, char *argv[])
 {
    int c, i;
@@ -565,6 +567,7 @@
    int enableUds=0;
 #endif
    int 
enableHttp=0,enableHttps=0,useChunking=0,doBa=0,enableInterOp=0,httpLocalOnly=0;
+   int argvDebug = 0;
    int syslogLevel=LOG_ERR;
    long dSockets,sSockets,pSockets;
    char *pauseStr;
@@ -731,6 +734,9 @@
      printf("--- Provider pausing for: %s\n",pauseStr);
    }
       
+   if (getControlBool("argvDebug", &argvDebug) == 0)
+       passOrigArgPtrs(&argc, &argv);
+
    if (getControlBool("enableHttp", &enableHttp))
       enableHttp=1;
 
++++++ pending-upstream.patch ++++++
--- /var/tmp/diff_new_pack.8xYMRm/_old  2012-04-12 09:51:59.000000000 +0200
+++ /var/tmp/diff_new_pack.8xYMRm/_new  2012-04-12 09:51:59.000000000 +0200
@@ -1,6 +1,6 @@
-diff -wruN -x '*~' ../orig-sblim-sfcb-1.3.13/cimcClientSfcbLocal.c 
./cimcClientSfcbLocal.c
---- ../orig-sblim-sfcb-1.3.13/cimcClientSfcbLocal.c    2011-09-27 
17:31:48.000000000 +0200
-+++ ./cimcClientSfcbLocal.c    2011-09-30 09:00:18.000000000 +0200
+diff -wruN -x '*~' ../orig-sblim-sfcb-1.3.14/cimcClientSfcbLocal.c 
./cimcClientSfcbLocal.c
+--- ../orig-sblim-sfcb-1.3.14/cimcClientSfcbLocal.c    2012-03-29 
16:39:53.000000000 +0200
++++ ./cimcClientSfcbLocal.c    2012-04-03 09:32:58.000000000 +0200
 @@ -214,7 +214,6 @@
    if (cl->connection) CMRelease(cl->connection);
  
@@ -9,7 +9,7 @@
    return rc;
  }
  
-@@ -1907,6 +1906,7 @@
+@@ -1916,6 +1915,7 @@
  static void* release(ClientEnv* ce)
  {
     void *lib=ce->hdl;
@@ -17,12 +17,12 @@
     CONNECT_LOCK();
     if (localConnectCount > 0) localConnectCount -= 1;
     if (localConnectCount == 0) {
-diff -wruN -x '*~' ../orig-sblim-sfcb-1.3.13/configure.ac ./configure.ac
---- ../orig-sblim-sfcb-1.3.13/configure.ac     2011-09-29 18:04:10.000000000 
+0200
-+++ ./configure.ac     2011-09-30 09:00:18.000000000 +0200
+diff -wruN -x '*~' ../orig-sblim-sfcb-1.3.14/configure.ac ./configure.ac
+--- ../orig-sblim-sfcb-1.3.14/configure.ac     2012-03-31 01:37:23.000000000 
+0200
++++ ./configure.ac     2012-04-03 09:32:58.000000000 +0200
 @@ -24,12 +24,14 @@
  
- AC_INIT(Small Footprint CIM Broker, 1.3.13, 
[email protected], sblim-sfcb)
+ AC_INIT(Small Footprint CIM Broker, 1.3.14, 
[email protected], sblim-sfcb)
  AC_CONFIG_SRCDIR([providerDrv.c])
 +AC_CONFIG_MACRO_DIR([m4])
  
@@ -35,10 +35,10 @@
  
  AC_ARG_ENABLE(debug,
        [AC_HELP_STRING([--disable-debug],
-diff -wruN -x '*~' ../orig-sblim-sfcb-1.3.13/fileRepository.c 
./fileRepository.c
---- ../orig-sblim-sfcb-1.3.13/fileRepository.c 2009-11-09 22:03:30.000000000 
+0100
-+++ ./fileRepository.c 2011-09-30 09:00:18.000000000 +0200
-@@ -573,7 +573,7 @@
+diff -wruN -x '*~' ../orig-sblim-sfcb-1.3.14/fileRepository.c 
./fileRepository.c
+--- ../orig-sblim-sfcb-1.3.14/fileRepository.c 2012-03-08 22:20:27.000000000 
+0100
++++ ./fileRepository.c 2012-04-03 09:32:58.000000000 +0200
+@@ -594,7 +594,7 @@
  #endif
      
     if ((d=opendir(fn))==NULL) {
@@ -47,10 +47,10 @@
        return 0;
     }   
     closedir(d);
-diff -wruN -x '*~' ../orig-sblim-sfcb-1.3.13/Makefile.am ./Makefile.am
---- ../orig-sblim-sfcb-1.3.13/Makefile.am      2011-09-21 16:50:20.000000000 
+0200
-+++ ./Makefile.am      2011-09-30 09:00:18.000000000 +0200
-@@ -623,7 +623,7 @@
+diff -wruN -x '*~' ../orig-sblim-sfcb-1.3.14/Makefile.am ./Makefile.am
+--- ../orig-sblim-sfcb-1.3.14/Makefile.am      2012-03-01 00:12:44.000000000 
+0100
++++ ./Makefile.am      2012-04-03 09:32:58.000000000 +0200
+@@ -619,7 +619,7 @@
  test: testprep check testreport
  endif
  
@@ -58,10 +58,10 @@
 +postinstall: #install-cimschema create-sslkeys
        test -f $(DESTDIR)$(sfcbstatedir)/registration/providerRegister || 
$(INSTALL_DATA) $(DESTDIR)$(sfcbstatedir)/stage/default.reg 
$(DESTDIR)$(sfcbstatedir)/registration/providerRegister 
  if TEST_ENABLED
-       ./test/stageschema.sh -d test/schema -p $(prefix)
-diff -wruN -x '*~' ../orig-sblim-sfcb-1.3.13/providerRegister.c 
./providerRegister.c
---- ../orig-sblim-sfcb-1.3.13/providerRegister.c       2010-05-01 
00:25:38.000000000 +0200
-+++ ./providerRegister.c       2011-09-30 09:00:18.000000000 +0200
+       $(srcdir)/test/stageschema.sh -d $(srcdir)/test/schema -p $(prefix)
+diff -wruN -x '*~' ../orig-sblim-sfcb-1.3.14/providerRegister.c 
./providerRegister.c
+--- ../orig-sblim-sfcb-1.3.14/providerRegister.c       2010-05-01 
00:25:38.000000000 +0200
++++ ./providerRegister.c       2012-04-03 09:32:58.000000000 +0200
 @@ -178,7 +178,7 @@
       dir = "/var/lib/sfcb/registration";
     }
@@ -80,10 +80,10 @@
           n++;
           if (stmt) free(stmt);
           stmt = strdup(fin);
-diff -wruN -x '*~' ../orig-sblim-sfcb-1.3.13/sfcBroker.c ./sfcBroker.c
---- ../orig-sblim-sfcb-1.3.13/sfcBroker.c      2011-06-24 22:13:20.000000000 
+0200
-+++ ./sfcBroker.c      2011-09-30 09:00:18.000000000 +0200
-@@ -559,7 +559,7 @@
+diff -wruN -x '*~' ../orig-sblim-sfcb-1.3.14/sfcBroker.c ./sfcBroker.c
+--- ../orig-sblim-sfcb-1.3.14/sfcBroker.c      2012-03-05 20:12:09.000000000 
+0100
++++ ./sfcBroker.c      2012-04-03 09:32:58.000000000 +0200
+@@ -637,7 +637,7 @@
               if (*optarg == '?') {
                   fprintf(stdout, "---   Traceable Components:     Int       
Hex\n");
                   for (i = 0; traceIds[i].id; i++)

++++++ sblim-sfcb-1.3.13.tar.bz2 -> sblim-sfcb-1.3.14.tar.bz2 ++++++
++++ 13877 lines of diff (skipped)

++++++ use-local-cmpi-header-file.patch ++++++
diff -wruN -x '*~' ../orig-sblim-sfcb-1.3.14/utilTypeCk.c ./utilTypeCk.c
--- ../orig-sblim-sfcb-1.3.14/utilTypeCk.c      2011-12-27 21:45:20.000000000 
+0100
+++ ./utilTypeCk.c      2012-04-03 09:39:22.000000000 +0200
@@ -25,7 +25,7 @@
 #include <strings.h>
 #include <limits.h>
 #include <errno.h>
-#include "cmpi/cmpidt.h"
+#include "cmpidt.h"
 
 /* checks for unsigned integers uint8 - uint64 */
 int 
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to