Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 2018 19:02:56 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458676 - head/security/2fa
Message-ID:  <201801101902.w0AJ2urY064142@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Wed Jan 10 19:02:56 2018
New Revision: 458676
URL: https://svnweb.freebsd.org/changeset/ports/458676

Log:
  security/2fa: Update to 1.1.0
  
  PR:		224934
  Submitted by:	Dmitri Goutnik <dg@syrec.org> (maintainer)

Modified:
  head/security/2fa/Makefile   (contents, props changed)
  head/security/2fa/distinfo   (contents, props changed)

Modified: head/security/2fa/Makefile
==============================================================================
--- head/security/2fa/Makefile	Wed Jan 10 18:58:11 2018	(r458675)
+++ head/security/2fa/Makefile	Wed Jan 10 19:02:56 2018	(r458676)
@@ -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

Modified: head/security/2fa/distinfo
==============================================================================
--- head/security/2fa/distinfo	Wed Jan 10 18:58:11 2018	(r458675)
+++ head/security/2fa/distinfo	Wed Jan 10 19:02:56 2018	(r458676)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801101902.w0AJ2urY064142>