Merge pull request #12773 from kragniz/gnupg-2.1.11
gnupg: 2.1.10 -> 2.1.11
This commit is contained in:
commit
2c51a0a39a
@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurl, gettext }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libgpg-error-1.20";
|
||||
name = "libgpg-error-1.21";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnupg/libgpg-error/${name}.tar.bz2";
|
||||
sha256 = "08i5wxs6zlngjkv6s3dwm60w8mihxvi9agp6jfq7z6j1wdf8jrij";
|
||||
sha256 = "0kdq2cbnk84fr4jqcv689rlxpbyl6bda2cn6y3ll19v3mlydpnxp";
|
||||
};
|
||||
|
||||
postPatch = "sed '/BUILD_TIMESTAMP=/s/=.*/=1970-01-01T00:01+0000/' -i ./configure";
|
||||
|
@ -13,15 +13,13 @@ with stdenv.lib;
|
||||
assert x11Support -> pinentry != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gnupg-2.1.10";
|
||||
name = "gnupg-2.1.11";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnupg/gnupg/${name}.tar.bz2";
|
||||
sha256 = "1ybcsazjm21i2ys1wh49cz4azmqz7ghx5rb6hm4gm93i2zc5igck";
|
||||
sha256 = "06mn2viiwsyq991arh5i5fhr9jyxq2bi0jkdj7ndfisxihngpc5p";
|
||||
};
|
||||
|
||||
patches = [ ./gpgkey2ssh-21.patch ];
|
||||
|
||||
postPatch = stdenv.lib.optionalString stdenv.isLinux ''
|
||||
sed -i 's,"libpcsclite\.so[^"]*","${pcsclite}/lib/libpcsclite.so",g' scd/scdaemon.c
|
||||
''; #" fix Emacs syntax highlighting :-(
|
||||
|
@ -1,13 +0,0 @@
|
||||
diff --git a/tools/gpgkey2ssh.c b/tools/gpgkey2ssh.c
|
||||
index f12c5f4..2e3f2ac 100644
|
||||
--- a/tools/gpgkey2ssh.c
|
||||
+++ b/tools/gpgkey2ssh.c
|
||||
@@ -281,7 +281,7 @@ main (int argc, char **argv)
|
||||
keyid = argv[1];
|
||||
|
||||
asprintf (&command,
|
||||
- "gpg2 --list-keys --with-colons --with-key-data '%s'",
|
||||
+ "@out@/bin/gpg2 --list-keys --with-colons --with-key-data '%s'",
|
||||
keyid);
|
||||
if (! command)
|
||||
{
|
Loading…
Reference in New Issue
Block a user