gnu: gnutls: Upgrade to 3.2.11.

* gnu/packages/gnutls.scm (gnutls): Upgrade to 3.2.11.  Improve URI
  computation.
This commit is contained in:
Mark H Weaver 2014-02-18 03:46:09 -05:00
parent 625bd40806
commit d93627e4a9
1 changed files with 9 additions and 5 deletions

View File

@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -29,7 +30,8 @@
#:use-module (gnu packages perl) #:use-module (gnu packages perl)
#:use-module (gnu packages which) #:use-module (gnu packages which)
#:use-module (gnu packages texinfo) #:use-module (gnu packages texinfo)
#:use-module (gnu packages pkg-config)) #:use-module (gnu packages pkg-config)
#:use-module (srfi srfi-1))
(define-public libtasn1 (define-public libtasn1
(package (package
@ -61,17 +63,19 @@ specifications.")
(define-public gnutls (define-public gnutls
(package (package
(name "gnutls") (name "gnutls")
(version "3.2.4") (version "3.2.11")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (uri
;; Note: Releases are no longer on ftp.gnu.org since the ;; Note: Releases are no longer on ftp.gnu.org since the
;; schism (after version 3.1.5). ;; schism (after version 3.1.5).
(string-append "mirror://gnupg/gnutls/v3.2/gnutls-" (string-append "mirror://gnupg/gnutls/v"
version ".tar.xz")) (string-join (take (string-split version #\.) 2)
".")
"/gnutls-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0zvhzy87v9dfxfvmg1pl951kw55rp647cqdza8942fxq7spp158i")))) "1hgk3k8f6wqijca3bsjbfn8pzyfva509y4j2vaxhm4ynfa5cai5q"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) `(("pkg-config" ,pkg-config)))