summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-08-01 11:17:40 +0200
committerLudovic Courtès <ludo@gnu.org>2022-08-01 14:08:07 +0200
commit5a96748a9975e5144f07ad8178097f8e6146f197 (patch)
tree23f6b0393efa103f0920233add8f7179d477e3bc /gnu
parentcce7427f95c51a04675c4b954b02623cdb8bc7c6 (diff)
downloadguix-5a96748a9975e5144f07ad8178097f8e6146f197.tar.gz
gnu: gnutls: Add 3.7.7.
* gnu/packages/tls.scm (gnutls-latest): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/tls.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 1ee5400a9c..697d9d1d36 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -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