aboutsummaryrefslogtreecommitdiff
path: root/security/2fa
diff options
context:
space:
mode:
authorDmitri Goutnik <dmgk@FreeBSD.org>2021-01-17 11:27:18 +0000
committerDmitri Goutnik <dmgk@FreeBSD.org>2021-01-17 11:27:18 +0000
commit926c3e988e042267711e15cc39e38ca64f7042cb (patch)
tree6d887eff6f5e16682889e4a6cac39c63615467b7 /security/2fa
parent0505313ebbf56d00f97486346af7c65a1b292448 (diff)
downloadports-926c3e988e042267711e15cc39e38ca64f7042cb.tar.gz
ports-926c3e988e042267711e15cc39e38ca64f7042cb.zip
security/2fa: Update to 1.2.0
- Remove custom do-test target
Notes
Notes: svn path=/head/; revision=561810
Diffstat (limited to 'security/2fa')
-rw-r--r--security/2fa/Makefile9
-rw-r--r--security/2fa/distinfo6
2 files changed, 5 insertions, 10 deletions
diff --git a/security/2fa/Makefile b/security/2fa/Makefile
index 547aaf568935..56c059712f09 100644
--- a/security/2fa/Makefile
+++ b/security/2fa/Makefile
@@ -2,8 +2,7 @@
PORTNAME= 2fa
DISTVERSIONPREFIX= v
-DISTVERSION= 1.1.0
-PORTREVISION= 1
+DISTVERSION= 1.2.0
CATEGORIES= security
MAINTAINER= dmgk@FreeBSD.org
@@ -12,20 +11,16 @@ COMMENT= Two-factor authentication on the command line
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go
+USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= rsc
-GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME}
OPTIONS_DEFINE= DOCS
PLIST_FILES= bin/2fa
PORTDOCS= README.md
-do-test:
- @cd ${GO_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} test ${GO_BUILDFLAGS}
-
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
diff --git a/security/2fa/distinfo b/security/2fa/distinfo
index a1f408411a2e..7d4bd98270d1 100644
--- a/security/2fa/distinfo
+++ b/security/2fa/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1515162615
-SHA256 (rsc-2fa-v1.1.0_GH0.tar.gz) = ecd5ba067d3e3bbc3f8c10fa2df01b1b388b1cd6503fb56381573d8d17497755
-SIZE (rsc-2fa-v1.1.0_GH0.tar.gz) = 5849
+TIMESTAMP = 1610882661
+SHA256 (rsc-2fa-v1.2.0_GH0.tar.gz) = d8db6b9a714c9146a4b82fd65b54f9bdda3e58380bce393f45e1ef49e4e9bee5
+SIZE (rsc-2fa-v1.2.0_GH0.tar.gz) = 6107