svn commit: r542580 - head/net/librespeed-cli
Koichiro Iwao
meta at FreeBSD.org
Sun Jul 19 14:30:50 UTC 2020
Author: meta
Date: Sun Jul 19 14:30:49 2020
New Revision: 542580
URL: https://svnweb.freebsd.org/changeset/ports/542580
Log:
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 at gmail.com> (maintainer)
Reviewed by: meta (myself)
Modified:
head/net/librespeed-cli/Makefile
head/net/librespeed-cli/distinfo
head/net/librespeed-cli/pkg-descr
Modified: head/net/librespeed-cli/Makefile
==============================================================================
--- head/net/librespeed-cli/Makefile Sun Jul 19 14:19:43 2020 (r542579)
+++ head/net/librespeed-cli/Makefile Sun Jul 19 14:30:49 2020 (r542580)
@@ -2,7 +2,7 @@
PORTNAME= librespeed-cli
DISTVERSIONPREFIX= v
-DISTVERSION= 1.0.6
+DISTVERSION= 1.0.7
CATEGORIES= net www
MAINTAINER= driesm.michiels at 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 \
Modified: head/net/librespeed-cli/distinfo
==============================================================================
--- head/net/librespeed-cli/distinfo Sun Jul 19 14:19:43 2020 (r542579)
+++ head/net/librespeed-cli/distinfo Sun Jul 19 14:30:49 2020 (r542580)
@@ -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
Modified: head/net/librespeed-cli/pkg-descr
==============================================================================
--- head/net/librespeed-cli/pkg-descr Sun Jul 19 14:19:43 2020 (r542579)
+++ head/net/librespeed-cli/pkg-descr Sun Jul 19 14:30:49 2020 (r542580)
@@ -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
More information about the svn-ports-all
mailing list