From 470d886f8b8e2a4f263048105575f1e6ea792f21 Mon Sep 17 00:00:00 2001 From: Matt Thode Date: Thu, 26 Sep 2013 00:15:43 +0000 Subject: lxml and directory ownership Package-Manager: portage-2.1.12.2/cvs/Linux x86_64 Manifest-Sign-Key: 0x2471EB3E40AC5AC3 --- sys-cluster/nova/ChangeLog | 10 ++- sys-cluster/nova/Manifest | 36 ++++----- sys-cluster/nova/nova-2012.2.4-r10.ebuild | 114 +++++++++++++++++++++++++++++ sys-cluster/nova/nova-2012.2.4-r9.ebuild | 107 --------------------------- sys-cluster/nova/nova-2013.1.3-r5.ebuild | 111 ---------------------------- sys-cluster/nova/nova-2013.1.3-r6.ebuild | 117 ++++++++++++++++++++++++++++++ sys-cluster/nova/nova-2013.1.9999.ebuild | 12 ++- sys-cluster/nova/nova-9999.ebuild | 11 ++- 8 files changed, 275 insertions(+), 243 deletions(-) create mode 100644 sys-cluster/nova/nova-2012.2.4-r10.ebuild delete mode 100644 sys-cluster/nova/nova-2012.2.4-r9.ebuild delete mode 100644 sys-cluster/nova/nova-2013.1.3-r5.ebuild create mode 100644 sys-cluster/nova/nova-2013.1.3-r6.ebuild (limited to 'sys-cluster') diff --git a/sys-cluster/nova/ChangeLog b/sys-cluster/nova/ChangeLog index a3192bc740b6..50044aaa3e0d 100644 --- a/sys-cluster/nova/ChangeLog +++ b/sys-cluster/nova/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sys-cluster/nova # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/ChangeLog,v 1.28 2013/09/13 20:47:34 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/ChangeLog,v 1.29 2013/09/26 00:15:33 prometheanfire Exp $ + +*nova-2012.2.4-r10 (26 Sep 2013) +*nova-2013.1.3-r6 (26 Sep 2013) + + 26 Sep 2013; Matthew Thode + +nova-2012.2.4-r10.ebuild, +nova-2013.1.3-r6.ebuild, -nova-2012.2.4-r9.ebuild, + -nova-2013.1.3-r5.ebuild, nova-2013.1.9999.ebuild, nova-9999.ebuild: + lxml and directory ownership *nova-2012.2.4-r9 (13 Sep 2013) diff --git a/sys-cluster/nova/Manifest b/sys-cluster/nova/Manifest index e3ebc4602908..ca958f495ccc 100644 --- a/sys-cluster/nova/Manifest +++ b/sys-cluster/nova/Manifest @@ -15,26 +15,26 @@ AUX nova-initd 1496 SHA256 5b5f928335ac345103492555c3bc57407f547915b099762d0087a AUX nova-sudoers 78 SHA256 9e88c2843fb74cc46802c0b103067ad12915ec50335d05e546a5dba76acb4a76 SHA512 22c0606c6335b2d1a03bd18a319a54f16f76f091b2e8416dbba05ce7c15890beff7f32f0322eb5ba3f2a5c750436cacbe0cee189b390b878e3f0c0df219ef984 WHIRLPOOL bc42ae1d12e9f900b263fd5c3d0f59062f46fbec1ff97c0bceb234082bea5943eb64795b4f5e102b8e2749c6868163e5924467088cad42df09345e3406e5f83c DIST nova-2012.2.4.tar.gz 6286004 SHA256 883a44282514b484a1187c07875834b9c4648555bf20002aceb1d6731ebd0252 SHA512 c05705c7802035232921e7ca9cdcea05571f4771dae573f9364b740553e470d8e4b4e832bf04120c089bad48a75b8493921eefeb28383f70620495a935ad6ec3 WHIRLPOOL 9e8c56b1a66f15f5f6218413e1cd518a0e73f371baea774023a11ad38abccae3e172ec0894fd77f59848685d1993451499916b94c62289d16f57470005e7c123 DIST nova-2013.1.3.tar.gz 5780115 SHA256 f7c25186920daccb16867c5fd272318beb8cc076e5a55f79b5906618ef2724f4 SHA512 3de29f1cf0789285c7600796588058f056d4196138584bb5ec13a0ea034bbc0569d116a668db67022e302b29995af5960093af1103996269d73dccd62a5dd238 WHIRLPOOL ebb06733a710764004f99da2a69d5479cdd50e35da6d0992233ab9ca0a7a5854a678c5d184d40f97a66fa3abd052b1e6de4629963dd58292f677707997e56239 -EBUILD nova-2012.2.4-r9.ebuild 4454 SHA256 aa5364bb99d6e3f78d95c5c385ab9e6a19dd7c8f6362d442be63634b66aba7d8 SHA512 704d15320d943456bbbdc0d53f3e4d449ef5b15ac55432fcdc812b82c38b879343f3f3a3f24d2232a9cc2ecefe3a116f698045e932b680e1a0002331733dd754 WHIRLPOOL 12fe33148f91e29854b5f59889cc40ebc6391219bee758c2b134bef8baf78c9382d73abb94e5658595c58971da91b88b042b177f421e9f82911c847a3b80e79c -EBUILD nova-2013.1.3-r5.ebuild 4616 SHA256 0614e986ca48ae94fd5eb995a58a3a3ce5595c210ea664919b1555b75853bd12 SHA512 c40fafe90c3eb505d8668935216976c22c9d5c5f7fec337ee4c81ab2b1b7b1ecd6725d814808613fa995b09cf5cf0e588f6fa88fc10f7acb6b7b6797e28d29ce WHIRLPOOL 80c084a323a35c352c3ba6019ad5d18db782e5b9fb21b7ec0e7b971a09eaae8cd98492c109b1de96f41606809e1a83dc701d4ada654dfeb622c285cf9176bea4 -EBUILD nova-2013.1.9999.ebuild 4533 SHA256 7f98b1461e6eeb81b7bda0937915f5e7e1497eeacea11ad7a619ce59ba0036a0 SHA512 73498eff9832ac109bb0a9ce0ea24c4aaf629b86009e87642948867d90acd5f0a4851f513f31dce106b831aacc08278116e1426546b493cc6d735990bd0bee10 WHIRLPOOL 2215ca87e9a4d8deef2e45471fcfe9526fdb280de80063b6e6426e6437c542541fea1246a0656add90e38100ee68555c21b3040e637ea5c814b4105f899e9c03 -EBUILD nova-9999.ebuild 4845 SHA256 d5c98d901f858a5d3b8e2eb127573f77abfa42fe81d4f800eafc8fd705746be2 SHA512 416e29572616ac00ae6b4b8a2592087df926dba6b13b8ff2e47b92db4537939dfe168315a3438255b066c090576021910e2af1b2f7e75b236af1071d275ac009 WHIRLPOOL b9d1872b8b61d0e434ae81beefac144da119fd06c867ef7db9108adf2d7122baae6445d268781968c08c17f29968af140221c243a80865878a449aaee9d0162d -MISC ChangeLog 6688 SHA256 6537bc52a0504d9564ae108cee06f5a8bedfb364398642052e2d1c552454fe44 SHA512 88b931e8b9080902549c0ae883e77eb41dcf2629995e0a91e099d368091909a963ad42fd218db2fa682be5a04abad00448205704283492f1ffacaf47fdad6594 WHIRLPOOL d0ac9c0d9c8062d67cf58553f4efd222f9c291bf9081ab7f0b295325eb1c2a5be4e400dc3c2e87c41d66c204ded562d42057cc7517159a8367e1820cf389ade6 +EBUILD nova-2012.2.4-r10.ebuild 4689 SHA256 3a2abaaf3611529372b719e31189d9daef826122348f9c4bdfefaa0deb820004 SHA512 491a4f3d8991f5876d3747f47f325fcf102f88ca94ccb3cca19242e3d160273523c369303db25a60ead35916fdaab1e5d6533522f5bede672d24949c036dd7c1 WHIRLPOOL b641ecd59ed358407ce4777f5d455374c7ae401e855a527d92a28092f23502150140923ae46a11b59b4b5e830a4919df78ed075f01437e3dcbe7c1f0a030d034 +EBUILD nova-2013.1.3-r6.ebuild 4825 SHA256 1f6ee4864f11a720404a872a72dade8f0b30266559cfece543d86b96ce0f45e1 SHA512 e05b83efbccb55185da6cc91cdfa749b3f89593edc27152747bc5ef4bf59a0ae59e21ab1774ea40f6e34fb9005844c879b308e256fb14d57848e6516dee4c281 WHIRLPOOL afe3e42f56e5e4657803b605f6a90a71c309118eb6a7e5923d746c1b94cbc4c7c31b0e4f55a9760db6fe59447ee7c967cd519d81466b95d2a32da27a6a9c913c +EBUILD nova-2013.1.9999.ebuild 4742 SHA256 0f6dae6f9daef5b3d652434af15d7e6dd9f6067e9b5db5f92d7b19c17a0b8d68 SHA512 cd6e3d139e0ed8e98143bc58ed418c727bfdebafb4584ac9b932db34360e75d9273eb2dcfbf59ba026253327f2161b3cd4afc974e1ad3cca73c1b1919e85f0e3 WHIRLPOOL 55b52daf1787e3dc5171e9a3113a35a3202589cdfa7df7f9afce233f0c28fdbf595deaa81340d669fe0434dc803e42c668c2ff9dc9bd4b283fd246401513ffd3 +EBUILD nova-9999.ebuild 5012 SHA256 be8c3fbb67ed5b2a08b2b1741b7e445209458fd927ddef3e22f9248cb29f084b SHA512 2036f8daaf95d75c121ce597d6e3e2dc6e8ef3412a38a10d1eb3f1110f0cc00602aed8c30fa0ae2fb525762dee57168d2ae831f1d4301f8e35b40447899abb0c WHIRLPOOL 3ce00621f30b736f082597073c124af6667aa492a9d740a11273e7cb20d762a41612c194bebafa7a6816cbe6f136b6d26a1469f5d90bcce1a7a9b89595b4dd39 +MISC ChangeLog 6995 SHA256 d6f4a49b3c8938ea7c8de4f1e0b63a7bcb217c713f265a9df8834da7e2442906 SHA512 5f74a5f981bacf7b00645910b2b13b9a48585c72897b9f88f03d1836f35543a46668867fe2fce015c484e956d5fb53bff0da9271fbddecd9c94368e5b60fed9f WHIRLPOOL 9696135be38db87f67de59bb575b7a1ef46c04c2e0dfd013be96a923a3b56bcc592cd85d7ac8ed45aae6eb3809a574ad990541d6e060b00557df23ce1f986495 MISC metadata.xml 1320 SHA256 62fa65c1ae4717c2cd0340eef975d759710ed33d467c0603a48f23530d1dbdc3 SHA512 028077c33e7788e7825edd29d2506e6580df33d7b471fc7bdc1bf6cce4d01d3a4f1f9bbdbe3f62a9cb19929681dc0d23b6f56e597e2d9eee4140a21c4619e7ec WHIRLPOOL e5be2b277c7ac69fa8bb1696725b67eae3873de8a1d12c7fcf677cae757ff2321b9d2f1170e4cf7f520a58a8e16ca5d439c2d8127dc4178074f26c6883d0e3fd -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) -iQIcBAEBCAAGBQJSM3pDAAoJECRx6z5ArFrD03EP/RD7BdgbvuQi6Jbj0p9Pc45l -7kEPXhYBIc4RSs9hjcLk46TQEPPlT+nUb1Bf1v3VEAVleGq5qmUXTooB+l2Lrt4a -NinRqJrEnlWkXT90AYLpmtYvaGS+FTx0u7aZpJ8yTWYVQelD+906h73tFBW2/kgC -wS9tY2CJvxCYI+jq3mQSes2etGU4y9qf1sa2j8aBQhP9pmH2HDro8JWlpR4e0l9l -4I4UrQCo/AgeoL3QriAuOs7WUZSM4hkOdwqRf+DC+jBJInO6DsbwXBnVF+JTzm+p -px/mWdHRC6x86oMNBHrtSws5PcA4xfM58Fo8vkNvCEYsMOInk21XPnkrX212jDJp -RC+9/KnB5YaJMJQ9P4DMpya1Fp9m8JfrP3ibkFp6PiHNhqHcrTQEEijez7zyNFal -Ohpwvh+UZyEf5xnEuwbSRIPEouVzMpeWh/Pdg4yXJrdVu8COnR6nNMEkPj1bt7AF -ao/esuMAsjhhJxTxdas1F9GW4MwZyNuq+rqGmiRmjpl04S+jbCYJN/vKpqtcyjVc -Yf+Gu3FKwKZNPGnKxczMbKnfJskJU/dqmGX9du3O5L6CNcPq28HqiHvlfFQwrpBT -K2YU39MBHpmHV1BJhaQFA3Kqz1Vwa8ktw4L0wZBW9pIOsarM5dJVcS9dFhq0iqKd -Cg8yAwEhD6IEiOGJJagt -=KrQF +iQIcBAEBCAAGBQJSQ30KAAoJECRx6z5ArFrDOzYQAKazbTM8bivE0vU2PhAGT57N +3w8ECb7NB5TKtmOPL+lcQ7ypeK1RN583RNDtgrbm66AaDa6uqrBUEtuMUEBSDYJM +HmBWQN/IXfTZWopEFPrvr7kXyFRmWI40H01Mz1YZY3DrucnZS9wJRJW/YW+WgmP5 +qDzZXanyBfnS5jgRboWRPVDzdJu7lFd6XwQeEMghuzl/S7TO6s1yW9mAm+TiFsVC +Dth0yaLENeOkXsaw6ob58IJrO/Hpw6j4bjCsCVHE9AESB+5hX6OPgwFr24kezbCI +KjOfKHTnWrDfndPN1KDVRqQtF/cjk+pBJskwY0GCbEM3+ryYnqfm52Tnwvfptpmv +xnnY/vidtqTciKW5oE0oYAMQcl+7nIIqRP/ztlBk+YQWdGOfaBVYeuPJXrW5nj1v +hv/RyUv/fGesXdsDY6qFj3SL59V6wA2gneIHSsd2xzpUmmikfL1oQ/RZLrDRsajS +pHM45WUtV+LT7PMZ2eIua5XI3ZbmzCpUdoyoorOqcSYainGelZOLXHJhosqLnmm8 +L4FWoJHBpLDsPpcW5Zpuo5IGvfokoVaDgyK1FD62Xp6RcDDlML0k+YB4I+lcYwaj +XkR8NM5FM2rQ0gNdoOBu2h5tr06hB8LbHOnG439aAYygCeKcTp+uuPldv1ykRXJE +aqLV/N5hTCuqh9OQfDs9 +=YWVG -----END PGP SIGNATURE----- diff --git a/sys-cluster/nova/nova-2012.2.4-r10.ebuild b/sys-cluster/nova/nova-2012.2.4-r10.ebuild new file mode 100644 index 000000000000..365506624f39 --- /dev/null +++ b/sys-cluster/nova/nova-2012.2.4-r10.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/nova-2012.2.4-r10.ebuild,v 1.1 2013/09/26 00:15:33 prometheanfire Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 eutils multilib + +DESCRIPTION="Nova is a cloud computing fabric controller (main part of an +IaaS system). It is written in Python." +HOMEPAGE="https://launchpad.net/nova" +SRC_URI="http://launchpad.net/${PN}/folsom/${PV}/+download/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+api +cert +compute +conductor +consoleauth +network +novncproxy +scheduler +spicehtml5proxy +xvpvncproxy sqlite mysql postgres" +REQUIRED_USE="|| ( mysql postgres sqlite )" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + app-admin/sudo" + +RDEPEND="~dev-python/amqplib-0.6.1[${PYTHON_USEDEP}] + >=dev-python/anyjson-0.2.4[${PYTHON_USEDEP}] + sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}] + =dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}] + =dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}] + =dev-python/lxml-2.3[${PYTHON_USEDEP}] + =dev-python/eventlet-0.9.17[${PYTHON_USEDEP}] + ~dev-python/kombu-1.0.4[${PYTHON_USEDEP}] + ~dev-python/routes-1.12.3[${PYTHON_USEDEP}] + ~dev-python/webob-1.0.8[${PYTHON_USEDEP}] + >=dev-python/greenlet-0.3.1[${PYTHON_USEDEP}] + ~dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] + dev-python/paste[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-migrate-0.7.2[${PYTHON_USEDEP}] + dev-python/netaddr[${PYTHON_USEDEP}] + ~dev-python/suds-0.4[${PYTHON_USEDEP}] + dev-python/paramiko[${PYTHON_USEDEP}] + >=dev-python/Babel-0.9.6[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}] + dev-python/httplib2[${PYTHON_USEDEP}] + >=dev-python/setuptools-git-0.4[${PYTHON_USEDEP}] + >=dev-python/python-glanceclient-0.5.0[${PYTHON_USEDEP}] + =dev-python/python-neutronclient-2.1[${PYTHON_USEDEP}]" + +PATCHES=( + "${FILESDIR}/nova-folsom-4-CVE-2013-2030.patch" + "${FILESDIR}/nova-folsom-4-CVE-2013-2096.patch" + "${FILESDIR}/2012.2.4-CVE-2013-2256.patch" + "${FILESDIR}/2012.2.4-CVE-2013-4185.patch" + "${FILESDIR}/2012.2.4-CVE-2013-4261.patch" + "${FILESDIR}/2012.2.4-CVE-2013-4278.patch" +) + +pkg_setup() { + enewgroup nova + enewuser nova -1 -1 /var/lib/nova nova +} + +python_install() { + distutils-r1_python_install + newconfd "${FILESDIR}/nova-confd" "nova" + newinitd "${FILESDIR}/nova-initd" "nova" + use api && dosym /etc/init.d/nova /etc/init.d/nova-api + use cert && dosym /etc/init.d/nova /etc/init.d/nova-cert + use compute && dosym /etc/init.d/nova /etc/init.d/nova-compute + use conductor && dosym /etc/init.d/nova /etc/init.d/nova-conductor + use consoleauth && dosym /etc/init.d/nova /etc/init.d/nova-consoleauth + use network && dosym /etc/init.d/nova /etc/init.d/nova-network + use novncproxy &&dosym /etc/init.d/nova /etc/init.d/nova-nonvncproxy + use scheduler && dosym /etc/init.d/nova /etc/init.d/nova-scheduler + use spicehtml5proxy && dosym /etc/init.d/nova /etc/init.d/nova-spicehtml5proxy + use xvpvncproxy && dosym /etc/init.d/nova /etc/init.d/nova-xvpncproxy + + diropts -m 0750 + dodir /var/run/nova /var/log/nova /var/lock/nova + fowners nova:nova /var/log/nova /var/lock/nova /var/run/nova + + diropts -m 0755 + dodir /var/lib/nova/instances + fowners nova:nova /var/lib/nova/instances + + keepdir /etc/nova + insinto /etc/nova + newins "etc/nova/nova.conf.sample" "nova.conf" + newins "etc/nova/api-paste.ini" "api-paste.ini" + newins "etc/nova/logging_sample.conf" "logging_sample.conf" + newins "etc/nova/policy.json" "policy.json" + newins "etc/nova/rootwrap.conf" "rootwrap.conf" + insinto /etc/nova/rootwrap.d + doins "etc/nova/rootwrap.d/api-metadata.filters" + doins "etc/nova/rootwrap.d/compute.filters" + doins "etc/nova/rootwrap.d/network.filters" + doins "etc/nova/rootwrap.d/volume.filters" + + #copy migration conf file (not coppied on install via setup.py script) + insinto /usr/$(get_libdir)/python2.7/site-packages/nova/db/sqlalchemy/migrate_repo/ + doins "nova/db/sqlalchemy/migrate_repo/migrate.cfg" + + #copy the CA cert dir (not coppied on install via setup.py script) + cp -R "${S}/nova/CA" "${D}/usr/$(get_libdir)/python2.7/site-packages/nova/" || die "isntalling CA files failed" + + #add sudoers definitions for user nova + insinto /etc/sudoers.d/ + doins "${FILESDIR}/nova-sudoers" +} diff --git a/sys-cluster/nova/nova-2012.2.4-r9.ebuild b/sys-cluster/nova/nova-2012.2.4-r9.ebuild deleted file mode 100644 index 5b3d249154ba..000000000000 --- a/sys-cluster/nova/nova-2012.2.4-r9.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/nova-2012.2.4-r9.ebuild,v 1.1 2013/09/13 20:47:34 prometheanfire Exp $ - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 eutils multilib - -DESCRIPTION="Nova is a cloud computing fabric controller (main part of an -IaaS system). It is written in Python." -HOMEPAGE="https://launchpad.net/nova" -SRC_URI="http://launchpad.net/${PN}/folsom/${PV}/+download/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+api +cert +compute +conductor +consoleauth +network +novncproxy +scheduler +spicehtml5proxy +xvpvncproxy sqlite mysql postgres" -REQUIRED_USE="|| ( mysql postgres sqlite )" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - app-admin/sudo" - -RDEPEND="~dev-python/amqplib-0.6.1[${PYTHON_USEDEP}] - >=dev-python/anyjson-0.2.4[${PYTHON_USEDEP}] - sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}] - =dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}] - =dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}] - =dev-python/eventlet-0.9.17[${PYTHON_USEDEP}] - ~dev-python/kombu-1.0.4[${PYTHON_USEDEP}] - ~dev-python/routes-1.12.3[${PYTHON_USEDEP}] - ~dev-python/webob-1.0.8[${PYTHON_USEDEP}] - >=dev-python/greenlet-0.3.1[${PYTHON_USEDEP}] - ~dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] - dev-python/paste[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-migrate-0.7.2[${PYTHON_USEDEP}] - dev-python/netaddr[${PYTHON_USEDEP}] - ~dev-python/suds-0.4[${PYTHON_USEDEP}] - dev-python/paramiko[${PYTHON_USEDEP}] - >=dev-python/Babel-0.9.6[${PYTHON_USEDEP}] - >=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}] - dev-python/httplib2[${PYTHON_USEDEP}] - >=dev-python/setuptools-git-0.4[${PYTHON_USEDEP}] - >=dev-python/python-glanceclient-0.5.0[${PYTHON_USEDEP}] - =dev-python/python-neutronclient-2.1[${PYTHON_USEDEP}]" - -PATCHES=( - "${FILESDIR}/nova-folsom-4-CVE-2013-2030.patch" - "${FILESDIR}/nova-folsom-4-CVE-2013-2096.patch" - "${FILESDIR}/2012.2.4-CVE-2013-2256.patch" - "${FILESDIR}/2012.2.4-CVE-2013-4185.patch" - "${FILESDIR}/2012.2.4-CVE-2013-4261.patch" - "${FILESDIR}/2012.2.4-CVE-2013-4278.patch" -) - -pkg_setup() { - enewgroup nova - enewuser nova -1 -1 /var/lib/nova nova -} - -python_install() { - distutils-r1_python_install - newconfd "${FILESDIR}/nova-confd" "nova" - newinitd "${FILESDIR}/nova-initd" "nova" - use api && dosym /etc/init.d/nova /etc/init.d/nova-api - use cert && dosym /etc/init.d/nova /etc/init.d/nova-cert - use compute && dosym /etc/init.d/nova /etc/init.d/nova-compute - use conductor && dosym /etc/init.d/nova /etc/init.d/nova-conductor - use consoleauth && dosym /etc/init.d/nova /etc/init.d/nova-consoleauth - use network && dosym /etc/init.d/nova /etc/init.d/nova-network - use novncproxy &&dosym /etc/init.d/nova /etc/init.d/nova-nonvncproxy - use scheduler && dosym /etc/init.d/nova /etc/init.d/nova-scheduler - use spicehtml5proxy && dosym /etc/init.d/nova /etc/init.d/nova-spicehtml5proxy - use xvpvncproxy && dosym /etc/init.d/nova /etc/init.d/nova-xvpncproxy - - dodir /var/log/nova - fowners nova:nova /var/log/nova - - keepdir /etc/nova - insinto /etc/nova - newins "etc/nova/nova.conf.sample" "nova.conf" - newins "etc/nova/api-paste.ini" "api-paste.ini" - newins "etc/nova/logging_sample.conf" "logging_sample.conf" - newins "etc/nova/policy.json" "policy.json" - newins "etc/nova/rootwrap.conf" "rootwrap.conf" - insinto /etc/nova/rootwrap.d - doins "etc/nova/rootwrap.d/api-metadata.filters" - doins "etc/nova/rootwrap.d/compute.filters" - doins "etc/nova/rootwrap.d/network.filters" - doins "etc/nova/rootwrap.d/volume.filters" - - #copy migration conf file (not coppied on install via setup.py script) - insinto /usr/$(get_libdir)/python2.7/site-packages/nova/db/sqlalchemy/migrate_repo/ - doins "nova/db/sqlalchemy/migrate_repo/migrate.cfg" - - #copy the CA cert dir (not coppied on install via setup.py script) - cp -R "${S}/nova/CA" "${D}/usr/$(get_libdir)/python2.7/site-packages/nova/" || die "isntalling CA files failed" - - #add sudoers definitions for user nova - insinto /etc/sudoers.d/ - doins "${FILESDIR}/nova-sudoers" -} diff --git a/sys-cluster/nova/nova-2013.1.3-r5.ebuild b/sys-cluster/nova/nova-2013.1.3-r5.ebuild deleted file mode 100644 index a7c3ad3ee4cd..000000000000 --- a/sys-cluster/nova/nova-2013.1.3-r5.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/nova-2013.1.3-r5.ebuild,v 1.1 2013/09/12 06:55:26 prometheanfire Exp $ - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 eutils multilib - -DESCRIPTION="Nova is a cloud computing fabric controller (main part of an -IaaS system). It is written in Python." -HOMEPAGE="https://launchpad.net/nova" -SRC_URI="http://launchpad.net/${PN}/grizzly/${PV}/+download/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+api +cert +compute +conductor +consoleauth +network +novncproxy +scheduler +spicehtml5proxy +xvpvncproxy sqlite mysql postgres" -REQUIRED_USE="|| ( mysql postgres sqlite )" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - app-admin/sudo" - -RDEPEND=">=dev-python/amqplib-0.6.1[${PYTHON_USEDEP}] - >=dev-python/anyjson-0.2.4[${PYTHON_USEDEP}] - >=dev-python/cheetah-2.4.4[${PYTHON_USEDEP}] - sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}] - =dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}] - =dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}] - =dev-python/eventlet-0.9.17[${PYTHON_USEDEP}] - >=dev-python/kombu-1.0.4-r1[${PYTHON_USEDEP}] - >=dev-python/routes-1.12.3-r1[${PYTHON_USEDEP}] - ~dev-python/webob-1.2.3[${PYTHON_USEDEP}] - >=dev-python/greenlet-0.3.1[${PYTHON_USEDEP}] - >=dev-python/pastedeploy-1.5.0-r1[${PYTHON_USEDEP}] - dev-python/paste[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-migrate-0.7.2[${PYTHON_USEDEP}] - dev-python/netaddr[${PYTHON_USEDEP}] - >=dev-python/suds-0.4[${PYTHON_USEDEP}] - dev-python/paramiko[${PYTHON_USEDEP}] - dev-python/pyasn1[${PYTHON_USEDEP}] - >=dev-python/Babel-0.9.6[${PYTHON_USEDEP}] - >=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}] - dev-python/httplib2[${PYTHON_USEDEP}] - >=dev-python/setuptools-git-0.4[${PYTHON_USEDEP}] - >=dev-python/python-cinderclient-1.0.1[${PYTHON_USEDEP}] - >=dev-python/python-glanceclient-0.5.0[${PYTHON_USEDEP}] - =dev-python/python-neutronclient-2.2.0[${PYTHON_USEDEP}] - <=dev-python/python-neutronclient-3.0.0[${PYTHON_USEDEP}] - >=dev-python/python-keystoneclient-0.2.0[${PYTHON_USEDEP}] - >=dev-python/stevedore-0.7[${PYTHON_USEDEP}] - =dev-python/oslo-config-1.1.0[${PYTHON_USEDEP}] - virtual/python-argparse[${PYTHON_USEDEP}]" - -PATCHES=( - "${FILESDIR}/2013.1.3-CVE-2013-4261.patch" - "${FILESDIR}/2013.1.3-CVE-2013-4278.patch" -) - -pkg_setup() { - enewgroup nova - enewuser nova -1 -1 /var/lib/nova nova -} - -python_install() { - distutils-r1_python_install - newconfd "${FILESDIR}/nova-confd" "nova" - newinitd "${FILESDIR}/nova-initd" "nova" - use api && dosym /etc/init.d/nova /etc/init.d/nova-api - use cert && dosym /etc/init.d/nova /etc/init.d/nova-cert - use compute && dosym /etc/init.d/nova /etc/init.d/nova-compute - use conductor && dosym /etc/init.d/nova /etc/init.d/nova-conductor - use consoleauth && dosym /etc/init.d/nova /etc/init.d/nova-consoleauth - use network && dosym /etc/init.d/nova /etc/init.d/nova-network - use novncproxy &&dosym /etc/init.d/nova /etc/init.d/nova-nonvncproxy - use scheduler && dosym /etc/init.d/nova /etc/init.d/nova-scheduler - use spicehtml5proxy && dosym /etc/init.d/nova /etc/init.d/nova-spicehtml5proxy - use xvpvncproxy && dosym /etc/init.d/nova /etc/init.d/nova-xvpncproxy - - dodir /var/log/nova - fowners nova:nova /var/log/nova - - keepdir /etc/nova - insinto /etc/nova - newins "etc/nova/nova.conf.sample" "nova.conf" - doins "etc/nova/api-paste.ini" - doins "etc/nova/logging_sample.conf" - doins "etc/nova/policy.json" - doins "etc/nova/rootwrap.conf" - insinto /etc/nova/rootwrap.d - doins "etc/nova/rootwrap.d/api-metadata.filters" - doins "etc/nova/rootwrap.d/compute.filters" - doins "etc/nova/rootwrap.d/network.filters" - - #copy migration conf file (not coppied on install via setup.py script) - insinto /usr/$(get_libdir)/python2.7/site-packages/nova/db/sqlalchemy/migrate_repo/ - doins "nova/db/sqlalchemy/migrate_repo/migrate.cfg" - - #copy the CA cert dir (not coppied on install via setup.py script) - cp -R "${S}/nova/CA" "${D}/usr/$(get_libdir)/python2.7/site-packages/nova/" || die "isntalling CA files failed" - - #add sudoers definitions for user nova - insinto /etc/sudoers.d/ - doins "${FILESDIR}/nova-sudoers" -} diff --git a/sys-cluster/nova/nova-2013.1.3-r6.ebuild b/sys-cluster/nova/nova-2013.1.3-r6.ebuild new file mode 100644 index 000000000000..18889d120522 --- /dev/null +++ b/sys-cluster/nova/nova-2013.1.3-r6.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/nova-2013.1.3-r6.ebuild,v 1.1 2013/09/26 00:15:33 prometheanfire Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 eutils multilib + +DESCRIPTION="Nova is a cloud computing fabric controller (main part of an +IaaS system). It is written in Python." +HOMEPAGE="https://launchpad.net/nova" +SRC_URI="http://launchpad.net/${PN}/grizzly/${PV}/+download/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+api +cert +compute +conductor +consoleauth +network +novncproxy +scheduler +spicehtml5proxy +xvpvncproxy sqlite mysql postgres" +REQUIRED_USE="|| ( mysql postgres sqlite )" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + app-admin/sudo" + +RDEPEND=">=dev-python/amqplib-0.6.1[${PYTHON_USEDEP}] + >=dev-python/anyjson-0.2.4[${PYTHON_USEDEP}] + >=dev-python/cheetah-2.4.4[${PYTHON_USEDEP}] + sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}] + =dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}] + =dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}] + =dev-python/lxml-2.3[${PYTHON_USEDEP}] + >=dev-python/eventlet-0.9.17[${PYTHON_USEDEP}] + >=dev-python/kombu-1.0.4-r1[${PYTHON_USEDEP}] + >=dev-python/routes-1.12.3-r1[${PYTHON_USEDEP}] + ~dev-python/webob-1.2.3[${PYTHON_USEDEP}] + >=dev-python/greenlet-0.3.1[${PYTHON_USEDEP}] + >=dev-python/pastedeploy-1.5.0-r1[${PYTHON_USEDEP}] + dev-python/paste[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-migrate-0.7.2[${PYTHON_USEDEP}] + dev-python/netaddr[${PYTHON_USEDEP}] + >=dev-python/suds-0.4[${PYTHON_USEDEP}] + dev-python/paramiko[${PYTHON_USEDEP}] + dev-python/pyasn1[${PYTHON_USEDEP}] + >=dev-python/Babel-0.9.6[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}] + dev-python/httplib2[${PYTHON_USEDEP}] + >=dev-python/setuptools-git-0.4[${PYTHON_USEDEP}] + >=dev-python/python-cinderclient-1.0.1[${PYTHON_USEDEP}] + >=dev-python/python-glanceclient-0.5.0[${PYTHON_USEDEP}] + =dev-python/python-neutronclient-2.2.0[${PYTHON_USEDEP}] + <=dev-python/python-neutronclient-3.0.0[${PYTHON_USEDEP}] + >=dev-python/python-keystoneclient-0.2.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-0.7[${PYTHON_USEDEP}] + =dev-python/oslo-config-1.1.0[${PYTHON_USEDEP}] + virtual/python-argparse[${PYTHON_USEDEP}]" + +PATCHES=( + "${FILESDIR}/2013.1.3-CVE-2013-4261.patch" + "${FILESDIR}/2013.1.3-CVE-2013-4278.patch" +) + +pkg_setup() { + enewgroup nova + enewuser nova -1 -1 /var/lib/nova nova +} + +python_install() { + distutils-r1_python_install + newconfd "${FILESDIR}/nova-confd" "nova" + newinitd "${FILESDIR}/nova-initd" "nova" + use api && dosym /etc/init.d/nova /etc/init.d/nova-api + use cert && dosym /etc/init.d/nova /etc/init.d/nova-cert + use compute && dosym /etc/init.d/nova /etc/init.d/nova-compute + use conductor && dosym /etc/init.d/nova /etc/init.d/nova-conductor + use consoleauth && dosym /etc/init.d/nova /etc/init.d/nova-consoleauth + use network && dosym /etc/init.d/nova /etc/init.d/nova-network + use novncproxy &&dosym /etc/init.d/nova /etc/init.d/nova-nonvncproxy + use scheduler && dosym /etc/init.d/nova /etc/init.d/nova-scheduler + use spicehtml5proxy && dosym /etc/init.d/nova /etc/init.d/nova-spicehtml5proxy + use xvpvncproxy && dosym /etc/init.d/nova /etc/init.d/nova-xvpncproxy + + diropts -m 0750 + dodir /var/run/nova /var/log/nova /var/lock/nova + fowners nova:nova /var/log/nova /var/lock/nova /var/run/nova + + diropts -m 0755 + dodir /var/lib/nova/instances + fowners nova:nova /var/lib/nova/instances + + keepdir /etc/nova + insinto /etc/nova + newins "etc/nova/nova.conf.sample" "nova.conf" + doins "etc/nova/api-paste.ini" + doins "etc/nova/logging_sample.conf" + doins "etc/nova/policy.json" + doins "etc/nova/rootwrap.conf" + insinto /etc/nova/rootwrap.d + doins "etc/nova/rootwrap.d/api-metadata.filters" + doins "etc/nova/rootwrap.d/compute.filters" + doins "etc/nova/rootwrap.d/network.filters" + + #copy migration conf file (not coppied on install via setup.py script) + insinto /usr/$(get_libdir)/python2.7/site-packages/nova/db/sqlalchemy/migrate_repo/ + doins "nova/db/sqlalchemy/migrate_repo/migrate.cfg" + + #copy the CA cert dir (not coppied on install via setup.py script) + cp -R "${S}/nova/CA" "${D}/usr/$(get_libdir)/python2.7/site-packages/nova/" || die "isntalling CA files failed" + + #add sudoers definitions for user nova + insinto /etc/sudoers.d/ + doins "${FILESDIR}/nova-sudoers" +} diff --git a/sys-cluster/nova/nova-2013.1.9999.ebuild b/sys-cluster/nova/nova-2013.1.9999.ebuild index 88a35e4100fa..1aa2da16b064 100644 --- a/sys-cluster/nova/nova-2013.1.9999.ebuild +++ b/sys-cluster/nova/nova-2013.1.9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/nova-2013.1.9999.ebuild,v 1.7 2013/09/12 06:18:01 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/nova-2013.1.9999.ebuild,v 1.8 2013/09/26 00:15:33 prometheanfire Exp $ EAPI=5 PYTHON_COMPAT=( python2_7 ) @@ -32,6 +32,7 @@ RDEPEND=">=dev-python/amqplib-0.6.1[${PYTHON_USEDEP}] postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}] =dev-python/lxml-2.3[${PYTHON_USEDEP}] >=dev-python/eventlet-0.9.17[${PYTHON_USEDEP}] >=dev-python/kombu-1.0.4-r1[${PYTHON_USEDEP}] >=dev-python/routes-1.12.3-r1[${PYTHON_USEDEP}] @@ -82,8 +83,13 @@ python_install() { use spicehtml5proxy && dosym /etc/init.d/nova /etc/init.d/nova-spicehtml5proxy use xvpvncproxy && dosym /etc/init.d/nova /etc/init.d/nova-xvpncproxy - dodir /var/log/nova - fowners nova:nova /var/log/nova + diropts -m 0750 + dodir /var/run/nova /var/log/nova /var/lock/nova + fowners nova:nova /var/log/nova /var/lock/nova /var/run/nova + + diropts -m 0755 + dodir /var/lib/nova/instances + fowners nova:nova /var/lib/nova/instances keepdir /etc/nova insinto /etc/nova diff --git a/sys-cluster/nova/nova-9999.ebuild b/sys-cluster/nova/nova-9999.ebuild index 7bffb5f96bbf..8ae9b6dd7845 100644 --- a/sys-cluster/nova/nova-9999.ebuild +++ b/sys-cluster/nova/nova-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/nova-9999.ebuild,v 1.8 2013/09/12 06:18:01 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/nova-9999.ebuild,v 1.9 2013/09/26 00:15:33 prometheanfire Exp $ EAPI=5 PYTHON_COMPAT=( python2_7 ) @@ -89,8 +89,13 @@ python_install() { use spicehtml5proxy && dosym /etc/init.d/nova /etc/init.d/nova-spicehtml5proxy use xvpvncproxy && dosym /etc/init.d/nova /etc/init.d/nova-xvpncproxy - dodir /var/log/nova - fowners nova:nova /var/log/nova + diropts -m 0750 + dodir /var/run/nova /var/log/nova /var/lock/nova + fowners nova:nova /var/log/nova /var/lock/nova /var/run/nova + + diropts -m 0755 + dodir /var/lib/nova/instances + fowners nova:nova /var/lib/nova/instances keepdir /etc/nova insinto /etc/nova -- cgit v1.2.3-65-gdbad