GNU bug report logs -
#75711
[PATCH] gnu: git: Update to 2.48.1. [security fixes]
Previous Next
Reported by: ashish.is <at> lostca.se
Date: Mon, 20 Jan 2025 23:33:03 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #10 received at 75711-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
ashish.is <at> lostca.se skribis:
> From: Ashish SHUKLA <ashish.is <at> lostca.se>
>
> Fixes the CVE-2024-50349 and CVE-2024-52006.
>
> * gnu/packages/version-control.scm (git-minimal): Update to 2.48.1.
> [#:phases]<patch-tests>: Purge purged tests in meson.build.
> (git)[#:phases]<build-subtree>: Update to also generate asciidoc.conf.
> <install-man-pages>: Update hash.
>
> Change-Id: I6616e95822ded252a9bec1312702016985cb9de7
Applied with the following change to avoid a rebuild of
‘git-minimal/pinned’ and everything that depends on it.
Thanks,
Ludo’.
[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 96cbac0824..636509d6c5 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Nikita Karetnikov <nikita <at> karetnikov.org>
;;; Copyright © 2013 Cyril Roelandt <tipecaml <at> gmail.com>
-;;; Copyright © 2013-2022, 2024 Ludovic Courtès <ludo <at> gnu.org>
+;;; Copyright © 2013-2022, 2024-2025 Ludovic Courtès <ludo <at> gnu.org>
;;; Copyright © 2013, 2014 Andreas Enge <andreas <at> enge.fr>
;;; Copyright © 2015, 2016 Mathieu Lirzin <mthl <at> gnu.org>
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw <at> netris.org>
@@ -435,18 +435,23 @@ (define-public git-minimal
'("t/t9128-git-svn-cmd-branch.sh"
"t/t9167-git-svn-cmd-branch-subproject.sh"
"t/t9141-git-svn-multiple-branches.sh"))
- ;; Purge the purged tests in meson.build
- (substitute "t/meson.build"
- (list (cons "^(.+')(t[^']+[.]sh)('.*)$"
- (lambda (line matches)
- (let* ((match-offset (vector-ref (car matches) 3))
- (test-file (string-append "t/"
- (substring line
- (car match-offset)
- (cdr match-offset)))))
- (if (file-exists? test-file)
- line
- "")))))))))
+
+ #$@(if (version>=? (package-version this-package)
+ "2.48.0")
+ ;; Purge the purged tests in meson.build
+ #~((substitute
+ "t/meson.build"
+ (list (cons "^(.+')(t[^']+[.]sh)('.*)$"
+ (lambda (line matches)
+ (let* ((match-offset (vector-ref (car matches) 3))
+ (test-file (string-append "t/"
+ (substring line
+ (car match-offset)
+ (cdr match-offset)))))
+ (if (file-exists? test-file)
+ line
+ "")))))))
+ #~()))))
(add-after 'install 'install-shell-completion
(lambda _
(let ((bash (string-append #$output "/etc/bash_completion.d"))
This bug report was last modified 111 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.