Date: Wednesday, March 7, 2018 @ 18:54:31 Author: foxboron Revision: 304115
archrelease: copy trunk to community-any Added: pass-otp/repos/community-any/PKGBUILD (from rev 304114, pass-otp/trunk/PKGBUILD) Deleted: pass-otp/repos/community-any/PKGBUILD pass-otp/repos/community-any/otp_algorithm-is-lowercase.patch ----------------------------------+ PKGBUILD | 48 ++++++++++++++++--------------------- otp_algorithm-is-lowercase.patch | 24 ------------------ 2 files changed, 21 insertions(+), 51 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-03-07 18:54:24 UTC (rev 304114) +++ PKGBUILD 2018-03-07 18:54:31 UTC (rev 304115) @@ -1,27 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@archlinux.org> -# Contibutor: Alexandre Pujol <alexan...@pujol.io> - -pkgname='pass-otp' -pkgver=1.0.0 -pkgrel=3 -pkgdesc='A pass extension for managing one-time-password (OTP) tokens.' -arch=('any') -url='https://github.com/tadfisher/pass-otp' -license=('GPL3') -depends=('pass' - 'oath-toolkit' - 'qrencode') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/tadfisher/pass-otp/archive/v${pkgver}.tar.gz" - "otp_algorithm-is-lowercase.patch") -sha256sums=('ed409b50c417814f9feed913bb4c09916a10f635404a6d8c2f4e842319c58052' - 'b6a3ca22b8efcd7936e4c48fdde8b3ff50a7ff6497be001a04632fd823ad2293') - -prepare(){ - cd "${pkgname}-${pkgver}" - patch -Np1 -i "${srcdir}/otp_algorithm-is-lowercase.patch" -} - -package() { - cd "${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install -} Copied: pass-otp/repos/community-any/PKGBUILD (from rev 304114, pass-otp/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-03-07 18:54:31 UTC (rev 304115) @@ -0,0 +1,21 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Contibutor: Alexandre Pujol <alexan...@pujol.io> + +pkgname='pass-otp' +pkgver=1.1.0 +pkgrel=1 +pkgdesc='A pass extension for managing one-time-password (OTP) tokens.' +arch=('any') +url='https://github.com/tadfisher/pass-otp' +license=('GPL3') +depends=('pass' + 'oath-toolkit' + 'qrencode') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/tadfisher/pass-otp/archive/v${pkgver}.tar.gz") +sha256sums=('3971467475f8ed573eb860c7a44bd268d464d169dddbc0a4da89232d5beee144') + + +package() { + cd "${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} Deleted: otp_algorithm-is-lowercase.patch =================================================================== --- otp_algorithm-is-lowercase.patch 2018-03-07 18:54:24 UTC (rev 304114) +++ otp_algorithm-is-lowercase.patch 2018-03-07 18:54:31 UTC (rev 304115) @@ -1,24 +0,0 @@ -From 6ff06cc7f17e0ea1af88e6d295c9bfa35933adfd Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Bart=C5=82omiej=20Piotrowski?= - <barthal...@users.noreply.github.com> -Date: Sun, 4 Jun 2017 23:30:09 +0200 -Subject: [PATCH] Make sure $otp_algorithm is lowercase (#33) - -Otherwise oathtool is unhappy. ---- - otp.bash | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/otp.bash b/otp.bash -index c46954e..95f171a 100755 ---- a/otp.bash -+++ b/otp.bash -@@ -243,7 +243,7 @@ cmd_otp_code() { - case "$otp_type" in - totp) - cmd="$OATH -b --totp" -- [[ -n "$otp_algorithm" ]] && cmd+="=$otp_algorithm" -+ [[ -n "$otp_algorithm" ]] && cmd+="=${otp_algorithm,,}" - [[ -n "$otp_period" ]] && cmd+=" --time-step-size=$otp_period"s - [[ -n "$otp_digits" ]] && cmd+=" --digits=$otp_digits" - cmd+=" $otp_secret"