summary refs log tree commit diff
path: root/gnu/packages/maths.scm
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2016-11-30 10:29:58 -0500
committerLeo Famulari <leo@famulari.name>2016-11-30 11:16:18 -0500
commitdcd9d1637a90375756c97019cc456b6f948b5d2f (patch)
tree22b6507ea742b77e64c7d6e7d85a8f52a4b893ac /gnu/packages/maths.scm
parent819c1945d1ddb0d3237c48cc3c4975640f9bf08d (diff)
downloadguix-dcd9d1637a90375756c97019cc456b6f948b5d2f.tar.gz
gnu: hdf5: Update to 1.8.18 [fixes CVE-2016-{4330,4331,4332,4333}].
* gnu/packages/maths.scm (hdf5): Update to 1.8.18.
[source]: Add alternate URL.
Diffstat (limited to 'gnu/packages/maths.scm')
-rw-r--r--gnu/packages/maths.scm15
1 files changed, 10 insertions, 5 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index e432ed5c05..0ee573527a 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -549,15 +549,20 @@ incompatible with HDF5.")
 (define-public hdf5
   (package
     (name "hdf5")
-    (version "1.8.17")
+    (version "1.8.18")
     (source
      (origin
       (method url-fetch)
-      (uri (string-append "http://www.hdfgroup.org/ftp/HDF5/releases/hdf5-"
-                          version "/src/hdf5-"
-                          version ".tar.bz2"))
+      (uri (list (string-append "http://www.hdfgroup.org/ftp/HDF5/releases/"
+                                "hdf5-" version "/src/hdf5-"
+                                version ".tar.bz2")
+                 (string-append "https://support.hdfgroup.org/ftp/HDF5/"
+                                "current"
+                                (apply string-append
+                                       (take (string-split version #\.) 2))
+                                "/src/hdf5-" version ".tar.bz2")))
       (sha256
-       (base32 "0sj8x0gfs5fb28gipnynb9wpkz113h8wq9sva9mxx66kv27xsdgw"))
+       (base32 "13542vrnl1p35n8vbq0wzk40vddmm33q5nh04j98c7r1yjnxxih1"))
       (patches (list (search-patch "hdf5-config-date.patch")))))
     (build-system gnu-build-system)
     (inputs