Skip to content
Snippets Groups Projects
Commit 912943c6 authored by Leo's avatar Leo
Browse files

main/perl: upgrade to 5.30.2

parent df968d37
No related branches found
No related tags found
No related merge requests found
......@@ -2,12 +2,12 @@
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Contributor: Valery Kartel <valery.kartel@gmail.com>
pkgname=perl
pkgver=5.30.1
pkgver=5.30.2
pkgrel=0
pkgdesc="Larry Wall's Practical Extraction and Report Language"
url="https://www.perl.org/"
arch="all"
license="Artistic GPL-2.0"
license="Artistic-Perl OR GPL-1.0-or-later"
options="!fhs"
depends_dev="perl-utils"
makedepends="bzip2-dev zlib-dev"
......@@ -34,7 +34,6 @@ source="https://www.cpan.org/src/5.0/perl-$pkgver.tar.gz
# - CVE-2017-12837
# - CVE-2017-12883
builddir="$srcdir/$pkgname-$pkgver"
_privlib=/usr/share/perl5/core_perl
_archlib=/usr/lib/perl5/core_perl
......@@ -42,7 +41,6 @@ _archlib=/usr/lib/perl5/core_perl
prepare() {
chmod +w "$builddir"/*.c
default_prepare
cd "$builddir"
sed -e 's/less -R/less/g' \
-e 's/libswanted="\(.*\) nsl\(.*\)"/libswanted="\1\2"/g' \
-i ./Configure
......@@ -54,7 +52,6 @@ prepare() {
}
build() {
cd "$builddir"
BUILD_ZLIB=0
BUILD_BZIP2=0
BZIP2_LIB=/usr/lib
......@@ -93,14 +90,12 @@ build() {
}
check() {
cd "$builddir"
export CI=true
export LC_ALL=C
make test-notty
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
if [ -n "$(find $pkgdir/usr/local -type f)" ]; then
error "files found under /usr/local"
......@@ -166,7 +161,7 @@ utils() {
done
}
sha512sums="88dbd5dcd40d334dc9265ed3a4f2524f26d527e81989985cd2b4dbed079b8c10c6f76d589cdc5244b9a8477698d42b6a0a700c676e03329e606d4ce4d6cf28e0 perl-5.30.1.tar.gz
sha512sums="e10b1fba8fb454d94b01bdda2179d5b0f22cbfdd6b67ab91b64a272838fd8b3e476d79f216dc5ebc74f5dbde5666e6efed54c526801592a60418d12f1b1f39bc perl-5.30.2.tar.gz
a78b5fb1a2b6f60b401329cfd2d8349d4fdcc19628cde0e9b840b82e1a02e705f7d7413fe206aa13ed714ab93a65b62ac3d85dfd526ca8048621d5d89b22f0ef musl-locale.patch
3eaec691bc38e208ba4f34130ae45e50b6c339fa50093d0b0f6d7f24cb5b7c2a3734ca714a279c4b51173f82e46a8e7a3e70bfc7d7471a18c55a2102140e4186 musl-skip-dst-test.patch
4e7a3be3291a851b41e484daf5b87d5bc6e372a6f1aea7ad0718fec24fda3719286baa97045255d5d7c0a327a533ff6c32e1bf4d8436550f328fb9b5e602d727 skip-test-due-to-busybox-ps.patch"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment