Hello community,

here is the log from the commit of package gsoap for openSUSE:Factory checked 
in at 2016-02-17 10:30:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gsoap (Old)
 and      /work/SRC/openSUSE:Factory/.gsoap.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gsoap"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gsoap/gsoap.changes      2015-06-12 
20:28:14.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gsoap.new/gsoap.changes 2016-02-17 
12:12:36.000000000 +0100
@@ -1,0 +2,39 @@
+Wed Feb  3 09:07:07 UTC 2016 - [email protected]
+
+- Update to new upstream release 2.8.28
+* Added many new API functions to a fully redisigned XML DOM API
+  v5 for C and C++ with new DOM API documentation. The redesigned
+  DOM API v5 is mostly backward compatible to DOM API v4, but
+  with DOM string data members changed to text members. Many API
+  functions are added to define a clean interface without having
+  to use the DOM structure data members. The
+  soap_dom_next_element() function now takes a second parameter
+  that is an element pointer to stop deep traversal at (use NULL
+  for old behavior). See updated XML DOM and XPath documentation
+  for details.
+* Added C serialization to/from strings with new C soap struct
+  members const char *soap::is input string to parse from and
+  const char **soap:os pointer to string that is set by the
+  engine to point to the output. Note that C++ code is unchanged
+  and the soap::is and soap::os are still members pointers to
+  istream and ostream streams (use std::stringstream for
+  input/output from/to strings).
+* Added JSON API C function set_size to set/change array sizes
+  and JSON API C function set_struct to create an empty JSON
+  object.
+* Improved jsoncpp command line tool to generate JSONPath C code
+  and improved overall to generate more compact code.
+* Improved SOAP_DEFAULTNS flag to emit XML default namespace
+  declarations.
+* Improved strictness of XML verification under default settings
+  (i.e. without requiring SOAP_XML_STRICT).
+* Changed string deserialization when XML content with tags is
+  encountered: XML tags are no longer parsed as part of strings.
+  You must use XML string type to parse literal XML content or
+  use DOM.
+- Remove gsoap-allocator.diff, gsoap-reset-error-code.diff
+  (merged upstream)
+- Add gsoap-00-builtsource.diff, gsoap-03-seqpoint.diff,
+  gsoap-no-tcpfastopen-fail.diff
+
+-------------------------------------------------------------------
@@ -41 +79,0 @@
-- Add gsoap-mindeflateratio.diff

Old:
----
  gsoap-2.8.22.tar.xz
  gsoap-allocator.diff

New:
----
  gsoap-00-builtsource.diff
  gsoap-03-seqpoint.diff
  gsoap-2.8.28.tar.xz
  gsoap-no-tcpfastopen-fail.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gsoap.spec ++++++
--- /var/tmp/diff_new_pack.05Mblc/_old  2016-02-17 12:12:37.000000000 +0100
+++ /var/tmp/diff_new_pack.05Mblc/_new  2016-02-17 12:12:37.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gsoap
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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,7 +18,7 @@
 
 Name:           gsoap
 %define lname  libgsoap-2_8
-Version:        2.8.22
+Version:        2.8.28
 Release:        0
 Summary:        Toolkit for C/C++ server and client web service applications
 License:        SUSE-GPL-2.0+-with-openssl-exception
@@ -29,10 +29,12 @@
 Source:         gsoap-%version.tar.xz
 Source2:        sanitize_source.sh
 Patch13:        gsoap-automake1_13.diff
+Patch0:         gsoap-00-builtsource.diff
 Patch1:         gsoap-01-sharedlibs.diff
 Patch2:         gsoap-02-typepuns.diff
-Patch3:         gsoap-mindeflateratio.diff
-Patch4:         gsoap-allocator.diff
+Patch3:         gsoap-03-seqpoint.diff
+Patch4:         gsoap-mindeflateratio.diff
+Patch6:         gsoap-no-tcpfastopen-fail.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -41,7 +43,6 @@
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  pkg-config
-BuildRequires:  xz
 BuildRequires:  pkgconfig(gnutls)
 BuildRequires:  pkgconfig(libcrypto)
 BuildRequires:  pkgconfig(libssl)
@@ -93,36 +94,35 @@
 %prep
 %setup -q
 cmp gsoap/stdsoap2.cpp gsoap/stdsoap2.c
-%patch -P 13 -P 1 -P 2 -P 3 -P 4 -p1
-cp gsoap/stdsoap2.cpp gsoap/stdsoap2.c
+%patch -P 13 -P 0 -P 1 -P 2 -P 3 -P 4 -P 6 -p1
+ln -fs stdsoap2.cpp gsoap/stdsoap2.c
 
 %build
 # Rebuild configure - fix that utterly long mktime test.
