1 |
commit: f6dfded3138a690813dedac3d24290c80e8759ad |
2 |
Author: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 4 14:21:58 2022 +0000 |
4 |
Commit: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 4 14:22:15 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6dfded3 |
7 |
|
8 |
net-analyzer/speedtest-cli: warn about inaccuracy |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org> |
12 |
|
13 |
net-analyzer/speedtest-cli/speedtest-cli-2.1.3.ebuild | 8 +++++++- |
14 |
1 file changed, 7 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/net-analyzer/speedtest-cli/speedtest-cli-2.1.3.ebuild b/net-analyzer/speedtest-cli/speedtest-cli-2.1.3.ebuild |
17 |
index 4d4c4eb395bc..31f0010ac79e 100644 |
18 |
--- a/net-analyzer/speedtest-cli/speedtest-cli-2.1.3.ebuild |
19 |
+++ b/net-analyzer/speedtest-cli/speedtest-cli-2.1.3.ebuild |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2021 Gentoo Authors |
22 |
+# Copyright 1999-2022 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=7 |
26 |
@@ -25,3 +25,9 @@ python_install_all() { |
27 |
doman ${PN}.1 |
28 |
distutils-r1_python_install_all |
29 |
} |
30 |
+ |
31 |
+pkg_postinst() { |
32 |
+ ewarn "net-analyzer/speedtest-cli is often times inaccurate, especially on faster" |
33 |
+ ewarn "links, due to its use of the older HTTP-based API. In order to have more" |
34 |
+ ewarn "accurate measurements, please use net-analyzer/speedtest++ instead." |
35 |
+} |