diff options
Diffstat (limited to 'app-emulation')
23 files changed, 291 insertions, 752 deletions
diff --git a/app-emulation/Manifest.gz b/app-emulation/Manifest.gz Binary files differindex 626aaccb34f0..1586abe1ed0f 100644 --- a/app-emulation/Manifest.gz +++ b/app-emulation/Manifest.gz diff --git a/app-emulation/cloud-init/Manifest b/app-emulation/cloud-init/Manifest index 03ea1fc0ae94..550a0ce119f1 100644 --- a/app-emulation/cloud-init/Manifest +++ b/app-emulation/cloud-init/Manifest @@ -1,25 +1,15 @@ -AUX cloud-init-0.7.6-gentoo.patch 2569 BLAKE2B 661f547ddcfa1592e76871c4171da972cfd196fbf30aac74a7725f39753e22f018bb39ad5247006265c6cc93c02dc3df29dd29ecdbaa720f2e77efcb57838d42 SHA512 5de2fe7632162bd5b527bda21a6f8c96122bdb2a9cb4ae40e8d73e48a303b56ae479a06985b8c1807829f53dd859e59d053b3613d6e2e446e5506b310d5e2eb5 -AUX cloud-init-0.7.6_p1212-gentoo.patch 1521 BLAKE2B 8b71c4a17eb6c20f9cd3a5f20a42da0d4f06533755abc6a94cde2219de03487980bfbf7e3bf50f096fb3a7a9db6c4b8dfbfef143b7cf37932779ff0fffccc58e SHA512 e364bc88b8a41dc109d0e44ac7045d2de9312bbc27afa0668cfc31f6cdc60456ca39b08e23669eb36da8dc71e72e8360a113179f1524ab0646665749e7a9cd5e -AUX cloud-init-0.7.7-gentooinit.patch 2066 BLAKE2B d21f669bcd7738c9fd882a8395d03f63ffbf81733576b6e7171e448c9a5a35f8004310447135c35a8fe72f84de2d84833fed8f354bbe9e699d0bb1337a7734d8 SHA512 2846c04f65d37f8dd981c5feb445ebb3ba1c437ac4e7fae12557a49cc12bc369e0e46acf3977a8fc2890f3675480a47f504b6a69b79e61307f6c82f17bf00c47 -AUX cloud-init-0.7.8-gentooinit.patch 1111 BLAKE2B 1c560115f2718187738808a16ca2625aa161231917c57ff5275e423515f1038d58c1e82ec500dad489cb747c46d7d88a0bc208d23ba77cc7d4b2899b9c8afc57 SHA512 2a7e81b327853c8052c7eeb039d8166414d302e3558fa1a5147c2614f6f14d85419a70d10e8e526c3611b72273b5cae8027bb250f1a0f743924b89fd350aa130 AUX cloud-init-0.7.9-tests.patch 468 BLAKE2B d4788b2e9557de53dcb225801d54854b38f97a61d36c6ec92abe1cf02f704406e18d49912184957c78d27d0b55b428571abbd38ef91da34d32e0f9d99b7e364b SHA512 07538a07a494c752b49ca357b448b4ae012ae855751886c4368e95d7a152a65afcc7c243eae428b670ae5f5802fbaeedeebf5a07d3a470bdc74d33c1f5f8ca02 +AUX cloud-init-18.4-fix-packages-module.patch 704 BLAKE2B e5deb163e7d97365befb63bf6978900d250356a3b29972b5c8ec6dd19c202d03cf0a07bbf1e8b437c3ec80b810f5c1af456bd589adfde290636b3fc10028ad36 SHA512 ea28c8d5c9a4ebd0d65dea8dd09e5c9c9973fc3456ff8a4e35b3eb4eb856e5c4809b922ef5d958682fb7429ba23eafd80e0fdee629967b7f838d4127db5e1ac7 +AUX cloud-init-18.4-gentoo-support-upstream-templates.patch 3366 BLAKE2B 949d827237f197f2ac050e5535694fa457cde2497bb7e5b446a666876dabae9c806b79210a87d3c62066ee40b496427276f0c31906b144fb373b7d8ae76e75f8 SHA512 df1add9422913c200f99126ac54ae64d6b38df8177cd3a57897cbe033627576599f7269814bd5d161bf7ab5aef4b2764b8257bb3807384a531908a0277e7ec84 AUX cloud.cfg 1815 BLAKE2B df997117fc3e15303171942c2127eb1ae8c333a04c3d8ba7aa6e55b6f0641872e90bc643cb4ac576876c50af09136777507b739b4cc50b5b4094272b5e8bcdb0 SHA512 ff9a978befebdc177000ce50252a89d2b9adf4e2ab92c7c87300c54cebe5ff160fd6619dd56f0432a6ec8a819a4f948aa3e99c06e37dc6650ed41fdce16daeb3 AUX hosts.gentoo.tmpl 920 BLAKE2B 9195167754ff1f09c37c0220a2dbf7c0c098daf8e71edabe944a96cbf66d2b029fbb36fef9efe6ffa7410bb8ee33f71f04a4dc1f7c62811fdd87e5216eb6589a SHA512 39e6bcdf40bd842a1d2e4ccd1c993b432016f7b3c4d5455b71896a16ee87a5d698e214919172f0a7e2f647156f5efe0964fed999dd193e4f16c944efdcc0f9c5 -DIST cloud-init-0.7.6.tar.gz 515670 BLAKE2B edaab1c731d5ac0ce1f0a3a82b1fed9cca54ac555f2704a4bf0bab2627d54d8f090610fa6aed79d0e2f131abff4016fb8ed55c0c0822ca45c602eabc80548ca9 SHA512 aa2397328afda8e77ed6d642e7642f41a4b4b5bcd3d0e87056aa8c88b56624ec65c57cfc66b0d13ccc235f1840baf1d577316974902a0439cf2f2eb0f8eef36d -DIST cloud-init-0.7.6_p1212.tar.gz 451717 BLAKE2B 0b2136e36b78de38a700f9abad0639cfd3f49ca5a0e43aa7673afd0f9aa365a7ebe2b5767b076e481d4eb3521a0e8a04d581d1aa3de5537bbd09bcead867d3ee SHA512 25c5d1cc7c8fa887859624b4f28416d455063c278e3f00bfb3561ab0c99aa708d9fa431ff17c42994aba43eb985538982e5175bf0531857cc18fd8e724ef1fd3 -DIST cloud-init-0.7.7.tar.gz 477287 BLAKE2B eade80cff35e545a619f7d0beafadde145777c5ae581325a4588436ad8becc95a5945c216d8c3c814331099dd4b5cfafe62ee411329f4dce9897ab816ce5ba1f SHA512 06cd2bba67da9668204416073af771145668db43777d6f183dcb54e8e1d9d12471fe3bfc99dfbc03a81814c5614347ff7d6acc5dbe117e1206d7fc2041ae4b62 -DIST cloud-init-0.7.8.tar.gz 508777 BLAKE2B 7b5b3f1b5f28b6a4ba67ef30cbbb32e1a1eb21a373da5491a7157f45553843de68b56e040ec9f07a2ca35a0bbf9fdd5f90d0ef381d2da558422080de3da0299d SHA512 ff6c3837afe702359879f0ae1d7443247b0ed97d60ecf0cbe85fc364dc833e553962aae221f48becb104ad3f951a28cbd742a3b8521ef25dfb8fd19439759447 DIST cloud-init-0.7.9.tar.gz 602188 BLAKE2B c2e2b8538488474cd4674b976f859164f0ab8ed585fc0b59c6e75f23a62fd035b8b76e0700c1e68893fc4a8346b3110ff2b25f13be92ff13eeac0f1ad2405641 SHA512 ee52909f634f51dcf9e1229a8f49faa8c562bf05b69fac108fcc80cb3217f4364a33cf696df015e4dcd7887c68cf6108729850648b4daee07b3d3247ca3cc5b1 DIST cloud-init-17.1.tar.gz 780532 BLAKE2B 10809da2e81d594542d83b2416481c493474cac2e790da25363e631f6dae9edc1e2fd160708121486dd3a2ebd19cfc29d18978cbe7d82eb1aec907762bf7bf0b SHA512 988cae4291c8d6a5bce012b78d651c602c02ad38c3790e9ed9aa7c815ae84c98767718ab9b0d346ddbc9c83cb886d455590128af750183618c0bf0f0c5a79564 DIST cloud-init-17.2.tar.gz 810821 BLAKE2B df1a7c1ed1fc48a7801a53bd89839d963debca6abf7f892d61bf7ec9222ab33bf78221e65d79028e0445cac4c5fe1e0c1620d49aea26c036ee17933d9c1893f5 SHA512 ad1c7f6ca9762b70a1f06a6b538032a7de0c5371fd792260d5959df113f4f51509d184b2207ffa23b41f395c1903d551d66aaf2a2ad60af3594cf1f18d1e4a38 -EBUILD cloud-init-0.7.6-r1.ebuild 2585 BLAKE2B c2f9bd34d430b99f8b78be2c4d2cb8b5ca7613ab71ec02c8e21c4001b35f3c16d637243e93f55a872f7e4ab7b0c990bf78abc36c3a3e822389a191a57e005c2c SHA512 0c82e788cacd91e923ff57c240a3615c20157d2a4ba1fdf7d28eb6f0e9f7c55b64b3ef321dc1f2cadd40e47128d2ef0854f3488fe7aabf5cdcf3f8b326eb6ad8 -EBUILD cloud-init-0.7.6-r2.ebuild 1916 BLAKE2B c4162b4ab96626c481db4d4f96aba3b0d85c18ad25afe510ece533b0aacaab91fe075b9ba36cbec945382d94ec7de964a774f818359a10f45a99dc60863acf8a SHA512 f5457fc4315e0533ab4d68b5a62d79516797b1aa1214539e9b56b1d9d6e3e2f14b069788843b09ae29ca64b70b6d3d8a6fb686f51e86318d90da59a32617f9ca -EBUILD cloud-init-0.7.6_p1212-r1.ebuild 1989 BLAKE2B da729eef70d23a2a0df1bfdb28d74714ced55a097c8dcc2eb0c25d8d6e9acb57651340ca4d8190f100ca5fe0dcb8eee674e7e513bb8b50772383ef12fd23f11c SHA512 4e71e5ff1b4a2ea8bf600d627911f7eb197d5f90f354e553996388bdef13309ceecab732b168e1f4c3bd8d5fa3dfa736a34bc535eedb55ffe6c23a6b1eb873ce -EBUILD cloud-init-0.7.6_p1212.ebuild 1952 BLAKE2B df5190629901c000c7a0aa49b41bd2537b26e65abc7a8830d1e5a8fce9d9367be7bd42613a0af0dcdeeba4a964a3d5d4698c9bc470e7beb79a43136a36481df0 SHA512 4e5064b3cf997f7cbcc3a615f0d1817a37608015c599aa718a60d8e1adcf994422c5fbccbcfe65ad98d93a208364e96382e78f4534e88b8f8e2b936c3c5c25f7 -EBUILD cloud-init-0.7.7.ebuild 2399 BLAKE2B 54d7784a165c51d994259e70367551addbb015be284ad3b109cf6ec4cad961cb581e246d6824eff40e8bf875d405ec377cf1b0ffdada35d5ea4d43a4292dbb4b SHA512 1c171970b6e60cc075b3863dafbb527fe23ad2ff0005303b34dba2d5ccff640ade4cfc0bfe54f97d0dd424b95266624599fd585d8931e92ad78bf5b8dae38bce -EBUILD cloud-init-0.7.8-r2.ebuild 2547 BLAKE2B b508988c338b35cbb4866957fae9a215c53effbdaa5f1c0845e64747296bb5747c3f960bb0f7928e2b26f1d1fb6bb585fab947fe7b2cbdf40e849f2c629c2433 SHA512 972a04cc2c359f7271960820f4212ae1afc13def893b5bd87efe8ed30dd5f03f7219c008c9c7806f918eb7dbe3609e3c0407b7c0d5d5ad66b568abd2361ce2ec +DIST cloud-init-18.4.tar.gz 965112 BLAKE2B 2879aafedea877e4e406a5e837d100ba65e40c62660621f606e7a189af7b1ec8d98ba2c02ae5d253a0b4587502d3a636dec5c2772c968a9037b47e62a05656b4 SHA512 730aca6406f652f55afc2dd50c49eb6708584e0a96715606bcba05cb7f40e47c256faff1f9748f04674a8f941ec9435801c9ed2ac79adec8a6ef167d6b195103 EBUILD cloud-init-0.7.9.ebuild 2542 BLAKE2B 3f13fa11cc65dd9f2cf1bde72541ed07d4b2991fd010437eabbc70fb8180ed71d06d00781a4679ac7ecbb77d912a74dbb56684ca90cbe97001d348efbd2a138f SHA512 11db9733a73ca6ca53189b2f768e08a471a00adb419d96b00d7a64731299aa43fe45f6b4a03e1ebe16ce7d58316b06eb96933a83b99cb19bd6a6b2453278220d EBUILD cloud-init-17.1.ebuild 2014 BLAKE2B 544f5fca45a28b2d1cece53fcbf2397c54cb56e65e0dbb368b78a4f0c08d5d4c84af7436710e4d3e666adf12c6d00f7947bc2de8c7ff5345d158c99a46b4271d SHA512 5dcbc40adbef50088e66e021ca4200293a6f044ed853dc2e1675a68a63d875ce1580d8bda4fe0c74de9738ff09931f3bf56efbad235bed57d81a5c30a9d19cef EBUILD cloud-init-17.2.ebuild 1962 BLAKE2B 253368bf942bbda581e586ba346b56ee9e80b92069c5eb4b6f114d62a5756aa68bd61a87ddf8b46d27ac27e90b8e3f201802d1ed9137846e0c6063bea248ed77 SHA512 aa04144b55af445074987e4c3bdb9a8caefa5c34f6c07f10dbfa980e97036c34379e3c062acf97d29d82c309e0e5257c56ec89cac3e05eb67b5dc0e091eb8ece -EBUILD cloud-init-9999.ebuild 2215 BLAKE2B 58401178bc8dba30a20fabfccaa35668c8c07f9bfdfc6a4d455e9d301ff790b7444b71c6c8de84b07d425e7b67a429356584cd29f85a1a808a78eac3818578a0 SHA512 b1a0ba6b710d9ca4325cfdc5e89be8a039449428b5521bf81121dc0819d6b1d1b2fd0b2b020930e4724742fe6c01a99ed7d6afb6b96fb1ae23a976ee0e0c72c6 -MISC metadata.xml 465 BLAKE2B 5398fc1968cb3b137fbef2e05917db7edc8fa1d9d777906524c2905eeaeefa20176935e2a9e13105c3330a1d7de7cac2f70dd573a3c9c1f190418a77c7c0a572 SHA512 61808e99f90a21f708cd899837396b15ea156519406f7d8f3168b76f85c5b948e31e4d8c8b5a560e8b18859190914466f5b81236ae3de7b52bd253c0bf3c0ad9 +EBUILD cloud-init-18.4.ebuild 2236 BLAKE2B 53e19be1e33724396023936b35967002b4155afe5fdf641bcbe16e0534aacf6336dd05012ad39f940f480f2cbb689f76aba6811e1bf48647b013f0c2a40d765d SHA512 0fa7d553324ccbd700da39ca869ff8663abbb5f1fa4e917e665763d4c9b96fcf681bde945680c4aaa9e021027f4bda9d6783d3149bc6e5635caca8c7268b2565 +EBUILD cloud-init-9999.ebuild 2277 BLAKE2B 167b8cf767c71771e9e7b6bd4d8e521a569a8aa11361d87f63e3d9c214f39ea79808865458249d42921c9c77dab64ceff3fefa918b38cbd59ea74d95b3cb8451 SHA512 c72ebf06b4b4e0e5e8c11a5f08bc048ac64069e1539ec7ab4cf2e3e4e8e4daf7926aa9a071ca27c3d6d9a97948936e2a5c182613eb0783daa3cd76661ce68876 +MISC metadata.xml 583 BLAKE2B 24a5563ff0106a6992b0adb539bc12f34f4ceee97213a71c6b8c15701ff627dc914917dc32510b728a59e8014571ec9d86313b0016710308e317da4b28adbf1e SHA512 1424ff88b0a75fe1037471c4187f3a557f1d180acf7879b52696730b9e789e6bcb2e2d870b68ae0b6d4eab05fa0d11388f2fd9b6a64eb0bfbd54403a88b1f68b diff --git a/app-emulation/cloud-init/cloud-init-0.7.6-r1.ebuild b/app-emulation/cloud-init/cloud-init-0.7.6-r1.ebuild deleted file mode 100644 index 9af4ed7a5fd2..000000000000 --- a/app-emulation/cloud-init/cloud-init-0.7.6-r1.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 eutils multilib systemd - -DESCRIPTION="EC2 initialisation magic" -HOMEPAGE="https://launchpad.net/cloud-init" -SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="test" - -CDEPEND=" - dev-python/cheetah[${PYTHON_USEDEP}] - dev-python/configobj[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/jsonpatch[${PYTHON_USEDEP}] - dev-python/oauth[${PYTHON_USEDEP}] - dev-python/prettytable[${PYTHON_USEDEP}] - dev-python/pyserial[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] -" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - ${CDEPEND} - >=dev-python/httpretty-0.7.1[${PYTHON_USEDEP}] - dev-python/mocker[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - ~dev-python/pep8-1.5.7[${PYTHON_USEDEP}] - dev-python/pyflakes[${PYTHON_USEDEP}] - sys-apps/iproute2 - ) -" -RDEPEND=" - ${CDEPEND} - sys-fs/growpart - virtual/logger -" - -python_prepare_all() { - # Note: Gentoo places ip in /sbin/ not /bin/ - ebegin 'patching cloudinit/sources/DataSourceOpenNebula.py' - sed \ - -e '438s/sbin/bin/' \ - -i cloudinit/sources/DataSourceOpenNebula.py - STATUS=$? - eend ${STATUS} - [[ ${STATUS} -gt 0 ]] && die - - # https://bugs.launchpad.net/cloud-init/+bug/1380424 - ebegin 'patching tests/unittests/test_distros/test_netconfig.py' - sed \ - -e '177s/test_simple_write_freebsd/_&/' \ - -i tests/unittests/test_distros/test_netconfig.py - STATUS=$? - eend ${STATUS} - [[ ${STATUS} -gt 0 ]] && die - - # Note Gentoo installs its own RC files - ebegin 'patching setup.py' - sed \ - -e "144 s/'tests'/'tests.*', &/" \ - -e '163,167 d' \ - -i setup.py - STATUS=$? - eend ${STATUS} - [[ ${STATUS} -gt 0 ]] && die - - distutils-r1_python_prepare_all -} - -python_test() { - emake test -} - -python_install_all() { - keepdir /etc/cloud - - distutils-r1_python_install_all - - doinitd "${S}"/sysvinit/gentoo/cloud-config - doinitd "${S}"/sysvinit/gentoo/cloud-final - doinitd "${S}"/sysvinit/gentoo/cloud-init - doinitd "${S}"/sysvinit/gentoo/cloud-init-local - insinto /etc/cloud/templates - doins "${FILESDIR}/hosts.gentoo.tmpl" - insinto /etc/cloud - doins "${FILESDIR}/cloud.cfg" - - systemd_dounit "${S}"/systemd/cloud-config.service - systemd_dounit "${S}"/systemd/cloud-config.target - systemd_dounit "${S}"/systemd/cloud-final.service - systemd_dounit "${S}"/systemd/cloud-init-local.service - systemd_dounit "${S}"/systemd/cloud-init.service -} diff --git a/app-emulation/cloud-init/cloud-init-0.7.6-r2.ebuild b/app-emulation/cloud-init/cloud-init-0.7.6-r2.ebuild deleted file mode 100644 index f97fbc9cf6dc..000000000000 --- a/app-emulation/cloud-init/cloud-init-0.7.6-r2.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 eutils multilib systemd - -DESCRIPTION="EC2 initialisation magic" -HOMEPAGE="https://launchpad.net/cloud-init" -SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -CDEPEND=" - dev-python/cheetah[${PYTHON_USEDEP}] - dev-python/configobj[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/jsonpatch[${PYTHON_USEDEP}] - dev-python/oauth[${PYTHON_USEDEP}] - dev-python/prettytable[${PYTHON_USEDEP}] - dev-python/pyserial[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] -" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - ${CDEPEND} - >=dev-python/httpretty-0.7.1[${PYTHON_USEDEP}] - dev-python/mocker[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - ~dev-python/pep8-1.5.7[${PYTHON_USEDEP}] - dev-python/pyflakes[${PYTHON_USEDEP}] - sys-apps/iproute2 - ) -" -RDEPEND=" - ${CDEPEND} - sys-fs/growpart - virtual/logger -" - -PATCHES=( "${FILESDIR}/cloud-init-0.7.6-gentoo.patch" ) - -python_prepare_all() { - distutils-r1_python_prepare_all -} - -python_test() { - emake test -} - -python_install_all() { - keepdir /etc/cloud - - distutils-r1_python_install_all - - doinitd "${S}"/sysvinit/gentoo/cloud-config - doinitd "${S}"/sysvinit/gentoo/cloud-final - doinitd "${S}"/sysvinit/gentoo/cloud-init - doinitd "${S}"/sysvinit/gentoo/cloud-init-local - insinto /etc/cloud/templates - doins "${FILESDIR}/hosts.gentoo.tmpl" - insinto /etc/cloud - doins "${FILESDIR}/cloud.cfg" - - systemd_dounit "${S}"/systemd/cloud-config.service - systemd_dounit "${S}"/systemd/cloud-config.target - systemd_dounit "${S}"/systemd/cloud-final.service - systemd_dounit "${S}"/systemd/cloud-init-local.service - systemd_dounit "${S}"/systemd/cloud-init.service -} diff --git a/app-emulation/cloud-init/cloud-init-0.7.6_p1212-r1.ebuild b/app-emulation/cloud-init/cloud-init-0.7.6_p1212-r1.ebuild deleted file mode 100644 index 91ce7346914a..000000000000 --- a/app-emulation/cloud-init/cloud-init-0.7.6_p1212-r1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) -BZRTGZ=1 - -inherit distutils-r1 eutils multilib systemd - -DESCRIPTION="EC2 initialisation magic" -HOMEPAGE="https://launchpad.net/cloud-init" -if [ "x$BZRTGZ" != x1 ]; then - SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" -else - # Launchpad does not provide consistent checksums https://bugs.launchpad.net/launchpad/+bug/1576338 - # SRC_URI="http://bazaar.launchpad.net/~${PN}-dev/${PN}/trunk/tarball/${PV/*_p} -> ${P}.tar.gz" - SRC_URI="mirror://gentoo/${P}.tar.gz https://dev.gentoo.org/~robbat2/distfiles/${P}.tar.gz" - S="${WORKDIR}/~cloud-init-dev/cloud-init/trunk/" -fi - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -CDEPEND=" - dev-python/cheetah[${PYTHON_USEDEP}] - dev-python/configobj[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/jsonpatch[${PYTHON_USEDEP}] - dev-python/oauth[${PYTHON_USEDEP}] - dev-python/prettytable[${PYTHON_USEDEP}] - dev-python/pyserial[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] -" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - ${CDEPEND} - >=dev-python/httpretty-0.7.1[${PYTHON_USEDEP}] - dev-python/mocker[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - ~dev-python/pep8-1.5.7[${PYTHON_USEDEP}] - dev-python/pyflakes[${PYTHON_USEDEP}] - sys-apps/iproute2 - ) -" -RDEPEND=" - ${CDEPEND} - sys-fs/growpart - virtual/logger -" - -PATCHES=( "${FILESDIR}/cloud-init-0.7.6_p1212-gentoo.patch" ) - -python_prepare_all() { - distutils-r1_python_prepare_all -} - -python_test() { - emake test -} - -python_install() { - distutils-r1_python_install "--init-system=sysvinit_openrc" -} - -python_install_all() { - keepdir /etc/cloud - - distutils-r1_python_install_all - chmod +x "${D}"/etc/init.d/* || die - - insinto /etc/cloud/templates - doins "${FILESDIR}/hosts.gentoo.tmpl" - insinto /etc/cloud - doins "${FILESDIR}/cloud.cfg" -} diff --git a/app-emulation/cloud-init/cloud-init-0.7.6_p1212.ebuild b/app-emulation/cloud-init/cloud-init-0.7.6_p1212.ebuild deleted file mode 100644 index 737e56a54944..000000000000 --- a/app-emulation/cloud-init/cloud-init-0.7.6_p1212.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) -BZRTGZ=1 - -inherit distutils-r1 eutils multilib systemd - -DESCRIPTION="EC2 initialisation magic" -HOMEPAGE="https://launchpad.net/cloud-init" -if [ "x$BZRTGZ" != x1 ]; then - SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" -else - # Launchpad does not provide consistent checksums https://bugs.launchpad.net/launchpad/+bug/1576338 - # SRC_URI="http://bazaar.launchpad.net/~${PN}-dev/${PN}/trunk/tarball/${PV/*_p} -> ${P}.tar.gz" - SRC_URI="mirror://gentoo/${P}.tar.gz https://dev.gentoo.org/~robbat2/distfiles/${P}.tar.gz" - S="${WORKDIR}/~cloud-init-dev/cloud-init/trunk/" -fi - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -CDEPEND=" - dev-python/cheetah[${PYTHON_USEDEP}] - dev-python/configobj[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/jsonpatch[${PYTHON_USEDEP}] - dev-python/oauth[${PYTHON_USEDEP}] - dev-python/prettytable[${PYTHON_USEDEP}] - dev-python/pyserial[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] -" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - ${CDEPEND} - >=dev-python/httpretty-0.7.1[${PYTHON_USEDEP}] - dev-python/mocker[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - ~dev-python/pep8-1.5.7[${PYTHON_USEDEP}] - dev-python/pyflakes[${PYTHON_USEDEP}] - sys-apps/iproute2 - ) -" -RDEPEND=" - ${CDEPEND} - sys-fs/growpart - virtual/logger -" - -PATCHES=( "${FILESDIR}/cloud-init-0.7.6_p1212-gentoo.patch" ) - -python_prepare_all() { - distutils-r1_python_prepare_all -} - -python_test() { - emake test -} - -python_install() { - distutils-r1_python_install "--init-system=sysvinit_openrc" -} - -python_install_all() { - keepdir /etc/cloud - - distutils-r1_python_install_all - - insinto /etc/cloud/templates - doins "${FILESDIR}/hosts.gentoo.tmpl" - insinto /etc/cloud - doins "${FILESDIR}/cloud.cfg" -} diff --git a/app-emulation/cloud-init/cloud-init-0.7.7.ebuild b/app-emulation/cloud-init/cloud-init-0.7.7.ebuild deleted file mode 100644 index 389eb6402e3c..000000000000 --- a/app-emulation/cloud-init/cloud-init-0.7.7.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 python3_4 python3_5 ) - -inherit distutils-r1 eutils multilib systemd - -DESCRIPTION="cloud initialisation magic" -HOMEPAGE="https://launchpad.net/cloud-init" -# Launchpad does not provide consistent checksums https://bugs.launchpad.net/launchpad/+bug/1576338 -# SRC_URI="http://bazaar.launchpad.net/~${PN}-dev/${PN}/trunk/tarball/${PV/*_p} -> ${P}.tar.gz" -SRC_URI="mirror://gentoo/${P}.tar.gz https://dev.gentoo.org/~prometheanfire/dist/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -CDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - dev-python/configobj[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/jsonpatch[${PYTHON_USEDEP}] - dev-python/oauthlib[${PYTHON_USEDEP}] - dev-python/prettytable[${PYTHON_USEDEP}] - dev-python/pyserial[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] -" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - ${CDEPEND} - >=dev-python/httpretty-0.7.1[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - dev-python/unittest2[${PYTHON_USEDEP}] - dev-python/pep8[${PYTHON_USEDEP}] - dev-python/flake8[${PYTHON_USEDEP}] - dev-python/hacking[${PYTHON_USEDEP}] - ) -" -RDEPEND=" - ${CDEPEND} - sys-apps/iproute2 - sys-fs/growpart - virtual/logger -" - -PATCHES=( "${FILESDIR}/cloud-init-0.7.7-gentooinit.patch" ) - -python_prepare_all() { - sed -i '/^argparse/d' requirements.txt || die - sed -i '/^hacking/d' test-requirements.txt || die - distutils-r1_python_prepare_all -} - -python_test() { - emake test -} - -python_install() { - distutils-r1_python_install "--init-system=sysvinit_openrc" -} - -python_install_all() { - keepdir /etc/cloud - - distutils-r1_python_install_all - - chmod +x "${D}"/etc/init.d/cloud-config - chmod +x "${D}"/etc/init.d/cloud-final - chmod +x "${D}"/etc/init.d/cloud-init - chmod +x "${D}"/etc/init.d/cloud-init-local - - insinto /etc/cloud/templates - doins "${FILESDIR}/hosts.gentoo.tmpl" - insinto /etc/cloud - doins "${FILESDIR}/cloud.cfg" - - systemd_dounit "${S}"/systemd/cloud-config.service - systemd_dounit "${S}"/systemd/cloud-config.target - systemd_dounit "${S}"/systemd/cloud-final.service - systemd_dounit "${S}"/systemd/cloud-init-local.service - systemd_dounit "${S}"/systemd/cloud-init.service -} diff --git a/app-emulation/cloud-init/cloud-init-0.7.8-r2.ebuild b/app-emulation/cloud-init/cloud-init-0.7.8-r2.ebuild deleted file mode 100644 index 88cb62749cb1..000000000000 --- a/app-emulation/cloud-init/cloud-init-0.7.8-r2.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 python3_4 python3_5 ) - -inherit distutils-r1 eutils multilib systemd - -DESCRIPTION="cloud initialisation magic" -HOMEPAGE="https://launchpad.net/cloud-init" -SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="test" - -CDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - dev-python/configobj[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/jsonpatch[${PYTHON_USEDEP}] - dev-python/oauthlib[${PYTHON_USEDEP}] - dev-python/prettytable[${PYTHON_USEDEP}] - dev-python/pyserial[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/cheetah[$(python_gen_usedep 'python2_7')] -" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - ${CDEPEND} - >=dev-python/httpretty-0.7.1[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - dev-python/unittest2[${PYTHON_USEDEP}] - dev-python/pep8[${PYTHON_USEDEP}] - dev-python/flake8[${PYTHON_USEDEP}] - dev-python/hacking[${PYTHON_USEDEP}] - ) -" -RDEPEND=" - ${CDEPEND} - net-analyzer/macchanger - sys-apps/iproute2 - sys-fs/growpart - virtual/logger -" - -PATCHES=( "${FILESDIR}/cloud-init-0.7.8-gentooinit.patch" ) - -python_prepare_all() { - sed -i '/^argparse/d' requirements.txt || die - sed -i '/^hacking/d' test-requirements.txt || die - distutils-r1_python_prepare_all -} - -python_test() { - emake test -} - -python_install() { - distutils-r1_python_install "--init-system=sysvinit_openrc" -} - -python_install_all() { - keepdir /etc/cloud - - distutils-r1_python_install_all - - chmod +x "${D}"/etc/init.d/cloud-config - chmod +x "${D}"/etc/init.d/cloud-final - chmod +x "${D}"/etc/init.d/cloud-init - chmod +x "${D}"/etc/init.d/cloud-init-local - - insinto /etc/cloud/templates - doins "${FILESDIR}/hosts.gentoo.tmpl" - insinto /etc/cloud - doins "${FILESDIR}/cloud.cfg" - - systemd_dounit "${S}"/systemd/cloud-config.service - systemd_dounit "${S}"/systemd/cloud-config.target - systemd_dounit "${S}"/systemd/cloud-final.service - systemd_dounit "${S}"/systemd/cloud-init-local.service - systemd_dounit "${S}"/systemd/cloud-init.service -} - -pkg_postinst() { - elog "cloud-init-local needs to be run in the boot runlevel because it" - elog "modifies services in the default runlevel. When a runlevel is started" - elog "it is cached, so modifications that happen to the current runlevel" - elog "while you are in it are not acted upon." -} diff --git a/app-emulation/cloud-init/cloud-init-18.4.ebuild b/app-emulation/cloud-init/cloud-init-18.4.ebuild new file mode 100644 index 000000000000..331c102da1a2 --- /dev/null +++ b/app-emulation/cloud-init/cloud-init-18.4.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 ) + +inherit distutils-r1 + +DESCRIPTION="Cloud instance initialisation magic" +HOMEPAGE="https://launchpad.net/cloud-init" +SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +# remove prettytable in 17.2 +CDEPEND=" + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/oauthlib[${PYTHON_USEDEP}] + dev-python/pyserial[${PYTHON_USEDEP}] + >=dev-python/configobj-5.0.2[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${CDEPEND} + >=dev-python/httpretty-0.7.1[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/unittest2[${PYTHON_USEDEP}] + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/contextlib2[${PYTHON_USEDEP}] + ) +" +RDEPEND=" + ${CDEPEND} + net-analyzer/macchanger + sys-apps/iproute2 + sys-fs/growpart + virtual/logger +" + +PATCHES=( + "${FILESDIR}"/${P}-fix-packages-module.patch + "${FILESDIR}"/${P}-gentoo-support-upstream-templates.patch +) + +src_prepare() { + # Fix location of documentation installation + sed -i "s:USR + '/share/doc/cloud-init:USR + '/share/doc/${PF}:" setup.py || die + distutils-r1_src_prepare +} + +python_test() { + # Do not use Makefile target as it does not setup environment correclty + esetup.py nosetests -v --where cloudinit --where tests/unittests || die +} + +python_install() { + distutils-r1_python_install --init-system=sysvinit_openrc,systemd --distro gentoo +} + +python_install_all() { + keepdir /etc/cloud + + distutils-r1_python_install_all + + # installs as non-executable + chmod +x "${D}"/etc/init.d/* +} + +pkg_postinst() { + elog "cloud-init-local needs to be run in the boot runlevel because it" + elog "modifies services in the default runlevel. When a runlevel is started" + elog "it is cached, so modifications that happen to the current runlevel" + elog "while you are in it are not acted upon." +} diff --git a/app-emulation/cloud-init/cloud-init-9999.ebuild b/app-emulation/cloud-init/cloud-init-9999.ebuild index 4072bd36f068..0b0b7bcaac95 100644 --- a/app-emulation/cloud-init/cloud-init-9999.ebuild +++ b/app-emulation/cloud-init/cloud-init-9999.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) +PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 ) -inherit distutils-r1 eutils git-r3 multilib systemd +inherit distutils-r1 git-r3 -DESCRIPTION="cloud initialisation magic" +DESCRIPTION="Cloud instance initialisation magic" HOMEPAGE="https://launchpad.net/cloud-init" EGIT_REPO_URI="https://git.launchpad.net/cloud-init" @@ -16,15 +16,15 @@ KEYWORDS="" IUSE="test" CDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - dev-python/configobj[${PYTHON_USEDEP}] dev-python/jinja[${PYTHON_USEDEP}] - dev-python/jsonpatch[${PYTHON_USEDEP}] dev-python/oauthlib[${PYTHON_USEDEP}] - dev-python/prettytable[${PYTHON_USEDEP}] dev-python/pyserial[${PYTHON_USEDEP}] + >=dev-python/configobj-5.0.2[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] " DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] @@ -34,33 +34,37 @@ DEPEND=" dev-python/mock[${PYTHON_USEDEP}] dev-python/nose[${PYTHON_USEDEP}] dev-python/unittest2[${PYTHON_USEDEP}] - dev-python/pep8[${PYTHON_USEDEP}] - dev-python/flake8[${PYTHON_USEDEP}] - dev-python/hacking[${PYTHON_USEDEP}] + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/contextlib2[${PYTHON_USEDEP}] ) " RDEPEND=" ${CDEPEND} + net-analyzer/macchanger sys-apps/iproute2 sys-fs/growpart virtual/logger " -PATCHES=( "${FILESDIR}/cloud-init-0.7.8-gentooinit.patch" ) +PATCHES=( + "${FILESDIR}"/${PN}-18.4-fix-packages-module.patch + "${FILESDIR}"/${PN}-18.4-gentoo-support-upstream-templates.patch +) python_prepare_all() { + # Fix location of documentation installation + sed -i "s:USR + '/share/doc/cloud-init:USR + '/share/doc/${PF}:" setup.py || die sed -i 's/version=get_version(),/version=9999,/g' setup.py || die - sed -i '/^argparse/d' requirements.txt || die - sed -i '/^hacking/d' test-requirements.txt || die distutils-r1_python_prepare_all } python_test() { - emake test + # Do not use Makefile target as it does not setup environment correclty + esetup.py nosetests -v --where cloudinit --where tests/unittests || die } python_install() { - distutils-r1_python_install "--init-system=sysvinit_openrc" + distutils-r1_python_install --init-system=sysvinit_openrc,systemd --distro gentoo } python_install_all() { @@ -68,19 +72,13 @@ python_install_all() { distutils-r1_python_install_all - chmod +x "${D}"/etc/init.d/cloud-config - chmod +x "${D}"/etc/init.d/cloud-final - chmod +x "${D}"/etc/init.d/cloud-init - chmod +x "${D}"/etc/init.d/cloud-init-local - - insinto /etc/cloud/templates - doins "${FILESDIR}/hosts.gentoo.tmpl" - insinto /etc/cloud - doins "${FILESDIR}/cloud.cfg" + # installs as non-executable + chmod +x "${D}"/etc/init.d/* +} - systemd_dounit "${S}"/systemd/cloud-config.service - systemd_dounit "${S}"/systemd/cloud-config.target - systemd_dounit "${S}"/systemd/cloud-final.service - systemd_dounit "${S}"/systemd/cloud-init-local.service - systemd_dounit "${S}"/systemd/cloud-init.service +pkg_postinst() { + elog "cloud-init-local needs to be run in the boot runlevel because it" + elog "modifies services in the default runlevel. When a runlevel is started" + elog "it is cached, so modifications that happen to the current runlevel" + elog "while you are in it are not acted upon." } diff --git a/app-emulation/cloud-init/files/cloud-init-0.7.6-gentoo.patch b/app-emulation/cloud-init/files/cloud-init-0.7.6-gentoo.patch deleted file mode 100644 index 27abd3812ab4..000000000000 --- a/app-emulation/cloud-init/files/cloud-init-0.7.6-gentoo.patch +++ /dev/null @@ -1,51 +0,0 @@ -# Note: Gentoo places ip in /sbin/ not /bin/ -diff -Nuar cloud-init-0.7.6.orig/cloudinit/sources/DataSourceOpenNebula.py cloud-init-0.7.6/cloudinit/sources/DataSourceOpenNebula.py ---- cloud-init-0.7.6.orig/cloudinit/sources/DataSourceOpenNebula.py 2014-10-10 08:26:25.000000000 -0700 -+++ cloud-init-0.7.6/cloudinit/sources/DataSourceOpenNebula.py 2016-04-25 15:24:51.483130933 -0700 -@@ -435,7 +435,7 @@ - # http://opennebula.org/documentation:rel3.8:cong#network_configuration - for k in context.keys(): - if re.match(r'^ETH\d+_IP$', k): -- (out, _) = util.subp(['/sbin/ip', 'link']) -+ (out, _) = util.subp(['/bin/ip', 'link']) - net = OpenNebulaNetwork(out, context) - results['network-interfaces'] = net.gen_conf() - break - -# Note Gentoo installs its own RC files -diff -Nuar cloud-init-0.7.6.orig/setup.py cloud-init-0.7.6/setup.py ---- cloud-init-0.7.6.orig/setup.py 2014-10-10 08:26:25.000000000 -0700 -+++ cloud-init-0.7.6/setup.py 2016-04-25 15:24:51.488131027 -0700 -@@ -141,7 +141,7 @@ - author='Scott Moser', - author_email='scott.moser@canonical.com', - url='http://launchpad.net/cloud-init/', -- packages=setuptools.find_packages(exclude=['tests']), -+ packages=setuptools.find_packages(exclude=['tests.*', 'tests']), - scripts=['bin/cloud-init', - 'tools/cloud-init-per', - ], -@@ -160,9 +160,4 @@ - [f for f in glob('doc/examples/seed/*') if is_f(f)]), - ], - install_requires=read_requires(), -- cmdclass={ -- # Use a subclass for install that handles -- # adding on the right init system configuration files -- 'install': InitsysInstallData, -- }, - ) - -# https://bugs.launchpad.net/cloud-init/+bug/1380424 -diff -Nuar cloud-init-0.7.6.orig/tests/unittests/test_distros/test_netconfig.py cloud-init-0.7.6/tests/unittests/test_distros/test_netconfig.py ---- cloud-init-0.7.6.orig/tests/unittests/test_distros/test_netconfig.py 2014-10-10 08:26:25.000000000 -0700 -+++ cloud-init-0.7.6/tests/unittests/test_distros/test_netconfig.py 2016-04-25 15:24:51.485130971 -0700 -@@ -174,7 +174,7 @@ - self.assertCfgEquals(expected_buf, str(write_buf)) - self.assertEquals(write_buf.mode, 0644) - -- def test_simple_write_freebsd(self): -+ def _test_simple_write_freebsd(self): - fbsd_distro = self._get_distro('freebsd') - util_mock = self.mocker.replace(util.write_file, - spec=False, passthrough=False) diff --git a/app-emulation/cloud-init/files/cloud-init-0.7.6_p1212-gentoo.patch b/app-emulation/cloud-init/files/cloud-init-0.7.6_p1212-gentoo.patch deleted file mode 100644 index ef5d950842fe..000000000000 --- a/app-emulation/cloud-init/files/cloud-init-0.7.6_p1212-gentoo.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff -Nuar --exclude '*~' trunk.orig/setup.py trunk/setup.py ---- trunk.orig/setup.py 2016-04-25 14:44:43.000000000 -0700 -+++ trunk/setup.py 2016-04-25 15:44:45.254496814 -0700 -@@ -1,3 +1,4 @@ -+#!/usr/bin/python2 - # vi: ts=4 expandtab - # - # Distutils magic for ec2-init -@@ -74,6 +75,7 @@ - 'sysvinit': [f for f in glob('sysvinit/redhat/*') if is_f(f)], - 'sysvinit_freebsd': [f for f in glob('sysvinit/freebsd/*') if is_f(f)], - 'sysvinit_deb': [f for f in glob('sysvinit/debian/*') if is_f(f)], -+ 'sysvinit_openrc': [f for f in glob('sysvinit/gentoo/*') if is_f(f)], - 'systemd': [f for f in (glob('systemd/*.service') + - glob('systemd/*.target')) if is_f(f)], - 'systemd.generators': [f for f in glob('systemd/*-generator') if is_f(f)], -@@ -83,6 +85,7 @@ - 'sysvinit': '/etc/rc.d/init.d', - 'sysvinit_freebsd': '/usr/local/etc/rc.d', - 'sysvinit_deb': '/etc/init.d', -+ 'sysvinit_openrc': '/etc/init.d', - 'systemd': pkg_config_read('systemd', 'systemdsystemunitdir'), - 'systemd.generators': pkg_config_read('systemd', - 'systemdsystemgeneratordir'), -@@ -205,7 +208,7 @@ - author='Scott Moser', - author_email='scott.moser@canonical.com', - url='http://launchpad.net/cloud-init/', -- packages=setuptools.find_packages(exclude=['tests']), -+ packages=setuptools.find_packages(exclude=['tests.*', 'tests']), - scripts=['bin/cloud-init', - 'tools/cloud-init-per'], - license='GPLv3', diff --git a/app-emulation/cloud-init/files/cloud-init-0.7.7-gentooinit.patch b/app-emulation/cloud-init/files/cloud-init-0.7.7-gentooinit.patch deleted file mode 100644 index ddb4f38201cc..000000000000 --- a/app-emulation/cloud-init/files/cloud-init-0.7.7-gentooinit.patch +++ /dev/null @@ -1,42 +0,0 @@ -diff --git a/cloudinit/sources/DataSourceOpenNebula.py b/cloudinit/sources/DataSourceOpenNebula.py -index 7b3a76b..635a836 100644 ---- a/cloudinit/sources/DataSourceOpenNebula.py -+++ b/cloudinit/sources/DataSourceOpenNebula.py -@@ -407,7 +407,7 @@ def read_context_disk_dir(source_dir, asuser=None): - # http://opennebula.org/documentation:rel3.8:cong#network_configuration - for k in context: - if re.match(r'^ETH\d+_IP$', k): -- (out, _) = util.subp(['/sbin/ip', 'link']) -+ (out, _) = util.subp(['ip', 'link']) - net = OpenNebulaNetwork(out, context) - results['network-interfaces'] = net.gen_conf() - break -diff --git a/setup.py b/setup.py -index bbadd7b..1578a3d 100755 ---- a/setup.py -+++ b/setup.py -@@ -74,6 +74,7 @@ INITSYS_FILES = { - 'sysvinit': [f for f in glob('sysvinit/redhat/*') if is_f(f)], - 'sysvinit_freebsd': [f for f in glob('sysvinit/freebsd/*') if is_f(f)], - 'sysvinit_deb': [f for f in glob('sysvinit/debian/*') if is_f(f)], -+ 'sysvinit_openrc': [f for f in glob('sysvinit/gentoo/*') if is_f(f)], - 'systemd': [f for f in (glob('systemd/*.service') + - glob('systemd/*.target')) if is_f(f)], - 'systemd.generators': [f for f in glob('systemd/*-generator') if is_f(f)], -@@ -83,6 +84,7 @@ INITSYS_ROOTS = { - 'sysvinit': '/etc/rc.d/init.d', - 'sysvinit_freebsd': '/usr/local/etc/rc.d', - 'sysvinit_deb': '/etc/init.d', -+ 'sysvinit_openrc': '/etc/init.d', - 'systemd': pkg_config_read('systemd', 'systemdsystemunitdir'), - 'systemd.generators': pkg_config_read('systemd', - 'systemdsystemgeneratordir'), -@@ -205,7 +207,7 @@ setuptools.setup( - author='Scott Moser', - author_email='scott.moser@canonical.com', - url='http://launchpad.net/cloud-init/', -- packages=setuptools.find_packages(exclude=['tests']), -+ packages=setuptools.find_packages(exclude=['tests.*', 'tests']), - scripts=['tools/cloud-init-per'], - license='GPLv3', - data_files=data_files, diff --git a/app-emulation/cloud-init/files/cloud-init-0.7.8-gentooinit.patch b/app-emulation/cloud-init/files/cloud-init-0.7.8-gentooinit.patch deleted file mode 100644 index ff0e0149fa3b..000000000000 --- a/app-emulation/cloud-init/files/cloud-init-0.7.8-gentooinit.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff --git a/setup.py b/setup.py -index bbadd7b..1578a3d 100755 ---- a/setup.py -+++ b/setup.py -@@ -205,7 +207,7 @@ setuptools.setup( - author='Scott Moser', - author_email='scott.moser@canonical.com', - url='http://launchpad.net/cloud-init/', -- packages=setuptools.find_packages(exclude=['tests']), -+ packages=setuptools.find_packages(exclude=['tests.*', 'tests']), - scripts=['tools/cloud-init-per'], - license='GPLv3', - data_files=data_files, -diff --git a/sysvinit/gentoo/cloud-init b/sysvinit/gentoo/cloud-init -index 5afc0f2..531a715 100644 ---- a/sysvinit/gentoo/cloud-init -+++ b/sysvinit/gentoo/cloud-init -@@ -2,6 +2,7 @@ - # add depends for network, dns, fs etc - depend() { - after cloud-init-local -+ after net - before cloud-config - provide cloud-init - } -diff --git a/sysvinit/gentoo/cloud-init-local b/sysvinit/gentoo/cloud-init-local -index 9bd0b56..0f8cf65 100644 ---- a/sysvinit/gentoo/cloud-init-local -+++ b/sysvinit/gentoo/cloud-init-local -@@ -2,7 +2,7 @@ - - depend() { - after localmount -- after netmount -+ before net - before cloud-init - provide cloud-init-local - } diff --git a/app-emulation/cloud-init/files/cloud-init-18.4-fix-packages-module.patch b/app-emulation/cloud-init/files/cloud-init-18.4-fix-packages-module.patch new file mode 100644 index 000000000000..4a42cbb7d9e1 --- /dev/null +++ b/app-emulation/cloud-init/files/cloud-init-18.4-fix-packages-module.patch @@ -0,0 +1,25 @@ +From e894c6f57b88305cdf6e4e2b1543475b2e02f436 Mon Sep 17 00:00:00 2001 +From: Gilles Dartiguelongue <eva@gentoo.org> +Date: Tue, 23 Oct 2018 18:59:58 +0200 +Subject: [PATCH 1/2] Fix Gentoo package installation command + +--- + cloudinit/distros/gentoo.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cloudinit/distros/gentoo.py b/cloudinit/distros/gentoo.py +index dc57717d..98ac41ca 100644 +--- a/cloudinit/distros/gentoo.py ++++ b/cloudinit/distros/gentoo.py +@@ -192,7 +192,7 @@ class Distro(distros.Distro): + if pkgs is None: + pkgs = [] + +- cmd = list('emerge') ++ cmd = ['emerge'] + # Redirect output + cmd.append("--quiet") + +-- +2.19.0 + diff --git a/app-emulation/cloud-init/files/cloud-init-18.4-gentoo-support-upstream-templates.patch b/app-emulation/cloud-init/files/cloud-init-18.4-gentoo-support-upstream-templates.patch new file mode 100644 index 000000000000..60d9da600557 --- /dev/null +++ b/app-emulation/cloud-init/files/cloud-init-18.4-gentoo-support-upstream-templates.patch @@ -0,0 +1,91 @@ +From 946ce2b005a71e9922654af79bce51fefa16c3d4 Mon Sep 17 00:00:00 2001 +From: Gilles Dartiguelongue <eva@gentoo.org> +Date: Wed, 24 Oct 2018 10:52:46 +0200 +Subject: [PATCH 2/2] Add support for gentoo in cloud.cfg and templates + +--- + config/cloud.cfg.tmpl | 8 ++++++-- + templates/hosts.gentoo.tmpl | 24 ++++++++++++++++++++++++ + tools/render-cloudcfg | 2 +- + 3 files changed, 31 insertions(+), 3 deletions(-) + create mode 100644 templates/hosts.gentoo.tmpl + +diff --git a/config/cloud.cfg.tmpl b/config/cloud.cfg.tmpl +index 1fef133a..f66b5f7e 100644 +--- a/config/cloud.cfg.tmpl ++++ b/config/cloud.cfg.tmpl +@@ -134,7 +134,7 @@ cloud_final_modules: + # (not accessible to handlers/transforms) + system_info: + # This will affect which distro class gets used +-{% if variant in ["centos", "debian", "fedora", "rhel", "suse", "ubuntu", "freebsd"] %} ++{% if variant in ["centos", "debian", "fedora", "rhel", "suse", "ubuntu", "freebsd", "gentoo"] %} + distro: {{ variant }} + {% else %} + # Unknown/fallback distro. +@@ -172,7 +172,7 @@ system_info: + primary: http://ports.ubuntu.com/ubuntu-ports + security: http://ports.ubuntu.com/ubuntu-ports + ssh_svcname: ssh +-{% elif variant in ["centos", "rhel", "fedora", "suse"] %} ++{% elif variant in ["centos", "rhel", "fedora", "suse", "gentoo"] %} + # Default user name + that default users groups (if added/used) + default_user: + name: {{ variant }} +@@ -180,6 +180,10 @@ system_info: + gecos: {{ variant }} Cloud User + {% if variant == "suse" %} + groups: [cdrom, users] ++{% elif variant == "gentoo" %} ++ groups: [users, wheel] ++ primary_group: users ++ no-user-group: true + {% else %} + groups: [wheel, adm, systemd-journal] + {% endif %} +diff --git a/templates/hosts.gentoo.tmpl b/templates/hosts.gentoo.tmpl +new file mode 100644 +index 00000000..cd045fa6 +--- /dev/null ++++ b/templates/hosts.gentoo.tmpl +@@ -0,0 +1,24 @@ ++## template:jinja ++{# ++This file /etc/cloud/templates/hosts.gentoo.tmpl is only utilized ++if enabled in cloud-config. Specifically, in order to enable it ++you need to add the following to config: ++ manage_etc_hosts: True ++-#} ++# Your system has configured 'manage_etc_hosts' as True. ++# As a result, if you wish for changes to this file to persist ++# then you will need to either ++# a.) make changes to the master file in /etc/cloud/templates/hosts.gentoo.tmpl ++# b.) change or remove the value of 'manage_etc_hosts' in ++# /etc/cloud/cloud.cfg or cloud-config from user-data ++# ++# The following lines are desirable for IPv4 capable hosts ++127.0.0.1 {{fqdn}} {{hostname}} ++127.0.0.1 localhost.localdomain localhost ++127.0.0.1 localhost4.localdomain4 localhost4 ++ ++# The following lines are desirable for IPv6 capable hosts ++::1 {{fqdn}} {{hostname}} ++::1 localhost.localdomain localhost ++::1 localhost6.localdomain6 localhost6 ++ +diff --git a/tools/render-cloudcfg b/tools/render-cloudcfg +index 8b7cb875..d109044e 100755 +--- a/tools/render-cloudcfg ++++ b/tools/render-cloudcfg +@@ -4,7 +4,7 @@ import argparse + import os + import sys + +-VARIANTS = ["bsd", "centos", "fedora", "rhel", "suse", "ubuntu", "unknown"] ++VARIANTS = ["bsd", "centos", "fedora", "gentoo", "rhel", "suse", "ubuntu", "unknown"] + + if "avoid-pep8-E402-import-not-top-of-file": + _tdir = os.path.abspath(os.path.join(os.path.dirname(__file__), "..")) +-- +2.19.0 + diff --git a/app-emulation/cloud-init/metadata.xml b/app-emulation/cloud-init/metadata.xml index 0516fdb4ff99..ac6c94ad0679 100644 --- a/app-emulation/cloud-init/metadata.xml +++ b/app-emulation/cloud-init/metadata.xml @@ -5,6 +5,10 @@ <email>prometheanfire@gentoo.org</email> <name>Matthew Thode</name> </maintainer> + <maintainer type="person"> + <email>eva@gentoo.org</email> + <name>Gilles Dartiguelongue</name> + </maintainer> <longdescription lang="en"> Package provides configuration and customization of cloud instance. </longdescription> diff --git a/app-emulation/libvirt-snmp/Manifest b/app-emulation/libvirt-snmp/Manifest index 86d3bdfc0843..1ddaea311ef0 100644 --- a/app-emulation/libvirt-snmp/Manifest +++ b/app-emulation/libvirt-snmp/Manifest @@ -3,6 +3,8 @@ AUX libvirt-snmp.confd 143 BLAKE2B 0781bbd4a4fc0f9f9f32347ae5b730ee643ccfacbc02d AUX libvirt-snmp.initd-r1 639 BLAKE2B 46cc58e561aa341a27381cf1ff7925758dae2a8a119fb789645d5a602631b52d7d3325549da4b5b256f33c94e9a7d90200e5010d326184eab58a2d83d9bb72da SHA512 90db400497ea1ff10ffb0b8fe1ec9cfbbb066cdec0db9669924080ec64fd9b2e878c063eeb8ba7ffea0c3cd1f154a9074daab0bd6951de34e3d1183518dfdb18 DIST libvirt-snmp-0.0.2.tar.gz 152790 BLAKE2B b2e5eee2d67283112556c52921b14029a90d5cedf0c4575e056475191470a4b6bf5d837f1ca942b848f6509da4aa12daa508bbfc5272e1435e73fbfc290e1967 SHA512 13a522c765d278d3b8f8ab9f32f97c8531f6d131afcb0ce62ae397631db92ed3b585ad221a1f2b3bc17907cc4d61adca4a2071b0458a05f2bff5ca06191e1478 DIST libvirt-snmp-0.0.3.tar.gz 161186 BLAKE2B 1b43e7e81a43d4e969e2e30d7d62776743b3c5fb19929fb1606850946c665ad1ca662bee88743f60f202cd92fc42be1cc2cc94e99bf1d137df61bec09850de93 SHA512 6ffda3594ddc513e05e31e7d347a12e371dca3cc698ca790a70e2d01b2ceac6acb5dd6e3cd19723817b41aa62e0c0a49c01c47cb9ce379ac491856a7e88e5a08 +DIST libvirt-snmp-0.0.4.tar.gz 157859 BLAKE2B e2c8fcdd97ba9b55bd4d318c63f7738024c1360ee10aa4e685c2ea6ca02478206febff30f3e1a82eb1a2dadaa52a377cfbce538e12e33f4ea2fe10b1a089945d SHA512 dbf47e7983f9bd6fcff205fffd1f6006268cca774cf427d39dec84dc7de37b545c0dfcbb2c6f171f55d73487cdec13341097137e24de2dea58ce90494d281162 EBUILD libvirt-snmp-0.0.2-r2.ebuild 1113 BLAKE2B 2cea4b7106b3cb699f9e9d4da0bbe5911df8164bcab095ff0d244c5bff9a922494085ccc70526fbc5895ad0a2826e0e2d5aa307b2c0d091f3019148f6290e3bb SHA512 1a8e52780ccbda9e8026ff57b67133b98450572f255a96bdf8be62fad39cfe727ffb83f9e0c4210bce589f0148f9f92407d351c2eca4c6cd9c8564913e8c6723 EBUILD libvirt-snmp-0.0.3.ebuild 1015 BLAKE2B 7058f15af2b162840b906d2cfea0348f2b3f4b8666f2ec0476a6cda567e1c7ff0fd5f03f145a1a3f4201cc1c55342e418894c406ca308f2f5a8863e086f9be3a SHA512 c10de28493cd604c70f714ed8eb0f79ff0b4b8eb00840cdcc1c7ecc7c9287f393760e6136a5165a4f6976de1a99908bdde19d8b25753bc969390cfb8d898d56b +EBUILD libvirt-snmp-0.0.4.ebuild 1032 BLAKE2B 9353ae76440b9cb8d4262687063c1dad2f820bc6969dda8b7a72ba0e745298ac514892ebfe87e6bc821d45154327133958fcf41613c038da27cd9a70a10146cb SHA512 06cf2d4d7b6d3819233e5c8e4e1b03237184e1d9640bc345060802196467d697e8c5f7e018fe789ad6d58109557b3c18095d1569365a3b5457131ffc4530362a MISC metadata.xml 256 BLAKE2B 6c2547727deeea210991f6aad9ba6c5c1e409a50652f665d0dcf12e239ce3beab612375e2c6bc75e1ee02026149d11519ced3974e60ae165b225adf0bdbcd260 SHA512 379c849f353da475a34564fec13fd0bb74e2029b0e00cbfbbf35eb37323a46a0d483788917cfeeeacb91a30867de199eeff9e1e280c2dc9ada84f32cf221dc09 diff --git a/app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild b/app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild new file mode 100644 index 000000000000..f0eb657001f9 --- /dev/null +++ b/app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit eutils + +DESCRIPTION="Provides SNMP functionality for libvirt" +HOMEPAGE="http://libvirt.org" +SRC_URI="http://www.libvirt.org/sources/snmp/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} + app-emulation/libvirt + net-analyzer/net-snmp" +BDEPEND=" + virtual/pkgconfig" + +src_install() { + default + newinitd "${FILESDIR}/libvirt-snmp.initd-r1" "${PN}" + newconfd "${FILESDIR}/libvirt-snmp.confd" "${PN}" +} + +pkg_postinst() { + elog "This daemon runs as an AgentX sub-daemon for snmpd. You should therefore" + elog "enable the AgentX functionality in snmpd by specifying the following" + elog "in /etc/snmp/snmpd.conf:" + elog " master agentx" + elog "It is further recommended to send traps to the localhost as well using" + elog "this option:" + elog " trap2sink localhost" + elog "More information is available here:" + elog " http://wiki.libvirt.org/page/Libvirt-snmp" +} diff --git a/app-emulation/lxc-templates/Manifest b/app-emulation/lxc-templates/Manifest index 7bd5593a6a11..0b973c5680a5 100644 --- a/app-emulation/lxc-templates/Manifest +++ b/app-emulation/lxc-templates/Manifest @@ -2,5 +2,5 @@ AUX lxc-templates-3.0.1-no-cache-dir.patch 241 BLAKE2B ba9fc4fe3d663384a64600977 DIST lxc-templates-3.0.1.tar.gz 256074 BLAKE2B 8a5dab2d69fbc29e0246a0853690726c07d24e0fe6d4e761d8ec8b4559cdf285a82e17c8f4d2a6bf2355896c667000d4341511b3c5f1805a55849b4812eb7efe SHA512 cae47b670654dc6c143827d196f0477c5354cb6d81ae4028192622fb73912e8bb3b62a0a68786e9212885bb52b593c6e742cfbfefb70ec33260d599e5d5c8290 DIST lxc-templates-3.0.2.tar.gz 255721 BLAKE2B 6f3a09982833ae832623bf448a0cc8a5c3c6639606a1cd8e306e41fa86a1135eae5490cd93043c397e5be727b12b0fdae48709a5ff3e3dd2e590bc6aa7154f34 SHA512 1e4b271c86d3cc382a6c4cc5ad8a44362f731325b4657fbee29542837a2684ee7274b92985da1a2f8aa0f808e263bf50d682ee969ba137229e54528fa529f77f EBUILD lxc-templates-3.0.1.ebuild 513 BLAKE2B 15749a19b3c24df787d3d4eb8d7f6ebf902cff1c22fe0ee4bed0eafb8b5eb53860b5ff20d54e9775ef659f4ad46e160fccbd95bc2331a3f8b167c6332585aed0 SHA512 428a61af6aba82737427a699275522f992f6aba3eb870719e298f1b7b4a24842a21a33af2b7dfbd2a0e05f78b8316224f907ddaedfa2984d0117a67f0e064025 -EBUILD lxc-templates-3.0.2.ebuild 520 BLAKE2B 68d70ab9a40c33d6776da2765225d49e07f1b672d71d90062efd8415adb3965e84065d33977af67261932ef80dd295ef7dc207477e1c3bbf691ae2bd484ea3bc SHA512 90796dd4d82507cb4f0c0ee6d8749bec6d0df076d6cec37d15c29a1f3eccc2b651a0b0a02b9b8b4dd280708efaf37cf8152bae16ae1850661d2bbef681babc7b +EBUILD lxc-templates-3.0.2.ebuild 519 BLAKE2B 5fefd9bccf49db6547333261e76b81722a43de84e73ba804a80eb8506ec03e6d275012d9e1faaab31beaabe0104be6eae9ab12208340f41fcfb2448f6b3be5c6 SHA512 fc811a7e144ac22eaa7fc5903cd1982bfacc110423ea805726acab0eec0c927e41493d8faf4b0907893a1be834e671c0168750088eedd50ee5d254ad3ad4c68e MISC metadata.xml 446 BLAKE2B d0b14eed14b0882b35ddb982ba432f6a5a3b63fdf8bb1c926c9d0db7b9cf7757c78cccca1244cd039d0db7e52c360e99c3fc0a2e915653543d5416054fec62af SHA512 473e0a28d72d39643f91e17910481331b1732b07e4cd74bac024c8a5a933e40a838948d5a8b0bef808332eac751422f7f88ec91501f63b779763606b71696acc diff --git a/app-emulation/lxc-templates/lxc-templates-3.0.2.ebuild b/app-emulation/lxc-templates/lxc-templates-3.0.2.ebuild index 4a4dcd5d0e2a..1bc8d87f19f2 100644 --- a/app-emulation/lxc-templates/lxc-templates-3.0.2.ebuild +++ b/app-emulation/lxc-templates/lxc-templates-3.0.2.ebuild @@ -9,7 +9,7 @@ DESCRIPTION="Old style template scripts for LXC" HOMEPAGE="https://linuxcontainers.org/" SRC_URI="https://linuxcontainers.org/downloads/lxc/${P}.tar.gz" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 x86" LICENSE="LGPL-3" SLOT="0" diff --git a/app-emulation/qemu/Manifest b/app-emulation/qemu/Manifest index c6fd9877fdfd..4d4adc04d304 100644 --- a/app-emulation/qemu/Manifest +++ b/app-emulation/qemu/Manifest @@ -13,5 +13,5 @@ DIST qemu-3.0.0.tar.bz2 41491935 BLAKE2B 715ccca4fced730425eb5c24a78d89d2ab59f64 EBUILD qemu-2.12.0-r3.ebuild 24051 BLAKE2B 8bacbd42b4abc2015d2a250bc1954867e329a7d4513bf8dc7c82c508563419e91e4a12d3ca74f3735073ea5cc0c9d15870feb40d497ef991df990426f4a65a3a SHA512 9a6efb5b677b8c0f0586b39e9abc6ddd69ff9bca8ee390269f9bf493c466791009def6caf1d9477cda251626ed1f8518cc7a8851d0c066586527d711269c1bfb EBUILD qemu-2.12.1.ebuild 24051 BLAKE2B 7587b86e783ba772c5895696398e8b808864f0b98159f2d55715d71bf3b6fb30ebf6b9abbe6f02c0d29546f39a40208aae181f8a9bc44e94d3ffb025d2fcb30a SHA512 e6e231ab225b62bdb1da182291a8d47fc57975d0b4a7732eb71809db4903fabd33f4d645fbf421502454438da48734b03b90484655e47f034fb91415ba05358c EBUILD qemu-3.0.0.ebuild 24055 BLAKE2B d4d86c9df7aad7efa6118db37143e215a380b41457cfae23d1bb4e6f46dfb40c503a740192870f2c483a8ae7d715698ba26c0e2c8768e1b75fd38f381a7c880f SHA512 750b05b4870c334d96abe8be1f9a309eed48862ffa1da1c8e4f046395c0c9c42d7830287d82a7432c8ee9d8446704cc37a130c72ca5d462f46779f854cdfd942 -EBUILD qemu-9999.ebuild 23916 BLAKE2B 6c7d76d45f3d3c639e675063e6440adae1dc3dcc61c01d69f426791520b31881303ad453568fd5c0fb23ef9f328df379620dab7f36fe814c7f5ef654dcbb8284 SHA512 39a0dd61ed61346f8cec5485a1fbfc9904e8fadce27cd33b87698820f1473660f5e1ae9fbb664c69d0db1fe8486bb6153d0315da79a6a5e9c7d9599b118235d0 +EBUILD qemu-9999.ebuild 23612 BLAKE2B 6adb72fd53be0572b4abe73aec0a61edd4342d9caa70e10af5a75351a4a9594fa072c3dd6f0877b5c4e0641a9b69e19c0d4d6a647ad486acc4b98be9bcdc117c SHA512 d6425a17d8d2eb22993b7168a4f6c01d75468c32da00c951fd600efe1be2c85afd39582500a55571710e6f25e28a07e5f19e3834b595de87ef5c2ae4f2f93be0 MISC metadata.xml 4014 BLAKE2B e3ef3f3da149b756119932e7796ba2daf3327a841776dc64476730f33345e6a10abd45d8a52a45f1881f052d43902c0a6de0f3df02219ab9f8b5ce1fec12b635 SHA512 fd582b65e3eecacef5447b787fb465565fceb84a7fda9cd7079e5ae5b2ef4183ff7cd3187a5e751900bea6877fdda8e8357c792eef5431e76c4d672eb631481b diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-9999.ebuild index 833c2349a4c9..b33e04e51528 100644 --- a/app-emulation/qemu/qemu-9999.ebuild +++ b/app-emulation/qemu/qemu-9999.ebuild @@ -28,9 +28,9 @@ HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org" LICENSE="GPL-2 LGPL-2 BSD-2" SLOT="0" IUSE="accessibility +aio alsa bluetooth bzip2 capstone +caps +curl debug - +fdt glusterfs gnutls gtk gtk2 infiniband iscsi +jpeg kernel_linux + +fdt glusterfs gnutls gtk infiniband iscsi +jpeg kernel_linux kernel_FreeBSD lzo ncurses nfs nls numa opengl +pin-upstream-blobs +png - pulseaudio python rbd sasl +seccomp sdl sdl2 selinux smartcard snappy + pulseaudio python rbd sasl +seccomp sdl selinux smartcard snappy spice ssh static static-user systemtap tci test usb usbredir vde +vhost-net virgl virtfs +vnc vte xattr xen xfs" @@ -50,14 +50,12 @@ IUSE+=" ${use_softmmu_targets} ${use_user_targets}" # Allow no targets to be built so that people can get a tools-only build. # Block USE flag configurations known to not work. REQUIRED_USE="${PYTHON_REQUIRED_USE} - gtk2? ( gtk ) qemu_softmmu_targets_arm? ( fdt ) qemu_softmmu_targets_microblaze? ( fdt ) qemu_softmmu_targets_mips64el? ( fdt ) qemu_softmmu_targets_ppc? ( fdt ) qemu_softmmu_targets_ppc64? ( fdt ) - sdl2? ( sdl ) - static? ( static-user !alsa !bluetooth !gtk !gtk2 !opengl !pulseaudio !snappy ) + static? ( static-user !alsa !bluetooth !gtk !opengl !pulseaudio !snappy ) virtfs? ( xattr ) vte? ( gtk )" @@ -100,14 +98,8 @@ SOFTMMU_TOOLS_DEPEND=" >=net-libs/gnutls-3.0:=[static-libs(+)] ) gtk? ( - gtk2? ( - x11-libs/gtk+:2 - vte? ( x11-libs/vte:0 ) - ) - !gtk2? ( - x11-libs/gtk+:3 - vte? ( x11-libs/vte:2.91 ) - ) + x11-libs/gtk+:3 + vte? ( x11-libs/vte:2.91 ) ) infiniband? ( sys-fabric/libibumad:=[static-libs(+)] @@ -134,14 +126,8 @@ SOFTMMU_TOOLS_DEPEND=" rbd? ( sys-cluster/ceph[static-libs(+)] ) sasl? ( dev-libs/cyrus-sasl[static-libs(+)] ) sdl? ( - !sdl2? ( - media-libs/libsdl[X] - >=media-libs/libsdl-1.2.11[static-libs(+)] - ) - sdl2? ( - media-libs/libsdl2[X] - media-libs/libsdl2[static-libs(+)] - ) + media-libs/libsdl2[X] + media-libs/libsdl2[static-libs(+)] ) seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] ) smartcard? ( >=app-emulation/libcacard-2.5.0[static-libs(+)] ) @@ -495,8 +481,7 @@ qemu_src_configure() { conf_opts+=( --audio-drv-list="${audio_opts}" ) - use gtk && conf_opts+=( --with-gtkabi=$(usex gtk2 2.0 3.0) ) - use sdl && conf_opts+=( --with-sdlabi=$(usex sdl2 2.0 1.2) ) + use sdl && conf_opts+=( --with-sdlabi=2.0 ) fi case ${buildtype} in |