[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/1] gnu: perl: Replace with patched version [fixes CVE-2016-
From: |
Leo Famulari |
Subject: |
Re: [PATCH 1/1] gnu: perl: Replace with patched version [fixes CVE-2016-2381]. |
Date: |
Wed, 2 Mar 2016 23:06:13 -0500 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Wed, Mar 02, 2016 at 10:52:58PM +0100, Ludovic Courtès wrote:
> Leo Famulari <address@hidden> skribis:
>
> > * gnu/packages/patches/perl-CVE-2016-2381.patch: New file.
> > * gnu-system.am (dist_patch_DATA): Add it.
> > * gnu/packages/perl.scm (perl)[replacement]: New field.
> > (perl-5.22.1-2): New variable.
>
> Should be ‘perl-fixed’.
Done. I also altered the context of the patch to reflect that its
source is actually upstream Perl, although Debian did cherry-pick it.
>
> > * gnu/packages/commencement.scm (perl-boot0)[replacement]: New field.
>
> Otherwise LGTM, as long as you confirm that nothing goes really wrong
> once it’s applied. :-)
Here are some things I tried:
1) Built and booted a VM with `guix system vm`. I don't know if perl (as
opposed to perl-boot0) is used in this process, but it did work.
2) Built and installed git on top of it, and then rolled back the commit
and used `git add -i` to recreate it, and then `git send-email` to
submit it. Both of those tools are Perl scripts.
https://git.kernel.org/cgit/git/git.git/tree/git-add--interactive.perl
https://git.kernel.org/cgit/git/git.git/tree/git-send-email.perl