GNU bug report logs

#47144 security patching of 'patch' package

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #47 received at 47144@debbugs.gnu.org (full text, mbox, reply):

Received: (at 47144) by debbugs.gnu.org; 1 Jun 2024 11:35:51 +0000
From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 01 07:35:50 2024
Received: from localhost ([127.0.0.1]:55823 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1sDN1a-0002oW-IE
	for submit@debbugs.gnu.org; Sat, 01 Jun 2024 07:35:50 -0400
Received: from mail-ot1-f42.google.com ([209.85.210.42]:48481)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@gmail.com>) id 1sDN1Z-0002oK-3F
 for 47144@debbugs.gnu.org; Sat, 01 Jun 2024 07:35:49 -0400
Received: by mail-ot1-f42.google.com with SMTP id
 46e09a7af769-6f91c4e88e5so246907a34.1
 for <47144@debbugs.gnu.org>; Sat, 01 Jun 2024 04:35:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1717241671; x=1717846471; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=4K3xmYNJLgIhuiwNxxPw/rvNPLZGtAfxB5cdryQWj54=;
 b=l7CprPJpEA0aHtfuqQ18zuQWFiMBkDBD2/ycGDm6j5I4/ngSX5m0GVjKvVb1jnVy+p
 +hUzGpwOGJbw01fTMWZXpfMNl+0q2aeBBQ0tkpU/slN0F8w2WYKKsPKXMyZWhOMCGEwO
 dHXUGov4gTkiqpikeo/mFPY3aNLDybq4ghUWLoKvjqF67yHoXw1SCPfrwzu+F7WPkzYR
 geJm+XZSnXJ097RXpByDt/RNq3Er1Kg34VbFon0yLYX2wzzrn36LuEfQshZEMyZXW9NH
 HLV0K4iPWasYZurlOwaL0VMtrdrzlzoncBVMddBANQZd7PCBhzCtWL1/D7AYflRJtSxw
 vK3Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1717241671; x=1717846471;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=4K3xmYNJLgIhuiwNxxPw/rvNPLZGtAfxB5cdryQWj54=;
 b=pZnvyBBCR2qcPzJhgGM7P2jDjozTJjJmLGoIolojTuB1XXC7qREYHouKko2xZvZkRA
 NaNvt62+ZCC1PFSf6eVlWd3Ju+xu4di6dFoVLpixg/BHE3uADPrkPc1jgjHqj5qKRoLn
 Y+FKHVgK/e/dqFU+jJGxhbyDZKrIokBq+3WjVuE1urazlmOX0+YkholTNZtE747r7H8+
 yB5knXvbi+ovR1rKqijq2SqZuHg7UvmFy5V23hZx+4Y1G9ohE1bI3J8Iidu4Ivv5JZTW
 1smLWP0pNMdBX2BNJZWCvhYPvkz0RCIjwOS5a92rWcGRRLrSH1rqdIZaxiNeqdzZPgEc
 gjow==
X-Gm-Message-State: AOJu0YwF8zY+DiXu5rPolSwFBn1nJWJh5yruC1PZEnn39gqpORDRPoy6
 BL6T+wq4H/lkGIDgAEXLaWcZOZ06U2KPE832CQSH/FE6tC5/BfAJ
X-Google-Smtp-Source: AGHT+IGkTb6jnhR9qqlcJRj06xgaGuCUzKZbeX4JIECIKOw7iPkLhHyRE88x1w8uBFxsyzE5k5WT2g==
X-Received: by 2002:a05:6870:d209:b0:24f:d4e9:5d62 with SMTP id
 586e51a60fabf-2508bd80e2bmr5123185fac.16.1717241671500; 
 Sat, 01 Jun 2024 04:34:31 -0700 (PDT)
Received: from hurd (dsl-10-130-93.b2b2c.ca. [72.10.130.93])
 by smtp.gmail.com with ESMTPSA id
 6a1803df08f44-6ae4a73e07fsm13967416d6.28.2024.06.01.04.34.30
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 01 Jun 2024 04:34:31 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 47144@debbugs.gnu.org
Subject: Re: [PATCH 3/3] gnu: patch: Graft to latest commit [security fixes].
In-Reply-To: <5eda21a09360653b198f1b0d7f52cf531dc97485.1717124361.git.maxim.cournoyer@gmail.com>
 (Maxim Cournoyer's message of "Thu, 30 May 2024 22:59:21 -0400")
References: <28b457771ab0e7ad87cb65600a5898f68be5074a.1717124361.git.maxim.cournoyer@gmail.com>
 <5eda21a09360653b198f1b0d7f52cf531dc97485.1717124361.git.maxim.cournoyer@gmail.com>
Date: Sat, 01 Jun 2024 07:34:29 -0400
Message-ID: <87ikysc2wq.fsf@gmail.com>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 47144
Cc: Mark H Weaver <mhw@netris.org>,
 Ludovic Courtès <ludo@gnu.org>,
 Vivien Kraus <vivien@planete-kraus.eu>, Leo Famulari <leo@famulari.name>
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
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




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sat Dec 21 16:56:50 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.