git: 2ca085524a48 - main - net/speedtest: Add speedtest 1.2.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 31 Jul 2023 20:44:34 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=2ca085524a48547e68f256465a93d2a0d197c21f commit 2ca085524a48547e68f256465a93d2a0d197c21f Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-07-31 20:08:58 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-07-31 20:44:25 +0000 net/speedtest: Add speedtest 1.2.0 Speedtest CLI brings the trusted technology and global server network behind Speedtest to the command line. Built for software developers, system administrators and computer enthusiasts alike, Speedtest CLI is the first official Linux-native Speedtest application backed by Ookla. With Speedtest CLI, you can easily: - Measure internet connection performance metrics like download, upload, latency and packet loss natively without relying on a web browser - Test the internet connection of your Linux desktop, a remote server or even lower-powered devices such as the Raspberry Pi with the Speedtest Server Network - Set up automated scripts to collect connection performance data, including trends over time - Use Speedtest in your programs by wrapping it in the programming language of your choice - View test results via CSV, JSONL or JSON --- net/Makefile | 1 + net/speedtest/Makefile | 29 +++++++++++++++++++++++++++++ net/speedtest/distinfo | 5 +++++ net/speedtest/pkg-descr | 16 ++++++++++++++++ 4 files changed, 51 insertions(+) diff --git a/net/Makefile b/net/Makefile index f9a474bfff7d..c6239b9ff07a 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1470,6 +1470,7 @@ SUBDIR += socketpipe SUBDIR += socketw SUBDIR += sofia-sip + SUBDIR += speedtest SUBDIR += speedtest-go SUBDIR += spiritvnc SUBDIR += spoofer diff --git a/net/speedtest/Makefile b/net/speedtest/Makefile new file mode 100644 index 000000000000..a2ecc77cf43d --- /dev/null +++ b/net/speedtest/Makefile @@ -0,0 +1,29 @@ +PORTNAME= ookla-speedtest +PORTVERSION= 1.2.0 +DISTVERSIONSUFFIX= -freebsd${OSREL:R}-x86_64 +CATEGORIES= net +MASTER_SITES= https://install.speedtest.net/app/cli/ +EXTRACT_SUFX= .pkg + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Internet connection measurement for developers +WWW= https://www.speedtest.net/apps/cli + +IGNORE_FreeBSD_14= Upstream does not provide package for release +ONLY_FOR_ARCHS= amd64 + +RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss \ + libidn2>=0:dns/libidn2 + +NO_BUILD= yes +NO_WRKSUBDIR= yes + +PLIST_FILES= bin/speedtest \ + share/man/man5/speedtest.5.gz + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/bin/ ${STAGEDIR}${PREFIX}/share/man/man5/ + ${INSTALL_PROGRAM} ${WRKSRC}/usr/local/bin/speedtest ${STAGEDIR}${PREFIX}/bin/speedtest + ${INSTALL_MAN} ${WRKSRC}/usr/share/man/man5/speedtest.5 ${STAGEDIR}${PREFIX}/share/man/man5/speedtest.5 + +.include <bsd.port.mk> diff --git a/net/speedtest/distinfo b/net/speedtest/distinfo new file mode 100644 index 000000000000..854fb4d071cd --- /dev/null +++ b/net/speedtest/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1690822930 +SHA256 (ookla-speedtest-1.2.0-freebsd12-x86_64.pkg) = 88e136dfb3eda918cd93f52af208ab70ea52b7414201ae06976d65e68e2cb25c +SIZE (ookla-speedtest-1.2.0-freebsd12-x86_64.pkg) = 638620 +SHA256 (ookla-speedtest-1.2.0-freebsd13-x86_64.pkg) = 23b20119066df5b08c4f3a8920334ccaab0783780f9b2494629394d1ef33e6f8 +SIZE (ookla-speedtest-1.2.0-freebsd13-x86_64.pkg) = 638832 diff --git a/net/speedtest/pkg-descr b/net/speedtest/pkg-descr new file mode 100644 index 000000000000..47043e5ac90a --- /dev/null +++ b/net/speedtest/pkg-descr @@ -0,0 +1,16 @@ +Speedtest CLI brings the trusted technology and global server network behind +Speedtest to the command line. Built for software developers, system +administrators and computer enthusiasts alike, Speedtest CLI is the first +official Linux-native Speedtest application backed by Ookla. + +With Speedtest CLI, you can easily: +- Measure internet connection performance metrics like download, upload, latency + and packet loss natively without relying on a web browser +- Test the internet connection of your Linux desktop, a remote server or even + lower-powered devices such as the Raspberry Pi with the Speedtest Server + Network +- Set up automated scripts to collect connection performance data, including + trends over time +- Use Speedtest in your programs by wrapping it in the programming language of + your choice +- View test results via CSV, JSONL or JSON