1 |
prometheanfire 15/02/08 02:31:21 |
2 |
|
3 |
Modified: neutron-2014.2.9999.ebuild ChangeLog |
4 |
Added: neutron-2014.2.2.ebuild |
5 |
Removed: neutron-9999.ebuild neutron-2014.2.1-r1.ebuild |
6 |
Log: |
7 |
bup |
8 |
|
9 |
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x33ED3FD25AFC78BA) |
10 |
|
11 |
Revision Changes Path |
12 |
1.8 sys-cluster/neutron/neutron-2014.2.9999.ebuild |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/neutron/neutron-2014.2.9999.ebuild?rev=1.8&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/neutron/neutron-2014.2.9999.ebuild?rev=1.8&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/neutron/neutron-2014.2.9999.ebuild?r1=1.7&r2=1.8 |
17 |
|
18 |
Index: neutron-2014.2.9999.ebuild |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/neutron/neutron-2014.2.9999.ebuild,v |
21 |
retrieving revision 1.7 |
22 |
retrieving revision 1.8 |
23 |
diff -u -r1.7 -r1.8 |
24 |
--- neutron-2014.2.9999.ebuild 1 Feb 2015 05:54:46 -0000 1.7 |
25 |
+++ neutron-2014.2.9999.ebuild 8 Feb 2015 02:31:21 -0000 1.8 |
26 |
@@ -1,6 +1,6 @@ |
27 |
# Copyright 1999-2015 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/neutron/neutron-2014.2.9999.ebuild,v 1.7 2015/02/01 05:54:46 prometheanfire Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/neutron/neutron-2014.2.9999.ebuild,v 1.8 2015/02/08 02:31:21 prometheanfire Exp $ |
31 |
|
32 |
EAPI=5 |
33 |
PYTHON_COMPAT=( python2_7 ) |
34 |
@@ -18,29 +18,32 @@ |
35 |
IUSE="dhcp doc l3 metadata openvswitch linuxbridge server test sqlite mysql postgres" |
36 |
REQUIRED_USE="|| ( mysql postgres sqlite )" |
37 |
|
38 |
-#the cliff dep is as below because it depends on pyparsing, which only has 2.7 OR 3.2, not both |
39 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
40 |
- >=dev-python/pbr-0.8[${PYTHON_USEDEP}] |
41 |
- <dev-python/pbr-1.0[${PYTHON_USEDEP}] |
42 |
- test? ( |
43 |
- >=dev-python/hacking-0.9.2[${PYTHON_USEDEP}] |
44 |
- <dev-python/hacking-0.10[${PYTHON_USEDEP}] |
45 |
- >=dev-python/cliff-1.7.0[${PYTHON_USEDEP}] |
46 |
- >=dev-python/coverage-3.6[${PYTHON_USEDEP}] |
47 |
- >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] |
48 |
- >=dev-python/mock-1.0[${PYTHON_USEDEP}] |
49 |
- >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] |
50 |
- dev-python/ordereddict[${PYTHON_USEDEP}] |
51 |
- >=dev-python/requests-mock-0.4.0[${PYTHON_USEDEP}] |
52 |
- >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] |
53 |
- !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}] |
54 |
- <dev-python/sphinx-1.3[${PYTHON_USEDEP}] |
55 |
- >=dev-python/oslo-sphinx-2.2.0[${PYTHON_USEDEP}] |
56 |
- >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] |
57 |
- >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] |
58 |
- !~dev-python/testtools-1.4.0[${PYTHON_USEDEP}] |
59 |
- >=dev-python/webtest-2.0[${PYTHON_USEDEP}] |
60 |
- )" |
61 |
+DEPEND=" |
62 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/pbr-0.8[${PYTHON_USEDEP}] |
64 |
+ <dev-python/pbr-1.0[${PYTHON_USEDEP}] |
65 |
+ app-admin/sudo |
66 |
+ test? ( |
67 |
+ ${RDEPEND} |
68 |
+ >=dev-python/hacking-0.9.2[${PYTHON_USEDEP}] |
69 |
+ <dev-python/hacking-0.10[${PYTHON_USEDEP}] |
70 |
+ >=dev-python/cliff-1.7.0[${PYTHON_USEDEP}] |
71 |
+ >=dev-python/coverage-3.6[${PYTHON_USEDEP}] |
72 |
+ >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] |
73 |
+ >=dev-python/mock-1.0[${PYTHON_USEDEP}] |
74 |
+ >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] |
75 |
+ dev-python/ordereddict[${PYTHON_USEDEP}] |
76 |
+ >=dev-python/requests-mock-0.4.0[${PYTHON_USEDEP}] |
77 |
+ >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] |
78 |
+ !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}] |
79 |
+ <dev-python/sphinx-1.3[${PYTHON_USEDEP}] |
80 |
+ >=dev-python/oslo-sphinx-2.2.0[${PYTHON_USEDEP}] |
81 |
+ >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] |
82 |
+ >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] |
83 |
+ !~dev-python/testtools-1.4.0[${PYTHON_USEDEP}] |
84 |
+ >=dev-python/webtest-2.0[${PYTHON_USEDEP}] |
85 |
+ dev-python/configobj[${PYTHON_USEDEP}] |
86 |
+ )" |
87 |
|
88 |
RDEPEND=" |
89 |
dev-python/paste[${PYTHON_USEDEP}] |
90 |
@@ -89,7 +92,6 @@ |
91 |
<dev-python/oslo-messaging-1.6.0[${PYTHON_USEDEP}] |
92 |
>=dev-python/oslo-rootwrap-1.3.0[${PYTHON_USEDEP}] |
93 |
>=dev-python/python-novaclient-2.18.0[${PYTHON_USEDEP}] |
94 |
- app-admin/sudo |
95 |
dev-python/pyudev[${PYTHON_USEDEP}] |
96 |
sys-apps/iproute2 |
97 |
net-firewall/ipset |
98 |
|
99 |
|
100 |
|
101 |
1.52 sys-cluster/neutron/ChangeLog |
102 |
|
103 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/neutron/ChangeLog?rev=1.52&view=markup |
104 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/neutron/ChangeLog?rev=1.52&content-type=text/plain |
105 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/neutron/ChangeLog?r1=1.51&r2=1.52 |
106 |
|
107 |
Index: ChangeLog |
108 |
=================================================================== |
109 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/neutron/ChangeLog,v |
110 |
retrieving revision 1.51 |
111 |
retrieving revision 1.52 |
112 |
diff -u -r1.51 -r1.52 |
113 |
--- ChangeLog 1 Feb 2015 05:54:46 -0000 1.51 |
114 |
+++ ChangeLog 8 Feb 2015 02:31:21 -0000 1.52 |
115 |
@@ -1,6 +1,13 @@ |
116 |
# ChangeLog for sys-cluster/neutron |
117 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
118 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/neutron/ChangeLog,v 1.51 2015/02/01 05:54:46 prometheanfire Exp $ |
119 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/neutron/ChangeLog,v 1.52 2015/02/08 02:31:21 prometheanfire Exp $ |
120 |
+ |
121 |
+*neutron-2014.2.2 (08 Feb 2015) |
122 |
+ |
123 |
+ 08 Feb 2015; Matthew Thode <prometheanfire@g.o> |
124 |
+ +neutron-2014.2.2.ebuild, -files/CVE-2014-8153-juno.patch, |
125 |
+ -neutron-2014.2.1-r1.ebuild, -neutron-9999.ebuild, neutron-2014.2.9999.ebuild: |
126 |
+ bup |
127 |
|
128 |
01 Feb 2015; Matthew Thode <prometheanfire@g.o> |
129 |
neutron-2014.2.9999.ebuild: |
130 |
|
131 |
|
132 |
|
133 |
1.1 sys-cluster/neutron/neutron-2014.2.2.ebuild |
134 |
|
135 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/neutron/neutron-2014.2.2.ebuild?rev=1.1&view=markup |
136 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/neutron/neutron-2014.2.2.ebuild?rev=1.1&content-type=text/plain |
137 |
|
138 |
Index: neutron-2014.2.2.ebuild |
139 |
=================================================================== |
140 |
# Copyright 1999-2015 Gentoo Foundation |
141 |
# Distributed under the terms of the GNU General Public License v2 |
142 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/neutron/neutron-2014.2.2.ebuild,v 1.1 2015/02/08 02:31:21 prometheanfire Exp $ |
143 |
|
144 |
EAPI=5 |
145 |
PYTHON_COMPAT=( python2_7 ) |
146 |
|
147 |
inherit distutils-r1 linux-info user |
148 |
|
149 |
DESCRIPTION="A virtual network service for Openstack" |
150 |
HOMEPAGE="https://launchpad.net/neutron" |
151 |
SRC_URI="http://launchpad.net/${PN}/juno/${PV}/+download/${P}.tar.gz" |
152 |
|
153 |
LICENSE="Apache-2.0" |
154 |
SLOT="0" |
155 |
KEYWORDS="~amd64 ~x86" |
156 |
IUSE="dhcp doc l3 metadata openvswitch linuxbridge server test sqlite mysql postgres" |
157 |
REQUIRED_USE="|| ( mysql postgres sqlite )" |
158 |
|
159 |
DEPEND=" |
160 |
dev-python/setuptools[${PYTHON_USEDEP}] |
161 |
>=dev-python/pbr-0.8[${PYTHON_USEDEP}] |
162 |
<dev-python/pbr-1.0[${PYTHON_USEDEP}] |
163 |
app-admin/sudo |
164 |
test? ( |
165 |
${RDEPEND} |
166 |
>=dev-python/hacking-0.9.2[${PYTHON_USEDEP}] |
167 |
<dev-python/hacking-0.10[${PYTHON_USEDEP}] |
168 |
>=dev-python/cliff-1.7.0[${PYTHON_USEDEP}] |
169 |
>=dev-python/coverage-3.6[${PYTHON_USEDEP}] |
170 |
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] |
171 |
>=dev-python/mock-1.0[${PYTHON_USEDEP}] |
172 |
>=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] |
173 |
dev-python/ordereddict[${PYTHON_USEDEP}] |
174 |
>=dev-python/requests-mock-0.4.0[${PYTHON_USEDEP}] |
175 |
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] |
176 |
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}] |
177 |
<dev-python/sphinx-1.3[${PYTHON_USEDEP}] |
178 |
>=dev-python/oslo-sphinx-2.2.0[${PYTHON_USEDEP}] |
179 |
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] |
180 |
>=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] |
181 |
!~dev-python/testtools-1.4.0[${PYTHON_USEDEP}] |
182 |
>=dev-python/webtest-2.0[${PYTHON_USEDEP}] |
183 |
dev-python/configobj[${PYTHON_USEDEP}] |
184 |
)" |
185 |
|
186 |
RDEPEND=" |
187 |
dev-python/paste[${PYTHON_USEDEP}] |
188 |
>=dev-python/pastedeploy-1.5.0-r1[${PYTHON_USEDEP}] |
189 |
>=dev-python/routes-1.12.3[${PYTHON_USEDEP}] |
190 |
!~dev-python/routes-2.0[${PYTHON_USEDEP}] |
191 |
>=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}] |
192 |
>=dev-python/Babel-1.3[${PYTHON_USEDEP}] |
193 |
>=dev-python/eventlet-0.15.1[${PYTHON_USEDEP}] |
194 |
<dev-python/eventlet-0.16.0[${PYTHON_USEDEP}] |
195 |
>=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}] |
196 |
>=dev-python/httplib2-0.7.5[${PYTHON_USEDEP}] |
197 |
>=dev-python/requests-1.2.1[${PYTHON_USEDEP}] |
198 |
!~dev-python/requests-2.4.0[${PYTHON_USEDEP}] |
199 |
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}] |
200 |
dev-python/jsonrpclib[${PYTHON_USEDEP}] |
201 |
dev-python/jinja[${PYTHON_USEDEP}] |
202 |
>=dev-python/keystonemiddleware-1.0.0[${PYTHON_USEDEP}] |
203 |
>=dev-python/netaddr-0.7.12[${PYTHON_USEDEP}] |
204 |
>=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}] |
205 |
<=dev-python/python-neutronclient-3.0.0[${PYTHON_USEDEP}] |
206 |
sqlite? ( |
207 |
>=dev-python/sqlalchemy-0.9.7[sqlite,${PYTHON_USEDEP}] |
208 |
<=dev-python/sqlalchemy-0.9.99[sqlite,${PYTHON_USEDEP}] |
209 |
) |
210 |
mysql? ( |
211 |
dev-python/mysql-python |
212 |
>=dev-python/sqlalchemy-0.9.7[${PYTHON_USEDEP}] |
213 |
<=dev-python/sqlalchemy-0.9.99[${PYTHON_USEDEP}] |
214 |
) |
215 |
postgres? ( |
216 |
dev-python/psycopg:2 |
217 |
>=dev-python/sqlalchemy-0.9.7[${PYTHON_USEDEP}] |
218 |
<=dev-python/sqlalchemy-0.9.99[${PYTHON_USEDEP}] |
219 |
) |
220 |
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}] |
221 |
>=dev-python/python-keystoneclient-0.10.0[${PYTHON_USEDEP}] |
222 |
>=dev-python/alembic-0.6.4[${PYTHON_USEDEP}] |
223 |
>=dev-python/six-1.7.0[${PYTHON_USEDEP}] |
224 |
>=dev-python/stevedore-1.0.0[${PYTHON_USEDEP}] |
225 |
>=dev-python/oslo-config-1.4.0[${PYTHON_USEDEP}] |
226 |
>=dev-python/oslo-db-1.0.0[${PYTHON_USEDEP}] |
227 |
<dev-python/oslo-db-1.1.0[${PYTHON_USEDEP}] |
228 |
>=dev-python/oslo-messaging-1.4.0[${PYTHON_USEDEP}] |
229 |
!~dev-python/oslo-messaging-1.5.0[${PYTHON_USEDEP}] |
230 |
<dev-python/oslo-messaging-1.6.0[${PYTHON_USEDEP}] |
231 |
>=dev-python/oslo-rootwrap-1.3.0[${PYTHON_USEDEP}] |
232 |
>=dev-python/python-novaclient-2.18.0[${PYTHON_USEDEP}] |
233 |
dev-python/pyudev[${PYTHON_USEDEP}] |
234 |
sys-apps/iproute2 |
235 |
net-firewall/ipset |
236 |
openvswitch? ( net-misc/openvswitch ) |
237 |
dhcp? ( net-dns/dnsmasq[dhcp-tools] )" |
238 |
|
239 |
PATCHES=( |
240 |
) |
241 |
|
242 |
pkg_setup() { |
243 |
linux-info_pkg_setup |
244 |
CONFIG_CHECK_MODULES="8021Q IP6TABLE_FILTER IP6_TABLES IPT_REJECT \ |
245 |
IPTABLE_MANGLE IPT_MASQUERADE IPTABLE_NAT NF_CONNTRACK_IPV4 NF_DEFRAG_IPV4 \ |
246 |
NF_NAT_IPV4 NF_NAT NF_CONNTRACK IPTABLE_FILTER IP_TABLES X_TABLES" |
247 |
if linux_config_exists; then |
248 |
for module in ${CONFIG_CHECK_MODULES}; do |
249 |
linux_chkconfig_present ${module} || ewarn "${module} needs to be enabled in kernel" |
250 |
done |
251 |
fi |
252 |
enewgroup neutron |
253 |
enewuser neutron -1 -1 /var/lib/neutron neutron |
254 |
} |
255 |
|
256 |
pkg_config() { |
257 |
fperms 0700 /var/log/neutron |
258 |
fowners neutron:neutron /var/log neutron |
259 |
} |
260 |
|
261 |
src_prepare() { |
262 |
#it's /bin/ip not /sbin/ip |
263 |
sed -i 's/sbin\/ip\,/bin\/ip\,/g' etc/neutron/rootwrap.d/* |
264 |
distutils-r1_src_prepare |
265 |
} |
266 |
|
267 |
python_compile_all() { |
268 |
use doc && make -C doc html |
269 |
} |
270 |
|
271 |
python_test() { |
272 |
# https://bugs.launchpad.net/neutron/+bug/1234857 |
273 |
# https://bugs.launchpad.net/swift/+bug/1249727 |
274 |
# https://bugs.launchpad.net/neutron/+bug/1251657 |
275 |
# turn multiprocessing off, testr will use it --parallel |
276 |
local DISTUTILS_NO_PARALLEL_BUILD=1 |
277 |
# Move tests out that attempt net connection, have failures |
278 |
mv $(find . -name test_ovs_tunnel.py) . || die |
279 |
sed -e 's:test_app_using_ipv6_and_ssl:_&:' \ |
280 |
-e 's:test_start_random_port_with_ipv6:_&:' \ |
281 |
-i neutron/tests/unit/test_wsgi.py || die |
282 |
testr init |
283 |
testr run --parallel || die "failed testsuite under python2.7" |
284 |
} |
285 |
|
286 |
python_install() { |
287 |
distutils-r1_python_install |
288 |
if use server; then |
289 |
newinitd "${FILESDIR}/neutron.initd" "neutron-server" |
290 |
newconfd "${FILESDIR}/neutron-server.confd" "neutron-server" |
291 |
dosym /etc/neutron/plugin.ini /etc/neutron/plugins/ml2/ml2_conf.ini |
292 |
fi |
293 |
if use dhcp; then |
294 |
newinitd "${FILESDIR}/neutron.initd" "neutron-dhcp-agent" |
295 |
newconfd "${FILESDIR}/neutron-dhcp-agent.confd" "neutron-dhcp-agent" |
296 |
fi |
297 |
if use l3; then |
298 |
newinitd "${FILESDIR}/neutron.initd" "neutron-l3-agent" |
299 |
newconfd "${FILESDIR}/neutron-l3-agent.confd" "neutron-l3-agent" |
300 |
fi |
301 |
if use metadata; then |
302 |
newinitd "${FILESDIR}/neutron.initd" "neutron-metadata-agent" |
303 |
newconfd "${FILESDIR}/neutron-metadata-agent.confd" "neutron-metadata-agent" |
304 |
fi |
305 |
if use openvswitch; then |
306 |
newinitd "${FILESDIR}/neutron.initd" "neutron-openvswitch-agent" |
307 |
newconfd "${FILESDIR}/neutron-openvswitch-agent.confd" "neutron-openvswitch-agent" |
308 |
newinitd "${FILESDIR}/neutron.initd" "neutron-ovs-cleanup" |
309 |
newconfd "${FILESDIR}/neutron-openvswitch-agent.confd" "neutron-ovs-cleanup" |
310 |
fi |
311 |
if use linuxbridge; then |
312 |
newinitd "${FILESDIR}/neutron.initd" "neutron-linuxbridge-agent" |
313 |
newconfd "${FILESDIR}/neutron-linuxbridge-agent.confd" "neutron-linuxbridge-agent" |
314 |
fi |
315 |
diropts -m 755 -o neutron -g neutron |
316 |
dodir /var/log/neutron /var/lib/neutron |
317 |
keepdir /etc/neutron |
318 |
insinto /etc/neutron |
319 |
insopts -m 0640 -o neutron -g neutron |
320 |
|
321 |
doins etc/* |
322 |
# stupid renames |
323 |
rm "${D}etc/neutron/quantum" |
324 |
insinto /etc/neutron |
325 |
doins -r "etc/neutron/plugins" |
326 |
insopts -m 0640 -o root -g root |
327 |
doins "etc/rootwrap.conf" |
328 |
doins -r "etc/neutron/rootwrap.d" |
329 |
|
330 |
insinto "/usr/lib64/python2.7/site-packages/neutron/db/migration/alembic_migrations/" |
331 |
doins -r "neutron/db/migration/alembic_migrations/versions" |
332 |
|
333 |
#add sudoers definitions for user neutron |
334 |
insinto /etc/sudoers.d/ |
335 |
insopts -m 0440 -o root -g root |
336 |
newins "${FILESDIR}/neutron.sudoersd" neutron |
337 |
|
338 |
#remove superfluous stuff |
339 |
rm -R "${D}/usr/etc/" |
340 |
} |
341 |
|
342 |
python_install_all() { |
343 |
use doc && local HTML_DOCS=( doc/build/html/. ) |
344 |
distutils-r1_python_install_all |
345 |
} |