1 |
commit: 9bffa0bfcc726db610cef7e7a88b4021a1e90792 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 28 07:45:06 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 28 07:45:22 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bffa0bf |
7 |
|
8 |
net-libs/gsoap: Removed old. |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
net-libs/gsoap/Manifest | 3 - |
13 |
.../gsoap-2.7-fix-missing-cookie-support.patch | 24 ------ |
14 |
.../files/gsoap-2.7-fix-pre-iso-headers.patch | 98 ---------------------- |
15 |
net-libs/gsoap/gsoap-2.7.17-r2.ebuild | 70 ---------------- |
16 |
net-libs/gsoap/gsoap-2.7.17.ebuild | 70 ---------------- |
17 |
net-libs/gsoap/gsoap-2.8.23.ebuild | 71 ---------------- |
18 |
net-libs/gsoap/gsoap-2.8.39.ebuild | 79 ----------------- |
19 |
7 files changed, 415 deletions(-) |
20 |
|
21 |
diff --git a/net-libs/gsoap/Manifest b/net-libs/gsoap/Manifest |
22 |
index 4f811882a74..6200371ded8 100644 |
23 |
--- a/net-libs/gsoap/Manifest |
24 |
+++ b/net-libs/gsoap/Manifest |
25 |
@@ -1,5 +1,2 @@ |
26 |
-DIST gsoap_2.7.17.zip 10224444 SHA256 d3af1ce9464b28cacdf1dfbe09b689f8927cbcf3948479996aef52a39afa2c16 SHA512 efb5332e90cbed6013ac2f16b940404cc4de9e84bc85e671cb3588bc6620cd86c8db646a4f3cd77bb3b866dfcc8a793186736ab2241bb8cbaca8d313345d14ac WHIRLPOOL 955e845b5a8b9af1697ca8bcdbb77813f149f7ff162ec51e680c398dab9934c36418572004b7bd24200476b6d45b623f294053b932da2fce94f415becd369af7 |
27 |
-DIST gsoap_2.8.23.zip 22482000 SHA256 e1c30743f1c2cf40b2760568127e14af1b2a00c3026b2e5f0750e8c33d94c061 SHA512 cc90aadfe09aa6406172c9ffa07696851ff594ca7c5b40819494badd8ce978d908d66de63a5831e7aec1bca18ee8b51ed02187057688a3b36eb0a21fe6e0f5a4 WHIRLPOOL e5cfc9c5758847d1fc94cbd38108b80c7548abc0316fe201b58604a3b22d30b9748c81d4aec13f53356593f3ddc2dcba14170a53d63795eab9229ec49d4bc585 |
28 |
-DIST gsoap_2.8.39.zip 36767952 SHA256 7922bfea5f8d0889ea578026d368abd666983e36fed8745f807c39a072028760 SHA512 655be576d8c7bd461a59bcf934ce1abeb3c284e87662dffcf06f0a0d4aa8655ce7b1b646f4ec3fa866c6c617cd527e1fa486b9e72249b3ea0e7e3cbdc3f9bfe4 WHIRLPOOL 6da9507a0a3e1e1ea8510dfcb2f67154081d6afa9bc8a9f677973300a9c2eefb8c4e2f2d3c249bfdcb6bb9f2d488a50f23b3fe03790fc0ac8b189364f7de5683 |
29 |
DIST gsoap_2.8.40.zip 36317175 SHA256 54ef56d9c55a6a7a00ae57f8cb0b3266af1b26e623070be2ef20833626157f77 SHA512 fc26899e780a7d797544f21aa7beaabc6c1507b7097c4a229a641e4be763733a40e96ce0d5181024eae19653de9513a5b35d51c8b12e85078423e30d0b898a6f WHIRLPOOL 6f795590a5b1e36d796200e3669b3a2aa45c016aa3acaae6291c09543422530a12e977a159a2f892b328cd7813633f41966432e75fd36268bfe4c6d9d1bb6fbf |
30 |
DIST gsoap_2.8.45.zip 33590780 SHA256 81946d1ecd99ea414383d5f090e6b292908ff3ac0211cb097a1d1d54e9808bce SHA512 db45f2f8403143387f2860339a77695079fd3224700791846eb436d510a1008fe217c85b61b980340a4982d20ed0fef87dfd8d3de07be9953b627b539ca4af2a WHIRLPOOL 73b2327a05fb065c398573cb70eafc37066c0992787f51eb39e9b0e61193aeaa6f59e608d179c805d3488875dfe538116c512660bf24554811be8ecb8442229b |
31 |
|
32 |
diff --git a/net-libs/gsoap/files/gsoap-2.7-fix-missing-cookie-support.patch b/net-libs/gsoap/files/gsoap-2.7-fix-missing-cookie-support.patch |
33 |
deleted file mode 100644 |
34 |
index 7f3ad8d283b..00000000000 |
35 |
--- a/net-libs/gsoap/files/gsoap-2.7-fix-missing-cookie-support.patch |
36 |
+++ /dev/null |
37 |
@@ -1,24 +0,0 @@ |
38 |
-From: Gokturk Yuksek <gokturk@××××××××××.edu> |
39 |
-Subject: [PATCH] Backport missing cookie support |
40 |
- |
41 |
-For <gsoap-2.8.24, successful compilation results in missing cookie |
42 |
-support due to undefined compilation flag. This is fixed in the later |
43 |
-versions by upstream. |
44 |
- |
45 |
-Upstream-URL: https://sourceforge.net/p/gsoap2/code/85/tree//gsoap/Makefile.am?diff=51af4d3f5fcbc945b53d89a4:84 |
46 |
-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=340647 |
47 |
- |
48 |
---- a/gsoap/Makefile.am |
49 |
-+++ b/gsoap/Makefile.am |
50 |
-@@ -42,9 +42,9 @@ |
51 |
- libgsoapck___a_SOURCES = stdsoap2_ck_cpp.cpp |
52 |
- libgsoapck___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) -D$(platform) -DWITH_COOKIES |
53 |
- libgsoapssl_a_SOURCES = stdsoap2_ssl.c |
54 |
--libgsoapssl_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) -D$(platform) -DWITH_OPENSSL -DWITH_DOM -DWITH_GZIP |
55 |
-+libgsoapssl_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) -D$(platform) -DWITH_OPENSSL -DWITH_DOM -DWITH_GZIP -DWITH_COOKIES |
56 |
- libgsoapssl___a_SOURCES = stdsoap2_ssl_cpp.cpp |
57 |
--libgsoapssl___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) -D$(platform) -DWITH_OPENSSL -DWITH_DOM -DWITH_GZIP |
58 |
-+libgsoapssl___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) -D$(platform) -DWITH_OPENSSL -DWITH_DOM -DWITH_GZIP -DWITH_COOKIES |
59 |
- |
60 |
- BUILT_SOURCES = stdsoap2_cpp.cpp $(lib_LIBRARIES) |
61 |
- |
62 |
|
63 |
diff --git a/net-libs/gsoap/files/gsoap-2.7-fix-pre-iso-headers.patch b/net-libs/gsoap/files/gsoap-2.7-fix-pre-iso-headers.patch |
64 |
deleted file mode 100644 |
65 |
index 5762d528221..00000000000 |
66 |
--- a/net-libs/gsoap/files/gsoap-2.7-fix-pre-iso-headers.patch |
67 |
+++ /dev/null |
68 |
@@ -1,98 +0,0 @@ |
69 |
---- gsoap/samples/factorytest/factorytest.cpp.orig 2009-03-04 01:16:22.300484305 +0100 |
70 |
-+++ gsoap/samples/factorytest/factorytest.cpp 2009-03-04 01:15:47.656485143 +0100 |
71 |
-@@ -49,7 +49,7 @@ |
72 |
- #include "soapH.h" |
73 |
- #include "factorytest.nsmap" |
74 |
- |
75 |
--#include <iostream.h> |
76 |
-+#include <iostream> |
77 |
- |
78 |
- // default factory service endpoint: |
79 |
- const char *factory = "http://localhost:18085"; |
80 |
-@@ -167,7 +167,7 @@ |
81 |
- int main(int argc, char **argv) |
82 |
- { if (argc > 1) |
83 |
- factory = argv[1]; // use factory from command line arg by default |
84 |
-- cout << "Connecting to factory " << factory << endl; |
85 |
-+ std::cout << "Connecting to factory " << factory << std::endl; |
86 |
- Adder adder; // create unique new remote adder object |
87 |
- Counter counter1("myCounter"); // new counter object "myCounter" (created if not exists) |
88 |
- Counter counter2("myCounter"); // lookup and use counter "myCounter" (this is an alias to counter1!) |
89 |
-@@ -175,22 +175,22 @@ |
90 |
- counter1.set(adder.get()); |
91 |
- adder.add(3.0); |
92 |
- counter1.inc(); |
93 |
-- cout << "Adder=" << adder.get() << endl; |
94 |
-- cout << "Counter=" << counter2.get() << endl; // counter2 is an alias for counter1 so this prints the value of counter1 |
95 |
-- cout << "Sleep for 90 seconds to test factory server purging objects:" << endl; |
96 |
-+ std::cout << "Adder=" << adder.get() << std::endl; |
97 |
-+ std::cout << "Counter=" << counter2.get() << std::endl; // counter2 is an alias for counter1 so this prints the value of counter1 |
98 |
-+ std::cout << "Sleep for 90 seconds to test factory server purging objects:" << std::endl; |
99 |
- // counter is periodically incremented which keeps it alive |
100 |
- sleep(30); |
101 |
- counter1.inc(); |
102 |
-- cout << "Counter=" << counter2.get() << endl; |
103 |
-+ std::cout << "Counter=" << counter2.get() << std::endl; |
104 |
- sleep(30); |
105 |
- counter1.inc(); |
106 |
-- cout << "Counter=" << counter2.get() << endl; |
107 |
-+ std::cout << "Counter=" << counter2.get() << std::endl; |
108 |
- sleep(30); |
109 |
- counter1.inc(); |
110 |
-- cout << "Counter=" << counter2.get() << endl; |
111 |
-+ std::cout << "Counter=" << counter2.get() << std::endl; |
112 |
- // after 90 secs, the adder should be gone |
113 |
-- cout << "Adder is no longer available:" << endl; |
114 |
-+ std::cout << "Adder is no longer available:" << std::endl; |
115 |
- adder.add(3.0); |
116 |
-- cout << "Adder status = " << adder.status << endl; |
117 |
-+ std::cout << "Adder status = " << adder.status << std::endl; |
118 |
- return 0; |
119 |
- } |
120 |
---- gsoap/samples/lu/luclient.cpp.orig 2009-03-04 01:16:48.632483467 +0100 |
121 |
-+++ gsoap/samples/lu/luclient.cpp 2009-03-04 01:17:54.550483188 +0100 |
122 |
-@@ -32,7 +32,7 @@ |
123 |
- */ |
124 |
- |
125 |
- #include "soapH.h" |
126 |
--#include <iostream.h> |
127 |
-+#include <iostream> |
128 |
- |
129 |
- const char luserver[] = "http://websrv.cs.fsu.edu/~engelen/luserver.cgi"; |
130 |
- |
131 |
-@@ -51,14 +51,14 @@ |
132 |
- a[3].resize(2,3); // 2-element vector indexed from 2 to 3 |
133 |
- a[3][2] = 1; |
134 |
- a[3][3] = 2; |
135 |
-- cout << "* Demonstration example *" << endl; |
136 |
-- cout << "Matrix:" << endl; |
137 |
-+ std::cout << "* Demonstration example *" << std::endl; |
138 |
-+ std::cout << "Matrix:" << std::endl; |
139 |
- a.print(); |
140 |
- vector b(soap, 3); |
141 |
- b[1] = 1; |
142 |
- b[2] = 2; |
143 |
- b[3] = 3; |
144 |
-- cout << "Vector:" << endl; |
145 |
-+ std::cout << "Vector:" << std::endl; |
146 |
- b.print(); |
147 |
- vector x(soap); |
148 |
- if (argc < 2) |
149 |
-@@ -71,7 +71,7 @@ |
150 |
- soap_print_fault_location(soap, stderr); |
151 |
- } |
152 |
- else |
153 |
-- { cout << "Solution vector from service:" << endl; |
154 |
-+ { std::cout << "Solution vector from service:" << std::endl; |
155 |
- x.print(); |
156 |
- } |
157 |
- matrix a1(soap); |
158 |
-@@ -80,7 +80,7 @@ |
159 |
- soap_print_fault_location(soap, stderr); |
160 |
- } |
161 |
- else |
162 |
-- { cout << "Inverse matrix matrix from service:" << endl; |
163 |
-+ { std::cout << "Inverse matrix matrix from service:" << std::endl; |
164 |
- a1.print(); |
165 |
- } |
166 |
- soap_destroy(soap); |
167 |
|
168 |
diff --git a/net-libs/gsoap/gsoap-2.7.17-r2.ebuild b/net-libs/gsoap/gsoap-2.7.17-r2.ebuild |
169 |
deleted file mode 100644 |
170 |
index 23435feeb35..00000000000 |
171 |
--- a/net-libs/gsoap/gsoap-2.7.17-r2.ebuild |
172 |
+++ /dev/null |
173 |
@@ -1,70 +0,0 @@ |
174 |
-# Copyright 1999-2015 Gentoo Foundation |
175 |
-# Distributed under the terms of the GNU General Public License v2 |
176 |
- |
177 |
-EAPI=5 |
178 |
- |
179 |
-inherit autotools eutils |
180 |
- |
181 |
-MY_P="${PN}-2.7" |
182 |
- |
183 |
-DESCRIPTION="A cross-platform open source C and C++ SDK for SOAP/XML Web services" |
184 |
-HOMEPAGE="http://gsoap2.sourceforge.net" |
185 |
-SRC_URI="mirror://sourceforge/gsoap2/gsoap_${PV}.zip" |
186 |
- |
187 |
-LICENSE="GPL-2 gSOAP" |
188 |
-SLOT="0" |
189 |
-KEYWORDS="~amd64 ~x86" |
190 |
-IUSE="doc debug examples +ssl" |
191 |
- |
192 |
-DEPEND="app-arch/unzip |
193 |
- sys-devel/flex |
194 |
- sys-devel/bison" |
195 |
-RDEPEND="sys-libs/zlib |
196 |
- ssl? ( dev-libs/openssl:0= )" |
197 |
- |
198 |
-S="${WORKDIR}/${MY_P}" |
199 |
- |
200 |
-src_prepare() { |
201 |
- # Fix Pre-ISO headers |
202 |
- epatch "${FILESDIR}/${PN}-2.7-fix-pre-iso-headers.patch" |
203 |
- epatch "${FILESDIR}/${PN}-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch" |
204 |
- epatch "${FILESDIR}/${PN}-2.7-fix-missing-cookie-support.patch" # 340647 |
205 |
- |
206 |
- # causes compilation of app-emulation/virtualbox-ose[vboxwebsrv] to |
207 |
- # break (bug #320901): |
208 |
- #epatch "${FILESDIR}/${PN}-2.7.15-use_libtool.patch" |
209 |
- |
210 |
- eautoreconf |
211 |
-} |
212 |
- |
213 |
-src_configure() { |
214 |
- econf \ |
215 |
- $(use_enable ssl openssl) \ |
216 |
- $(use_enable examples samples) |
217 |
-} |
218 |
- |
219 |
-src_compile() { |
220 |
- emake -j1 |
221 |
-} |
222 |
- |
223 |
-src_install() { |
224 |
- emake DESTDIR="${D}" install |
225 |
- |
226 |
- # yes, we also install the license-file since |
227 |
- # it contains info about how to apply the licenses |
228 |
- dodoc *.txt |
229 |
- |
230 |
- dohtml changelog.html |
231 |
- |
232 |
- prune_libtool_files --all |
233 |
- |
234 |
- if use examples; then |
235 |
- rm -rf gsoap/samples/Makefile* gsoap/samples/*/Makefile* gsoap/samples/*/*.o || die |
236 |
- insinto /usr/share/doc/${PF}/examples |
237 |
- doins -r gsoap/samples/* |
238 |
- fi |
239 |
- |
240 |
- if use doc; then |
241 |
- dohtml -r gsoap/doc/* |
242 |
- fi |
243 |
-} |
244 |
|
245 |
diff --git a/net-libs/gsoap/gsoap-2.7.17.ebuild b/net-libs/gsoap/gsoap-2.7.17.ebuild |
246 |
deleted file mode 100644 |
247 |
index fecacfeb3e4..00000000000 |
248 |
--- a/net-libs/gsoap/gsoap-2.7.17.ebuild |
249 |
+++ /dev/null |
250 |
@@ -1,70 +0,0 @@ |
251 |
-# Copyright 1999-2010 Gentoo Foundation |
252 |
-# Distributed under the terms of the GNU General Public License v2 |
253 |
- |
254 |
-EAPI=2 |
255 |
- |
256 |
-inherit autotools eutils |
257 |
- |
258 |
-MY_P="${PN}-2.7" |
259 |
- |
260 |
-DESCRIPTION="A cross-platform open source C and C++ SDK to ease the development of SOAP/XML Web services" |
261 |
-HOMEPAGE="http://gsoap2.sourceforge.net" |
262 |
-SRC_URI="mirror://sourceforge/gsoap2/gsoap_${PV}.zip" |
263 |
- |
264 |
-LICENSE="GPL-2 gSOAP" |
265 |
-SLOT="0" |
266 |
-KEYWORDS="amd64 x86" |
267 |
-IUSE="doc debug examples +ssl" |
268 |
- |
269 |
-DEPEND="app-arch/unzip |
270 |
- sys-devel/flex |
271 |
- sys-devel/bison |
272 |
- sys-libs/zlib |
273 |
- ssl? ( dev-libs/openssl )" |
274 |
-RDEPEND="" |
275 |
- |
276 |
-S="${WORKDIR}/${MY_P}" |
277 |
- |
278 |
-src_prepare() { |
279 |
- # Fix Pre-ISO headers |
280 |
- epatch "${FILESDIR}/${PN}-2.7-fix-pre-iso-headers.patch" |
281 |
- epatch "${FILESDIR}/${PN}-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch" |
282 |
- |
283 |
- # causes compilation of app-emulation/virtualbox-ose[vboxwebsrv] to |
284 |
- # break (bug #320901): |
285 |
- #epatch "${FILESDIR}/${PN}-2.7.15-use_libtool.patch" |
286 |
- |
287 |
- eautoreconf |
288 |
-} |
289 |
- |
290 |
-src_configure() { |
291 |
- econf \ |
292 |
- $(use_enable ssl openssl) \ |
293 |
- $(use_enable examples samples) |
294 |
-} |
295 |
- |
296 |
-src_compile() { |
297 |
- emake -j1 || die "emake failed" |
298 |
-} |
299 |
- |
300 |
-src_install() { |
301 |
- emake DESTDIR="${D}" install || die "Install failed" |
302 |
- |
303 |
- # yes, we also install the license-file since |
304 |
- # it contains info about how to apply the licenses |
305 |
- dodoc *.txt |
306 |
- |
307 |
- dohtml changelog.html |
308 |
- |
309 |
- rm -rf "${D}"/usr/lib*/*.la |
310 |
- |
311 |
- if use examples; then |
312 |
- rm -rf gsoap/samples/Makefile* gsoap/samples/*/Makefile* gsoap/samples/*/*.o |
313 |
- insinto /usr/share/doc/${PF}/examples |
314 |
- doins -r gsoap/samples/* |
315 |
- fi |
316 |
- |
317 |
- if use doc; then |
318 |
- dohtml -r gsoap/doc/* |
319 |
- fi |
320 |
-} |
321 |
|
322 |
diff --git a/net-libs/gsoap/gsoap-2.8.23.ebuild b/net-libs/gsoap/gsoap-2.8.23.ebuild |
323 |
deleted file mode 100644 |
324 |
index 77c031a5c09..00000000000 |
325 |
--- a/net-libs/gsoap/gsoap-2.8.23.ebuild |
326 |
+++ /dev/null |
327 |
@@ -1,71 +0,0 @@ |
328 |
-# Copyright 1999-2015 Gentoo Foundation |
329 |
-# Distributed under the terms of the GNU General Public License v2 |
330 |
- |
331 |
-EAPI=5 |
332 |
- |
333 |
-inherit autotools eutils |
334 |
- |
335 |
-MY_P="${PN}-2.8" |
336 |
- |
337 |
-DESCRIPTION="A cross-platform open source C and C++ SDK for SOAP/XML Web services" |
338 |
-HOMEPAGE="http://gsoap2.sourceforge.net" |
339 |
-SRC_URI="mirror://sourceforge/gsoap2/gsoap_${PV}.zip" |
340 |
- |
341 |
-LICENSE="GPL-2 gSOAP" |
342 |
-SLOT="0" |
343 |
-KEYWORDS="amd64 x86" |
344 |
-IUSE="doc debug examples ipv6 gnutls +ssl" |
345 |
- |
346 |
-DEPEND="app-arch/unzip |
347 |
- sys-devel/flex |
348 |
- sys-devel/bison |
349 |
- sys-libs/zlib |
350 |
- gnutls? ( net-libs/gnutls ) |
351 |
- ssl? ( dev-libs/openssl:= )" |
352 |
-RDEPEND="" |
353 |
- |
354 |
-S="${WORKDIR}/${MY_P}" |
355 |
- |
356 |
-src_prepare() { |
357 |
- # Fix Pre-ISO headers |
358 |
- epatch "${FILESDIR}/${PN}-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch" |
359 |
- |
360 |
- eautoreconf |
361 |
-} |
362 |
- |
363 |
-src_configure() { |
364 |
- local myconf=() |
365 |
- use ssl || myconf+=( --disable-ssl ) |
366 |
- use gnutls && myconf+=( --enable-gnutls ) |
367 |
- use ipv6 && myconf+=( --enable-ipv6 ) |
368 |
- econf \ |
369 |
- ${myconf[@]} \ |
370 |
- $(use_enable debug) \ |
371 |
- $(use_enable examples samples) |
372 |
-} |
373 |
- |
374 |
-src_compile() { |
375 |
- emake -j1 |
376 |
-} |
377 |
- |
378 |
-src_install() { |
379 |
- emake DESTDIR="${D}" install |
380 |
- |
381 |
- # yes, we also install the license-file since |
382 |
- # it contains info about how to apply the licenses |
383 |
- dodoc *.txt |
384 |
- |
385 |
- dohtml changelog.md |
386 |
- |
387 |
- prune_libtool_files --all |
388 |
- |
389 |
- if use examples; then |
390 |
- rm -rf gsoap/samples/Makefile* gsoap/samples/*/Makefile* gsoap/samples/*/*.o |
391 |
- insinto /usr/share/doc/${PF}/examples |
392 |
- doins -r gsoap/samples/* |
393 |
- fi |
394 |
- |
395 |
- if use doc; then |
396 |
- dohtml -r gsoap/doc/* |
397 |
- fi |
398 |
-} |
399 |
|
400 |
diff --git a/net-libs/gsoap/gsoap-2.8.39.ebuild b/net-libs/gsoap/gsoap-2.8.39.ebuild |
401 |
deleted file mode 100644 |
402 |
index 2b3059bb76d..00000000000 |
403 |
--- a/net-libs/gsoap/gsoap-2.8.39.ebuild |
404 |
+++ /dev/null |
405 |
@@ -1,79 +0,0 @@ |
406 |
-# Copyright 1999-2016 Gentoo Foundation |
407 |
-# Distributed under the terms of the GNU General Public License v2 |
408 |
- |
409 |
-EAPI=6 |
410 |
- |
411 |
-inherit autotools eutils |
412 |
- |
413 |
-MY_P="${PN}-2.8" |
414 |
- |
415 |
-DESCRIPTION="A cross-platform open source C and C++ SDK for SOAP/XML Web services" |
416 |
-HOMEPAGE="http://gsoap2.sourceforge.net" |
417 |
-SRC_URI="mirror://sourceforge/gsoap2/gsoap_${PV}.zip" |
418 |
- |
419 |
-LICENSE="GPL-2 gSOAP" |
420 |
-SLOT="0" |
421 |
-KEYWORDS="~amd64 ~x86" |
422 |
-IUSE="doc debug examples ipv6 libressl gnutls +ssl" |
423 |
- |
424 |
-RDEPEND=" |
425 |
- sys-libs/zlib |
426 |
- gnutls? ( net-libs/gnutls ) |
427 |
- ssl? ( |
428 |
- !libressl? ( dev-libs/openssl:0= ) |
429 |
- libressl? ( dev-libs/libressl ) |
430 |
- ) |
431 |
-" |
432 |
-DEPEND="${RDEPEND} |
433 |
- app-arch/unzip |
434 |
- sys-devel/flex |
435 |
- sys-devel/bison |
436 |
-" |
437 |
- |
438 |
-S="${WORKDIR}/${MY_P}" |
439 |
- |
440 |
-src_prepare() { |
441 |
- default |
442 |
- |
443 |
- # Fix Pre-ISO headers |
444 |
- eapply "${FILESDIR}/${PN}-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch" |
445 |
- |
446 |
- eautoreconf |
447 |
-} |
448 |
- |
449 |
-src_configure() { |
450 |
- local myconf=() |
451 |
- use ssl || myconf+=( --disable-ssl ) |
452 |
- use gnutls && myconf+=( --enable-gnutls ) |
453 |
- use ipv6 && myconf+=( --enable-ipv6 ) |
454 |
- econf \ |
455 |
- ${myconf[@]} \ |
456 |
- $(use_enable debug) \ |
457 |
- $(use_enable examples samples) |
458 |
-} |
459 |
- |
460 |
-src_compile() { |
461 |
- emake -j1 |
462 |
-} |
463 |
- |
464 |
-src_install() { |
465 |
- emake DESTDIR="${D}" install |
466 |
- |
467 |
- # yes, we also install the license-file since |
468 |
- # it contains info about how to apply the licenses |
469 |
- dodoc *.txt |
470 |
- |
471 |
- dohtml changelog.md |
472 |
- |
473 |
- prune_libtool_files --all |
474 |
- |
475 |
- if use examples; then |
476 |
- rm -rf gsoap/samples/Makefile* gsoap/samples/*/Makefile* gsoap/samples/*/*.o || die |
477 |
- insinto /usr/share/doc/${PF}/examples |
478 |
- doins -r gsoap/samples/* |
479 |
- fi |
480 |
- |
481 |
- if use doc; then |
482 |
- dohtml -r gsoap/doc/* |
483 |
- fi |
484 |
-} |