1 |
commit: 20173098dabd6a9ca29456b7811d575449ecef24 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 10 16:20:39 2019 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 10 16:23:41 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20173098 |
7 |
|
8 |
sys-cluster/cinder: 13.0.5 bump |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
sys-cluster/cinder/Manifest | 2 + |
14 |
sys-cluster/cinder/cinder-13.0.5.ebuild | 213 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 215 insertions(+) |
16 |
|
17 |
diff --git a/sys-cluster/cinder/Manifest b/sys-cluster/cinder/Manifest |
18 |
index 98825cc6752..ac3fa77ee18 100644 |
19 |
--- a/sys-cluster/cinder/Manifest |
20 |
+++ b/sys-cluster/cinder/Manifest |
21 |
@@ -1,6 +1,8 @@ |
22 |
DIST cinder-13.0.4.tar.gz 5466572 BLAKE2B de5511f74faa9a096fa1183a78e65b0950fa95cc9e746ac750ecfd6ce840bda7f4f9899b2af4bcacb4cef6e8f5bb94bf706263df5055ed973ecc43ea1834ef68 SHA512 a492580718cb2cdd47bf1dc74d95ef9b3a6afdf50351e20e840c6a9805aed434e520be30c4126ba26216011b16e16007bc6e8816bb8aa7aea1e20d7cc2d622dd |
23 |
+DIST cinder-13.0.5.tar.gz 5466731 BLAKE2B 113dd40eb88f63fe43eeb4e09830a3da9db6d7cafe4cb608b7d2cbfb0486926bd5d044d9a8d33f1c96114ef515d0ebd8ce4695d96637389c1c4c9375f711e31d SHA512 3982a62fe86071dabf26c3062cd14e5969f4487aec991d2bef34f19512c959e9dda5a67295a6c8379f425e0345a17627e28d3bc8ffa5f80300b29e3c69da6eb0 |
24 |
DIST cinder-14.0.0.tar.gz 5498509 BLAKE2B adbd31dc953b467690a82be29e75467ec60a65064e402c1659948cb413154e9e9efd088ecc3b7accbe9b378e3a7f8bd5325d133e2d37b38d9ce091189857e293 SHA512 28940052eea307bcdce8ed9f7df09cb58b7250e561e128b3dd65123f8baffdacfadb6f6243a82d898fb8dc4ce11cf0fb0ad9905d5445cf61e2f603a580915562 |
25 |
DIST cinder.conf.sample-13.0.4 185527 BLAKE2B c53c017c5cacf2fb604840e14adf3b1db36bf8dd2c79d29f1c6b35da843640f97efcfd97d6f68a40a2f928ce864a3e221d7138d7cac977c0d544817e2826ebb2 SHA512 1dc850bebd66d90e2950795337a78ea8aea69ead0aeb3e5b7f97c7b12f33a3afc483f3bde2942a34539fbc048fa5b589b3c7d2df53314180f64094569bb81b15 |
26 |
+DIST cinder.conf.sample-13.0.5 185527 BLAKE2B c53c017c5cacf2fb604840e14adf3b1db36bf8dd2c79d29f1c6b35da843640f97efcfd97d6f68a40a2f928ce864a3e221d7138d7cac977c0d544817e2826ebb2 SHA512 1dc850bebd66d90e2950795337a78ea8aea69ead0aeb3e5b7f97c7b12f33a3afc483f3bde2942a34539fbc048fa5b589b3c7d2df53314180f64094569bb81b15 |
27 |
DIST cinder.conf.sample-14.0.0 185527 BLAKE2B c53c017c5cacf2fb604840e14adf3b1db36bf8dd2c79d29f1c6b35da843640f97efcfd97d6f68a40a2f928ce864a3e221d7138d7cac977c0d544817e2826ebb2 SHA512 1dc850bebd66d90e2950795337a78ea8aea69ead0aeb3e5b7f97c7b12f33a3afc483f3bde2942a34539fbc048fa5b589b3c7d2df53314180f64094569bb81b15 |
28 |
DIST cinder.conf.sample-2018.2.9999 185527 BLAKE2B c53c017c5cacf2fb604840e14adf3b1db36bf8dd2c79d29f1c6b35da843640f97efcfd97d6f68a40a2f928ce864a3e221d7138d7cac977c0d544817e2826ebb2 SHA512 1dc850bebd66d90e2950795337a78ea8aea69ead0aeb3e5b7f97c7b12f33a3afc483f3bde2942a34539fbc048fa5b589b3c7d2df53314180f64094569bb81b15 |
29 |
DIST cinder.conf.sample-2019.1.9999 185527 BLAKE2B c53c017c5cacf2fb604840e14adf3b1db36bf8dd2c79d29f1c6b35da843640f97efcfd97d6f68a40a2f928ce864a3e221d7138d7cac977c0d544817e2826ebb2 SHA512 1dc850bebd66d90e2950795337a78ea8aea69ead0aeb3e5b7f97c7b12f33a3afc483f3bde2942a34539fbc048fa5b589b3c7d2df53314180f64094569bb81b15 |
30 |
|
31 |
diff --git a/sys-cluster/cinder/cinder-13.0.5.ebuild b/sys-cluster/cinder/cinder-13.0.5.ebuild |
32 |
new file mode 100644 |
33 |
index 00000000000..dedea484546 |
34 |
--- /dev/null |
35 |
+++ b/sys-cluster/cinder/cinder-13.0.5.ebuild |
36 |
@@ -0,0 +1,213 @@ |
37 |
+# Copyright 1999-2019 Gentoo Authors |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+ |
40 |
+EAPI=6 |
41 |
+PYTHON_COMPAT=( python2_7 python3_{5,6} ) |
42 |
+ |
43 |
+inherit distutils-r1 eutils linux-info user |
44 |
+ |
45 |
+DESCRIPTION="Cinder is the OpenStack Block storage service, a spin out of nova-volumes" |
46 |
+HOMEPAGE="https://launchpad.net/cinder" |
47 |
+ |
48 |
+if [[ ${PV} == *9999 ]];then |
49 |
+ inherit git-r3 |
50 |
+ SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/cinder/rocky/cinder.conf.sample -> cinder.conf.sample-${PV}" |
51 |
+ EGIT_REPO_URI="https://github.com/openstack/cinder.git" |
52 |
+ EGIT_BRANCH="stable/rocky" |
53 |
+else |
54 |
+ SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/cinder/rocky/cinder.conf.sample -> cinder.conf.sample-${PV} |
55 |
+ https://tarballs.openstack.org/${PN}/${P}.tar.gz" |
56 |
+ KEYWORDS="~amd64 ~arm64 ~x86" |
57 |
+fi |
58 |
+ |
59 |
+LICENSE="Apache-2.0" |
60 |
+SLOT="0" |
61 |
+IUSE="+api +scheduler +volume infiniband iscsi lvm mysql +memcached postgres rdma sqlite +tcp test +tgt" |
62 |
+REQUIRED_USE="|| ( mysql postgres sqlite ) iscsi? ( tgt ) infiniband? ( rdma )" |
63 |
+ |
64 |
+CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] |
65 |
+ !~dev-python/pbr-2.1.0" |
66 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
67 |
+ ${CDEPEND} |
68 |
+ app-admin/sudo" |
69 |
+ |
70 |
+RDEPEND=" |
71 |
+ ${CDEPEND} |
72 |
+ >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] |
73 |
+ !~dev-python/Babel-2.4.0[${PYTHON_USEDEP}] |
74 |
+ >=dev-python/decorator-3.4.0[${PYTHON_USEDEP}] |
75 |
+ >=dev-python/defusedxml-0.5.0[${PYTHON_USEDEP}] |
76 |
+ dev-python/enum34[$(python_gen_usedep 'python2_7')] |
77 |
+ >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}] |
78 |
+ !~dev-python/eventlet-0.20.1[${PYTHON_USEDEP}] |
79 |
+ >=dev-python/greenlet-0.4.1[${PYTHON_USEDEP}] |
80 |
+ >=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}] |
81 |
+ >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] |
82 |
+ >=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}] |
83 |
+ <dev-python/jsonschema-3.0.0[${PYTHON_USEDEP}] |
84 |
+ virtual/python-ipaddress[${PYTHON_USEDEP}] |
85 |
+ >=dev-python/keystoneauth-3.4.0[${PYTHON_USEDEP}] |
86 |
+ >=dev-python/keystonemiddleware-4.17.0[${PYTHON_USEDEP}] |
87 |
+ >=dev-python/lxml-3.4.1[${PYTHON_USEDEP}] |
88 |
+ !~dev-python/lxml-3.7.0[${PYTHON_USEDEP}] |
89 |
+ >=dev-python/oauth2client-1.5.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-5.29.0[${PYTHON_USEDEP}] |
96 |
+ >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}] |
97 |
+ >=dev-python/oslo-policy-1.30.0[${PYTHON_USEDEP}] |
98 |
+ >=dev-python/oslo-privsep-1.23.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-utils-3.33.0[${PYTHON_USEDEP}] |
106 |
+ >=dev-python/oslo-versionedobjects-1.31.2[${PYTHON_USEDEP}] |
107 |
+ >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}] |
108 |
+ >=dev-python/paramiko-2.0.0[${PYTHON_USEDEP}] |
109 |
+ >=dev-python/paste-2.0.2[${PYTHON_USEDEP}] |
110 |
+ >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] |
111 |
+ >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] |
112 |
+ <dev-python/prettytable-0.8[${PYTHON_USEDEP}] |
113 |
+ >=dev-python/psutil-3.2.2[${PYTHON_USEDEP}] |
114 |
+ >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] |
115 |
+ >=dev-python/python-barbicanclient-4.5.2[${PYTHON_USEDEP}] |
116 |
+ >=dev-python/python-glanceclient-2.8.0[${PYTHON_USEDEP}] |
117 |
+ >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}] |
118 |
+ >=dev-python/python-novaclient-9.1.0[${PYTHON_USEDEP}] |
119 |
+ >=dev-python/python-swiftclient-3.2.0[${PYTHON_USEDEP}] |
120 |
+ >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] |
121 |
+ >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] |
122 |
+ >=dev-python/retrying-1.2.3[${PYTHON_USEDEP}] |
123 |
+ !~dev-python/retrying-1.3.0[${PYTHON_USEDEP}] |
124 |
+ >=dev-python/routes-2.3.1[${PYTHON_USEDEP}] |
125 |
+ >=dev-python/taskflow-2.16.0[${PYTHON_USEDEP}] |
126 |
+ >=dev-python/rtslib-fb-2.1.65[${PYTHON_USEDEP}] |
127 |
+ >=dev-python/simplejson-3.5.1[${PYTHON_USEDEP}] |
128 |
+ >=dev-python/six-1.10.0[${PYTHON_USEDEP}] |
129 |
+ sqlite? ( |
130 |
+ >=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}] |
131 |
+ !~dev-python/sqlalchemy-1.1.5[sqlite,${PYTHON_USEDEP}] |
132 |
+ !~dev-python/sqlalchemy-1.1.6[sqlite,${PYTHON_USEDEP}] |
133 |
+ !~dev-python/sqlalchemy-1.1.7[sqlite,${PYTHON_USEDEP}] |
134 |
+ !~dev-python/sqlalchemy-1.1.8[sqlite,${PYTHON_USEDEP}] |
135 |
+ ) |
136 |
+ mysql? ( |
137 |
+ >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}] |
138 |
+ !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}] |
139 |
+ >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
140 |
+ !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}] |
141 |
+ !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}] |
142 |
+ !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}] |
143 |
+ !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}] |
144 |
+ ) |
145 |
+ postgres? ( |
146 |
+ >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}] |
147 |
+ >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
148 |
+ !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}] |
149 |
+ !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}] |
150 |
+ !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}] |
151 |
+ !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}] |
152 |
+ ) |
153 |
+ >=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}] |
154 |
+ >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] |
155 |
+ ~dev-python/suds-0.6[${PYTHON_USEDEP}] |
156 |
+ >=dev-python/webob-1.7.1[${PYTHON_USEDEP}] |
157 |
+ >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] |
158 |
+ >=dev-python/oslo-vmware-2.17.0[${PYTHON_USEDEP}] |
159 |
+ >=dev-python/os-brick-2.2.0[${PYTHON_USEDEP}] |
160 |
+ >=dev-python/os-win-3.0.0[${PYTHON_USEDEP}] |
161 |
+ >=dev-python/tooz-1.58.0[${PYTHON_USEDEP}] |
162 |
+ >=dev-python/google-api-python-client-1.4.2[${PYTHON_USEDEP}] |
163 |
+ >=dev-python/castellan-0.16.0[${PYTHON_USEDEP}] |
164 |
+ >=dev-python/cryptography-2.1[${PYTHON_USEDEP}] |
165 |
+ >=dev-python/cursive-0.2.1[${PYTHON_USEDEP}] |
166 |
+ iscsi? ( |
167 |
+ tgt? ( sys-block/tgt ) |
168 |
+ sys-block/open-iscsi |
169 |
+ ) |
170 |
+ lvm? ( sys-fs/lvm2 ) |
171 |
+ memcached? ( net-misc/memcached ) |
172 |
+ app-emulation/qemu |
173 |
+ sys-fs/sysfsutils" |
174 |
+# qemu is needed for image conversion |
175 |
+ |
176 |
+#PATCHES=( |
177 |
+#) |
178 |
+ |
179 |
+pkg_pretend() { |
180 |
+ linux-info_pkg_setup |
181 |
+ CONFIG_CHECK_MODULES="" |
182 |
+ if use tcp; then |
183 |
+ CONFIG_CHECK_MODULES+="SCSI_ISCSI_ATTRS ISCSI_TCP " |
184 |
+ fi |
185 |
+ if use rdma; then |
186 |
+ CONFIG_CHECK_MODULES+="INFINIBAND_ISER " |
187 |
+ fi |
188 |
+ if use infiniband; then |
189 |
+ CONFIG_CHECK_MODULES+="INFINIBAND_IPOIB INFINIBAND_USER_MAD INFINIBAND_USER_ACCESS" |
190 |
+ fi |
191 |
+ if linux_config_exists; then |
192 |
+ for module in ${CONFIG_CHECK_MODULES}; do |
193 |
+ linux_chkconfig_present ${module} || ewarn "${module} needs to be enabled" |
194 |
+ done |
195 |
+ fi |
196 |
+} |
197 |
+ |
198 |
+pkg_setup() { |
199 |
+ enewgroup cinder |
200 |
+ enewuser cinder -1 -1 /var/lib/cinder cinder |
201 |
+} |
202 |
+ |
203 |
+python_prepare_all() { |
204 |
+ sed -i '/^hacking/d' test-requirements.txt || die |
205 |
+ # only used for docs |
206 |
+ sed -i '/^sphinx-feature-classification/d' requirements.txt || die |
207 |
+ distutils-r1_python_prepare_all |
208 |
+} |
209 |
+ |
210 |
+python_test() { |
211 |
+ # Let's track progress of this # https://bugs.launchpad.net/swift/+bug/1249727 |
212 |
+ nosetests -I test_wsgi.py cinder/tests/ || die "tests failed under python2.7" |
213 |
+} |
214 |
+ |
215 |
+python_install_all() { |
216 |
+ distutils-r1_python_install_all |
217 |
+ keepdir /etc/cinder |
218 |
+ dodir /etc/cinder/rootwrap.d |
219 |
+ |
220 |
+ for svc in api scheduler volume; do |
221 |
+ newinitd "${FILESDIR}/cinder.initd" cinder-${svc} |
222 |
+ done |
223 |
+ |
224 |
+ insinto /etc/cinder |
225 |
+ insopts -m0640 -o cinder -g cinder |
226 |
+ doins "etc/cinder/api-httpd.conf" |
227 |
+ doins "etc/cinder/logging_sample.conf" |
228 |
+ doins "etc/cinder/rootwrap.conf" |
229 |
+ doins "etc/cinder/api-paste.ini" |
230 |
+ doins "etc/cinder/resource_filters.json" |
231 |
+ newins "${DISTDIR}/cinder.conf.sample-${PV}" "cinder.conf.sample" |
232 |
+ insinto /etc/cinder/rootwrap.d |
233 |
+ doins "etc/cinder/rootwrap.d/volume.filters" |
234 |
+ |
235 |
+ dodir /var/log/cinder |
236 |
+ fowners cinder:cinder /var/log/cinder |
237 |
+ |
238 |
+ #add sudoers definitions for user nova |
239 |
+ insinto /etc/sudoers.d/ |
240 |
+ insopts -m 0440 -o root -g root |
241 |
+ newins "${FILESDIR}/cinder.sudoersd" cinder |
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 |
+} |