diff --git a/gsoap-01-sharedlibs.diff b/gsoap-01-sharedlibs.diff index e27931f..b757f39 100644 --- a/gsoap-01-sharedlibs.diff +++ b/gsoap-01-sharedlibs.diff @@ -5,10 +5,10 @@ build: always use shared libraries --- configure.ac | 10 +++++----- - gsoap/Makefile.am | 32 +++++++++++++++++++------------- + gsoap/Makefile.am | 34 +++++++++++++++++++++------------- gsoap/samples/autotest/Makefile.am | 2 +- gsoap/samples/databinding/Makefile.am | 2 +- - 4 files changed, 26 insertions(+), 20 deletions(-) + 4 files changed, 28 insertions(+), 20 deletions(-) Index: gsoap-2.8.21/configure.ac =================================================================== @@ -56,7 +56,7 @@ Index: gsoap-2.8.21/gsoap/Makefile.am =================================================================== --- gsoap-2.8.21.orig/gsoap/Makefile.am +++ gsoap-2.8.21/gsoap/Makefile.am -@@ -34,20 +34,26 @@ stdsoap2_ssl_cpp.cpp: stdsoap2.cpp +@@ -34,20 +34,28 @@ stdsoap2_ssl_cpp.cpp: stdsoap2.cpp dom_cpp.cpp: dom.cpp $(LN_S) -f $(srcdir)/dom.cpp dom_cpp.cpp @@ -90,9 +90,11 @@ Index: gsoap-2.8.21/gsoap/Makefile.am +libgsoapssl_la_SOURCES = stdsoap2_ssl.c dom.c +libgsoapssl_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM +libgsoapssl_la_LDFLAGS = ${libgsoap_la_LDFLAGS} ++libgsoapssl_la_LIBADD = ${SAMPLE_SSL_LIBS} +libgsoapssl___la_SOURCES = stdsoap2_ssl_cpp.cpp dom_cpp.cpp +libgsoapssl___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM +libgsoapssl___la_LDFLAGS = ${libgsoap_la_LDFLAGS} ++libgsoapssl___la_LIBADD = ${SAMPLE_SSL_LIBS} BUILT_SOURCES = stdsoap2_cpp.cpp dom_cpp.cpp $(lib_LIBRARIES) 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 d817996..10ffeb6 100644 --- a/gsoap.changes +++ b/gsoap.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +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 + +- Include SSL libraries in the link to reduce undefined symbols + ------------------------------------------------------------------- Thu Jan 15 18:34:35 UTC 2015 - jengelh@inai.de diff --git a/gsoap.spec b/gsoap.spec index b8cd2c2..986a3ed 100644 --- a/gsoap.spec +++ b/gsoap.spec @@ -1,7 +1,7 @@ # # spec file for package gsoap # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -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";