summaryrefslogtreecommitdiff
path: root/user/py3-pillow/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/py3-pillow/APKBUILD')
-rw-r--r--user/py3-pillow/APKBUILD19
1 files changed, 13 insertions, 6 deletions
diff --git a/user/py3-pillow/APKBUILD b/user/py3-pillow/APKBUILD
index efc2a7b64..bb4878256 100644
--- a/user/py3-pillow/APKBUILD
+++ b/user/py3-pillow/APKBUILD
@@ -4,7 +4,7 @@ pkgname=py3-pillow
_pkgname=Pillow
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
-pkgver=6.2.0
+pkgver=6.2.2
pkgrel=0
pkgdesc="A Python Imaging Library"
url="https://pypi.org/project/Pillow"
@@ -20,6 +20,14 @@ source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/
https://dev.sick.bike/dist/$pkgname-scripts-$_scripts_rev.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
+# secfixes: pillow
+# 6.2.2-r0:
+# - CVE-2019-19911
+# - CVE-2020-5310
+# - CVE-2020-5311
+# - CVE-2020-5312
+# - CVE-2020-5313
+
unpack() {
default_unpack
mv pillow-scripts-*/Scripts "$builddir/Scripts"
@@ -43,12 +51,11 @@ doc() {
pkgdesc="Example scripts for $pkgname"
depends="$pkgname"
- cd "$builddir"
- local destdir="$subpkgdir/usr/share/doc/$pkgname"
+ destdir="$subpkgdir/usr/share/doc/$pkgname"
install -d "$destdir"/Scripts
- install -m 644 Scripts/* "$destdir"/Scripts/
- install -Dm644 LICENSE "$subpkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -m 644 "$builddir"/Scripts/* "$destdir"/Scripts/
+ install -Dm644 "$builddir"/LICENSE "$subpkgdir/usr/share/licenses/$pkgname/LICENSE"
}
-sha512sums="6eeb51d764c85a9b1f4eb0a59bbff41541852d5e2988c0e32b03acb56010b7d398f5761daaa56731bde278e52a551b44fab5b662988e096e8fd53e5d15d4e083 py3-pillow-6.2.0.tar.gz
+sha512sums="517c971d4fb23a47466a7e8326c8c29291f7832d4521001c1898d6223ea25d4b0a8b7c8f7e78dd706f421229a8261b558b9fbdc43e47a0a2a7b2b4bbc1a21eff py3-pillow-6.2.2.tar.gz
c01e83a7cef6653a33f60acbcbc737f0d40ff0dbc792ce0b2ce52f21092d3071845830fa0f64b27a1c5e679c53df57e0ec2e89867ee717f938d4e6f19db77790 py3-pillow-scripts-b24479c.tar.gz"