]> git.pld-linux.org Git - packages/gnupg2.git/commitdiff
- rel 3; use readlink from coreutils instead of our own resolvesymlink; handle "gpg... auto/th/gnupg2-2.0.30-3
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 2 Aug 2016 13:16:11 +0000 (15:16 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 2 Aug 2016 13:16:34 +0000 (15:16 +0200)
gnupg-agent.sh
gnupg2.spec

index 100ad8b0d5a202eccdaa1b5a190d52ba4ba0357d..72dda0c7602e0fa745b06fd0cee346eb0f6c9333 100644 (file)
@@ -14,7 +14,7 @@ fi
 if grep -q "^[[:blank:]]*use-agent" ${CFG} 2>/dev/null; then
        if [ -f "${HOME}/.gnupg/GPG_AGENT_INFO" ] && \
                        pid="$(cut -d: -f2 $HOME/.gnupg/GPG_AGENT_INFO)" && \
-                       agent="$(resolvesymlink "/proc/$pid/exe")" && \
+                       agent="$(readlink -n "/proc/$pid/exe")" && agent=${agent%% *} && \
                        [ "$agent" = "/usr/bin/gpg-agent" -o "$agent" = "/usr/bin/seahorse-agent" ]; then
                export GPG_AGENT_INFO="$(cat ${HOME}/.gnupg/GPG_AGENT_INFO)"
        else
index 555b6042db1f7023f77892c95397bc8dccd9c2b5..8efc42fc2ca52b0d83855eb222ce956aa1358c7b 100644 (file)
@@ -7,7 +7,7 @@ Summary:        GNU Privacy Guard - tool for secure communication and data storage - en
 Summary(pl.UTF-8):     GnuPG - narzędzie do bezpiecznej komunikacji i bezpiecznego przechowywania danych - wersja rozszerzona
 Name:          gnupg2
 Version:       2.0.30
-Release:       2
+Release:       3
 License:       GPL v3+
 Group:         Applications/File
 Source0:       ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-%{version}.tar.bz2
This page took 0.205385 seconds and 4 git commands to generate.