mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
pass: really switch to gpg
This commit is contained in:
parent
59c5fc3992
commit
6828e76979
2 changed files with 17 additions and 3 deletions
14
srcpkgs/pass/patches/gpg.patch
Normal file
14
srcpkgs/pass/patches/gpg.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
Index: pass-1.7.4/src/password-store.sh
|
||||
===================================================================
|
||||
--- pass-1.7.4.orig/src/password-store.sh
|
||||
+++ pass-1.7.4/src/password-store.sh
|
||||
@@ -9,8 +9,7 @@ set -o pipefail
|
||||
GPG_OPTS=( $PASSWORD_STORE_GPG_OPTS "--quiet" "--yes" "--compress-algo=none" "--no-encrypt-to" )
|
||||
GPG="gpg"
|
||||
export GPG_TTY="${GPG_TTY:-$(tty 2>/dev/null)}"
|
||||
-which gpg2 &>/dev/null && GPG="gpg2"
|
||||
-[[ -n $GPG_AGENT_INFO || $GPG == "gpg2" ]] && GPG_OPTS+=( "--batch" "--use-agent" )
|
||||
+GPG_OPTS+=( "--batch" "--use-agent" )
|
||||
|
||||
PREFIX="${PASSWORD_STORE_DIR:-$HOME/.password-store}"
|
||||
EXTENSIONS="${PASSWORD_STORE_EXTENSIONS_DIR:-$PREFIX/.extensions}"
|
|
@ -1,11 +1,11 @@
|
|||
# Template file for 'pass'
|
||||
pkgname=pass
|
||||
version=1.7.4
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-makefile
|
||||
make_install_args="WITH_BASHCOMP=yes WITH_ZSHCOMP=yes WITH_FISHCOMP=yes"
|
||||
depends="bash gnupg>=2 tree which"
|
||||
checkdepends="gnupg tree which git"
|
||||
depends="bash gnupg>=2 tree"
|
||||
checkdepends="gnupg tree git"
|
||||
short_desc="Stores, retrieves, generates, and synchronizes passwords securely"
|
||||
maintainer="teldra <teldra@rotce.de>"
|
||||
license="GPL-2.0-or-later"
|
||||
|
|
Loading…
Add table
Reference in a new issue