aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-psutil/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py-psutil/APKBUILD')
-rw-r--r--community/py-psutil/APKBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/community/py-psutil/APKBUILD b/community/py-psutil/APKBUILD
index 33165f4ffa..4e21c6aa98 100644
--- a/community/py-psutil/APKBUILD
+++ b/community/py-psutil/APKBUILD
@@ -3,16 +3,22 @@
pkgname=py-psutil
_pkgname=psutil
pkgver=5.4.6
-pkgrel=0
+pkgrel=1
pkgdesc="A cross-platform process and system utilities module for Python"
url="https://github.com/giampaolo/psutil"
arch="all"
license="BSD"
makedepends="$depends_dev linux-headers python2-dev python3-dev"
subpackages="py3-$_pkgname:_py3 py2-$_pkgname:_py2"
-source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
+ CVE-2019-18874.patch
+ "
builddir="$srcdir/$_pkgname-$pkgver"
+# secfixes:
+# 5.4.6-r1:
+# - CVE-2019-18874
+
build() {
cd "$builddir"
python2 setup.py build
@@ -48,4 +54,5 @@ _py3() {
_py python3
}
-sha512sums="7aefb2c1759a62fca21d1bd07f7f3aeddc368b972ce831dc6e52cda5effaee2798c6bf0aece9732dedb7fefcd8e9e3f03760d6e715be8ea1479b282150a585f3 psutil-5.4.6.tar.gz"
+sha512sums="7aefb2c1759a62fca21d1bd07f7f3aeddc368b972ce831dc6e52cda5effaee2798c6bf0aece9732dedb7fefcd8e9e3f03760d6e715be8ea1479b282150a585f3 psutil-5.4.6.tar.gz
+a39fbc2f1c1d092fbbcded94291d3640edb4800f938a2665b84c88c211fc5f53155e1dfbb1898d92ebeac35357108fc1b31c550eab760e9e8dfd8e117970cd5d CVE-2019-18874.patch"