aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2023-03-20 14:12:31 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2023-03-22 20:15:17 +0000
commit23417a53111656a7069c4531ff2d38f2693592ac (patch)
tree731dda0213c460a4989d521a3ce8b7867a36ab24
parent8c4e4f75cdd9d733c2651672fa65efb6edfbad10 (diff)
downloadports-23417a53111656a7069c4531ff2d38f2693592ac.tar.gz
ports-23417a53111656a7069c4531ff2d38f2693592ac.zip
security/totp-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)
-rw-r--r--security/totp-cli/Makefile7
-rw-r--r--security/totp-cli/distinfo2
2 files changed, 9 insertions, 0 deletions
diff --git a/security/totp-cli/Makefile b/security/totp-cli/Makefile
index 938b7a1f6153..0e9ba98fd36c 100644
--- a/security/totp-cli/Makefile
+++ b/security/totp-cli/Makefile
@@ -1,5 +1,6 @@
PORTNAME= totp-cli
PORTVERSION= 1.2.6
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= security
@@ -11,9 +12,15 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
+USE_GITHUB= nodefault
+GH_TUPLE= golang:sys:v0.6.0:sys
GO_MODULE= github.com/yitsushi/totp-cli
PLIST_FILES= bin/totp-cli
+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/security/totp-cli/distinfo b/security/totp-cli/distinfo
index d39f85286fdd..73fee5472a05 100644
--- a/security/totp-cli/distinfo
+++ b/security/totp-cli/distinfo
@@ -3,3 +3,5 @@ SHA256 (go/security_totp-cli/totp-cli-v1.2.6/v1.2.6.mod) = 3ac08aba74ac5f0d6729d
SIZE (go/security_totp-cli/totp-cli-v1.2.6/v1.2.6.mod) = 581
SHA256 (go/security_totp-cli/totp-cli-v1.2.6/v1.2.6.zip) = 2dcaf967711579ea412e8af798169357ef2a59adcc07eeedcafe232ab6254273
SIZE (go/security_totp-cli/totp-cli-v1.2.6/v1.2.6.zip) = 34224
+SHA256 (go/security_totp-cli/totp-cli-v1.2.6/golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54
+SIZE (go/security_totp-cli/totp-cli-v1.2.6/golang-sys-v0.6.0_GH0.tar.gz) = 1434234