Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/wvstreams/files/, net-libs/wvstreams/
Date: Thu, 02 Jan 2020 08:47:34
Message-Id: 1577954849.ba48b6eef15db93238c4646e21e67bdae135bb3f.jer@gentoo
1 commit: ba48b6eef15db93238c4646e21e67bdae135bb3f
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 2 08:47:15 2020 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 2 08:47:29 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba48b6ee
7
8 net-libs/wvstreams: Old
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 net-libs/wvstreams/Manifest | 1 -
14 ...ytes-should-be-enough-right-question-mark.patch | 11 ---
15 .../files/wvstreams-4.6.1-fix-c++14.patch | 36 -------
16 .../wvstreams/files/wvstreams-4.6.1-glibc212.patch | 23 -----
17 .../files/wvstreams-4.6.1-openssl-1.0.0.patch | 16 ----
18 net-libs/wvstreams/wvstreams-4.6.1-r3.ebuild | 105 ---------------------
19 net-libs/wvstreams/wvstreams-4.6.1-r4.ebuild | 95 -------------------
20 net-libs/wvstreams/wvstreams-4.6.1-r5.ebuild | 96 -------------------
21 8 files changed, 383 deletions(-)
22
23 diff --git a/net-libs/wvstreams/Manifest b/net-libs/wvstreams/Manifest
24 index 579ea20214d..ac908263b97 100644
25 --- a/net-libs/wvstreams/Manifest
26 +++ b/net-libs/wvstreams/Manifest
27 @@ -1,3 +1,2 @@
28 -DIST wvstreams-4.6.1.tar.gz 1118456 BLAKE2B 62243d9adc6ff5d01b7dfeb2ce24e8e530914e6ac4540e542dc3cee31e00d32211ad1c6085d7f5bd6e5fd85ff66e8c93afa37cec81f976590ba150f039dc8580 SHA512 59d64e527d86394b768b35254bf95ea59c412c0e092393ea3c84ec3202949150439bb6093bd7350b64ad4767acdb8feb38806c03de4e5cf238ed893f41db4a4a
29 DIST wvstreams_4.6.1-14.debian.tar.xz 21124 BLAKE2B 2af6ec180c3130dd7def733e5ea569fd0a81cd2c2411daca25e6042dcbe78792bafc4b13f1c1fffddb6cd66273f11c62f54b415c975cbea0af052b18ff0955d1 SHA512 93ea7c4fbab542bd552d6e91ae0c49a27ad8aded177ae6474943acb08d204ab31eac49b3f416b4d90a38ea697f3641c09651a64f9c40d12543d454aadf2ad9e4
30 DIST wvstreams_4.6.1.orig.tar.gz 1118456 BLAKE2B 62243d9adc6ff5d01b7dfeb2ce24e8e530914e6ac4540e542dc3cee31e00d32211ad1c6085d7f5bd6e5fd85ff66e8c93afa37cec81f976590ba150f039dc8580 SHA512 59d64e527d86394b768b35254bf95ea59c412c0e092393ea3c84ec3202949150439bb6093bd7350b64ad4767acdb8feb38806c03de4e5cf238ed893f41db4a4a
31
32 diff --git a/net-libs/wvstreams/files/wvstreams-4.6.1-2048-bytes-should-be-enough-right-question-mark.patch b/net-libs/wvstreams/files/wvstreams-4.6.1-2048-bytes-should-be-enough-right-question-mark.patch
33 deleted file mode 100644
34 index 15fb13ca633..00000000000
35 --- a/net-libs/wvstreams/files/wvstreams-4.6.1-2048-bytes-should-be-enough-right-question-mark.patch
36 +++ /dev/null
37 @@ -1,11 +0,0 @@
38 ---- a/utils/wvtask.cc
39 -+++ b/utils/wvtask.cc
40 -@@ -429,7 +429,7 @@
41 - total = (val+1) * (size_t)1024;
42 -
43 - if (!use_shared_stack())
44 -- total = 1024; // enough to save the do_task stack frame
45 -+ total = 2048; // enough to save the do_task stack frame
46 -
47 - // set up a stack frame for the new task. This runs once
48 - // per get_stack.
49
50 diff --git a/net-libs/wvstreams/files/wvstreams-4.6.1-fix-c++14.patch b/net-libs/wvstreams/files/wvstreams-4.6.1-fix-c++14.patch
51 deleted file mode 100644
52 index b2c2efd5624..00000000000
53 --- a/net-libs/wvstreams/files/wvstreams-4.6.1-fix-c++14.patch
54 +++ /dev/null
55 @@ -1,36 +0,0 @@
56 -Fix building with C++14, which errors out due to explicit operator bool() conversion
57 -See also: https://bugs.gentoo.org/show_bug.cgi?id=594058
58 -
59 ---- a/streams/wvstream.cc
60 -+++ b/streams/wvstream.cc
61 -@@ -907,9 +907,9 @@
62 -
63 - if (forceable)
64 - {
65 -- si.wants.readable = readcb;
66 -- si.wants.writable = writecb;
67 -- si.wants.isexception = exceptcb;
68 -+ si.wants.readable = static_cast<bool>(readcb);
69 -+ si.wants.writable = static_cast<bool>(writecb);
70 -+ si.wants.isexception = static_cast<bool>(exceptcb);
71 - }
72 - else
73 - {
74 -@@ -1019,7 +1019,7 @@
75 -
76 - IWvStream::SelectRequest WvStream::get_select_request()
77 - {
78 -- return IWvStream::SelectRequest(readcb, writecb, exceptcb);
79 -+ return IWvStream::SelectRequest(static_cast<bool>(readcb), static_cast<bool>(writecb), static_cast<bool>(exceptcb));
80 - }
81 -
82 -
83 -@@ -1107,7 +1107,7 @@
84 - // inefficient, because if the alarm was expired then pre_select()
85 - // returned true anyway and short-circuited the previous select().
86 - TRACE("hello-%p\n", this);
87 -- return !alarm_was_ticking || select(0, readcb, writecb, exceptcb);
88 -+ return !alarm_was_ticking || select(0, static_cast<bool>(readcb), static_cast<bool>(writecb), static_cast<bool>(exceptcb));
89 - }
90 -
91 -
92
93 diff --git a/net-libs/wvstreams/files/wvstreams-4.6.1-glibc212.patch b/net-libs/wvstreams/files/wvstreams-4.6.1-glibc212.patch
94 deleted file mode 100644
95 index 38218d7213a..00000000000
96 --- a/net-libs/wvstreams/files/wvstreams-4.6.1-glibc212.patch
97 +++ /dev/null
98 @@ -1,23 +0,0 @@
99 -http://bugs.gentoo.org/333301
100 -
101 ---- a/ipstreams/wvunixdgsocket.cc
102 -+++ b/ipstreams/wvunixdgsocket.cc
103 -@@ -1,5 +1,5 @@
104 - #include "wvunixdgsocket.h"
105 --#ifdef MACOS
106 -+#if defined(MACOS) || defined(__GNUC__)
107 - #include <sys/types.h>
108 - #include <sys/stat.h>
109 - #endif
110 ---- a/streams/wvatomicfile.cc
111 -+++ b/streams/wvatomicfile.cc
112 -@@ -11,7 +11,8 @@
113 - #include "wvfileutils.h"
114 - #include "wvstrutils.h"
115 -
116 --#ifdef MACOS
117 -+#if defined(MACOS) || defined(__GNUC__)
118 -+#include <sys/types.h>
119 - #include <sys/stat.h>
120 - #endif
121 -
122
123 diff --git a/net-libs/wvstreams/files/wvstreams-4.6.1-openssl-1.0.0.patch b/net-libs/wvstreams/files/wvstreams-4.6.1-openssl-1.0.0.patch
124 deleted file mode 100644
125 index 327e19a0c11..00000000000
126 --- a/net-libs/wvstreams/files/wvstreams-4.6.1-openssl-1.0.0.patch
127 +++ /dev/null
128 @@ -1,16 +0,0 @@
129 -http://bugs.gentoo.org/304283
130 -
131 ---- a/crypto/wvx509.cc
132 -+++ b/crypto/wvx509.cc
133 -@@ -1157,7 +1157,11 @@
134 -
135 - if (ext)
136 - {
137 -+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
138 -+ const X509V3_EXT_METHOD *method = X509V3_EXT_get(ext);
139 -+#else
140 - X509V3_EXT_METHOD *method = X509V3_EXT_get(ext);
141 -+#endif
142 - if (!method)
143 - {
144 - WvDynBuf buf;
145
146 diff --git a/net-libs/wvstreams/wvstreams-4.6.1-r3.ebuild b/net-libs/wvstreams/wvstreams-4.6.1-r3.ebuild
147 deleted file mode 100644
148 index 34eb54286d8..00000000000
149 --- a/net-libs/wvstreams/wvstreams-4.6.1-r3.ebuild
150 +++ /dev/null
151 @@ -1,105 +0,0 @@
152 -# Copyright 1999-2019 Gentoo Authors
153 -# Distributed under the terms of the GNU General Public License v2
154 -
155 -EAPI=5
156 -inherit autotools eutils flag-o-matic toolchain-funcs versionator
157 -
158 -DESCRIPTION="A network programming library in C++"
159 -HOMEPAGE="http://alumnit.ca/wiki/?WvStreams"
160 -SRC_URI="https://wvstreams.googlecode.com/files/${P}.tar.gz"
161 -
162 -LICENSE="GPL-2"
163 -SLOT="0"
164 -KEYWORDS="alpha amd64 hppa ppc sparc x86"
165 -IUSE="pam doc +ssl +dbus debug boost"
166 -
167 -#Tests fail if openssl is not compiled with -DPURIFY. Gentoo's isn't. FAIL!
168 -RESTRICT="test"
169 -
170 -#QA Fail: xplc is compiled as a part of wvstreams.
171 -#It'll take a larger patching effort to get it extracted, since upstream integrated it
172 -#more tightly this time. Probably for the better since upstream xplc seems dead.
173 -
174 -RDEPEND="sys-libs/readline:0=
175 - sys-libs/zlib
176 - dbus? ( >=sys-apps/dbus-1.4.20 )
177 - <dev-libs/openssl-1.1:0=
178 - pam? ( sys-libs/pam )"
179 -DEPEND="${RDEPEND}
180 - virtual/pkgconfig
181 - doc? ( app-doc/doxygen )
182 - boost? ( >=dev-libs/boost-1.34.1:= )"
183 -
184 -DOCS="ChangeLog README*"
185 -
186 -pkg_pretend() {
187 - [[ ${MERGE_TYPE} == "binary" ]] && return
188 -
189 - if ! use boost && ! version_is_at_least 4.1 "$(gcc-fullversion)"; then
190 - eerror "This package requires the active gcc to be at least version 4.1"
191 - eerror "or USE=boost must be installed."
192 - die "Please activate >=sys-devel/gcc-4.1 with gcc-config."
193 - fi
194 -}
195 -
196 -src_prepare() {
197 - epatch \
198 - "${FILESDIR}"/${P}-parallel-make.patch \
199 - "${FILESDIR}"/${P}-openssl-1.0.0.patch \
200 - "${FILESDIR}"/${P}-glibc212.patch \
201 - "${FILESDIR}"/${P}-gcc47.patch \
202 - "${FILESDIR}"/${P}-fix-c++14.patch
203 -
204 - sed -i \
205 - -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
206 - -e 's:AM_PROG_CC_STDC:AC_PROG_CC:' \
207 - argp/configure.ac || die
208 -
209 - eautoreconf
210 - pushd argp >/dev/null
211 - eautoreconf
212 - popd >/dev/null
213 -}
214 -
215 -src_configure() {
216 - append-flags -fno-strict-aliasing
217 - append-flags -fno-tree-dce -fno-optimize-sibling-calls #421375
218 -
219 - tc-export AR CXX
220 -
221 - use boost && export ac_cv_header_tr1_functional=no
222 -
223 - econf \
224 - --localstatedir=/var \
225 - $(use_enable debug) \
226 - --disable-optimization \
227 - $(use_with dbus) \
228 - --with-openssl \
229 - $(use_with pam) \
230 - --without-tcl \
231 - --without-qt \
232 - --with-zlib \
233 - --without-valgrind
234 -}
235 -
236 -src_compile() {
237 - default
238 -
239 - if use doc; then
240 - doxygen || die
241 - fi
242 -}
243 -
244 -src_test() {
245 - emake test
246 -}
247 -
248 -src_install() {
249 - default
250 -
251 - if use doc; then
252 - #the list of files is too big for dohtml -r Docs/doxy-html/*
253 - cd Docs/doxy-html
254 - dohtml -r *
255 - fi
256 -}
257
258 diff --git a/net-libs/wvstreams/wvstreams-4.6.1-r4.ebuild b/net-libs/wvstreams/wvstreams-4.6.1-r4.ebuild
259 deleted file mode 100644
260 index 2cd4879c732..00000000000
261 --- a/net-libs/wvstreams/wvstreams-4.6.1-r4.ebuild
262 +++ /dev/null
263 @@ -1,95 +0,0 @@
264 -# Copyright 1999-2019 Gentoo Authors
265 -# Distributed under the terms of the GNU General Public License v2
266 -
267 -EAPI=6
268 -inherit autotools eutils flag-o-matic toolchain-funcs versionator
269 -
270 -DESCRIPTION="A network programming library in C++"
271 -HOMEPAGE="http://alumnit.ca/wiki/?WvStreams"
272 -SRC_URI="https://wvstreams.googlecode.com/files/${P}.tar.gz"
273 -
274 -LICENSE="GPL-2"
275 -SLOT="0"
276 -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
277 -IUSE="pam doc +ssl +dbus debug boost"
278 -
279 -#Tests fail if openssl is not compiled with -DPURIFY. Gentoo's isn't. FAIL!
280 -RESTRICT="test"
281 -
282 -#QA Fail: xplc is compiled as a part of wvstreams.
283 -#It'll take a larger patching effort to get it extracted, since upstream integrated it
284 -#more tightly this time. Probably for the better since upstream xplc seems dead.
285 -
286 -RDEPEND="
287 - <dev-libs/openssl-1.1:0=
288 - sys-libs/readline:0=
289 - sys-libs/zlib
290 - dbus? ( >=sys-apps/dbus-1.4.20 )
291 - pam? ( sys-libs/pam )
292 -"
293 -DEPEND="
294 - ${RDEPEND}
295 - virtual/pkgconfig
296 - doc? ( app-doc/doxygen )
297 - boost? ( >=dev-libs/boost-1.34.1:= )
298 -"
299 -DOCS="ChangeLog README*"
300 -PATCHES=(
301 - "${FILESDIR}"/${P}-autoconf.patch
302 - "${FILESDIR}"/${P}-fix-c++14.patch
303 - "${FILESDIR}"/${P}-gcc47.patch
304 - "${FILESDIR}"/${P}-glibc212.patch
305 - "${FILESDIR}"/${P}-openssl-1.0.0.patch
306 - "${FILESDIR}"/${P}-parallel-make.patch
307 - "${FILESDIR}"/${P}-_DEFAULT_SOURCE.patch
308 -)
309 -
310 -src_prepare() {
311 - default
312 -
313 - eautoreconf
314 -}
315 -
316 -src_configure() {
317 - append-flags -fno-strict-aliasing
318 - append-flags -fno-tree-dce -fno-optimize-sibling-calls #421375
319 -
320 - tc-export AR CXX
321 -
322 - use boost && export ac_cv_header_tr1_functional=no
323 -
324 - econf \
325 - $(use_enable debug) \
326 - $(use_with dbus) \
327 - $(use_with pam) \
328 - --cache-file="${T}"/config.cache \
329 - --disable-optimization \
330 - --localstatedir=/var \
331 - --with-openssl \
332 - --with-zlib \
333 - --without-qt \
334 - --without-tcl \
335 - --without-valgrind
336 -}
337 -
338 -src_compile() {
339 - default
340 -
341 - if use doc; then
342 - doxygen || die
343 - fi
344 -}
345 -
346 -src_test() {
347 - emake test
348 -}
349 -
350 -src_install() {
351 - default
352 -
353 - if use doc; then
354 - #the list of files is too big for dohtml -r Docs/doxy-html/*
355 - docinto html
356 - dodoc -r Docs/doxy-html/*
357 - fi
358 -}
359
360 diff --git a/net-libs/wvstreams/wvstreams-4.6.1-r5.ebuild b/net-libs/wvstreams/wvstreams-4.6.1-r5.ebuild
361 deleted file mode 100644
362 index db808c10219..00000000000
363 --- a/net-libs/wvstreams/wvstreams-4.6.1-r5.ebuild
364 +++ /dev/null
365 @@ -1,96 +0,0 @@
366 -# Copyright 1999-2019 Gentoo Authors
367 -# Distributed under the terms of the GNU General Public License v2
368 -
369 -EAPI=6
370 -inherit autotools eutils flag-o-matic toolchain-funcs versionator
371 -
372 -DESCRIPTION="A network programming library in C++"
373 -HOMEPAGE="http://alumnit.ca/wiki/?WvStreams"
374 -SRC_URI="https://wvstreams.googlecode.com/files/${P}.tar.gz"
375 -
376 -LICENSE="GPL-2"
377 -SLOT="0"
378 -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
379 -IUSE="pam doc +ssl +dbus debug boost"
380 -
381 -#Tests fail if openssl is not compiled with -DPURIFY. Gentoo's isn't. FAIL!
382 -RESTRICT="test"
383 -
384 -#QA Fail: xplc is compiled as a part of wvstreams.
385 -#It'll take a larger patching effort to get it extracted, since upstream integrated it
386 -#more tightly this time. Probably for the better since upstream xplc seems dead.
387 -
388 -RDEPEND="
389 - <dev-libs/openssl-1.1:0=
390 - sys-libs/readline:0=
391 - sys-libs/zlib
392 - dbus? ( >=sys-apps/dbus-1.4.20 )
393 - pam? ( sys-libs/pam )
394 -"
395 -DEPEND="
396 - ${RDEPEND}
397 - virtual/pkgconfig
398 - doc? ( app-doc/doxygen )
399 - boost? ( >=dev-libs/boost-1.34.1:= )
400 -"
401 -DOCS="ChangeLog README*"
402 -PATCHES=(
403 - "${FILESDIR}"/${P}-autoconf.patch
404 - "${FILESDIR}"/${P}-fix-c++14.patch
405 - "${FILESDIR}"/${P}-gcc47.patch
406 - "${FILESDIR}"/${P}-glibc212.patch
407 - "${FILESDIR}"/${P}-openssl-1.0.0.patch
408 - "${FILESDIR}"/${P}-parallel-make.patch
409 - "${FILESDIR}"/${P}-_DEFAULT_SOURCE.patch
410 - "${FILESDIR}"/${P}-2048-bytes-should-be-enough-right-question-mark.patch
411 -)
412 -
413 -src_prepare() {
414 - default
415 -
416 - eautoreconf
417 -}
418 -
419 -src_configure() {
420 - append-flags -fno-strict-aliasing
421 - append-flags -fno-tree-dce -fno-optimize-sibling-calls #421375
422 -
423 - tc-export AR CXX
424 -
425 - use boost && export ac_cv_header_tr1_functional=no
426 -
427 - econf \
428 - $(use_enable debug) \
429 - $(use_with dbus) \
430 - $(use_with pam) \
431 - --cache-file="${T}"/config.cache \
432 - --disable-optimization \
433 - --localstatedir=/var \
434 - --with-openssl \
435 - --with-zlib \
436 - --without-qt \
437 - --without-tcl \
438 - --without-valgrind
439 -}
440 -
441 -src_compile() {
442 - default
443 -
444 - if use doc; then
445 - doxygen || die
446 - fi
447 -}
448 -
449 -src_test() {
450 - emake test
451 -}
452 -
453 -src_install() {
454 - default
455 -
456 - if use doc; then
457 - #the list of files is too big for dohtml -r Docs/doxy-html/*
458 - docinto html
459 - dodoc -r Docs/doxy-html/*
460 - fi
461 -}