Update to sblim-sfcb-1.3.16, Fix provider debugging (patch by Radek Novacek)
This commit is contained in:
parent
7a99981e32
commit
04fb6be197
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,3 +9,4 @@ sblim-sfcb-1.3.8.tar.bz2
|
|||||||
/sblim-sfcb-1.3.14-1.fc18.src.rpm
|
/sblim-sfcb-1.3.14-1.fc18.src.rpm
|
||||||
/sblim-sfcb-1.3.14.tar.bz2
|
/sblim-sfcb-1.3.14.tar.bz2
|
||||||
/sblim-sfcb-1.3.15.tar.bz2
|
/sblim-sfcb-1.3.15.tar.bz2
|
||||||
|
/sblim-sfcb-1.3.16.tar.bz2
|
||||||
|
|||||||
12
sblim-sfcb-1.3.15-fix-provider-debugging.patch
Normal file
12
sblim-sfcb-1.3.15-fix-provider-debugging.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up sblim-sfcb-1.3.16/providerDrv.c.orig sblim-sfcb-1.3.16/providerDrv.c
|
||||||
|
--- sblim-sfcb-1.3.16/providerDrv.c.orig 2013-01-07 16:39:58.922924254 +0100
|
||||||
|
+++ sblim-sfcb-1.3.16/providerDrv.c 2013-01-07 16:40:12.121988127 +0100
|
||||||
|
@@ -3116,7 +3116,7 @@ void processProviderInvocationRequests(c
|
||||||
|
rc = spRecvReq(&providerSockets.receive, &parms->requestor,
|
||||||
|
(void **) &parms->req, &rl, &mqg);
|
||||||
|
if (mqg.rdone) {
|
||||||
|
- int debug_break = 0;
|
||||||
|
+ volatile int debug_break = 0;
|
||||||
|
if (rc!=0) {
|
||||||
|
mlogf(M_ERROR,M_SHOW, "spRecvReq returned error %d. Skipping message.\n", rc);
|
||||||
|
free(parms);
|
||||||
@ -7,8 +7,8 @@
|
|||||||
Name: sblim-sfcb
|
Name: sblim-sfcb
|
||||||
Summary: Small Footprint CIM Broker
|
Summary: Small Footprint CIM Broker
|
||||||
URL: http://www.sblim.org
|
URL: http://www.sblim.org
|
||||||
Version: 1.3.15
|
Version: 1.3.16
|
||||||
Release: 5%{?dist}
|
Release: 1%{?dist}
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: EPL
|
License: EPL
|
||||||
Source0: http://downloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
|
Source0: http://downloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
|
||||||
@ -20,6 +20,9 @@ Patch1: sblim-sfcb-1.3.9-sfcbrepos-schema-location.patch
|
|||||||
Patch2: sblim-sfcb-1.3.10-CMGetCharPtr.patch
|
Patch2: sblim-sfcb-1.3.10-CMGetCharPtr.patch
|
||||||
# Patch3: adds missing includes
|
# Patch3: adds missing includes
|
||||||
Patch3: sblim-sfcb-1.3.14-missing-includes.patch
|
Patch3: sblim-sfcb-1.3.14-missing-includes.patch
|
||||||
|
# Patch4: Fix provider debugging - variable for stopping wait-for-debugger
|
||||||
|
# loop must be volatile
|
||||||
|
Patch4: sblim-sfcb-1.3.15-fix-provider-debugging.patch
|
||||||
Source1: sfcb.service
|
Source1: sfcb.service
|
||||||
Provides: cim-server
|
Provides: cim-server
|
||||||
Requires: cim-schema
|
Requires: cim-schema
|
||||||
@ -55,6 +58,7 @@ Programming Interface (CMPI).
|
|||||||
%patch1 -p1 -b .sfcbrepos-schema-location
|
%patch1 -p1 -b .sfcbrepos-schema-location
|
||||||
%patch2 -p1 -b .CMGetCharPtr
|
%patch2 -p1 -b .CMGetCharPtr
|
||||||
%patch3 -p1 -b .missing-includes
|
%patch3 -p1 -b .missing-includes
|
||||||
|
%patch4 -p1 -b .fix-provider-debugging
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-debug --enable-uds --enable-ssl --enable-pam --enable-ipv6 CFLAGS="$CFLAGS -D_GNU_SOURCE"
|
%configure --enable-debug --enable-uds --enable-ssl --enable-pam --enable-ipv6 CFLAGS="$CFLAGS -D_GNU_SOURCE"
|
||||||
@ -116,6 +120,10 @@ fi;
|
|||||||
#%doc COPYING README
|
#%doc COPYING README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 08 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.3.16-1
|
||||||
|
- Update to sblim-sfcb-1.3.16
|
||||||
|
- Fix provider debugging (patch by Radek Novacek)
|
||||||
|
|
||||||
* Thu Nov 29 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.3.15-5
|
* Thu Nov 29 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.3.15-5
|
||||||
- Comment patches
|
- Comment patches
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user