summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <zx2c4@gentoo.org>2022-04-04 16:21:58 +0200
committerJason A. Donenfeld <zx2c4@gentoo.org>2022-04-04 16:22:15 +0200
commitf6dfded3138a690813dedac3d24290c80e8759ad (patch)
tree3c6462f9c9648507c8427e858a58efed3e1e3883 /net-analyzer
parentnet-analyzer/speedtest++: import new package (diff)
downloadgentoo-f6dfded3138a690813dedac3d24290c80e8759ad.tar.gz
gentoo-f6dfded3138a690813dedac3d24290c80e8759ad.tar.bz2
gentoo-f6dfded3138a690813dedac3d24290c80e8759ad.zip
net-analyzer/speedtest-cli: warn about inaccuracy
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/speedtest-cli/speedtest-cli-2.1.3.ebuild8
1 files changed, 7 insertions, 1 deletions
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."
+}