summaryrefslogtreecommitdiff
path: root/user/re2c/APKBUILD
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2020-04-20 18:32:56 -0500
committerMax Rees <maxcrees@me.com>2020-04-21 12:52:00 -0500
commit7dfa609028c77ce914bec3ad48f58b34fc1129b6 (patch)
tree54f5bd81e0ad9d67720d150f275febc4a9260b57 /user/re2c/APKBUILD
parentc6f2b6e5cd89d70a3838a5bfb8da888d5dd1ce1e (diff)
downloadpackages-7dfa609028c77ce914bec3ad48f58b34fc1129b6.tar.gz
packages-7dfa609028c77ce914bec3ad48f58b34fc1129b6.tar.bz2
packages-7dfa609028c77ce914bec3ad48f58b34fc1129b6.tar.xz
packages-7dfa609028c77ce914bec3ad48f58b34fc1129b6.zip
user/re2c: patch CVE-2020-11958
https://www.openwall.com/lists/oss-security/2020/04/19/1
Diffstat (limited to 'user/re2c/APKBUILD')
-rw-r--r--user/re2c/APKBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/user/re2c/APKBUILD b/user/re2c/APKBUILD
index d039a5baf..aad7b839e 100644
--- a/user/re2c/APKBUILD
+++ b/user/re2c/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=re2c
pkgver=1.3
-pkgrel=0
+pkgrel=1
pkgdesc="Fast lexer generator for C and C++"
url="http://re2c.org/"
arch="all"
@@ -11,7 +11,13 @@ depends=""
checkdepends="bash"
makedepends=""
subpackages="$pkgname-doc"
-source="https://github.com/skvadrik/re2c/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"
+source="https://github.com/skvadrik/re2c/releases/download/$pkgver/$pkgname-$pkgver.tar.xz
+ CVE-2020-11958.patch
+ "
+
+# secfixes:
+# 1.3-r1:
+# - CVE-2020-11958
build() {
./configure \
@@ -32,4 +38,5 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="c7084ab2399fb6b96cef74c1393715d90830f43b82b96af46feb71ef008c0215381c3dbea0b003ff810d869db6021e28001b9d588ad55c616642244b2da09c0e re2c-1.3.tar.xz"
+sha512sums="c7084ab2399fb6b96cef74c1393715d90830f43b82b96af46feb71ef008c0215381c3dbea0b003ff810d869db6021e28001b9d588ad55c616642244b2da09c0e re2c-1.3.tar.xz
+f4376b8e0724d500f665fa60dfd6fb35685a281af50c500d2ff90d781a829fb78f21e8c93c5745a4519acd55a62ec48a570dbfacf0a9ee977502e06f3e2e474a CVE-2020-11958.patch"