pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Mon Nov 27 18:47:09 UTC 2017

Modified Files:
        pkgsrc/security: Makefile
Added Files:
        pkgsrc/security/2fa: DESCR Makefile PLIST distinfo

Log Message:
Add 2fa version 20171122.

>From DESCR:

2fa is a two-factor authentication agent.

"2fa -add name" adds a new key to the 2fa keychain with the given name. It
prints a prompt to standard error and reads a two-factor key from standard
input. Two-factor keys are short case-insensitive strings of letters A-Z and
digits 2-7.

"2fa name" prints a two-factor authentication code from the key with the
given name.

With no arguments, "2fa" prints two-factor authentication codes from all
known time-based keys.

The default time-based authentication codes are derived from a hash of the
key and the current time, so it is important that the system clock have at
least one-minute accuracy.

The keychain is stored unencrypted in the text file "$HOME/.2fa".


To generate a diff of this commit:
cvs rdiff -u -r1.657 -r1.658 pkgsrc/security/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/security/2fa/DESCR pkgsrc/security/2fa/Makefile \
    pkgsrc/security/2fa/PLIST pkgsrc/security/2fa/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/Makefile
diff -u pkgsrc/security/Makefile:1.657 pkgsrc/security/Makefile:1.658
--- pkgsrc/security/Makefile:1.657      Wed Nov 15 08:58:35 2017
+++ pkgsrc/security/Makefile    Mon Nov 27 18:47:09 2017
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.657 2017/11/15 08:58:35 jdolecek Exp $
+# $NetBSD: Makefile,v 1.658 2017/11/27 18:47:09 bsiegert Exp $
 #
 
 COMMENT=       Security tools
 
+SUBDIR+=       2fa
 SUBDIR+=       Bastille
 SUBDIR+=       CSP
 SUBDIR+=       CoolKey

Added files:

Index: pkgsrc/security/2fa/DESCR
diff -u /dev/null pkgsrc/security/2fa/DESCR:1.1
--- /dev/null   Mon Nov 27 18:47:09 2017
+++ pkgsrc/security/2fa/DESCR   Mon Nov 27 18:47:09 2017
@@ -0,0 +1,18 @@
+2fa is a two-factor authentication agent.
+
+"2fa -add name" adds a new key to the 2fa keychain with the given name. It
+prints a prompt to standard error and reads a two-factor key from standard
+input. Two-factor keys are short case-insensitive strings of letters A-Z and
+digits 2-7.
+
+"2fa name" prints a two-factor authentication code from the key with the
+given name.
+
+With no arguments, "2fa" prints two-factor authentication codes from all
+known time-based keys.
+
+The default time-based authentication codes are derived from a hash of the
+key and the current time, so it is important that the system clock have at
+least one-minute accuracy.
+
+The keychain is stored unencrypted in the text file "$HOME/.2fa".
Index: pkgsrc/security/2fa/Makefile
diff -u /dev/null pkgsrc/security/2fa/Makefile:1.1
--- /dev/null   Mon Nov 27 18:47:09 2017
+++ pkgsrc/security/2fa/Makefile        Mon Nov 27 18:47:09 2017
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2017/11/27 18:47:09 bsiegert Exp $
+
+DISTNAME=      2fa
+PKGNAME=       2fa-20171122
+CATEGORIES=    security
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=rsc/}
+GITHUB_TAG=    c9558c536f6538d59f1b012915b44e44e3563823
+
+MAINTAINER=    bsiegert%NetBSD.org@localhost
+HOMEPAGE=      ${MASTER_SITE_GITHUB:=rsc/2fa/}
+COMMENT=       Command-line client for two-factor authentication
+LICENSE=       modified-bsd
+
+GO_DIST_BASE=  2fa-${GITHUB_TAG}
+GO_SRCPATH=    rsc.io/2fa
+
+CHECK_RELRO_SKIP+=     bin/caddy
+
+INSTALLATION_DIRS=     bin
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKDIR}/bin/2fa ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/security/2fa/PLIST
diff -u /dev/null pkgsrc/security/2fa/PLIST:1.1
--- /dev/null   Mon Nov 27 18:47:09 2017
+++ pkgsrc/security/2fa/PLIST   Mon Nov 27 18:47:09 2017
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2017/11/27 18:47:09 bsiegert Exp $
+bin/2fa
+@pkgdir gopkg
Index: pkgsrc/security/2fa/distinfo
diff -u /dev/null pkgsrc/security/2fa/distinfo:1.1
--- /dev/null   Mon Nov 27 18:47:09 2017
+++ pkgsrc/security/2fa/distinfo        Mon Nov 27 18:47:09 2017
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/11/27 18:47:09 bsiegert Exp $
+
+SHA1 (2fa-c9558c536f6538d59f1b012915b44e44e3563823.tar.gz) = 0e61f9ec9c097d894e8c7ff878edb50e97aaed59
+RMD160 (2fa-c9558c536f6538d59f1b012915b44e44e3563823.tar.gz) = ad58053b47a09180c6a51ab439dfa5810428c8f9
+SHA512 (2fa-c9558c536f6538d59f1b012915b44e44e3563823.tar.gz) = 414e79b783a6c2539827197555161019a58411a6aefb485248914e0868f60ede46b8de51eecaa38261a28c4cb418cb2a65875d0ce07f0e9fe24593fc3626e971
+Size (2fa-c9558c536f6538d59f1b012915b44e44e3563823.tar.gz) = 4249 bytes



Home | Main Index | Thread Index | Old Index