diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index a86c9fefaa4..7337bf361a4 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -248,7 +248,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n | [`patch`](patch/) | patch (GNU) | 2.7.6 | https://savannah.gnu.org/projects/patch/ | | [`pcre`](pcre/) | Perl-compatible Regular Expressions (PCRE) | 8.45 | https://www.pcre.org/ | | [`pcre2`](pcre2/) | Perl-compatible Regular Expressions (PCRE2) | 10.42 | https://www.pcre.org/ | -| [`perl5`](perl5/) | Perl | 5.38.0 | https://www.perl.org/ | +| [`perl5`](perl5/) | Perl | 5.38.2 | https://www.perl.org/ | | [`pfetch`](pfetch/) | pfetch | a906ff8 | https://github.com/dylanaraps/pfetch/ | | [`php`](php/) | PHP | 8.2.10 | https://www.php.net/ | | [`pixman`](pixman/) | pixman | 0.42.2 | http://pixman.org | diff --git a/Ports/perl5/package.sh b/Ports/perl5/package.sh index dd376c35127..49ed1726cf6 100755 --- a/Ports/perl5/package.sh +++ b/Ports/perl5/package.sh @@ -1,10 +1,11 @@ #!/usr/bin/env -S bash ../.port_include.sh port='perl5' -version='5.38.0' +version='5.38.2' +cross_version='1.5.2' useconfigure='true' files=( - "https://www.cpan.org/src/5.0/perl-${version}.tar.xz#eca551caec3bc549a4e590c0015003790bdd1a604ffe19cc78ee631d51f7072e" - "https://github.com/arsv/perl-cross/releases/download/1.5/perl-cross-1.5.tar.gz#d744a390939e2ebb9a12f6725b4d9c19255a141d90031eff90ea183fdfcbf211" + "https://www.cpan.org/src/5.0/perl-${version}.tar.xz#d91115e90b896520e83d4de6b52f8254ef2b70a8d545ffab33200ea9f1cf29e8" + "https://github.com/arsv/perl-cross/releases/download/${cross_version}/perl-cross-${cross_version}.tar.gz#584dc54c48dca25e032b676a15bef377c1fed9de318b4fc140292a5dbf326e90" ) configopts=( '-Dosname=serenity' @@ -27,7 +28,7 @@ fi post_fetch() { run chmod -R +rw "${PWD}/perl-${version}"* - run cp -r "${PWD}/perl-cross-1.5/"* "${PWD}/perl-${version}/" + run cp -r "${PWD}/perl-cross-${cross_version}/"* "${PWD}/perl-${version}/" if [ "$(uname -s)" = 'Darwin' ]; then cat <<- 'EOH' > "${PWD}/perl-${version}/readelf"