gnu: gnupg: Update to 2.4.7.

* gnu/packages/gnupg.scm (gnupg): Update to 2.4.7.
[arguments]: Adjust ‘patch-test-paths’.

Change-Id: I63fabffebf80a2c9f1bb9ba421712bb49100711e
This commit is contained in:
Ludovic Courtès 2024-12-29 11:47:10 +01:00
parent f4abe0fc61
commit 64d95c78e3
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -320,9 +320,10 @@ (define-public npth
(define-public gnupg
(package
(name "gnupg")
;; Note: The 2.2.X releases are Long Term Support (LTS), so stick to it
;; for our stable 'gnupg'.
(version "2.2.39")
;; Note: Odd minor versions are usually for development purposes. See
;; <https://gnupg.org/download/index.html> for how to pick the right
;; version.
(version "2.4.7")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnupg/gnupg/gnupg-" version
@ -330,7 +331,7 @@ (define-public gnupg
(patches (search-patches "gnupg-default-pinentry.patch"))
(sha256
(base32
"0bscgv9gg9yhlpyia7b9l438cq6dvv6pwlhbl70df9phhmkdnx5b"))))
"0ipbhlxwr79l66b907640a0j67s04w826s50djqf7q579mp7093v"))))
(build-system gnu-build-system)
(native-inputs
(list pkg-config))
@ -391,9 +392,7 @@ (define-public gnupg
(string-append (getcwd) "/tests/gpgscm/gpgscm")))))
(add-before 'build 'patch-test-paths
(lambda _
(substitute* '("tests/inittests"
"tests/pkits/inittests"
"tests/Makefile"
(substitute* '("tests/pkits/inittests"
"tests/pkits/common.sh"
"tests/pkits/Makefile")
(("/bin/pwd") (which "pwd")))