1 |
commit: 13b97042173234896370a5624e5f0ae312ef0b7a |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 1 10:23:08 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 1 10:24:39 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13b97042 |
7 |
|
8 |
net-libs/wvstreams: Use Debian SRC_URI/patchset |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Fixes: https://bugs.gentoo.org/614810 |
12 |
Fixes: https://bugs.gentoo.org/634488 |
13 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
14 |
|
15 |
net-libs/wvstreams/Manifest | 2 + |
16 |
net-libs/wvstreams/wvstreams-4.6.1_p14.ebuild | 97 +++++++++++++++++++++++++++ |
17 |
2 files changed, 99 insertions(+) |
18 |
|
19 |
diff --git a/net-libs/wvstreams/Manifest b/net-libs/wvstreams/Manifest |
20 |
index ccf728a6855..579ea20214d 100644 |
21 |
--- a/net-libs/wvstreams/Manifest |
22 |
+++ b/net-libs/wvstreams/Manifest |
23 |
@@ -1 +1,3 @@ |
24 |
DIST wvstreams-4.6.1.tar.gz 1118456 BLAKE2B 62243d9adc6ff5d01b7dfeb2ce24e8e530914e6ac4540e542dc3cee31e00d32211ad1c6085d7f5bd6e5fd85ff66e8c93afa37cec81f976590ba150f039dc8580 SHA512 59d64e527d86394b768b35254bf95ea59c412c0e092393ea3c84ec3202949150439bb6093bd7350b64ad4767acdb8feb38806c03de4e5cf238ed893f41db4a4a |
25 |
+DIST wvstreams_4.6.1-14.debian.tar.xz 21124 BLAKE2B 2af6ec180c3130dd7def733e5ea569fd0a81cd2c2411daca25e6042dcbe78792bafc4b13f1c1fffddb6cd66273f11c62f54b415c975cbea0af052b18ff0955d1 SHA512 93ea7c4fbab542bd552d6e91ae0c49a27ad8aded177ae6474943acb08d204ab31eac49b3f416b4d90a38ea697f3641c09651a64f9c40d12543d454aadf2ad9e4 |
26 |
+DIST wvstreams_4.6.1.orig.tar.gz 1118456 BLAKE2B 62243d9adc6ff5d01b7dfeb2ce24e8e530914e6ac4540e542dc3cee31e00d32211ad1c6085d7f5bd6e5fd85ff66e8c93afa37cec81f976590ba150f039dc8580 SHA512 59d64e527d86394b768b35254bf95ea59c412c0e092393ea3c84ec3202949150439bb6093bd7350b64ad4767acdb8feb38806c03de4e5cf238ed893f41db4a4a |
27 |
|
28 |
diff --git a/net-libs/wvstreams/wvstreams-4.6.1_p14.ebuild b/net-libs/wvstreams/wvstreams-4.6.1_p14.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..ea079309144 |
31 |
--- /dev/null |
32 |
+++ b/net-libs/wvstreams/wvstreams-4.6.1_p14.ebuild |
33 |
@@ -0,0 +1,97 @@ |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+inherit autotools flag-o-matic toolchain-funcs |
39 |
+ |
40 |
+DESCRIPTION="A network programming library in C++" |
41 |
+HOMEPAGE="https://github.com/apenwarr/wvstreams" |
42 |
+SRC_URI=" |
43 |
+ mirror://debian/pool/main/w/${PN}/${PN}_${PV/_p*}.orig.tar.gz |
44 |
+ mirror://debian/pool/main/w/${PN}/${PN}_${PV/_p/-}.debian.tar.xz |
45 |
+" |
46 |
+ |
47 |
+LICENSE="GPL-2" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86" |
50 |
+IUSE="pam doc +ssl +dbus debug boost" |
51 |
+ |
52 |
+#Tests fail if openssl is not compiled with -DPURIFY. Gentoo's isn't. FAIL! |
53 |
+RESTRICT="test" |
54 |
+ |
55 |
+#QA Fail: xplc is compiled as a part of wvstreams. |
56 |
+#It'll take a larger patching effort to get it extracted, since upstream integrated it |
57 |
+#more tightly this time. Probably for the better since upstream xplc seems dead. |
58 |
+ |
59 |
+RDEPEND=" |
60 |
+ dev-libs/openssl:0= |
61 |
+ sys-libs/readline:0= |
62 |
+ sys-libs/zlib |
63 |
+ dbus? ( >=sys-apps/dbus-1.4.20 ) |
64 |
+ pam? ( virtual/pam ) |
65 |
+" |
66 |
+DEPEND=" |
67 |
+ ${RDEPEND} |
68 |
+ virtual/pkgconfig |
69 |
+ doc? ( app-doc/doxygen ) |
70 |
+ boost? ( >=dev-libs/boost-1.34.1:= ) |
71 |
+" |
72 |
+DOCS="ChangeLog README*" |
73 |
+PATCHES=( |
74 |
+ "${FILESDIR}"/${PN}-4.6.1-autoconf.patch |
75 |
+ "${FILESDIR}"/${PN}-4.6.1-gcc47.patch |
76 |
+ "${FILESDIR}"/${PN}-4.6.1-parallel-make.patch |
77 |
+ "${FILESDIR}"/${PN}-4.6.1-_DEFAULT_SOURCE.patch |
78 |
+) |
79 |
+S=${WORKDIR}/${P/_p*} |
80 |
+ |
81 |
+src_prepare() { |
82 |
+ default |
83 |
+ |
84 |
+ eapply $(awk '{ print "'${WORKDIR}'/debian/patches/" $0; }' < ${WORKDIR}/debian/patches/series) |
85 |
+ |
86 |
+ eautoreconf |
87 |
+} |
88 |
+ |
89 |
+src_configure() { |
90 |
+ append-flags -fno-strict-aliasing |
91 |
+ append-flags -fno-tree-dce -fno-optimize-sibling-calls #421375 |
92 |
+ |
93 |
+ tc-export AR CXX |
94 |
+ |
95 |
+ use boost && export ac_cv_header_tr1_functional=no |
96 |
+ |
97 |
+ econf \ |
98 |
+ $(use_enable debug) \ |
99 |
+ $(use_with dbus) \ |
100 |
+ $(use_with pam) \ |
101 |
+ --cache-file="${T}"/config.cache \ |
102 |
+ --disable-optimization \ |
103 |
+ --localstatedir=/var \ |
104 |
+ --with-openssl \ |
105 |
+ --with-zlib \ |
106 |
+ --without-qt \ |
107 |
+ --without-tcl \ |
108 |
+ --without-valgrind |
109 |
+} |
110 |
+ |
111 |
+src_compile() { |
112 |
+ default |
113 |
+ |
114 |
+ if use doc; then |
115 |
+ doxygen || die |
116 |
+ fi |
117 |
+} |
118 |
+ |
119 |
+src_test() { |
120 |
+ emake test |
121 |
+} |
122 |
+ |
123 |
+src_install() { |
124 |
+ default |
125 |
+ |
126 |
+ if use doc; then |
127 |
+ docinto html |
128 |
+ dodoc -r Docs/doxy-html/* |
129 |
+ fi |
130 |
+} |