sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (6aebd8f22389ae374b34f13c93e67acaaac096eb)
- 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 (6aebd8f22389ae374b34f13c93e67acaaac096eb)
- Date: Sat, 30 Sep 2017 00:59:52 +0000
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
ChangeLog | 3 +++
security/oath-toolkit/BUILD | 13 +++++++++++++
security/oath-toolkit/CONFIGURE | 4 ++++
security/oath-toolkit/DEPENDS | 28 ++++++++++++++++++++++++++++
security/oath-toolkit/DETAILS | 26 ++++++++++++++++++++++++++
security/oath-toolkit/HISTORY | 3 +++
security/oath-toolkit/PRE_BUILD | 9 +++++++++
security/oath-toolkit/oath.gpg |binary
8 files changed, 86 insertions(+)
New commits:
commit 6aebd8f22389ae374b34f13c93e67acaaac096eb
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
oath-toolkit: new spell, toolkit for OATH/HOTP, TOTP and PSKC
diff --git a/ChangeLog b/ChangeLog
index 0ca5a53..4bdd85e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2017-09-29 Vlad Glagolev <stealth AT sourcemage.org>
+ * security/oath-toolkit: new spell, toolkit for OATH/HOTP, TOTP and
PSKC
+
2017-09-29 Thomas Orgis <sobukus AT sourcemage.org>
* disk/jmtpfs: MTP filesystem that actually works with Android devices
diff --git a/security/oath-toolkit/BUILD b/security/oath-toolkit/BUILD
new file mode 100755
index 0000000..97cca87
--- /dev/null
+++ b/security/oath-toolkit/BUILD
@@ -0,0 +1,13 @@
+local ORIG_OPTS="${OPTS}" &&
+
+cd liboath &&
+
+OPTS="${LIBOATH_OPTS}" &&
+
+default_build &&
+
+cd .. &&
+
+OPTS="${ORIG_OPTS}" &&
+
+default_build
diff --git a/security/oath-toolkit/CONFIGURE b/security/oath-toolkit/CONFIGURE
new file mode 100755
index 0000000..6ef5983
--- /dev/null
+++ b/security/oath-toolkit/CONFIGURE
@@ -0,0 +1,4 @@
+config_query_list LIBOATH_SSL "Which library do you want to use for
low-level crypto?" \
+ internal \
+ openssl \
+ libgcrypt
diff --git a/security/oath-toolkit/DEPENDS b/security/oath-toolkit/DEPENDS
new file mode 100755
index 0000000..c679ef5
--- /dev/null
+++ b/security/oath-toolkit/DEPENDS
@@ -0,0 +1,28 @@
+persistent_add LIBOATH_OPTS &&
+
+case "${LIBOATH_SSL}" in
+ internal)
+ LIBOATH_OPTS="--without-openssl --without-libgcrypt"
+ ;;
+ openssl)
+ depends SSL &&
+
+ LIBOATH_OPTS="--with-openssl --without-libgcrypt"
+ ;;
+ libgcrypt)
+ depends libgpg-error &&
+ depends libgcrypt &&
+
+ LIBOATH_OPTS="--with-libgcrypt --without-openssl"
+ ;;
+esac &&
+
+optional_depends linux-pam \
+ "--enable-pam" \
+ "--disable-pam" \
+ "for PAM module" &&
+
+optional_depends xmlsec \
+ "--enable-pskc" \
+ "--disable-pskc" \
+ "for PSKC support"
diff --git a/security/oath-toolkit/DETAILS b/security/oath-toolkit/DETAILS
new file mode 100755
index 0000000..2a21a26
--- /dev/null
+++ b/security/oath-toolkit/DETAILS
@@ -0,0 +1,26 @@
+ SPELL=oath-toolkit
+ VERSION=2.6.2
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+ SOURCE2=${SOURCE}.sig
+
SOURCE_URL[0]=http://download.savannah.nongnu.org/releases/${SPELL}/${SOURCE}
+ SOURCE2_URL[0]=${SOURCE_URL[0]}.sig
+ SOURCE_GPG=oath.gpg:${SOURCE2}:UPSTREAM_KEY
+ SOURCE2_IGNORE=signature
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=http://www.nongnu.org/oath-toolkit/
+ LICENSE[0]=LGPL
+ LICENSE[1]=GPL
+ ENTERED=20170929
+ SHORT="toolkit for OATH/HOTP, TOTP and PSKC"
+cat << EOF
+The OATH Toolkit provide components for building one-time password
+authentication systems.
+
+It contains shared libraries, command line tools and a PAM module.
+
+Supported technologies include the event-based HOTP algorithm (RFC4226) and
the
+time-based TOTP algorithm (RFC6238). OATH stands for Open AuTHentication,
which
+is the organization that specify the algorithms. For managing secret key
files,
+the Portable Symmetric Key Container (PSKC) format described in RFC6030 is
+supported.
+EOF
diff --git a/security/oath-toolkit/HISTORY b/security/oath-toolkit/HISTORY
new file mode 100644
index 0000000..99b02b7
--- /dev/null
+++ b/security/oath-toolkit/HISTORY
@@ -0,0 +1,3 @@
+2017-09-29 Vlad Glagolev <stealth AT sourcemage.org>
+ * DEPENDS, DETAILS, {PRE_,}BUILD, CONFIGURE, oath.gpg: created spell,
+ version 2.6.2
diff --git a/security/oath-toolkit/PRE_BUILD b/security/oath-toolkit/PRE_BUILD
new file mode 100755
index 0000000..3cdfe26
--- /dev/null
+++ b/security/oath-toolkit/PRE_BUILD
@@ -0,0 +1,9 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+# drop to explicitly configure crypto backend
+sedit "/liboath/d" configure.ac &&
+
+message "${MESSAGE_COLOR}Reconfiguring build scripts...${NORMAL_COLOR}" &&
+
+autoreconf
diff --git a/security/oath-toolkit/oath.gpg b/security/oath-toolkit/oath.gpg
new file mode 100644
index 0000000..9367392
Binary files /dev/null and b/security/oath-toolkit/oath.gpg differ
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (6aebd8f22389ae374b34f13c93e67acaaac096eb), Vlad Glagolev, 09/29/2017
Archive powered by MHonArc 2.6.24.