From 974e2b297104d2de01632df1a56069b383e645f4 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Sat, 10 Sep 2016 18:09:20 -0400 Subject: [PATCH] gnu: gnutls: Replace with 3.5.4 [fixes GNUTLS-SA-2016-3]. * gnu/packages/tls.scm (gnutls)[replacement]: New field. (gnutls-3.5.4): New variable. --- gnu/packages/tls.scm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index 4b04cac893..ad9dee00ec 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -137,6 +137,7 @@ living in the same process.") (define-public gnutls (package (name "gnutls") + (replacement gnutls-3.5.4) (version "3.5.2") (source (origin (method url-fetch) @@ -210,6 +211,20 @@ required structures.") (properties '((ftp-server . "ftp.gnutls.org") (ftp-directory . "/gcrypt/gnutls"))))) +(define gnutls-3.5.4 + (package + (inherit gnutls) + (source + (let ((version "3.5.4")) + (origin + (method url-fetch) + (uri (string-append "mirror://gnupg/gnutls/v" + (version-major+minor version) + "/gnutls-" version ".tar.xz")) + (sha256 + (base32 + "1sx8p7v452s9m854r2c5pvcd1k15a3caiv5h35fhrxz0691h2f2f"))))))) + (define-public openssl (package (name "openssl")