summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2017-02-20 09:03:04 +0200
committerEfraim Flashner <efraim@flashner.co.il>2017-02-20 09:35:06 +0200
commit913059a12034a11e7f16374ae6e3291da5860d1b (patch)
treefed5963392255c7408e05357f8739801820abfad
parent8f8f250bdca917b3ce38aa0902f01b19081859a4 (diff)
downloadguix-913059a12034a11e7f16374ae6e3291da5860d1b.tar.gz
gnu: libpng: Update source urls.
* gnu/packages/image.scm (libpng)[source]: Add 'history' location for
older versions.
-rw-r--r--gnu/packages/image.scm11
1 files changed, 7 insertions, 4 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 59113e3066..82d9091188 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -68,13 +68,14 @@
    (version "1.6.25")
    (source (origin
             (method url-fetch)
-
-            ;; Note: upstream removes older tarballs.
             (uri (list (string-append "mirror://sourceforge/libpng/libpng16/"
                                       version "/libpng-" version ".tar.xz")
                        (string-append
                         "ftp://ftp.simplesystems.org/pub/libpng/png/src"
-                        "/libpng15/libpng-" version ".tar.xz")))
+                        "/libpng16/libpng-" version ".tar.xz")
+                       (string-append
+                        "ftp://ftp.simplesystems.org/pub/libpng/png/src/history"
+                        "/libpng16/libpng-" version ".tar.xz")))
             (patches (search-patches "libpng-CVE-2016-10087.patch"))
             (sha256
              (base32 "04c8inn745hw25wz2dc5vll5n5d2gsndj01i4srwzgz8861qvzh9"))))
@@ -97,11 +98,13 @@ library.  It supports almost all PNG features and is extensible.")
     (source
      (origin
        (method url-fetch)
-       ;; Note: upstream removes older tarballs.
        (uri (list (string-append "mirror://sourceforge/libpng/libpng12/"
                                  version "/libpng-" version ".tar.xz")
                   (string-append
                    "ftp://ftp.simplesystems.org/pub/libpng/png/src"
+                   "/libpng12/libpng-" version ".tar.xz")
+                  (string-append
+                   "ftp://ftp.simplesystems.org/pub/libpng/png/src/history"
                    "/libpng12/libpng-" version ".tar.xz")))
        (sha256
         (base32 "1n2lrzjkm5jhfg2bs10q398lkwbbx742fi27zgdgx0x23zhj0ihg"))))))