gnu: libpng: Update source urls.
* gnu/packages/image.scm (libpng)[source]: Add 'history' location for older versions.
This commit is contained in:
parent
8f8f250bdc
commit
913059a120
|
@ -68,13 +68,14 @@
|
||||||
(version "1.6.25")
|
(version "1.6.25")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
|
||||||
;; Note: upstream removes older tarballs.
|
|
||||||
(uri (list (string-append "mirror://sourceforge/libpng/libpng16/"
|
(uri (list (string-append "mirror://sourceforge/libpng/libpng16/"
|
||||||
version "/libpng-" version ".tar.xz")
|
version "/libpng-" version ".tar.xz")
|
||||||
(string-append
|
(string-append
|
||||||
"ftp://ftp.simplesystems.org/pub/libpng/png/src"
|
"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"))
|
(patches (search-patches "libpng-CVE-2016-10087.patch"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "04c8inn745hw25wz2dc5vll5n5d2gsndj01i4srwzgz8861qvzh9"))))
|
(base32 "04c8inn745hw25wz2dc5vll5n5d2gsndj01i4srwzgz8861qvzh9"))))
|
||||||
|
@ -97,11 +98,13 @@ library. It supports almost all PNG features and is extensible.")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
;; Note: upstream removes older tarballs.
|
|
||||||
(uri (list (string-append "mirror://sourceforge/libpng/libpng12/"
|
(uri (list (string-append "mirror://sourceforge/libpng/libpng12/"
|
||||||
version "/libpng-" version ".tar.xz")
|
version "/libpng-" version ".tar.xz")
|
||||||
(string-append
|
(string-append
|
||||||
"ftp://ftp.simplesystems.org/pub/libpng/png/src"
|
"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")))
|
"/libpng12/libpng-" version ".tar.xz")))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1n2lrzjkm5jhfg2bs10q398lkwbbx742fi27zgdgx0x23zhj0ihg"))))))
|
(base32 "1n2lrzjkm5jhfg2bs10q398lkwbbx742fi27zgdgx0x23zhj0ihg"))))))
|
||||||
|
|
Loading…
Reference in New Issue