gnu: Make GnuPG 2.2.32 available for users.

Fixes <https://issues.guix.gnu.org/52483>.

* gnu/packages/gnupg.scm (gnupg-2.2.32)[properties]: Unhide this package.
[source]: Add 'gnupg-default-pinentry.patch'.
* gnu/packages/emacs-xyz.scm (emacs-pinentry)[propagated-inputs]: Replace gnupg
with gnupg-2.2.32.
This commit is contained in:
Leo Famulari 2021-12-22 19:00:33 -05:00
parent bb59fec235
commit d03aa942de
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08
2 changed files with 4 additions and 8 deletions

View file

@ -21166,7 +21166,7 @@ (define-public emacs-pinentry
"1lf30q6r8nz5cjzclbb9bbymsk2y75nskvb55hnjdv93gr3j0sik"))))
(build-system emacs-build-system)
(propagated-inputs
(list gnupg))
(list gnupg-2.2.32))
(home-page "https://elpa.gnu.org/packages/pinentry.html")
(synopsis "GnuPG Pinentry server implementation")
(description

View file

@ -347,21 +347,17 @@ (define-public gnupg
(properties '((ftp-server . "ftp.gnupg.org")
(ftp-directory . "/gcrypt/gnupg")))))
;; This package fixes <https://issues.guix.gnu.org/52483>, "GnuPG 2.2.30 cannot
;; do symmetric encryption"
(define-public gnupg-2.2.32
(package
(inherit gnupg)
(version "2.2.32")
;; Hide this version because packages like 'emacs-pinentry' propagate the
;; default GnuPG and "guix install gnupg emacs-pinentry" would fail with a
;; collision error.
(properties `((hidden? . #t)
,@(package-properties gnupg)))
(source (origin
(inherit (package-source gnupg))
(uri (string-append "mirror://gnupg/gnupg/gnupg-" version
".tar.bz2"))
(patches (search-patches "gnupg-default-pinentry.patch"))
(sha256
(base32
"0506gv54z10c96z5821z9p0ksibk1pfilsmag39ffqrcz0sinmxj"))))))