svn commit: r454832 - in head/security: . 2fa
Yuri Victorovich
yuri at FreeBSD.org
Fri Nov 24 18:59:06 UTC 2017
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 at 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 at 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
More information about the svn-ports-all
mailing list