1 |
prometheanfire 14/04/27 07:42:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: keystone-2014.1.ebuild keystone-2014.1.9999.ebuild |
5 |
Log: |
6 |
first of icehouse |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.67 sys-auth/keystone/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/keystone/ChangeLog?rev=1.67&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/keystone/ChangeLog?rev=1.67&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/keystone/ChangeLog?r1=1.66&r2=1.67 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-auth/keystone/ChangeLog,v |
20 |
retrieving revision 1.66 |
21 |
retrieving revision 1.67 |
22 |
diff -u -r1.66 -r1.67 |
23 |
--- ChangeLog 21 Apr 2014 01:30:04 -0000 1.66 |
24 |
+++ ChangeLog 27 Apr 2014 07:42:11 -0000 1.67 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for sys-auth/keystone |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/keystone/ChangeLog,v 1.66 2014/04/21 01:30:04 floppym Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/keystone/ChangeLog,v 1.67 2014/04/27 07:42:11 prometheanfire Exp $ |
30 |
+ |
31 |
+*keystone-2014.1 (27 Apr 2014) |
32 |
+*keystone-2014.1.9999 (27 Apr 2014) |
33 |
+ |
34 |
+ 27 Apr 2014; Matthew Thode <prometheanfire@g.o> |
35 |
+ +keystone-2014.1.9999.ebuild, +keystone-2014.1.ebuild: |
36 |
+ first of icehouse |
37 |
|
38 |
21 Apr 2014; Mike Gilbert <floppym@g.o> keystone-2013.2.9999.ebuild, |
39 |
keystone-9999.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 sys-auth/keystone/keystone-2014.1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/keystone/keystone-2014.1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/keystone/keystone-2014.1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: keystone-2014.1.ebuild |
49 |
=================================================================== |
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-auth/keystone/keystone-2014.1.ebuild,v 1.1 2014/04/27 07:42:11 prometheanfire Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
PYTHON_COMPAT=( python2_7 ) |
57 |
|
58 |
inherit distutils-r1 user |
59 |
|
60 |
DESCRIPTION="The Openstack authentication, authorization, and service catalog written in Python." |
61 |
HOMEPAGE="https://launchpad.net/keystone" |
62 |
SRC_URI="http://launchpad.net/${PN}/icehouse/${PV}/+download/${P}.tar.gz" |
63 |
|
64 |
LICENSE="Apache-2.0" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~x86" |
67 |
IUSE="+sqlite mysql postgres ldap test" |
68 |
REQUIRED_USE="|| ( mysql postgres sqlite )" |
69 |
|
70 |
#todo, seperate out rdepend via use flags |
71 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
72 |
>=dev-python/pbr-0.6[${PYTHON_USEDEP}] |
73 |
<dev-python/pbr-1.0[${PYTHON_USEDEP}] |
74 |
test? ( ${RDEPEND} |
75 |
>=dev-python/hacking-0.8[${PYTHON_USEDEP}] |
76 |
<dev-python/hacking-0.9[${PYTHON_USEDEP}] |
77 |
dev-lang/python[sqlite] |
78 |
>=dev-python/python-memcached-1.48[${PYTHON_USEDEP}] |
79 |
>=dev-python/pymongo-2.4[${PYTHON_USEDEP}] |
80 |
ldap? ( ~dev-python/python-ldap-2.3.13 ) |
81 |
>=dev-python/coverage-3.6[${PYTHON_USEDEP}] |
82 |
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] |
83 |
>=dev-python/mock-1.0[${PYTHON_USEDEP}] |
84 |
>=dev-python/mox-0.5.3[${PYTHON_USEDEP}] |
85 |
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] |
86 |
<dev-python/sphinx-1.2[${PYTHON_USEDEP}] |
87 |
>=dev-python/webtest-2.0[${PYTHON_USEDEP}] |
88 |
>=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] |
89 |
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] |
90 |
>=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] |
91 |
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] |
92 |
>=dev-python/httplib2-0.7.5[${PYTHON_USEDEP}] |
93 |
>=dev-python/requests-1.1[${PYTHON_USEDEP}] |
94 |
>=dev-python/keyring-2.1[${PYTHON_USEDEP}] |
95 |
dev-python/oslo-sphinx[${PYTHON_USEDEP}] |
96 |
>=dev-python/kombu-2.4.8[${PYTHON_USEDEP}] |
97 |
>=dev-python/lockfile-0.8[${PYTHON_USEDEP}] |
98 |
>=dev-python/stevedore-0.14[${PYTHON_USEDEP}] |
99 |
)" |
100 |
RDEPEND=">=dev-python/webob-1.2.3-r1[${PYTHON_USEDEP}] |
101 |
>=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}] |
102 |
>=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}] |
103 |
>=dev-python/netaddr-0.7.6[${PYTHON_USEDEP}] |
104 |
>=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] |
105 |
dev-python/paste[${PYTHON_USEDEP}] |
106 |
>=dev-python/routes-1.12.3[${PYTHON_USEDEP}] |
107 |
>=dev-python/six-1.5.2[${PYTHON_USEDEP}] |
108 |
sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}] |
109 |
<=dev-python/sqlalchemy-0.9.99[sqlite,${PYTHON_USEDEP}] ) |
110 |
mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}] |
111 |
<=dev-python/sqlalchemy-0.9.99[mysql,${PYTHON_USEDEP}] ) |
112 |
postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}] |
113 |
<=dev-python/sqlalchemy-0.9.99[postgres,${PYTHON_USEDEP}] ) |
114 |
>=dev-python/sqlalchemy-migrate-0.9[${PYTHON_USEDEP}] |
115 |
dev-python/passlib[${PYTHON_USEDEP}] |
116 |
>=dev-python/lxml-2.3[${PYTHON_USEDEP}] |
117 |
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}] |
118 |
>=dev-python/python-keystoneclient-0.7.0[${PYTHON_USEDEP}] |
119 |
>=dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}] |
120 |
>=dev-python/oslo-messaging-1.3.0[${PYTHON_USEDEP}] |
121 |
>=dev-python/Babel-1.3[${PYTHON_USEDEP}] |
122 |
>=dev-python/oauthlib-0.6.0[${PYTHON_USEDEP}] |
123 |
>=dev-python/dogpile-cache-0.5.0[${PYTHON_USEDEP}] |
124 |
>=dev-python/jsonschema-2.0.0[${PYTHON_USEDEP}] |
125 |
<dev-python/jsonschema-3.0.0[${PYTHON_USEDEP}] |
126 |
>=dev-python/pycadf-0.4.1[${PYTHON_USEDEP}] |
127 |
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )" |
128 |
|
129 |
PATCHES=( |
130 |
) |
131 |
|
132 |
pkg_setup() { |
133 |
enewgroup keystone |
134 |
enewuser keystone -1 -1 /var/lib/keystone keystone |
135 |
} |
136 |
|
137 |
python_prepare_all() { |
138 |
cp etc/keystone-paste.ini ${PN}/tests/tmp/ || die |
139 |
distutils-r1_python_prepare_all |
140 |
} |
141 |
|
142 |
python_test() { |
143 |
# Ignore (naughty) test_.py files & 1 test that connect to the network |
144 |
nosetests -I 'test_keystoneclient*' \ |
145 |
-e test_import || die "testsuite failed under python2.7" |
146 |
} |
147 |
|
148 |
python_install() { |
149 |
distutils-r1_python_install |
150 |
newconfd "${FILESDIR}/keystone.confd" keystone |
151 |
newinitd "${FILESDIR}/keystone.initd" keystone |
152 |
|
153 |
diropts -m 0750 |
154 |
keepdir /etc/keystone /var/log/keystone |
155 |
insinto /etc/keystone |
156 |
doins etc/keystone.conf.sample etc/logging.conf.sample |
157 |
doins etc/default_catalog.templates etc/policy.json |
158 |
doins etc/policy.v3cloudsample.json etc/keystone-paste.ini |
159 |
|
160 |
fowners keystone:keystone /etc/keystone /var/log/keystone |
161 |
} |
162 |
|
163 |
pkg_postinst() { |
164 |
elog "You might want to run:" |
165 |
elog "emerge --config =${CATEGORY}/${PF}" |
166 |
elog "if this is a new install." |
167 |
elog "If you have not already configured your openssl installation" |
168 |
elog "please do it by modifying /etc/ssl/openssl.cnf" |
169 |
elog "BEFORE issuing the configuration command." |
170 |
elog "Otherwise default values will be used." |
171 |
} |
172 |
|
173 |
pkg_config() { |
174 |
if [ ! -d "${ROOT}"/etc/keystone/ssl ] ; then |
175 |
einfo "Press ENTER to configure the keystone PKI, or Control-C to abort now..." |
176 |
read |
177 |
"${ROOT}"/usr/bin/keystone-manage pki_setup --keystone-user keystone --keystone-group keystone |
178 |
else |
179 |
einfo "keystone PKI certificates directory already present, skipping configuration" |
180 |
fi |
181 |
} |
182 |
|
183 |
|
184 |
|
185 |
1.1 sys-auth/keystone/keystone-2014.1.9999.ebuild |
186 |
|
187 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/keystone/keystone-2014.1.9999.ebuild?rev=1.1&view=markup |
188 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/keystone/keystone-2014.1.9999.ebuild?rev=1.1&content-type=text/plain |
189 |
|
190 |
Index: keystone-2014.1.9999.ebuild |
191 |
=================================================================== |
192 |
# Copyright 1999-2014 Gentoo Foundation |
193 |
# Distributed under the terms of the GNU General Public License v2 |
194 |
# $Header: /var/cvsroot/gentoo-x86/sys-auth/keystone/keystone-2014.1.9999.ebuild,v 1.1 2014/04/27 07:42:11 prometheanfire Exp $ |
195 |
|
196 |
EAPI=5 |
197 |
|
198 |
PYTHON_COMPAT=( python2_7 ) |
199 |
|
200 |
inherit git-2 distutils-r1 user |
201 |
|
202 |
DESCRIPTION="The Openstack authentication, authorization, and service catalog written in Python." |
203 |
HOMEPAGE="https://launchpad.net/keystone" |
204 |
EGIT_REPO_URI="https://github.com/openstack/keystone.git" |
205 |
EGIT_BRANCH="stable/icehouse" |
206 |
|
207 |
LICENSE="Apache-2.0" |
208 |
SLOT="0" |
209 |
KEYWORDS="" |
210 |
IUSE="+sqlite mysql postgres ldap test" |
211 |
REQUIRED_USE="|| ( mysql postgres sqlite )" |
212 |
|
213 |
#todo, seperate out rdepend via use flags |
214 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
215 |
>=dev-python/pbr-0.6[${PYTHON_USEDEP}] |
216 |
<dev-python/pbr-1.0[${PYTHON_USEDEP}] |
217 |
test? ( ${RDEPEND} |
218 |
>=dev-python/hacking-0.8[${PYTHON_USEDEP}] |
219 |
<dev-python/hacking-0.9[${PYTHON_USEDEP}] |
220 |
dev-lang/python[sqlite] |
221 |
>=dev-python/python-memcached-1.48[${PYTHON_USEDEP}] |
222 |
>=dev-python/pymongo-2.4[${PYTHON_USEDEP}] |
223 |
ldap? ( ~dev-python/python-ldap-2.3.13 ) |
224 |
>=dev-python/coverage-3.6[${PYTHON_USEDEP}] |
225 |
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] |
226 |
>=dev-python/mock-1.0[${PYTHON_USEDEP}] |
227 |
>=dev-python/mox-0.5.3[${PYTHON_USEDEP}] |
228 |
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] |
229 |
<dev-python/sphinx-1.2[${PYTHON_USEDEP}] |
230 |
>=dev-python/webtest-2.0[${PYTHON_USEDEP}] |
231 |
>=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] |
232 |
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] |
233 |
>=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] |
234 |
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] |
235 |
>=dev-python/httplib2-0.7.5[${PYTHON_USEDEP}] |
236 |
>=dev-python/requests-1.1[${PYTHON_USEDEP}] |
237 |
>=dev-python/keyring-2.1[${PYTHON_USEDEP}] |
238 |
dev-python/oslo-sphinx[${PYTHON_USEDEP}] |
239 |
>=dev-python/kombu-2.4.8[${PYTHON_USEDEP}] |
240 |
>=dev-python/lockfile-0.8[${PYTHON_USEDEP}] |
241 |
>=dev-python/stevedore-0.14[${PYTHON_USEDEP}] |
242 |
)" |
243 |
RDEPEND=">=dev-python/webob-1.2.3-r1[${PYTHON_USEDEP}] |
244 |
>=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}] |
245 |
>=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}] |
246 |
>=dev-python/netaddr-0.7.6[${PYTHON_USEDEP}] |
247 |
>=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] |
248 |
dev-python/paste[${PYTHON_USEDEP}] |
249 |
>=dev-python/routes-1.12.3[${PYTHON_USEDEP}] |
250 |
>=dev-python/six-1.5.2[${PYTHON_USEDEP}] |
251 |
sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}] |
252 |
<=dev-python/sqlalchemy-0.9.99[sqlite,${PYTHON_USEDEP}] ) |
253 |
mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}] |
254 |
<=dev-python/sqlalchemy-0.9.99[mysql,${PYTHON_USEDEP}] ) |
255 |
postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}] |
256 |
<=dev-python/sqlalchemy-0.9.99[postgres,${PYTHON_USEDEP}] ) |
257 |
>=dev-python/sqlalchemy-migrate-0.9[${PYTHON_USEDEP}] |
258 |
dev-python/passlib[${PYTHON_USEDEP}] |
259 |
>=dev-python/lxml-2.3[${PYTHON_USEDEP}] |
260 |
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}] |
261 |
>=dev-python/python-keystoneclient-0.7.0[${PYTHON_USEDEP}] |
262 |
>=dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}] |
263 |
>=dev-python/oslo-messaging-1.3.0[${PYTHON_USEDEP}] |
264 |
>=dev-python/Babel-1.3[${PYTHON_USEDEP}] |
265 |
>=dev-python/oauthlib-0.6.0[${PYTHON_USEDEP}] |
266 |
>=dev-python/dogpile-cache-0.5.0[${PYTHON_USEDEP}] |
267 |
>=dev-python/jsonschema-2.0.0[${PYTHON_USEDEP}] |
268 |
<dev-python/jsonschema-3.0.0[${PYTHON_USEDEP}] |
269 |
>=dev-python/pycadf-0.4.1[${PYTHON_USEDEP}] |
270 |
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )" |
271 |
|
272 |
PATCHES=( |
273 |
) |
274 |
|
275 |
pkg_setup() { |
276 |
enewgroup keystone |
277 |
enewuser keystone -1 -1 /var/lib/keystone keystone |
278 |
} |
279 |
|
280 |
python_prepare_all() { |
281 |
cp etc/keystone-paste.ini ${PN}/tests/tmp/ || die |
282 |
distutils-r1_python_prepare_all |
283 |
} |
284 |
|
285 |
python_test() { |
286 |
# Ignore (naughty) test_.py files & 1 test that connect to the network |
287 |
nosetests -I 'test_keystoneclient*' \ |
288 |
-e test_import || die "testsuite failed under python2.7" |
289 |
} |
290 |
|
291 |
python_install() { |
292 |
distutils-r1_python_install |
293 |
newconfd "${FILESDIR}/keystone.confd" keystone |
294 |
newinitd "${FILESDIR}/keystone.initd" keystone |
295 |
|
296 |
diropts -m 0750 |
297 |
keepdir /etc/keystone /var/log/keystone |
298 |
insinto /etc/keystone |
299 |
doins etc/keystone.conf.sample etc/logging.conf.sample |
300 |
doins etc/default_catalog.templates etc/policy.json |
301 |
doins etc/policy.v3cloudsample.json etc/keystone-paste.ini |
302 |
|
303 |
fowners keystone:keystone /etc/keystone /var/log/keystone |
304 |
} |
305 |
|
306 |
pkg_postinst() { |
307 |
elog "You might want to run:" |
308 |
elog "emerge --config =${CATEGORY}/${PF}" |
309 |
elog "if this is a new install." |
310 |
elog "If you have not already configured your openssl installation" |
311 |
elog "please do it by modifying /etc/ssl/openssl.cnf" |
312 |
elog "BEFORE issuing the configuration command." |
313 |
elog "Otherwise default values will be used." |
314 |
} |
315 |
|
316 |
pkg_config() { |
317 |
if [ ! -d "${ROOT}"/etc/keystone/ssl ] ; then |
318 |
einfo "Press ENTER to configure the keystone PKI, or Control-C to abort now..." |
319 |
read |
320 |
"${ROOT}"/usr/bin/keystone-manage pki_setup --keystone-user keystone --keystone-group keystone |
321 |
else |
322 |
einfo "keystone PKI certificates directory already present, skipping configuration" |
323 |
fi |
324 |
} |