From 86163a017b1b16a672a202488f5bbb090e108fd1 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Mon, 2 Jul 2018 19:42:47 -0400 Subject: 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. --- gnu/packages/patches/libgit2-0.25.1-mtime-0.patch | 14 -------------- gnu/packages/patches/libgit2-mtime-0.patch | 14 ++++++++++++++ gnu/packages/version-control.scm | 6 +++--- 3 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 gnu/packages/patches/libgit2-0.25.1-mtime-0.patch create mode 100644 gnu/packages/patches/libgit2-mtime-0.patch (limited to 'gnu/packages') diff --git a/gnu/packages/patches/libgit2-0.25.1-mtime-0.patch b/gnu/packages/patches/libgit2-0.25.1-mtime-0.patch deleted file mode 100644 index a6fdb50fff..0000000000 --- a/gnu/packages/patches/libgit2-0.25.1-mtime-0.patch +++ /dev/null @@ -1,14 +0,0 @@ -The Clar test framework has a bug whereby it skips the parsing phase -on files with mtime=0. - -Reported upstream at . - -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 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 . + +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 diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 86d6afef3e..2bd59ae95f 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -419,7 +419,7 @@ everything from small to very large projects with speed and efficiency.") (define-public libgit2 (package (name "libgit2") - (version "0.26.0") + (version "0.26.4") (source (origin (method url-fetch) (uri (string-append "https://github.com/libgit2/libgit2/" @@ -427,8 +427,8 @@ everything from small to very large projects with speed and efficiency.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1b3figbhp5l83vd37vq6j2narrq4yl9pfw6mw0px0dzb1hz3jqka")) - (patches (search-patches "libgit2-0.25.1-mtime-0.patch")) + "15ybzypyggx64ba7i0zxnnbvzh7z34fcrkwk2xj54kmv1dha4br9")) + (patches (search-patches "libgit2-mtime-0.patch")) ;; Remove bundled software. (snippet '(begin -- cgit v1.2.3