Update to 2.8.4
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=10
This commit is contained in:
parent
7e103cd955
commit
227758b43d
29
gsoap-04-strerror.diff
Normal file
29
gsoap-04-strerror.diff
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From: Jan Engelhardt <jengelh@medozas.de>
|
||||||
|
Date: 2011-11-10 12:19:12.730015880 +0100
|
||||||
|
Upstream: tbd
|
||||||
|
|
||||||
|
When GNU_SOURCE is defined -- which happens to be the case in the
|
||||||
|
default G++ environment -- strerror_r behaves differently: it may
|
||||||
|
not actually fill in the buffer if there is no need to. The error
|
||||||
|
string pointer is returned in any case.
|
||||||
|
|
||||||
|
---
|
||||||
|
gsoap/stdsoap2.cpp | 4 ++++
|
||||||
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
|
Index: gsoap-2.8.4/gsoap/stdsoap2.cpp
|
||||||
|
===================================================================
|
||||||
|
--- gsoap-2.8.4.orig/gsoap/stdsoap2.cpp
|
||||||
|
+++ gsoap-2.8.4/gsoap/stdsoap2.cpp
|
||||||
|
@@ -15905,7 +15905,11 @@ soap_strerror(struct soap *soap)
|
||||||
|
{
|
||||||
|
#ifndef WIN32
|
||||||
|
# ifdef HAVE_STRERROR_R
|
||||||
|
+# ifdef _GNU_SOURCE
|
||||||
|
+ return strerror_r(err, soap->msgbuf, sizeof(soap->msgbuf));
|
||||||
|
+# else
|
||||||
|
strerror_r(err, soap->msgbuf, sizeof(soap->msgbuf));
|
||||||
|
+# endif
|
||||||
|
# else
|
||||||
|
return strerror(err);
|
||||||
|
# endif
|
3
gsoap-2.8.4.tar.xz
Normal file
3
gsoap-2.8.4.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b691423f59eb49e66e4b096dc0023ce04788c9058808bcdd9504ffa42d4950ab
|
||||||
|
size 4903360
|
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 10 11:40:07 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Update to gsoap 2.8.4
|
||||||
|
* Added NTLM support (enabled with -DWITH_NTLM, requires libntlm).
|
||||||
|
* Added WS-Discovery 1.1 support
|
||||||
|
* Added //gsoap typed directive to control xsi:type attribuation
|
||||||
|
per namespace.
|
||||||
|
* Added SOAP_XML_NOTYPE flag to disable xsi:type attributes.
|
||||||
|
* Improved WS-Security encryption (AES,
|
||||||
|
soap_wsse_add_EncryptedKey_encrypt_only).
|
||||||
|
* Improved HTTP proxy authentication support (digest and NTLM).
|
||||||
|
- Added patch to fix empty error strings (gsoap-04-strerror.diff)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 18 15:39:46 UTC 2011 - jengelh@medozas.de
|
Tue Oct 18 15:39:46 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Name: gsoap
|
Name: gsoap
|
||||||
%define lname libgsoap-2_8-0
|
%define lname libgsoap-2_8-0
|
||||||
Summary: Toolkit for C/C++ server and client web service applications
|
Summary: Toolkit for C/C++ server and client web service applications
|
||||||
Version: 2.8.3
|
Version: 2.8.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
URL: http://gsoap2.sf.net/
|
URL: http://gsoap2.sf.net/
|
||||||
@ -12,6 +12,7 @@ Source2: sanitize_source.sh
|
|||||||
Patch1: gsoap-01-sharedlibs.diff
|
Patch1: gsoap-01-sharedlibs.diff
|
||||||
Patch2: gsoap-02-typepuns.diff
|
Patch2: gsoap-02-typepuns.diff
|
||||||
Patch3: gsoap-03-initext.diff
|
Patch3: gsoap-03-initext.diff
|
||||||
|
Patch4: gsoap-04-strerror.diff
|
||||||
BuildRoot: %_tmppath/%name-%version-build
|
BuildRoot: %_tmppath/%name-%version-build
|
||||||
BuildRequires: bison, fdupes flex, gcc-c++, pkgconfig
|
BuildRequires: bison, fdupes flex, gcc-c++, pkgconfig
|
||||||
%if 0%{?suse_version} >= 1130
|
%if 0%{?suse_version} >= 1130
|
||||||
@ -77,13 +78,13 @@ symlinks for libgsoap.
|
|||||||
tar -xf "%{S:0}" --use=xz;
|
tar -xf "%{S:0}" --use=xz;
|
||||||
%setup -DTq
|
%setup -DTq
|
||||||
%endif
|
%endif
|
||||||
%patch -P 1 -P 2 -P 3 -p1
|
%patch -P 1 -P 2 -P 3 -P 4 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Rebuild configure - fix that utterly long mktime test.
|
# Rebuild configure - fix that utterly long mktime test.
|
||||||
autoreconf -fi;
|
autoreconf -fi;
|
||||||
|
|
||||||
%configure --enable-ipv6 --disable-static
|
%configure --enable-ipv6 --disable-static CFLAGS="-O0 -ggdb3" CXXFLAGS="-O0 -ggdb3"
|
||||||
pushd gsoap/src/;
|
pushd gsoap/src/;
|
||||||
make soapcpp2_yacc.c;
|
make soapcpp2_yacc.c;
|
||||||
popd;
|
popd;
|
||||||
|
@ -13,7 +13,7 @@ if ! which fduphl >/dev/null; then
|
|||||||
exit 1;
|
exit 1;
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
version="2.8.3";
|
version="2.8.4";
|
||||||
shortver="2.8"; # agh...
|
shortver="2.8"; # agh...
|
||||||
|
|
||||||
rm -Rf "gsoap-$shortver" "gsoap-$version";
|
rm -Rf "gsoap-$shortver" "gsoap-$version";
|
||||||
|
Loading…
Reference in New Issue
Block a user