diff --git a/srcpkgs/tpm/patches/gpg.patch b/srcpkgs/tpm/patches/gpg.patch new file mode 100644 index 00000000000..395505b7bb9 --- /dev/null +++ b/srcpkgs/tpm/patches/gpg.patch @@ -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 I I + =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 + } + diff --git a/srcpkgs/tpm/template b/srcpkgs/tpm/template index 347c3cd807a..99a08412ec5 100644 --- a/srcpkgs/tpm/template +++ b/srcpkgs/tpm/template @@ -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 " license="GPL-3.0-or-later"