diff options
-rw-r--r-- | security/totp-cli/Makefile | 7 | ||||
-rw-r--r-- | security/totp-cli/distinfo | 2 |
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 |