From nobody Mon Jul 31 20:44:34 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RF9H35pMBz4pTZb; Mon, 31 Jul 2023 20:44:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RF9GJ6CdBz4FCh; Mon, 31 Jul 2023 20:44:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690836281; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Gw1G5gVcibUgyrtGaOL+71qqUgwyscLHwmngaj7/2YA=; b=BTdwnU5A15J5WlzDdejgGrRQgyW8/zv6v9LEZe3odjTGqiVDc1a3sz+TpILxNBPByDSvc3 4jv5sBrmxa8R+MWH+YcaVNnJCFkOJ5iTxbucwMr/sPWhPYDT397ejAeT3xfD6Iv0IG94BH yItar2ZvNn/u2rI398lE9LwJEA6+0Gdo/eQqkeqATr5YPN5aenFti6RyDQvbVxUC0lrnMk 4g3300qu8elK0t022ORhy23f3Xjyty/eML0TtUDh0VLwVqQwVmEl/am1ANgy/2MFyNEN7K oRKs2H3Df696xrYH2fUidtSoySE+8t7+Cvy+azOApenVYiKTYKOPtyTQUeRxYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690836281; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Gw1G5gVcibUgyrtGaOL+71qqUgwyscLHwmngaj7/2YA=; b=x8bDK5cri3qpq/Lk90wLkerkf4RQ/6in76BfGtzTxPqCOZGOzWtREWlYiu/TWYVy51/eAD bPW0pfpP+uj1S68itcQz0KBUXRe11JtKeeGgnkRtMGyOApoDfW0C4TGsfziOVWckDNr+nM 2G0NoWBWawdBWHSgJsK65vuUHxbAzV0LKZemm9tf8QxxJ0pCoqe810QKkmQpdmihXlPPnU yBLITIPGNLf/xyJpTX9VOXVGGMa+abS2eocopnwFpPTlblqKx3vlxY312pKkmb4O7NyhcP BhaZwo+C5wQbGrUtRyXTcdzd2/fBLBHaK1J+5sndwYsqGauBCSIa9H/SvS3j6w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690836281; a=rsa-sha256; cv=none; b=d9yBQfrbisucsR8U79UFltbpnD7XdYvC+ZJSlIj+rqfI791zjr/PFBC/NoE5b7zjw+4OEt VOB0cUv2v+zykzgvX2LZtZJP+8IwdMdC7eFxcBmg1wNieT573ieUyvnACNltAC9//Qz79H erJXu9iAw2BGkLOBuW6iByrT+Gz7p9ybnrUeeHEgq3/9O5SnOAUbaBECac2gxd5wbsGMyZ 8ulgfxLCOlMmnmqGosMSlq6OVIsFdYN3+T64k9EjVsYylRjLtlUk2YjWRNVaR6ys4hlwmW 5LzC1UHviHmvJI3vzDL4dg/oXp5ZFlKhQbdbel6r97splOF+tnqarkC1N55tIg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RF9GF6t7lz19L1; Mon, 31 Jul 2023 20:44:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36VKiYv7090265; Mon, 31 Jul 2023 20:44:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36VKiY90090264; Mon, 31 Jul 2023 20:44:34 GMT (envelope-from git) Date: Mon, 31 Jul 2023 20:44:34 GMT Message-Id: <202307312044.36VKiY90090264@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 2ca085524a48 - main - net/speedtest: Add speedtest 1.2.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2ca085524a48547e68f256465a93d2a0d197c21f Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=2ca085524a48547e68f256465a93d2a0d197c21f commit 2ca085524a48547e68f256465a93d2a0d197c21f Author: Po-Chuan Hsieh AuthorDate: 2023-07-31 20:08:58 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-07-31 20:44:25 +0000 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 --- net/Makefile | 1 + net/speedtest/Makefile | 29 +++++++++++++++++++++++++++++ net/speedtest/distinfo | 5 +++++ net/speedtest/pkg-descr | 16 ++++++++++++++++ 4 files changed, 51 insertions(+) diff --git a/net/Makefile b/net/Makefile index f9a474bfff7d..c6239b9ff07a 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1470,6 +1470,7 @@ SUBDIR += socketpipe SUBDIR += socketw SUBDIR += sofia-sip + SUBDIR += speedtest SUBDIR += speedtest-go SUBDIR += spiritvnc SUBDIR += spoofer diff --git a/net/speedtest/Makefile b/net/speedtest/Makefile new file mode 100644 index 000000000000..a2ecc77cf43d --- /dev/null +++ b/net/speedtest/Makefile @@ -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 diff --git a/net/speedtest/distinfo b/net/speedtest/distinfo new file mode 100644 index 000000000000..854fb4d071cd --- /dev/null +++ b/net/speedtest/distinfo @@ -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 diff --git a/net/speedtest/pkg-descr b/net/speedtest/pkg-descr new file mode 100644 index 000000000000..47043e5ac90a --- /dev/null +++ b/net/speedtest/pkg-descr @@ -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