summary refs log tree commit diff
path: root/gnu/packages/patches/libgit2-mtime-0.patch
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2018-07-02 19:42:47 -0400
committerLeo Famulari <leo@famulari.name>2018-07-02 19:47:46 -0400
commit86163a017b1b16a672a202488f5bbb090e108fd1 (patch)
tree5e8894ba8e5e890f367c74be9ea2e857f10c3c18 /gnu/packages/patches/libgit2-mtime-0.patch
parentdb024183c9fa93289a45e816529e99001de0a7d1 (diff)
downloadguix-86163a017b1b16a672a202488f5bbb090e108fd1.tar.gz
gnu: libgit2: Update to 0.26.4 [fixes CVE-2018-11235].
* gnu/packages/version-control.scm (libgit2): Update to 0.26.4.
(source): Adjust patch name.
* gnu/packages/patches/libgit2-0.25.1-mtime-0.patch: Rename to ...
* gnu/packages/patches/libgit2-mtime-0.patch: ... this.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Diffstat (limited to 'gnu/packages/patches/libgit2-mtime-0.patch')
-rw-r--r--gnu/packages/patches/libgit2-mtime-0.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/patches/libgit2-mtime-0.patch b/gnu/packages/patches/libgit2-mtime-0.patch
new file mode 100644
index 0000000000..a6fdb50fff
--- /dev/null
+++ b/gnu/packages/patches/libgit2-mtime-0.patch
@@ -0,0 +1,14 @@
+The Clar test framework has a bug whereby it skips the parsing phase
+on files with mtime=0.
+
+Reported upstream at <https://github.com/vmg/clar/pull/78>.
+
+diff --git a/tests/generate.py b/tests/generate.py
+index b639c8f..111ca41 100644
+--- a/tests/generate.py
++++ b/tests/generate.py
+@@ -63,3 +63,3 @@ class Module(object):
+ 
+-        self.mtime = 0
++        self.mtime = None # Guix sets all file mtimes to '0'
+         self.enabled = True