Increase default maxMsgLen

This commit is contained in:
Vitezslav Crhonek 2013-06-24 15:48:54 +02:00
parent 33531250eb
commit ef24d46dc3
2 changed files with 23 additions and 2 deletions

View File

@ -0,0 +1,14 @@
diff -up sblim-sfcb-1.3.16/sfcb.cfg.pre.in.old sblim-sfcb-1.3.16/sfcb.cfg.pre.in
--- sblim-sfcb-1.3.16/sfcb.cfg.pre.in.old 2012-06-13 23:21:09.000000000 +0200
+++ sblim-sfcb-1.3.16/sfcb.cfg.pre.in 2013-06-24 15:34:38.881992781 +0200
@@ -113,8 +113,8 @@ provProcs: 32
## Max message length, in bytes. This is a limit on the size of messages
## written across sockets, for instance, between providers and SFCB.
-## Default is 10000000
-maxMsgLen: 10000000
+## Default is 100000000
+maxMsgLen: 100000000
## Location of the registration directory, where providerRegister can be found
## Default is @localstatedir@/lib/sfcb/registration

View File

@ -8,7 +8,7 @@ Name: sblim-sfcb
Summary: Small Footprint CIM Broker Summary: Small Footprint CIM Broker
URL: http://sblim.wiki.sourceforge.net/ URL: http://sblim.wiki.sourceforge.net/
Version: 1.3.16 Version: 1.3.16
Release: 4%{?dist} Release: 5%{?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
@ -36,6 +36,8 @@ Patch7: sblim-sfcb-1.3.16-embedded-crash.patch
Patch8: sblim-sfcb-1.3.16-escape.patch Patch8: sblim-sfcb-1.3.16-escape.patch
# Patch9: already upstream, http://sourceforge.net/p/sblim/sfcb-tix/49/ # Patch9: already upstream, http://sourceforge.net/p/sblim/sfcb-tix/49/
Patch9: sblim-sfcb-1.3.16-embedded-instance.patch Patch9: sblim-sfcb-1.3.16-embedded-instance.patch
# Patch10: increase default value of maxMsgLen in sfcb.cfg
Patch10: sblim-sfcb-1.3.16-maxMsgLen.patch
Provides: cim-server Provides: cim-server
Requires: cim-schema Requires: cim-schema
BuildRequires: libcurl-devel BuildRequires: libcurl-devel
@ -68,7 +70,8 @@ Programming Interface (CMPI).
%patch6 -p1 -b .invalid-read2 %patch6 -p1 -b .invalid-read2
%patch7 -p1 -b .embedded-crash %patch7 -p1 -b .embedded-crash
%patch8 -p1 -b .escape %patch8 -p1 -b .escape
%patch9 -p1 -b .orig %patch9 -p1 -b .embedded-instance
%patch10 -p1 -b .maxMsgLen
%build %build
%configure --enable-debug --enable-uds --enable-ssl --enable-pam --enable-ipv6 CFLAGS="$CFLAGS -D_GNU_SOURCE -fPIE -DPIE" LDFLAGS="$LDFLAGS -Wl,-z,now -pie" %configure --enable-debug --enable-uds --enable-ssl --enable-pam --enable-ipv6 CFLAGS="$CFLAGS -D_GNU_SOURCE -fPIE -DPIE" LDFLAGS="$LDFLAGS -Wl,-z,now -pie"
@ -126,6 +129,10 @@ fi;
%files -f _pkg_list %files -f _pkg_list
%changelog %changelog
* Mon Jun 24 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.3.16-5
- Increase default maxMsgLen
Resolves: #967940
* Mon Jun 17 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.3.16-4 * Mon Jun 17 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.3.16-4
- Create missing man pages - Create missing man pages
- Add support for EmbeddedInstance qualifier - Add support for EmbeddedInstance qualifier