diff mbox

[5/6] gnu: gnupg: Update to 2.1.14.

Message ID 87eg6r97hi.fsf@we.make.ritual.n0.is
State New
Headers show

Commit Message

non such July 17, 2016, 11:20 p.m. UTC
2.1.14 introduced tests in gpgscm.
This package relies on gpgscm package for now.

From 22d466e34e653eda765fe424043200d9ced54cd6 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@we.make.ritual.n0.is>
Date: Sun, 17 Jul 2016 22:28:55 +0000
Subject: [PATCH 5/6] gnu: gnupg: Update to 2.1.14.

* gnu/packages/gnupg.scm (gnupg): Update to 2.1.14.
---
 gnu/packages/gnupg.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

--
2.9.1


--
♥Ⓐ  ng0
For non-prism friendly talk find me on http://www.psyced.org
SecuShare – http://secushare.org

Comments

non such July 17, 2016, 11:31 p.m. UTC | #1
Post-setup functionality tests:

ng0@shadowwalker ~$ cd /gnu/store/5nwqjgsck7wbybbx0gcp5ghn0yxhcqxs-gnupg-2.1.14
ng0@shadowwalker /gnu/store/5nwqjgsck7wbybbx0gcp5ghn0yxhcqxs-gnupg-2.1.14$ ls
bin/  libexec/  sbin/  share/
ng0@shadowwalker /gnu/store/5nwqjgsck7wbybbx0gcp5ghn0yxhcqxs-gnupg-2.1.14$ cd bin/
ng0@shadowwalker /gnu/store/5nwqjgsck7wbybbx0gcp5ghn0yxhcqxs-gnupg-2.1.14/bin$ ls
dirmngr         gpg-agent          gpgparsemail  gpgtar   watchgnupg
dirmngr-client  gpgconf            gpgscm        gpgv2
gpg2            gpg-connect-agent  gpgsm         kbxutil
ng0@shadowwalker /gnu/store/5nwqjgsck7wbybbx0gcp5ghn0yxhcqxs-gnupg-2.1.14/bin$ ./gpg
gpg2               gpg-connect-agent  gpgsm
gpg-agent          gpgparsemail       gpgtar
gpgconf            gpgscm             gpgv2
ng0@shadowwalker /gnu/store/5nwqjgsck7wbybbx0gcp5ghn0yxhcqxs-gnupg-2.1.14/bin$ ./gpg2 --home
--homedir
ng0@shadowwalker /gnu/store/5nwqjgsck7wbybbx0gcp5ghn0yxhcqxs-gnupg-2.1.14/bin$ ./gpg2 --homedir ~/tmp/ --verify
--verify          --verify-files    --verify-options
ng0@shadowwalker /gnu/store/5nwqjgsck7wbybbx0gcp5ghn0yxhcqxs-gnupg-2.1.14/bin$ ./gpg2 --homedir ~/tmp/ --verify ~/re-src/libgcrypt_gnupg/gnupg-2.1.14.tar.bz2.sig ~/re-src/libgcrypt_gnupg/gnupg-2.1.14.tar.bz2
gpg: WARNING: unsafe permissions on homedir '/home/ng0/tmp/'
gpg: keybox '/home/ng0/tmp//pubring.kbx' created
gpg: Signature made Thu 14 Jul 2016 02:06:31 PM UTC using RSA key ID 249B39D24F25E3B6
gpg: Can't check signature: No public key
ng0@shadowwalker /gnu/store/5nwqjgsck7wbybbx0gcp5ghn0yxhcqxs-gnupg-2.1.14/bin$ ./gpg2 --homedir ~/tmp/ --search-keys 249B39D24F25E3B6
gpg: WARNING: unsafe permissions on homedir '/home/ng0/tmp/'
gpg: no keyserver known (use option --keyserver)
gpg: keyserver search failed: No keyserver available
ng0@shadowwalker /gnu/store/5nwqjgsck7wbybbx0gcp5ghn0yxhcqxs-gnupg-2.1.14/bin$ ./gpg2 --homedir ~/tmp/ --keyserver keys.gnupg.net --search-keys 249B39D24F25E3B6
gpg: WARNING: unsafe permissions on homedir '/home/ng0/tmp/'
gpg: data source: http://b.key.ip6.li:11371
(1)Werner Koch (dist sig)
  2048 bit RSA key 249B39D24F25E3B6, created: 2011-01-12, expires: 2019-12-31
Keys 1-1 of 1 for "249B39D24F25E3B6".  Enter number(s), N)ext, or Q)uit > 1
gpg: /home/ng0/tmp//trustdb.gpg: trustdb created
gpg: key 249B39D24F25E3B6: public key "Werner Koch (dist sig)" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1
ng0@shadowwalker /gnu/store/5nwqjgsck7wbybbx0gcp5ghn0yxhcqxs-gnupg-2.1.14/bin$ ./gpg2 --homedir ~/tmp/ --verify ~/re-src/libgcrypt_gnupg/gnupg-2.1.14.tar.bz2.sig ~/re-src/libgcrypt_gnupg/gnupg-2.1.14.tar.bz2
gpg: WARNING: unsafe permissions on homedir '/home/ng0/tmp/'
gpg: Signature made Thu 14 Jul 2016 02:06:31 PM UTC using RSA key ID 249B39D24F25E3B6
gpg: Good signature from "Werner Koch (dist sig)" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: D869 2123 C406 5DEA 5E0F  3AB5 249B 39D2 4F25 E3B6
ng0@shadowwalker /gnu/store/5nwqjgsck7wbybbx0gcp5ghn0yxhcqxs-gnupg-2.1.14/bin$
diff mbox

Patch

diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 84bf19c..9102d7b 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -315,17 +315,18 @@  libskba (working with X.509 certificates and CMS data).")
 (define-public gnupg
   (package
     (name "gnupg")
-    (version "2.1.13")
+    (version "2.1.14")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://gnupg/gnupg/gnupg-" version
                                   ".tar.bz2"))
               (sha256
                (base32
-                "0xcn46vcb5x5qx0bc803vpzhzhnn6wfhp7x71w9n1ahx4ak877ag"))))
+                "0hmsiscpdpdqd8kcjpzkz2gzcc3cnrvswk9p1jzi4sivd7lxwl4l"))))
     (build-system gnu-build-system)
     (native-inputs
-     `(("pkg-config" ,pkg-config)))
+     `(("pkg-config" ,pkg-config)
+       ("gpgscm" ,gpgscm)))
     (inputs
      `(("adns" ,adns)
        ("bzip2" ,bzip2)