aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-10-10 09:13:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-10-10 09:16:04 +0000
commit61d4fc18a12649178a385098bef8dd327feae4b8 (patch)
tree700803c634e6484b7e01a05e687c7b2890e839f9
parent933cdbb71e6d0e6208bc86aebe8706b1d880c3c1 (diff)
downloadaports-61d4fc18a12649178a385098bef8dd327feae4b8.tar.bz2
aports-61d4fc18a12649178a385098bef8dd327feae4b8.tar.xz
main/perl: security upgrade to 5.26.1 (CVE-2017-12837,CVE-2017-12883)
fixes #7897
-rw-r--r--main/perl/APKBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/main/perl/APKBUILD b/main/perl/APKBUILD
index 4e7c46cfca..7062f00973 100644
--- a/main/perl/APKBUILD
+++ b/main/perl/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Contributor: Valery Kartel <valery.kartel@gmail.com>
pkgname=perl
-pkgver=5.26.0
+pkgver=5.26.1
pkgrel=0
pkgdesc="Larry Wall's Practical Extraction and Report Language"
url="http://www.perl.org/"
@@ -15,12 +15,19 @@ makedepends=""
subpackages="$pkgname-doc $pkgname-dev $pkgname-utils::noarch miniperl"
source="http://www.cpan.org/src/5.0/perl-$pkgver.tar.gz
"
+
+# secfixes:
+# 5.26.1-r0:
+# - CVE-2017-12837
+# - CVE-2017-12883
+
builddir="$srcdir/$pkgname-$pkgver"
_privlib=/usr/share/perl5/core_perl
_archlib=/usr/lib/perl5/core_perl
prepare() {
+ chmod +w "$builddir"/*.c
default_prepare || return 1
cd "$builddir"
sed -e 's/less -R/less/g' \
@@ -129,4 +136,4 @@ utils() {
done
}
-sha512sums="a99e44660df82ebd840ea5662c3a044d83ced878ad7e6c86c71ceaee18ce51f83878c275b14c8b039a0d298f818b0064bf8b0087d5b478e95159825728ff187b perl-5.26.0.tar.gz"
+sha512sums="098a08f1dd0dbc065cc2d93752a5b320e63d665a80392f7c4d83e807f05762d34c70c99d80bc8085512f5653f9a4b54edb5a8973aba240d41c211ebbd630209f perl-5.26.1.tar.gz"