summaryrefslogtreecommitdiff
path: root/system/perl
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2024-03-02 15:45:07 -0800
committerZach van Rijn <me@zv.io>2024-03-20 04:39:06 +0000
commitb6ad4ec8727391254c4e55766fb54d8d09f9d2f9 (patch)
tree4ed66f8657241fdf7db578c91267c62b875a6b69 /system/perl
parent662177c57824de6ead2cddbd8e562c2c58b75192 (diff)
downloadpackages-b6ad4ec8727391254c4e55766fb54d8d09f9d2f9.tar.gz
packages-b6ad4ec8727391254c4e55766fb54d8d09f9d2f9.tar.bz2
packages-b6ad4ec8727391254c4e55766fb54d8d09f9d2f9.tar.xz
packages-b6ad4ec8727391254c4e55766fb54d8d09f9d2f9.zip
system/perl: update Getopt::Long, yeet xsubpp.1
Diffstat (limited to 'system/perl')
-rw-r--r--system/perl/APKBUILD15
1 files changed, 13 insertions, 2 deletions
diff --git a/system/perl/APKBUILD b/system/perl/APKBUILD
index f35ed19c1..9134c50b2 100644
--- a/system/perl/APKBUILD
+++ b/system/perl/APKBUILD
@@ -4,7 +4,11 @@
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl
pkgver=5.34.3
-pkgrel=0
+_glver=2.57
+_glauthor=JV
+_glau=${_glauthor%%"${_glauthor#??}"}
+_gla=${_glauthor%%"${_glauthor#?}"}
+pkgrel=1
pkgdesc="Larry Wall's Practical Extraction and Report Language"
url="https://www.perl.org/"
arch="all"
@@ -20,6 +24,7 @@ source="https://www.cpan.org/src/5.0/perl-$pkgver.tar.gz
fix-test-chris-williams-tcp-server.patch
cve-2023-31484.patch
cve-2023-31486.patch
+ https://cpan.metacpan.org/authors/id/$_gla/$_glau/$_glauthor/Getopt-Long-$_glver.tar.gz
"
# secfixes:
@@ -54,6 +59,10 @@ prepare() {
rm -rf cpan/Compress-Raw-Zlib/zlib-src
rm -rf cpan/Compress-Raw-Bzip2/bzip2-src
sed -i '/\(bzip2\|zlib\)-src/d' MANIFEST
+ for i in lib t; do
+ rm -rf cpan/Getopt-Long/$i
+ cp -r "$srcdir"/Getopt-Long-$_glver/$i cpan/Getopt-Long
+ done
}
build() {
@@ -110,6 +119,7 @@ package() {
find "$pkgdir" -name '.*' -delete
rm "$pkgdir"/usr/share/man/man1/prove.1
+ rm "$pkgdir"/usr/share/man/man1/xsubpp.1
rm -r "$pkgdir"/usr/share/man/man3
rm "$pkgdir"/usr/bin/xsubpp
@@ -134,4 +144,5 @@ c004d6612ec754e5947255a2e2d15b5581f187c32495aeeec9f4fa286919bd9f40c72b63db61e3f4
bbb2beb49604982c42c833b229852bc8bca4e3498f97fcfbb3bf7de10dddbef3b21c917f333958c64feb99a65f4093773e33018ae0e91dadeecdf985ab0ed3a2 zlib-test.patch
1cf3365942a6447083e7487e3b79e1a57d3b08dad9cadb86f44bdda3bd7882fe5d71ebb4fab12a0663d4c0d4c1566d593be10ea46ecf892926528a9ae31328b9 fix-test-chris-williams-tcp-server.patch
dd60c8db64f648a88aaaca0eb4e6cd4b29e9bf47f92cac54958c1d12573fe8181eb5da2144650c15da7f8e59a06243ac859ec57be5c0e5fd88fc7ec1b1982083 cve-2023-31484.patch
-89195c2398196f1730b9dfc3adb87694007bb5f3b663d058056d323388e7858c8201aaddd733b1dbeaf4a5cc0989a39b78177897ee144c35ffb66bc30616eef4 cve-2023-31486.patch"
+89195c2398196f1730b9dfc3adb87694007bb5f3b663d058056d323388e7858c8201aaddd733b1dbeaf4a5cc0989a39b78177897ee144c35ffb66bc30616eef4 cve-2023-31486.patch
+6b07f683b6f1371bc7f9b018ec659c049d58de25194965c6e2ba3a288e6802ba07257aa5d447bc082f0481d0956798d9f17521faf6a31d896bb3be0d17953b49 Getopt-Long-2.57.tar.gz"