packages/lang/perl/files
Philip Prindeville 4a94479f96 perl: update to 5.26.1
Required changes:

* Add qualifying '.' to scripts or to @INC, as appropriate since we're
  enabling default_inc_excludes_dot;

* Add new platform/library definitions like double-double format and
  locale library functions/headers;

* Delete patch 020 as it's been upstreamed;

Optional changes:

* Instead of using -@rm and having that fail, emit an error message,
  and be ignored, just use @rm -f instead which will always succeed.

Security
[CVE-2017-12837] Heap buffer overflow in regular expression compiler

Compiling certain regular expression patterns with the case-insensitive
modifier could cause a heap buffer overflow and crash perl. This has
now been fixed. [perl #131582]

[CVE-2017-12883] Buffer over-read in regular expression parser

For certain types of syntax error in a regular expression pattern, the
error message could either contain the contents of a random, possibly
large, chunk of memory, or could crash perl. This has now been fixed.
[perl #131598]

[CVE-2017-12814] $ENV{$key} stack buffer overflow on Windows

A possible stack buffer overflow in the %ENV code on Windows has been
fixed by removing the buffer completely since it was superfluous anyway.
[perl #131665]

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-10-24 11:40:34 -06:00
..
architecture.config perl: Switch to split configuration files 2015-09-01 09:23:15 +02:00
arm.config perl: update to 5.26.1 2017-10-24 11:40:34 -06:00
armeb.config perl: update to 5.26.1 2017-10-24 11:40:34 -06:00
base.config perl: update to 5.26.1 2017-10-24 11:40:34 -06:00
i486.config perl: update to 5.26.1 2017-10-24 11:40:34 -06:00
libc.config perl: Enable crypt() for all libc implementations 2015-11-20 12:33:37 +01:00
mips.config perl: update to 5.26.1 2017-10-24 11:40:34 -06:00
mips64.config perl: update to 5.26.1 2017-10-24 11:40:34 -06:00
mipsel.config perl: update to 5.26.1 2017-10-24 11:40:34 -06:00
misc.config perl: Set gccversion configuration symbol correctly 2015-11-29 22:39:39 +01:00
perl-run_tests.sh perl: Improve run_tests.sh 2015-09-01 09:23:24 +02:00
perlconfig.pl lang/perl: Fix typos (found by codespell) 2016-04-09 19:47:45 +02:00
powerpc.config perl: update to 5.26.1 2017-10-24 11:40:34 -06:00
README.config lang/perl: Fix typos (found by codespell) 2016-04-09 19:47:45 +02:00
signal.config perl: Switch to split configuration files 2015-09-01 09:23:15 +02:00
threads.config perl: Switch to split configuration files 2015-09-01 09:23:15 +02:00
version.config perl: update to 5.26.1 2017-10-24 11:40:34 -06:00
x86_64.config perl: update to 5.26.1 2017-10-24 11:40:34 -06:00

-- Perl configuration --

Perl uses a huge configuration file, normally generated via the Configure script
at build-time. This fails when cross-compiling though, so we need to supply our
own.

We're using perlconfig.pl to piece together the final configuration from a bunch
of configuration files(all ending in .config). Please refer to perlconfig.pl's
POD for information on usage and syntax.

Throughout the files, you will see a bunch of references to private symbols with
the prefix "owrt". These are used to control output in an effort to both
simplify writing configuration files, as well as to provide switchable options
to select the feature set of the resulting perl installation.

The following will be a summary/quick reference of all private symbols we're
currently using:

Passed via architecture configuration file(mipsel.config, i486.config, ...)
---------------------------------------------------------------------------
Symbol              Values              Description
owrt:bits           32/64               Target's native word length.
owrt:endian         little/big          Target's endianness.
owrt:arch           mipsel, i486, ...   Target's architecture name.
owrt:sig_count      64/128              Number of signals the target
                                        provides(NSIG - 1).
owrt:sigs           *                   Symbolic names of the first 32 signals
                                        this architecture provides, in numeric
                                        order. Separated by whitespaces.
owrt:sig_name_extra *                   Symbolic names of any additional signals
                                        this architecture provides after
                                        owrt:sig_count. Separated by
                                        whitespaces.
owrt:sig_num_extra  *                   Numeric values associated with the
                                        signal names provided in
                                        owrt:sig_name_extra. Separated by
                                        whitespaces.

Passed via command line
-----------------------
Symbol                Values              Description
owrt:libc             glibc/uclibc/musl   Which C library implementation is in
                                          use.
owrt:threads          yes/no              Whether to enable threading support.
owrt:ipv6             define/undef        Whether to enable IPv6 support.
owrt:target_cross     *                   Target architecture's host triplet.
owrt:target_cc        *                   C compiler to use.
owrt:gccversion       *                   target_cc's version number.
owrt:cflags           *                   Additional C compiler flags.
owrt:ldflags          *                   Additional linker flags.
owrt:staging_dir      *                   Same as OpenWRT buildroot's
                                          $(STAGING_DIR).
owrt:host_perl_prefix *                   host-perl installation prefix.

Passed via version.config
-------------------------
Symbol           Values              Description
owrt:perllibpath *                   Path to perl library files, from the
                                     target's point of view.