summary refs log tree commit diff
path: root/gnu/packages/version-control.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-05-13 20:39:36 +0300
committerEfraim Flashner <efraim@flashner.co.il>2018-05-13 20:39:36 +0300
commitaa8ac0294421d465f60e18c8271f971ec8407a95 (patch)
tree692651c885a0719342a8687882ca8cbe74773a6d /gnu/packages/version-control.scm
parent307cdd665ec216dff4b4209b14ccc6f44778f581 (diff)
downloadguix-aa8ac0294421d465f60e18c8271f971ec8407a95.tar.gz
gnu: myrepos: Fix CVE-2018-7032.
* gnu/packages/version-control.scm (myrepos)[source]: Add patch.
* gnu/packages/patches/myrepos-CVE-2018-7032.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
Diffstat (limited to 'gnu/packages/version-control.scm')
-rw-r--r--gnu/packages/version-control.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 848660bdd7..b41529d4f8 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1573,7 +1573,8 @@ modification time.")
              (commit version)))
        (file-name (string-append name "-" version "-checkout"))
        (sha256
-        (base32 "10q7lpx152xnkk701fscn4dq99q9znnmv3bc2482khhjg7z8rps0"))))
+        (base32 "10q7lpx152xnkk701fscn4dq99q9znnmv3bc2482khhjg7z8rps0"))
+       (patches (search-patches "myrepos-CVE-2018-7032.patch"))))
     (build-system gnu-build-system)
     (inputs
      `(("perl" ,perl)))