Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/gsoap/
Date: Wed, 19 Aug 2020 14:13:37
Message-Id: 1597846355.a1d5372f3d73b3ef7061cfc567ef59c3a6fd4886.whissi@gentoo
1 commit: a1d5372f3d73b3ef7061cfc567ef59c3a6fd4886
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 19 14:06:00 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 19 14:12:35 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1d5372f
7
8 net-libs/gsoap: bump to v2.8.105
9
10 Closes: https://bugs.gentoo.org/707526
11 Package-Manager: Portage-3.0.3, Repoman-3.0.0
12 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
13
14 net-libs/gsoap/Manifest | 1 +
15 net-libs/gsoap/gsoap-2.8.105.ebuild | 83 +++++++++++++++++++++++++++++++++++++
16 2 files changed, 84 insertions(+)
17
18 diff --git a/net-libs/gsoap/Manifest b/net-libs/gsoap/Manifest
19 index 8d59309406b..b9d3b49ec73 100644
20 --- a/net-libs/gsoap/Manifest
21 +++ b/net-libs/gsoap/Manifest
22 @@ -1,3 +1,4 @@
23 +DIST gsoap_2.8.105.zip 32728935 BLAKE2B 2a72080566811e65dd3fbb45af40f308ab2950edd6b142359019fdb1b3f84bd4cb13d5e5a8d8ee4ca35fb685535752bed225982fa7861be9e7872be93ab9c155 SHA512 3b7b66ef738e9ba78f0c9d5ec141faab102dc2ed7c528e84358d530ec8cb913c559438bb86ae0f22e0736c4cd9be9e74f364a44257189ccaa1e6d001317f99de
24 DIST gsoap_2.8.84.zip 32538551 BLAKE2B cab2b75ac931ee6063af47975665f45514cb94f5514fb1f76d17ccb2e71d64d4ebd43543cc004ff7f5c49982975ebaa38e555e3bc45dbc370aae991bc7639273 SHA512 ec050119cd3e480b266cad36823f4862fe0ac21045ce901c3c91a552eae2fbf9e1cd515458835807cce54c04df7835a980a299d37f418190cd57684fd6bdcf79
25 DIST gsoap_2.8.87.zip 32545316 BLAKE2B c2d0f9fafdfa9de83ea35f8dfc88e23d9d80967a2e58c30d554d539fd93056d7a8eb00ea9c928c6cf786e4888eb9f942ba4574e343de0c0104fce8b270494d6a SHA512 638bf9b2b8aca5facba518f136ad5af5bda41f2b92ee345ee6989d73223a571ce5ddab23c0b65259e9fd524039250d861defc8cfc2fc0a366a578ce3629b9ca4
26 DIST gsoap_2.8.91.zip 32553307 BLAKE2B 463c2d9c2d56c2a09fa8c9ebea7fa8059ed050cff81780b04a1a47ee1f016e385e6eb338ca740a40cd0c9483b4e10cf0963d02c52d6020863ce015e2f9cf2024 SHA512 ed99f1a20fd95edc7f24cf55454ee057b8c88d2e5b5b153b61c44c57bf4d92fb65ed557e9cb9ea89e3fa8939689c0e30791cebdb91b837482ec8ec13ae281abc
27
28 diff --git a/net-libs/gsoap/gsoap-2.8.105.ebuild b/net-libs/gsoap/gsoap-2.8.105.ebuild
29 new file mode 100644
30 index 00000000000..b269cd88b43
31 --- /dev/null
32 +++ b/net-libs/gsoap/gsoap-2.8.105.ebuild
33 @@ -0,0 +1,83 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +inherit autotools
40 +
41 +MY_P="${PN}-2.8"
42 +
43 +DESCRIPTION="A cross-platform open source C and C++ SDK for SOAP/XML Web services"
44 +HOMEPAGE="http://gsoap2.sourceforge.net"
45 +SRC_URI="mirror://sourceforge/gsoap2/gsoap_${PV}.zip"
46 +
47 +LICENSE="|| ( gSOAP GPL-2+-with-openssl-exception ) GPL-2+"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +IUSE="doc debug examples ipv6 libressl gnutls +ssl"
51 +
52 +RDEPEND="
53 + sys-libs/zlib
54 + gnutls? ( net-libs/gnutls )
55 + ssl? (
56 + !libressl? ( dev-libs/openssl:0= )
57 + libressl? ( dev-libs/libressl )
58 + )
59 +"
60 +DEPEND="${RDEPEND}
61 + app-arch/unzip
62 + sys-devel/flex
63 + sys-devel/bison
64 +"
65 +
66 +PATCHES=(
67 + # Fix Pre-ISO headers
68 + "${FILESDIR}/${PN}-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch"
69 +
70 + # enable shared libs https://bugs.gentoo.org/583398
71 + "${FILESDIR}/${PN}-2.8.91-shared_libs.patch"
72 +)
73 +
74 +S="${WORKDIR}/${MY_P}"
75 +
76 +src_prepare() {
77 + default
78 + eautoreconf
79 +}
80 +
81 +src_configure() {
82 + local myeconfargs=(
83 + # Don't include xlocale.h as it got removed in >=glibc-2.26
84 + --disable-xlocale
85 + $(use_enable debug)
86 + $(use_enable examples samples)
87 + $(usex gnutls --enable-gnutls '')
88 + $(usex ipv6 --enable-ipv6 '')
89 + $(usex ssl '' --disable-ssl)
90 + )
91 + econf "${myeconfargs[@]}"
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 + docinto html
102 + dodoc changelog.md
103 +
104 + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
105 +
106 + if use examples; then
107 + rm -r gsoap/samples/Makefile* gsoap/samples/*/Makefile* gsoap/samples/*/*.o || die
108 + insinto /usr/share/doc/${PF}/examples
109 + doins -r gsoap/samples/*
110 + fi
111 +
112 + if use doc; then
113 + docinto html
114 + dodoc -r gsoap/doc/*
115 + fi
116 +}