diff mbox

[core-updates] gnu: gnupg: Update to 2.1.15.

Message ID 8760qx52gr.fsf@we.make.ritual.n0.is
State New
Headers show

Commit Message

non such Aug. 18, 2016, 6:58 p.m. UTC
Requires previous 2.1.14 update patch.

Comments

non such Aug. 19, 2016, 2:27 p.m. UTC | #1
Hi,

do you have trouble applying this on top of your gnupg-2.1.15 patch?
Should I update this patch?

ng0 <ng0@we.make.ritual.n0.is> writes:

> Requires previous 2.1.14 update patch.
>
> From 0044af341b0f01d2a325404141ff3168ab11da69 Mon Sep 17 00:00:00 2001
> From: ng0 <ng0@we.make.ritual.n0.is>
> Date: Thu, 18 Aug 2016 18:55:44 +0000
> Subject: [PATCH] gnu: gnupg: Update to 2.1.15.
>
> * gnu/packages/gnupg.scm (gnupg): Update to 2.1.15.
> ---
>  gnu/packages/gnupg.scm | 12 +++++++++---
>  1 file changed, 9 insertions(+), 3 deletions(-)
>
> diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
> index 4edc282..0c20bab 100644
> --- a/gnu/packages/gnupg.scm
> +++ b/gnu/packages/gnupg.scm
> @@ -209,14 +209,14 @@ compatible to GNU Pth.")
>  (define-public gnupg
>    (package
>      (name "gnupg")
> -    (version "2.1.14")
> +    (version "2.1.15")
>      (source (origin
>                (method url-fetch)
>                (uri (string-append "mirror://gnupg/gnupg/gnupg-" version
>                                    ".tar.bz2"))
>                (sha256
>                 (base32
> -                "0hmsiscpdpdqd8kcjpzkz2gzcc3cnrvswk9p1jzi4sivd7lxwl4l"))))
> +                "1pgz02gd84ab94w4xdg67p9z8kvkyr9d523bvcxxd2hviwh1m362"))))
>      (build-system gnu-build-system)
>      (native-inputs
>       `(("pkg-config" ,pkg-config)))
> @@ -247,7 +247,13 @@ compatible to GNU Pth.")
>            (lambda _
>              (substitute* (find-files "tests" ".\\.scm$")
>                (("/usr/bin/env gpgscm")
> -               (string-append (getcwd) "/tests/gpgscm/gpgscm"))))))))
> +               (string-append (getcwd) "/tests/gpgscm/gpgscm")))))
> +        (add-before 'check 'set-HOME
> +          ;; Some tests require write access to $HOME, otherwise leading to
> +          ;; "failed to create directory /homeless-shelter/.asy" error.
> +          (lambda _
> +            (setenv "HOME" "/tmp")
> +            #t)))))
>      (home-page "https://gnupg.org/")
>      (synopsis "GNU Privacy Guard")
>      (description
> -- 
> 2.9.3
>
>
> -- 
> ng0
> For non-prism friendly talk find me on http://www.psyced.org
diff mbox

Patch

From 0044af341b0f01d2a325404141ff3168ab11da69 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@we.make.ritual.n0.is>
Date: Thu, 18 Aug 2016 18:55:44 +0000
Subject: [PATCH] gnu: gnupg: Update to 2.1.15.

* gnu/packages/gnupg.scm (gnupg): Update to 2.1.15.
---
 gnu/packages/gnupg.scm | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 4edc282..0c20bab 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -209,14 +209,14 @@  compatible to GNU Pth.")
 (define-public gnupg
   (package
     (name "gnupg")
-    (version "2.1.14")
+    (version "2.1.15")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://gnupg/gnupg/gnupg-" version
                                   ".tar.bz2"))
               (sha256
                (base32
-                "0hmsiscpdpdqd8kcjpzkz2gzcc3cnrvswk9p1jzi4sivd7lxwl4l"))))
+                "1pgz02gd84ab94w4xdg67p9z8kvkyr9d523bvcxxd2hviwh1m362"))))
     (build-system gnu-build-system)
     (native-inputs
      `(("pkg-config" ,pkg-config)))
@@ -247,7 +247,13 @@  compatible to GNU Pth.")
           (lambda _
             (substitute* (find-files "tests" ".\\.scm$")
               (("/usr/bin/env gpgscm")
-               (string-append (getcwd) "/tests/gpgscm/gpgscm"))))))))
+               (string-append (getcwd) "/tests/gpgscm/gpgscm")))))
+        (add-before 'check 'set-HOME
+          ;; Some tests require write access to $HOME, otherwise leading to
+          ;; "failed to create directory /homeless-shelter/.asy" error.
+          (lambda _
+            (setenv "HOME" "/tmp")
+            #t)))))
     (home-page "https://gnupg.org/")
     (synopsis "GNU Privacy Guard")
     (description
-- 
2.9.3