mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
net/librespeed-cli: Update to 1.0.7
Also add some definitions to GO_BUILDFLAGS to properly fill out the output of `librespeed-cli --version`. These values are also used in User-Agent when accessing speedtest server. PR: 247971 Reported by: Dries Michiels <driesm.michiels@gmail.com> (maintainer) Reviewed by: meta (myself)
This commit is contained in:
parent
bcf6f7e950
commit
c1d19fbc9c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=542580
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= librespeed-cli
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.0.6
|
||||
DISTVERSION= 1.0.7
|
||||
CATEGORIES= net www
|
||||
|
||||
MAINTAINER= driesm.michiels@gmail.com
|
||||
@ -13,10 +13,16 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= go:modules
|
||||
|
||||
GO_BUILDFLAGS+= \
|
||||
-ldflags "-X \"librespeed-cli/defs.ProgName=${PORTNAME}\" \
|
||||
-X \"librespeed-cli/defs.ProgVersion=${PORTVERSION}-freebsd\" \
|
||||
-X \"librespeed-cli/defs.BuildDate=`date -u '+%Y-%m-%d %H:%M:%S %Z'`\""
|
||||
|
||||
USE_GITHUB= YES
|
||||
GH_ACCOUNT= librespeed
|
||||
GH_PROJECT= speedtest-cli
|
||||
GH_TUPLE= briandowns:spinner:v1.9.0:briandowns_spinner/vendor/github.com/briandowns/spinner \
|
||||
GH_TUPLE= \
|
||||
briandowns:spinner:v1.9.0:briandowns_spinner/vendor/github.com/briandowns/spinner \
|
||||
cpuguy83:go-md2man:f79a8a8ca69d:cpuguy83_go_md2man_v2/vendor/github.com/cpuguy83/go-md2man/v2 \
|
||||
fatih:color:v1.7.0:fatih_color/vendor/github.com/fatih/color \
|
||||
gocarina:gocsv:87c60d755c58:gocarina_gocsv/vendor/github.com/gocarina/gocsv \
|
||||
|
@ -1,6 +1,6 @@
|
||||
TIMESTAMP = 1589984366
|
||||
SHA256 (librespeed-speedtest-cli-v1.0.6_GH0.tar.gz) = da126f60086805e7939cb5d5b7b34ed2892e24deeddcb2e9f7c91a82d260d2f7
|
||||
SIZE (librespeed-speedtest-cli-v1.0.6_GH0.tar.gz) = 23867
|
||||
TIMESTAMP = 1594722626
|
||||
SHA256 (librespeed-speedtest-cli-v1.0.7_GH0.tar.gz) = 0d25c98cd2fadbc1bcc57d94d35cfb88caf93f229474c990dab98236041008b0
|
||||
SIZE (librespeed-speedtest-cli-v1.0.7_GH0.tar.gz) = 23879
|
||||
SHA256 (briandowns-spinner-v1.9.0_GH0.tar.gz) = 1fee58fd24d4211cf6eeebfe2970be20c8b8bd4cf864e62e89fe4321f2a2a1ad
|
||||
SIZE (briandowns-spinner-v1.9.0_GH0.tar.gz) = 1324438
|
||||
SHA256 (cpuguy83-go-md2man-f79a8a8ca69d_GH0.tar.gz) = c117a3e3741ea39016b678b24db19b1f766277bac7c1c6d721237bb159610178
|
||||
|
@ -1,5 +1,7 @@
|
||||
This is the CLI part of LibreSpeed which is a very lightweight speedtest.
|
||||
With the CLI it's possible to run a speedtest from the command line interface.
|
||||
The server part can be found in www/librespeed.
|
||||
The server part can be found in:
|
||||
- www/librespeed (javascript php implementation)
|
||||
- net/librespeed-go (go implementation)
|
||||
|
||||
WWW: https://github.com/librespeed/speedtest-cli
|
||||
|
Loading…
Reference in New Issue
Block a user