1 |
commit: b3657017f6bce52c0c5d5808636c04eee556c5ff |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 24 17:37:58 2017 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 24 17:37:58 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3657017 |
7 |
|
8 |
sys-cluster/cinder: cleanup |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
sys-cluster/cinder/Manifest | 1 - |
13 |
sys-cluster/cinder/cinder-9.1.1.ebuild | 194 --------------------------------- |
14 |
2 files changed, 195 deletions(-) |
15 |
|
16 |
diff --git a/sys-cluster/cinder/Manifest b/sys-cluster/cinder/Manifest |
17 |
index 171e2ed729..68eb307734 100644 |
18 |
--- a/sys-cluster/cinder/Manifest |
19 |
+++ b/sys-cluster/cinder/Manifest |
20 |
@@ -1,5 +1,4 @@ |
21 |
DIST cinder-8.1.1.tar.gz 3875392 SHA256 57de9d1410e9e5a0568499e38414241167e4b2b1742aac309844da80efd127e2 SHA512 4dfa5a11b11b684761519b33d1b45f4d65152df96fc9303e92724f88a01bea031e0dd7aaa229d5876641fa4a5089fcd197e52cf01652a89f6027435b038f3560 WHIRLPOOL 9815230914da588529f3f3916ddfdb25025a531015fd78fce635a6e55b6051f2a26f2e4710cd980daceb905f41caaceb274f84c34353bbc363a36e12a88c8245 |
22 |
-DIST cinder-9.1.1.tar.gz 4201222 SHA256 455831c90ac6eafde83bb7b57d0c8ee0caf19a419bf760b2451aa7164cc9627d SHA512 3bf93913749c0ed6c5ee2fec4b07d32d59daf2c494333a8812d267c797ed4dfcb2d83203c6494c8dda14770a1f1e3cd48d4770158ad18307bdada358811ab94e WHIRLPOOL 5e9f3837e1576afb4ecce654d9547c7c4a857a0695b15530a8b84647ff17285f4a9e5312cc36b603248ddb81ec41628f0d6921df48c31eb43f609f6b086c87a9 |
23 |
DIST cinder-9.1.2.tar.gz 4202510 SHA256 03415a9fc0280263d9094e385ce08af1ad3daed2227baa8c258744e400cd97c2 SHA512 bc5b8d58128df458f80120d061da5b2e097c8ce4daa6ee9b7c5e1062a1074861e9e33f547f4a5c2005316d1ad9f8f3b2f3e2d5825492ba6fa0becf8fdf3a41ee WHIRLPOOL dc8a74fdd513fdeb0cf321498a504ef9803480ae254a2f7e65853f27867699a54311fcb0ad2c248d06fccd5d914eda20335fce9f6efd983e5d03bd59f6851a40 |
24 |
DIST mitaka-cinder-api-paste.ini 2416 SHA256 3794a5e34dace60474274e93a7346662eb03a485d1b9b67afded591e764aba9d SHA512 f6e3800557fa7efb562a69f80eea9b516c0ad2e54b9a013c92118bf91daaf2bdd2a9ced309626fab13fe9b979f0c768ac22bba63c7fa8aa3443004d50359d844 WHIRLPOOL 90e8c7bf065609e6a85d247c15b1022ea51bb94b000841c30a69d99c96082a08125fca58cf5b216990c6b746f52af5cedebbafc5b9450a91c0d32cdc21951952 |
25 |
DIST mitaka-cinder-policy.json 4959 SHA256 5a9cd9d5d4cf80a9271fd7a5146d6d5415d10f8d699a8499a39a3cde29f50bd6 SHA512 b36daa51ab7719e1a56ca760e7ec62a98fb3a88ffed96196852023abf4ffe483200c9dcb934e3c7910fc6988f9c2bb9bb914121d0d649dc3b01466f467a82fe2 WHIRLPOOL f288b6dba2593fa6deb8ad94862948899ec10f71e4751f108ec1fbfff814c3206b5c541aaac0bb7edd2fb5311639a1cd3a44586855912cb2e0e675d5ad78161c |
26 |
|
27 |
diff --git a/sys-cluster/cinder/cinder-9.1.1.ebuild b/sys-cluster/cinder/cinder-9.1.1.ebuild |
28 |
deleted file mode 100644 |
29 |
index 05533fcdc2..0000000000 |
30 |
--- a/sys-cluster/cinder/cinder-9.1.1.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,194 +0,0 @@ |
33 |
-# Copyright 1999-2017 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
-# $Id$ |
36 |
- |
37 |
-EAPI=6 |
38 |
-PYTHON_COMPAT=( python2_7 python3_4 ) |
39 |
- |
40 |
-inherit distutils-r1 eutils linux-info user |
41 |
- |
42 |
-DESCRIPTION="Cinder is the OpenStack Block storage service, a spin out of nova-volumes" |
43 |
-HOMEPAGE="https://launchpad.net/cinder" |
44 |
-SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/cinder/newton/cinder.conf.sample -> newton-cinder.conf.sample |
45 |
-https://dev.gentoo.org/~prometheanfire/dist/openstack/cinder/newton/policy.json -> newton-cinder-policy.json |
46 |
-https://dev.gentoo.org/~prometheanfire/dist/openstack/cinder/newton/volume.filters -> newton-cinder-volume.filters |
47 |
-https://tarballs.openstack.org/${PN}/${P}.tar.gz" |
48 |
- |
49 |
-LICENSE="Apache-2.0" |
50 |
-SLOT="0" |
51 |
-KEYWORDS="amd64 ~arm64 x86" |
52 |
-IUSE="+api +scheduler +volume infiniband iscsi lvm mysql +memcached postgres rdma sqlite +tcp test +tgt" |
53 |
-REQUIRED_USE="|| ( mysql postgres sqlite ) iscsi? ( tgt ) infiniband? ( rdma )" |
54 |
- |
55 |
-CDEPEND=">=dev-python/pbr-1.6[${PYTHON_USEDEP}]" |
56 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
57 |
- ${CDEPEND} |
58 |
- app-admin/sudo" |
59 |
- |
60 |
-RDEPEND=" |
61 |
- ${CDEPEND} |
62 |
- >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] |
63 |
- >=dev-python/decorator-3.4.0[${PYTHON_USEDEP}] |
64 |
- dev-python/enum34[$(python_gen_usedep 'python2_7')] |
65 |
- >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}] |
66 |
- >=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}] |
67 |
- >=dev-python/httplib2-0.7.5[${PYTHON_USEDEP}] |
68 |
- >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] |
69 |
- virtual/python-ipaddress[${PYTHON_USEDEP}] |
70 |
- >=dev-python/keystoneauth-2.10.0[${PYTHON_USEDEP}] |
71 |
- >=dev-python/keystonemiddleware-4.0.0[${PYTHON_USEDEP}] |
72 |
- !~dev-python/keystonemiddleware-4.1.0[${PYTHON_USEDEP}] |
73 |
- !~dev-python/keystonemiddleware-4.5.0[${PYTHON_USEDEP}] |
74 |
- >=dev-python/lxml-2.3[${PYTHON_USEDEP}] |
75 |
- >=dev-python/oauth2client-1.5.0[${PYTHON_USEDEP}] |
76 |
- >=dev-python/oslo-config-3.14.0[${PYTHON_USEDEP}] |
77 |
- >=dev-python/oslo-concurrency-3.8.0[${PYTHON_USEDEP}] |
78 |
- >=dev-python/oslo-context-2.9.0[${PYTHON_USEDEP}] |
79 |
- >=dev-python/oslo-db-4.10.0[${PYTHON_USEDEP}] |
80 |
- >=dev-python/oslo-db-4.13.1[${PYTHON_USEDEP}] |
81 |
- >=dev-python/oslo-db-4.13.2[${PYTHON_USEDEP}] |
82 |
- >=dev-python/oslo-log-1.14.0[${PYTHON_USEDEP}] |
83 |
- >=dev-python/oslo-messaging-5.2.0[${PYTHON_USEDEP}] |
84 |
- >=dev-python/oslo-middleware-3.0.0[${PYTHON_USEDEP}] |
85 |
- >=dev-python/oslo-policy-1.9.0[${PYTHON_USEDEP}] |
86 |
- >=dev-python/oslo-privsep-1.9.0[${PYTHON_USEDEP}] |
87 |
- >=dev-python/oslo-reports-0.6.0[${PYTHON_USEDEP}] |
88 |
- >=dev-python/oslo-rootwrap-5.0.0[${PYTHON_USEDEP}] |
89 |
- >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}] |
90 |
- >=dev-python/oslo-service-1.10.0[${PYTHON_USEDEP}] |
91 |
- >=dev-python/oslo-utils-3.16.0[${PYTHON_USEDEP}] |
92 |
- >=dev-python/oslo-versionedobjects-1.13.0[${PYTHON_USEDEP}] |
93 |
- >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}] |
94 |
- >=dev-python/paramiko-2.0[${PYTHON_USEDEP}] |
95 |
- dev-python/paste[${PYTHON_USEDEP}] |
96 |
- >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] |
97 |
- >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}] |
98 |
- >=dev-python/pyparsing-2.0.1[${PYTHON_USEDEP}] |
99 |
- >=dev-python/python-barbicanclient-4.0.0[${PYTHON_USEDEP}] |
100 |
- >=dev-python/python-glanceclient-2.3.0[${PYTHON_USEDEP}] |
101 |
- !~dev-python/python-glanceclient-2.4.0[${PYTHON_USEDEP}] |
102 |
- >=dev-python/python-keystoneclient-2.0.0[${PYTHON_USEDEP}] |
103 |
- !~dev-python/python-keystoneclient-2.1.0[${PYTHON_USEDEP}] |
104 |
- >=dev-python/python-novaclient-2.29.0[${PYTHON_USEDEP}] |
105 |
- !~dev-python/python-novaclient-2.33.0[${PYTHON_USEDEP}] |
106 |
- >=dev-python/python-swiftclient-2.2.0[${PYTHON_USEDEP}] |
107 |
- >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] |
108 |
- >=dev-python/requests-2.10.0[${PYTHON_USEDEP}] |
109 |
- >=dev-python/retrying-1.2.3[${PYTHON_USEDEP}] |
110 |
- !~dev-python/retrying-1.3.0[${PYTHON_USEDEP}] |
111 |
- >=dev-python/routes-1.12.3[${PYTHON_USEDEP}] |
112 |
- !~dev-python/routes-2.0[${PYTHON_USEDEP}] |
113 |
- !~dev-python/routes-2.1[$(python_gen_usedep 'python2_7')] |
114 |
- !~dev-python/routes-2.3[${PYTHON_USEDEP}] |
115 |
- >=dev-python/taskflow-1.26.0[${PYTHON_USEDEP}] |
116 |
- >=dev-python/rtslib-fb-2.1.41[${PYTHON_USEDEP}] |
117 |
- >=dev-python/simplejson-2.2.0[${PYTHON_USEDEP}] |
118 |
- >=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
119 |
- sqlite? ( |
120 |
- >=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}] |
121 |
- <dev-python/sqlalchemy-1.1.0[sqlite,${PYTHON_USEDEP}] |
122 |
- ) |
123 |
- mysql? ( |
124 |
- >=dev-python/pymysql-0.6.2[${PYTHON_USEDEP}] |
125 |
- !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}] |
126 |
- >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
127 |
- <dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] |
128 |
- ) |
129 |
- postgres? ( |
130 |
- >=dev-python/psycopg-2.5.0 |
131 |
- >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
132 |
- <dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] |
133 |
- ) |
134 |
- >=dev-python/sqlalchemy-migrate-0.9.6[${PYTHON_USEDEP}] |
135 |
- >=dev-python/stevedore-1.16.0[${PYTHON_USEDEP}] |
136 |
- ~dev-python/suds-0.6[${PYTHON_USEDEP}] |
137 |
- >=dev-python/webob-1.2.3-r1[${PYTHON_USEDEP}] |
138 |
- >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}] |
139 |
- >=dev-python/oslo-vmware-2.11.0[${PYTHON_USEDEP}] |
140 |
- >=dev-python/os-brick-1.6.1[${PYTHON_USEDEP}] |
141 |
- >=dev-python/os-win-0.2.3[${PYTHON_USEDEP}] |
142 |
- >=dev-python/tooz-1.28.0[${PYTHON_USEDEP}] |
143 |
- >=dev-python/google-api-python-client-1.4.2[${PYTHON_USEDEP}] |
144 |
- >=dev-python/castellan-0.4.0[${PYTHON_USEDEP}] |
145 |
- iscsi? ( |
146 |
- tgt? ( sys-block/tgt ) |
147 |
- sys-block/open-iscsi |
148 |
- ) |
149 |
- lvm? ( sys-fs/lvm2 ) |
150 |
- memcached? ( net-misc/memcached ) |
151 |
- app-emulation/qemu |
152 |
- sys-fs/sysfsutils" |
153 |
-# qemu is needed for image conversion |
154 |
- |
155 |
-#PATCHES=( |
156 |
-#) |
157 |
- |
158 |
-pkg_pretend() { |
159 |
- linux-info_pkg_setup |
160 |
- CONFIG_CHECK_MODULES="" |
161 |
- if use tcp; then |
162 |
- CONFIG_CHECK_MODULES+="SCSI_ISCSI_ATTRS ISCSI_TCP " |
163 |
- fi |
164 |
- if use rdma; then |
165 |
- CONFIG_CHECK_MODULES+="INFINIBAND_ISER " |
166 |
- fi |
167 |
- if use infiniband; then |
168 |
- CONFIG_CHECK_MODULES+="INFINIBAND_IPOIB INFINIBAND_USER_MAD INFINIBAND_USER_ACCESS" |
169 |
- fi |
170 |
- if linux_config_exists; then |
171 |
- for module in ${CONFIG_CHECK_MODULES}; do |
172 |
- linux_chkconfig_present ${module} || ewarn "${module} needs to be enabled" |
173 |
- done |
174 |
- fi |
175 |
-} |
176 |
- |
177 |
-pkg_setup() { |
178 |
- enewgroup cinder |
179 |
- enewuser cinder -1 -1 /var/lib/cinder cinder |
180 |
-} |
181 |
- |
182 |
-python_prepare_all() { |
183 |
- sed -i '/^hacking/d' test-requirements.txt || die |
184 |
- distutils-r1_python_prepare_all |
185 |
-} |
186 |
- |
187 |
-python_test() { |
188 |
- # Let's track progress of this # https://bugs.launchpad.net/swift/+bug/1249727 |
189 |
- nosetests -I test_wsgi.py cinder/tests/ || die "tests failed under python2.7" |
190 |
-} |
191 |
- |
192 |
-python_install_all() { |
193 |
- distutils-r1_python_install_all |
194 |
- keepdir /etc/cinder |
195 |
- dodir /etc/cinder/rootwrap.d |
196 |
- |
197 |
- for svc in api scheduler volume; do |
198 |
- newinitd "${FILESDIR}/cinder.initd" cinder-${svc} |
199 |
- done |
200 |
- |
201 |
- insinto /etc/cinder |
202 |
- insopts -m0640 -o cinder -g cinder |
203 |
- doins "etc/cinder/api-httpd.conf" |
204 |
- doins "etc/cinder/logging_sample.conf" |
205 |
- doins "etc/cinder/rootwrap.conf" |
206 |
- doins "etc/cinder/api-paste.ini" |
207 |
- newins "${DISTDIR}/newton-cinder-policy.json" "policy.json" |
208 |
- newins "${DISTDIR}/newton-cinder.conf.sample" "cinder.conf.sample" |
209 |
- insinto /etc/cinder/rootwrap.d |
210 |
- newins "${DISTDIR}/newton-cinder-volume.filters" "volume.filters" |
211 |
- |
212 |
- dodir /var/log/cinder |
213 |
- fowners cinder:cinder /var/log/cinder |
214 |
- |
215 |
- #add sudoers definitions for user nova |
216 |
- insinto /etc/sudoers.d/ |
217 |
- insopts -m 0440 -o root -g root |
218 |
- newins "${FILESDIR}/cinder.sudoersd" cinder |
219 |
-} |
220 |
- |
221 |
-pkg_postinst() { |
222 |
- if use iscsi ; then |
223 |
- elog "Cinder needs tgtd to be installed and running to work with iscsi" |
224 |
- elog "it also needs 'include /var/lib/cinder/volumes/*' in /etc/tgt/targets.conf" |
225 |
- fi |
226 |
-} |