Jan Engelhardt 2017-02-08 09:58:42 +00:00 committed by Git OBS Bridge
parent 8f555432ca
commit 03a21304ab
6 changed files with 45 additions and 51 deletions

View File

@ -1,26 +0,0 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2017-01-24 15:41:51.682076375 +0100
build: resolve compiler warnings
stdsoap2_ck.c: In function soap_s2float:
stdsoap2_ck.c:14147:19: warning: implicit declaration of function strtod_l [-Wimplicit-function-declaration]
*p = (float)strtod_l(s, &r, SOAP_LOCALE(soap));
References: https://sourceforge.net/p/gsoap2/bugs/1096/
---
gsoap/stdsoap2.cpp | 1 +
1 file changed, 1 insertion(+)
Index: gsoap-2.8.42/gsoap/stdsoap2.cpp
===================================================================
--- gsoap-2.8.42.orig/gsoap/stdsoap2.cpp
+++ gsoap-2.8.42/gsoap/stdsoap2.cpp
@@ -50,6 +50,7 @@ compiling, linking, and/or using OpenSSL
A commercial use license is available from Genivia, Inc., contact@genivia.com
--------------------------------------------------------------------------------
*/
+#define _GNU_SOURCE 1
#define GSOAP_LIB_VERSION 20842

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9a627e73b8677e4c925cfdcd2728711b2267286a9e35d1918cf5b0f2dcadecc4
size 22142080

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

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Feb 8 09:24:37 UTC 2017 - jengelh@inai.de
- Update to new upstream release 2.8.43
* Added `SSL_CTX_need_tmp_RSA()` check (OpenSSL 1.0.1+
and LibreSSL).
* Fixed string length limiting issue in QT QString type
serializer `custom/qstring.h` and addressed compilation issue
with other QT types serializers.
* Fixed `soap_psha1` string buffering.
- Drop gsoap-02-implicit.diff (merged upstream)
-------------------------------------------------------------------
Tue Jan 24 13:53:09 UTC 2017 - jengelh@inai.de

View File

@ -17,10 +17,10 @@
Name: gsoap
%define lname libgsoap-2_8_42
Version: 2.8.42
%define lname libgsoap-2_8_43
Version: 2.8.43
Release: 0
Summary: Toolkit for C/C++ server and client web service applications
Summary: Toolkit for SOAP/REST-based C/C++ server and client web service applications
License: SUSE-GPL-2.0+-with-openssl-exception
Group: Development/Libraries/C and C++
Url: http://www.genivia.com/dev.html
@ -29,7 +29,6 @@ Source: gsoap-%version.tar.xz
Source2: sanitize_source.sh
Patch1: gsoap-automake1_13.diff
Patch2: gsoap-01-sharedlibs.diff
Patch3: gsoap-02-implicit.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake
@ -48,14 +47,12 @@ BuildRequires: fdupes
%endif
%description
The gSOAP toolkit provides a cross-platform software development
toolkit for C and C++ server and client Web service applications, and
simplifies the overall use of XML in any type of application. The
toolkit supports SOAP 1.1/1.2 RPC encoding and document/literal
styles, WSDL 1.1, MTOM/MIME/DIME attachments (streaming),
SOAP-over-UDP, request-response and one-way messaging. The toolkit
also supports WS-Addressing and WS-Security, with several other WS-*
available or under development.
gSOAP is a toolkit for C and C++ server and client Web service
applications, and is responsible for e.g. HTTP request handling and
the serialization of XML. It supports SOAP 1.1/1.2 RPC encoding and
document/literal styles, WSDL 1.1, MTOM/MIME/DIME attachments
(streaming), SOAP-over-UDP, request-response and one-way messaging.
It also supports WS-Addressing and WS-Security.
%package devel
Summary: Development files for the gSOAP toolkit
@ -72,19 +69,22 @@ Summary: Runtime libraries for gSOAP
Group: Development/Libraries/C and C++
%description -n %lname
The gSOAP toolkit provides a cross-platform software development
toolkit for C and C++ server and client Web service applications, and
simplifies the overall use of XML in any type of application. The
toolkit supports SOAP 1.1/1.2 RPC encoding and document/literal
styles, WSDL 1.1, MTOM/MIME/DIME attachments (streaming),
SOAP-over-UDP, request-response and one-way messaging. The toolkit
also supports WS-Addressing and WS-Security, with several other WS-*
available or under development.
gSOAP is a toolkit for C and C++ server and client Web service
applications, and is responsible for e.g. HTTP request handling and
the serialization of XML.
%package doc
Summary: Runtime and development documentation for gsoap
Group: Documentation/HTML
BuildArch: noarch
%description doc
This subpackage contains the documentation for the gSOAP toolkit.
%prep
%setup -q
cmp gsoap/stdsoap2.cpp gsoap/stdsoap2.c
%patch -P 1 -P 2 -P 3 -p1
%patch -P 1 -P 2 -p1
ln -fs stdsoap2.cpp gsoap/stdsoap2.c
%build
@ -96,6 +96,8 @@ perl -i -lpe 's{AC_INIT\(gsoap, 2.8\)}{AC_INIT([gsoap], [%version])}' \
# Also needed because Makefile.am and configure.ac are touched.
autoreconf -fi
export CFLAGS="-O0 -ggdb3"
export CXXFLAGS=$CFLAGS
%configure --enable-ipv6 --disable-static
pushd gsoap/src/
# build prerequisites for parallel build first
@ -107,6 +109,8 @@ make %{?_smp_mflags}
b="%buildroot"
make install DESTDIR="$b"
rm -f "$b/%_libdir"/*.la
mkdir -p "$b/%_defaultdocdir"
cp -a gsoap/doc "$b/%_defaultdocdir/%name"
%if 0%{?fdupes:1}
%fdupes %buildroot/%_prefix
%endif
@ -132,4 +136,8 @@ rm -f "$b/%_libdir"/*.la
%defattr(-,root,root)
%_libdir/libgsoap*-%version.so
%files doc
%defattr(-,root,root)
%_defaultdocdir/%name/
%changelog

View File

@ -13,7 +13,7 @@ if ! which hardlink >/dev/null; then
exit 1;
fi;
version="2.8.42"
version="2.8.43"
shortver="2.8" # agh...
if [ ! -e "gsoap_$version.zip" ]; then
wget -c "http://downloads.sf.net/gsoap2/gsoap_$version.zip"