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: Tue, 29 Jan 2019 11:35:33
Message-Id: 1548761632.1a93377a71f4211a0bfe9c02bca1f1603a80ac3c.polynomial-c@gentoo
1 commit: 1a93377a71f4211a0bfe9c02bca1f1603a80ac3c
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 29 11:33:52 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 29 11:33:52 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a93377a
7
8 net-libs/gsoap: Bump to version 2.8.78
9
10 Package-Manager: Portage-2.3.59, 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.78.ebuild | 86 ++++++++++++++++++++++++++++++++++++++
15 2 files changed, 87 insertions(+)
16
17 diff --git a/net-libs/gsoap/Manifest b/net-libs/gsoap/Manifest
18 index 515a7883c17..0ef59eaf5a8 100644
19 --- a/net-libs/gsoap/Manifest
20 +++ b/net-libs/gsoap/Manifest
21 @@ -2,3 +2,4 @@ DIST gsoap_2.8.70.zip 32695627 BLAKE2B 6d803441804badf06b29cee8ca898dc864b9a0388
22 DIST gsoap_2.8.75.zip 32645773 BLAKE2B 120d79a33f90881ef5c4486ffef3a7713770622a65832be9997edeebbd4beac6dbdb6dfd876eb86f8622a1693908e6f56a47b48179fb37fdb12d313e2929ea7e SHA512 f5ebbe307b9125eec2284989a7ec1c16ade93df3b091ac44768750010bf51fdd9199ba96dbdc5b37b105bdd1156a0f90f41fdb407408d62b2c7750881db8b949
23 DIST gsoap_2.8.76.zip 32474005 BLAKE2B 4b604ea5c21ff98e2eddad3bd032e87e460d708a118ed65cb98e1577a7dc85f7103ffa4ddc4c3447425f4978f7ef72f6c1004fbe6d099a654ef3705fff53bc8a SHA512 4613ce97a52c08267f6186fc90dfa15dac3be0407b754a42ceef59a5f784078c90e43086b9920031d7690a775b42184c330af03c7c594d6cd5b781ff44b1c0b6
24 DIST gsoap_2.8.77.zip 32495225 BLAKE2B 96d1d629eddfa470b53412f15fdb1ffdcc53bcda257ef4ed9c93b3da56cb1627fb98bed81108eb8344e6dbefa2b93c7cf9d9372186590c9a9668044eac9217e8 SHA512 3c03bd32ed9e6368f8483ff7979d2a75361f60f475a4b99b6d3a7d371719c254671d49177c70dd1538075a5e96b3e398d1d301e4fa66cb5979441b6bd6c60fd8
25 +DIST gsoap_2.8.78.zip 32507212 BLAKE2B 8e173cb447dd918fa83673ad9a8ef26ca78dfba0cb8ae2fc81bae23f7a0548d52dddfc0e4f02719833aa302a02ac8d069bc1356b424097802ab0299f0453a58c SHA512 c115044d2662c2dd355c4756a974a0013b7213dd28c536aba179e53c19466279bfa34ce16b4426db5aa7a24d94c18e0ed7e7cdf05e799bf89f7b54031aa0874e
26
27 diff --git a/net-libs/gsoap/gsoap-2.8.78.ebuild b/net-libs/gsoap/gsoap-2.8.78.ebuild
28 new file mode 100644
29 index 00000000000..a36f6c5466c
30 --- /dev/null
31 +++ b/net-libs/gsoap/gsoap-2.8.78.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 +}