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/, net-libs/gsoap/files/
Date: Fri, 27 Sep 2019 17:51:25
Message-Id: 1569606613.e035a4bf9fbd9853270a0a665ea80f59009b060d.whissi@gentoo
1 commit: e035a4bf9fbd9853270a0a665ea80f59009b060d
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 27 15:51:27 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 27 17:50:13 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e035a4bf
7
8 net-libs/gsoap: bump to v2.8.93
9
10 - Use proper autotools magic to address
11
12 fatal error: soapcpp2_yacc.h: No such file or directory
13
14 error.
15
16 - Previous change will ensure that we will respect CFLAGS for
17 soapcpp2.
18
19 Fixes 6526a590e ("net-libs/gsoap: Fixed parallel make issue.")
20 Package-Manager: Portage-2.3.76, Repoman-2.3.17
21 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
22
23 net-libs/gsoap/Manifest | 1 +
24 .../files/gsoap-2.8.93-fix-parallel-build.patch | 17 +++++
25 net-libs/gsoap/gsoap-2.8.93.ebuild | 86 ++++++++++++++++++++++
26 3 files changed, 104 insertions(+)
27
28 diff --git a/net-libs/gsoap/Manifest b/net-libs/gsoap/Manifest
29 index 3f72da213d7..8d59309406b 100644
30 --- a/net-libs/gsoap/Manifest
31 +++ b/net-libs/gsoap/Manifest
32 @@ -1,3 +1,4 @@
33 DIST gsoap_2.8.84.zip 32538551 BLAKE2B cab2b75ac931ee6063af47975665f45514cb94f5514fb1f76d17ccb2e71d64d4ebd43543cc004ff7f5c49982975ebaa38e555e3bc45dbc370aae991bc7639273 SHA512 ec050119cd3e480b266cad36823f4862fe0ac21045ce901c3c91a552eae2fbf9e1cd515458835807cce54c04df7835a980a299d37f418190cd57684fd6bdcf79
34 DIST gsoap_2.8.87.zip 32545316 BLAKE2B c2d0f9fafdfa9de83ea35f8dfc88e23d9d80967a2e58c30d554d539fd93056d7a8eb00ea9c928c6cf786e4888eb9f942ba4574e343de0c0104fce8b270494d6a SHA512 638bf9b2b8aca5facba518f136ad5af5bda41f2b92ee345ee6989d73223a571ce5ddab23c0b65259e9fd524039250d861defc8cfc2fc0a366a578ce3629b9ca4
35 DIST gsoap_2.8.91.zip 32553307 BLAKE2B 463c2d9c2d56c2a09fa8c9ebea7fa8059ed050cff81780b04a1a47ee1f016e385e6eb338ca740a40cd0c9483b4e10cf0963d02c52d6020863ce015e2f9cf2024 SHA512 ed99f1a20fd95edc7f24cf55454ee057b8c88d2e5b5b153b61c44c57bf4d92fb65ed557e9cb9ea89e3fa8939689c0e30791cebdb91b837482ec8ec13ae281abc
36 +DIST gsoap_2.8.93.zip 32559296 BLAKE2B 1c27a2d99eb529715f775392a6aeed803ef03f9b703caca49e56e7b4eeb6c9bf7b801d9853fb4009ab61ec138da1c23d54dc33c2f604d73f8134121a5ea2e975 SHA512 45965d04e1c46e06803467887f62d9bea5909fa2d4c4d9ffc935f9fced014efed9169a0171a555067c89ef47b2def9983b277eecee18eb9e70d7198bc72b1ece
37
38 diff --git a/net-libs/gsoap/files/gsoap-2.8.93-fix-parallel-build.patch b/net-libs/gsoap/files/gsoap-2.8.93-fix-parallel-build.patch
39 new file mode 100644
40 index 00000000000..27e2a94d14e
41 --- /dev/null
42 +++ b/net-libs/gsoap/files/gsoap-2.8.93-fix-parallel-build.patch
43 @@ -0,0 +1,17 @@
44 +--- a/gsoap/src/Makefile.am
45 ++++ b/gsoap/src/Makefile.am
46 +@@ -10,11 +10,13 @@ AUTOMAKE_OPTIONS = foreign 1.4
47 + AM_YFLAGS=-d -v
48 + AM_LFLAGS=$(LEX_FLAGS)
49 +
50 ++BUILT_SOURCES = soapcpp2_yacc.h
51 ++
52 + bin_PROGRAMS=soapcpp2
53 +
54 + soapcpp2_CFLAGS=$(BISON_DEFINE) $(LEX_DEFINE) $(C_DEBUG_FLAGS) $(SOAPCPP2_IMPORTPATH) -D$(platform)
55 + soapcpp2_LDADD=$(YACC_LIB) $(LEXLIB)
56 +-soapcpp2_SOURCES= soapcpp2_yacc.y soapcpp2_yacc.h soapcpp2_lex.l symbol2.c error2.c init2.c soapcpp2.c
57 ++soapcpp2_SOURCES= soapcpp2_yacc.y soapcpp2_lex.l symbol2.c error2.c init2.c soapcpp2.c
58 +
59 + CLEANFILES= *~ soapcpp2_lex.c soapcpp2_yacc.c soapcpp2_yacc.h soapcpp2_yacc.output
60 +
61
62 diff --git a/net-libs/gsoap/gsoap-2.8.93.ebuild b/net-libs/gsoap/gsoap-2.8.93.ebuild
63 new file mode 100644
64 index 00000000000..3dd945fab44
65 --- /dev/null
66 +++ b/net-libs/gsoap/gsoap-2.8.93.ebuild
67 @@ -0,0 +1,86 @@
68 +# Copyright 1999-2019 Gentoo Authors
69 +# Distributed under the terms of the GNU General Public License v2
70 +
71 +EAPI=7
72 +
73 +inherit autotools
74 +
75 +MY_P="${PN}-2.8"
76 +
77 +DESCRIPTION="A cross-platform open source C and C++ SDK for SOAP/XML Web services"
78 +HOMEPAGE="http://gsoap2.sourceforge.net"
79 +SRC_URI="mirror://sourceforge/gsoap2/gsoap_${PV}.zip"
80 +
81 +LICENSE="GPL-2 gSOAP"
82 +SLOT="0"
83 +KEYWORDS="~amd64 ~x86"
84 +IUSE="doc debug examples ipv6 libressl gnutls +ssl"
85 +
86 +RDEPEND="
87 + sys-libs/zlib
88 + gnutls? ( net-libs/gnutls )
89 + ssl? (
90 + !libressl? ( dev-libs/openssl:0= )
91 + libressl? ( dev-libs/libressl )
92 + )
93 +"
94 +DEPEND="${RDEPEND}
95 + app-arch/unzip
96 + sys-devel/flex
97 + sys-devel/bison
98 +"
99 +
100 +PATCHES=(
101 + # Fix Pre-ISO headers
102 + "${FILESDIR}/${PN}-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch"
103 +
104 + # enable shared libs https://bugs.gentoo.org/583398
105 + "${FILESDIR}/${PN}-2.8.91-shared_libs.patch"
106 +
107 + # Fix parallel make
108 + "${FILESDIR}/${PN}-2.8.93-fix-parallel-build.patch"
109 +)
110 +
111 +S="${WORKDIR}/${MY_P}"
112 +
113 +src_prepare() {
114 + default
115 + eautoreconf
116 +}
117 +
118 +src_configure() {
119 + local myeconfargs=(
120 + # Don't include xlocale.h as it got removed in >=glibc-2.26
121 + --disable-xlocale
122 + $(use_enable debug)
123 + $(use_enable examples samples)
124 + $(usex gnutls --enable-gnutls '')
125 + $(usex ipv6 --enable-ipv6 '')
126 + $(usex ssl '' --disable-ssl)
127 + )
128 + econf "${myeconfargs[@]}"
129 +}
130 +
131 +src_install() {
132 + emake DESTDIR="${D}" install
133 +
134 + # yes, we also install the license-file since
135 + # it contains info about how to apply the licenses
136 + dodoc *.txt
137 +
138 + docinto html
139 + dodoc changelog.md
140 +
141 + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
142 +
143 + if use examples; then
144 + rm -r gsoap/samples/Makefile* gsoap/samples/*/Makefile* gsoap/samples/*/*.o || die
145 + insinto /usr/share/doc/${PF}/examples
146 + doins -r gsoap/samples/*
147 + fi
148 +
149 + if use doc; then
150 + docinto html
151 + dodoc -r gsoap/doc/*
152 + fi
153 +}