diff options
author | Dries Michiels <driesm@FreeBSD.org> | 2023-05-26 16:00:01 +0000 |
---|---|---|
committer | Dries Michiels <driesm@FreeBSD.org> | 2023-05-26 16:22:30 +0000 |
commit | 533a10b49d0c2f79fe3152bd894f4557b09d7151 (patch) | |
tree | 0aa49c614ac0d171fdacbd5ca458dc3151e6716a | |
parent | b58ef213125ec76866e6e246d1e9f2f32f876c78 (diff) |
net/speedtest-go: Add new port
CLI and Go API to test internet speed using speedtest.net
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/speedtest-go/Makefile | 20 | ||||
-rw-r--r-- | net/speedtest-go/distinfo | 5 | ||||
-rw-r--r-- | net/speedtest-go/pkg-descr | 3 |
4 files changed, 29 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index c315d89f9717..e2b24f199b7e 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1461,6 +1461,7 @@ SUBDIR += socketpipe SUBDIR += socketw SUBDIR += sofia-sip + SUBDIR += speedtest-go SUBDIR += spiritvnc SUBDIR += spoofer SUBDIR += spread diff --git a/net/speedtest-go/Makefile b/net/speedtest-go/Makefile new file mode 100644 index 000000000000..7471fda0b220 --- /dev/null +++ b/net/speedtest-go/Makefile @@ -0,0 +1,20 @@ +PORTNAME= speedtest-go +DISTVERSIONPREFIX= v +DISTVERSION= 1.6.0 +CATEGORIES= net www + +MAINTAINER= driesm@FreeBSD.org +COMMENT= CLI and Go API to test internet speed using speedtest.net +WWW= https://github.com/showwin/speedtest-go + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules + +GO_MODULE= github.com/showwin/speedtest-go +GO_TARGET= .:${PORTNAME} + +PLIST_FILES= bin/speedtest-go + +.include <bsd.port.mk> diff --git a/net/speedtest-go/distinfo b/net/speedtest-go/distinfo new file mode 100644 index 000000000000..88b98a7f5b91 --- /dev/null +++ b/net/speedtest-go/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1685116575 +SHA256 (go/net_speedtest-go/speedtest-go-v1.6.0/v1.6.0.mod) = c8e197730294ddab63dc7150d29e89868b7a7288044aef1f498feb01e8c34fda +SIZE (go/net_speedtest-go/speedtest-go-v1.6.0/v1.6.0.mod) = 509 +SHA256 (go/net_speedtest-go/speedtest-go-v1.6.0/v1.6.0.zip) = 0f50d0d334d69c7652abaedccc524157bbc3a514cd076f65d925eedd4ed24828 +SIZE (go/net_speedtest-go/speedtest-go-v1.6.0/v1.6.0.zip) = 34054 diff --git a/net/speedtest-go/pkg-descr b/net/speedtest-go/pkg-descr new file mode 100644 index 000000000000..225717446e5d --- /dev/null +++ b/net/speedtest-go/pkg-descr @@ -0,0 +1,3 @@ +Command line interface and pure Go API to test internet speed using +speedtest.net. Able to speedtest 2x faster than speedtest.net with +almost the same result. |