Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2023 23:07:12 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2775bb137e7d - main - databases/influxdb2-cli: fix build on riscv64
Message-ID:  <202303132307.32DN7CSR048485@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

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

commit 2775bb137e7dfd42833d6ed52ff98833e8528501
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-03-11 10:09:24 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-03-13 23:05:36 +0000

    databases/influxdb2-cli: fix build on riscv64
    
    Bump golang.org/x/sys dependency to a version new enough to support
    riscv64-freebsd.
    
    Sponsored by:   Berliner Linux User Group e.V.
    Approved by:    portmgr (build fix blanket)
    Differential Revision: https://reviews.freebsd.org/D39040
---
 databases/influxdb2-cli/Makefile | 8 +++++++-
 databases/influxdb2-cli/distinfo | 4 +++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/databases/influxdb2-cli/Makefile b/databases/influxdb2-cli/Makefile
index 41c1c4feb5c3..e457b2cc592a 100644
--- a/databases/influxdb2-cli/Makefile
+++ b/databases/influxdb2-cli/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	influxdb2-cli
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.6.1
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	databases net-mgmt
 
 MAINTAINER=	driesm@FreeBSD.org
@@ -12,6 +12,8 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		go:modules
+USE_GITHUB=	nodefault
+GH_TUPLE=	golang:sys:v0.6.0:sys
 
 GO_MODULE=	github.com/influxdata/influx-cli/v2
 GO_TARGET=	./cmd/influx
@@ -20,4 +22,8 @@ CONFLICTS_INSTALL=	influxdb
 
 PLIST_FILES=	bin/influx
 
+pre-patch:
+	${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
+	${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys
+
 .include <bsd.port.mk>
diff --git a/databases/influxdb2-cli/distinfo b/databases/influxdb2-cli/distinfo
index 4cf2d9c80762..1367ec37a25f 100644
--- a/databases/influxdb2-cli/distinfo
+++ b/databases/influxdb2-cli/distinfo
@@ -1,5 +1,7 @@
-TIMESTAMP = 1672422342
+TIMESTAMP = 1678528993
 SHA256 (go/databases_influxdb2-cli/influxdb2-cli-v2.6.1/v2.6.1.mod) = bf97a68fd52205cc4c591b84e79dcc2946039080f6bcc08aadf08632aff81fc3
 SIZE (go/databases_influxdb2-cli/influxdb2-cli-v2.6.1/v2.6.1.mod) = 2517
 SHA256 (go/databases_influxdb2-cli/influxdb2-cli-v2.6.1/v2.6.1.zip) = e0dfdd24e8c2247a837d8b320a94a729fa10edfc7368201daf7ccd65442be021
 SIZE (go/databases_influxdb2-cli/influxdb2-cli-v2.6.1/v2.6.1.zip) = 856880
+SHA256 (go/databases_influxdb2-cli/influxdb2-cli-v2.6.1/golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54
+SIZE (go/databases_influxdb2-cli/influxdb2-cli-v2.6.1/golang-sys-v0.6.0_GH0.tar.gz) = 1434234



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303132307.32DN7CSR048485>