gnu: gnutls: Replace with 3.5.8 [fixes GNUTLS-SA-2017-{1,2}].

* gnu/packages/tls.scm (gnutls-3.5.8): New variable.
(gnutls)[replacement]: New field.
This commit is contained in:
Ludovic Courtès 2017-01-10 23:11:18 +01:00
parent 88f2dd1ddf
commit 3c0f7910e4
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 16 additions and 1 deletions

View File

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
@ -139,6 +139,7 @@ living in the same process.")
(package
(name "gnutls")
(version "3.5.4")
(replacement gnutls-3.5.8)
(source (origin
(method url-fetch)
(uri
@ -211,6 +212,20 @@ required structures.")
(properties '((ftp-server . "ftp.gnutls.org")
(ftp-directory . "/gcrypt/gnutls")))))
(define gnutls-3.5.8 ;fixes GNUTLS-SA-2017-{1,2}
(package
(inherit gnutls)
(version "3.5.8")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnupg/gnutls/v"
(version-major+minor version)
"/gnutls-" version ".tar.xz"))
(sha256
(base32
"1zyl2z63s68hx1dpxqx0lykmlf3rwrzlrf44sq3h7dvjmr1z55qf"))))
(replacement #f)))
(define-public openssl
(package
(name "openssl")