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