blob: e697c5de631b18bfe3b5612cb00400018e522db0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Takuya Noguchi <takninnovationresearch@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=ansible
pkgver=2.8.8
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.8-r0:
# - CVE-2019-14864
# - CVE-2019-14904
# - CVE-2019-14905
# 2.8.6-r0:
# - CVE-2019-14846
# - CVE-2019-14856
# - CVE-2019-14858
# 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="fb7705f3d0b8c0ee87d2954cccb7d00e12851693bbe995c062316577f66488f48d8180f11c8d87e025f4082a48ec27f25cb877be4c0ce96ed39951360e8679bd ansible-2.8.8.tar.gz
f44f1492495abe092cd9f91669ccfee65748f43663571361de97c3b1c5c1219d355aa7236179decb73446376018fa81aace7eaeb8c10a83d3cf4e006508533dd add-lxc-container_shell-option.patch"
|