1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

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
This commit is contained in:
Po-Chuan Hsieh 2023-08-01 04:08:58 +08:00
parent 11cb88e30b
commit 2ca085524a
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 51 additions and 0 deletions

View File

@ -1470,6 +1470,7 @@
SUBDIR += socketpipe
SUBDIR += socketw
SUBDIR += sofia-sip
SUBDIR += speedtest
SUBDIR += speedtest-go
SUBDIR += spiritvnc
SUBDIR += spoofer

29
net/speedtest/Makefile Normal file
View File

@ -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>

5
net/speedtest/distinfo Normal file
View File

@ -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

16
net/speedtest/pkg-descr Normal file
View File

@ -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