pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/perl5



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Aug 22 08:37:46 UTC 2018

Modified Files:
        pkgsrc/lang/perl5: Makefile Makefile.common distinfo
        pkgsrc/lang/perl5/patches: patch-Configure patch-cflags.SH
Removed Files:
        pkgsrc/lang/perl5/patches: patch-MANIFEST patch-aq patch-ch patch-ck
            patch-cn patch-cpan_File-Path_lib_File_Path.pm
            patch-ext_Errno_Errno__pm.PL patch-ext_File-Glob_bsd_glob.c
            patch-ext_File-Glob_t_rt131211.t patch-hints_sco.sh patch-ze

Log Message:
perl: update to 5.28.0.

Removed some ancient patches. Fix a pkglint warning.

Core Enhancements

    Unicode 10.0 is supported
    delete on key/value hash slices
    Experimentally, there are now alphabetic synonyms for some regular expression assertions
    Mixed Unicode scripts are now detectable
    In-place editing with perl -i is now safer
    Initialisation of aggregate state variables
    Full-size inode numbers
    The sprintf %j format size modifier is now available with pre-C99 compilers
    Close-on-exec flag set atomically
    String- and number-specific bitwise ops are no longer experimental
    Locales are now thread-safe on systems that support them
    New read-only predefined variable ${^SAFE_LOCALES}

Security

    [CVE-2017-12837] Heap buffer overflow in regular expression compiler
    [CVE-2017-12883] Buffer over-read in regular expression parser
    [CVE-2017-12814] $ENV{$key} stack buffer overflow on Windows
    Default Hash Function Change

Incompatible Changes

    Subroutine attribute and signature order
    Comma-less variable lists in formats are no longer allowed
    The :locked and :unique attributes have been removed
    \N{} with nothing between the braces is now illegal
    Opening the same symbol as both a file and directory handle is no longer allowed
    Use of bare << to mean <<"" is no longer allowed
    Setting $/ to a reference to a non-positive integer no longer allowed
    Unicode code points with values exceeding IV_MAX are now fatal
    The B::OP::terse method has been removed
    Use of inherited AUTOLOAD for non-methods is no longer allowed
    Use of strings with code points over 0xFF is not allowed for bitwise string operators
    Setting ${^ENCODING} to a defined value is now illegal
    Backslash no longer escapes colon in PATH for the -S switch
    the -DH (DEBUG_H) misfeature has been removed
    Yada-yada is now strictly a statement
    Sort algorithm can no longer be specified
    Over-radix digits in floating point literals
    Return type of unpackstring()

