1 |
commit: b743384ecf9dbff33d219053e0778c65797a5f6b |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 25 18:52:43 2020 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 25 18:53:48 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b743384e |
7 |
|
8 |
sys-cluster/cinder: 15.3.0 bump |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.23 |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
sys-cluster/cinder/Manifest | 2 + |
14 |
sys-cluster/cinder/cinder-15.3.0.ebuild | 210 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 212 insertions(+) |
16 |
|
17 |
diff --git a/sys-cluster/cinder/Manifest b/sys-cluster/cinder/Manifest |
18 |
index 0e37aaab74f..d7b7dcf07c3 100644 |
19 |
--- a/sys-cluster/cinder/Manifest |
20 |
+++ b/sys-cluster/cinder/Manifest |
21 |
@@ -1,9 +1,11 @@ |
22 |
DIST cinder-15.1.0.tar.gz 5504663 BLAKE2B 19097821729c99f0a13f0c30c9fa2c8647fe4c6ae01790b59b264fad282f1051e5e3f3275720114b1575afcbef517baab89a34ce75b7ef54d6515c204907f28a SHA512 1c6c88854994d440c3818d26533ea075adfcfc4b8642b2796d1ac90a5feec5e3c8d64d06f433840afcf2d9d4f5a50ba256808b74495e0e735a3f0a19bdc838e3 |
23 |
DIST cinder-15.2.0.tar.gz 5527994 BLAKE2B 0952c00efa1023f5ffdf7079d769714c29b8df828cf25a2f027e1d984ec9db98ad8d305476cb8e6170de47f672affb746e7edd098e4ee56f14f1681d608c83b1 SHA512 70a47dacecce5218ad42d828e69b19a24f37db3fd34b4c862c5f79f77340eb1febd3414a02ea56cb691243bc0c07b0e8e6030c8f27d9fbee68fe07041de22b17 |
24 |
+DIST cinder-15.3.0.tar.gz 5521543 BLAKE2B e311ea1d9771f75a45a98598dae2fe7e060fb25c1b16ce5d94bbd769caca70512417724c531b756216ce594ed3bb682653681339ae37bc262139bd3080116bbb SHA512 793fe23a5526ba726416282022888f090c9c58c180d33013d66f6916251fd4789e8af2565dbe6ef61f224d9a61b4a622374ad7c4ea722f260dbf3a60274bfe0e |
25 |
DIST cinder-16.0.0.tar.gz 5448332 BLAKE2B cc570cde45ed680c54a11c46883d00596114d5cdb58cfa03424468073247efb7753be29ce542d9b03b42b4d1037020085921780baefa78a790d53c8fea9135f3 SHA512 aa1a4f5e0867ef0b55a9461705d0f1db06fc1a24ce5dbc64b3166ca4dc829957c71ac9da259b7e20fe568e4278d0ac713a87e5098409d1d83bfc71fa9197fa64 |
26 |
DIST cinder-16.1.0.tar.gz 5445353 BLAKE2B f7e121845b5db3de191c8782577f680cbb93fd26087113bd0c322eed4b27cf071977763a3eacb933d7b8894b56aaf042a115c2dfd20be47f89c9d45f0556c34a SHA512 97fb157eac466d869a707cd05d287a309512952e8f8267b58123b9108eb1c2df66c8d0b799a3fb83087645a09e679b7c6eb24baa4a21b751a1ce35dbb5bd3f4a |
27 |
DIST cinder.conf.sample-15.1.0 183153 BLAKE2B fb86b82c711568c89a445c5876a1d5e890714d4dd957d4aa5b3158a3c85150e75d8d0055a93bf6a937d8a6f5a3c4042c5ddb4b4da2dd006d77d8eb8ec8a19fc5 SHA512 95a2076970184bc34c9c293371f72a791f16600c4933572b8d51291c506a7c1ef3bd2ea185f1f4dafeff6c85a237f4453f8ee6c1df6af7f603afe1ddfd63cd3a |
28 |
DIST cinder.conf.sample-15.2.0 183153 BLAKE2B fb86b82c711568c89a445c5876a1d5e890714d4dd957d4aa5b3158a3c85150e75d8d0055a93bf6a937d8a6f5a3c4042c5ddb4b4da2dd006d77d8eb8ec8a19fc5 SHA512 95a2076970184bc34c9c293371f72a791f16600c4933572b8d51291c506a7c1ef3bd2ea185f1f4dafeff6c85a237f4453f8ee6c1df6af7f603afe1ddfd63cd3a |
29 |
+DIST cinder.conf.sample-15.3.0 183153 BLAKE2B fb86b82c711568c89a445c5876a1d5e890714d4dd957d4aa5b3158a3c85150e75d8d0055a93bf6a937d8a6f5a3c4042c5ddb4b4da2dd006d77d8eb8ec8a19fc5 SHA512 95a2076970184bc34c9c293371f72a791f16600c4933572b8d51291c506a7c1ef3bd2ea185f1f4dafeff6c85a237f4453f8ee6c1df6af7f603afe1ddfd63cd3a |
30 |
DIST cinder.conf.sample-16.0.0 183294 BLAKE2B 5d0f28b9ad200d912c42c34ca030a5ec3660c57db332677e1b66b314a2865187862c83baf78d122fc0af7f73fbf4f0c7f04b9253882d228dcb863bfc88e37e72 SHA512 faf712a3da37af05e642b3c14f98ce8d4e3db5b736b208d7ca8a18be02ac5626c94b4ed314bd0030d5fa3771b325ba0f24ec3a45188d27fd9de79c97b56e2626 |
31 |
DIST cinder.conf.sample-16.1.0 183294 BLAKE2B 5d0f28b9ad200d912c42c34ca030a5ec3660c57db332677e1b66b314a2865187862c83baf78d122fc0af7f73fbf4f0c7f04b9253882d228dcb863bfc88e37e72 SHA512 faf712a3da37af05e642b3c14f98ce8d4e3db5b736b208d7ca8a18be02ac5626c94b4ed314bd0030d5fa3771b325ba0f24ec3a45188d27fd9de79c97b56e2626 |
32 |
DIST cinder.conf.sample-2019.2.9999 183153 BLAKE2B fb86b82c711568c89a445c5876a1d5e890714d4dd957d4aa5b3158a3c85150e75d8d0055a93bf6a937d8a6f5a3c4042c5ddb4b4da2dd006d77d8eb8ec8a19fc5 SHA512 95a2076970184bc34c9c293371f72a791f16600c4933572b8d51291c506a7c1ef3bd2ea185f1f4dafeff6c85a237f4453f8ee6c1df6af7f603afe1ddfd63cd3a |
33 |
|
34 |
diff --git a/sys-cluster/cinder/cinder-15.3.0.ebuild b/sys-cluster/cinder/cinder-15.3.0.ebuild |
35 |
new file mode 100644 |
36 |
index 00000000000..7325178131b |
37 |
--- /dev/null |
38 |
+++ b/sys-cluster/cinder/cinder-15.3.0.ebuild |
39 |
@@ -0,0 +1,210 @@ |
40 |
+# Copyright 1999-2020 Gentoo Authors |
41 |
+# Distributed under the terms of the GNU General Public License v2 |
42 |
+ |
43 |
+EAPI=7 |
44 |
+ |
45 |
+PYTHON_COMPAT=( python3_7 ) |
46 |
+inherit distutils-r1 eutils linux-info |
47 |
+ |
48 |
+DESCRIPTION="Cinder is the OpenStack Block storage service, a spin out of nova-volumes" |
49 |
+HOMEPAGE="https://launchpad.net/cinder" |
50 |
+ |
51 |
+if [[ ${PV} == *9999 ]];then |
52 |
+ inherit git-r3 |
53 |
+ SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/cinder/train/cinder.conf.sample -> cinder.conf.sample-${PV}" |
54 |
+ EGIT_REPO_URI="https://github.com/openstack/cinder.git" |
55 |
+ EGIT_BRANCH="stable/train" |
56 |
+else |
57 |
+ SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/cinder/train/cinder.conf.sample -> cinder.conf.sample-${PV} |
58 |
+ https://tarballs.openstack.org/${PN}/${P}.tar.gz" |
59 |
+ KEYWORDS="~amd64 ~arm64 ~x86" |
60 |
+fi |
61 |
+ |
62 |
+LICENSE="Apache-2.0" |
63 |
+SLOT="0" |
64 |
+IUSE="+api +scheduler +volume infiniband iscsi lvm mysql +memcached postgres rdma sqlite +tcp test +tgt" |
65 |
+RESTRICT="!test? ( test )" |
66 |
+REQUIRED_USE="|| ( mysql postgres sqlite ) iscsi? ( tgt ) infiniband? ( rdma )" |
67 |
+ |
68 |
+CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] |
69 |
+ !~dev-python/pbr-2.1.0" |
70 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
71 |
+ ${CDEPEND} |
72 |
+ app-admin/sudo" |
73 |
+ |
74 |
+# >=dev-python/oauth2client-1.5.0[${PYTHON_USEDEP}] # do not include, upstream depricated |
75 |
+RDEPEND=" |
76 |
+ ${CDEPEND} |
77 |
+ >=dev-python/decorator-3.4.0[${PYTHON_USEDEP}] |
78 |
+ >=dev-python/defusedxml-0.5.0[${PYTHON_USEDEP}] |
79 |
+ >=dev-python/eventlet-0.22.0[${PYTHON_USEDEP}] |
80 |
+ !~dev-python/eventlet-0.23.0[${PYTHON_USEDEP}] |
81 |
+ !~dev-python/eventlet-0.25.0[${PYTHON_USEDEP}] |
82 |
+ >=dev-python/greenlet-0.4.1[${PYTHON_USEDEP}] |
83 |
+ >=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}] |
84 |
+ >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] |
85 |
+ >=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}] |
86 |
+ >=dev-python/keystoneauth-3.7.0[${PYTHON_USEDEP}] |
87 |
+ >=dev-python/keystonemiddleware-4.21.0[${PYTHON_USEDEP}] |
88 |
+ >=dev-python/lxml-3.4.1[${PYTHON_USEDEP}] |
89 |
+ !~dev-python/lxml-3.7.0[${PYTHON_USEDEP}] |
90 |
+ >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] |
91 |
+ >=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}] |
92 |
+ >=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}] |
93 |
+ >=dev-python/oslo-db-4.27.0[${PYTHON_USEDEP}] |
94 |
+ >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] |
95 |
+ >=dev-python/oslo-messaging-6.4.0[${PYTHON_USEDEP}] |
96 |
+ >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}] |
97 |
+ >=dev-python/oslo-policy-1.44.1[${PYTHON_USEDEP}] |
98 |
+ >=dev-python/oslo-privsep-1.32.0[${PYTHON_USEDEP}] |
99 |
+ >=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}] |
100 |
+ >=dev-python/oslo-rootwrap-5.8.0[${PYTHON_USEDEP}] |
101 |
+ >=dev-python/oslo-serialization-2.18.0[${PYTHON_USEDEP}] |
102 |
+ !~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] |
103 |
+ >=dev-python/oslo-service-1.24.0[${PYTHON_USEDEP}] |
104 |
+ !~dev-python/oslo-service-1.28.1[${PYTHON_USEDEP}] |
105 |
+ >=dev-python/oslo-upgradecheck-0.1.0[${PYTHON_USEDEP}] |
106 |
+ >=dev-python/oslo-utils-3.34.0[${PYTHON_USEDEP}] |
107 |
+ >=dev-python/oslo-versionedobjects-1.31.2[${PYTHON_USEDEP}] |
108 |
+ >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}] |
109 |
+ >=dev-python/paramiko-2.0.0[${PYTHON_USEDEP}] |
110 |
+ >=dev-python/paste-2.0.2[${PYTHON_USEDEP}] |
111 |
+ >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] |
112 |
+ >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] |
113 |
+ <dev-python/prettytable-0.8[${PYTHON_USEDEP}] |
114 |
+ >=dev-python/psutil-3.2.2[${PYTHON_USEDEP}] |
115 |
+ >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] |
116 |
+ >=dev-python/python-barbicanclient-4.5.2[${PYTHON_USEDEP}] |
117 |
+ >=dev-python/python-glanceclient-2.15.0[${PYTHON_USEDEP}] |
118 |
+ >=dev-python/python-keystoneclient-3.15.0[${PYTHON_USEDEP}] |
119 |
+ >=dev-python/python-novaclient-9.1.0[${PYTHON_USEDEP}] |
120 |
+ >=dev-python/python-swiftclient-3.2.0[${PYTHON_USEDEP}] |
121 |
+ >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] |
122 |
+ >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] |
123 |
+ !~dev-python/requests-2.20.0[${PYTHON_USEDEP}] |
124 |
+ >=dev-python/retrying-1.2.3[${PYTHON_USEDEP}] |
125 |
+ !~dev-python/retrying-1.3.0[${PYTHON_USEDEP}] |
126 |
+ >=dev-python/routes-2.3.1[${PYTHON_USEDEP}] |
127 |
+ >=dev-python/taskflow-3.2.0[${PYTHON_USEDEP}] |
128 |
+ >=dev-python/rtslib-fb-2.1.65[${PYTHON_USEDEP}] |
129 |
+ >=dev-python/six-1.10.0[${PYTHON_USEDEP}] |
130 |
+ sqlite? ( |
131 |
+ >=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}] |
132 |
+ !~dev-python/sqlalchemy-1.1.5[sqlite,${PYTHON_USEDEP}] |
133 |
+ !~dev-python/sqlalchemy-1.1.6[sqlite,${PYTHON_USEDEP}] |
134 |
+ !~dev-python/sqlalchemy-1.1.7[sqlite,${PYTHON_USEDEP}] |
135 |
+ !~dev-python/sqlalchemy-1.1.8[sqlite,${PYTHON_USEDEP}] |
136 |
+ ) |
137 |
+ mysql? ( |
138 |
+ >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}] |
139 |
+ !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}] |
140 |
+ >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
141 |
+ !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}] |
142 |
+ !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}] |
143 |
+ !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}] |
144 |
+ !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}] |
145 |
+ ) |
146 |
+ postgres? ( |
147 |
+ >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}] |
148 |
+ >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
149 |
+ !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}] |
150 |
+ !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}] |
151 |
+ !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}] |
152 |
+ !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}] |
153 |
+ ) |
154 |
+ >=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}] |
155 |
+ >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] |
156 |
+ ~dev-python/suds-0.6[${PYTHON_USEDEP}] |
157 |
+ >=dev-python/webob-1.7.1[${PYTHON_USEDEP}] |
158 |
+ >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] |
159 |
+ >=dev-python/oslo-vmware-2.17.0[${PYTHON_USEDEP}] |
160 |
+ >=dev-python/os-brick-2.10.4[${PYTHON_USEDEP}] |
161 |
+ >=dev-python/os-win-3.0.0[${PYTHON_USEDEP}] |
162 |
+ >=dev-python/tooz-1.58.0[${PYTHON_USEDEP}] |
163 |
+ >=dev-python/google-api-python-client-1.4.2[${PYTHON_USEDEP}] |
164 |
+ >=dev-python/castellan-0.16.0[${PYTHON_USEDEP}] |
165 |
+ >=dev-python/cryptography-2.1[${PYTHON_USEDEP}] |
166 |
+ >=dev-python/cursive-0.2.1[${PYTHON_USEDEP}] |
167 |
+ iscsi? ( |
168 |
+ tgt? ( sys-block/tgt ) |
169 |
+ sys-block/open-iscsi |
170 |
+ ) |
171 |
+ lvm? ( sys-fs/lvm2 ) |
172 |
+ memcached? ( net-misc/memcached ) |
173 |
+ app-emulation/qemu |
174 |
+ sys-fs/sysfsutils |
175 |
+ acct-user/cinder |
176 |
+ acct-group/cinder" |
177 |
+# qemu is needed for image conversion |
178 |
+ |
179 |
+#PATCHES=( |
180 |
+#) |
181 |
+ |
182 |
+pkg_pretend() { |
183 |
+ linux-info_pkg_setup |
184 |
+ CONFIG_CHECK_MODULES="" |
185 |
+ if use tcp; then |
186 |
+ CONFIG_CHECK_MODULES+="SCSI_ISCSI_ATTRS ISCSI_TCP " |
187 |
+ fi |
188 |
+ if use rdma; then |
189 |
+ CONFIG_CHECK_MODULES+="INFINIBAND_ISER " |
190 |
+ fi |
191 |
+ if use infiniband; then |
192 |
+ CONFIG_CHECK_MODULES+="INFINIBAND_IPOIB INFINIBAND_USER_MAD INFINIBAND_USER_ACCESS" |
193 |
+ fi |
194 |
+ if linux_config_exists; then |
195 |
+ for module in ${CONFIG_CHECK_MODULES}; do |
196 |
+ linux_chkconfig_present ${module} || ewarn "${module} needs to be enabled" |
197 |
+ done |
198 |
+ fi |
199 |
+} |
200 |
+ |
201 |
+python_prepare_all() { |
202 |
+ sed -i '/^hacking/d' test-requirements.txt || die |
203 |
+ # only used for docs |
204 |
+ sed -i '/^sphinx-feature-classification/d' requirements.txt || die |
205 |
+ distutils-r1_python_prepare_all |
206 |
+} |
207 |
+ |
208 |
+python_test() { |
209 |
+ # Let's track progress of this # https://bugs.launchpad.net/swift/+bug/1249727 |
210 |
+ nosetests -I test_wsgi.py cinder/tests/ || die "tests failed under python2.7" |
211 |
+} |
212 |
+ |
213 |
+python_install_all() { |
214 |
+ distutils-r1_python_install_all |
215 |
+ keepdir /etc/cinder |
216 |
+ dodir /etc/cinder/rootwrap.d |
217 |
+ |
218 |
+ for svc in api scheduler volume; do |
219 |
+ newinitd "${FILESDIR}/cinder.initd" cinder-${svc} |
220 |
+ done |
221 |
+ |
222 |
+ insinto /etc/cinder |
223 |
+ insopts -m0640 -o cinder -g cinder |
224 |
+ doins "etc/cinder/api-httpd.conf" |
225 |
+ doins "etc/cinder/logging_sample.conf" |
226 |
+ doins "etc/cinder/rootwrap.conf" |
227 |
+ doins "etc/cinder/api-paste.ini" |
228 |
+ doins "etc/cinder/resource_filters.json" |
229 |
+ newins "${DISTDIR}/cinder.conf.sample-${PV}" "cinder.conf.sample" |
230 |
+ insinto /etc/cinder/rootwrap.d |
231 |
+ doins "etc/cinder/rootwrap.d/volume.filters" |
232 |
+ |
233 |
+ dodir /var/log/cinder |
234 |
+ fowners cinder:cinder /var/log/cinder |
235 |
+ |
236 |
+ #add sudoers definitions for user nova |
237 |
+ insinto /etc/sudoers.d/ |
238 |
+ insopts -m 0440 -o root -g root |
239 |
+ newins "${FILESDIR}/cinder.sudoersd" cinder |
240 |
+ # stupid python |
241 |
+ rm -r "${ED}"/usr/etc |
242 |
+} |
243 |
+ |
244 |
+pkg_postinst() { |
245 |
+ if use iscsi ; then |
246 |
+ elog "Cinder needs tgtd to be installed and running to work with iscsi" |
247 |
+ elog "it also needs 'include /var/lib/cinder/volumes/*' in /etc/tgt/targets.conf" |
248 |
+ fi |
249 |
+} |