unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 5/6] gnu: gnupg: Update to 2.1.14.
@ 2016-07-17 23:20 ng0
  2016-07-17 23:31 ` ng0
  0 siblings, 1 reply; 4+ messages in thread
From: ng0 @ 2016-07-17 23:20 UTC (permalink / raw)
  To: guix-devel

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(-)

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)
--
2.9.1


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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 5/6] gnu: gnupg: Update to 2.1.14.
  2016-07-17 23:20 [PATCH 5/6] gnu: gnupg: Update to 2.1.14 ng0
@ 2016-07-17 23:31 ` ng0
  2016-07-29  8:32   ` ng0
  0 siblings, 1 reply; 4+ messages in thread
From: ng0 @ 2016-07-17 23:31 UTC (permalink / raw)
  To: guix-devel

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$

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 5/6] gnu: gnupg: Update to 2.1.14.
  2016-07-17 23:31 ` ng0
@ 2016-07-29  8:32   ` ng0
  2016-08-02 20:23     ` Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: ng0 @ 2016-07-29  8:32 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 79 bytes --]

I did no functionality test this time. I should script this for the next
time.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-gnupg-Update-to-2.1.14.patch --]
[-- Type: text/x-patch, Size: 1700 bytes --]

From e186acb6851ae52ef19c58f36a195b33b968baef Mon Sep 17 00:00:00 2001
From: ng0 <ng0@we.make.ritual.n0.is>
Date: Thu, 28 Jul 2016 23:54:52 +0000
Subject: [PATCH] gnu: gnupg: Update to 2.1.14.

* gnu/packages/gnupg.scm (gnupg): Update to 2.1.14.

Co-authored-by: Leo Famulari <leo@famulari.name>
---
 gnu/packages/gnupg.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 6ddfaac..2e152f0 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -208,14 +208,14 @@ compatible to GNU Pth.")
 (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)))
@@ -241,7 +241,12 @@ compatible to GNU Pth.")
           (lambda _
             (substitute* "tests/openpgp/defs.inc"
               (("/bin/pwd") (which "pwd")))
-            #t)))))
+            #t))
+        (add-after 'build 'patch-scheme-tests
+          (lambda _
+            (substitute* (find-files "tests" ".\\.scm$")
+              (("/usr/bin/env gpgscm")
+               (string-append (getcwd) "/tests/gpgscm/gpgscm"))))))))
     (home-page "https://gnupg.org/")
     (synopsis "GNU Privacy Guard")
     (description
-- 
2.9.2


[-- Attachment #3: Type: text/plain, Size: 128 bytes --]

-- 
♥Ⓐ  ng0
Current Keys: https://we.make.ritual.n0.is/ng0.txt
For non-prism friendly talk find me on http://www.psyced.org

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 5/6] gnu: gnupg: Update to 2.1.14.
  2016-07-29  8:32   ` ng0
@ 2016-08-02 20:23     ` Leo Famulari
  0 siblings, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2016-08-02 20:23 UTC (permalink / raw)
  To: ng0; +Cc: guix-devel

On Fri, Jul 29, 2016 at 08:32:06AM +0000, ng0 wrote:
> I did no functionality test this time. I should script this for the next
> time.

> From e186acb6851ae52ef19c58f36a195b33b968baef Mon Sep 17 00:00:00 2001
> From: ng0 <ng0@we.make.ritual.n0.is>
> Date: Thu, 28 Jul 2016 23:54:52 +0000
> Subject: [PATCH] gnu: gnupg: Update to 2.1.14.
> 
> * gnu/packages/gnupg.scm (gnupg): Update to 2.1.14.
> 
> Co-authored-by: Leo Famulari <leo@famulari.name>

Thanks, I will make sure this is in the next core-updates cycle!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-02 20:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-17 23:20 [PATCH 5/6] gnu: gnupg: Update to 2.1.14 ng0
2016-07-17 23:31 ` ng0
2016-07-29  8:32   ` ng0
2016-08-02 20:23     ` Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).