diff options
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/nova/ChangeLog | 11 | ||||
-rw-r--r-- | sys-cluster/nova/Manifest | 41 | ||||
-rw-r--r-- | sys-cluster/nova/files/nova-confd | 4 | ||||
-rw-r--r-- | sys-cluster/nova/files/nova-initd | 63 | ||||
-rw-r--r-- | sys-cluster/nova/files/nova-sudoers | 3 | ||||
-rw-r--r-- | sys-cluster/nova/metadata.xml | 12 | ||||
-rw-r--r-- | sys-cluster/nova/nova-2012.2.4-r5.ebuild (renamed from sys-cluster/nova/nova-2012.2.4-r4.ebuild) | 51 | ||||
-rw-r--r-- | sys-cluster/nova/nova-2013.1.3-r2.ebuild (renamed from sys-cluster/nova/nova-2013.1.3.ebuild) | 47 | ||||
-rw-r--r-- | sys-cluster/nova/nova-2013.1.9999.ebuild | 53 | ||||
-rw-r--r-- | sys-cluster/nova/nova-9999.ebuild | 70 |
10 files changed, 278 insertions, 77 deletions
diff --git a/sys-cluster/nova/ChangeLog b/sys-cluster/nova/ChangeLog index dcebe2f65c92..bcde2e06db55 100644 --- a/sys-cluster/nova/ChangeLog +++ b/sys-cluster/nova/ChangeLog @@ -1,6 +1,15 @@ # 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.22 2013/08/22 04:55:51 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/ChangeLog,v 1.23 2013/09/05 20:57:34 prometheanfire Exp $ + +*nova-2012.2.4-r5 (05 Sep 2013) +*nova-2013.1.3-r2 (05 Sep 2013) + + 05 Sep 2013; Matthew Thode <prometheanfire@gentoo.org> +files/nova-confd, + +files/nova-initd, +files/nova-sudoers, +nova-2012.2.4-r5.ebuild, + +nova-2013.1.3-r2.ebuild, -nova-2012.2.4-r4.ebuild, -nova-2013.1.3.ebuild, + metadata.xml, nova-2013.1.9999.ebuild, nova-9999.ebuild: + updatign deps, some havana stuff, some init stuff, fixing bugs 483384 482698 22 Aug 2013; Matthew Thode <prometheanfire@gentoo.org> nova-2012.2.4-r4.ebuild, nova-2013.1.3.ebuild, nova-2013.1.9999.ebuild: diff --git a/sys-cluster/nova/Manifest b/sys-cluster/nova/Manifest index a6bd397d29c9..d82e64ca6964 100644 --- a/sys-cluster/nova/Manifest +++ b/sys-cluster/nova/Manifest @@ -3,31 +3,34 @@ Hash: SHA256 AUX 2012.2.4-CVE-2013-2256.patch 14502 SHA256 752d430cfda003c42877c16638b8eefbfd1632ca9845e229d40aa0811e203d6f SHA512 51091d2cb4d352ed6f996ee7b261361d6eac51bc9a69c33f9e0c03810fb2da607173331275494517e8bb12c9ba14aaad448b80826ea8f7be0db880e9b1f9d4ec WHIRLPOOL 287ab4cddc376101b0d70c789de635efa18da847e104a7953ff0cafd4bf5f12394abdac457d376d3d0cd7f7ba8d06e2435151d17869db27381f0940f1e5ae937 AUX 2012.2.4-CVE-2013-4185.patch 4519 SHA256 f2665d38ffc294a53a41f2ca4a83768ed406da5679212919a311648dc1b53b1e SHA512 8a4fd266524a1d297079637e35cacf219b03533bdea5d3279152b898dc473d75c6be91311d21a27f58179246b6337a61de79477655d29ce2319556bf52fbbbc2 WHIRLPOOL ad97c81fe752edcf205b41db1dbb1173b66cc81583134da5a56a7966dcb48dfbe450a869d953946a5be979f915e8ca288b890df0176a3e393ff8ad0fd55147c0 +AUX nova-confd 101 SHA256 d9013141618d1e8b8ba85297155747d9c8fc362238de7bba3108b9a2539c8c73 SHA512 4c7ec1d123f2cdaf394d1f4824df861bbe309b0b329db44080160d81746cd0fc9d4cc1b35da0f66ab075f1d4e835ababfb7bccaf4a2e931e60f2c0ac572a552e WHIRLPOOL 6a237357a3905d29a96b32c37f6d189e4f5cefc0986bb091e24a79295191332143741c604c2a9fd44484c75b3be89742a5570862cf0cd4ba225425f7f32b5348 AUX nova-folsom-4-CVE-2013-2030.patch 1303 SHA256 55ee950de12d27420762b99514a56075bcaf866eb4352dfc038a56eaa2f458f9 SHA512 1dade2e76f559fed97be0259ab1bf16404ee86fcd2039f1e4df78ecf0ddc9cd2ccd8cbb557f4194bc949bc2d9634abef4939f1fbd564ee73def997ce759f6dc3 WHIRLPOOL 45cef89069302b3d73da205600201620115364a5e4d9dc7c850073aed03baff3a731126308ab2ba75d16677d7e32cd17d780640aa8571a753bf797ae664924d1 AUX nova-folsom-4-CVE-2013-2096.patch 4545 SHA256 b7203f3d380b3d545259060872933e38d40a53b1e9081ab8b93f623fb2a30115 SHA512 f97c4330f4cd8433b150390f22194e86fccf50ecd9300f1b3692e07e3a8b53ee4ec844f191ea28a75298535c66f11aed77c6cb8fb8624b382a793d05e683bc68 WHIRLPOOL 4460bf65d8bffe03f8a4518a99f81f86f6c2f11ce8c6d1ce6ff03ce836da247dc6c8bed73e875a3b47427970291a10d6f34be5b056c4c7fef505ca2bab0b18ed AUX nova-grizzly-1-CVE-2013-2096.patch 4019 SHA256 d20b89067fb63f4d37ebc5c258841c3d18bd9e4e59c455f247f8df1a25973be6 SHA512 e4b80eaf8260765534d1a69c1c3883c794e611ac17acf299443b519c09503f0f063bc2ea1b090e1519e30ef3afa84253ce0e2603a764001556e52c6b09bfc814 WHIRLPOOL 44215c9e48d06976ba372421b5de29083a72172f1f02a84649eecd1dff675ecbdde9be69851ca10fe194346ad750e900c1dafa0ea4be8799c4bf055126bd18e7 +AUX nova-initd 1496 SHA256 5b5f928335ac345103492555c3bc57407f547915b099762d0087aef172e5edf8 SHA512 cca06baba484d505f3a96643d836204a08e9dde50197531cdab2d95188b992a95a375a386b9c54fcc8e0a4f6167babba975db7510db1087f044afa39effe4eec WHIRLPOOL 4c667a5cc469826063a65879c1beddc98371edf295a273c9b8f679627cabfe2260d8b3bbdf9550d3894fc1525d63b9f98d6e939406f90ac5f2f745daa59311c2 +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-r4.ebuild 2762 SHA256 9ec14b819b78d8c3848cefbfa2aaf5d0c58eed9805bab9bf2ebf9ea2bec523aa SHA512 2ad3de9fb6bf85728c0271358ca3ccf3e33f67660ff62d14d082873de7932b372eb803394ef93a8c9f5f1e5703529fa802369878b7dd2019c2d2d42d33556eae WHIRLPOOL b003741acbdb009cce5ad5d4c0c268766eec361da187bb88eacae01678b72cd620334d64627f2cc2c31e75e7ef6dd2648673bf0edd5a40db2167e0d72611527c -EBUILD nova-2013.1.3.ebuild 2973 SHA256 b9d1540049f2d7ce39347063da58d9fef43baf3d6193571ac9f42231cfcce2bb SHA512 76ae944189ec7b6550bcca43e65ee3cc56b323a36ebfbb747549e306a816b17357b70b33804330822c375112288a8588c3ca4573469ce2bf2e21fdd1ad4a9336 WHIRLPOOL ec73aed8a2b0c8e203932cde5c96d2d52079d775f648b7011d3997f3d9278cc3ce7c55dd35cae2db39e175fd7f1673a21d0b11afd3bb1845e7b92cbe0caee6a2 -EBUILD nova-2013.1.9999.ebuild 3040 SHA256 25c86046532cb36e0e7bcf98c37d15e0898d3d1f2705ce94f9dd55ede0734483 SHA512 c65728f3099b45b44d0485173963c08e7c07da625639c3fa4d09bf5f7d72800dd9d3414e9ba59ea2c55727a44a84a6f2ad9a8ac762d43b11b529e596eba17779 WHIRLPOOL 7bab298b5ab9d3c3f8f27d59ea9e0c446bf8edd229d9c6374847cf2ec6b56c3c47d130100ba535656807f45cfb2ca7f7bf1805c80dfcc05d64b25229800d9349 -EBUILD nova-9999.ebuild 3025 SHA256 fdff763ec40da91df1ce97f19db42f6544bed40f07ec0eb3211c187e27609f64 SHA512 18a84ae65e5ef2fa3ad241604e21ba18be4c08693e74af4323e75011c0d0c0c4538101e4c047be655a83c2fc87c73d653730be756ca1dab32d9661379b972036 WHIRLPOOL 9e543a299d501b637c4169f8bfc5bbde8ee6655ca0fc4495f4a73d77a4675503669ff1cd5f4d2bff70def607e0c19c99793c844c619bee4cb0e2287a7dba181d -MISC ChangeLog 4914 SHA256 93049e743f1eb4cc3def72bd7c7b8780b95474a1f64a944547f73827de49c2d8 SHA512 e30f65285b2283ef0e115dda0229053dcaf56af4316732e285a9e1c2665a3100f963214e2ff9f0c6913994491cf38ab5dec6b6f7802977ece155f86a795a047d WHIRLPOOL 45a580565978ca55945a120e5e0996d60d16240c59920ed98da1058cfa0fe033a2cd7d10e31c9b0f64eca1653a2197245b14f644133caa0b988dfd198dfc0cde -MISC metadata.xml 407 SHA256 87ac581ad3af018ee16b2c5a8dbc98553ad93fc48bf5cfd62a6f929353049e77 SHA512 4ae00a6fc5411c1795249864317143787b31cb068fb1508f8a1455fd6194254961cca80256e0b437dc131560126cdf5a59d98a5a5064ac49c6e43c1651718a4a WHIRLPOOL 52b178c072593baea26fa3d7e9c06aac003d1a828ffa98de712306f60eeddba92271bc6061d7224a76ac35fa3c1da33213983e998160acf92a6d7027b284bcc0 +EBUILD nova-2012.2.4-r5.ebuild 3937 SHA256 2441b81a102e70eb77a2652c0abe07d4b8b53bc3f596d9f8917bb2c783f49190 SHA512 f30455f63f57fb5c299091ac470b9e6fd3fd1471ff2bba9c57c54b80f3533830ab44a159c4f23ce9cd8cb0ab05abb19ce6b10ac5264236a49b17686d1ec4003f WHIRLPOOL 1b9be56130b1022d7544f68b71424b9052490151ca75935ea4ce27a07b2ecd335304e36d574f70acaec6686328fb6142fff1dba9e9e6732021fb2faf71c1928f +EBUILD nova-2013.1.3-r2.ebuild 4151 SHA256 d66a9acbc330310580ddcc87af0dddd896fe97648cebb0d10cf4bc0e24bb1b6e SHA512 720474ca64633ae3e6273192bf5a2253e6e81221b9797be7258eedbaa04978a7dd96fb772b25b7fef7e30d7e006883d62d3a5f1b9c01f64677a7b0792e240e49 WHIRLPOOL 4fb349d6f863567b93854c673321d189139fa9654e30334a4e5a38740c6025a908e5d1da5c888f2dbfd21b359d9ffa337c153e9b42ccaf5b86254edaad3196c0 +EBUILD nova-2013.1.9999.ebuild 4105 SHA256 3706283923a0bfa70640913b34fd99eaee7e95f15cac434db77276d50ae3409c SHA512 1f82482860c8531b92e018b558fed860ac6de36e98c0bb644b0cb10fa5d2623a3cebb2a850dccdee3cb8e787d04e3fee42c31fd700ea2eea2dae4bd8f5a1fa56 WHIRLPOOL 37044d2a5b1d8af13050ebd7fed6c7bc53719a2b88e154c07fc92cd09ab9f07749db235d0555bb776df084db422f0cec40e542b988a52b5b13a13643165b0e92 +EBUILD nova-9999.ebuild 4417 SHA256 1c945e749b4022a5db0bc34ab45c59f2a9d68159958eb5a0fd0090e8d2f48ba7 SHA512 5add2d0e905b41bc4c5a16681d96d0c4b026daf55c58432a4468a39528ecccd8205d3ab38a5cc39aec0637277cd4aaa71ef5db79bd20fed043ea6c368a796e16 WHIRLPOOL b3dd9c3f2f76f63a8afaea61b6c9cf34095d88bd8f7a82b1c352878f1d9ce371763e9d44387784b1df4abb1c675320a09590e7cf7b1c5cfe410cd9ccb61f011e +MISC ChangeLog 5339 SHA256 8111be5cfa9755fa2328a509283723959d4e53699b2992d98f89f28c8118728f SHA512 dc77f32e934862f681e815207b1194c4c84b0bc64de9bd4934095e2f0d4d104a7142e0deea837ec2c9d8273be6d85cd08c1dfa6bf2dc3bd2870fb46e2d5e0727 WHIRLPOOL 1561df34f0fbcd7f766eb83dd0488cd4139d7b8a14c1fd0d24f6697be6dbf5ad0ced831804f6e49548b64fead221c2c662b3408a47a7c841caff038ddf88962f +MISC metadata.xml 1320 SHA256 62fa65c1ae4717c2cd0340eef975d759710ed33d467c0603a48f23530d1dbdc3 SHA512 028077c33e7788e7825edd29d2506e6580df33d7b471fc7bdc1bf6cce4d01d3a4f1f9bbdbe3f62a9cb19929681dc0d23b6f56e597e2d9eee4140a21c4619e7ec WHIRLPOOL e5be2b277c7ac69fa8bb1696725b67eae3873de8a1d12c7fcf677cae757ff2321b9d2f1170e4cf7f520a58a8e16ca5d439c2d8127dc4178074f26c6883d0e3fd -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) -iQIcBAEBCAAGBQJSFZodAAoJECRx6z5ArFrDulUP/1sL5axCYPZQlv1xwJn4AWzU -G0Ig1pABfsep214JClj7qINg46g+EB6r5mMQyidSewJJab09zY9/JPYnAYmK3omd -Ts8fkq/M3U+B1oYYy2aSTE0g7/zCwcivU3/u2ebizZ0CEXZ/vzdD5GqE0ivgncDi -yI0ghFebSgINYDK+hn+f/S72lbEgilph8E5wL+IQd6bX58s7s5J/dFcTRDOPpq0U -vc518ZgK3EQJmlG0bXCN1VIbktTQoCvkR7Fqp92Uc1gp/hCHwbDewExU180+TbHR -ZPSVkr/UdvBfVLDQ1vXRHzGJHZb7RAM6UCPcQ1N+oZX3QLKLkYQqLBsJWCSrZshF -hNJqi3S/lI+kerITs58TufnyfV/kStZ5s2ZFL6cYbOJEJXTWBaMp36VrFEhrg0jD -N4jkgIiiw2YmRbCORVBRPYXmrgpXnw2NRCXokSSN1zQlNRsrrHbzjQoMkz0Ub9f+ -QMUv48nyVdRdVQOjVBSS6bLEUc41f6RtsKSyRv+etkCmd5dK9nGEXQEQgZpU4paA -30UavaYX+A0d9s/u9KuBuHlqz3xg1w6lzUnrgt0fuuL4iJQFN3LNFUEwq/QPkFvW -pKATb7bm9ETzx9cgIWnI1KOiOuDzMTukohblF8JddA5ZmTHoeiqWqlQr8f/1Li3T -vwQVnksAHu/LYpf3I3tx -=nk9X +iQIcBAEBCAAGBQJSKPCfAAoJECRx6z5ArFrDXI4P/2cwkUcP7niPa7IS6vtaD1jc +kg1abc9/gZpuFGpbnYwg2O6XABfkItaMVuclXoHjX2DBXXTmA6kDxdb1KjQLSaD8 +V12bClfi7ycA6sqDL0kEuRRSNsx561H7apGWFXxNMII3gWXEtYx4t9VFkVHbmh+1 +SRF7oLcV+4zUqyvUFVm0XHiGMpsISSV+o7faaOmuelgrUKex4Fv6yXZUJ55vyi32 +iPRy6uyFj/VXRkR2wjjmeC0dcEEGiMexjBBXhF4XQ5PIbf22ZI1hONWD2nTKDd0y +wyztF7aFJEC0FcnRvfaFy0rHHqXe0ZGJSVViY9LVi69fKtqqW0QKon3QvX17JMcX +/xsceVlENfBdX7aXGe+OJx9sy4tKdSZUNDMZBXWkhOm5Lw8LwYN+42+6ibBmhhkM +BU1KE9vkPcNqzXNt/YDdA8ICCFblyE1sZfiRRRDBnwzRRHq514+BXWjUlQlNMZME ++0im1RPY7rsnlkh8JpWgwrlXr8nwJ4zgs9RyWNi3pc7Xaf6Bj6Jz6//IuNdEBIWH +iw89hr/mndH717gpDsHvGcqAx+nnpIN/feQYU++h5IIfwFp/u6BbdPY+32c8uYs5 +9LuQ5lepkubd0F+16MoBdVfuWyK7BzcWC7p+ehMrAd20DS+KARSjS30o4AFTZBt0 +j4y3M1nQ6dKiTzH1gA7x +=uNAz -----END PGP SIGNATURE----- diff --git a/sys-cluster/nova/files/nova-confd b/sys-cluster/nova/files/nova-confd new file mode 100644 index 000000000000..e18217ea030f --- /dev/null +++ b/sys-cluster/nova/files/nova-confd @@ -0,0 +1,4 @@ +#Don't touch this unless you know what you are doing +PID_PATH=/run/nova +LOCKDIR_PATH=/var/lock/nova + diff --git a/sys-cluster/nova/files/nova-initd b/sys-cluster/nova/files/nova-initd new file mode 100644 index 000000000000..952e865493b2 --- /dev/null +++ b/sys-cluster/nova/files/nova-initd @@ -0,0 +1,63 @@ +#!/sbin/runscript +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +BASENAME=$(echo $SVCNAME | cut -d '-' -f 1) +SERVERNAME=$(echo $SVCNAME | cut -d '-' -f 2) + +depend() { + need net +} + +checkconfig() { + if [ ! -r /etc/conf.d/$BASENAME ]; then + eerror "No nova conf.d file found: /etc/conf.d/$BASENAME)" + return 1 + fi + return 0 +} + +start() { + checkconfig || return $? + . /etc/conf.d/$BASENAME + + ebegin "Starting ${SVCNAME}" + if [ ! -d ${PID_PATH} ]; then + mkdir ${PID_PATH} + chown nova:root ${PID_PATH} + fi + + if [ ! -d ${LOCKDIR_PATH} ]; then + mkdir ${LOCKDIR_PATH} + chown nova:root ${LOCKDIR_PATH} + fi + + start-stop-daemon --start \ + --quiet \ + --user nova \ + --pidfile "${PID_PATH}/${SVCNAME}.pid" \ + --make-pidfile \ + --background \ + --exec /usr/bin/nova-${SERVERNAME} -- --config-file /etc/nova/nova.conf + + eend $? "Failed to start ${SVCNAME}" +} + +stop() { + checkconfig || return $? + . /etc/conf.d/$BASENAME + + ebegin "Stopping ${SVCNAME}" + + start-stop-daemon --stop \ + --quiet \ + --user nova \ + --pidfile "${PID_PATH}/${SVCNAME}.pid" \ + --exec /usr/bin/nova-${SERVERNAME} -- --config-file /etc/nova/nova.conf + + eend $? "Failed to stop ${SVCNAME}" +} + +#restart() { +# +#} diff --git a/sys-cluster/nova/files/nova-sudoers b/sys-cluster/nova/files/nova-sudoers new file mode 100644 index 000000000000..f15b3285b7d4 --- /dev/null +++ b/sys-cluster/nova/files/nova-sudoers @@ -0,0 +1,3 @@ +Defaults:nova !requiretty + +nova ALL = (root) NOPASSWD: /usr/bin/nova-rootwrap diff --git a/sys-cluster/nova/metadata.xml b/sys-cluster/nova/metadata.xml index d2bf26f9c6f4..e6379ce54911 100644 --- a/sys-cluster/nova/metadata.xml +++ b/sys-cluster/nova/metadata.xml @@ -9,5 +9,17 @@ Nova is a cloud computing fabric controller (the main part of an IaaS system). It is written in Python. </longdescription> + <use> + <flag name="api">Installs the initscripts for the nova api service</flag> + <flag name="cert">Installs the initscripts for the nova scheduler service</flag> + <flag name="compute">Installs the initscripts for the nova volume service</flag> + <flag name="conductor">Installs the initscripts for the nova conductor service</flag> + <flag name="consoleauth">Installs the initscripts for the nova consoleauth service</flag> + <flag name="network">Installs the initscripts for the nova network service</flag> + <flag name="novncproxy">Installs the initscripts for the nova novncproxy service</flag> + <flag name="scheduler">Installs the initscripts for the nova scheduler service</flag> + <flag name="spicehtml5proxy">Installs the initscripts for the nova spicehtml5proxy service</flag> + <flag name="xvpvncproxy">Installs the initscripts for the nova xvpvncproxy service</flag> + </use> </pkgmetadata> diff --git a/sys-cluster/nova/nova-2012.2.4-r4.ebuild b/sys-cluster/nova/nova-2012.2.4-r5.ebuild index c6b90d561441..e721292c604b 100644 --- a/sys-cluster/nova/nova-2012.2.4-r4.ebuild +++ b/sys-cluster/nova/nova-2012.2.4-r5.ebuild @@ -1,11 +1,11 @@ # 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-r4.ebuild,v 1.3 2013/08/22 04:55:51 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/nova-2012.2.4-r5.ebuild,v 1.1 2013/09/05 20:57:34 prometheanfire Exp $ EAPI=5 PYTHON_COMPAT=( python2_7 ) -inherit distutils-r1 eutils +inherit distutils-r1 eutils multilib DESCRIPTION="Nova is a cloud computing fabric controller (main part of an IaaS system). It is written in Python." @@ -15,24 +15,25 @@ SRC_URI="http://launchpad.net/${PN}/folsom/${PV}/+download/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" +IUSE="+api +cert +compute +conductor +consoleauth +network +novncproxy +scheduler +spicehtml5proxy +xvpvncproxy" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + app-admin/sudo" -RDEPEND="=dev-python/amqplib-0.6.1 +RDEPEND="~dev-python/amqplib-0.6.1[${PYTHON_USEDEP}] >=dev-python/anyjson-0.2.4[${PYTHON_USEDEP}] >=dev-python/sqlalchemy-0.7.8 <=dev-python/sqlalchemy-0.7.9 =dev-python/boto-2.1.1[${PYTHON_USEDEP}] - >=dev-python/eventlet-0.9.17 - =dev-python/kombu-1.0.4-r1[${PYTHON_USEDEP}] - =dev-python/routes-1.12.3-r1[${PYTHON_USEDEP}] - =dev-python/webob-1.0.8-r1[${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-r1[${PYTHON_USEDEP}] + ~dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] dev-python/paste[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-migrate-0.7.2 - dev-python/netaddr + >=dev-python/sqlalchemy-migrate-0.7.2[${PYTHON_USEDEP}] + dev-python/netaddr[${PYTHON_USEDEP}] =dev-python/suds-0.4 dev-python/paramiko[${PYTHON_USEDEP}] >=dev-python/Babel-0.9.6[${PYTHON_USEDEP}] @@ -50,11 +51,31 @@ PATCHES=( "${FILESDIR}/2012.2.4-CVE-2013-4185.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" @@ -72,4 +93,8 @@ python_install() { #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.ebuild b/sys-cluster/nova/nova-2013.1.3-r2.ebuild index 4705be447ab8..1edf078fe4be 100644 --- a/sys-cluster/nova/nova-2013.1.3.ebuild +++ b/sys-cluster/nova/nova-2013.1.3-r2.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.3.ebuild,v 1.3 2013/08/22 04:55:51 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/nova-2013.1.3-r2.ebuild,v 1.1 2013/09/05 20:57:34 prometheanfire Exp $ EAPI=5 PYTHON_COMPAT=( python2_7 ) @@ -15,25 +15,26 @@ SRC_URI="http://launchpad.net/${PN}/grizzly/${PV}/+download/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" +IUSE="+api +cert +compute +conductor +consoleauth +network +novncproxy +scheduler +spicehtml5proxy +xvpvncproxy" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +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 + >=dev-python/cheetah-2.4.4[${PYTHON_USEDEP}] >=dev-python/sqlalchemy-0.7.8 <=dev-python/sqlalchemy-0.7.99 dev-python/boto[${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-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 - dev-python/netaddr + >=dev-python/sqlalchemy-migrate-0.7.2[${PYTHON_USEDEP}] + dev-python/netaddr[${PYTHON_USEDEP}] >=dev-python/suds-0.4 dev-python/paramiko[${PYTHON_USEDEP}] dev-python/pyasn1[${PYTHON_USEDEP}] @@ -44,10 +45,10 @@ RDEPEND=">=dev-python/amqplib-0.6.1[${PYTHON_USEDEP}] >=dev-python/python-cinderclient-1.0.1[${PYTHON_USEDEP}] >=dev-python/python-glanceclient-0.5.0[${PYTHON_USEDEP}] <dev-python/python-glanceclient-2[${PYTHON_USEDEP}] - >=dev-python/python-quantumclient-2.2.0[${PYTHON_USEDEP}] - <=dev-python/python-quantumclient-3.0.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 + >=dev-python/stevedore-0.7[${PYTHON_USEDEP}] <dev-python/websockify-0.4[${PYTHON_USEDEP}] >=dev-python/oslo-config-1.1.0[${PYTHON_USEDEP}] virtual/python-argparse[${PYTHON_USEDEP}]" @@ -56,11 +57,31 @@ PATCHES=( ) # "${FILESDIR}/nova-grizzly-1-CVE-2013-2096.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" @@ -77,4 +98,8 @@ python_install() { #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 c2ce3e27c966..9b82fc5b437d 100644 --- a/sys-cluster/nova/nova-2013.1.9999.ebuild +++ b/sys-cluster/nova/nova-2013.1.9999.ebuild @@ -1,11 +1,11 @@ # 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.4 2013/08/22 04:55:51 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/nova-2013.1.9999.ebuild,v 1.5 2013/09/05 20:57:34 prometheanfire Exp $ EAPI=5 PYTHON_COMPAT=( python2_7 ) -inherit distutils-r1 eutils git-2 +inherit distutils-r1 eutils git-2 multilib DESCRIPTION="Nova is a cloud computing fabric controller (main part of an IaaS system). It is written in Python." @@ -16,25 +16,26 @@ EGIT_BRANCH="stable/grizzly" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="" -IUSE="" +IUSE="+api +cert +compute +conductor +consoleauth +network +novncproxy +scheduler +spicehtml5proxy +xvpvncproxy" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +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 + >=dev-python/cheetah-2.4.4[${PYTHON_USEDEP}] >=dev-python/sqlalchemy-0.7.8 <=dev-python/sqlalchemy-0.7.99 dev-python/boto[${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-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 - dev-python/netaddr + >=dev-python/sqlalchemy-migrate-0.7.2[${PYTHON_USEDEP}] + dev-python/netaddr[${PYTHON_USEDEP}] >=dev-python/suds-0.4 dev-python/paramiko[${PYTHON_USEDEP}] dev-python/pyasn1[${PYTHON_USEDEP}] @@ -45,10 +46,10 @@ RDEPEND=">=dev-python/amqplib-0.6.1[${PYTHON_USEDEP}] >=dev-python/python-cinderclient-1.0.1[${PYTHON_USEDEP}] >=dev-python/python-glanceclient-0.5.0[${PYTHON_USEDEP}] <dev-python/python-glanceclient-2[${PYTHON_USEDEP}] - >=dev-python/python-quantumclient-2.2.0[${PYTHON_USEDEP}] - <=dev-python/python-quantumclient-3.0.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 + >=dev-python/stevedore-0.7[${PYTHON_USEDEP}] <dev-python/websockify-0.4[${PYTHON_USEDEP}] >=dev-python/oslo-config-1.1.0[${PYTHON_USEDEP}] virtual/python-argparse[${PYTHON_USEDEP}]" @@ -56,11 +57,31 @@ RDEPEND=">=dev-python/amqplib-0.6.1[${PYTHON_USEDEP}] PATCHES=( ) +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" @@ -70,11 +91,15 @@ python_install() { 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/baremetal-compute-ipmi.filters" - doins "etc/nova/rootwrap.d/baremetal-deploy-helper.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-9999.ebuild b/sys-cluster/nova/nova-9999.ebuild index ea0963e4cd6c..c201776d8152 100644 --- a/sys-cluster/nova/nova-9999.ebuild +++ b/sys-cluster/nova/nova-9999.ebuild @@ -1,66 +1,94 @@ # 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.5 2013/08/20 16:33:00 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/nova/nova-9999.ebuild,v 1.6 2013/09/05 20:57:34 prometheanfire Exp $ EAPI=5 PYTHON_COMPAT=( python2_7 ) -inherit distutils-r1 eutils git-2 +inherit distutils-r1 eutils git-2 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" EGIT_REPO_URI="https://github.com/openstack/nova.git" -EGIT_BRANCH="master" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="" -IUSE="" +IUSE="+api +cert +compute +conductor +consoleauth +network +novncproxy +scheduler +spicehtml5proxy +xvpvncproxy" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +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 >=dev-python/sqlalchemy-0.7.8 <=dev-python/sqlalchemy-0.7.99 dev-python/boto[${PYTHON_USEDEP}] + >=dev-python/d2to1-0.2.10[${PYTHON_USEDEP}] + <dev-python/d2to1-0.3[${PYTHON_USEDEP}] >=dev-python/eventlet-0.9.17[${PYTHON_USEDEP}] + >=dev-python/jinja-2.0[${PYTHON_USEDEP}] + <dev-python/jinja-3[${PYTHON_USEDEP}] + >=dev-python/jsonschema-1.3.0[${PYTHON_USEDEP}] + !~dev-python/jsonschema-1.4.0[${PYTHON_USEDEP}] >=dev-python/kombu-1.0.4-r1[${PYTHON_USEDEP}] + >=dev-python/lxml-2.3[${PYTHON_USEDEP}] + >=dev-python/pbr-0.5.16[${PYTHON_USEDEP}] + <dev-python/pbr-0.6[${PYTHON_USEDEP}] >=dev-python/routes-1.12.3-r1[${PYTHON_USEDEP}] - =dev-python/webob-1.2.3-r1[${PYTHON_USEDEP}] + dev-python/six[${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 - dev-python/netaddr + >=dev-python/sqlalchemy-migrate-0.7.2[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.6[${PYTHON_USEDEP}] >=dev-python/suds-0.4 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-glanceclient-2[${PYTHON_USEDEP}] - >=dev-python/python-neutronclient-2.2.0[${PYTHON_USEDEP}] + >=dev-python/python-glanceclient-0.9.0[${PYTHON_USEDEP}] + >=dev-python/python-neutronclient-2.3.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 - <dev-python/websockify-0.4[${PYTHON_USEDEP}] + >=dev-python/stevedore-0.10[${PYTHON_USEDEP}] + >=dev-python/websockify-0.5.1[${PYTHON_USEDEP}] + <dev-python/websockify-0.6[${PYTHON_USEDEP}] >=dev-python/oslo-config-1.1.0[${PYTHON_USEDEP}] virtual/python-argparse[${PYTHON_USEDEP}]" +#oslo.config-1.2 is required but not released yet PATCHES=( ) +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" @@ -70,11 +98,15 @@ python_install() { 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/baremetal-compute-ipmi.filters" - doins "etc/nova/rootwrap.d/baremetal-deploy-helper.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" } |