Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (5eb803acd907c0ffbf47f0d83204203eaf12509e)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (5eb803acd907c0ffbf47f0d83204203eaf12509e)
  • Date: Wed, 27 Dec 2017 16:35:43 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 3 +++
utils/2fa/BUILD | 4 ++++
utils/2fa/DEPENDS | 1 +
utils/2fa/DETAILS | 14 ++++++++++++++
utils/2fa/HISTORY | 2 ++
utils/2fa/INSTALL | 1 +
6 files changed, 25 insertions(+)

New commits:
commit 5eb803acd907c0ffbf47f0d83204203eaf12509e
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

2fa: new spell, two-factor authentication on the command line

diff --git a/ChangeLog b/ChangeLog
index fe1f14c..6f4931e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2017-12-27 Vlad Glagolev <stealth AT sourcemage.org>
+ * utils/2fa: new spell, two-factor authentication on the command line
+
2017-12-26 Pavel Vinogradov <public AT sourcemage.org>
* ruby-raa/ruby-2.5: new spell, 2.5.x version of ruby
* gnu.gpg: added new key, 980C197698C3739D,
diff --git a/utils/2fa/BUILD b/utils/2fa/BUILD
new file mode 100755
index 0000000..04d9cd2
--- /dev/null
+++ b/utils/2fa/BUILD
@@ -0,0 +1,4 @@
+export GOPATH="${SOURCE_DIRECTORY}" &&
+
+go get -d &&
+go build -o 2fa -ldflags "${LDFLAGS}"
diff --git a/utils/2fa/DEPENDS b/utils/2fa/DEPENDS
new file mode 100755
index 0000000..46f52de
--- /dev/null
+++ b/utils/2fa/DEPENDS
@@ -0,0 +1 @@
+depends go
diff --git a/utils/2fa/DETAILS b/utils/2fa/DETAILS
new file mode 100755
index 0000000..b9c8a08
--- /dev/null
+++ b/utils/2fa/DETAILS
@@ -0,0 +1,14 @@
+ SPELL=2fa
+ VERSION=1.0.0
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+ SOURCE_URL[0]=https://github.com/rsc/${SPELL}/archive/v${VERSION}.tar.gz
+
SOURCE_HASH=sha512:cce895b7e2d03e4c963b37b8616194c4f1b0d0cc66b1c07e4599a66abcdc901e19ff73b9d9109a41db073af63e8a1f1e518a071d662e80390b8c52fb4dc6d9b8
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=https://github.com/rsc/2fa
+ ENTERED=20171227
+ LICENSE[0]=BSD
+ KEYWORDS="2FA MFA TOTP HOTP"
+ SHORT="two-factor authentication on the command line"
+cat << EOF
+2fa is a two-factor authentication agent.
+EOF
diff --git a/utils/2fa/HISTORY b/utils/2fa/HISTORY
new file mode 100644
index 0000000..93b09cc
--- /dev/null
+++ b/utils/2fa/HISTORY
@@ -0,0 +1,2 @@
+2017-12-27 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, BUILD, INSTALL: created spell, version 1.0.0
diff --git a/utils/2fa/INSTALL b/utils/2fa/INSTALL
new file mode 100755
index 0000000..d3e81c1
--- /dev/null
+++ b/utils/2fa/INSTALL
@@ -0,0 +1 @@
+install -vm 755 2fa "${INSTALL_ROOT}/usr/bin/2fa"



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (5eb803acd907c0ffbf47f0d83204203eaf12509e), Vlad Glagolev, 12/27/2017

Archive powered by MHonArc 2.6.24.

Top of Page