gnu: gnutls: Add 3.7.7.

* gnu/packages/tls.scm (gnutls-latest): New variable.
This commit is contained in:
Ludovic Courtès 2022-08-01 11:17:40 +02:00
parent cce7427f95
commit 5a96748a99
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -329,6 +329,23 @@ required structures.")
(properties '((ftp-server . "ftp.gnutls.org")
(ftp-directory . "/gcrypt/gnutls")))))
(define-public gnutls-latest
;; Version 3.7.7 introduces 'set-session-record-port-close!', which allows
;; us to get rid of the wrapper port in 'tls-wrap'.
(package
(inherit gnutls)
(version "3.7.7")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnupg/gnutls/v"
(version-major+minor version)
"/gnutls-" version ".tar.xz"))
(patches (search-patches "gnutls-skip-trust-store-test.patch"
"gnutls-cross.patch"))
(sha256
(base32
"01i1gl15k6qwvxmxx0by1mn9nlmcmym18wdpm7dn9awfsp8474dy"))))))
(define-public gnutls/guile-2.0
;; GnuTLS for Guile 2.0.
(package/inherit gnutls