Deprecations

    Use of vec on strings with code points above 0xFF is deprecated
    Some uses of unescaped "{" in regexes are no longer fatal
    Use of unescaped "{" immediately after a "(" in regular expression patterns is deprecated
    Assignment to $[ will be fatal in Perl 5.30
    hostname() won't accept arguments in Perl 5.32
    Module removals

Performance Enhancements

Modules and Pragmata

    Removal of use vars
    Use of DynaLoader changed to XSLoader in many modules
    Updated Modules and Pragmata
    Removed Modules and Pragmata

More details are in the included perldelta.pod.


To generate a diff of this commit:
cvs rdiff -u -r1.246 -r1.247 pkgsrc/lang/perl5/Makefile
cvs rdiff -u -r1.33 -r1.34 pkgsrc/lang/perl5/Makefile.common
cvs rdiff -u -r1.150 -r1.151 pkgsrc/lang/perl5/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/perl5/patches/patch-Configure
cvs rdiff -u -r1.2 -r0 pkgsrc/lang/perl5/patches/patch-MANIFEST
cvs rdiff -u -r1.4 -r0 pkgsrc/lang/perl5/patches/patch-aq \
    pkgsrc/lang/perl5/patches/patch-ch pkgsrc/lang/perl5/patches/patch-cn
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/perl5/patches/patch-cflags.SH
cvs rdiff -u -r1.3 -r0 pkgsrc/lang/perl5/patches/patch-ck
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/lang/perl5/patches/patch-cpan_File-Path_lib_File_Path.pm \
    pkgsrc/lang/perl5/patches/patch-ext_Errno_Errno__pm.PL \
    pkgsrc/lang/perl5/patches/patch-ext_File-Glob_bsd_glob.c \
    pkgsrc/lang/perl5/patches/patch-ext_File-Glob_t_rt131211.t \
    pkgsrc/lang/perl5/patches/patch-hints_sco.sh
cvs rdiff -u -r1.6 -r0 pkgsrc/lang/perl5/patches/patch-ze

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/perl5/Makefile
diff -u pkgsrc/lang/perl5/Makefile:1.246 pkgsrc/lang/perl5/Makefile:1.247
--- pkgsrc/lang/perl5/Makefile:1.246    Wed Jul  4 13:40:22 2018
+++ pkgsrc/lang/perl5/Makefile  Wed Aug 22 08:37:46 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.246 2018/07/04 13:40:22 jperkin Exp $
+# $NetBSD: Makefile,v 1.247 2018/08/22 08:37:46 wiz Exp $
 
 .include "license.mk"
 .include "Makefile.common"
@@ -237,7 +237,7 @@ SUBST_VARS.policysh+=       SYSLIBPATH
 .include "../../mk/dlopen.buildlink3.mk"
 .include "options.mk"
 
-.if !empty(MACHINE_PLATFORM:MMirBSD*)
+.if !empty(MACHINE_PLATFORM:MMirBSD)
 SUBST_CLASSES+=                        mirbsd-paths
 SUBST_STAGE.mirbsd-paths=      pre-configure
 SUBST_FILES.mirbsd-paths=      hints/mirbsd.sh

Index: pkgsrc/lang/perl5/Makefile.common
diff -u pkgsrc/lang/perl5/Makefile.common:1.33 pkgsrc/lang/perl5/Makefile.common:1.34
--- pkgsrc/lang/perl5/Makefile.common:1.33      Fri Apr 27 09:44:27 2018
+++ pkgsrc/lang/perl5/Makefile.common   Wed Aug 22 08:37:46 2018
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.33 2018/04/27 09:44:27 adam Exp $
+# $NetBSD: Makefile.common,v 1.34 2018/08/22 08:37:46 wiz Exp $
 #
 # used by lang/perl5/Makefile
 # used by databases/p5-gdbm/Makefile
 
-DISTNAME=      perl-5.26.2
+DISTNAME=      perl-5.28.0
 CATEGORIES=    lang devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:S,/modules/by-module/$,/src/5.0/,}
 DISTFILES+=    ${DISTNAME}${EXTRACT_SUFX}

Index: pkgsrc/lang/perl5/distinfo
diff -u pkgsrc/lang/perl5/distinfo:1.150 pkgsrc/lang/perl5/distinfo:1.151
--- pkgsrc/lang/perl5/distinfo:1.150    Fri Apr 27 09:44:27 2018
+++ pkgsrc/lang/perl5/distinfo  Wed Aug 22 08:37:46 2018
@@ -1,28 +1,17 @@
-$NetBSD: distinfo,v 1.150 2018/04/27 09:44:27 adam Exp $
+$NetBSD: distinfo,v 1.151 2018/08/22 08:37:46 wiz Exp $
 
-SHA1 (perl-5.26.2.tar.xz) = bfa5c7921ed7bf5e035dbf2f7ff81367b81e372c
-RMD160 (perl-5.26.2.tar.xz) = 45a0bc31f57b786ebe1273b7e5070e6e1bf59c7b
-SHA512 (perl-5.26.2.tar.xz) = fd54c90da250144c81b94587c01c49fa367f84c54406f1d360ddab4a41589a7b19efc1707f95c95d6357fae66fc3f6f00bf69dd7741db114c7034a14f52be65f
-Size (perl-5.26.2.tar.xz) = 11931624 bytes
-SHA1 (patch-Configure) = 6f3aa5c8d971e2c58dbd3e348f9edd59e298c181
-SHA1 (patch-MANIFEST) = b27b0e1754fe2c4484931219fa17c562db88d41a
+SHA1 (perl-5.28.0.tar.xz) = c0e9e7a0dea97ec9816687d865fd461a99ef185c
+RMD160 (perl-5.28.0.tar.xz) = 34c9ad0560a2eed134e09282696bfae307cbeb6a
+SHA512 (perl-5.28.0.tar.xz) = de701e37371b81cecf06098bb2c09017bde9cebaf9537d58838d0adf605ac2ecf739897b0a73576a7adb74d4cf65591ec4d2ed1f94b7191e695f88cb7e214a39
+Size (perl-5.28.0.tar.xz) = 12410536 bytes
+SHA1 (patch-Configure) = e4ae2c84bece8823ec1bf98415706b4d2491a5e9
 SHA1 (patch-Makefile.SH) = e9353181a286f52303d09cb4ce0b2c04ec104217
 SHA1 (patch-aa) = 3a2b39c9eb903e68ef7d03ae448c51c147c19aa1
 SHA1 (patch-ab) = 0ad5988b7cadfb13d9646a59a57f6cf884a6238a
 SHA1 (patch-ac) = 4baa8f80695687abb53d4f4e1830cf86db5b2bf7
