git: f9070c1280f3 - main - www/grafana8: fix build on riscv64, enable on armv7

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Fri, 31 Mar 2023 10:42:31 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f9070c1280f387a33d67a56a77e32237ceb6123c

commit f9070c1280f387a33d67a56a77e32237ceb6123c
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-03-28 15:08:16 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-03-31 10:42:06 +0000

    www/grafana8: fix build on riscv64, enable on armv7
    
    Bump golang.org/x/{net,sys,sync,text,tools} dependencies
    to versions new enough to build on riscv64-freebsd.
    
    Builds fine on armv7.  Only strip if requested.
    
    Sponsored by:   Berliner Linux User Group e.V.
    Approved by:    portmgr (build fix blanket)
---
 www/grafana8/Makefile         |  4 ++--
 www/grafana8/Makefile.modules | 10 +++++-----
 www/grafana8/distinfo         | 22 +++++++++++-----------
 3 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/www/grafana8/Makefile b/www/grafana8/Makefile
index 4a99d69b3ec8..fbb4a2a482e2 100644
--- a/www/grafana8/Makefile
+++ b/www/grafana8/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	grafana
 DISTVERSIONPREFIX=	v
 DISTVERSION=	8.5.21
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www
 MASTER_SITES=	https://dl.grafana.com/oss/release/:public
 PKGNAMESUFFIX=	${DISTVERSION:C/([0-9]).*/\1/1}
@@ -15,7 +15,7 @@ WWW=		https://github.com/grafana/grafana
 LICENSE=	AGPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-ONLY_FOR_ARCHS=	aarch64 amd64 i386
+ONLY_FOR_ARCHS=	aarch64 amd64 armv7 i386 riscv64
 
 RUN_DEPENDS=	ca_root_nss>=0:security/ca_root_nss
 
diff --git a/www/grafana8/Makefile.modules b/www/grafana8/Makefile.modules
index f5f72d913d2a..f896a4a897a8 100644
--- a/www/grafana8/Makefile.modules
+++ b/www/grafana8/Makefile.modules
@@ -102,15 +102,15 @@ GH_TUPLE=	\
 		golang:groupcache:41bb18bfe9da:golang_groupcache/vendor/github.com/golang/groupcache \
 		golang:mock:v1.6.0:golang_mock/vendor/github.com/golang/mock \
 		golang:mod:v0.4.1:golang_mod/vendor/golang.org/x/mod \
-		golang:net:1bab6f366d9e:golang_net/vendor/golang.org/x/net \
+		golang:net:v0.8.0:golang_net/vendor/golang.org/x/net \
 		golang:oauth2:fd043fe589d2:golang_oauth2/vendor/golang.org/x/oauth2 \
 		golang:protobuf:v1.5.2:golang_protobuf/vendor/github.com/golang/protobuf \
 		golang:snappy:v0.0.4:golang_snappy/vendor/github.com/golang/snappy \
-		golang:sync:0de741cfad7f:golang_sync/vendor/golang.org/x/sync \
-		golang:sys:bc2c85ada10a:golang_sys/vendor/golang.org/x/sys \
-		golang:text:v0.3.7:golang_text/vendor/golang.org/x/text \
+		golang:sync:v0.1.0:golang_sync/vendor/golang.org/x/sync \
+		golang:sys:v0.6.0:golang_sys/vendor/golang.org/x/sys \
+		golang:text:v0.8.0:golang_text/vendor/golang.org/x/text \
 		golang:time:579cf78fd858:golang_time/vendor/golang.org/x/time \
-		golang:tools:v0.1.11:golang_tools/vendor/golang.org/x/tools \
+		golang:tools:v0.6.0:golang_tools/vendor/golang.org/x/tools \
 		golang:xerrors:5ec99f83aff1:golang_xerrors/vendor/golang.org/x/xerrors \
 		golang-jwt:jwt:v3.2.1:golang_jwt_jwt/vendor/github.com/golang-jwt/jwt \
 		golang-jwt:jwt:v4.4.2:golang_jwt_jwt_v4/vendor/github.com/golang-jwt/jwt/v4 \
diff --git a/www/grafana8/distinfo b/www/grafana8/distinfo
index 167f5e80570b..c085c2b8686c 100644
--- a/www/grafana8/distinfo
+++ b/www/grafana8/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1677605034
+TIMESTAMP = 1680013967
 SHA256 (grafana-8.5.21.linux-amd64.tar.gz) = 5f12da13a12ff4ebc41e0a5a8b68073896482d0ee734397094f9bedbb7be331e
 SIZE (grafana-8.5.21.linux-amd64.tar.gz) = 79338446
 SHA256 (v0.3.6.tar.gz) = af49dbe70ab6b0eb31d69afd89c3260b82cb662607b66eac41b65d642faee6bb
