SHA256
1
0
forked from pool/gsoap

Accepting request 304814 from devel:libraries:c_c++

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/304814
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gsoap?expand=0&rev=13
This commit is contained in:
Dominique Leuenberger 2015-05-02 15:39:37 +00:00 committed by Git OBS Bridge
commit c53bbbecf8
7 changed files with 40 additions and 16 deletions

View File

@ -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)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:759c88bf8d8102563fe11f95a8f04f2fbe58b3fef06b76b85edf20701638a17b
size 6563932

3
gsoap-2.8.22.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7eeffcda67a1de66ed8b91833cce7d1648c0e9a13f947b4a051c4837e3d2fb5a
size 6722668

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,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

View File

@ -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

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";