-SHA1 (patch-aq) = 4bf5a76f0277b0939b2ca7720f4bb045a788b5cc
 SHA1 (patch-caretx.c) = 9f53a9133f8dd2f962b448d7288b5b20454c86fb
-SHA1 (patch-cflags.SH) = 2ac2cf326d332976f676b0f56d3cf4a68a186922
-SHA1 (patch-ch) = 5b6a89c82e158bab0a5f06add48c28e600678099
-SHA1 (patch-ck) = 483e93a782e5627d3c7334d930ee11010fe7f7d8
-SHA1 (patch-cn) = d1877383e213a414562b5bb4c1e8aa785926fab7
-SHA1 (patch-cpan_File-Path_lib_File_Path.pm) = e8a08e7e7fdbebabbeef7eaa651147353eedbfd7
-SHA1 (patch-ext_Errno_Errno__pm.PL) = 4f135e267da17de38f8f1e7e03d5209bfd09a323
-SHA1 (patch-ext_File-Glob_bsd_glob.c) = e43252b55f04bb1cd69d48e8155aa110532c9fbe
-SHA1 (patch-ext_File-Glob_t_rt131211.t) = 9aeddad078cdc920e64ed2e73f952be341745d7e
+SHA1 (patch-cflags.SH) = 7ad64e5a17b876bff4bbe238abc4a57354acf4fe
 SHA1 (patch-hints_cygwin.sh) = 1b21d927d6b7379754c4cd64a2b05d3632c35470
 SHA1 (patch-hints_netbsd.sh) = 0d549a48800372d75fe34b783529a78cba90f646
-SHA1 (patch-hints_sco.sh) = 8d43cdc0632799e1cdb5dc6fdb968052a9ae4216
 SHA1 (patch-hints_solaris__2.sh) = 0e54889648a6f0f2a0232c5e01bef89d245c213d
 SHA1 (patch-ta) = a9d13eeec22733e4087942f217a0d47a19498a6f
-SHA1 (patch-ze) = d6fb718a1417e37a7d6bee1ae89fe2beec51c81b

Index: pkgsrc/lang/perl5/patches/patch-Configure
diff -u pkgsrc/lang/perl5/patches/patch-Configure:1.5 pkgsrc/lang/perl5/patches/patch-Configure:1.6
--- pkgsrc/lang/perl5/patches/patch-Configure:1.5       Fri Jan 12 11:32:21 2018
+++ pkgsrc/lang/perl5/patches/patch-Configure   Wed Aug 22 08:37:46 2018
@@ -1,4 +1,4 @@
-$NetBSD: patch-Configure,v 1.5 2018/01/12 11:32:21 jperkin Exp $
+$NetBSD: patch-Configure,v 1.6 2018/08/22 08:37:46 wiz Exp $
 
 * Use "uname -r" to get OS version for *BSD.
 * Move $loclibpth to the end of $dlist, instead of the beginning.
@@ -6,9 +6,9 @@ $NetBSD: patch-Configure,v 1.5 2018/01/1
 * Honor more ldflags in shared objects.
 * Several other changes.
 
---- Configure.orig     2017-09-22 14:27:02.000000000 +0000
+--- Configure.orig     2018-05-21 12:29:23.000000000 +0000
 +++ Configure
-@@ -3485,13 +3485,14 @@ EOM
+@@ -3471,13 +3471,14 @@ EOM
                        osvers="$3"
                        ;;
                dragonfly) osname=dragonfly
@@ -25,7 +25,7 @@ $NetBSD: patch-Configure,v 1.5 2018/01/1
                genix)  osname=genix ;;
                gnu)    osname=gnu
                        osvers="$3" ;;
-@@ -3514,7 +3515,7 @@ EOM
+@@ -3500,7 +3501,7 @@ EOM
                MiNT)   osname=mint
                        ;;
                netbsd*) osname=netbsd
@@ -34,16 +34,16 @@ $NetBSD: patch-Configure,v 1.5 2018/01/1
                        ;;
                news-os) osvers="$3"
                        case "$3" in
-@@ -3524,7 +3525,7 @@ EOM
+@@ -3510,7 +3511,7 @@ EOM
                        ;;
                nonstop-ux) osname=nonstopux ;;
                openbsd) osname=openbsd
