[sblim-sfcb] Increase default maxMsgLen

vcrhonek vcrhonek at fedoraproject.org
Mon Jun 24 13:49:12 UTC 2013


commit ef24d46dc352f6db6777cbdb840eba03cd50a75b
Author: Vitezslav Crhonek <vcrhonek at redhat.com>
Date:   Mon Jun 24 15:48:54 2013 +0200

    Increase default maxMsgLen

 sblim-sfcb-1.3.16-maxMsgLen.patch |   14 ++++++++++++++
 sblim-sfcb.spec                   |   11 +++++++++--
 2 files changed, 23 insertions(+), 2 deletions(-)
---
diff --git a/sblim-sfcb-1.3.16-maxMsgLen.patch b/sblim-sfcb-1.3.16-maxMsgLen.patch
new file mode 100644
index 0000000..a0dd816
--- /dev/null
+++ b/sblim-sfcb-1.3.16-maxMsgLen.patch
@@ -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
diff --git a/sblim-sfcb.spec b/sblim-sfcb.spec
index e2632ae..baec634 100644
--- a/sblim-sfcb.spec
+++ b/sblim-sfcb.spec
@@ -8,7 +8,7 @@ Name: sblim-sfcb
 Summary: Small Footprint CIM Broker
 URL: http://sblim.wiki.sourceforge.net/
 Version: 1.3.16
-Release: 4%{?dist}
+Release: 5%{?dist}
 Group: Applications/System
 License: EPL
 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
 # Patch9: already upstream, http://sourceforge.net/p/sblim/sfcb-tix/49/
 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
 Requires: cim-schema
 BuildRequires: libcurl-devel
@@ -68,7 +70,8 @@ Programming Interface (CMPI).
 %patch6 -p1 -b .invalid-read2
 %patch7 -p1 -b .embedded-crash
 %patch8 -p1 -b .escape
-%patch9 -p1 -b .orig
+%patch9 -p1 -b .embedded-instance
+%patch10 -p1 -b .maxMsgLen
 
 %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"
@@ -126,6 +129,10 @@ fi;
 %files -f _pkg_list
 
 %changelog
+* Mon Jun 24 2013 Vitezslav Crhonek <vcrhonek at redhat.com> - 1.3.16-5
+- Increase default maxMsgLen
+  Resolves: #967940
+
 * Mon Jun 17 2013 Vitezslav Crhonek <vcrhonek at redhat.com> - 1.3.16-4
 - Create missing man pages
 - Add support for EmbeddedInstance qualifier


More information about the scm-commits mailing list