aboutsummaryrefslogtreecommitdiffstats
path: root/main/ansible
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-08-02 12:05:07 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-08-05 08:18:47 +0200
commita8e3303effdf6b6773ed81ae3a234ab0b0273c2e (patch)
treeecedda54e123eda1857184dfd428fdc57d94ee57 /main/ansible
parent6c6ec81281eb8a4bdeeb2e535655b357b153a83a (diff)
downloadaports-a8e3303effdf6b6773ed81ae3a234ab0b0273c2e.tar.bz2
aports-a8e3303effdf6b6773ed81ae3a234ab0b0273c2e.tar.xz
main/ansible: security upgrade to 2.5.15 (CVE-2019-3828, CVE-2018-16876, CVE-2018-16837)
Diffstat (limited to 'main/ansible')
-rw-r--r--main/ansible/APKBUILD21
1 files changed, 18 insertions, 3 deletions
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 <takninnovationresearch@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
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"