pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/perl5 perl: update to 5.32.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5ec2ae26d4d0
branches:  trunk
changeset: 445539:5ec2ae26d4d0
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jan 25 09:33:19 2021 +0000

description:
perl: update to 5.32.1.

Incompatible Changes

There are no changes intentionally incompatible with Perl 5.32.0.
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

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

    A number of memory leaks have been fixed.

    DynaLoader has been upgraded from version 1.47 to 1.47_01.

    Module::CoreList has been upgraded from version 5.20200620 to
    5.20210123.

    Opcode has been upgraded from version 1.47 to 1.48.

    A warning has been added about evaluating untrusted code with
    the perl interpreter.

    Safe has been upgraded from version 2.41 to 2.41_01.

    A warning has been added about evaluating untrusted code with
    the perl interpreter.

Documentation

New Documentation

perlgov

Documentation of the newly formed rules of governance for Perl.

perlsecpolicy

Documentation of how the Perl security team operates and how the
team evaluates new security reports.

Changes to Existing Documentation

We have attempted to update the documentation to reflect the changes
listed in this document. If you find any we have missed, open an
issue at https://github.com/Perl/perl5/issues.

Additionally, the following selected changes have been made:

perlop

    Document range op behaviour change.

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

    \K not permitted in lookahead/lookbehind in regex; marked by
    <-- HERE in m/%s/

    This error was incorrectly produced in some cases involving
    nested lookarounds. This has been fixed.

    [GH #18123]

Configuration and Compilation

    Newer 64-bit versions of the Intel C/C++ compiler are now
    recognized and have the correct flags set.

    We now trap SIGBUS when Configure checks for va_copy.

    On several systems the attempt to determine if we need va_copy
    or similar results in a SIGBUS instead of the expected SIGSEGV,
    which previously caused a core dump.

    [GH #18148]

Testing

Tests were added and changed to reflect the other additions and
changes in this release.

Platform Support

Platform-Specific Notes

MacOS (Darwin)

    The hints file for darwin has been updated to handle future
    macOS versions beyond 10. Perl can now be built on macOS Big
    Sur.

    [GH #17946, GH #18406] Minix

    Build errors on Minix have been fixed.

    [GH #17908]

Selected Bug Fixes

    Some list assignments involving undef on the left-hand side
    were over-optimized and produced incorrect results.

    [GH #16685, GH #17816]

    Fixed a bug in which some regexps with recursive subpatterns
    matched incorrectly.

    [GH #18096]

    Fixed a deadlock that hung the build when Perl is compiled for
    debugging memory problems and has PERL_MEM_LOG enabled.

    [GH #18341]

    Fixed a crash in the use of chained comparison operators when
    run under "no warnings 'uninitialized'".

    [GH #17917, GH #18380]

    Exceptions thrown from destructors during global destruction
    are no longer swallowed.

    [GH #18063]

diffstat:

 lang/perl5/Makefile                      |   4 +--
 lang/perl5/Makefile.common               |   4 +-
 lang/perl5/distinfo                      |  11 +++----
 lang/perl5/patches/patch-hints_darwin.sh |  48 --------------------------------
 4 files changed, 8 insertions(+), 59 deletions(-)

diffs (108 lines):

diff -r 37c7e8c1f96b -r 5ec2ae26d4d0 lang/perl5/Makefile
--- a/lang/perl5/Makefile       Mon Jan 25 09:23:18 2021 +0000
+++ b/lang/perl5/Makefile       Mon Jan 25 09:33:19 2021 +0000
@@ -1,10 +1,8 @@
-# $NetBSD: Makefile,v 1.267 2020/09/04 14:07:51 wiz Exp $
+# $NetBSD: Makefile,v 1.268 2021/01/25 09:33:19 wiz Exp $
 
 .include "license.mk"
 .include "Makefile.common"
 
-PKGREVISION=   1
-
 COMMENT=       Practical Extraction and Report Language
 
 CONFLICTS+=    perl-base-[0-9]* perl-thread-[0-9]*
diff -r 37c7e8c1f96b -r 5ec2ae26d4d0 lang/perl5/Makefile.common
--- a/lang/perl5/Makefile.common        Mon Jan 25 09:23:18 2021 +0000
+++ b/lang/perl5/Makefile.common        Mon Jan 25 09:33:19 2021 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.41 2020/08/31 18:00:37 wiz Exp $
+# $NetBSD: Makefile.common,v 1.42 2021/01/25 09:33:19 wiz Exp $
 #
 # used by lang/perl5/Makefile
 # used by databases/p5-gdbm/Makefile
 
-DISTNAME=      perl-5.32.0
+DISTNAME=      perl-5.32.1
 CATEGORIES=    lang devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:S,/modules/by-module/$,/src/5.0/,}
 DISTFILES+=    ${DISTNAME}${EXTRACT_SUFX}
diff -r 37c7e8c1f96b -r 5ec2ae26d4d0 lang/perl5/distinfo
--- a/lang/perl5/distinfo       Mon Jan 25 09:23:18 2021 +0000
+++ b/lang/perl5/distinfo       Mon Jan 25 09:33:19 2021 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.167 2020/09/17 10:02:20 mrg Exp $
+$NetBSD: distinfo,v 1.168 2021/01/25 09:33:19 wiz Exp $
 
-SHA1 (perl-5.32.0.tar.xz) = 0426c89d8ad5542def3e0065c299d449230aeb6c
-RMD160 (perl-5.32.0.tar.xz) = d28af2b0b2fc762f9d0dbf267f81e16d5657bd60
-SHA512 (perl-5.32.0.tar.xz) = 1540247415893bbd94dfeede7b4fba6052688dc0bf27ced817f448246fcdc6e9a6486abc34577dec5b00bf02ed607b2d24ccd4977c3b3c51e8e6edfc0b81c760
-Size (perl-5.32.0.tar.xz) = 12717336 bytes
+SHA1 (perl-5.32.1.tar.xz) = 1fb4f710d139da1e1a3e1fa4eaba201fcaa8e18e
+RMD160 (perl-5.32.1.tar.xz) = ad9013fa389e3e73940c90b7d4ffd542a0cafc70
+SHA512 (perl-5.32.1.tar.xz) = 3443c75aea91f0fe3712fee576239f1946d2301b8f7390b690e2f5d070fe71af8f9fa7769e42086c2d33d5f84370f80368fa9350b4f10cc0ac3e6c1f6209d8f9
+Size (perl-5.32.1.tar.xz) = 12610988 bytes
 SHA1 (patch-Configure) = 5a27e10c3d5b4bb8e514480808b6f2fb009ceeb0
 SHA1 (patch-Makefile.SH) = 56203aea57c429a94760f039a978463b8859b0a9
 SHA1 (patch-Safe.pm) = bfeefb82d4cfe991e3a9a90cd87b894c9f4cc337
@@ -11,7 +11,6 @@
 SHA1 (patch-cflags.SH) = e940e4452768ccc1bdf21d435094e7efffceb925
 SHA1 (patch-cpan_ExtUtils-MakeMaker_lib_ExtUtils_MM__Unix.pm) = 3a2b39c9eb903e68ef7d03ae448c51c147c19aa1
 SHA1 (patch-hints_cygwin.sh) = 1b21d927d6b7379754c4cd64a2b05d3632c35470
-SHA1 (patch-hints_darwin.sh) = 0d7a86950877eab23450e80cd99178cf845be63f
 SHA1 (patch-hints_linux.sh) = 4baa8f80695687abb53d4f4e1830cf86db5b2bf7
 SHA1 (patch-hints_netbsd.sh) = 0d549a48800372d75fe34b783529a78cba90f646
 SHA1 (patch-hints_solaris__2.sh) = 364a28ca57dbabe1f902b601e336532996db6a0e
diff -r 37c7e8c1f96b -r 5ec2ae26d4d0 lang/perl5/patches/patch-hints_darwin.sh
--- a/lang/perl5/patches/patch-hints_darwin.sh  Mon Jan 25 09:23:18 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-$NetBSD: patch-hints_darwin.sh,v 1.8 2020/07/22 15:23:57 sjmulder Exp $
-
-Support for macOS 11 'Big Sur', imported from open pull request:
-https://github.com/Perl/perl5/pull/17946
-
---- hints/darwin.sh.orig       2019-10-21 11:20:16.000000000 +0000
-+++ hints/darwin.sh
-@@ -301,7 +301,7 @@ case "$osvers" in  # Note: osvers is the
-    # We now use MACOSX_DEPLOYMENT_TARGET, if set, as an override by
-    # capturing its value and adding it to the flags.
-     case "$MACOSX_DEPLOYMENT_TARGET" in
--    10.*)
-+    10.* | 11.*)
-       add_macosx_version_min ccflags $MACOSX_DEPLOYMENT_TARGET
-       add_macosx_version_min ldflags $MACOSX_DEPLOYMENT_TARGET
-       ;;
-@@ -313,7 +313,7 @@ case "$osvers" in  # Note: osvers is the
- 
- *** Unexpected MACOSX_DEPLOYMENT_TARGET=$MACOSX_DEPLOYMENT_TARGET
- ***
--*** Please either set it to 10.something, or to empty.
-+*** Please either set it to 10.something, 11.something or to empty.
- 
- EOM
-       exit 1
-@@ -327,7 +327,7 @@ EOM
-     # "ProductVersion:    10.11"     "10.11"
-         prodvers=`sw_vers|awk '/^ProductVersion:/{print $2}'|awk -F. '{print $1"."$2}'`
-     case "$prodvers" in
--    10.*)
-+    10.* | 11.*)
-       add_macosx_version_min ccflags $prodvers
-       add_macosx_version_min ldflags $prodvers
-       ;;
-@@ -342,11 +342,11 @@ EOM
-       exit 1
-     esac
- 
--    # The X in 10.X
-+    prodvers_major=$(echo $prodvers|awk -F. '{print $1}')
-     prodvers_minor=$(echo $prodvers|awk -F. '{print $2}')
- 
-     # macOS (10.12) deprecated syscall().
--    if [ "$prodvers_minor" -ge 12 ]; then
-+    if [[ ( "$prodvers_minor" -ge 12 && "$prodvers_major" -eq 10 ) || "$prodvers_major" -ge 11 ]]; then
-         d_syscall='undef'
-         # If deploying to pre-10.12, suppress Time::HiRes's detection of the system clock_gettime()
-         case "$MACOSX_DEPLOYMENT_TARGET" in



Home | Main Index | Thread Index | Old Index