-autoreconf -fi;
+autoreconf -fi
 
 %configure --enable-ipv6 --disable-static
-pushd gsoap/src/;
+pushd gsoap/src/
 # build prerequisites for parallel build first
-make soapcpp2_yacc.c;
-popd;
-make %{?_smp_mflags};
+make soapcpp2_yacc.c
+popd
+make %{?_smp_mflags}
 
 %install
-b="%buildroot";
-make install DESTDIR="$b";
-rm -f "$b/%_libdir"/*.la;
+b="%buildroot"
+make install DESTDIR="$b"
+rm -f "$b/%_libdir"/*.la
 %if 0%{?fdupes:1}
 %fdupes %buildroot
 %endif
 
 %post -n %lname -p /sbin/ldconfig
-
 %postun -n %lname -p /sbin/ldconfig
 
 %files devel
 %defattr(-,root,root)
 %_bindir/*
-%_datadir/%name
+%_datadir/%name/
 
 %files -n %lname
 %defattr(-,root,root)

++++++ gsoap-00-builtsource.diff ++++++
From: Jan Engelhardt <[email protected]>
Date: 2016-01-28 19:30:10.973606466 +0100
References: http://sf.net/p/gsoap2/patches/156/

Every .c/.cpp file which is updated/created needs to be in
BUILT_SOURCES.

---
 gsoap/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: gsoap-2.8.28/gsoap/Makefile.am
===================================================================
--- gsoap-2.8.28.orig/gsoap/Makefile.am
+++ gsoap-2.8.28/gsoap/Makefile.am
@@ -49,7 +49,7 @@ libgsoapssl_a_CFLAGS = $(SOAPCPP2_DEBUG)
 libgsoapssl___a_SOURCES = stdsoap2_ssl_cpp.cpp dom_cpp.cpp
 libgsoapssl___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) 
$(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES
 
-BUILT_SOURCES = stdsoap2_cpp.cpp dom_cpp.cpp $(lib_LIBRARIES)
+BUILT_SOURCES = stdsoap2_ck.c stdsoap2_cpp.cpp stdsoap2_ck_cpp.cpp 
stdsoap2_ssl.c stdsoap2_ssl_cpp.cpp dom.cpp
 
 include_HEADERS = stdsoap2.h
 
++++++ gsoap-01-sharedlibs.diff ++++++
--- /var/tmp/diff_new_pack.05Mblc/_old  2016-02-17 12:12:38.000000000 +0100
+++ /var/tmp/diff_new_pack.05Mblc/_new  2016-02-17 12:12:38.000000000 +0100
@@ -10,10 +10,10 @@
  gsoap/samples/databinding/Makefile.am |    2 +-
  4 files changed, 28 insertions(+), 20 deletions(-)
 
-Index: gsoap-2.8.21/configure.ac
+Index: gsoap-2.8.28/configure.ac
 ===================================================================
---- gsoap-2.8.21.orig/configure.ac
-+++ gsoap-2.8.21/configure.ac
+--- gsoap-2.8.28.orig/configure.ac
++++ gsoap-2.8.28/configure.ac
 @@ -15,8 +15,8 @@ AM_PROG_CC_C_O
  AM_PROG_LEX
  AC_PROG_YACC
@@ -52,10 +52,10 @@
  fi
  AC_SUBST(WSDL2H_EXTRA_FLAGS)
  AC_SUBST(WSDL2H_EXTRA_LIBS)
-Index: gsoap-2.8.21/gsoap/Makefile.am
+Index: gsoap-2.8.28/gsoap/Makefile.am
 ===================================================================
---- gsoap-2.8.21.orig/gsoap/Makefile.am
-+++ gsoap-2.8.21/gsoap/Makefile.am
+--- gsoap-2.8.28.orig/gsoap/Makefile.am
++++ gsoap-2.8.28/gsoap/Makefile.am
 @@ -34,20 +34,28 @@ stdsoap2_ssl_cpp.cpp: stdsoap2.cpp
  dom_cpp.cpp: dom.cpp
        $(LN_S) -f $(srcdir)/dom.cpp dom_cpp.cpp
@@ -72,36 +72,36 @@
 -libgsoapck___a_SOURCES = stdsoap2_ck_cpp.cpp dom_cpp.cpp
 -libgsoapck___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) 
$(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES
 -libgsoapssl_a_SOURCES = stdsoap2_ssl.c dom.c
--libgsoapssl_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) 
$(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM
+-libgsoapssl_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) 
$(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES
 -libgsoapssl___a_SOURCES = stdsoap2_ssl_cpp.cpp dom_cpp.cpp
--libgsoapssl___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) 
$(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM
+-libgsoapssl___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) 
$(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES
 +libgsoap_la_SOURCES = stdsoap2.c dom.c
 +libgsoap_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) 
$(SOAPCPP2_IPV6) -D$(platform)
-+libgsoap_la_LDFLAGS = -release ${PACKAGE_VERSION}
 +libgsoap___la_SOURCES = stdsoap2_cpp.cpp dom_cpp.cpp
 +libgsoap___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) 
$(SOAPCPP2_IPV6) -D$(platform)
-+libgsoap___la_LDFLAGS = ${libgsoap_la_LDFLAGS}
 +libgsoapck_la_SOURCES = stdsoap2_ck.c dom.c
 +libgsoapck_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) 
$(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES
-+libgsoapck_la_LDFLAGS = ${libgsoap_la_LDFLAGS}
 +libgsoapck___la_SOURCES = stdsoap2_ck_cpp.cpp dom_cpp.cpp
 +libgsoapck___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) 
$(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES
-+libgsoapck___la_LDFLAGS = ${libgsoap_la_LDFLAGS}
 +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_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) 
$(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES
++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 -DWITH_COOKIES
++libgsoap_la_LDFLAGS = -release ${PACKAGE_VERSION}
++libgsoap___la_LDFLAGS = ${libgsoap_la_LDFLAGS}
++libgsoapck_la_LDFLAGS = ${libgsoap_la_LDFLAGS}
++libgsoapck___la_LDFLAGS = ${libgsoap_la_LDFLAGS}
 +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)
+ BUILT_SOURCES = stdsoap2_ck.c stdsoap2_cpp.cpp stdsoap2_ck_cpp.cpp 
stdsoap2_ssl.c stdsoap2_ssl_cpp.cpp dom.cpp
  
-Index: gsoap-2.8.21/gsoap/samples/autotest/Makefile.am
+Index: gsoap-2.8.28/gsoap/samples/autotest/Makefile.am
 ===================================================================
---- gsoap-2.8.21.orig/gsoap/samples/autotest/Makefile.am
-+++ gsoap-2.8.21/gsoap/samples/autotest/Makefile.am
+--- gsoap-2.8.28.orig/gsoap/samples/autotest/Makefile.am
++++ gsoap-2.8.28/gsoap/samples/autotest/Makefile.am
 @@ -14,7 +14,7 @@ SOAP_FLAGS=-SL -T -I$(top_srcdir)/gsoap/
  WSDLINPUT=$(srcdir)/examples.wsdl
  SOAPHEADER=$(srcdir)/examples.h
@@ -111,10 +111,10 @@
  
  $(SOAP_CPP_SRC) : $(WSDLINPUT)
        $(WSDL) $(WSDL_FLAGS) $(WSDLINPUT)
-Index: gsoap-2.8.21/gsoap/samples/databinding/Makefile.am
+Index: gsoap-2.8.28/gsoap/samples/databinding/Makefile.am
 ===================================================================
---- gsoap-2.8.21.orig/gsoap/samples/databinding/Makefile.am
-+++ gsoap-2.8.21/gsoap/samples/databinding/Makefile.am
+--- gsoap-2.8.28.orig/gsoap/samples/databinding/Makefile.am
++++ gsoap-2.8.28/gsoap/samples/databinding/Makefile.am
 @@ -14,7 +14,7 @@ SOAP_FLAGS=-0 -CS -p address -I$(top_src
  WSDLINPUT=$(srcdir)/address.xsd
  SOAPHEADER=$(srcdir)/address.h

++++++ gsoap-02-typepuns.diff ++++++
--- /var/tmp/diff_new_pack.05Mblc/_old  2016-02-17 12:12:38.000000000 +0100
+++ /var/tmp/diff_new_pack.05Mblc/_new  2016-02-17 12:12:38.000000000 +0100
@@ -1,9 +1,14 @@
-References: 
https://sourceforge.net/p/gsoap2/patches/124/attachment/gsoap-aliasing.patch
+References: https://sf.net/p/gsoap2/patches/124/
 
-diff -ur gsoap-2.8.orig/gsoap/plugin/wsaapi.c gsoap-2.8/gsoap/plugin/wsaapi.c
---- gsoap-2.8.orig/gsoap/plugin/wsaapi.c       2015-04-14 08:46:30.000000000 
+0200
-+++ gsoap-2.8/gsoap/plugin/wsaapi.c    2015-05-05 09:19:27.985619710 +0200
-@@ -599,7 +599,7 @@
+---
+ gsoap/plugin/wsaapi.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: gsoap-2.8.22/gsoap/plugin/wsaapi.c
+===================================================================
+--- gsoap-2.8.22.orig/gsoap/plugin/wsaapi.c
++++ gsoap-2.8.22/gsoap/plugin/wsaapi.c
+@@ -599,7 +599,7 @@ soap_wsa_rand_uuid(struct soap *soap)
      k += 0x7FFFFFFF;
    r2 = k;
    k &= 0x8FFFFFFF;
@@ -12,66 +17,12 @@
  #endif
    r3 = soap_random;
    r4 = soap_random;
-diff -ur gsoap-2.8.orig/gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp 
gsoap-2.8/gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp
---- gsoap-2.8.orig/gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp  
2015-04-14 08:46:34.000000000 +0200
-+++ gsoap-2.8/gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp       
2015-05-05 09:01:31.633153838 +0200
-@@ -3105,11 +3105,11 @@
- int
- SOAP_FMAC2
- soap_rand()
--{ unsigned char buf[4];
-+{ int buf;
-   if (!soap_ssl_init_done)
-     soap_ssl_init();
--  RAND_pseudo_bytes(buf, 4);
--  return *(int*)buf;
-+  RAND_pseudo_bytes((unsigned char*)&buf, sizeof(int));
-+  return buf;
- }
- #endif
- #endif
-diff -ur gsoap-2.8.orig/gsoap/stdsoap2.c gsoap-2.8/gsoap/stdsoap2.c
---- gsoap-2.8.orig/gsoap/stdsoap2.c    2015-04-14 08:46:36.000000000 +0200
-+++ gsoap-2.8/gsoap/stdsoap2.c 2015-05-05 09:01:31.633153838 +0200
-@@ -3105,11 +3105,11 @@
- int
- SOAP_FMAC2
- soap_rand()
--{ unsigned char buf[4];
-+{ int buf;
-   if (!soap_ssl_init_done)
-     soap_ssl_init();
--  RAND_pseudo_bytes(buf, 4);
--  return *(int*)buf;
-+  RAND_pseudo_bytes((unsigned char*)&buf, sizeof(int));
-+  return buf;
- }
- #endif
- #endif
 diff -ur gsoap-2.8.orig/gsoap/stdsoap2.cpp gsoap-2.8/gsoap/stdsoap2.cpp
 --- gsoap-2.8.orig/gsoap/stdsoap2.cpp  2015-04-14 08:46:36.000000000 +0200
 +++ gsoap-2.8/gsoap/stdsoap2.cpp       2015-05-05 09:01:31.633153838 +0200
 @@ -3105,11 +3105,11 @@
  int
  SOAP_FMAC2
- soap_rand()
--{ unsigned char buf[4];
-+{ int buf;
-   if (!soap_ssl_init_done)
-     soap_ssl_init();
--  RAND_pseudo_bytes(buf, 4);
--  return *(int*)buf;
-+  RAND_pseudo_bytes((unsigned char*)&buf, sizeof(int));
-+  return buf;
- }
- #endif
- #endif
-diff -ur gsoap-2.8.orig/gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp 
gsoap-2.8/gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp
---- gsoap-2.8.orig/gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp   
2015-04-14 08:46:36.000000000 +0200
-+++ gsoap-2.8/gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp        
2015-05-05 09:01:31.633153838 +0200
-@@ -3105,11 +3105,11 @@
- int
- SOAP_FMAC2
  soap_rand()
 -{ unsigned char buf[4];
 +{ int buf;

++++++ gsoap-03-seqpoint.diff ++++++
From: Jan Engelhardt <[email protected]>
Date: 2016-01-28 19:19:57.092815111 +0100
References: http://sf.net/p/gsoap2/patches/157/

In file included from stdsoap2_ssl.c:60:0:
stdsoap2_ssl.c: In function ‘soap_getgziphdr’:
stdsoap2.h:2347:128: warning: operation on ‘soap->bufidx’ may be undefined 
[-Wsequence-point]
 # define soap_get1(soap) (((soap)->bufidx>=(soap)->buflen && soap_recv(soap)) 
? EOF : (unsigned char)(soap)->buf[(soap)->bufidx++])
                                                                                
                                                ^
stdsoap2_ssl.c:15576:14: note: in expansion of macro ‘soap_get1’
   { for (i = soap_get1(soap) | (soap_get1(soap) << 8); i; i--)
              ^

---
 gsoap/stdsoap2.cpp |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Index: gsoap-2.8.28/gsoap/stdsoap2.cpp
===================================================================
--- gsoap-2.8.28.orig/gsoap/stdsoap2.cpp
+++ gsoap-2.8.28/gsoap/stdsoap2.cpp
@@ -16408,7 +16408,10 @@ soap_getgziphdr(struct soap *soap)
       f = c;
   }
   if (f & 0x04) /* FEXTRA */
