diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-05-27 05:35:38 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-05-27 13:18:01 +0000 |
commit | d378948d72aafb68e0f6ee3abbadfbd33ceda2fa (patch) | |
tree | ea4805c00333f797ca499815b782fc066847fbd6 | |
parent | 7445adce501f8473efdb93b17b5eaf2f1445ed4c (diff) | |
download | alpine_aports-d378948d72aafb68e0f6ee3abbadfbd33ceda2fa.tar.bz2 alpine_aports-d378948d72aafb68e0f6ee3abbadfbd33ceda2fa.tar.xz alpine_aports-d378948d72aafb68e0f6ee3abbadfbd33ceda2fa.zip |
main/json-c: fix CVE-2020-12762
See #11581
-rw-r--r-- | main/json-c/APKBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/main/json-c/APKBUILD b/main/json-c/APKBUILD index 502b62835f..aee1802fa3 100644 --- a/main/json-c/APKBUILD +++ b/main/json-c/APKBUILD | |||
@@ -1,14 +1,20 @@ | |||
1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | 1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> |
2 | pkgname=json-c | 2 | pkgname=json-c |
3 | pkgver=0.14 | 3 | pkgver=0.14 |
4 | pkgrel=0 | 4 | pkgrel=1 |
5 | pkgdesc="A JSON implementation in C" | 5 | pkgdesc="A JSON implementation in C" |
6 | url="https://github.com/json-c/json-c/wiki" | 6 | url="https://github.com/json-c/json-c/wiki" |
7 | arch="all" | 7 | arch="all" |
8 | license="MIT" | 8 | license="MIT" |
9 | makedepends="cmake" | 9 | makedepends="cmake" |
10 | subpackages="$pkgname-dev" | 10 | subpackages="$pkgname-dev" |
11 | source="https://s3.amazonaws.com/json-c_releases/releases/json-c-$pkgver.tar.gz" | 11 | source="https://s3.amazonaws.com/json-c_releases/releases/json-c-$pkgver.tar.gz |
12 | CVE-2020-12762.patch::https://github.com/json-c/json-c/pull/608.patch | ||
13 | " | ||
14 | |||
15 | # secfixes: | ||
16 | # 0.14-r1: | ||
17 | # - CVE-2020-12762 | ||
12 | 18 | ||
13 | build() { | 19 | build() { |
14 | if [ "$CBUILD" != "$CHOST" ]; then | 20 | if [ "$CBUILD" != "$CHOST" ]; then |
@@ -28,4 +34,5 @@ package() { | |||
28 | make -C build DESTDIR="$pkgdir" install | 34 | make -C build DESTDIR="$pkgdir" install |
29 | } | 35 | } |
30 | 36 | ||
31 | sha512sums="75537c61d0632a01f94d2394d7a4387ef1eca0b68aa56c495d3d96dd29b38ed20eb0cc3f6e5e24dc6660c8939669f8954005d9c3ba20437f3fcc9f9dd896b00d json-c-0.14.tar.gz" | 37 | sha512sums="75537c61d0632a01f94d2394d7a4387ef1eca0b68aa56c495d3d96dd29b38ed20eb0cc3f6e5e24dc6660c8939669f8954005d9c3ba20437f3fcc9f9dd896b00d json-c-0.14.tar.gz |
38 | e69b2dd0fd979428d3d44529877d8176ccb54f0a056eebfa1a64e68eda9d5087cffdafe11253879502048024027cc37d1bc158f17487bff06ce0386b4638843d CVE-2020-12762.patch" | ||