Accepting request 457368 from devel:libraries:c_c++

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/457368
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gsoap?expand=0&rev=27
This commit is contained in:
2017-02-20 13:27:06 +00:00
committed by Git OBS Bridge
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

BIN
gsoap-2.8.42.tar.xz (Stored with Git LFS)

Binary file not shown.

BIN
gsoap-2.8.43.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

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 Tue Jan 24 13:53:09 UTC 2017 - jengelh@inai.de

View File

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

View File

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