summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Thode <prometheanfire@gentoo.org>2014-04-06 05:33:05 +0000
committerMatt Thode <prometheanfire@gentoo.org>2014-04-06 05:33:05 +0000
commit15b7836119f47cd837b0eca60fb7914f97e11a5f (patch)
tree6d5b4290208e758573d974d5a52656100d3d93ea /sys-auth
parentless grizzly (diff)
downloadhistorical-15b7836119f47cd837b0eca60fb7914f97e11a5f.tar.gz
historical-15b7836119f47cd837b0eca60fb7914f97e11a5f.tar.bz2
historical-15b7836119f47cd837b0eca60fb7914f97e11a5f.zip
less grizzly
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0x2471EB3E40AC5AC3
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/keystone/ChangeLog7
-rw-r--r--sys-auth/keystone/Manifest32
-rw-r--r--sys-auth/keystone/keystone-2013.1.5.ebuild88
-rw-r--r--sys-auth/keystone/keystone-2013.1.9999.ebuild88
-rw-r--r--sys-auth/keystone/keystone-2013.2.2.ebuild127
5 files changed, 20 insertions, 322 deletions
diff --git a/sys-auth/keystone/ChangeLog b/sys-auth/keystone/ChangeLog
index 22de02ee93a2..c80e8339e4d8 100644
--- a/sys-auth/keystone/ChangeLog
+++ b/sys-auth/keystone/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-auth/keystone
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/keystone/ChangeLog,v 1.62 2014/03/23 20:03:24 prometheanfire Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/keystone/ChangeLog,v 1.63 2014/04/06 05:32:54 prometheanfire Exp $
+
+ 06 Apr 2014; Matthew Thode <prometheanfire@gentoo.org>
+ -keystone-2013.1.5.ebuild, -keystone-2013.1.9999.ebuild,
+ -keystone-2013.2.2.ebuild:
+ less grizzly
*keystone-2013.1.5 (23 Mar 2014)
diff --git a/sys-auth/keystone/Manifest b/sys-auth/keystone/Manifest
index d176cee35f1b..392aa4ee0b30 100644
--- a/sys-auth/keystone/Manifest
+++ b/sys-auth/keystone/Manifest
@@ -5,30 +5,26 @@ AUX 2013.2.2-CVE-2014-2237.patch 8412 SHA256 4039b420f5f8225b6a916a87b0c3cf068c2
AUX keystone.confd 124 SHA256 50daa09c5922190a6663e36a32e9b6e5c512672e5be776fcc9b0805da40b6e8d SHA512 1cf50ddcd55421481f8b34f91f35787299b2f9044bcc0a63c70ffff372d740cb84c399d31e52d708fdacad3455d77867d02b438ec2fb39b35ac2e106a2c9e0ad WHIRLPOOL e6c2b76131846cd0ce86e8d766d3f5bbd0d8cd0643de9100d7946afa44c3f13500719feca3ee4ea49644f6881fa34bdc17c08d65a001841ae8f40fc820d334fc
AUX keystone.initd 674 SHA256 fc556365de7198de035ebf083b10f59043aa3266270d3ab708d613311f1a719a SHA512 10066c2197973aeee2444ae1bff0ffc3d2a7360a632b55b9c2f66bf064285491e698721ec1525a22b18c0b74a8a6c5c4b84d2cf73812a0f93b2dbfffba799718 WHIRLPOOL 7969003cec68ca8017de003e6a5cfb4bd239a149b06dd9304c9ba8200b4fedfe8ae7e8d3c443e741d1c19cedc5d67150f1d236eef565685a64aa4a998c1ec509
AUX no_admin_token_auth-paste.ini 2646 SHA256 f98d9151f222d2143820bdc98727ce0cf3f4450a4dbdc54f1fb6e36bb63bf2df SHA512 c855dd2bb05e765c6594359f55b76f7f6e0649c8e8f4517b274c7432f136e51c408168ec24e0074f4ebc49eb641d658acfda205aef97fe68fe8fc016be4cb08d WHIRLPOOL faad0f98d0684cf206e2f2afb5fba6c6aab73f97bcf63e38038be49a2ae1303e8cb5434d8fab34492888c666462dcd751c678c04cd0039d9024fd42ddde30646
-DIST keystone-2013.1.5.tar.gz 805174 SHA256 8a8e4757b4e46fe22b5bdc32393b4d6f5a6e17208d42272157b66575049e33ed SHA512 87941741de646d9967b62b1597d5e47b3289c60a06636cd7618340c2cb3170b6d1a7e8ca46b1244186c27b6735fb09fa59a6ac3968529e619d475e9b93c877b0 WHIRLPOOL e171c8dcbef6b2fc3ce538207fac4e7eb546720ad7c67c8610ec733109f534e5ac4ad7805a31ec224345a4e8522c4dca30df06e8b527afd634457e04bb9823b6
DIST keystone-2013.2.2.tar.gz 1086908 SHA256 0fa6c3707d856062b27cc2563fd5af2fa43f08fabce563cfb6dde1ec9029d6b6 SHA512 265b8c90a0bada1a760aca3aa273b63e6dbe0618c7315baee7f37c12caab59f8a2c9736417b53fdfe675237436c82dbe8db41ec306fbb849ddf0c23565fbc2c9 WHIRLPOOL 2c26c72bd02d99f99e1147d696f9f32227641e876e9273072e4f41531d4dee8a554bf74aec5855161410dfcfd5275315a9fca9f4c000ae03dbda5f58c2c708ff
-EBUILD keystone-2013.1.5.ebuild 3096 SHA256 076454efbea9a6c66c3e369997c994655aa8b616665d0bdbb12840aeee14a018 SHA512 447551393dd00343b8b097f7e5a8bca109f8ad15559cd9693e9491bc9501434c5a1ba821bc3fa66dcc47f17cf2deb0fd5a84cbe4d4fe5b04175407e01249ea49 WHIRLPOOL fdf334dbfc77c38f4fae5a0425ba285fa0d752a81e1eeea7acc9565f2191432e14b670b312dd0d2dc7b5fa21274b91b90afe7c325238081f67848bab51406d6e
-EBUILD keystone-2013.1.9999.ebuild 3010 SHA256 06e523198986ad44b4e25d9d1e4d5cfd23960941d3109711d689020fe0511b59 SHA512 3ff33373297a466c171422eb9f5e27430e3b02f577b24b1b5130877558ded0764a7b2494e81d41707199928e0371b25ac7a4b434343d128b3fb65a2403e75e91 WHIRLPOOL 03d34ec07c1d9e1fd25a74bb73a86665ec54ce89ece026dc3a9536eefe422d8bd08c6c1eec2cf6815b9debc74e7f6f5b455b50140ed836d36d826c7eb15dd4b8
EBUILD keystone-2013.2.2-r1.ebuild 4764 SHA256 1c34183d989b9ad7929d4e48b06c8d0360382ae3ff846885275d68dca614a0c1 SHA512 e549bcce7d3cad014afd60900a2e1ba95e210928d4f686c6d0dcb3de4cf124a2c0cf196d988377cabb8d4db9be04c8116f2a4d03bf928700414c04ca3fbbcb78 WHIRLPOOL 63fd1b255a70e65744f3ed108da9600350eeb5dc695ac6f52f893c8e16b14d682d2890cd66caab3edf4a0042302e10c40a973d83c563268479298e063332520b
-EBUILD keystone-2013.2.2.ebuild 4716 SHA256 aa292f256b9a87f48176c7a770ff7027171b08584235c7c240f4474d92c2aa2d SHA512 7a5dbd2f93680555a70f2c772a1e8851a93824c3920051413e26bb665173319e2059f4f3237adf744716ae6cf44a6a1418a222d98840f73936444ef34904305c WHIRLPOOL 7b57ed976dced8291d3e29aee27c81a0d62321bfdbe6005266521ca92a32f045b3acb860c4869386e50c0a705d1cd5b84bcafa23ae064dfc8a37ebf275a7ef3b
EBUILD keystone-2013.2.9999.ebuild 4395 SHA256 5dbdee3a80720d89d6b9eb44801fd0bbca01aa77bd1005a5f05e6936792612e7 SHA512 6412b32640a29783ff8bb71b6e86243128b6fb4f49ddde187eff5468ed6e22154ee1645e8694c43c0b342e27a9a7c64cf89ff54bcd7a0e6d62f5a19954e0e274 WHIRLPOOL 30eb74991df263cd0afc8e84311bb008469a16afa8c248e00eda9c78a5cb9fe46d679b7cc3c7528157f0590b18ec6db25fe0187db41f3748e3dfa4d39919bdca
EBUILD keystone-9999.ebuild 4381 SHA256 3e9891ca3f756591b3c7f68f0fb8e287c3eaf43ba3ab12cc5b92ed48d9915e9e SHA512 e8ca3d0568fbcbd5b567e6a25d851e4f19749735596261b448d2ed64e7035f586db5d3d5fbfa8b7ec58bf6656e2b958bd4b16db49814838d7d3739953a1ba260 WHIRLPOOL a9bb8b8b5566a9ab8889e4d3d7e20afba8ec31578da583ce6e2852ce6536de064f4ffcf2ec4cf60288d82ce95e0963d218d8b596f9d55a3c119e9066cab8c7e2
-MISC ChangeLog 13782 SHA256 b2a5a303d14c9435561e27c60abb91ca530c5f43e28cbf368eaffd5689c50fb7 SHA512 80611b3b26b099a7037d0cd09a99866e21324706ff6ccf296942272453a20dbf60957e0916521c391483f33dc71ff3313ad52c38853cf860331cdf30fb9adad0 WHIRLPOOL 2ef4a2fb349a9d28c2f9ecf1474ec27ccfd90788897131108fed13ed50d50bd01584b37cab78a1440ec8a539a0f7172c6621a60ea4d244d7f83fafd4c8115b3a
+MISC ChangeLog 13943 SHA256 a3e4e93b6e8eb1b4c95728d32b52bc8b66d82aabb347456c99c64d0a72eb27bc SHA512 333ebc7f23de8f6508a201bde68468af9d8e15ae2fb88c75eda51ba03970e7fba7a27b10c0ce91fefec9d80afd32c2ce54a9b4a97745726ee7e1e3796720f2f2 WHIRLPOOL 74336a8db68e88b2e4473c42eb19f7e8c0cf5ae0738549646d1d5d692ed32f7341c11a078b4b23770fb208a5ade0411ff2831981796498431191790e293f3eb4
MISC metadata.xml 424 SHA256 c89c0232e90df5d811d17941c1594e4c4c45db48c2b6240a3c62b232caad4e84 SHA512 9d7fcca89a6f35a93f1a57790103249cdc25424cbdb374bf26b691e81b27182dc3380a8ff67b77e7aabf4ce944e4a813d619838d4bc97086b4208e5312d76f11 WHIRLPOOL 4ec9d4c5ff5c484c341b06fe77fcac8e6fdd0e0b651dbd58b6f2d5aecd05db5bf70218b94733eb749ced7436f9df5ba5c93496bae06c0ff9a62b91ecb53ab77a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJTLz45AAoJECRx6z5ArFrDC0kQALypPmFXWrXUj05FuvQNJE22
-cqBcmBS5pX0WGHzKYhiUbTnfSjU1EMCjWFWbzfNusFI3iIQBhtcXtvY4blQ0FJ2C
-JQePtO211us5M2fJFndGV5uI5UWZ76AW2toeXf+gCQ+Lsvfj5Kf67CnDz81aaHAc
-Z82jwoLh0/L5i04hRH4nBk3QGYlWCFsp6rGHV+kQeyCL7orWNH6wiRqFHxlcikPr
-EKOcKtleKRaFLemBKUO6W45PIzPO3AyfCMXFsXC561Cu+Hua+K+xeGHh2ZZSl2+I
-vEyO9QQoC/I/ktCRVvKESdaAz0c4sxtourj42OQhOA/US/2CBp078o3zhm1YVnlN
-S9bUage6d2onhZdGczoY8GywBsGY3h6ZZvUnT0Y2CEjN86pO4uFkIRUuY1uII5H6
-nI8wIyV/TxIXuoDWI9/wMlqWPjZT0fsUhQC2+qqizVF9XWQ8f/AwAJGCP+c4UcM5
-Idbi65LwHd9sP4Acr83Q0SSuizSNYX93jK5w8c+Hphz3TOhZY0/LiooO/Sa4+DAa
-A9EkFq1U5ipKtC3r8y1koJhE9Ic1MHpU1AUH7lZe6ZW5RHL2522gSwyrijrQUzZ1
-SjKtdbC3V0W/X/7WqzZhRf0So1AE9XWL3nhItxIwkK6/Ms8iNyEroeDDaAQLbFBY
-wRa3WaR9Xno0TVSYJilV
-=QxjF
+iQIcBAEBCAAGBQJTQOdBAAoJECRx6z5ArFrDaa4QAIXR9tk8880Min8oy7GX8SV2
+M+3tfCdCsMcf1iT/Qn7023hmYZ5DvO0b215YD2+D/kHsUAFriyuLd9e0BaD8577n
+Dd1sRJuid275NacesmPEJLArJdXjtSJSIM/zkEZJbXIp4p4zGinIUQxCJtWhkb/Z
++eN9yKg0f+QTn9XsJpYNqksjbPIlOrldZplSS2m2RL+oMjQ4MDfufv+5WTacEmvo
++4I0Ri0PjAbGBogsumwKdj5TmhNql+67kIuv5cL+xbAKBK/tQput0EM/euhIkkhA
+j8E1pMzgK+ADguwQ0ms4rnOLWUE5yZzgcsjXcA5R2NCgr25p3hsLTimbQ0RYZaD2
+/oEGuOHOV5S565Zemzxz5laumnnCHYQaFEC9HxvR56KCQjHU2+0yoLVAA71qHqpT
+mn9XoKL5EV8MHh8EYZZIKJ0bacYOfyAyZ6i7pDW+zAy9mWUU47XLFIFnSEXrviEq
+OBOYYkWovIg3MPtM/bu5io5CzygrL19SxvwheTqQE/nsFgVOyaJghchDb1/Yhj48
+CeHGXkVp/nqRiE7vKaCc8TX4+qX8OEagn8Q176OS4pO456V64q8cMlwjds8BbAa8
+by+HrHv+kcea7bz80TVndHYooF3PSiMQhZ4LxZTMsdVzjpJO4tut1buuI9QBXjL5
+ZudJrtwk1RLGW0hVEMsy
+=ZOJY
-----END PGP SIGNATURE-----
diff --git a/sys-auth/keystone/keystone-2013.1.5.ebuild b/sys-auth/keystone/keystone-2013.1.5.ebuild
deleted file mode 100644
index 1daaa43a7c5c..000000000000
--- a/sys-auth/keystone/keystone-2013.1.5.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/keystone/keystone-2013.1.5.ebuild,v 1.1 2014/03/23 20:03:24 prometheanfire Exp $
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-DESCRIPTION="The Openstack authentication, authorization, and service catalog written in Python."
-HOMEPAGE="https://launchpad.net/keystone"
-SRC_URI="http://launchpad.net/${PN}/grizzly/${PV}/+download/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+sqlite mysql postgres ldap test"
-REQUIRED_USE="|| ( mysql postgres sqlite )"
-
-#todo, seperate out rdepend via use flags
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
- test? ( dev-python/Babel
- dev-python/decorator
- dev-python/eventlet
- dev-python/greenlet
- dev-python/httplib2
- dev-python/iso8601
- dev-python/lxml
- dev-python/netifaces
- dev-python/nose
- dev-python/nosexcover
- dev-python/passlib
- dev-python/paste
- dev-python/pastedeploy
- dev-python/python-pam
- dev-python/repoze-lru
- dev-python/routes
- dev-python/netaddr
- >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
- <dev-python/sphinx-1.2[${PYTHON_USEDEP}]
- >=dev-python/sqlalchemy-migrate-0.7
- dev-python/tempita
- >=dev-python/webob-1.0.8
- dev-python/webtest
- dev-python/python-memcached
- )"
-RDEPEND="dev-python/eventlet[${PYTHON_USEDEP}]
- dev-python/greenlet[${PYTHON_USEDEP}]
- >=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}]
- >=dev-python/python-keystoneclient-0.2.1[${PYTHON_USEDEP}]
- <=dev-python/python-keystoneclient-0.3[${PYTHON_USEDEP}]
- dev-python/lxml[${PYTHON_USEDEP}]
- >=dev-python/oslo-config-1.1.0[${PYTHON_USEDEP}]
- <dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}]
- dev-python/passlib[${PYTHON_USEDEP}]
- dev-python/paste[${PYTHON_USEDEP}]
- dev-python/pastedeploy[${PYTHON_USEDEP}]
- dev-python/python-daemon[${PYTHON_USEDEP}]
- >=dev-python/python-pam-0.1.4[${PYTHON_USEDEP}]
- dev-python/routes[${PYTHON_USEDEP}]
- >=dev-python/sqlalchemy-migrate-0.7.2[${PYTHON_USEDEP}]
- =dev-python/webob-1.2.3-r1[${PYTHON_USEDEP}]
- virtual/python-argparse[${PYTHON_USEDEP}]
- sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}]
- <dev-python/sqlalchemy-0.7.10[sqlite,${PYTHON_USEDEP}] )
- mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}]
- <dev-python/sqlalchemy-0.7.10[mysql,${PYTHON_USEDEP}] )
- postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}]
- <dev-python/sqlalchemy-0.7.10[postgres,${PYTHON_USEDEP}] )
- ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )"
-PATCHES=(
-)
-python_test() {
- # https://bugs.launchpad.net/keystone/+bug/1241956
- nosetests -e 'test_keystoneclient*' || die "testsuite failed under ${EPYTHON}"
-}
-
-python_install() {
- distutils-r1_python_install
- newconfd "${FILESDIR}/keystone.confd" keystone
- newinitd "${FILESDIR}/keystone.initd" keystone
-
- diropts -m 0750
- keepdir /etc/keystone /var/log/keystone
- insinto /etc/keystone
- doins etc/keystone.conf.sample etc/logging.conf.sample
- doins etc/default_catalog.templates etc/policy.json
-}
diff --git a/sys-auth/keystone/keystone-2013.1.9999.ebuild b/sys-auth/keystone/keystone-2013.1.9999.ebuild
deleted file mode 100644
index d54719d8d1b9..000000000000
--- a/sys-auth/keystone/keystone-2013.1.9999.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/keystone/keystone-2013.1.9999.ebuild,v 1.11 2014/03/23 20:03:24 prometheanfire Exp $
-
-EAPI=5
-#test restricted becaues of bad requirements given (old webob for instance)
-RESTRICT="test"
-PYTHON_COMPAT=( python2_7 )
-
-inherit git-2 distutils-r1
-
-DESCRIPTION="Keystone is the Openstack authentication, authorization, and
-service catalog written in Python."
-HOMEPAGE="https://launchpad.net/keystone"
-EGIT_REPO_URI="https://github.com/openstack/keystone.git"
-EGIT_BRANCH="stable/grizzly"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS=""
-IUSE="+sqlite mysql postgres ldap"
-#IUSE="+sqlite mysql postgres ldap test"
-REQUIRED_USE="|| ( mysql postgres sqlite )"
-
-#todo, seperate out rdepend via use flags
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="${DEPEND}
- dev-python/eventlet[${PYTHON_USEDEP}]
- dev-python/greenlet[${PYTHON_USEDEP}]
- >=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}]
- >=dev-python/python-keystoneclient-0.2.1[${PYTHON_USEDEP}]
- <=dev-python/python-keystoneclient-0.3[${PYTHON_USEDEP}]
- dev-python/lxml[${PYTHON_USEDEP}]
- >=dev-python/oslo-config-1.1.0[${PYTHON_USEDEP}]
- <dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}]
- dev-python/passlib[${PYTHON_USEDEP}]
- dev-python/paste[${PYTHON_USEDEP}]
- dev-python/pastedeploy[${PYTHON_USEDEP}]
- dev-python/python-daemon[${PYTHON_USEDEP}]
- >=dev-python/python-pam-0.1.4[${PYTHON_USEDEP}]
- dev-python/routes[${PYTHON_USEDEP}]
- >=dev-python/sqlalchemy-migrate-0.7.2[${PYTHON_USEDEP}]
- =dev-python/webob-1.2.3-r1[${PYTHON_USEDEP}]
- virtual/python-argparse[${PYTHON_USEDEP}]
- sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}]
- <dev-python/sqlalchemy-0.7.10[sqlite,${PYTHON_USEDEP}] )
- mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}]
- <dev-python/sqlalchemy-0.7.10[mysql,${PYTHON_USEDEP}] )
- postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}]
- <dev-python/sqlalchemy-0.7.10[postgres,${PYTHON_USEDEP}] )
- ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )"
-# test? ( dev-python/Babel
-# dev-python/decorator
-# dev-python/eventlet
-# dev-python/greenlet
-# dev-python/httplib2
-# dev-python/iso8601
-# dev-python/lxml
-# dev-python/netifaces
-# dev-python/nose
-# dev-python/nosexcover
-# dev-python/passlib
-# dev-python/paste
-# dev-python/pastedeploy
-# dev-python/python-pam
-# dev-python/repoze-lru
-# dev-python/routes
-# dev-python/sphinx
-# >=dev-python/sqlalchemy-migrate-0.7
-# dev-python/tempita
-# >=dev-python/webob-1.0.8
-# dev-python/webtest
-# )
-
-PATCHES=(
-)
-
-python_install() {
- distutils-r1_python_install
- newconfd "${FILESDIR}/keystone.confd" keystone
- newinitd "${FILESDIR}/keystone.initd" keystone
-
- diropts -m 0750
- keepdir /etc/keystone /var/log/keystone
- insinto /etc/keystone
- doins etc/keystone.conf.sample etc/logging.conf.sample
- doins etc/default_catalog.templates etc/policy.json
-}
diff --git a/sys-auth/keystone/keystone-2013.2.2.ebuild b/sys-auth/keystone/keystone-2013.2.2.ebuild
deleted file mode 100644
index f6df8cd00a5c..000000000000
--- a/sys-auth/keystone/keystone-2013.2.2.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/keystone/keystone-2013.2.2.ebuild,v 1.1 2014/02/20 20:54:37 prometheanfire Exp $
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1 user
-
-DESCRIPTION="The Openstack authentication, authorization, and service catalog written in Python."
-HOMEPAGE="https://launchpad.net/keystone"
-SRC_URI="http://launchpad.net/${PN}/havana/${PV}/+download/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+sqlite mysql postgres ldap test"
-REQUIRED_USE="|| ( mysql postgres sqlite )"
-
-#todo, seperate out rdepend via use flags
-RDEPEND=">=dev-python/python-pam-0.1.4[${PYTHON_USEDEP}]
- >=dev-python/webob-1.2.3-r1[${PYTHON_USEDEP}]
- <dev-python/webob-1.3[${PYTHON_USEDEP}]
- >=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}]
- >=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}]
- dev-python/netaddr[${PYTHON_USEDEP}]
- >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}]
- dev-python/paste[${PYTHON_USEDEP}]
- >=dev-python/routes-1.12.3[${PYTHON_USEDEP}]
- sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}]
- <dev-python/sqlalchemy-0.7.99[sqlite,${PYTHON_USEDEP}] )
- mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}]
- <dev-python/sqlalchemy-0.7.99[mysql,${PYTHON_USEDEP}] )
- postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}]
- <dev-python/sqlalchemy-0.7.99[postgres,${PYTHON_USEDEP}] )
- >=dev-python/sqlalchemy-migrate-0.7.2[${PYTHON_USEDEP}]
- dev-python/passlib[${PYTHON_USEDEP}]
- >=dev-python/lxml-2.3[${PYTHON_USEDEP}]
- >=dev-python/iso8601-0.1.8[${PYTHON_USEDEP}]
- >=dev-python/python-keystoneclient-0.3.2[${PYTHON_USEDEP}]
- >=dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}]
- >=dev-python/Babel-1.3[${PYTHON_USEDEP}]
- dev-python/oauth2[${PYTHON_USEDEP}]
- >=dev-python/dogpile-cache-0.5.2[${PYTHON_USEDEP}]
- dev-python/python-daemon[${PYTHON_USEDEP}]
- virtual/python-argparse[${PYTHON_USEDEP}]
- ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
- >=dev-python/pbr-0.5.21[${PYTHON_USEDEP}]
- <dev-python/pbr-1.0[${PYTHON_USEDEP}]"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
- test? ( ${RDEPEND}
- >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
- >=dev-python/hacking-0.5.6[${PYTHON_USEDEP}]
- <dev-python/hacking-0.8[${PYTHON_USEDEP}]
- dev-python/httplib2[${PYTHON_USEDEP}]
- >=dev-python/keyring-1.6.1[${PYTHON_USEDEP}]
- <dev-python/keyring-2.0[${PYTHON_USEDEP}]
- >=dev-python/mox-0.5.3[${PYTHON_USEDEP}]
- dev-python/nose[${PYTHON_USEDEP}]
- dev-python/nosexcover[${PYTHON_USEDEP}]
- >=dev-python/nosehtmloutput-0.0.3[${PYTHON_USEDEP}]
- >=dev-python/openstack-nose-plugin-0.7[${PYTHON_USEDEP}]
- dev-python/oslo-sphinx[${PYTHON_USEDEP}]
- >=dev-python/requests-1.1[${PYTHON_USEDEP}]
- >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
- <dev-python/sphinx-1.2[${PYTHON_USEDEP}]
- >=dev-python/testtools-0.9.32[${PYTHON_USEDEP}]
- >=dev-python/webtest-2.0[${PYTHON_USEDEP}]
- >=dev-python/python-memcached-1.48[${PYTHON_USEDEP}]
- ldap? ( ~dev-python/python-ldap-2.3.13 ) )
- >=dev-python/pbr-0.5.21[${PYTHON_USEDEP}]
- <dev-python/pbr-1.0[${PYTHON_USEDEP}]"
-
-PATCHES=(
-)
-
-pkg_setup() {
- enewgroup keystone
- enewuser keystone -1 -1 /var/lib/keystone keystone
-}
-
-python_prepare_all() {
- mkdir ${PN}/tests/tmp || die
- cp etc/keystone-paste.ini ${PN}/tests/tmp/ || die
- distutils-r1_python_prepare_all
-}
-
-python_test() {
- # https://bugs.launchpad.net/keystone/+bug/1262564
- nosetests || die "testsuite failed under python2.7"
-}
-
-python_install() {
- distutils-r1_python_install
- newconfd "${FILESDIR}/keystone.confd" keystone
- newinitd "${FILESDIR}/keystone.initd" keystone
-
- diropts -m 0750
- keepdir /etc/keystone /var/log/keystone
- insinto /etc/keystone
- doins etc/keystone.conf.sample etc/logging.conf.sample
- doins etc/default_catalog.templates etc/policy.json
- doins etc/policy.v3cloudsample.json etc/keystone-paste.ini
-
- fowners keystone:keystone /etc/keystone /var/log/keystone
-}
-
-pkg_postinst() {
- elog "You might want to run:"
- elog "emerge --config =${CATEGORY}/${PF}"
- elog "if this is a new install."
- elog "If you have not already configured your openssl installation"
- elog "please do it by modifying /etc/ssl/openssl.cnf"
- elog "BEFORE issuing the configuration command."
- elog "Otherwise default values will be used."
-}
-
-pkg_config() {
- if [ ! -d "${ROOT}"/etc/keystone/ssl ] ; then
- einfo "Press ENTER to configure the keystone PKI, or Control-C to abort now..."
- read
- "${ROOT}"/usr/bin/keystone-manage pki_setup --keystone-user keystone --keystone-group keystone
- else
- einfo "keystone PKI certificates directory already present, skipping configuration"
- fi
-}