tpm: replace gnupg2 with gnupg

This commit is contained in:
Đoàn Trần Công Danh 2022-11-09 09:47:25 +07:00
parent 43655899f4
commit 72e3893593
2 changed files with 37 additions and 2 deletions

View File

@ -0,0 +1,35 @@
Index: tpm-1.3.3/README.pod
===================================================================
--- tpm-1.3.3.orig/README.pod
+++ tpm-1.3.3/README.pod
@@ -9,7 +9,7 @@ B<tpm> I<COMMAND> I<ENTRY>
=head1 DESCRIPTION
tpm is a tiny shell script which is heavily inspired and largely
-compatible with pass(1). Just like pass it uses gpg2(1) to securely
+compatible with pass(1). Just like pass it uses gpg(1) to securely
store your passwords, the major difference between pass and tpm is that
the latter is a lot more minimal. Furthermore, tpm is written entirely
in POSIX shell.
@@ -68,4 +68,4 @@ Copy your 'system/root' password to the
=head1 SEE ALSO
-gpg2(1), pass(1), pwgen(1), xclip(1)
+gpg(1), pass(1), pwgen(1), xclip(1)
Index: tpm-1.3.3/tpm
===================================================================
--- tpm-1.3.3.orig/tpm
+++ tpm-1.3.3/tpm
@@ -38,9 +38,9 @@ abort() {
gpg() {
if [ -n "${PASSWORD_STORE_KEY}" ]; then
- gpg2 $GPG_OPTS --recipient "${PASSWORD_STORE_KEY}" "$@"
+ /usr/bin/gpg $GPG_OPTS --recipient "${PASSWORD_STORE_KEY}" "$@"
else
- gpg2 $GPG_OPTS --default-recipient-self "$@"
+ /usr/bin/gpg $GPG_OPTS --default-recipient-self "$@"
fi
}

View File

@ -1,10 +1,10 @@
# Template file for 'tpm'
pkgname=tpm
version=1.3.3
revision=2
revision=3
build_style=gnu-makefile
hostmakedepends="perl"
depends="gnupg2"
depends="gnupg>=2"
short_desc="Tiny password manager"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"