SHA256
1
0
forked from pool/gsoap
2015-04-23 11:49:17 +00:00
committed by Git OBS Bridge
parent b2391805b5
commit b244f54160
6 changed files with 29 additions and 12 deletions

BIN
gsoap-2.8.21.tar.xz (Stored with Git LFS)

Binary file not shown.

BIN
gsoap-2.8.22.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,15 +1,26 @@
From: Jan Engelhardt <j.engelhardt@zarafa.com>
gsoap has a weird "protection": if content is compressed too well,
it is considered evil and dropped.
--- gsoap-2.8.orig/gsoap/stdsoap2.h
+++ gsoap-2.8/gsoap/stdsoap2.h
@@ -1142,7 +1142,7 @@
Trust when compressed / deflated > SOAP_MINDEFLATERATIO
In gsoap-2.8.22, the MINDEFAULT value was changed from 0.1 to 0.001.
However, the comment above explicitly says the minimum is
0.0009something.
---
gsoap/stdsoap2.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: gsoap-2.8.22/gsoap/stdsoap2.h
===================================================================
--- gsoap-2.8.22.orig/gsoap/stdsoap2.h
+++ gsoap-2.8.22/gsoap/stdsoap2.h
@@ -1159,7 +1159,7 @@ extern "C" {
to the limit of 1032:1.
*/
#ifndef SOAP_MINDEFLATERATIO
-# define SOAP_MINDEFLATERATIO (0.1) /* ratio of deflated/inflated > 10% */
+# define SOAP_MINDEFLATERATIO (0.0) /* ratio of deflated/inflated > 10% */
-# define SOAP_MINDEFLATERATIO (0.001) /* ratio of deflated/inflated > 0.1% */
+# define SOAP_MINDEFLATERATIO (1.0/1032) /* 0.001 would still reject 1032:1 streams */
#endif
#ifdef VXWORKS

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Apr 23 11:45:28 UTC 2015 - jengelh@inai.de
- Update to new upstream release 2.8.22
* Enhancements include XSD 1.1 support and improved portability.
-------------------------------------------------------------------
Thu Apr 23 10:59:00 UTC 2015 - jengelh@inai.de

View File

@@ -18,14 +18,14 @@
Name: gsoap
%define lname libgsoap-2_8-0
Version: 2.8.21
Version: 2.8.22
Release: 0
Summary: Toolkit for C/C++ server and client web service applications
License: SUSE-GPL-2.0+-with-openssl-exception
Group: Development/Libraries/C and C++
Url: http://gsoap2.sf.net/
#DL-URL: http://downloads.sf.net/gsoap2/gsoap_2.8.21.zip
#DL-URL: http://downloads.sf.net/gsoap2/gsoap_2.8.22.zip
Source: gsoap-%version.tar.xz
Source2: sanitize_source.sh
Patch13: gsoap-automake1_13.diff

View File

@@ -13,7 +13,7 @@ if ! which hardlink >/dev/null; then
exit 1;
fi;
version="2.8.21";
version="2.8.22";
shortver="2.8"; # agh...
rm -Rf "gsoap-$shortver" "gsoap-$version";