New port: sysutils/pass-otp: Pass extension for managing one-time-password (OTP) tokens

A pass extension for managing one-time-password (OTP) tokens.

Features:
- managing and generating OTP tokens
- inserting new OTP key URI
- validating OTP URI
- appending OTP URI to existing password files

WWW: https://github.com/tadfisher/pass-otp

PR:		236126
Submitted by:	alex@xanderio.de (previous version)
Reviewed by:	krion
Approved by:	krion (mentor)
Differential Revision:	https://reviews.freebsd.org/D19434
This commit is contained in:
Mateusz Piotrowski 2019-03-04 10:43:39 +00:00
parent 24a1731ddf
commit 2ba39c13e3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494580
4 changed files with 53 additions and 0 deletions

View File

@ -851,6 +851,7 @@
SUBDIR += panicmail
SUBDIR += parafly
SUBDIR += parallel
SUBDIR += pass-otp
SUBDIR += password-store
SUBDIR += passwordsafe
SUBDIR += patchelf

View File

@ -0,0 +1,40 @@
# $FreeBSD$
PORTNAME= pass-otp
DISTVERSIONPREFIX= v
DISTVERSION= 1.2.0
CATEGORIES= sysutils
MAINTAINER= alex@xanderio.de
COMMENT= Pass extension for managing one-time-password (OTP) tokens
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= bash:shells/bash \
pass:sysutils/password-store \
qrencode:graphics/libqrencode \
oathtool:security/oath-toolkit
TEST_DEPENDS= expect:lang/expect \
git:devel/git
USES= gmake shebangfix
USE_GITHUB= YES
GH_ACCOUNT= tadfisher
SHEBANG_FILES= otp.bash test/*.sh test/*t
NO_ARCH= yes
NO_BUILD= yes
MAKE_ENV= DESTDIR=${STAGEDIR} \
LIBDIR=${PREFIX}/libexec \
MANDIR=${MANPREFIX}/man \
BASHCOMPDIR=${PREFIX}/share/bash-completion/completions
TEST_TARGET= test
TEST_ARGS= SHELL=${LOCALBASE}/bin/bash
PLIST_FILES= man/man1/pass-otp.1.gz\
libexec/password-store/extensions/otp.bash \
share/bash-completion/completions/pass-otp
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1551364314
SHA256 (tadfisher-pass-otp-v1.2.0_GH0.tar.gz) = 5720a649267a240a4f7ba5a6445193481070049c1d08ba38b00d20fc551c3a67
SIZE (tadfisher-pass-otp-v1.2.0_GH0.tar.gz) = 46789

View File

@ -0,0 +1,9 @@
A pass extension for managing one-time-password (OTP) tokens.
Features:
- managing and generating OTP tokens
- inserting new OTP key URI
- validating OTP URI
- appending OTP URI to existing password files
WWW: https://github.com/tadfisher/pass-otp