diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2017-09-05 23:02:56 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2017-09-05 23:04:05 +0300 |
commit | f1597427f220b0799b9c8847768d2f5a93fe3730 (patch) | |
tree | 1c5241a1f777bb81433df86dbf06b0ff0d6e8268 /gnu/packages/commencement.scm | |
parent | 5cf0997a0bbb582b184831cbf0e028e3ec1359e4 (diff) | |
download | guix-f1597427f220b0799b9c8847768d2f5a93fe3730.tar guix-f1597427f220b0799b9c8847768d2f5a93fe3730.tar.gz |
gnu: file: Fix CVE-2017-1000249.
* gnu/packages/file.scm (file)[replacement]: New field.
(file/fixed): New variable.
* gnu/packages/commencement.scm (file-boot0): Use package/inherit.
* gnu/packages/patches/file-CVE-2017-1000249.patch.
* gnu/local.mk (dist_patch_DATA): Register it.
Diffstat (limited to 'gnu/packages/commencement.scm')
-rw-r--r-- | gnu/packages/commencement.scm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 2b67881ede..7bbe1becd9 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -112,8 +112,7 @@ (define file-boot0 (package-with-bootstrap-guile - (package-with-explicit-inputs (package - (inherit file) + (package-with-explicit-inputs (package/inherit file (name "file-boot0")) `(("make" ,gnu-make-boot0) ,@%bootstrap-inputs) |