1 |
idella4 14/05/05 06:17:52 |
2 |
|
3 |
Modified: nova-2014.1.9999.ebuild ChangeLog |
4 |
Added: nova-2014.1-r1.ebuild |
5 |
Log: |
6 |
revbump; add sample conf file, fixes Bug #509092 |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 sys-cluster/nova/nova-2014.1.9999.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/nova-2014.1.9999.ebuild?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/nova-2014.1.9999.ebuild?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/nova-2014.1.9999.ebuild?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: nova-2014.1.9999.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/nova/nova-2014.1.9999.ebuild,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- nova-2014.1.9999.ebuild 28 Apr 2014 03:03:58 -0000 1.1 |
24 |
+++ nova-2014.1.9999.ebuild 5 May 2014 06:17:52 -0000 1.2 |
25 |
@@ -1,6 +1,6 @@ |
26 |
# Copyright 1999-2014 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/nova-2014.1.9999.ebuild,v 1.1 2014/04/28 03:03:58 prometheanfire Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/nova-2014.1.9999.ebuild,v 1.2 2014/05/05 06:17:52 idella4 Exp $ |
30 |
|
31 |
EAPI=5 |
32 |
PYTHON_COMPAT=( python2_7 ) |
33 |
@@ -84,6 +84,11 @@ |
34 |
enewuser nova -1 -1 /var/lib/nova nova |
35 |
} |
36 |
|
37 |
+python_compile() { |
38 |
+ distutils-r1_python_compile |
39 |
+ ./tools/config/generate_sample.sh -b ./ -p nova -o etc/nova |
40 |
+} |
41 |
+ |
42 |
python_install() { |
43 |
distutils-r1_python_install |
44 |
|
45 |
|
46 |
|
47 |
|
48 |
1.62 sys-cluster/nova/ChangeLog |
49 |
|
50 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/ChangeLog?rev=1.62&view=markup |
51 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/ChangeLog?rev=1.62&content-type=text/plain |
52 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/ChangeLog?r1=1.61&r2=1.62 |
53 |
|
54 |
Index: ChangeLog |
55 |
=================================================================== |
56 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/nova/ChangeLog,v |
57 |
retrieving revision 1.61 |
58 |
retrieving revision 1.62 |
59 |
diff -u -r1.61 -r1.62 |
60 |
--- ChangeLog 28 Apr 2014 04:00:51 -0000 1.61 |
61 |
+++ ChangeLog 5 May 2014 06:17:52 -0000 1.62 |
62 |
@@ -1,6 +1,12 @@ |
63 |
# ChangeLog for sys-cluster/nova |
64 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
65 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/ChangeLog,v 1.61 2014/04/28 04:00:51 prometheanfire Exp $ |
66 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/ChangeLog,v 1.62 2014/05/05 06:17:52 idella4 Exp $ |
67 |
+ |
68 |
+*nova-2014.1-r1 (05 May 2014) |
69 |
+ |
70 |
+ 05 May 2014; Ian Delaney <idella4@g.o> +nova-2014.1-r1.ebuild, |
71 |
+ nova-2014.1.9999.ebuild: |
72 |
+ revbump; add sample conf file, fixes Bug #509092 |
73 |
|
74 |
28 Apr 2014; Matthew Thode <prometheanfire@g.o> files/nova.initd: |
75 |
don't depend unneeded init stuff |
76 |
|
77 |
|
78 |
|
79 |
1.1 sys-cluster/nova/nova-2014.1-r1.ebuild |
80 |
|
81 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/nova-2014.1-r1.ebuild?rev=1.1&view=markup |
82 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/nova-2014.1-r1.ebuild?rev=1.1&content-type=text/plain |
83 |
|
84 |
Index: nova-2014.1-r1.ebuild |
85 |
=================================================================== |
86 |
# Copyright 1999-2014 Gentoo Foundation |
87 |
# Distributed under the terms of the GNU General Public License v2 |
88 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/nova-2014.1-r1.ebuild,v 1.1 2014/05/05 06:17:52 idella4 Exp $ |
89 |
|
90 |
EAPI=5 |
91 |
PYTHON_COMPAT=( python2_7 ) |
92 |
|
93 |
inherit distutils-r1 eutils multilib user |
94 |
|
95 |
DESCRIPTION="A cloud computing fabric controller (main part of an IaaS system) written in Python." |
96 |
HOMEPAGE="https://launchpad.net/nova" |
97 |
SRC_URI="http://launchpad.net/${PN}/icehouse/${PV}/+download/${P}.tar.gz" |
98 |
|
99 |
LICENSE="Apache-2.0" |
100 |
SLOT="0" |
101 |
KEYWORDS="~amd64 ~x86" |
102 |
IUSE="+compute +kvm +network +novncproxy sqlite mysql postgres xen" |
103 |
REQUIRED_USE="|| ( mysql postgres sqlite ) |
104 |
compute? ( || ( kvm xen ) )" |
105 |
|
106 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
107 |
>=dev-python/pbr-0.6[${PYTHON_USEDEP}] |
108 |
<dev-python/pbr-1.0[${PYTHON_USEDEP}] |
109 |
app-admin/sudo" |
110 |
|
111 |
RDEPEND="sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}] |
112 |
<dev-python/sqlalchemy-0.9.99[sqlite,${PYTHON_USEDEP}] ) |
113 |
mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}] |
114 |
<dev-python/sqlalchemy-0.9.99[mysql,${PYTHON_USEDEP}] ) |
115 |
postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}] |
116 |
<dev-python/sqlalchemy-0.9.99[postgres,${PYTHON_USEDEP}] ) |
117 |
>=dev-python/amqplib-0.6.1[${PYTHON_USEDEP}] |
118 |
>=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}] |
119 |
virtual/python-argparse[${PYTHON_USEDEP}] |
120 |
>=dev-python/boto-2.12.0[${PYTHON_USEDEP}] |
121 |
!~dev-python/boto-2.13.0[${PYTHON_USEDEP}] |
122 |
>=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}] |
123 |
dev-python/jinja[${PYTHON_USEDEP}] |
124 |
>=dev-python/kombu-2.4.8[${PYTHON_USEDEP}] |
125 |
>=dev-python/lxml-2.3[${PYTHON_USEDEP}] |
126 |
>=dev-python/routes-1.12.3-r1[${PYTHON_USEDEP}] |
127 |
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}] |
128 |
>=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}] |
129 |
>=dev-python/pastedeploy-1.5.0-r1[${PYTHON_USEDEP}] |
130 |
dev-python/paste[${PYTHON_USEDEP}] |
131 |
>=dev-python/sqlalchemy-migrate-0.8.2[${PYTHON_USEDEP}] |
132 |
!~dev-python/sqlalchemy-migrate-0.8.4[${PYTHON_USEDEP}] |
133 |
>=dev-python/netaddr-0.7.6[${PYTHON_USEDEP}] |
134 |
>=dev-python/suds-0.4[${PYTHON_USEDEP}] |
135 |
>=dev-python/paramiko-1.9.0[${PYTHON_USEDEP}] |
136 |
dev-python/pyasn1[${PYTHON_USEDEP}] |
137 |
>=dev-python/Babel-1.3[${PYTHON_USEDEP}] |
138 |
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}] |
139 |
>=dev-python/python-cinderclient-1.0.6[${PYTHON_USEDEP}] |
140 |
>=dev-python/python-neutronclient-2.3.4[${PYTHON_USEDEP}] |
141 |
<=dev-python/python-neutronclient-3.0.0[${PYTHON_USEDEP}] |
142 |
>=dev-python/python-glanceclient-0.9.0[${PYTHON_USEDEP}] |
143 |
>=dev-python/python-keystoneclient-0.7.0[${PYTHON_USEDEP}] |
144 |
>=dev-python/six-1.5.2[${PYTHON_USEDEP}] |
145 |
>=dev-python/stevedore-0.14[${PYTHON_USEDEP}] |
146 |
>=dev-python/websockify-0.5.1[${PYTHON_USEDEP}] |
147 |
<dev-python/websockify-0.6[${PYTHON_USEDEP}] |
148 |
>=dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}] |
149 |
dev-python/oslo-rootwrap[${PYTHON_USEDEP}] |
150 |
>=dev-python/pycadf-0.4.1[${PYTHON_USEDEP}] |
151 |
>=dev-python/oslo-messaging-1.3.0[${PYTHON_USEDEP}] |
152 |
dev-python/libvirt-python[${PYTHON_USEDEP}] |
153 |
novncproxy? ( www-apps/novnc ) |
154 |
sys-apps/iproute2 |
155 |
net-misc/openvswitch |
156 |
net-misc/rabbitmq-server |
157 |
sys-fs/sysfsutils |
158 |
sys-fs/multipath-tools |
159 |
kvm? ( app-emulation/qemu ) |
160 |
xen? ( app-emulation/xen |
161 |
app-emulation/xen-tools )" |
162 |
|
163 |
PATCHES=( |
164 |
) |
165 |
|
166 |
pkg_setup() { |
167 |
enewgroup nova |
168 |
enewuser nova -1 -1 /var/lib/nova nova |
169 |
} |
170 |
|
171 |
python_compile() { |
172 |
distutils-r1_python_compile |
173 |
./tools/config/generate_sample.sh -b ./ -p nova -o etc/nova |
174 |
} |
175 |
|
176 |
python_install() { |
177 |
distutils-r1_python_install |
178 |
|
179 |
for svc in api cert compute conductor consoleauth network scheduler spicehtml5proxy xvpvncproxy; do |
180 |
newinitd "${FILESDIR}/nova.initd" "nova-${svc}" |
181 |
done |
182 |
use compute && newinitd "${FILESDIR}/nova.initd" "nova-compute" |
183 |
use novncproxy && newinitd "${FILESDIR}/nova.initd" "nova-novncproxy" |
184 |
|
185 |
diropts -m 0750 -o nova -g nova |
186 |
dodir /var/log/nova /var/lib/nova/instances |
187 |
|
188 |
insinto /etc/nova |
189 |
insopts -m 0640 -o nova -g nova |
190 |
newins "etc/nova/nova.conf.sample" "nova.conf" |
191 |
doins "etc/nova/api-paste.ini" |
192 |
doins "etc/nova/logging_sample.conf" |
193 |
doins "etc/nova/policy.json" |
194 |
doins "etc/nova/rootwrap.conf" |
195 |
#rootwrap filters |
196 |
insinto /etc/nova/rootwrap.d |
197 |
doins "etc/nova/rootwrap.d/api-metadata.filters" |
198 |
doins "etc/nova/rootwrap.d/compute.filters" |
199 |
doins "etc/nova/rootwrap.d/network.filters" |
200 |
#copy migration conf file (not coppied on install via setup.py script) |
201 |
insinto /usr/$(get_libdir)/python2.7/site-packages/nova/db/sqlalchemy/migrate_repo/ |
202 |
doins "nova/db/sqlalchemy/migrate_repo/migrate.cfg" |
203 |
#copy the CA cert dir (not coppied on install via setup.py script) |
204 |
cp -R "${S}/nova/CA" "${D}/usr/$(get_libdir)/python2.7/site-packages/nova/" || die "installing CA files failed" |
205 |
|
206 |
#add sudoers definitions for user nova |
207 |
insinto /etc/sudoers.d/ |
208 |
insopts -m 0600 -o root -g root |
209 |
doins "${FILESDIR}/nova-sudoers" |
210 |
} |