diff options
author | Steve Wills <swills@FreeBSD.org> | 2018-01-10 19:02:56 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2018-01-10 19:02:56 +0000 |
commit | 11c3c39f519adf765439cc6497afd6b07abcec7e (patch) | |
tree | 2870e7e69739cb068020345bf72baa698dcce2e6 | |
parent | eed76459af316f48efe508d5116ffc6575b6c561 (diff) | |
download | ports-11c3c39f519adf765439cc6497afd6b07abcec7e.tar.gz ports-11c3c39f519adf765439cc6497afd6b07abcec7e.zip |
security/2fa: Update to 1.1.0
PR: 224934
Submitted by: Dmitri Goutnik <dg@syrec.org> (maintainer)
Notes
Notes:
svn path=/head/; revision=458676
-rw-r--r-- | security/2fa/Makefile | 8 | ||||
-rw-r--r-- | security/2fa/distinfo | 6 |
2 files changed, 9 insertions, 5 deletions
diff --git a/security/2fa/Makefile b/security/2fa/Makefile index 703408e14a3d..8346462b39a8 100644 --- a/security/2fa/Makefile +++ b/security/2fa/Makefile @@ -2,7 +2,7 @@ PORTNAME= 2fa DISTVERSIONPREFIX= v -DISTVERSION= 1.0.0 +DISTVERSION= 1.1.0 CATEGORIES= security MAINTAINER= dg@syrec.org @@ -15,6 +15,7 @@ BUILD_DEPENDS= go:lang/go USE_GITHUB= yes GH_ACCOUNT= rsc +GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME} OPTIONS_DEFINE= DOCS @@ -22,7 +23,10 @@ PLIST_FILES= bin/2fa PORTDOCS= README.md do-build: - @cd ${WRKSRC} && ${SETENV} GOPATH=${WRKSRC} go build -o ${PORTNAME} + @cd ${WRKSRC}/${GH_SUBDIR} && ${SETENV} GOPATH=${WRKSRC} go build -o ${PORTNAME} + +do-test: + @cd ${WRKSRC}/${GH_SUBDIR} && ${SETENV} GOPATH=${WRKSRC} go test do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin diff --git a/security/2fa/distinfo b/security/2fa/distinfo index b9a34402a16f..a1f408411a2e 100644 --- a/security/2fa/distinfo +++ b/security/2fa/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1511993147 -SHA256 (rsc-2fa-v1.0.0_GH0.tar.gz) = 78b2e6f246ac8319db8bfcbd04d6e089d66c501c07b24302dd626fd039c9dcea -SIZE (rsc-2fa-v1.0.0_GH0.tar.gz) = 4269 +TIMESTAMP = 1515162615 +SHA256 (rsc-2fa-v1.1.0_GH0.tar.gz) = ecd5ba067d3e3bbc3f8c10fa2df01b1b388b1cd6503fb56381573d8d17497755 +SIZE (rsc-2fa-v1.1.0_GH0.tar.gz) = 5849 |