--                      osvers="$3"
-+                      osvers=`$uname -r | UU/tr '[A-Z]' '[a-z]'`
-                       ;;
+-                      osvers="$3"
++                      osvers=`$uname -r | UU/tr '[A-Z]' '[a-z]'`
+                       ;;
                os2)    osname=os2
                        osvers="$4"
-@@ -3539,6 +3540,9 @@ EOM
+@@ -3525,6 +3526,9 @@ EOM
                qnx) osname=qnx
                        osvers="$4"
                        ;;
@@ -53,7 +53,7 @@ $NetBSD: patch-Configure,v 1.5 2018/01/1
                solaris) osname=solaris
                        case "$3" in
                        5*) osvers=`echo $3 | $sed 's/^5/2/g'` ;;
-@@ -4977,7 +4981,7 @@ esac
+@@ -4963,7 +4967,7 @@ esac
  # If using gcc or clang, we can get better values for libpth, incpth
  # and usrinc directly from the compiler.
  # Note that ccname for clang is also gcc.
@@ -62,7 +62,7 @@ $NetBSD: patch-Configure,v 1.5 2018/01/1
      gcc)
        $echo 'extern int foo;' > try.c
        set X `$cppstdin -v try.c 2>&1 | $awk '/^#include </,/^End of search /'|$cppfilter $grep '/include'`
-@@ -5053,14 +5057,14 @@ case "$plibpth" in
+@@ -5039,14 +5043,14 @@ case "$plibpth" in
  esac
  case "$libpth" in
  ' ') dlist='';;
@@ -79,7 +79,7 @@ $NetBSD: patch-Configure,v 1.5 2018/01/1
                case " $libpth " in
                *" $xxx "*) ;;
                *) libpth="$libpth $xxx";;
-@@ -5176,7 +5180,7 @@ lib_ext=$_a
+@@ -5162,7 +5166,7 @@ lib_ext=$_a
  obj_ext=$_o
  path_sep=$p_
  
@@ -88,7 +88,7 @@ $NetBSD: patch-Configure,v 1.5 2018/01/1
  
  : Which makefile gets called first.  This is used by make depend.
  case "$firstmakefile" in
-@@ -5507,7 +5511,7 @@ default|recommended)
+@@ -5493,7 +5497,7 @@ default|recommended)
        # thing. (NWC)
        case "$osname" in
        amigaos) ;; # -fstack-protector builds but doesn't work
@@ -97,7 +97,7 @@ $NetBSD: patch-Configure,v 1.5 2018/01/1
                ?*)     set stack-protector-strong -fstack-protector-strong
                        eval $checkccflag
                        case "$dflt" in
-@@ -6492,6 +6496,15 @@ case "$nm_so_opt" in
+@@ -6477,6 +6481,15 @@ case "$nm_so_opt" in
        ;;
  esac
  
@@ -113,7 +113,7 @@ $NetBSD: patch-Configure,v 1.5 2018/01/1
  : Figure out where the libc is located
  case "$runnm" in
  true)
-@@ -7626,7 +7639,9 @@ rp='Pathname for the site-specific libra
+@@ -7604,7 +7617,9 @@ rp='Pathname for the site-specific libra
  . ./getfile
  prefixvar=sitelib
  . ./setprefixvar
@@ -124,7 +124,7 @@ $NetBSD: patch-Configure,v 1.5 2018/01/1
  
  : Determine list of previous versions to include in @INC
  $cat > getverlist <<EOPL
-@@ -8038,7 +8053,9 @@ case "$vendorprefix" in
+@@ -8015,7 +8030,9 @@ case "$vendorprefix" in
        vendorlibexp="$ansexp"
        ;;
  esac
@@ -135,7 +135,7 @@ $NetBSD: patch-Configure,v 1.5 2018/01/1
  prefixvar=vendorlib
  . ./installprefix
  
-@@ -8580,6 +8597,7 @@ EOM
+@@ -8511,6 +8528,7 @@ EOM
                          esac
                          ;;
                    *linux*|irix*|gnu*)  dflt="-shared $optimize" ;;
@@ -143,7 +143,7 @@ $NetBSD: patch-Configure,v 1.5 2018/01/1
                    solaris) # See [perl #66604].
                            # On Solaris 11, gcc -m64 on amd64
                            # appears not to understand -G.  gcc versions at
-@@ -8619,7 +8637,7 @@ EOM
+@@ -8550,7 +8568,7 @@ EOM
        esac
        for thisflag in $ldflags; do
            case "$thisflag" in