@@ -205,24 +205,24 @@ SHA256 (golang-mock-v1.6.0_GH0.tar.gz) = 470174971c3a63361149a30f5b2d3a716a198af
 SIZE (golang-mock-v1.6.0_GH0.tar.gz) = 69251
 SHA256 (golang-mod-v0.4.1_GH0.tar.gz) = 548935751dbc1c29a27bf1b1de6d7ffe58b752d6ad7bc1f254e6ea89ae2ddd59
 SIZE (golang-mod-v0.4.1_GH0.tar.gz) = 102751
-SHA256 (golang-net-1bab6f366d9e_GH0.tar.gz) = 77c3fb8854383a68aceb5c36b5613bbdd90462c20d4a23a6d42efb569e10a98b
-SIZE (golang-net-1bab6f366d9e_GH0.tar.gz) = 1228310
+SHA256 (golang-net-v0.8.0_GH0.tar.gz) = f9e2128a2d6861db0595428c7cce62fe5a131348a6c7651b6efa8b03d0b10831
+SIZE (golang-net-v0.8.0_GH0.tar.gz) = 1244302
 SHA256 (golang-oauth2-fd043fe589d2_GH0.tar.gz) = 4e644db6e5d9e1eeabd1f9c5681c42975e8b5d3fd6289d617673542fd88f841b
 SIZE (golang-oauth2-fd043fe589d2_GH0.tar.gz) = 90227
 SHA256 (golang-protobuf-v1.5.2_GH0.tar.gz) = 088cc0f3ba18fb8f9d00319568ff0af5a06d8925a6e6cb983bb837b4efb703b3
 SIZE (golang-protobuf-v1.5.2_GH0.tar.gz) = 171702
 SHA256 (golang-snappy-v0.0.4_GH0.tar.gz) = 77df678795596f9dfecb5744deb984633d780460a7e9a59e0c7ecfe2052b644f
 SIZE (golang-snappy-v0.0.4_GH0.tar.gz) = 66129
-SHA256 (golang-sync-0de741cfad7f_GH0.tar.gz) = 2fa092fe5edb65287cc57f35d886eca29b47591367bb325769dd78643688e736
-SIZE (golang-sync-0de741cfad7f_GH0.tar.gz) = 19521
-SHA256 (golang-sys-bc2c85ada10a_GH0.tar.gz) = f4a4b0839211cec4a8520bdc7e1004aba8cd0fa1a480a7158d1276efeb890e9a
-SIZE (golang-sys-bc2c85ada10a_GH0.tar.gz) = 1303050
-SHA256 (golang-text-v0.3.7_GH0.tar.gz) = 7cab2f6c3133ac1d422edd952b0dd2082fa55a73c2663fb2defd9bf83d649b26
-SIZE (golang-text-v0.3.7_GH0.tar.gz) = 8354718
+SHA256 (golang-sync-v0.1.0_GH0.tar.gz) = 81056c07b5dc1077f2d6ac0f7ce3d4ef199a3ff85c319ab03dcff22fa9ba2183
+SIZE (golang-sync-v0.1.0_GH0.tar.gz) = 19356
+SHA256 (golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54
+SIZE (golang-sys-v0.6.0_GH0.tar.gz) = 1434234
+SHA256 (golang-text-v0.8.0_GH0.tar.gz) = aeaec799a8e0b02523c80fed03383da04bf1b9c9ef431ed4d34b70488fbeaa64
+SIZE (golang-text-v0.8.0_GH0.tar.gz) = 8359526
 SHA256 (golang-time-579cf78fd858_GH0.tar.gz) = ea2b6419aec8aafa880052490b137a9d50fe4ff9a10871d402c92cb7a582d035
 SIZE (golang-time-579cf78fd858_GH0.tar.gz) = 11016
-SHA256 (golang-tools-v0.1.11_GH0.tar.gz) = 27d5d4c897b216b73169c88841035f0cb369ece9ee67bcf3355f065cdaad2918
-SIZE (golang-tools-v0.1.11_GH0.tar.gz) = 3078603
+SHA256 (golang-tools-v0.6.0_GH0.tar.gz) = c7b04bc8019242f2d49067ca205aaaad116d1541923589265fb0a54d589cbfa7
+SIZE (golang-tools-v0.6.0_GH0.tar.gz) = 3307383
 SHA256 (golang-xerrors-5ec99f83aff1_GH0.tar.gz) = 71975d658357e170fd6a41f92539cde8b39c9cd8bfe5931b6311bc5f5c0da0d7
 SIZE (golang-xerrors-5ec99f83aff1_GH0.tar.gz) = 13664
 SHA256 (golang-jwt-jwt-v3.2.1_GH0.tar.gz) = 9c7d8c881a6517a7d38276d5cbcfbef93ff7ebb7d43181c471d9dc05b0b8feed