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