summaryrefslogtreecommitdiff
path: root/lang/perl5
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-04-27 09:44:27 +0000
committeradam <adam@pkgsrc.org>2018-04-27 09:44:27 +0000
commitaba2b7daf050e4f207d361838c695da6160eb43a (patch)
tree70f9ee41e0818bb6e490fd7ccc7a65876972e8dc /lang/perl5
parent9b125c0d47a111379502355f8d127edb5743c275 (diff)
downloadpkgsrc-aba2b7daf050e4f207d361838c695da6160eb43a.tar.gz
perl5: updated to 5.26.2
5.26.2: Security [CVE-2018-6797] heap-buffer-overflow (WRITE of size 1) in S_regatom (regcomp.c) A crafted regular expression could cause a heap buffer write overflow, with control over the bytes written. [CVE-2018-6798] Heap-buffer-overflow in Perl__byte_dump_string (utf8.c) Matching a crafted locale dependent regular expression could cause a heap buffer read overflow and potentially information disclosure. [CVE-2018-6913] heap-buffer-overflow in S_pack_rec pack() could cause a heap buffer write overflow with a large item count. Assertion failure in Perl__core_swash_init (utf8.c) Control characters in a supposed Unicode property name could cause perl to crash. This has been fixed. Updated Modules and Pragmata Module::CoreList has been upgraded from version 5.20170922_26 to 5.20180414_26. PerlIO::via has been upgraded from version 0.16 to 0.17. Term::ReadLine has been upgraded from version 1.16 to 1.17. Unicode::UCD has been upgraded from version 0.68 to 0.69. Selected Bug Fixes The readpipe() built-in function now checks at compile time that it has only one parameter expression, and puts it in scalar context, thus ensuring that it doesn't corrupt the stack at runtime. Fixed a use after free bug in pp_list introduced in Perl 5.27.1. Parsing a sub definition could cause a use after free if the sub keyword was followed by whitespace including newlines (and comments). The tokenizer now correctly adjusts a parse pointer when skipping whitespace in an ${identifier} construct. Accesses to ${^LAST_FH} no longer assert after using any of a variety of I/O operations on a non-glob. sort now performs correct reference counting when aliasing $a and $b, thus avoiding premature destruction and leakage of scalars if they are re-aliased during execution of the sort comparator. Some convoluted kinds of regexp no longer cause an arithmetic overflow when compiled. Fixed a duplicate symbol failure with -flto -mieee-fp builds. pp.c defined _LIB_VERSION which -lieee already defines. A NULL pointer dereference in the S_regmatch() function has been fixed. Failures while compiling code within other constructs, such as with string interpolation and the right part of s///e now cause compilation to abort earlier.
Diffstat (limited to 'lang/perl5')
-rw-r--r--lang/perl5/Makefile3
-rw-r--r--lang/perl5/Makefile.common6
-rw-r--r--lang/perl5/distinfo10
3 files changed, 9 insertions, 10 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index ca6feeafb3e..1bb975024ca 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.244 2018/01/12 11:32:20 jperkin Exp $
+# $NetBSD: Makefile,v 1.245 2018/04/27 09:44:27 adam Exp $
.include "license.mk"
.include "Makefile.common"
-PKGREVISION= 2
COMMENT= Practical Extraction and Report Language
CONFLICTS+= perl-base-[0-9]* perl-thread-[0-9]*
diff --git a/lang/perl5/Makefile.common b/lang/perl5/Makefile.common
index 4586ff0c05b..442fab3ce68 100644
--- a/lang/perl5/Makefile.common
+++ b/lang/perl5/Makefile.common
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile.common,v 1.32 2017/10/04 12:54:17 he Exp $
+# $NetBSD: Makefile.common,v 1.33 2018/04/27 09:44:27 adam Exp $
#
# used by lang/perl5/Makefile
# used by databases/p5-gdbm/Makefile
-DISTNAME= perl-5.26.1
+DISTNAME= perl-5.26.2
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:S,/modules/by-module/$,/src/5.0/,}
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
-EXTRACT_SUFX= .tar.bz2
+EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.perl.org/
diff --git a/lang/perl5/distinfo b/lang/perl5/distinfo
index 00c3fa0b869..92c9ab4cc3d 100644
--- a/lang/perl5/distinfo
+++ b/lang/perl5/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.149 2018/01/15 10:07:50 jperkin Exp $
+$NetBSD: distinfo,v 1.150 2018/04/27 09:44:27 adam Exp $
-SHA1 (perl-5.26.1.tar.bz2) = fadec45b7b48a06b3d2adab91c13f568dce717cd
-RMD160 (perl-5.26.1.tar.bz2) = fff5bf2e6ad6488b8866bf300c32707972b8ffc6
-SHA512 (perl-5.26.1.tar.bz2) = 821a4b78a22d24d6f79b56f68ed4a36db24bddc4dbe36c9d2622cd15d7abf6548186c037dea3d3745c1781af83339d0b54297f8094aa538046c0e57a953b5547
-Size (perl-5.26.1.tar.bz2) = 14492844 bytes
+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 (patch-Makefile.SH) = e9353181a286f52303d09cb4ce0b2c04ec104217