# Contributor: Łukasz Jendrysik # Contributor: Sören Tempel # Contributor: Takuya Noguchi # Maintainer: Fabian Affolter pkgname=ansible pkgver=2.8.4 pkgrel=0 pkgdesc="A configuration-management, deployment, task-execution, and multinode orchestration framework" url="https://ansible.com/" arch="noarch" license="GPL-3.0-or-later" depends="python3 py3-yaml py3-paramiko py3-jinja2 py3-markupsafe py3-crypto" makedepends="python3-dev py3-setuptools" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://releases.ansible.com/ansible/$pkgname-$pkgver.tar.gz add-lxc-container_shell-option.patch " # secfixes: # 2.8.4-r0: # - CVE-2019-10206 # - CVE-2019-10217 # 2.8.2-r0: # - CVE-2019-10156 # 2.7.9-r0: # - CVE-2018-16876 # 2.6.3-r0: # - CVE-2018-10875 build() { python3 setup.py build } check() { python3 setup.py check } package() { cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" mkdir -p "$pkgdir"/usr/share/man/man1 install -Dm644 "$builddir"/docs/man/man1/*.1 \ "$pkgdir"/usr/share/man/man1/ mkdir -p "$pkgdir"/usr/share/doc/$pkgname/examples/ cp -r examples/* \ "$pkgdir"/usr/share/doc/$pkgname/examples/ install -m644 README.rst "$pkgdir"/usr/share/doc/$pkgname } sha512sums="9efacbaf053acb8cf92ebe5bda982794ecbdbf55e33a4a292a68874b637eebe82406bfba129adf839354ee18aa809d45d77502f68b8e8d07358a48c9b5687b7e ansible-2.8.4.tar.gz e1bd1affec585abf4556d1f2598df2689c2341fc0ddaec3eadc0a9c6df5725b8ab97092771f2c57da6ecaa72ae1bb5e5ccce55db8c4d74bfc785f611dd5b8c32 add-lxc-container_shell-option.patch"