git: 533a10b49d0c - main - net/speedtest-go: Add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 26 May 2023 16:22:54 UTC
The branch main has been updated by driesm: URL: https://cgit.FreeBSD.org/ports/commit/?id=533a10b49d0c2f79fe3152bd894f4557b09d7151 commit 533a10b49d0c2f79fe3152bd894f4557b09d7151 Author: Dries Michiels <driesm@FreeBSD.org> AuthorDate: 2023-05-26 16:00:01 +0000 Commit: Dries Michiels <driesm@FreeBSD.org> CommitDate: 2023-05-26 16:22:30 +0000 net/speedtest-go: Add new port CLI and Go API to test internet speed using speedtest.net --- net/Makefile | 1 + net/speedtest-go/Makefile | 20 ++++++++++++++++++++ net/speedtest-go/distinfo | 5 +++++ net/speedtest-go/pkg-descr | 3 +++ 4 files changed, 29 insertions(+) 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.