summaryrefslogtreecommitdiff
path: root/user/oniguruma/APKBUILD
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-08-04 02:40:15 -0500
committerMax Rees <maxcrees@me.com>2019-08-04 02:40:15 -0500
commita56c0dd10c073ab24e27e7d4525d80e4418b4182 (patch)
treea98c9bc65e4dfb2dd5603b0ec50863e3d6bb21b8 /user/oniguruma/APKBUILD
parentf66041941e3b1ab8ec01bad5b41717f75c65c8db (diff)
downloadpackages-a56c0dd10c073ab24e27e7d4525d80e4418b4182.tar.gz
packages-a56c0dd10c073ab24e27e7d4525d80e4418b4182.tar.bz2
packages-a56c0dd10c073ab24e27e7d4525d80e4418b4182.tar.xz
packages-a56c0dd10c073ab24e27e7d4525d80e4418b4182.zip
user/oniguruma: patch for CVE-2019-13224 and 13225 (#155)
Diffstat (limited to 'user/oniguruma/APKBUILD')
-rw-r--r--user/oniguruma/APKBUILD15
1 files changed, 12 insertions, 3 deletions
diff --git a/user/oniguruma/APKBUILD b/user/oniguruma/APKBUILD
index 7df3e3af5..b62084508 100644
--- a/user/oniguruma/APKBUILD
+++ b/user/oniguruma/APKBUILD
@@ -3,15 +3,22 @@
# Maintainer: Samuel Holland <samuel@sholland.org>
pkgname=oniguruma
pkgver=6.9.2
-pkgrel=0
+pkgrel=1
pkgdesc="A regular expression library"
url="https://github.com/kkos/oniguruma"
arch="all"
license="BSD-2-Clause"
subpackages="$pkgname-dev"
-source="https://github.com/kkos/$pkgname/releases/download/v$pkgver/onig-$pkgver.tar.gz"
+source="https://github.com/kkos/$pkgname/releases/download/v$pkgver/onig-$pkgver.tar.gz
+ CVE-2019-13224.patch
+ CVE-2019-13225.patch"
builddir="$srcdir/onig-$pkgver"
+# secfixes:
+# 6.9.2-r1:
+# - CVE-2019-13224
+# - CVE-2019-13225
+
build() {
./configure \
--build=$CBUILD \
@@ -32,4 +39,6 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="c10134e42a3c0b0eeae2027ffb7a3e1bcc9228dee286f6b6e997f8a73d717217fa74de0e19c40975d2e78044c8c4f029eb622f90c8eb4fdc4667eb4804e97001 onig-6.9.2.tar.gz"
+sha512sums="c10134e42a3c0b0eeae2027ffb7a3e1bcc9228dee286f6b6e997f8a73d717217fa74de0e19c40975d2e78044c8c4f029eb622f90c8eb4fdc4667eb4804e97001 onig-6.9.2.tar.gz
+7f1b42e1ceb6e9addf87bbd456848afd9db3b721352157e3a7362354c3a4cabd58fac202d199d9f9c2f08f0c5c98e3de8583367e7716028278dae96c3d6bb43a CVE-2019-13224.patch
+4c1df67369055f945c49d579c3f2ae5ffc41bb1c8a2510555908f07691c669b290accd9152f017e02a2a21f8a365c9ffd8fab42a3d11409150551f0c0c919dc7 CVE-2019-13225.patch"