From 573d77614b889d00c78f560e152743fb8745c329ae4cd078b60a61750b1687bc Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 1 Apr 2012 18:58:18 +0000 Subject: [PATCH 1/3] Avoid running fdupes on boring systems :) OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=18 --- gsoap.spec | 79 ++++++++++++++++++++++++++++++++---------------------- 1 file changed, 47 insertions(+), 32 deletions(-) diff --git a/gsoap.spec b/gsoap.spec index 52d1055..cf5b74b 100644 --- a/gsoap.spec +++ b/gsoap.spec @@ -1,7 +1,7 @@ # # spec file for package gsoap # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,40 +15,53 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -Name: gsoap -%define lname libgsoap-2_8-0 -Summary: Toolkit for C/C++ server and client web service applications -Version: 2.8.7 -Release: 0 -Group: Development/Libraries/C and C++ -URL: http://gsoap2.sf.net/ -License: SUSE-GPL-2.0+-with-openssl-exception -Source: gsoap-%version.tar.xz -Source2: sanitize_source.sh -Patch1: gsoap-01-sharedlibs.diff -Patch2: gsoap-02-typepuns.diff -Patch3: gsoap-03-initext.diff -Patch4: gsoap-04-strerror.diff -Patch5: gsoap-05-ipv6.diff -BuildRoot: %_tmppath/%name-%version-build -BuildRequires: autoconf, automake, libtool -BuildRequires: bison, fdupes flex, gcc-c++, pkgconfig +Name: gsoap +%define lname libgsoap-2_8-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++ +Version: 2.8.7 +Release: 0 +Url: http://gsoap2.sf.net/ + +Source: gsoap-%version.tar.xz +Source2: sanitize_source.sh +Patch1: gsoap-01-sharedlibs.diff +Patch2: gsoap-02-typepuns.diff +Patch3: gsoap-03-initext.diff +Patch4: gsoap-04-strerror.diff +Patch5: gsoap-05-ipv6.diff +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: bison +BuildRequires: flex +BuildRequires: gcc-c++ +BuildRequires: libtool +BuildRequires: pkgconfig %if 0%{?suse_version} >= 1130 -BuildRequires: pkgconfig(gnutls), pkgconfig(libcrypto), pkgconfig(libssl) +BuildRequires: pkgconfig(gnutls) +BuildRequires: pkgconfig(libcrypto) +BuildRequires: pkgconfig(libssl) %endif %if 0%{?suse_version} > 0 && 0%{?suse_version} < 1130 -BuildRequires: libgnutls-devel, libopenssl-devel +BuildRequires: libgnutls-devel +BuildRequires: libopenssl-devel +%endif +%if 0%{?suse_version} +BuildRequires: fdupes %endif %if 0%{?fedora_version} > 0 -BuildRequires: gnutls-devel, openssl-devel +BuildRequires: gnutls-devel +BuildRequires: openssl-devel %endif %if 0%{?suse_version} >= 1140 -BuildRequires: pkgconfig(zlib) +BuildRequires: pkgconfig(zlib) %else -BuildRequires: zlib-devel +BuildRequires: zlib-devel %endif -BuildRequires: xz +BuildRequires: xz %description The gSOAP toolkit provides a cross-platform software development @@ -61,15 +74,15 @@ also supports WS-Addressing and WS-Security, with several other WS-* available or under development. %package devel -Summary: Development files for the gSOAP toolkit -Group: Development/Libraries/C and C++ +Summary: Development files for the gSOAP toolkit +Group: Development/Libraries/C and C++ %description devel This package contains the runtime development programs for gSOAP. %package -n %lname -Summary: Runtime libraries for gSOAP -Group: Development/Libraries/C and C++ +Summary: Runtime libraries for gSOAP +Group: Development/Libraries/C and C++ %description -n %lname The gSOAP toolkit provides a cross-platform software development @@ -82,9 +95,9 @@ also supports WS-Addressing and WS-Security, with several other WS-* available or under development. %package -n libgsoap-devel -Summary: Development files for libgsoap -Group: Development/Libraries/C and C++ -Requires: %lname = %version +Summary: Development files for libgsoap +Group: Development/Libraries/C and C++ +Requires: %lname = %version %description -n libgsoap-devel This package contains the include headers and development library @@ -113,7 +126,9 @@ make %{?_smp_mflags}; b="%buildroot"; make install DESTDIR="$b"; rm -f "$b/%_libdir"/*.la; +%if 0%{?fdupes:1} %fdupes %buildroot +%endif %post -n %lname -p /sbin/ldconfig From 662e2ad6216b1b460bb1ad367c25d6bc26c0702574e78a2ce3d8af04ef03c411 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 4 Sep 2012 04:04:37 +0000 Subject: [PATCH 2/3] gsoap-2.8.10 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=19 --- gsoap-2.8.10.tar.xz | 3 +++ gsoap-2.8.7.tar.xz | 3 --- gsoap.changes | 24 ++++++++++++++++++++++++ gsoap.spec | 3 ++- gsoap_2.8.10.zip | 3 +++ sanitize_source.sh | 4 ++-- 6 files changed, 34 insertions(+), 6 deletions(-) create mode 100644 gsoap-2.8.10.tar.xz delete mode 100644 gsoap-2.8.7.tar.xz create mode 100644 gsoap_2.8.10.zip diff --git a/gsoap-2.8.10.tar.xz b/gsoap-2.8.10.tar.xz new file mode 100644 index 0000000..4edd49d --- /dev/null +++ b/gsoap-2.8.10.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aef91e58a39b6dea4dd596b8e70b810fb6de11b70554e79e8621719c875823b5 +size 6969960 diff --git a/gsoap-2.8.7.tar.xz b/gsoap-2.8.7.tar.xz deleted file mode 100644 index 49f6b30..0000000 --- a/gsoap-2.8.7.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3f14742f34e80e8f83f62f28999008bce258617479d816c6471d33ad01f57a42 -size 4933428 diff --git a/gsoap.changes b/gsoap.changes index d580218..3bc352d 100644 --- a/gsoap.changes +++ b/gsoap.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Tue Sep 4 03:58:01 UTC 2012 - jengelh@inai.de + +- Update to new upstream release 2.8.9 +* Added examples to interoperate with WCF basicHttp, + basicTransportSecurity, basicMessageSecurity, and wsDualHttp. +* Added soapcpp2 option -A for service dispatching based on Action + values only. +* Added wsdl2h option -z3. +* Added wsse support for WS-SecureConversation. +* Added wsrm5 WS-ReliableMessaging 1.0 2005. +* Added iOS plugin with examples. +* Improved WS-Policy analysis and reporting. +* Fixed and improved wsse plugin for WS-Security interoperability + with WCF and other implementations (required a small API change). +* Fixed HTTP headers for NTLM. +* Fixed httpda plugin OpenSSL init crash in md5evp.c. +- Update to new upstream release 2.8.10 +* Added soapcpp2 -Q option (C++ namespaces). +* Added wsdl2h -b option (bi-directional operations for duplex + services). +* Updated WS-Addressing and WS-ReliableMessaging plugins, + documentation, and examples. + ------------------------------------------------------------------- Fri Mar 9 10:03:18 UTC 2012 - cfarrell@suse.com diff --git a/gsoap.spec b/gsoap.spec index cf5b74b..cb8a08b 100644 --- a/gsoap.spec +++ b/gsoap.spec @@ -21,10 +21,11 @@ Name: gsoap 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++ -Version: 2.8.7 +Version: 2.8.10 Release: 0 Url: http://gsoap2.sf.net/ +#DL-URL: http://downloads.sf.net/gsoap2/gsoap_2.8.10.zip Source: gsoap-%version.tar.xz Source2: sanitize_source.sh Patch1: gsoap-01-sharedlibs.diff diff --git a/gsoap_2.8.10.zip b/gsoap_2.8.10.zip new file mode 100644 index 0000000..888bbc5 --- /dev/null +++ b/gsoap_2.8.10.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fddfd59ba9b0236daa59d1ced9149cb827d446e0a24b85395ed23c10858cabfb +size 19156778 diff --git a/sanitize_source.sh b/sanitize_source.sh index 990cb32..7fa858f 100644 --- a/sanitize_source.sh +++ b/sanitize_source.sh @@ -1,6 +1,6 @@ #!/bin/sh -x # -# Shrink the gsoap archive from 11 MB -> 3 MB. +# Shrink the gsoap archive from 18 MB -> 7 MB. # # Requires: fdupes hxtools @@ -13,7 +13,7 @@ if ! which fduphl >/dev/null; then exit 1; fi; -version="2.8.7"; +version="2.8.10"; shortver="2.8"; # agh... rm -Rf "gsoap-$shortver" "gsoap-$version"; From c1f80094e4072a8b1cd5995b4822d10c5956d1499aa150fe699a32482454c2b0 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 4 Sep 2012 05:13:47 +0000 Subject: [PATCH 3/3] Remove unwanted original zip archive OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=20 --- gsoap_2.8.10.zip | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 gsoap_2.8.10.zip diff --git a/gsoap_2.8.10.zip b/gsoap_2.8.10.zip deleted file mode 100644 index 888bbc5..0000000 --- a/gsoap_2.8.10.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fddfd59ba9b0236daa59d1ced9149cb827d446e0a24b85395ed23c10858cabfb -size 19156778