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