Commit graph

510 commits

Author SHA1 Message Date
wiz
41b2a2663a Remove duplicate PERL5 definition.
This is already defined in mk/pkginstall/header.
2016-12-12 16:08:00 +00:00
dholland
c5c409b738 Extend PR 48500 alpha gcc workaround to gcc5. From Rin Okuyama. 2016-10-28 15:55:50 +00:00
adam
06b220db94 Fix for OS X 10.12, where clock_gettime() is defined. 2016-08-31 13:24:06 +00:00
sevan
fc438685b4 Build with DTrace support enabled on OS X Leopard and newer
Reviewed by jperkin@
2016-06-20 17:19:56 +00:00
jperkin
22ad3973cb Do not attempt to generate DTrace objects for objects which do not contain
any DTrace probes.  Fixes build with newer DTrace.
2016-06-14 11:47:21 +00:00
he
42c3ea8314 Update perl to version 5.24.0.
Pkgsrc changes:
 * Add candidate fix from https://rt.cpan.org/Public/Bug/Display.html?id=72467
 * Remove patches which have been integrated upstream
 * Rename and re-mould some patches which required adjustments

http://perlnews.org/2016/05/perl-5-24-released/ has pointer to
more details and says:

May 9 2016
Perl 5.24.0 has been released.

You can read about the changes which include:

    Postfix dereferencing is no longer experimental
    Unicode 8.0 is now supported
    The autoderef feature has been removed

Perl 5.24.0 represents approximately 11 months of development since
Perl 5.22.0 and contains approximately 360,000 lines of changes
across 1,800 files from 77 authors.
2016-06-08 17:39:30 +00:00
ryoon
a6193a0b22 Update to 5.22.2
Changelog:
NAME
       perldelta - what is new for perl v5.22.2

DESCRIPTION
       This document describes differences between the 5.22.1 release and the
       5.22.2 release.

       If you are upgrading from an earlier release such as 5.22.0, first read
       perl5221delta, which describes differences between 5.22.0 and 5.22.1.

