1 |
commit: c80253bc63a2e1d903ce8ffdc791dc271ce1e77b |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 6 04:01:21 2016 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 6 04:01:21 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c80253bc |
7 |
|
8 |
app-admin/salt: remove vulnerable per security bug #578158 |
9 |
|
10 |
app-admin/salt/salt-2015.5.9.ebuild | 132 ------------------------------------ |
11 |
1 file changed, 132 deletions(-) |
12 |
|
13 |
diff --git a/app-admin/salt/salt-2015.5.9.ebuild b/app-admin/salt/salt-2015.5.9.ebuild |
14 |
deleted file mode 100644 |
15 |
index 3b975de..0000000 |
16 |
--- a/app-admin/salt/salt-2015.5.9.ebuild |
17 |
+++ /dev/null |
18 |
@@ -1,132 +0,0 @@ |
19 |
-# Copyright 1999-2016 Gentoo Foundation |
20 |
-# Distributed under the terms of the GNU General Public License v2 |
21 |
-# $Id$ |
22 |
- |
23 |
-EAPI=5 |
24 |
-PYTHON_COMPAT=(python2_7) |
25 |
- |
26 |
-inherit eutils systemd distutils-r1 |
27 |
- |
28 |
-DESCRIPTION="Salt is a remote execution and configuration manager" |
29 |
-HOMEPAGE="http://saltstack.org/" |
30 |
- |
31 |
-if [[ ${PV} == 9999* ]]; then |
32 |
- inherit git-r3 |
33 |
- EGIT_REPO_URI="git://github.com/${PN}stack/${PN}.git" |
34 |
- EGIT_BRANCH="develop" |
35 |
- SRC_URI="" |
36 |
- KEYWORDS="" |
37 |
-else |
38 |
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
39 |
- KEYWORDS="~x86 ~amd64" |
40 |
-fi |
41 |
- |
42 |
-LICENSE="Apache-2.0" |
43 |
-SLOT="0" |
44 |
-IUSE="cherrypy ldap libcloud libvirt gnupg keyring mako mongodb mysql neutron nova" |
45 |
-IUSE+=" openssl redis selinux test timelib raet +zeromq vim-syntax" |
46 |
- |
47 |
-RDEPEND="sys-apps/pciutils |
48 |
- dev-python/jinja[${PYTHON_USEDEP}] |
49 |
- >=dev-python/msgpack-0.3[${PYTHON_USEDEP}] |
50 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
51 |
- dev-python/markupsafe[${PYTHON_USEDEP}] |
52 |
- >=dev-python/requests-1.0.0[${PYTHON_USEDEP}] |
53 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
54 |
- >=www-servers/tornado-4.0[${PYTHON_USEDEP}] |
55 |
- libcloud? ( >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}] ) |
56 |
- mako? ( dev-python/mako[${PYTHON_USEDEP}] ) |
57 |
- ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] ) |
58 |
- libvirt? ( dev-python/libvirt-python[${PYTHON_USEDEP}] ) |
59 |
- openssl? ( |
60 |
- dev-libs/openssl:*[-bindist] |
61 |
- dev-python/pyopenssl[${PYTHON_USEDEP}] |
62 |
- ) |
63 |
- raet? ( |
64 |
- >=dev-python/libnacl-1.0.0[${PYTHON_USEDEP}] |
65 |
- >=dev-python/ioflo-1.1.7[${PYTHON_USEDEP}] |
66 |
- >=dev-python/raet-0.6.0[${PYTHON_USEDEP}] |
67 |
- ) |
68 |
- zeromq? ( |
69 |
- >=dev-python/pyzmq-2.2.0[${PYTHON_USEDEP}] |
70 |
- >=dev-python/m2crypto-0.22.3[${PYTHON_USEDEP}] |
71 |
- dev-python/pycrypto[${PYTHON_USEDEP}] |
72 |
- ) |
73 |
- cherrypy? ( >=dev-python/cherrypy-3.2.2[${PYTHON_USEDEP}] ) |
74 |
- mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] ) |
75 |
- keyring? ( dev-python/keyring[${PYTHON_USEDEP}] ) |
76 |
- mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] ) |
77 |
- redis? ( dev-python/redis-py[${PYTHON_USEDEP}] ) |
78 |
- selinux? ( sec-policy/selinux-salt ) |
79 |
- timelib? ( dev-python/timelib[${PYTHON_USEDEP}] ) |
80 |
- nova? ( >=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}] ) |
81 |
- neutron? ( >=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}] ) |
82 |
- gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] ) |
83 |
- vim-syntax? ( app-vim/salt-vim )" |
84 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
85 |
- test? ( |
86 |
- dev-python/pip[${PYTHON_USEDEP}] |
87 |
- dev-python/virtualenv[${PYTHON_USEDEP}] |
88 |
- dev-python/mock[${PYTHON_USEDEP}] |
89 |
- dev-python/timelib[${PYTHON_USEDEP}] |
90 |
- >=dev-python/boto-2.32.1[${PYTHON_USEDEP}] |
91 |
- >=dev-python/moto-0.3.6[${PYTHON_USEDEP}] |
92 |
- >=dev-python/SaltTesting-2015.2.16[${PYTHON_USEDEP}] |
93 |
- ${RDEPEND} |
94 |
- )" |
95 |
- |
96 |
-DOCS=(README.rst AUTHORS) |
97 |
- |
98 |
-REQUIRED_USE="|| ( raet zeromq )" |
99 |
- |
100 |
-PATCHES=( |
101 |
- "${FILESDIR}/${PN}-2014.7.1-remove-pydsl-includes-test.patch" |
102 |
- "${FILESDIR}/${PN}-2015.5.5-auth-tests.patch" |
103 |
- "${FILESDIR}/${PN}-2015.5.5-cron-tests.patch" |
104 |
- "${FILESDIR}/${PN}-2015.5.5-remove-buggy-tests.patch" |
105 |
- "${FILESDIR}/${PN}-2015.5.7-tmpdir.patch" |
106 |
-) |
107 |
- |
108 |
-python_prepare() { |
109 |
- # this test fails because it trys to "pip install distribute" |
110 |
- rm tests/unit/{modules,states}/zcbuildout_test.py \ |
111 |
- tests/unit/modules/{rh_ip,win_network}_test.py \ |
112 |
- || die "Failed to remove broken tests" |
113 |
-} |
114 |
- |
115 |
-python_install_all() { |
116 |
- local svc |
117 |
- USE_SETUPTOOLS=1 distutils-r1_python_install_all |
118 |
- |
119 |
- for svc in minion master syndic api; do |
120 |
- newinitd "${FILESDIR}"/${svc}-initd-4 salt-${svc} |
121 |
- newconfd "${FILESDIR}"/${svc}-confd-1 salt-${svc} |
122 |
- systemd_dounit "${FILESDIR}"/salt-${svc}.service |
123 |
- done |
124 |
- |
125 |
- insinto /etc/${PN} |
126 |
- doins -r conf/* |
127 |
-} |
128 |
- |
129 |
-python_test() { |
130 |
- local tempdir |
131 |
- # testsuite likes lots of files |
132 |
- ulimit -n 3072 |
133 |
- |
134 |
- # ${T} is too long a path for the tests to work |
135 |
- tempdir="$(mktemp -dup /tmp salt-XXX)" |
136 |
- mkdir "${T}/$(basename "${tempdir}")" |
137 |
- |
138 |
- ( |
139 |
- cleanup() { rm -f "${tempdir}"; } |
140 |
- trap cleanup EXIT |
141 |
- |
142 |
- addwrite "${tempdir}" |
143 |
- ln -s "$(realpath --relative-to=/tmp "${T}/$(basename "${tempdir}")")" "${tempdir}" |
144 |
- |
145 |
- USE_SETUPTOOLS=1 SHELL="/bin/bash" TMPDIR="${tempdir}" \ |
146 |
- ${EPYTHON} tests/runtests.py \ |
147 |
- --unit-tests --no-report --verbose |
148 |
- |
149 |
- ) || die "testing failed" |
150 |
-} |