diff options
| author | Ashish SHUKLA <ashish.is@lostca.se> | 2026-08-14 11:59:23 +0200 |
|---|---|---|
| committer | Nguyễn Gia Phong <cnx@loang.net> | 2026-08-23 22:00:40 +0900 |
| commit | 98d646431e4fcc8766ee3d282fe432461a90158a (patch) | |
| tree | 50e36372f255b015c1eaef4ff0144da7d3b2ad93 /gnu/packages/version-control.scm | |
| parent | e0a85ca5177a1677d90111e2bdcea12a0073f774 (diff) | |
gnu: libgit2-1.9: Graft to 1.9.7 [security fixes].
This version contains a fix for CVE-2026-5917.
* gnu/packages/version-control.scm (libgit2-1.9.7): New variable.
(libgit2-1.9)[replacement]: Use it.
Merges: https://codeberg.org/guix/guix/pulls/10550
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
Diffstat (limited to 'gnu/packages/version-control.scm')
| -rw-r--r-- | gnu/packages/version-control.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 6c7d2f30645..cc0d9897336 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm | |||
| @@ -1421,6 +1421,7 @@ other git-like projects such as @code{libgit2}.") | |||
| 1421 | (package | 1421 | (package |
| 1422 | (name "libgit2") | 1422 | (name "libgit2") |
| 1423 | (version "1.9.4") | 1423 | (version "1.9.4") |
| 1424 | (replacement libgit2-1.9.7) | ||
| 1424 | (source (origin | 1425 | (source (origin |
| 1425 | (method git-fetch) | 1426 | (method git-fetch) |
| 1426 | (uri (git-reference | 1427 | (uri (git-reference |
| @@ -1486,6 +1487,27 @@ write native speed custom Git applications in any language with bindings.") | |||
| 1486 | ;; GPLv2 with linking exception | 1487 | ;; GPLv2 with linking exception |
| 1487 | (license license:gpl2))) | 1488 | (license license:gpl2))) |
| 1488 | 1489 | ||
| 1490 | (define-public libgit2-1.9.7 | ||
| 1491 | (package | ||
| 1492 | (inherit libgit2-1.9) | ||
| 1493 | (name "libgit2") | ||
| 1494 | (version "1.9.7") | ||
| 1495 | (source | ||
| 1496 | (origin | ||
| 1497 | (inherit (package-source libgit2-1.9)) | ||
| 1498 | (uri (git-reference | ||
| 1499 | (url "https://github.com/libgit2/libgit2") | ||
| 1500 | (commit (string-append "v" version)))) | ||
| 1501 | (file-name (git-file-name "libgit2" version)) | ||
| 1502 | (sha256 (base32 "0jhm723bc9v18yanlqvmwn9kpmnvbcavnlhd4jcw0n082d7jl54h")) | ||
| 1503 | (snippet #~(for-each delete-file-recursively | ||
| 1504 | '("deps/chromium-zlib" | ||
| 1505 | "deps/llhttp" | ||
| 1506 | "deps/ntlmclient" | ||
| 1507 | "deps/pcre2" | ||
| 1508 | "deps/winhttp" | ||
| 1509 | "deps/zlib"))))))) | ||
| 1510 | |||
| 1489 | (define-public libgit2-1.9/pinned | 1511 | (define-public libgit2-1.9/pinned |
| 1490 | ;; This is a pinned version used as a dependency for 'rust-cargo-c'. | 1512 | ;; This is a pinned version used as a dependency for 'rust-cargo-c'. |
| 1491 | ;; Update periodically. | 1513 | ;; Update periodically. |