Security
   Fix out of boundary access in Win32 path handling
       This is CVE-2015-8608.  For more information see [perl #126755]
       <https://rt.perl.org/Ticket/Display.html?id=126755>.

   Fix loss of taint in "canonpath()"
       This is CVE-2015-8607.  For more information see [perl #126862]
       <https://rt.perl.org/Ticket/Display.html?id=126862>.

   Set proper umask before calling mkstemp(3)
       In 5.22.0 perl started setting umask to 0600 before calling mkstemp(3)
       and restoring it afterwards.  This wrongfully tells open(2) to strip
       the owner read and write bits from the given mode before applying it,
       rather than the intended negation of leaving only those bits in place.

       Systems that use mode 0666 in mkstemp(3) (like old versions of glibc)
       create a file with permissions 0066, leaving world read and write
       permissions regardless of current umask.

       This has been fixed by using umask 0177 instead.

       [perl #127322] <https://rt.perl.org/Ticket/Display.html?id=127322>

   Avoid accessing uninitialized memory in Win32 "crypt()"
       Validation that will detect both a short salt and invalid characters in
       the salt has been added.

://rt.perl.org/Ticket/Display.html?id=126922>

   Remove duplicate environment variables from "environ"
       Previously, if an environment variable appeared more than once in
       "environ[]", %ENV would contain the last entry for that name, while a
       typical "getenv()" would return the first entry.  We now make sure %ENV
       contains the same as what "getenv()" returns.

       Secondly, we now remove duplicates from "environ[]", so if a setting
       with that name is set in %ENV we won't pass an unsafe value to a child
       process.

       This is CVE-2016-2381.

Incompatible Changes
       There are no changes intentionally incompatible with Perl 5.22.1.  If
       any exist, they are bugs, and we request that you submit a report.  See
       "Reporting Bugs" below.

Modules and Pragmata
   Updated Modules and Pragmata
       •   File::Spec has been upgraded from version 3.56 to 3.56_01.

           "canonpath()" now preserves taint.  See "Fix loss of taint in
           "canonpath()"".

       •   Module::CoreList has been upgraded from version 5.20151213 to
           5.20160429.

           The version number of Digest::SHA listed for Perl 5.18.4 was wrong
           and has been corrected.  Likewise for the version number of Config
           in 5.18.3 and 5.18.4.  [perl #127624]
           <https://rt.perl.org/Ticket/Display.html?id=127624>

Documentation
   Changes to Existing Documentation
       perldiag

       •   The explanation of the warning "unable to close filehandle %s
           properly: %s" which can occur when doing an implicit close of a
           filehandle has been expanded and improved.

       perlfunc

       •   The documentation of "hex()" has been revised to clarify valid
           inputs.

Configuration and Compilation
       •   Dtrace builds now build successfully on systems with a newer dtrace
           that require an input object file that uses the probes in the .d
           file.

           Previously the probe would fail and cause a build failure.

           [perl #122287] <https://rt.perl.org/Ticket/Display.html?id=122287>

       •   Configure no longer probes for libnm by default.  Originally this
           was the "New Math" library, but the name has been re-used by the
           GNOME NetworkManager.

           [perl #127131] <https://rt.perl.org/Ticket/Display.html?id=127131>

       •   Configure now knows about gcc 5.

       •   Compiling perl with -DPERL_MEM_LOG now works again.

Platform Support
   Platform-Specific Notes
       Darwin
           Compiling perl with -Dusecbacktrace on Darwin now works again.

           [perl #127764] <https://rt.perl.org/Ticket/Display.html?id=127764>

       OS X/Darwin
           Builds with both -DDEBUGGING and threading enabled would fail with
           a "panic: free from wrong pool" error when built or tested from
           Terminal on OS X.  This was caused by perl's internal management of
           the environment conflicting with an atfork handler using the libc
           "setenv()" function to update the environment.

           Perl now uses "setenv()"/"unsetenv()" to update the environment on
           OS X.

           [perl #126240] <https://rt.perl.org/Ticket/Display.html?id=126240>

       ppc64el
           The floating point format of ppc64el (Debian naming for little-
           endian PowerPC) is now detected correctly.

       Tru64
           A test failure in t/porting/extrefs.t has been fixed.

Internal Changes
       •   An unwarranted assertion in "Perl_newATTRSUB_x()" has been removed.
           If a stub subroutine definition with a prototype has been seen,
           then any subsequent stub (or definition) of the same subroutine
           with an attribute was causing an assertion failure because of a
           null pointer.

           [perl #126845] <https://rt.perl.org/Ticket/Display.html?id=126845>

Selected Bug Fixes
       •   Calls to the placeholder &PL_sv_yes used internally when an
           "import()" or "unimport()" method isn't found now correctly handle
           scalar context.  [perl #126042]
           <https://rt.perl.org/Ticket/Display.html?id=126042>

       •   The "pipe()" operator would assert for "DEBUGGING" builds instead
           of producing the correct error message.  The condition asserted on
           is detected and reported on correctly without the assertions, so
           the assertions were removed.  [perl #126480]
           <https://rt.perl.org/Ticket/Display.html?id=126480>

       •   In some cases, failing to parse a here-doc would attempt to use
           freed memory.  This was caused by a pointer not being restored
           correctly.  [perl #126443]
           <https://rt.perl.org/Ticket/Display.html?id=126443>

       •   Perl now reports more context when it sees an array where it
           expects to see an operator, and avoids an assertion failure.  [perl
           #123737] <https://rt.perl.org/Ticket/Display.html?id=123737>

       •   If a here-doc was found while parsing another operator, the parser
           had already read end of file, and the here-doc was not terminated,
           perl could produce an assertion or a segmentation fault.  This now
           reliably complains about the unterminated here-doc.  [perl #125540]
           <https://rt.perl.org/Ticket/Display.html?id=125540>

       •   Parsing beyond the end of the buffer when processing a "#line"
           directive with no filename is now avoided.  [perl #127334]
           <https://rt.perl.org/Ticket/Display.html?id=127334>

       •   Perl 5.22.0 added support for the C99 hexadecimal floating point
           notation, but sometimes misparsed hex floats.  This has been fixed.
           [perl #127183] <https://rt.perl.org/Ticket/Display.html?id=127183>

       •   Certain regex patterns involving a complemented posix class in an
           inverted bracketed character class, and matching something else
           optionally would improperly fail to match.  An example of one that
           could fail is "qr/_?[^\Wbar]\x{100}/".  This has been fixed.  [perl
           #127537] <https://rt.perl.org/Ticket/Display.html?id=127537>

       •   Fixed an issue with "pack()" where "pack "H"" (and "pack "h"")
           could read past the source when given a non-utf8 source and a utf8
           target.  [perl #126325]
           <https://rt.perl.org/Ticket/Display.html?id=126325>

       •   Fixed some cases where perl would abort due to a segmentation
           fault, or a C-level assert.  [perl #126193]
           <https://rt.perl.org/Ticket/Display.html?id=126193> [perl #126257]
           <https://rt.perl.org/Ticket/Display.html?id=126257> [perl #126258]
           <https://rt.perl.org/Ticket/Display.html?id=126258> [perl #126405]
           <https://rt.perl.org/Ticket/Display.html?id=126405> [perl #126602]
           <https://rt.perl.org/Ticket/Display.html?id=126602> [perl #127773]
           <https://rt.perl.org/Ticket/Display.html?id=127773> [perl #127786]
           <https://rt.perl.org/Ticket/Display.html?id=127786>

       •   A memory leak when setting $ENV{foo} on Darwin has been fixed.
           [perl #126240] <https://rt.perl.org/Ticket/Display.html?id=126240>

       •   Perl now correctly raises an error when trying to compile patterns
           with unterminated character classes while there are trailing
           backslashes.  [perl #126141]
           <https://rt.perl.org/Ticket/Display.html?id=126141>

       •   "NOTHING" regops and "EXACTFU_SS" regops in "make_trie()" are now
           handled properly.  [perl #126206]
           <https://rt.perl.org/Ticket/Display.html?id=126206>

       •   Perl now only tests "semctl()" if we have everything needed to use
           it.  In FreeBSD the "semctl()" entry point may exist, but it can be
           disabled by policy.  [perl #127533]
           <https://rt.perl.org/Ticket/Display.html?id=127533>

       •   A regression that allowed undeclared barewords as hash keys to work
           despite strictures has been fixed.  [perl #126981]
           <https://rt.perl.org/Ticket/Display.html?id=126981>

       •   As an optimization (introduced in Perl 5.20.0), "uc()", "lc()",
           "ucfirst()" and "lcfirst()" sometimes modify their argument in-
           place rather than returning a modified copy.  The criteria for this
           optimization has been made stricter to avoid these functions
           accidentally modifying in-place when they should not, which has
           been happening in some cases, e.g. in List::Util.

       •   Excessive memory usage in the compilation of some regular
           expressions involving non-ASCII characters has been reduced.  A
           more complete fix is forthcoming in Perl 5.24.0.

Acknowledgements
       Perl 5.22.2 represents approximately 5 months of development since Perl
       5.22.1 and contains approximately 3,000 lines of changes across 110
       files from 24 authors.

       Excluding auto-generated files, documentation and release tools, there
       were approximately 1,500 lines of changes to 52 .pm, .t, .c and .h
       files.

       Perl continues to flourish into its third decade thanks to a vibrant
       community of users and developers.  The following people are known to
       have contributed the improvements that became Perl 5.22.2:

       Aaron Crane, Abigail, Andreas Koenig, Aristotle Pagaltzis, Chris
       'BinGOs' Williams, Craig A. Berry, Dagfinn Ilmari Mannsaaker, David
       Golden, David Mitchell, H.Merijn Brand, James E Keenan, Jarkko
       Hietaniemi, Karen Etheridge, Karl Williamson, Matthew Horsfall, Niko
       Tyni, Ricardo Signes, Sawyer X, Stevan Little, Steve Hay, Todd Rinaldo,
       Tony Cook, Vladimir Timofeev, Yves Orton.

       The list above is almost certainly incomplete as it is automatically
       generated from version control history.  In particular, it does not
       include the names of the (very much appreciated) contributors who
       reported issues to the Perl bug tracker.

       Many of the changes included in this version originated in the CPAN
       modules included in Perl's core.  We're grateful to the entire CPAN
       community for helping Perl to flourish.

       For a more complete list of all of Perl's historical contributors,
       please see the AUTHORS file in the Perl source distribution.
2016-05-01 00:05:57 +00:00
sevan
d196cd28df Add patch to address CVE-2016-2381
Bump pkgrev

Reviewed by wiz@
2016-04-19 22:14:38 +00:00
joerg
193548ca6c Allow packages linking against libperl to get the rpath correctly. 2016-03-25 21:10:36 +00:00
kamil
7db612f19b Backport upstream fix for pointersize test
The symbol 'main' is multiply defined because Perl 5's `Configure`
script erroneously appends `try.c`, instead of overwriting it.

This change backports an upstream patch, which will not be needed once
Perl 5 5.23.x is available.

Sent by Eric N. Vander Weele
2016-03-07 21:27:58 +00:00
mef
ff57d42aa1 Add Module::Build::{Bundle,Tiny} for make help topic=PERL5_MODULE_TYPE. 2016-02-06 00:46:11 +00:00
wiz
dafc788ff1 Remove Darwin comment above SunOS block. 2016-01-27 11:38:57 +00:00
jperkin
5eb2145a0e Perl now requires C99 with the introduction of C99 math functions in POSIX.pm 2016-01-27 11:22:22 +00:00
jperkin
de0cf47b73 Fix MACHINE_PLATFORM match to ensure DTrace defaults to enabled on SunOS 5.11+. 2016-01-27 10:45:47 +00:00
adam
eaeece1571 Changes 5.22.1:
Several bugs, including a segmentation fault, have been fixed with the bounds checking constructs (introduced in Perl 5.22) \b{gcb}, \b{sb}, \b{wb}, \B{gcb}, \B{sb}, and \B{wb}. All the \B{} ones now match an empty string; none of the \b{} ones do.

* Module::CoreList has been upgraded from version 5.20150520 to 5.20151213.
* PerlIO::scalar has been upgraded from version 0.22 to 0.23.
* POSIX has been upgraded from version 1.53 to 1.53_01.
* Storable has been upgraded from version 2.53 to 2.53_01.
* warnings has been upgraded from version 1.32 to 1.34.
* Win32 has been upgraded from version 0.51 to 0.52.
2015-12-28 13:44:03 +00:00
jperkin
842c8f3479 Remove mk/find-prefix.mk usage from the lang category.
The find-prefix infrastructure was required in a pkgviews world where
packages installed from pkgsrc could have different installation
prefixes, and this was a way for a dependency prefix to be determined.

Now that pkgviews has been removed there is no longer any need for the
overhead of this infrastructure.  Instead we use BUILDLINK_PREFIX.pkg
for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the
dependency is coming from pkgsrc.

Provides a reasonable performance win due to the reduction of `pkg_info
-qp` calls, some of which were redundant anyway as they were duplicating
the same information provided by BUILDLINK_PREFIX.pkg.
2015-11-25 12:51:16 +00:00
agc
54622f28e2 Add SHA512 digests for distfiles for lang category
Problems found with existing digests:
	Package nhc98 distfile nhc98src-1.22.tar.gz
	a8adc8f22371998ee0657bc0e01058a57d876abc [recorded]
	81975fcb5f1dda5efeaabc30ce8c6dceae55e591 [calculated]

Problems found locating distfiles:
	Package gcc-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2
	Package ghc7: missing distfile ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz
	Package icc11: missing distfile l_cproc_p_11.1.080.tgz
	Package jini: missing distfile jini-1_2_1_001-src.zip
	Package oo2c: missing distfile oo2c_32-2.0.11.tar.bz2
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
	Package oracle-jdk8: missing distfile jdk-8u60-linux-i586.tar.gz
	Package oracle-jdk8: missing distfile jdk-8u60-solaris-x64.tar.gz
	Package oracle-jre8: missing distfile jre-8u60-linux-i586.tar.gz
	Package oracle-jre8: missing distfile jre-8u60-solaris-x64.tar.gz
	Package sun-jdk6: missing distfile jdk-6u45-linux-i586.bin
	Package sun-jdk6: missing distfile jdk-6u45-solaris-i586.sh
	Package sun-jdk7: missing distfile jdk-7u72-linux-i586.tar.gz
	Package sun-jdk7: missing distfile jdk-7u72-solaris-i586.tar.gz
	Package sun-jre6: missing distfile jce_policy-6.zip
	Package sun-jre6: missing distfile jre-6u45-linux-x64.bin
	Package sun-jre6: missing distfile jre-6u45-solaris-x64.sh
	Package sun-jre7: missing distfile jre-7u72-linux-i586.tar.gz
	Package sun-jre7: missing distfile jre-7u72-solaris-i586.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 22:50:31 +00:00
jperkin
fd46cf57be Support SunOS/clang, fixes 64-bit build. 2015-10-27 09:10:44 +00:00
mrg
c68955c927 enable the GCC 4.5 op.c hack for sparc. 2015-10-15 00:15:52 +00:00
mrg
e5db4ea286 use -fno-reorder-blocks for sparc64, mips, and vax and GCC 4.5*.
something in op.c (as miniop.c) is mis-compiled with this option which
is enabled by -O2, when using GCC 4.5.  i didn't try to figure out
exactly what as op.c is 419,359 bytes long and the assembler output
is almost 100% different and approximiately 1.5MB either way (the
diff of the asm output is larger than the combined inputs), so for now
we have this hack.  this problem doesn't appear to occur in newer GCC.


XXX: pullup to 2015Q2.
2015-08-07 22:11:22 +00:00
he
b146ac941a Remove reference to file no longer part of the perl distribution.
Add a Configure test to verify that including <fenv.h> doesn't produce
a build error, as it will in quite few cases on NetBSD on archs which
are not amd64, i386 or sparc in NetBSD 6.x.  If the test build fails,
pretend we don't have fenv.h.

Validated that the result builds on NetBSD/evbarm 6.0 and NetBSD/i386 6.1.5.

Build fix, so no need to bump PKGREVISION.

OK by wiz@
2015-06-24 11:43:42 +00:00
adam
d933f7573b Changes 5.22.0:
* A safer ARGV
* CGI.pm and Module::Build disappear from core
* Hexadecimal floating point values
* Variable aliases
* Repetition in list assignment
* List pipe opens on Win32
* Various small fixes
2015-06-11 13:44:23 +00:00
sevan
6170b8fd87 Add support for Bitrig 2015-06-05 12:22:28 +00:00
bsiegert
81c2f3d013 Remove powerpc compiler workaround that was put in place 11 years ago.
According to John D. Baker in PR pkg/49598, this helps compiling perl on
his PowerPC system.
2015-05-17 12:57:16 +00:00
ryoon
603cf0ae7d Fix build under Solaris 10 x86_64.
Redo PR pkg/44999 and fix linkage.
2015-05-15 14:32:27 +00:00
wiz
ce3c8aeb2c Update to 5.20.2, provided by Kai-Uwe Eckhardt <kuehro@gmx.de> in private
mail.

Changes:

Incompatible Changes

There are no changes intentionally incompatible with 5.20.1. If any
exist, they are bugs, and we request that you submit a report. See
"Reporting Bugs" below.  Modules and Pragmata Updated Modules and
Pragmata

    attributes has been upgraded from version 0.22 to 0.23.

    The usage of memEQs in the XS has been corrected. [perl #122701]

    Data::Dumper has been upgraded from version 2.151 to 2.151_01.

    Fixes CVE-2014-4330 by adding a configuration variable/option to
    limit recursion when dumping deep data structures.

    Errno has been upgraded from version 1.20_03 to 1.20_05.

    Warnings when building the XS on Windows with the Visual C++
    compiler are now avoided.

    feature has been upgraded from version 1.36 to 1.36_01.

    The postderef feature has now been documented. This feature was
    actually added in Perl 5.20.0 but was accidentally omitted from
    the feature documentation until now.

    IO::Socket has been upgraded from version 1.37 to 1.38.

    Document the limitations of the connected() method. [perl #123096]

    Module::CoreList has been upgraded from version 5.020001 to
    5.20150214.

    The list of Perl versions covered has been updated.

    PathTools has been upgraded from version 3.48 to 3.48_01.

    A warning from the gcc compiler is now avoided when building the
    XS.

    PerlIO::scalar has been upgraded from version 0.18 to 0.18_01.

    Reading from a position well past the end of the scalar now
    correctly returns end of file. [perl #123443]

    Seeking to a negative position still fails, but no longer leaves
    the file position set to a negation location.

    eof() on a PerlIO::scalar handle now properly returns true when
    the file position is past the 2GB mark on 32-bit systems.

    Storable has been upgraded from version 2.49 to 2.49_01.

    Minor grammatical change to the documentation only.

    VMS::DCLsym has been upgraded from version 1.05 to 1.05_01.

    Minor formatting change to the documentation only.

    VMS::Stdio has been upgraded from version 2.4 to 2.41.

    Minor formatting change to the documentation only.

Documentation New Documentation perlunicook

This document, by Tom Christiansen, provides examples of handling
Unicode in Perl.  Changes to Existing Documentation perlexperiment

    Added reference to subroutine signatures. This feature was
    actually added in Perl 5.20.0 but was accidentally omitted from
    the experimental feature documentation until now.

perlpolicy

    The process whereby features may graduate from experimental status
    has now been formally documented.

perlsyn

    An ambiguity in the documentation of the ellipsis statement has
    been corrected. [perl #122661]

Diagnostics

The following additions or changes have been made to diagnostic
output, including warnings and fatal error messages. For the complete
list of diagnostic messages, see perldiag.  Changes to Existing
Diagnostics

    Bad symbol for scalar is now documented. This error is not new,
    but was not previously documented here.

    Missing right brace on \N{} is now documented. This error is not
    new, but was not previously documented here.

Testing

    The test script re/rt122747.t has been added to verify that perl
    #122747 remains fixed.

Platform Support Regained Platforms

IRIX and Tru64 platforms are working again. (Some make test failures
remain.)  Selected Bug Fixes

    AIX now sets the length in getsockopt correctly. [perl #120835],
    [cpan #91183], [cpan #85570]

    In Perl 5.20.0, $^N accidentally had the internal UTF8 flag turned
    off if accessed from a code block within a regular expression,
    effectively UTF8-encoding the value. This has been fixed. [perl
    #123135]

    Various cases where the name of a sub is used (autoload,
    overloading, error messages) used to crash for lexical subs, but
    have been fixed.

    An assertion failure when parsing sort with debugging enabled has
    been fixed. [perl #122771]

    Loading UTF8 tables during a regular expression match could cause
    assertion failures under debugging builds if the previous match
    used the very same regular expression. [perl #122747]

    Due to a mistake in the string-copying logic, copying the value of
    a state variable could instead steal the value and undefine the
    variable. This bug, introduced in Perl 5.20, would happen mostly
    for long strings (1250 chars or more), but could happen for any
    strings under builds with copy-on-write disabled. [perl #123029]

    Fixed a bug that could cause perl to execute an infinite loop
    during compilation. [perl #122995]

    On Win32, restoring in a child pseudo-process a variable that was
    local()ed in a parent pseudo-process before the fork happened
    caused memory corruption and a crash in the child pseudo-process
    (and therefore OS process). [perl #40565]

    Tainted constants evaluated at compile time no longer cause
    unrelated statements to become tainted. [perl #122669]

    Calling write on a format with a ^** field could produce a panic
    in sv_chop() if there were insufficient arguments or if the
    variable used to fill the field was empty. [perl #123245]

    In Perl 5.20.0, sort CORE::fake where 'fake' is anything other
    than a keyword started chopping of the last 6 characters and
    treating the result as a sort sub name. The previous behaviour of
    treating "CORE::fake" as a sort sub name has been restored. [perl
    #123410]

    A bug in regular expression patterns that could lead to segfaults
    and other crashes has been fixed. This occurred only in patterns
    compiled with "/i", while taking into account the current POSIX
    locale (this usually means they have to be compiled within the
    scope of "use locale"), and there must be a string of at least 128
    consecutive bytes to match. [perl #123539]

    qr/@array(?{block})/ no longer dies with "Bizarre copy of
    ARRAY". [perl #123344]

    gmtime no longer crashes with not-a-number values. [perl #123495]

    Certain syntax errors in substitutions, such as s/${<>{})//, would
    crash, and had done so since Perl 5.10. (In some cases the crash
    did not start happening until Perl 5.16.) The crash has, of
    course, been fixed. [perl #123542]

    A memory leak in some regular expressions, introduced in Perl
    5.20.1, has been fixed. [perl #123198]

    formline("@...", "a"); would crash. The FF_CHECKNL case in
    pp_formline() didn't set the pointer used to mark the chop
    position, which led to the FF_MORE case crashing with a
    segmentation fault. This has been fixed. [perl #123538] [perl
    #123622]

    A possible buffer overrun and crash when parsing a literal pattern
    during regular expression compilation has been fixed. [perl
    #123604]

Known Problems

    It is a known bug that lexical subroutines cannot be used as the
    SUBNAME argument to sort. This will be fixed in a future version
    of Perl.

Errata From Previous Releases

    A regression has been fixed that was introduced in Perl 5.20.0
    (fixed in Perl 5.20.1 as well as here) in which a UTF-8 encoded
    regular expression pattern that contains a single ASCII lowercase
    letter does not match its uppercase counterpart. [perl #122655]
2015-02-25 14:56:45 +00:00
wiz
627d407a75 Remove pkg_views support, second part: infrastructure. 2014-12-30 15:13:19 +00:00
jperkin
c24ed9c54f The "rename" rule is a published synonym for the "opt" transform rule, however
only the latter is supported by cwrappers.  Change them all to "opt" rules for
consistency and to gain compatibility with cwrappers.
2014-12-15 11:46:34 +00:00
bsiegert
61b572397b Declare MACOSX_DEPLOYMENT_TARGET for versions from 10.3 to 10.5 to fix
the build.

Patch provided by Sevan Janiyan in PR pkg/49394.
2014-11-22 15:45:41 +00:00
wiz
cfe2e18350 Replace perl interpreter in one more file. 2014-11-22 03:04:31 +00:00
wiz
ffc01a35f8 Remove path to non-existing file, and fix path to existing one. 2014-11-22 03:01:52 +00:00
tron
5553b92be2 Don't append ".gz" to the filenames of Perl manual page that are already
compress. This fixes the build of e.g. the "p5-YAML-LibYAML" package
if "MANZ" is set.
2014-11-13 17:48:59 +00:00
adam
9710448feb Perl 5.20.1 has been released, this is the latest stable version of Perl.
Changes include performance enhancements and various bug fixes.

Perl 5.20.1 represents approximately 4 months of development since Perl 5.20.0 and contains approximately 12,000 lines of changes across 170 files from 36 authors.
2014-10-01 07:17:02 +00:00
spz
22fb374174 Minimally invasive fix for CVE-2014-4330, also known as
https://www.lsexperts.de/advisories/lse-2014-06-10.txt,
a stack overflow vulnerability in Data::Dumper

Patches taken from
http://perl5.git.perl.org/perl.git/commitdiff/19be3be6968e2337bcdfe480693fff795ecd1304,
to be removed when updating to 5.20.1 (or later).

perl-5.20.0nb2 is fit for pkg_add -u replacement of perl-5.20.0nb1
2014-09-29 11:36:01 +00:00
mrg
8a99cab8a1 adjust a pattern to match 0.8 vs everything else.
fixes build on netbsd-7, which was matching "not everything else"
2014-08-12 05:41:39 +00:00
richard
ed131363eb Use bash on SunOS, as pdksh (at least on x86_64) has issues for the moment. 2014-07-05 05:10:48 +00:00
joerg
1e6bcc0d5f Don't try to extract the library search path from gcc/clang. It will
leak .buildlink into the final build and create a broken p5-gdbm.
Bump revision.
2014-06-08 23:35:55 +00:00
obache
1ec2acda60 -lnetwork is wanted for Haiku. 2014-06-07 12:08:47 +00:00
obache
b384161932 Due to directory style layout change, Haiku's SYSLIBPATH may not be
/boot/common/lib.
Undef it for Haiku and COMPILER_LIB_DIRS instead (also for other platforms
not set here).
XXX: all platforms should be SYSLIBPATH=${COMPILER_LIB_DIRS}, or
XXX: _OPSYS_LIB_DIRS for such platforms should be fixed.
2014-06-07 12:07:43 +00:00
obache
5b4c058af0 regen. 2014-06-07 11:58:57 +00:00
obache
7dc912f3fb File::Copy is used for the case link() is not usable.
Fixes installation on Haiku with BeFS.
2014-06-07 11:58:39 +00:00
obache
4f46be5a56 add include path for Haiku new directory layout 2014-06-07 11:57:34 +00:00
richard
d0ab728b88 Workaround perldtrace.h dependency problem 2014-06-04 14:24:37 +00:00
obache
2cb8b61e50 Move Haiku pthread hack to options.mk.
"pthreads broken on vax" hack had been removed, but it is also used for Haiku.
2014-06-04 09:19:56 +00:00
dsainty
956328013d For Perl 5.20.0, update patch to not introduce an empty if/then/else block,
which some shells prohibit.

Fixes build on Linux.
2014-06-04 00:21:33 +00:00
obache
a8b75bb594 Note CGI core module is older for www/p5-CGI-Fast. 2014-06-02 09:53:32 +00:00
obache
afced02363 core contains experimental-0.007 2014-05-31 02:07:31 +00:00
obache
038ac542bb clean up "older for" notation. 2014-05-31 02:06:17 +00:00
wiz
2288001a15 Update CONFLICTS lines and add a SUPERSEDES line for p5-experimental. 2014-05-30 09:48:52 +00:00
adam
76d367c268 Changes 5.20.0:
Experimental Subroutine signatures
subs now take a prototype attribute
More consistent prototype parsing
rand now uses a consistent random number generator
New slice syntax
Experimental Postfix Dereferencing
Unicode 6.3 now supported
New \p{Unicode} regular expression pattern property
Better 64-bit support
use locale now works on UTF-8 locales
use locale now compiles on systems without locale ability
More locale initialization fallback options
-DL runtime option now added for tracing locale setting
-F now implies -a and -a implies -n
$a and $b warnings exemption
2014-05-29 07:57:07 +00:00