Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161343842
D13220.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D13220.id.diff
View Options
Index: head/security/2fa/Makefile
===================================================================
--- head/security/2fa/Makefile
+++ head/security/2fa/Makefile
@@ -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>
Index: head/security/2fa/distinfo
===================================================================
--- head/security/2fa/distinfo
+++ head/security/2fa/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1511500933
+SHA256 (rsc-2fa-g20171122-c9558c5_GH0.tar.gz) = bb69f6774b991023256c3e69ed270f046d74886d1cf31c56edd810bb31a0b658
+SIZE (rsc-2fa-g20171122-c9558c5_GH0.tar.gz) = 4248
Index: head/security/2fa/pkg-descr
===================================================================
--- head/security/2fa/pkg-descr
+++ head/security/2fa/pkg-descr
@@ -0,0 +1,3 @@
+2fa is a command-line two-factor authentication agent.
+
+WWW: https://github.com/rsc/2fa
Index: head/security/Makefile
===================================================================
--- head/security/Makefile
+++ head/security/Makefile
@@ -5,6 +5,7 @@
SUBDIR += 0d1n
SUBDIR += 1password-client
+ SUBDIR += 2fa
SUBDIR += ADMsmb
SUBDIR += ADMsnmp
SUBDIR += R-cran-ROAuth
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jul 4, 12:24 AM (8 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34643153
Default Alt Text
D13220.id.diff (1 KB)
Attached To
Mode
D13220: New port: security/2fa: Two-factor authentication on the command line
Attached
Detach File
Event Timeline
Log In to Comment