From a8e3303effdf6b6773ed81ae3a234ab0b0273c2e Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Fri, 2 Aug 2019 12:05:07 +0200 Subject: main/ansible: security upgrade to 2.5.15 (CVE-2019-3828, CVE-2018-16876, CVE-2018-16837) --- main/ansible/APKBUILD | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'main/ansible/APKBUILD') diff --git a/main/ansible/APKBUILD b/main/ansible/APKBUILD index f41fd0e95f..b469207516 100644 --- a/main/ansible/APKBUILD +++ b/main/ansible/APKBUILD @@ -3,7 +3,7 @@ # Contributor: Takuya Noguchi # Maintainer: Fabian Affolter pkgname=ansible -pkgver=2.5.5 +pkgver=2.5.15 pkgrel=0 pkgdesc="A configuration-management, deployment, task-execution, and multinode orchestration framework" url="https://ansible.com" @@ -11,11 +11,26 @@ arch="noarch" license="GPL-3.0-or-later" _py=py3 depends="python3 $_py-yaml $_py-paramiko $_py-jinja2 $_py-markupsafe $_py-crypto" -makedepends="python2-dev py-setuptools" +makedepends="python3-dev py3-setuptools" +options="!check" # not packaged in release tarballs subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://releases.ansible.com/ansible/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" +# secfixes: +# 2.5.15: +# - CVE-2019-3828 +# 2.5.14: +# - CVE-2018-16876 +# 2.5.11: +# - CVE-2018-16837 + +prepare() { + cd "$builddir" + # Windows-only scripts + rm -r examples/scripts +} + build() { cd "$builddir" python3 setup.py build @@ -35,4 +50,4 @@ package() { install -m644 README.rst "$pkgdir"/usr/share/doc/$pkgname } -sha512sums="a3d50539d2a109dc0bbcdb440e0800b917f63141dce935e6426cb6bdc51e3a93e02f05c23714c24ab00b19842a86677b8d2f2455d20ca15410fa8d3c8ba379ca ansible-2.5.5.tar.gz" +sha512sums="d8b0de7b616c2efb6d38748a84f602c9d5bc3d67ca8a5d2019d227bebf8e0f1d5d5295453f562414be34feeeac059f9e0c569f5e3f208ae2b3c1c7b8ca0c0329 ansible-2.5.15.tar.gz" -- cgit v1.2.3