summaryrefslogtreecommitdiff
path: root/system/pcre2/APKBUILD
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2020-03-16 18:32:38 -0500
committerMax Rees <maxcrees@me.com>2020-03-19 22:21:24 -0500
commit6439676870ecce7b71fff1a21eb944f911207e24 (patch)
tree65e5f39059306d5ceba88535c76f2bc2561733a5 /system/pcre2/APKBUILD
parent4457bb5bf106a91ed131a506269c5e09606c6f57 (diff)
downloadpackages-6439676870ecce7b71fff1a21eb944f911207e24.tar.gz
packages-6439676870ecce7b71fff1a21eb944f911207e24.tar.bz2
packages-6439676870ecce7b71fff1a21eb944f911207e24.tar.xz
packages-6439676870ecce7b71fff1a21eb944f911207e24.zip
system/pcre2: patch CVE-2019-20454 (#242)
Diffstat (limited to 'system/pcre2/APKBUILD')
-rw-r--r--system/pcre2/APKBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/system/pcre2/APKBUILD b/system/pcre2/APKBUILD
index 7bca0e450..4120d0a7b 100644
--- a/system/pcre2/APKBUILD
+++ b/system/pcre2/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=pcre2
pkgver=10.33
-pkgrel=0
+pkgrel=1
pkgdesc="Perl-compatible regular expression library"
url="https://pcre.org"
arch="all"
@@ -12,7 +12,13 @@ depends_dev="libedit-dev zlib-dev"
makedepends="$depends_dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools
libpcre2-16:_libpcre libpcre2-32:_libpcre"
-source="https://ftp.pcre.org/pub/pcre/$pkgname-$pkgver.tar.gz"
+source="https://ftp.pcre.org/pub/pcre/$pkgname-$pkgver.tar.gz
+ CVE-2019-20454.patch
+ "
+
+# secfixes:
+# 10.33-r1:
+# - CVE-2019-20454
case "$CARCH" in
s390x) _enable_jit="";;
@@ -62,4 +68,5 @@ tools() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
-sha512sums="649983c7725e2fd2451ba89243b4c08c408fc279b7be3b2d225045cced3b0667ff6da4c9dd37510eb9e5aed6478aff54c2dbd1d92f4d0f1174579df9ec2c1882 pcre2-10.33.tar.gz"
+sha512sums="649983c7725e2fd2451ba89243b4c08c408fc279b7be3b2d225045cced3b0667ff6da4c9dd37510eb9e5aed6478aff54c2dbd1d92f4d0f1174579df9ec2c1882 pcre2-10.33.tar.gz
+07c43ccf130c1ed2b4f97036671f92e9c1d0100fd32c053b448e5dbdf976543c12f74568e37b661db7fbd603e815f5683a59cb2a9f9c307505dca3cb36db8120 CVE-2019-20454.patch"