Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Nov 2017 18:59:04 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r454832 - in head/security: . 2fa
Message-ID:  <201711241859.vAOIx4tA062241@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Fri Nov 24 18:59:04 2017
New Revision: 454832
URL: https://svnweb.freebsd.org/changeset/ports/454832

Log:
  New port: security/2fa: Two-factor authentication on the command line
  
  PR:		223822
  Submitted by:	Dmitri Goutnik <dg@syrec.org>
  Approved by:	tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D13220

Added:
  head/security/2fa/
  head/security/2fa/Makefile   (contents, props changed)
  head/security/2fa/distinfo   (contents, props changed)
  head/security/2fa/pkg-descr   (contents, props changed)
Modified:
  head/security/Makefile

Added: head/security/2fa/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/2fa/Makefile	Fri Nov 24 18:59:04 2017	(r454832)
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME=	2fa
+DISTVERSION=	g20171122
+CATEGORIES=	security
+
+MAINTAINER=	dg@syrec.org
+COMMENT=	Two-factor authentication on the command line
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	go:lang/go
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	rsc
+GH_TAGNAME=	c9558c5
+
+OPTIONS_DEFINE=	DOCS
+
+PLIST_FILES=	bin/2fa
+PORTDOCS=	README.md
+
+do-build:
+	@cd ${WRKSRC} && ${SETENV} GOPATH=${WRKSRC} go build -o ${PORTNAME}
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/security/2fa/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/2fa/distinfo	Fri Nov 24 18:59:04 2017	(r454832)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1511500933
+SHA256 (rsc-2fa-g20171122-c9558c5_GH0.tar.gz) = bb69f6774b991023256c3e69ed270f046d74886d1cf31c56edd810bb31a0b658
+SIZE (rsc-2fa-g20171122-c9558c5_GH0.tar.gz) = 4248

Added: head/security/2fa/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/2fa/pkg-descr	Fri Nov 24 18:59:04 2017	(r454832)
@@ -0,0 +1,3 @@
+2fa is a command-line two-factor authentication agent.
+
+WWW: https://github.com/rsc/2fa

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Fri Nov 24 18:40:22 2017	(r454831)
+++ head/security/Makefile	Fri Nov 24 18:59:04 2017	(r454832)
@@ -5,6 +5,7 @@
 
     SUBDIR += 0d1n
     SUBDIR += 1password-client
+    SUBDIR += 2fa
     SUBDIR += ADMsmb
     SUBDIR += ADMsnmp
     SUBDIR += R-cran-ROAuth



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