1 |
commit: 4cbd1f1902a6d981e668b5d14403701bf12e886e |
2 |
Author: Cédric Krier <cedk <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 25 13:58:29 2020 +0000 |
4 |
Commit: Cédric Krier <cedk <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 25 14:14:14 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cbd1f19 |
7 |
|
8 |
net-news/newsboat: Version bumps |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: Cédric Krier <cedk <AT> gentoo.org> |
12 |
|
13 |
net-news/newsboat/Manifest | 2 + |
14 |
.../newsboat/files/newsboat-2.19-libressl.patch | 82 ++++++++++ |
15 |
net-news/newsboat/metadata.xml | 4 +- |
16 |
net-news/newsboat/newsboat-2.19.ebuild | 168 +++++++++++++++++++++ |
17 |
4 files changed, 255 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/net-news/newsboat/Manifest b/net-news/newsboat/Manifest |
20 |
index cc050803464..9790c9b5413 100644 |
21 |
--- a/net-news/newsboat/Manifest |
22 |
+++ b/net-news/newsboat/Manifest |
23 |
@@ -27,6 +27,7 @@ DIST kernel32-sys-0.2.2.crate 24537 BLAKE2B dfc4a1e31d3ec9e2ac62b890839919fb7fed |
24 |
DIST lazy_static-0.2.11.crate 12361 BLAKE2B 3fe6a480c30a792448a3a2b378e05634ec59603f07baa03c0881fe5af85ecde5a172bb0733e7043fb6c43eabc261635b23410658d48add09eef6d807a750d22f SHA512 c85ac434d1b7d41d638e76a142a43d925b96bdddda112b1abeca1bae160d828262a85cd333d72499fe1dc7ae9574d3db226106acb433328c056028eb8c42bfe6 |
25 |
DIST lazy_static-1.2.0.crate 10840 BLAKE2B ab0adcf0421131ddd35e95a31a0053e2ffccb03dfc0f46ca4bbb6341f40bdd56d01aed0987489e5e73aa5f7289f3c323d1de0db353a30bb0a75acf53ce8436f8 SHA512 0d80334da99292d68fb2ea9879540676fd45788547b7170b6df1b0a606c1645a07188837f9414196eb44ac63010a3c84fe5c4319478f6fc2cef837295a255edc |
26 |
DIST libc-0.2.48.crate 353045 BLAKE2B 707f0311abe07e9a5bb9a1d2597d5a25f837dff783dff827f0c9e224b9ef0c915bc1f7f76a4a0afce5faa5bfe7896bbf1d22e645aed0cdd0e1197dcb45e495df SHA512 3ca3482cbdf8a031c6dfbc063537cee95b1735f8224baaad562f29279554ffd17999bb02c5ca54b25c845f63e70868b76d5d4123dcfa65d86d6e466527f4ce99 |
27 |
+DIST libc-0.2.66.crate 457815 BLAKE2B 5da379ea738b75189e106d4be821c999394043303b8bb6a9caecdb1b53e449f11a58edc4589193611b76e7baf00e155ba1077bcca4d0cfae30826e946a0075f0 SHA512 5bf5645a7cbe626108cd71e1d189286ed161fcd3ea12cd34f4e392be4cf93bf78feb6128b1101bedc41a71091398f26771f3efd3880f779ee0be00f706914975 |
28 |
DIST libz-sys-1.0.18.crate 632715 BLAKE2B 3c88d321f22d8c49a17d2af04361792247f7590e4b21163033e5de7b726b75f91ee15d4e9a8824f4ae894ab8a1856c637982e5f1c70de8dbd543b75de2d1af94 SHA512 fcc9e5bd9ffd5eb4f302d3c271f86370f04fe9fcb3b818ac8d605241a701e9d0c40cfe729ad8fcbe7bbb07df66539503415a00360c56831a511142ff225d0d8c |
29 |
DIST locale_config-0.2.2.crate 20975 BLAKE2B e675c792f5092670cc9f3a3ffecc9c3c35b2bd81f9557f1303a22a817b16d2d42c2289dc9c811b77d7ba76c5a62251550cb683555f05260004ce88d0c964f114 SHA512 969565323cbd9d6e3713052afe08aea606d4b4a336015eb1cc5e73f9ce3415df5eb54e4254c8df09a3a79fcfa3de0ca8c8194bd596f373868ee2ed659ac90a41 |
30 |
DIST lock_api-0.1.5.crate 16967 BLAKE2B c44ebe24fa6074394d0719b293d447ab67a9a23788821f2ba816b5e5b7a6b09d543c630a946b956811dd199144bf43568b52da5ebdd5e8b674e489f9efd2234d SHA512 e6049a8a840c11f00b6505dc9d01d1f759aa7bee47520f86e36caf6c52ca476236b09609b0a5cab0f4c247a40a4736f8fc04cf26fce0962cbbf2956ad4adbfde |
31 |
@@ -35,6 +36,7 @@ DIST memchr-2.1.3.crate 20069 BLAKE2B 6afd95538abae42fdb22b82964b64657555734f250 |
32 |
DIST natord-1.0.9.crate 3866 BLAKE2B 8e8f576af50121e7571a1d919557ddc14a3c1511c12154a9cb74fa34cb5c2279406e1ae7ffb120242689e34d4f237d9548631f5a35f4f5d4369bafd8a728fcc6 SHA512 bf58eda54c759fecca1fd310bece370f26555bde1096081adc5bb1e9446a538f1652fb3049a52f898f4f62a2608805b72cb72dd52ff3fc9b88fe0a7c9071025a |
33 |
DIST newsboat-2.13.tar.xz 460076 BLAKE2B e86fd3e3da8336527f3fd53e663f547a6066bfd1659bf83354a01139a9f6481afda893046faa1729cdfe03b19080032c70575cdcfd13b15aad40f2af808e2f6e SHA512 f7ce9717540e1c38809a44d531d28b26d5f9759479d311c127adec1ed6f3f6e8ad68799559ed31e9ecde7a988a683b0c9f58ff10e8dd4b2de60d75b7f8efe3da |
34 |
DIST newsboat-2.18.tar.xz 577632 BLAKE2B 290f115a2c17b05f9d32f44beab791a65df4e39c944ba88898c2fd1ad387199bbfe02885911a0d824aea7086d1d749aeaf40f9e585c3ea64d22fd8aaad879376 SHA512 63fc7ae45b26d6d5df85c9f2cec826a218aa54de26a9c99cb1d0dd239c885599e8c74bb5c8954d58176abf9c4bf4eb407cab830d2e24f9517e021a2b6b765485 |
35 |
+DIST newsboat-2.19.tar.xz 591616 BLAKE2B 15c9502b607cd6d4f34b0d054c7ae54731d8de9df0bec4e12588e8bc89b92cdd46ce0bbf83a9a1ef160746e5768be63336f6a16b1f4100863d15329f9a0e18d1 SHA512 83e41b8ea96d6a53dad832898192f30dc30c74f32327466dff44ffd4b8bf1a966f55a55b8bde5b7e987f4df80ea83e5ad5211becd7fedc6836533f11f4a91b21 |
36 |
DIST nodrop-0.1.13.crate 7508 BLAKE2B 6918c8ea7f2b84d1a30e8159ac6cf9d061270bf8cf60fb2ee7c96f9d8a5566f1922a3222f80c769fceedd65637d6ee76a4d45b533d5b02aa0decb8114f6cb11a SHA512 2648c0aec970c99f001dbd8169939731610ccff6433acba8c71c669bea5078613b2a785d3ac5ce5a839fcec714b5bc55f2cc83522ab4cc09560c846f4cf8023e |
37 |
DIST nom-4.2.3.crate 115343 BLAKE2B 03c0d1cf97a0d34adab29d6e21add3da7d8eb78ee6b7987ed11b136db7fc6afeca6a8eb91e00aadc1f6047eb7bff55bc288faa8c481e6a4677e0c43512a68f72 SHA512 663567dcc6310ecd6446bab1eb700f4ebe834a3b25bc2a0054edf14bcf205a95128de5f5dfaab04adb95e1a2241d487d59c0e23c957934a0d656e4c51932bd54 |
38 |
DIST num-integer-0.1.39.crate 17881 BLAKE2B 1398b54766719f6fe298fb20489373ef774f1466349bcb96479610c00bb0f6f54b1a794def2841a0bf70558f6e5a080b528071ad5c64baa82bfac084354fa203 SHA512 1e00ef9fe5adcc312b4b8a59923015eb1387d90e6b3d7239b3aabcd83a9e67f2384b3a383d84ce8cdc82a470770f56373a89f0a679727a5fcc8f5bdb1f1209e3 |
39 |
|
40 |
diff --git a/net-news/newsboat/files/newsboat-2.19-libressl.patch b/net-news/newsboat/files/newsboat-2.19-libressl.patch |
41 |
new file mode 100644 |
42 |
index 00000000000..86dff345a56 |
43 |
--- /dev/null |
44 |
+++ b/net-news/newsboat/files/newsboat-2.19-libressl.patch |
45 |
@@ -0,0 +1,82 @@ |
46 |
+diff --git a/Cargo.lock b/Cargo.lock |
47 |
+index ca8ce060..b738b0b2 100644 |
48 |
+--- a/Cargo.lock |
49 |
++++ b/Cargo.lock |
50 |
+@@ -124,12 +124,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" |
51 |
+ |
52 |
+ [[package]] |
53 |
+ name = "curl-sys" |
54 |
+-version = "0.4.5" |
55 |
++version = "0.4.12" |
56 |
+ source = "registry+https://github.com/rust-lang/crates.io-index" |
57 |
+ dependencies = [ |
58 |
+ "cc 1.0.29 (registry+https://github.com/rust-lang/crates.io-index)", |
59 |
+ "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", |
60 |
+- "libz-sys 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)", |
61 |
++ "libz-sys 1.0.18 (registry+https://github.com/rust-lang/crates.io-index)", |
62 |
+ "openssl-sys 0.9.53 (registry+https://github.com/rust-lang/crates.io-index)", |
63 |
+ "pkg-config 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", |
64 |
+ "vcpkg 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", |
65 |
+@@ -234,12 +234,12 @@ dependencies = [ |
66 |
+ "backtrace 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)", |
67 |
+ "chrono 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", |
68 |
+ "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)", |
69 |
+- "curl-sys 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", |
70 |
++ "curl-sys 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", |
71 |
+ "dirs 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", |
72 |
+ "gettext-rs 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", |
73 |
+ "gettext-sys 0.19.8 (registry+https://github.com/rust-lang/crates.io-index)", |
74 |
+ "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", |
75 |
+- "libz-sys 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)", |
76 |
++ "libz-sys 1.0.18 (registry+https://github.com/rust-lang/crates.io-index)", |
77 |
+ "natord 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)", |
78 |
+ "nom 4.2.3 (registry+https://github.com/rust-lang/crates.io-index)", |
79 |
+ "once_cell 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", |
80 |
+@@ -265,7 +265,7 @@ dependencies = [ |
81 |
+ |
82 |
+ [[package]] |
83 |
+ name = "libz-sys" |
84 |
+-version = "1.0.17" |
85 |
++version = "1.0.18" |
86 |
+ source = "registry+https://github.com/rust-lang/crates.io-index" |
87 |
+ dependencies = [ |
88 |
+ "cc 1.0.29 (registry+https://github.com/rust-lang/crates.io-index)", |
89 |
+@@ -863,7 +863,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" |
90 |
+ "checksum clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9" |
91 |
+ "checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" |
92 |
+ "checksum constant_time_eq 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "8ff012e225ce166d4422e0e78419d901719760f62ae2b7969ca6b564d1b54a9e" |
93 |
+-"checksum curl-sys 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)" = "71c63a540a9ee4e15e56c3ed9b11a2f121239b9f6d7b7fe30f616e048148df9a" |
94 |
++"checksum curl-sys 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)" = "78800a6de442f65dab6ce26c6f369c14fc585686432bf4b77119d2d384216c31" |
95 |
+ "checksum dirs 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "88972de891f6118092b643d85a0b28e0678e0f948d7f879aa32f2d5aafe97d2a" |
96 |
+ "checksum failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "795bd83d3abeb9220f257e597aa0080a508b27533824adf336529648f6abf7e2" |
97 |
+ "checksum failure_derive 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "ea1063915fd7ef4309e222a5a07cf9c319fb9c7836b1f89b85458672dbb127e1" |
98 |
+@@ -876,7 +876,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" |
99 |
+ "checksum lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "76f033c7ad61445c5b347c7382dd1237847eb1bce590fe50365dcb33d546be73" |
100 |
+ "checksum lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a374c89b9db55895453a74c1e38861d9deec0b01b405a82516e9d5de4820dea1" |
101 |
+ "checksum libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)" = "d515b1f41455adea1313a4a2ac8a8a477634fbae63cc6100e3aebb207ce61558" |
102 |
+-"checksum libz-sys 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)" = "44ebbc760fd2d2f4d93de09a0e13d97e057612052e871da9985cedcb451e6bd5" |
103 |
++"checksum libz-sys 1.0.18 (registry+https://github.com/rust-lang/crates.io-index)" = "87f737ad6cc6fd6eefe3d9dc5412f1573865bded441300904d2f42269e140f16" |
104 |
+ "checksum locale_config 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "14fbee0e39bc2dd6a2427c4fdea66e9826cc1fd09b0a0b7550359f5f6efe1dab" |
105 |
+ "checksum lock_api 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "62ebf1391f6acad60e5c8b43706dde4582df75c06698ab44511d15016bc2442c" |
106 |
+ "checksum matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08" |
107 |
+diff --git a/rust/libnewsboat/Cargo.toml b/rust/libnewsboat/Cargo.toml |
108 |
+index 6b9d78dd..5943d43a 100644 |
109 |
+--- a/rust/libnewsboat/Cargo.toml |
110 |
++++ b/rust/libnewsboat/Cargo.toml |
111 |
+@@ -16,14 +16,14 @@ xdg = "2.2.0" |
112 |
+ backtrace = "= 0.3" |
113 |
+ unicode-width = "0.1.5" |
114 |
+ nom = "^4.1" |
115 |
+-curl-sys = "0.4.5" |
116 |
++curl-sys = "0.4.12" |
117 |
+ libc = "0.2" |
118 |
+ gettext-rs = "0.4.1" |
119 |
+ natord = "1.0.9" |
120 |
+ |
121 |
+ # We don't use the following crates, but we pin their versions to make sure |
122 |
+ # that Newsboat builds with Rust 1.25 and later. |
123 |
+-libz-sys = "= 1.0.17" |
124 |
++libz-sys = "= 1.0.18" |
125 |
+ |
126 |
+ # The following constraints close security holes |
127 |
+ # https://rustsec.org/advisories/RUSTSEC-2019-0009 |
128 |
|
129 |
diff --git a/net-news/newsboat/metadata.xml b/net-news/newsboat/metadata.xml |
130 |
index 31e786a3031..e6c6d10feb7 100644 |
131 |
--- a/net-news/newsboat/metadata.xml |
132 |
+++ b/net-news/newsboat/metadata.xml |
133 |
@@ -1,6 +1,8 @@ |
134 |
<?xml version="1.0" encoding="UTF-8"?> |
135 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
136 |
<pkgmetadata> |
137 |
- <!-- maintainer-needed --> |
138 |
+ <maintainer type="person"> |
139 |
+ <email>cedk@g.o</email> |
140 |
+ </maintainer> |
141 |
</pkgmetadata> |
142 |
|
143 |
|
144 |
diff --git a/net-news/newsboat/newsboat-2.19.ebuild b/net-news/newsboat/newsboat-2.19.ebuild |
145 |
new file mode 100644 |
146 |
index 00000000000..8c33dbb0061 |
147 |
--- /dev/null |
148 |
+++ b/net-news/newsboat/newsboat-2.19.ebuild |
149 |
@@ -0,0 +1,168 @@ |
150 |
+# Copyright 2017-2020 Gentoo Authors |
151 |
+# Distributed under the terms of the GNU General Public License v2 |
152 |
+ |
153 |
+# Auto-Generated by cargo-ebuild 0.3.0 |
154 |
+ |
155 |
+EAPI=7 |
156 |
+ |
157 |
+CRATES=" |
158 |
+aho-corasick-0.6.9 |
159 |
+argon2rs-0.2.5 |
160 |
+arrayvec-0.4.10 |
161 |
+autocfg-0.1.2 |
162 |
+backtrace-0.3.13 |
163 |
+backtrace-sys-0.1.28 |
164 |
+bit-set-0.5.1 |
165 |
+bit-vec-0.5.1 |
166 |
+bitflags-1.0.4 |
167 |
+blake2-rfc-0.2.18 |
168 |
+cc-1.0.29 |
169 |
+cfg-if-0.1.6 |
170 |
+chrono-0.4.6 |
171 |
+clap-2.33.0 |
172 |
+cloudabi-0.0.3 |
173 |
+constant_time_eq-0.1.3 |
174 |
+curl-sys-0.4.12 |
175 |
+dirs-1.0.4 |
176 |
+failure-0.1.5 |
177 |
+failure_derive-0.1.5 |
178 |
+fnv-1.0.6 |
179 |
+fuchsia-cprng-0.1.1 |
180 |
+gettext-rs-0.4.1 |
181 |
+gettext-sys-0.19.8 |
182 |
+idna-0.1.5 |
183 |
+kernel32-sys-0.2.2 |
184 |
+lazy_static-0.2.11 |
185 |
+lazy_static-1.2.0 |
186 |
+libc-0.2.66 |
187 |
+libz-sys-1.0.18 |
188 |
+locale_config-0.2.2 |
189 |
+lock_api-0.1.5 |
190 |
+matches-0.1.8 |
191 |
+memchr-2.1.3 |
192 |
+natord-1.0.9 |
193 |
+nodrop-0.1.13 |
194 |
+nom-4.2.3 |
195 |
+num-integer-0.1.39 |
196 |
+num-traits-0.2.6 |
197 |
+once_cell-0.1.8 |
198 |
+openssl-sys-0.9.53 |
199 |
+parking_lot-0.7.1 |
200 |
+parking_lot_core-0.4.0 |
201 |
+percent-encoding-1.0.1 |
202 |
+pkg-config-0.3.14 |
203 |
+proc-macro2-0.4.27 |
204 |
+proptest-0.7.2 |
205 |
+quick-error-1.2.2 |
206 |
+quote-0.6.11 |
207 |
+rand-0.4.6 |
208 |
+rand-0.5.6 |
209 |
+rand-0.6.5 |
210 |
+rand_chacha-0.1.1 |
211 |
+rand_core-0.3.1 |
212 |
+rand_core-0.4.0 |
213 |
+rand_hc-0.1.0 |
214 |
+rand_isaac-0.1.1 |
215 |
+rand_jitter-0.1.3 |
216 |
+rand_os-0.1.2 |
217 |
+rand_pcg-0.1.1 |
218 |
+rand_xorshift-0.1.1 |
219 |
+rdrand-0.4.0 |
220 |
+redox_syscall-0.1.51 |
221 |
+redox_users-0.2.0 |
222 |
+regex-0.2.11 |
223 |
+regex-1.1.0 |
224 |
+regex-syntax-0.4.2 |
225 |
+regex-syntax-0.5.6 |
226 |
+regex-syntax-0.6.5 |
227 |
+remove_dir_all-0.5.1 |
228 |
+rustc-demangle-0.1.13 |
229 |
+rustc_version-0.2.3 |
230 |
+rusty-fork-0.2.1 |
231 |
+scoped_threadpool-0.1.9 |
232 |
+scopeguard-0.3.3 |
233 |
+section_testing-0.0.4 |
234 |
+semver-0.9.0 |
235 |
+semver-parser-0.7.0 |
236 |
+smallvec-0.6.10 |
237 |
+syn-0.15.26 |
238 |
+synstructure-0.10.1 |
239 |
+tempfile-3.0.6 |
240 |
+textwrap-0.11.0 |
241 |
+thread_local-0.3.6 |
242 |
+time-0.1.42 |
243 |
+ucd-util-0.1.3 |
244 |
+unicode-bidi-0.3.4 |
245 |
+unicode-normalization-0.1.8 |
246 |
+unicode-width-0.1.5 |
247 |
+unicode-xid-0.1.0 |
248 |
+url-1.7.2 |
249 |
+utf8-ranges-1.0.2 |
250 |
+vcpkg-0.2.6 |
251 |
+version_check-0.1.5 |
252 |
+wait-timeout-0.1.5 |
253 |
+winapi-0.2.8 |
254 |
+winapi-0.3.6 |
255 |
+winapi-build-0.1.1 |
256 |
+winapi-i686-pc-windows-gnu-0.4.0 |
257 |
+winapi-x86_64-pc-windows-gnu-0.4.0 |
258 |
+xdg-2.2.0 |
259 |
+" |
260 |
+ |
261 |
+inherit toolchain-funcs cargo |
262 |
+ |
263 |
+DESCRIPTION="An RSS/Atom feed reader for text terminals" |
264 |
+HOMEPAGE="https://newsboat.org/ https://github.com/newsboat/newsboat" |
265 |
+SRC_URI=" |
266 |
+ https://newsboat.org/releases/${PV}/${P}.tar.xz |
267 |
+ $(cargo_crate_uris ${CRATES}) |
268 |
+" |
269 |
+ |
270 |
+LICENSE="Apache-2.0 BSD-2 CC0-1.0 ISC MIT Unlicense" |
271 |
+SLOT="0" |
272 |
+KEYWORDS="~amd64 ~ppc64 ~x86" |
273 |
+IUSE="libressl" |
274 |
+ |
275 |
+RDEPEND=" |
276 |
+ >=dev-db/sqlite-3.5:3 |
277 |
+ >=dev-libs/stfl-0.21 |
278 |
+ >=net-misc/curl-7.21.6 |
279 |
+ >=dev-libs/json-c-0.11:= |
280 |
+ dev-libs/libxml2 |
281 |
+ sys-libs/ncurses:0=[unicode] |
282 |
+" |
283 |
+DEPEND="${RDEPEND} |
284 |
+ dev-ruby/asciidoctor |
285 |
+ virtual/pkgconfig |
286 |
+ sys-devel/gettext |
287 |
+ sys-libs/zlib |
288 |
+ !libressl? ( dev-libs/openssl:0= ) |
289 |
+ libressl? ( dev-libs/libressl:0= ) |
290 |
+" |
291 |
+ |
292 |
+PATCHES=( |
293 |
+ "${FILESDIR}/${PN}-2.11-flags.patch" |
294 |
+ "${FILESDIR}/${PN}-2.19-libressl.patch" |
295 |
+) |
296 |
+ |
297 |
+src_configure() { |
298 |
+ ./config.sh || die |
299 |
+} |
300 |
+ |
301 |
+src_compile() { |
302 |
+ export CARGO_HOME="${ECARGO_HOME}" |
303 |
+ emake prefix="/usr" CXX="$(tc-getCXX)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" |
304 |
+} |
305 |
+ |
306 |
+src_test() { |
307 |
+ # tests require UTF-8 locale |
308 |
+ emake CXX="$(tc-getCXX)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" test |
309 |
+ # Tests fail if in ${S} rather than in ${S}/test |
310 |
+ cd "${S}"/test || die |
311 |
+ ./test || die |
312 |
+} |
313 |
+ |
314 |
+src_install() { |
315 |
+ emake DESTDIR="${D}" prefix="/usr" docdir="/usr/share/doc/${PF}" install |
316 |
+ einstalldocs |
317 |
+} |