all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH 0/1] Perl 5.24.0 update
@ 2016-08-16 22:43 Leo Famulari
  2016-08-16 22:43 ` [PATCH 1/1] gnu: perl: Update to 5.24.0 Leo Famulari
  2016-08-16 22:49 ` [PATCH 0/1] Perl 5.24.0 update Leo Famulari
  0 siblings, 2 replies; 4+ messages in thread
From: Leo Famulari @ 2016-08-16 22:43 UTC (permalink / raw)
  To: guix-devel

This updates Perl to 5.24.0.

I tested it by creating perl-next on master, and building that. I also
made perl-boot0 use perl-next and built that perl-boot0 successfully.

The patches for CVE-2015-8607 and CVE-2016-2381 are removed, since those
issues have been fixed in this release, in Perl commits 0b6f93036 and 
ae37b791a7, respectively.

The perl-source-date-epoch patch was meant to prevent the encoding of
timestamps in man pages by the Pod::Man module. Podlators, which is the 
source of Pod::Man, has been updated to 4.07 in this release of Perl
[0], and Pod::Man was made to respect the SOURCE_DATE_EPOCH environment
variable in 4.03 [1]. So this patch is removed.

And the perl-no-build-time patch deactivated the code that embedded the
compilation timestamp that is normally printed by `perl -V`. Perl 5.24.0
can take this value from the macro PERL_BUILD_DATE [2], so I removed the
old patch and added perl-reproducible-build-date.patch.

I don't love this patch... we could instead do something like what
happens in the Erlang package. There we instead get SOURCE_DATE_EPOCH
from the environment and do some format string transformations to make a
pretty date string.

Thoughts?

[0]
https://metacpan.org/pod/distribution/perl/pod/perldelta.pod

[1]
https://metacpan.org/pod/Pod::Man#date

[2]
https://metacpan.org/pod/distribution/perl/pod/perldelta.pod#Configuration-and-Compilation

Leo Famulari (1):
  gnu: perl: Update to 5.24.0.

 gnu/local.mk                                       |   5 +-
 gnu/packages/patches/perl-CVE-2015-8607.patch      |  68 ------------
 gnu/packages/patches/perl-CVE-2016-2381.patch      | 116 ---------------------
 gnu/packages/patches/perl-no-build-time.patch      |  26 -----
 .../patches/perl-reproducible-build-date.patch     |  17 +++
 gnu/packages/patches/perl-source-date-epoch.patch  |  19 ----
 gnu/packages/perl.scm                              |   9 +-
 7 files changed, 21 insertions(+), 239 deletions(-)
 delete mode 100644 gnu/packages/patches/perl-CVE-2015-8607.patch
 delete mode 100644 gnu/packages/patches/perl-CVE-2016-2381.patch
 delete mode 100644 gnu/packages/patches/perl-no-build-time.patch
 create mode 100644 gnu/packages/patches/perl-reproducible-build-date.patch
 delete mode 100644 gnu/packages/patches/perl-source-date-epoch.patch

-- 
2.9.3

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-17  7:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-16 22:43 [PATCH 0/1] Perl 5.24.0 update Leo Famulari
2016-08-16 22:43 ` [PATCH 1/1] gnu: perl: Update to 5.24.0 Leo Famulari
2016-08-16 22:49 ` [PATCH 0/1] Perl 5.24.0 update Leo Famulari
2016-08-17  7:01   ` Ricardo Wurmus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.