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,19 +1,26 @@ PORTNAME= totp-cli PORTVERSION= 1.2.6 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= security MAINTAINER= sunpoet@FreeBSD.org COMMENT= Authy/Google Authenticator like TOTP CLI tool WWW= https://github.com/yitsushi/totp-cli 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 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 @@ -1,5 +1,7 @@ TIMESTAMP = 1677771041 SHA256 (go/security_totp-cli/totp-cli-v1.2.6/v1.2.6.mod) = 3ac08aba74ac5f0d6729dbdaa33c32470c94940d709b3d2052f44689e08d4f52 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