@@ -152,7 +152,7 @@ $NetBSD: patch-Configure,v 1.5 2018/01/1
                    case " $dflt " in
                        *" $thisflag "*) ;;
                        *) dflt="$dflt $thisflag" ;;
-@@ -8878,6 +8896,10 @@ if "$useshrplib"; then
+@@ -8809,6 +8827,10 @@ if "$useshrplib"; then
        bsdos|linux|irix*|dec_osf|gnu*|haiku)
                xxx="-Wl,-rpath,$shrpdir"
                ;;
@@ -163,7 +163,7 @@ $NetBSD: patch-Configure,v 1.5 2018/01/1
        hpux*)
                # hpux doesn't like the default, either.
                tmp_shrpenv="env LDOPTS=\"+s +b${shrpdir}\""
-@@ -8885,6 +8907,9 @@ if "$useshrplib"; then
+@@ -8816,6 +8838,9 @@ if "$useshrplib"; then
        cygwin)
                # cygwin needs only ldlibpth
                ;;
@@ -173,7 +173,7 @@ $NetBSD: patch-Configure,v 1.5 2018/01/1
        *)
                tmp_shrpenv="env LD_RUN_PATH=$shrpdir"
                ;;
-@@ -9966,6 +9991,13 @@ esac
+@@ -9896,6 +9921,13 @@ esac
  : Check if we want perlio
  useperlio="$define"
  
@@ -187,7 +187,7 @@ $NetBSD: patch-Configure,v 1.5 2018/01/1
  : Set the vendorbin variables
  case "$vendorprefix" in
  '')   d_vendorbin="$undef"
-@@ -20424,7 +20456,15 @@ RCAT(Rei,ser)
+@@ -19825,7 +19857,15 @@ RCAT(Rei,ser)
  ACAT(Cir,cus)
  EOCP
  $cppstdin $cppflags $cppminus <cpp_stuff.c >cpp_stuff.out 2>&1
@@ -204,7 +204,7 @@ $NetBSD: patch-Configure,v 1.5 2018/01/1
        echo "Oh!  Smells like ANSI's been here." >&4
        echo "We can catify or stringify, separately or together!"
        cpp_stuff=42
-@@ -23296,6 +23336,21 @@ eval $inhdr
+@@ -22641,6 +22681,21 @@ eval $inhdr
  set fenv.h i_fenv
  eval $inhdr
  
@@ -226,7 +226,7 @@ $NetBSD: patch-Configure,v 1.5 2018/01/1
  : see if this is a fp.h system
  set fp.h i_fp
  eval $inhdr
-@@ -25665,4 +25720,3 @@ $rm -f kit*isdone ark*isdone
+@@ -25015,4 +25070,3 @@ $rm -f kit*isdone ark*isdone
  $rm -rf UU
  
  : End of Configure

Index: pkgsrc/lang/perl5/patches/patch-cflags.SH
diff -u pkgsrc/lang/perl5/patches/patch-cflags.SH:1.2 pkgsrc/lang/perl5/patches/patch-cflags.SH:1.3
--- pkgsrc/lang/perl5/patches/patch-cflags.SH:1.2       Mon Jan 15 10:07:50 2018
+++ pkgsrc/lang/perl5/patches/patch-cflags.SH   Wed Aug 22 08:37:46 2018
@@ -1,15 +1,15 @@
-$NetBSD: patch-cflags.SH,v 1.2 2018/01/15 10:07:50 jperkin Exp $
+$NetBSD: patch-cflags.SH,v 1.3 2018/08/22 08:37:46 wiz Exp $
 
 Don't add -std=c89 or -ansi, requires c99.
 
---- cflags.SH.orig     2017-07-18 22:49:30.000000000 +0000
+--- cflags.SH.orig     2018-05-21 12:29:23.000000000 +0000
 +++ cflags.SH
-@@ -186,7 +186,7 @@ Intel*) ;; # # Is that you, Intel C++?
+@@ -178,7 +178,7 @@ Intel*) ;; # # Is that you, Intel C++?
  # -std=c89 before -ansi
  # -pedantic* before -Werror=d-a-s
  #
 -*)  for opt in -std=c89 -ansi $pedantic \
 +*)  for opt in $pedantic \
                -Werror=declaration-after-statement \
+               -Werror=pointer-arith \
                -Wextra -W \
-               -Wc++-compat -Wwrite-strings



Home | Main Index | Thread Index | Old Index