[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47144: [PATCH 3/3] gnu: patch: Graft to latest commit [security fixe
From: |
Maxim Cournoyer |
Subject: |
bug#47144: [PATCH 3/3] gnu: patch: Graft to latest commit [security fixes]. |
Date: |
Sat, 01 Jun 2024 07:34:29 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi,
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
> * gnu/packages/base.scm (patch/fixed): New variable.
> (patch) [replacement]: Graft with the above.
>
> Fixes: https://issues.guix.gnu.org/47144
> Reported-by: Mark H Weaver <mhw@netris.org>
> Change-Id: I54ae41b735f5ba0ebad30ebdfaabe0ccdc3f9873
[...]
> (define-public patch
> (package
> + (replacement patch/fixed)
> (name "patch")
> (version "2.7.6")
> (source (origin
> @@ -291,6 +294,45 @@ (define-public patch
> (license gpl3+)
> (home-page "https://savannah.gnu.org/projects/patch/")))
>
> +(define patch/fixed
> + ;; The latest release is from 2018, and lacks multiple security related
> + ;; patches. Since Fedora carries 23 patches, simply use the latest commit
> + ;; until a proper release is made.
> + (let ((revision "0")
> + (commit "f144b35425d9d7732ea5485034c1a6b7a106ab92"))
> + (package
> + (inherit patch)
> + (name "patch")
> + (version (git-version "2.7.6" revision commit))
I just realized that since this is for grafting purposes, I shouldn't
touch the version field (they need to match in length...). Will send a v2.
--
Thanks,
Maxim
- bug#47144: [PATCH 3/3] gnu: patch: Graft to latest commit [security fixes].,
Maxim Cournoyer <=
bug#47144: [PATCH 3/3] gnu: patch: Graft to latest commit [security fixes]., Simon Tournier, 2024/06/04