mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
tpm: replace gnupg2 with gnupg
This commit is contained in:
parent
43655899f4
commit
72e3893593
2 changed files with 37 additions and 2 deletions
35
srcpkgs/tpm/patches/gpg.patch
Normal file
35
srcpkgs/tpm/patches/gpg.patch
Normal 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
|
||||
}
|
||||
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue