Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/gsoap/
Date: Mon, 31 Jul 2017 14:23:35
Message-Id: 1501511006.d45e0c2a1c5d061d1a5bb44394919ac1f7e5158b.polynomial-c@gentoo
1 commit: d45e0c2a1c5d061d1a5bb44394919ac1f7e5158b
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 31 14:20:12 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 31 14:23:26 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d45e0c2a
7
8 net-libs/gsoap: Bump to version 2.8.51
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 net-libs/gsoap/Manifest | 1 +
14 net-libs/gsoap/gsoap-2.8.51.ebuild | 82 ++++++++++++++++++++++++++++++++++++++
15 2 files changed, 83 insertions(+)
16
17 diff --git a/net-libs/gsoap/Manifest b/net-libs/gsoap/Manifest
18 index bde1544b405..829ca464e1f 100644
19 --- a/net-libs/gsoap/Manifest
20 +++ b/net-libs/gsoap/Manifest
21 @@ -1,3 +1,4 @@
22 DIST gsoap_2.8.40.zip 36317175 SHA256 54ef56d9c55a6a7a00ae57f8cb0b3266af1b26e623070be2ef20833626157f77 SHA512 fc26899e780a7d797544f21aa7beaabc6c1507b7097c4a229a641e4be763733a40e96ce0d5181024eae19653de9513a5b35d51c8b12e85078423e30d0b898a6f WHIRLPOOL 6f795590a5b1e36d796200e3669b3a2aa45c016aa3acaae6291c09543422530a12e977a159a2f892b328cd7813633f41966432e75fd36268bfe4c6d9d1bb6fbf
23 DIST gsoap_2.8.49.zip 34679651 SHA256 520909edb975ec7fc63aa1b404993a79c1b8f6a0d80bca588c03cfa5fec12410 SHA512 0e576584aa7743365edac9165eadf233fedf08cbbe70224676f9ce88bc42ae3ace13c75c78f9864f234e406c6e58f1fcdee0a9391215f76f086422ef0ac86ea0 WHIRLPOOL e2fa93454d93f6942fd12370d00aaaad110b58cdce68a7adecffba247bc8b89da2ad0fb8074c0da8b873499af1b8f398f19ffafddf26a8e6d0704028518307b3
24 DIST gsoap_2.8.50.zip 34688187 SHA256 d1225f297963d1336ffaa7557990a2a0c8c7700774baa107ecb5467bfc0a265a SHA512 45bbff06083971152054571749fc7dc84962ace550154399590d8b697f0cf702c1614cbfb9f9cd23bc87b3812817abfdcaa6fc210c5daa5e8197493ce0e52a72 WHIRLPOOL f56d19091bdc69cf89a4c11183d946f3b26cc83d132387c9a0771821427e42ed6dc01eaefac15bd9d5f56f126948275bff3fd0b5eb39aa4b462227d041d57c7d
25 +DIST gsoap_2.8.51.zip 34505931 SHA256 3e7bb24a9e492f5cb86daca34054c9787152f1d7b70add36b789d03816d5ffa1 SHA512 491e31ce6be02c577b6184335672a0805e2287418a7e26d9b0f009aab8af462ddef7d7a1893dc867db5362c5f2a1e0022d0a45865d81e43286ce16c649da6910 WHIRLPOOL 78bf9dd3c20e3a7683e20de263c1f608e69039ae505533dc7695dd1b0031d222ea99ca3991e8b046af66943215a7ce4c4db3a0efafc6933d74907dda71815d05
26
27 diff --git a/net-libs/gsoap/gsoap-2.8.51.ebuild b/net-libs/gsoap/gsoap-2.8.51.ebuild
28 new file mode 100644
29 index 00000000000..aef077767cc
30 --- /dev/null
31 +++ b/net-libs/gsoap/gsoap-2.8.51.ebuild
32 @@ -0,0 +1,82 @@
33 +# Copyright 1999-2017 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +inherit autotools eutils
39 +
40 +MY_P="${PN}-2.8"
41 +
42 +DESCRIPTION="A cross-platform open source C and C++ SDK for SOAP/XML Web services"
43 +HOMEPAGE="http://gsoap2.sourceforge.net"
44 +SRC_URI="mirror://sourceforge/gsoap2/gsoap_${PV}.zip"
45 +
46 +LICENSE="GPL-2 gSOAP"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +IUSE="doc debug examples ipv6 libressl gnutls +ssl"
50 +
51 +RDEPEND="
52 + sys-libs/zlib
53 + gnutls? ( net-libs/gnutls )
54 + ssl? (
55 + !libressl? ( dev-libs/openssl:0= )
56 + libressl? ( dev-libs/libressl )
57 + )
58 +"
59 +DEPEND="${RDEPEND}
60 + app-arch/unzip
61 + sys-devel/flex
62 + sys-devel/bison
63 +"
64 +
65 +S="${WORKDIR}/${MY_P}"
66 +
67 +src_prepare() {
68 + default
69 +
70 + # Fix Pre-ISO headers
71 + eapply "${FILESDIR}/${PN}-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch"
72 +
73 + # enable shared libs https://bugs.gentoo.org/583398
74 + eapply "${FILESDIR}/${PN}-2.7.40-shared_libs.patch"
75 +
76 + eautoreconf
77 +}
78 +
79 +src_configure() {
80 + local myconf=()
81 + use ssl || myconf+=( --disable-ssl )
82 + use gnutls && myconf+=( --enable-gnutls )
83 + use ipv6 && myconf+=( --enable-ipv6 )
84 + econf \
85 + ${myconf[@]} \
86 + $(use_enable debug) \
87 + $(use_enable examples samples)
88 +}
89 +
90 +src_compile() {
91 + emake -j1
92 +}
93 +
94 +src_install() {
95 + emake DESTDIR="${D}" install
96 +
97 + # yes, we also install the license-file since
98 + # it contains info about how to apply the licenses
99 + dodoc *.txt
100 +
101 + dohtml changelog.md
102 +
103 + prune_libtool_files --all
104 +
105 + if use examples; then
106 + rm -rf gsoap/samples/Makefile* gsoap/samples/*/Makefile* gsoap/samples/*/*.o || die
107 + insinto /usr/share/doc/${PF}/examples
108 + doins -r gsoap/samples/*
109 + fi
110 +
111 + if use doc; then
112 + dohtml -r gsoap/doc/*
113 + fi
114 +}