Gentoo Archives: gentoo-commits

From: "Matt Thode (prometheanfire)" <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-cluster/nova: metadata.xml nova-2013.2.9999.ebuild ChangeLog
Date: Tue, 01 Apr 2014 03:46:57
Message-Id: 20140401034651.B36862005E@flycatcher.gentoo.org
1 prometheanfire 14/04/01 03:46:51
2
3 Modified: metadata.xml nova-2013.2.9999.ebuild ChangeLog
4 Log:
5 update to nova and deps 2013.2.9999
6
7 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3)
8
9 Revision Changes Path
10 1.6 sys-cluster/nova/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/metadata.xml?rev=1.6&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/metadata.xml?rev=1.6&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/metadata.xml?r1=1.5&r2=1.6
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/nova/metadata.xml,v
19 retrieving revision 1.5
20 retrieving revision 1.6
21 diff -u -r1.5 -r1.6
22 --- metadata.xml 30 Mar 2014 05:42:20 -0000 1.5
23 +++ metadata.xml 1 Apr 2014 03:46:51 -0000 1.6
24 @@ -19,7 +19,6 @@
25 <flag name="kvm">qemu-kvm hypervisor support</flag>
26 <flag name="network">Installs the initscripts for the nova network service</flag>
27 <flag name="novncproxy">Installs the initscripts for the nova novncproxy service</flag>
28 - <flag name="rabbit">Installs the rabbitmq server as the amqp server for nova</flag>
29 <flag name="scheduler">Installs the initscripts for the nova scheduler service</flag>
30 <flag name="spicehtml5proxy">Installs the initscripts for the nova spicehtml5proxy service</flag>
31 <flag name="xen">xen hypervisor support</flag>
32
33
34
35 1.12 sys-cluster/nova/nova-2013.2.9999.ebuild
36
37 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/nova-2013.2.9999.ebuild?rev=1.12&view=markup
38 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/nova-2013.2.9999.ebuild?rev=1.12&content-type=text/plain
39 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/nova-2013.2.9999.ebuild?r1=1.11&r2=1.12
40
41 Index: nova-2013.2.9999.ebuild
42 ===================================================================
43 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/nova/nova-2013.2.9999.ebuild,v
44 retrieving revision 1.11
45 retrieving revision 1.12
46 diff -u -r1.11 -r1.12
47 --- nova-2013.2.9999.ebuild 30 Mar 2014 05:42:20 -0000 1.11
48 +++ nova-2013.2.9999.ebuild 1 Apr 2014 03:46:51 -0000 1.12
49 @@ -1,6 +1,6 @@
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/nova-2013.2.9999.ebuild,v 1.11 2014/03/30 05:42:20 prometheanfire Exp $
53 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/nova-2013.2.9999.ebuild,v 1.12 2014/04/01 03:46:51 prometheanfire Exp $
54
55 EAPI=5
56 PYTHON_COMPAT=( python2_7 )
57 @@ -15,9 +15,9 @@
58 LICENSE="Apache-2.0"
59 SLOT="0"
60 KEYWORDS=""
61 -IUSE="+api +cert +compute +conductor +consoleauth ipv6 +kvm +network +novncproxy +rabbit +scheduler +spicehtml5proxy +xvpvncproxy sqlite mysql postgres xen"
62 +IUSE="+compute +kvm +network +novncproxy sqlite mysql postgres xen"
63 REQUIRED_USE="|| ( mysql postgres sqlite )
64 - || ( kvm xen )"
65 + compute? ( || ( kvm xen ) )"
66
67 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
68 >=dev-python/pbr-0.5.21[${PYTHON_USEDEP}]
69 @@ -65,10 +65,9 @@
70 novncproxy? ( www-apps/novnc )
71 sys-apps/iproute2
72 net-misc/openvswitch
73 + net-misc/rabbitmq-server
74 sys-fs/sysfsutils
75 sys-fs/multipath-tools
76 - ipv6? ( net-misc/radvd )
77 - rabbit? ( net-misc/rabbitmq-server )
78 kvm? ( app-emulation/qemu )
79 xen? ( app-emulation/xen
80 app-emulation/xen-tools )"
81 @@ -83,47 +82,36 @@
82
83 python_install() {
84 distutils-r1_python_install
85 - newconfd "${FILESDIR}/nova-confd" "nova"
86 - newinitd "${FILESDIR}/nova-initd" "nova"
87 - use api && dosym /etc/init.d/nova /etc/init.d/nova-api
88 - use cert && dosym /etc/init.d/nova /etc/init.d/nova-cert
89 - use compute && dosym /etc/init.d/nova /etc/init.d/nova-compute
90 - use conductor && dosym /etc/init.d/nova /etc/init.d/nova-conductor
91 - use consoleauth && dosym /etc/init.d/nova /etc/init.d/nova-consoleauth
92 - use network && dosym /etc/init.d/nova /etc/init.d/nova-network
93 - use novncproxy &&dosym /etc/init.d/nova /etc/init.d/nova-novncproxy
94 - use scheduler && dosym /etc/init.d/nova /etc/init.d/nova-scheduler
95 - use spicehtml5proxy && dosym /etc/init.d/nova /etc/init.d/nova-spicehtml5proxy
96 - use xvpvncproxy && dosym /etc/init.d/nova /etc/init.d/nova-xvpncproxy
97 -
98 - diropts -m 0750
99 - dodir /var/run/nova /var/log/nova /var/lock/nova
100 - fowners nova:nova /var/log/nova /var/lock/nova /var/run/nova
101 -
102 - diropts -m 0755
103 - dodir /var/lib/nova/instances
104 - fowners nova:nova /var/lib/nova/instances
105
106 - keepdir /etc/nova
107 + for svc in api cert compute conductor consoleauth network scheduler spicehtml5proxy xvpvncproxy; do
108 + newinitd "${FILESDIR}/nova.initd" "nova-${svc}"
109 + done
110 + use compute && newinitd "${FILESDIR}/nova.initd" "nova-compute"
111 + use novncproxy && newinitd "${FILESDIR}/nova.initd" "nova-novncproxy"
112 +
113 + diropts -m 0750 -o nova -g nova
114 + dodir /var/log/nova /var/lib/nova/instances
115 +
116 insinto /etc/nova
117 + insopts -m 0640 -o nova -g nova
118 newins "etc/nova/nova.conf.sample" "nova.conf"
119 doins "etc/nova/api-paste.ini"
120 doins "etc/nova/logging_sample.conf"
121 doins "etc/nova/policy.json"
122 doins "etc/nova/rootwrap.conf"
123 + #rootwrap filters
124 insinto /etc/nova/rootwrap.d
125 doins "etc/nova/rootwrap.d/api-metadata.filters"
126 doins "etc/nova/rootwrap.d/compute.filters"
127 doins "etc/nova/rootwrap.d/network.filters"
128 -
129 #copy migration conf file (not coppied on install via setup.py script)
130 insinto /usr/$(get_libdir)/python2.7/site-packages/nova/db/sqlalchemy/migrate_repo/
131 doins "nova/db/sqlalchemy/migrate_repo/migrate.cfg"
132 -
133 #copy the CA cert dir (not coppied on install via setup.py script)
134 cp -R "${S}/nova/CA" "${D}/usr/$(get_libdir)/python2.7/site-packages/nova/" || die "isntalling CA files failed"
135
136 #add sudoers definitions for user nova
137 insinto /etc/sudoers.d/
138 + insopts -m 0600 -o root -g root
139 doins "${FILESDIR}/nova-sudoers"
140 }
141
142
143
144 1.56 sys-cluster/nova/ChangeLog
145
146 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/ChangeLog?rev=1.56&view=markup
147 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/ChangeLog?rev=1.56&content-type=text/plain
148 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/nova/ChangeLog?r1=1.55&r2=1.56
149
150 Index: ChangeLog
151 ===================================================================
152 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/nova/ChangeLog,v
153 retrieving revision 1.55
154 retrieving revision 1.56
155 diff -u -r1.55 -r1.56
156 --- ChangeLog 30 Mar 2014 05:42:20 -0000 1.55
157 +++ ChangeLog 1 Apr 2014 03:46:51 -0000 1.56
158 @@ -1,6 +1,10 @@
159 # ChangeLog for sys-cluster/nova
160 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
161 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/ChangeLog,v 1.55 2014/03/30 05:42:20 prometheanfire Exp $
162 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/ChangeLog,v 1.56 2014/04/01 03:46:51 prometheanfire Exp $
163 +
164 + 01 Apr 2014; Matthew Thode <prometheanfire@g.o> +files/nova.initd,
165 + metadata.xml, nova-2013.2.9999.ebuild:
166 + update to nova and deps 2013.2.9999
167
168 30 Mar 2014; Matthew Thode <prometheanfire@g.o> metadata.xml,
169 nova-2013.2.9999.ebuild: