diff --git a/gsoap-2.8.21.tar.xz b/gsoap-2.8.21.tar.xz deleted file mode 100644 index bb667f4..0000000 --- a/gsoap-2.8.21.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:759c88bf8d8102563fe11f95a8f04f2fbe58b3fef06b76b85edf20701638a17b -size 6563932 diff --git a/gsoap-2.8.22.tar.xz b/gsoap-2.8.22.tar.xz new file mode 100644 index 0000000..647d337 --- /dev/null +++ b/gsoap-2.8.22.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7eeffcda67a1de66ed8b91833cce7d1648c0e9a13f947b4a051c4837e3d2fb5a +size 6722668 diff --git a/gsoap-mindeflateratio.diff b/gsoap-mindeflateratio.diff index c7ad5f2..e4fe859 100644 --- a/gsoap-mindeflateratio.diff +++ b/gsoap-mindeflateratio.diff @@ -1,15 +1,26 @@ +From: Jan Engelhardt 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 diff --git a/gsoap.changes b/gsoap.changes index 3978748..10ffeb6 100644 --- a/gsoap.changes +++ b/gsoap.changes @@ -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 diff --git a/gsoap.spec b/gsoap.spec index 78839f9..986a3ed 100644 --- a/gsoap.spec +++ b/gsoap.spec @@ -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 diff --git a/sanitize_source.sh b/sanitize_source.sh index 8cbe47b..3ec6157 100644 --- a/sanitize_source.sh +++ b/sanitize_source.sh @@ -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";