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: Thu, 04 Jan 2018 15:25:15
Message-Id: 1515079499.eeb557c0e6d3955eb98c09fcd3c6d6c42627328b.polynomial-c@gentoo
1 commit: eeb557c0e6d3955eb98c09fcd3c6d6c42627328b
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 4 15:23:22 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 4 15:24:59 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eeb557c0
7
8 net-libs/gsoap: Bump to version 2.8.59
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 net-libs/gsoap/Manifest | 1 +
13 net-libs/gsoap/gsoap-2.8.59.ebuild | 83 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 84 insertions(+)
15
16 diff --git a/net-libs/gsoap/Manifest b/net-libs/gsoap/Manifest
17 index 2794db61de7..22eeccfd4bb 100644
18 --- a/net-libs/gsoap/Manifest
19 +++ b/net-libs/gsoap/Manifest
20 @@ -1,3 +1,4 @@
21 DIST gsoap_2.8.51.zip 34505931 BLAKE2B 6f2d6ee2bd405054dc75105f42f6edeaa2300f1e7e6bea15f9e8f0dfcc2df56b36cddfc8f0a038b029f36a6dd1fd63f39eadb8d7f363335344eb142ec27be726 SHA512 491e31ce6be02c577b6184335672a0805e2287418a7e26d9b0f009aab8af462ddef7d7a1893dc867db5362c5f2a1e0022d0a45865d81e43286ce16c649da6910
22 DIST gsoap_2.8.55.zip 32571850 BLAKE2B 6f262c0b65c7704fbf6c0973d766c0cff788745d0f6331afdffc6bbabbbeeea38222f8038d7a96eae63453a721f2b52b1623f4691e7c677489fb8a3c49d80bae SHA512 e0cb6809d5b8e4a068ed937f253844f88d8275e58f7590ca0dd52bede1ea74d5781d35664586f9e29f2e22c508167df8044d45101f0773c9b8d79b80aa188935
23 DIST gsoap_2.8.58.zip 32931913 BLAKE2B ab6e1b9f1e3b866199236b471e638a80c3542ce709e5cca75df9b3d5cd06fc498d09e768078a6863c549e721f657723d50bf53274c7d6603da23f1ea7a887879 SHA512 019c428aee0309ac952af349738a062d4e6deae28f2c5d38178bcd2aa3ead76a7a43faf952ca61f15e8928600a46f1a865b7996ded1c32e1749d1036c5354e2b
24 +DIST gsoap_2.8.59.zip 33109898 BLAKE2B d05ddf0c1e24afc03a33592cf8abef6f0bb6c8a8a216aee9ce7614720a8e3cd015f1e03429113ac8bdc05e6b916fee022914db22d0c29b5c9c4d0fb60c549168 SHA512 d43320e6965c3f17d122ea7aeeecbc0b608dac52204e630c3254d32eadd3c93aaca446c92bb439b98207f8560b2ad6bff220c0502b75ebd18b99e37402570624
25
26 diff --git a/net-libs/gsoap/gsoap-2.8.59.ebuild b/net-libs/gsoap/gsoap-2.8.59.ebuild
27 new file mode 100644
28 index 00000000000..84b2601d54e
29 --- /dev/null
30 +++ b/net-libs/gsoap/gsoap-2.8.59.ebuild
31 @@ -0,0 +1,83 @@
32 +# Copyright 1999-2018 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 +PATCHES=(
65 + # Fix Pre-ISO headers
66 + "${FILESDIR}/${PN}-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch"
67 +
68 + # enable shared libs https://bugs.gentoo.org/583398
69 + "${FILESDIR}/${PN}-2.8.52-shared_libs.patch"
70 +)
71 +
72 +S="${WORKDIR}/${MY_P}"
73 +
74 +src_prepare() {
75 + default
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 +}