-  { for (i = soap_get1(soap) | (soap_get1(soap) << 8); i; i--)
+  {
+    int i = soap_get1(soap);
+    i |= soap_get1(soap) << 8;
+    while (i-- > 0)
     { if ((int)soap_get1(soap) == EOF)
         return soap->error = SOAP_ZLIB_ERROR;
     }
++++++ gsoap-2.8.22.tar.xz -> gsoap-2.8.28.tar.xz ++++++
/work/SRC/openSUSE:Factory/gsoap/gsoap-2.8.22.tar.xz 
/work/SRC/openSUSE:Factory/.gsoap.new/gsoap-2.8.28.tar.xz differ: char 26, line 
1

++++++ gsoap-mindeflateratio.diff ++++++
--- /var/tmp/diff_new_pack.05Mblc/_old  2016-02-17 12:12:38.000000000 +0100
+++ /var/tmp/diff_new_pack.05Mblc/_new  2016-02-17 12:12:38.000000000 +0100
@@ -1,4 +1,5 @@
 From: Jan Engelhardt <[email protected]>
+References: http://sf.net/p/gsoap2/patches/158/
 
 gsoap has a weird "protection": if content is compressed too well,
 it is considered evil and dropped.
@@ -11,11 +12,11 @@
  gsoap/stdsoap2.h |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-Index: gsoap-2.8.22/gsoap/stdsoap2.h
+Index: gsoap-2.8.28/gsoap/stdsoap2.h
 ===================================================================
---- gsoap-2.8.22.orig/gsoap/stdsoap2.h
-+++ gsoap-2.8.22/gsoap/stdsoap2.h
-@@ -1159,7 +1159,7 @@ extern "C" {
+--- gsoap-2.8.28.orig/gsoap/stdsoap2.h
++++ gsoap-2.8.28/gsoap/stdsoap2.h
+@@ -1212,7 +1212,7 @@ extern "C" {
     to the limit of 1032:1.
  */
  #ifndef SOAP_MINDEFLATERATIO

++++++ gsoap-no-tcpfastopen-fail.diff ++++++
From: Folkert van Heusden <[email protected]> / Jan Engelhardt 
<[email protected]>
References: http://sf.net/p/gsoap2/patches/159/

setsockopt TCP_FASTOPEN can fail with -ENOPROTOSUPPORT if the kernel
can't do it, and then all of gsoap aborts :(
Ignore return value, so that the zarafa-server still starts even
in the absence of TCP_FASTOPEN.

---
 gsoap/stdsoap2.cpp |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

Index: gsoap-2.8.22/gsoap/stdsoap2.cpp
===================================================================
--- gsoap-2.8.22.orig/gsoap/stdsoap2.cpp
+++ gsoap-2.8.22/gsoap/stdsoap2.cpp
@@ -5140,11 +5140,7 @@ soap_bind(struct soap *soap, const char
   }
 #endif
 #ifdef TCP_FASTOPEN
-  if (!(soap->omode & SOAP_IO_UDP) && setsockopt(soap->master, SOL_TCP, 
TCP_FASTOPEN, (char*)&set, sizeof(int)))
-  { soap->errnum = soap_socket_errno(soap->master);
-    soap_set_receiver_error(soap, tcp_error(soap), "setsockopt TCP_FASTOPEN 
failed in soap_bind()", SOAP_TCP_ERROR);
-    return SOAP_INVALID_SOCKET;
-  }
+  if (!(soap->omode & SOAP_IO_UDP)) setsockopt(soap->master, SOL_TCP, 
TCP_FASTOPEN, (char*)&set, sizeof(int));
 #endif
 #endif
 #endif
++++++ sanitize_source.sh ++++++
--- /var/tmp/diff_new_pack.05Mblc/_old  2016-02-17 12:12:38.000000000 +0100
+++ /var/tmp/diff_new_pack.05Mblc/_new  2016-02-17 12:12:38.000000000 +0100
@@ -1,4 +1,4 @@
-#!/bin/sh -x
+#!/bin/sh -ex
 #
 # Shrink the gsoap archive from 20 MB -> 6 MB.
 #
@@ -13,7 +13,7 @@
        exit 1;
 fi;
 
-version="2.8.22";
+version="2.8.28";
 shortver="2.8"; # agh...
 
 rm -Rf "gsoap-$shortver" "gsoap-$version";


Reply via email to