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: Sun, 21 Apr 2019 10:16:27
Message-Id: 1555841768.b99d9123eafe70e5c11fe9dc3caa3d5ed67ac0cd.polynomial-c@gentoo
1 commit: b99d9123eafe70e5c11fe9dc3caa3d5ed67ac0cd
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 21 09:25:51 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 21 10:16:08 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b99d9123
7
8 net-libs/gsoap: Bump to version 2.8.83
9
10 Package-Manager: Portage-2.3.64, Repoman-2.3.12
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.83.ebuild | 86 ++++++++++++++++++++++++++++++++++++++
15 2 files changed, 87 insertions(+)
16
17 diff --git a/net-libs/gsoap/Manifest b/net-libs/gsoap/Manifest
18 index fba6b835890..48120c0b5b7 100644
19 --- a/net-libs/gsoap/Manifest
20 +++ b/net-libs/gsoap/Manifest
21 @@ -1,3 +1,4 @@
22 DIST gsoap_2.8.70.zip 32695627 BLAKE2B 6d803441804badf06b29cee8ca898dc864b9a0388f6f3fa58b84c1b237d77e22ab70e0cc5439915c715bdba7831b14f86d8003e1338b6184ddbfe845bb76ff75 SHA512 f7e9f85580c19bb390f1310bb47b690a5788b54c1e12c6fc0d9166039a84ae24ec5d3268cb67cd72b20e2eaa78689e175b975f07da44fd20e172a77ef37f4ae7
23 DIST gsoap_2.8.80.zip 32686918 BLAKE2B 63a49b09696be0eb7318233bc3df1f44b118a238a206cf25a47bfbdb1d60ad08cc0eb5c24c6d0952e72bfcc850d3780c56e09153a935450aec3c543c9ef2dc79 SHA512 7018f9904d6b3cd5f0d6dacdd03e399fa01df450ec37a4fd29988657b639b86027da62ffc8b03b79a05547e80250fb974b56784fb57e4583899bc8c1958aa8e1
24 DIST gsoap_2.8.82.zip 32514214 BLAKE2B 4945fc9e8c6fcbf364235c31aaf5eff5546b4f927a69cc973ba9e855a97ba2e40af2823448c2ea7d371aafea3ea6f6a71cc2d0527049fea53a2d6e1bbeecceec SHA512 daf6a1870fe43beb20d0faf646b171c92629885708baabea5bbce79fa5a8030f014dbe5c0bf4024031df993dd3ed3a90449db813946cfdfa9c12318096b57eec
25 +DIST gsoap_2.8.83.zip 32703770 BLAKE2B 1750a25bcd38c020c83d644395e9b3ac3e0c1080fb82f26b11ea0d0beea98c7dc8f3f24a77e093c6ac7e3598d416430990105eeb93e565809844825e1e937ec1 SHA512 7f4ae6feea26ec2d0e970e77cf476a0049c2e3fe47feba4e3b3b57239e7ae0016c409a74d3e865e56d2c01a8098be282d74a33c686d177d203cb8c2dff6bc407
26
27 diff --git a/net-libs/gsoap/gsoap-2.8.83.ebuild b/net-libs/gsoap/gsoap-2.8.83.ebuild
28 new file mode 100644
29 index 00000000000..a36f6c5466c
30 --- /dev/null
31 +++ b/net-libs/gsoap/gsoap-2.8.83.ebuild
32 @@ -0,0 +1,86 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +inherit autotools
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 +PATCHES=(
66 + # Fix Pre-ISO headers
67 + "${FILESDIR}/${PN}-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch"
68 +
69 + # enable shared libs https://bugs.gentoo.org/583398
70 + "${FILESDIR}/${PN}-2.8.70-shared_libs.patch"
71 +
72 + # Fix parallel make
73 + "${FILESDIR}/${PN}-2.8.70-parallel.patch"
74 +)
75 +
76 +S="${WORKDIR}/${MY_P}"
77 +
78 +src_prepare() {
79 + default
80 + eautoreconf
81 +}
82 +
83 +src_configure() {
84 + local myeconfargs=(
85 + # Don't include xlocale.h as it got removed in >=glibc-2.26
86 + --disable-xlocale
87 + $(use_enable debug)
88 + $(use_enable examples samples)
89 + $(usex gnutls --enable-gnutls '')
90 + $(usex ipv6 --enable-ipv6 '')
91 + $(usex ssl '' --disable-ssl)
92 + )
93 + econf "${myeconfargs[@]}"
94 +}
95 +
96 +src_install() {
97 + emake DESTDIR="${D}" install
98 +
99 + # yes, we also install the license-file since
100 + # it contains info about how to apply the licenses
101 + dodoc *.txt
102 +
103 + docinto html
104 + dodoc changelog.md
105 +
106 + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
107 +
108 + if use examples; then
109 + rm -r gsoap/samples/Makefile* gsoap/samples/*/Makefile* gsoap/samples/*/*.o || die
110 + insinto /usr/share/doc/${PF}/examples
111 + doins -r gsoap/samples/*
112 + fi
113 +
114 + if use doc; then
115 + docinto html
116 + dodoc -r gsoap/doc/*
117 + fi
118 +}