gnu: file: Remove replacement; add separate file-5.20 package.
* gnu/packages/file.scm (file)[replacement]: Remove. (file/fixed): Remove. (file-5.20): New variable.
This commit is contained in:
parent
a480307449
commit
310081e27e
|
@ -26,7 +26,6 @@
|
||||||
|
|
||||||
(define-public file
|
(define-public file
|
||||||
(package
|
(package
|
||||||
(replacement file/fixed)
|
|
||||||
(name "file")
|
(name "file")
|
||||||
(version "5.19")
|
(version "5.19")
|
||||||
(source (origin
|
(source (origin
|
||||||
|
@ -46,14 +45,13 @@ of the file.")
|
||||||
(license bsd-2)
|
(license bsd-2)
|
||||||
(home-page "http://www.darwinsys.com/file/")))
|
(home-page "http://www.darwinsys.com/file/")))
|
||||||
|
|
||||||
(define file/fixed ;fix for CVE-2014-3710
|
(define-public file-5.20 ;fix for CVE-2014-3710
|
||||||
(let ((real-version "5.20"))
|
(package (inherit file)
|
||||||
(package (inherit file)
|
(version "5.20")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "ftp://ftp.astron.com/pub/file/file-"
|
(uri (string-append "ftp://ftp.astron.com/pub/file/file-"
|
||||||
real-version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0iyjs9z8kp43gz7gva4j67h4p0n53f7q8x3ibai9s01sp3xnphsv"))))
|
"0iyjs9z8kp43gz7gva4j67h4p0n53f7q8x3ibai9s01sp3xnphsv"))))))
|
||||||
(replacement #f))))
|
|
||||||
|
|
Loading…
Reference in New Issue