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