1 |
prometheanfire 14/03/25 20:51:33 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nova-2013.2.2-r1.ebuild |
5 |
Removed: nova-2013.2.2.ebuild |
6 |
Log: |
7 |
fix for nova CVE-2014-0134 |
8 |
|
9 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3) |
10 |
|
11 |
Revision Changes Path |
12 |
1.53 sys-cluster/nova/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/ChangeLog?rev=1.53&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/ChangeLog?rev=1.53&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/ChangeLog?r1=1.52&r2=1.53 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/nova/ChangeLog,v |
21 |
retrieving revision 1.52 |
22 |
retrieving revision 1.53 |
23 |
diff -u -r1.52 -r1.53 |
24 |
--- ChangeLog 23 Mar 2014 20:32:06 -0000 1.52 |
25 |
+++ ChangeLog 25 Mar 2014 20:51:33 -0000 1.53 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for sys-cluster/nova |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/ChangeLog,v 1.52 2014/03/23 20:32:06 prometheanfire Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/ChangeLog,v 1.53 2014/03/25 20:51:33 prometheanfire Exp $ |
31 |
+ |
32 |
+*nova-2013.2.2-r1 (25 Mar 2014) |
33 |
+ |
34 |
+ 25 Mar 2014; Matthew Thode <prometheanfire@g.o> |
35 |
+ +files/2013.2.2-CVE-2014-0134.patch, +nova-2013.2.2-r1.ebuild, |
36 |
+ -nova-2013.2.2.ebuild: |
37 |
+ fix for nova CVE-2014-0134 |
38 |
|
39 |
*nova-2013.1.5 (23 Mar 2014) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 sys-cluster/nova/nova-2013.2.2-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/nova-2013.2.2-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/nova-2013.2.2-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: nova-2013.2.2-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2014 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/nova-2013.2.2-r1.ebuild,v 1.1 2014/03/25 20:51:33 prometheanfire Exp $ |
54 |
|
55 |
EAPI=5 |
56 |
PYTHON_COMPAT=( python2_7 ) |
57 |
|
58 |
inherit distutils-r1 eutils multilib user |
59 |
|
60 |
DESCRIPTION="A cloud computing fabric controller (main part of an IaaS system) written in Python." |
61 |
HOMEPAGE="https://launchpad.net/nova" |
62 |
SRC_URI="http://launchpad.net/${PN}/havana/${PV}/+download/${P}.tar.gz" |
63 |
|
64 |
LICENSE="Apache-2.0" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~x86" |
67 |
IUSE="+api +cert +compute +conductor +consoleauth +kvm +network +novncproxy +scheduler +spicehtml5proxy +xvpvncproxy sqlite mysql postgres xen" |
68 |
REQUIRED_USE="|| ( mysql postgres sqlite ) |
69 |
|| ( kvm xen )" |
70 |
|
71 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
72 |
>=dev-python/pbr-0.5.21[${PYTHON_USEDEP}] |
73 |
<dev-python/pbr-1.0[${PYTHON_USEDEP}] |
74 |
app-admin/sudo" |
75 |
|
76 |
RDEPEND="sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}] |
77 |
<dev-python/sqlalchemy-0.7.99[sqlite,${PYTHON_USEDEP}] ) |
78 |
mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}] |
79 |
<dev-python/sqlalchemy-0.7.99[mysql,${PYTHON_USEDEP}] ) |
80 |
postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}] |
81 |
<dev-python/sqlalchemy-0.7.99[postgres,${PYTHON_USEDEP}] ) |
82 |
>=dev-python/amqplib-0.6.1[${PYTHON_USEDEP}] |
83 |
>=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}] |
84 |
virtual/python-argparse[${PYTHON_USEDEP}] |
85 |
>=dev-python/boto-2.4.0[${PYTHON_USEDEP}] |
86 |
!~dev-python/boto-2.13.0[${PYTHON_USEDEP}] |
87 |
>=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}] |
88 |
dev-python/jinja[${PYTHON_USEDEP}] |
89 |
>=dev-python/kombu-2.4.8[${PYTHON_USEDEP}] |
90 |
>=dev-python/lxml-2.3[${PYTHON_USEDEP}] |
91 |
>=dev-python/routes-1.12.3-r1[${PYTHON_USEDEP}] |
92 |
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}] |
93 |
<dev-python/webob-1.3[${PYTHON_USEDEP}] |
94 |
>=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}] |
95 |
>=dev-python/pastedeploy-1.5.0-r1[${PYTHON_USEDEP}] |
96 |
dev-python/paste[${PYTHON_USEDEP}] |
97 |
>=dev-python/sqlalchemy-migrate-0.7.2[${PYTHON_USEDEP}] |
98 |
dev-python/netaddr[${PYTHON_USEDEP}] |
99 |
>=dev-python/suds-0.4[${PYTHON_USEDEP}] |
100 |
>=dev-python/paramiko-1.8.0[${PYTHON_USEDEP}] |
101 |
dev-python/pyasn1[${PYTHON_USEDEP}] |
102 |
>=dev-python/Babel-1.3[${PYTHON_USEDEP}] |
103 |
>=dev-python/iso8601-0.1.8[${PYTHON_USEDEP}] |
104 |
>=dev-python/python-cinderclient-1.0.5[${PYTHON_USEDEP}] |
105 |
>=dev-python/python-neutronclient-2.3.0[${PYTHON_USEDEP}] |
106 |
<=dev-python/python-neutronclient-3.0.0[${PYTHON_USEDEP}] |
107 |
>=dev-python/python-glanceclient-0.9.0[${PYTHON_USEDEP}] |
108 |
>=dev-python/python-keystoneclient-0.3.2[${PYTHON_USEDEP}] |
109 |
>=dev-python/stevedore-0.10[${PYTHON_USEDEP}] |
110 |
>=dev-python/websockify-0.5.1[${PYTHON_USEDEP}] |
111 |
<dev-python/websockify-0.6[${PYTHON_USEDEP}] |
112 |
>=dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}] |
113 |
dev-python/libvirt-python[${PYTHON_USEDEP}] |
114 |
novncproxy? ( www-apps/novnc ) |
115 |
sys-apps/iproute2 |
116 |
net-misc/openvswitch |
117 |
sys-fs/sysfsutils |
118 |
sys-fs/multipath-tools |
119 |
kvm? ( app-emulation/qemu ) |
120 |
xen? ( app-emulation/xen |
121 |
app-emulation/xen-tools )" |
122 |
|
123 |
PATCHES=( |
124 |
"${FILESDIR}/2013.2.2-CVE-2014-0134.patch" |
125 |
) |
126 |
|
127 |
pkg_setup() { |
128 |
enewgroup nova |
129 |
enewuser nova -1 -1 /var/lib/nova nova |
130 |
} |
131 |
|
132 |
python_install() { |
133 |
distutils-r1_python_install |
134 |
newconfd "${FILESDIR}/nova-confd" "nova" |
135 |
newinitd "${FILESDIR}/nova-initd" "nova" |
136 |
use api && dosym /etc/init.d/nova /etc/init.d/nova-api |
137 |
use cert && dosym /etc/init.d/nova /etc/init.d/nova-cert |
138 |
use compute && dosym /etc/init.d/nova /etc/init.d/nova-compute |
139 |
use conductor && dosym /etc/init.d/nova /etc/init.d/nova-conductor |
140 |
use consoleauth && dosym /etc/init.d/nova /etc/init.d/nova-consoleauth |
141 |
use network && dosym /etc/init.d/nova /etc/init.d/nova-network |
142 |
use novncproxy &&dosym /etc/init.d/nova /etc/init.d/nova-novncproxy |
143 |
use scheduler && dosym /etc/init.d/nova /etc/init.d/nova-scheduler |
144 |
use spicehtml5proxy && dosym /etc/init.d/nova /etc/init.d/nova-spicehtml5proxy |
145 |
use xvpvncproxy && dosym /etc/init.d/nova /etc/init.d/nova-xvpncproxy |
146 |
|
147 |
diropts -m 0750 |
148 |
dodir /var/run/nova /var/log/nova /var/lock/nova |
149 |
fowners nova:nova /var/log/nova /var/lock/nova /var/run/nova |
150 |
|
151 |
diropts -m 0755 |
152 |
dodir /var/lib/nova/instances |
153 |
fowners nova:nova /var/lib/nova/instances |
154 |
|
155 |
keepdir /etc/nova |
156 |
insinto /etc/nova |
157 |
newins "etc/nova/nova.conf.sample" "nova.conf" |
158 |
doins "etc/nova/api-paste.ini" |
159 |
doins "etc/nova/logging_sample.conf" |
160 |
doins "etc/nova/policy.json" |
161 |
doins "etc/nova/rootwrap.conf" |
162 |
insinto /etc/nova/rootwrap.d |
163 |
doins "etc/nova/rootwrap.d/api-metadata.filters" |
164 |
doins "etc/nova/rootwrap.d/compute.filters" |
165 |
doins "etc/nova/rootwrap.d/network.filters" |
166 |
|
167 |
#copy migration conf file (not coppied on install via setup.py script) |
168 |
insinto /usr/$(get_libdir)/python2.7/site-packages/nova/db/sqlalchemy/migrate_repo/ |
169 |
doins "nova/db/sqlalchemy/migrate_repo/migrate.cfg" |
170 |
|
171 |
#copy the CA cert dir (not coppied on install via setup.py script) |
172 |
cp -R "${S}/nova/CA" "${D}/usr/$(get_libdir)/python2.7/site-packages/nova/" || die "isntalling CA files failed" |
173 |
|
174 |
#add sudoers definitions for user nova |
175 |
insinto /etc/sudoers.d/ |
176 |
doins "${FILESDIR}/nova-sudoers" |
177 |
} |