summaryrefslogtreecommitdiff
path: root/app-emulation
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/diskimage-builder/Manifest4
-rw-r--r--app-emulation/diskimage-builder/diskimage-builder-2.8.0.ebuild34
-rw-r--r--app-emulation/diskimage-builder/diskimage-builder-2.9.0.ebuild2
-rw-r--r--app-emulation/virtualbox-additions/Manifest6
-rw-r--r--app-emulation/virtualbox-additions/virtualbox-additions-5.0.16.ebuild35
-rw-r--r--app-emulation/virtualbox-additions/virtualbox-additions-5.1.30.ebuild (renamed from app-emulation/virtualbox-additions/virtualbox-additions-5.0.40.ebuild)2
-rw-r--r--app-emulation/virtualbox-bin/Manifest15
-rw-r--r--app-emulation/virtualbox-bin/virtualbox-bin-5.0.16.105871-r1.ebuild356
-rw-r--r--app-emulation/virtualbox-bin/virtualbox-bin-5.1.30.118389.ebuild (renamed from app-emulation/virtualbox-bin/virtualbox-bin-5.0.40.115130.ebuild)20
-rw-r--r--app-emulation/virtualbox-extpack-oracle/Manifest4
-rw-r--r--app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.1.30.118389.ebuild (renamed from app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.0.40.115130.ebuild)2
-rw-r--r--app-emulation/virtualbox-guest-additions/Manifest7
-rw-r--r--app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.0.16.ebuild216
-rw-r--r--app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.1.30.ebuild (renamed from app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.0.40.ebuild)7
-rw-r--r--app-emulation/virtualbox-modules/Manifest6
-rw-r--r--app-emulation/virtualbox-modules/virtualbox-modules-5.0.16.ebuild64
-rw-r--r--app-emulation/virtualbox-modules/virtualbox-modules-5.1.30.ebuild (renamed from app-emulation/virtualbox-modules/virtualbox-modules-5.0.40.ebuild)2
-rw-r--r--app-emulation/virtualbox/Manifest9
-rw-r--r--app-emulation/virtualbox/virtualbox-5.0.16-r1.ebuild431
-rw-r--r--app-emulation/virtualbox/virtualbox-5.1.30.ebuild (renamed from app-emulation/virtualbox/virtualbox-5.0.40.ebuild)116
-rw-r--r--app-emulation/xen-tools/Manifest4
-rw-r--r--app-emulation/xen-tools/files/xen-watchdog.initd6
-rw-r--r--app-emulation/xen-tools/files/xenstored.initd-r12
-rw-r--r--app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild466
24 files changed, 583 insertions, 1233 deletions
diff --git a/app-emulation/diskimage-builder/Manifest b/app-emulation/diskimage-builder/Manifest
index 91d2a65a26e8..85038a42463e 100644
--- a/app-emulation/diskimage-builder/Manifest
+++ b/app-emulation/diskimage-builder/Manifest
@@ -1,8 +1,6 @@
DIST diskimage-builder-1.28.0.tar.gz 267409 SHA256 2d8999a8484d27e8604d125aabcbdad648f8b601776225cfc611faf1a3b9a0e6 SHA512 ae13e29563f90a4aaa4f2bee889bca4fd662da41fcffb957ca8a4380907e5d89fbc25ecb93aeda2cb5597776b51417388e8a5e39741250d68a8f7f67239ebc7f WHIRLPOOL 7cfcefcf37fd0d5fae4fb8d3284ad3b60e53e4a2853c85625a1925c34bd4cdbee999932089f7dae81adcf699226ba1550f729a2b1b8aab4b6e54c10c7148fea1
-DIST diskimage-builder-2.8.0.tar.gz 315628 SHA256 ac93598cff826074c4a83049be0c3745b13891dc21e5e9d85fc354d99583c0e8 SHA512 9827f063ed7e4e66fb55a721f3ea81a2e6186b87000b9008a40469934b64b9380699f709956e7396c8b9f03275d195645f9e9b74d6eae4812b1b2149a884cca2 WHIRLPOOL 68a4fbc3d83ce0355d411e8f8aeb84946fba7e2a3fc47bcb211405862be3b69d3233061c4f8b41d478b23762273148acd34e2bf64596e9696a1b3cb6a81e1290
DIST diskimage-builder-2.9.0.tar.gz 319035 SHA256 d6a8fa0e4be224af8365eb6ef4ed1653026b87fedca017fafdbd86fe58bcb603 SHA512 ebaeb1d5396977d8391f7c718ff13e7b0d37aca58ff14719e2b5f17adc376e85f15f516f63c245c2374e363d4037bc358192aa87ce0515d0a69cb00ac5b616af WHIRLPOOL 3e6acbdac9e9566732144429ab42c7c03d1091c8a17bb0b877bc4bbb988f0e5b93d8739a73062dd24fb9fadb4e02a7b73f88cb959477cbc9bc8626415a646ac8
EBUILD diskimage-builder-1.28.0.ebuild 915 SHA256 d41041600d3d3a90b563e56873efc458db095de051c01e557b486760d2fa8149 SHA512 eb129f8527f64dbaf9f207512b4cb0b5384c546bdda76f9b3c5df4f23b276c6c33ffc4ca7dce9441db97af3cb7216d87c1040dbc85aa6dbb33edc15e24996955 WHIRLPOOL be568ffade8ac29dd0ceff5cfc88391cebee74d120b055751470250f98955edb0023961b9b5441cdf61812060db47b70a9e4b281687912478e5b9ebebaad11d6
-EBUILD diskimage-builder-2.8.0.ebuild 1055 SHA256 9dd7521a181f8e411d381233d18ab0586b31d050fa11033c7fa43ea18cc36b44 SHA512 9e5c2919b4704b80aabdb105723f6e8cb4c1a231b009414ffd2765b0420919014d78d7397ed5669030cfc0164093c55b9c452c7dc0357660d49945d11c975fff WHIRLPOOL a5d061bae1125238889a6e52c29366adc6d89eeb03eb9f4293931447e1de84341de59c4efb3a48343a87c83ac609bcbf6d70c8bbe6f2d957df463ab786ca89a3
-EBUILD diskimage-builder-2.9.0.ebuild 1101 SHA256 61ba0798dce4ca92e2cf43359dcafd984fe7971fdd381675496fa353bee25408 SHA512 5df44c6fe0246443c5bc80b65d7cec524543a384be5feb91d26bb76a083ca1e34df2b39320a8efc6a46d0f25027231c4418cd66530a5aa080a6cb2abb44c33c9 WHIRLPOOL acfedc594f7dc508ab0210c1717f64db7cc84da5c7b389d4ef3c330835307ef1aab64057c5abe7831df1b0450d49a00d3cda491f7acde71c2ba35cff99c6bc58
+EBUILD diskimage-builder-2.9.0.ebuild 1099 SHA256 2ece3879448b27abd582d0673ae59bfe5b1d133531d6c07e2ca8b31c68df0864 SHA512 0b928a1ca2490eb143bea0d10e9bacf9dd63b8aa82340c72ddad7b3cd6aabe23673390878a75e80aafea6e00b0c19f344dfd5b957780b6e5371012e5b8e6bc1b WHIRLPOOL 249ea5fa08127c6eb44304e5adf63c8e15b4b983b1aff0056e22f9d78adbc647d0942122a25536be0dc2dc5e0b945a5166b5adff05dd08a0c466157b484aaca1
MISC ChangeLog 1987 SHA256 80e24f8406e897762ef9deb02d2d61e0ba5a6a827457ba0c3ea9ed19e4936c5f SHA512 05da20a179d6bd337cb5c22a119cd8f991c19d715b56dc0348283467e44c8bb26014d5cae2112a758e5f5d7384372375f1a82d301f0fca7e381ffc48be8632f7 WHIRLPOOL f004bc9ccdd869f07cb1a7ddafa56af3dbe685f0aa4aae47c07bf268eae05fe59ebdf9e69673321bbf26984731829c807a8140b8be0c64637b1b8d14a53cbd40
MISC metadata.xml 718 SHA256 b74cd0a9cd8f40e45fe04f8c22f267f95740d534c3c8c60f42e64b1d63a44731 SHA512 8e16e9d92a81049d414ae54eaf7a4467982cbd949230adcfab22b636ba2b91885d80e9b047788ccd07eab547ae2f85a56d989b971b64bd926e6ca70972398277 WHIRLPOOL 05967793be1e8e7e2998fb98069e58c449f1a494e5cbec8d504d6678e2026b420e557b8309abbbfa789b46aefccafcd1d13e95531efaf68d1cfa08eb360b3363
diff --git a/app-emulation/diskimage-builder/diskimage-builder-2.8.0.ebuild b/app-emulation/diskimage-builder/diskimage-builder-2.8.0.ebuild
deleted file mode 100644
index 40e57f9f3a14..000000000000
--- a/app-emulation/diskimage-builder/diskimage-builder-2.8.0.ebuild
+++ /dev/null
@@ -1,34 +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
-
-DESCRIPTION="Golden Disk Image builder."
-HOMEPAGE="http://docs.openstack.org/developer/diskimage-builder/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
- !~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
-DEPEND="${CDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="${CDEPEND}
- >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
- !~dev-python/Babel-2.4.0[${PYTHON_USEDEP}]
- >=dev-python/networkx-1.10[${PYTHON_USEDEP}]
- >=dev-python/pyyaml-3.10.0[${PYTHON_USEDEP}]
- >=dev-python/flake8-2.5.4[${PYTHON_USEDEP}]
- <dev-python/flake8-2.6.0[${PYTHON_USEDEP}]
- >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
- >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
- app-emulation/qemu
- sys-block/parted
- sys-fs/multipath-tools
- !dev-python/dib-utils[${PYTHON_USEDEP}]"
diff --git a/app-emulation/diskimage-builder/diskimage-builder-2.9.0.ebuild b/app-emulation/diskimage-builder/diskimage-builder-2.9.0.ebuild
index 917c93302d51..1bd01d9d3360 100644
--- a/app-emulation/diskimage-builder/diskimage-builder-2.9.0.ebuild
+++ b/app-emulation/diskimage-builder/diskimage-builder-2.9.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE=""
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
diff --git a/app-emulation/virtualbox-additions/Manifest b/app-emulation/virtualbox-additions/Manifest
index 1f18cbe51e06..c603ae398ff7 100644
--- a/app-emulation/virtualbox-additions/Manifest
+++ b/app-emulation/virtualbox-additions/Manifest
@@ -1,11 +1,9 @@
-DIST VBoxGuestAdditions_5.0.16.iso 60063744 SHA256 8190f1e4031f8195971c2a97d2d3b1cf2d86fc83219f750d05cee9255c7dad85 SHA512 8a9d3fcb96a450163f357b92f8149f58700ec65c127fb872b103554417979fbe624a9e1bced3bb6cbf4b0bb6a5c3bbcae9581836cc5d3fde7a034d4032e519f9 WHIRLPOOL 89ed9064014a715a892388b5dbe3c4b577a5a813580be4fd2bd604672354f258b00a619980ba1369aeaceff6a77c6d370cc2b6bf3c17d2cd73a5c8fc9dcad1e8
-DIST VBoxGuestAdditions_5.0.40.iso 58466304 SHA256 df3a1849fe796b476b1095576fd72a27fd3f253d4770a2fb6bc792593ed9726b SHA512 f92dc50cfa0be3583c1b15e041d73948fba4d2a83dfd1a7a750feecede13a00e70b641da03533dd0f23f520cc5778cfeb824b3d8455042dcc85ee4f677f3d699 WHIRLPOOL 5e9d0a01bb1a065789b9a16416dde0156c9e3a0b28161f2944ad143e00905a2e328c93e2301f73ad518bac9c50dd5d3b946e1676fa3465a84f5c68bb52d56083
DIST VBoxGuestAdditions_5.1.26.iso 59496448 SHA256 6df8c8ab6e7ac3a70a5e29116f8a5dcdb7dfbd0b226ef849a5cd9502e956b06f SHA512 5329ce9bb787efed088a9f89412974cef3a982a351c0053b3daf15a9c95c55f99556e2b86cdcd39c168042503eb00eaa83fb99f8f5c4c97d177dd2b61bb33f5d WHIRLPOOL d8c2bd468673a0d9cee9b7f3630a6581c8124cd4b6bfe942b69ceff70cfa7096b7c1e947a86ed4fd00d7d4dac3eeae52b55bbed4bbb9c3268dd864fcd53068e9
DIST VBoxGuestAdditions_5.1.28.iso 59494400 SHA256 66824ee3a0373da62b15f6687a68e2305d7e62d700e538cf32705227bb38c46d SHA512 68a1bcaa658bff040d18c5d59fe20bb0e6155186bdaea5cf30d673d8356fa33087a23280f3d571742ca1c144caef421d0c32a080fee0cb05c6046f361fbe2785 WHIRLPOOL 539994c2fa2271e425ba6b517e69906684f8a3d730899433d5de8ad5722152889fc3390035e66dd64646a9f10c611074cf95f820294a17e398c581b094536cb0
-EBUILD virtualbox-additions-5.0.16.ebuild 729 SHA256 32db0039995150763a90c5aa94f785d353eb3fdaf442954498e4376577e6af4a SHA512 58df95a7406656febd05a66193749bc031f6e445169aa1ef1dd8d80877b3e179d229e66268b84d79b5db726b222281a2cf6cfd521dac62aa5f7b406e7bacbaaf WHIRLPOOL 53b93b7090c16d6622fcc493d2e2f60b9c214c290c54999f7b10a8636b16faf8c5639c7c2301685ac81d767fc844ed693562cb8a0650eb4742555f4c14fa39e2
-EBUILD virtualbox-additions-5.0.40.ebuild 727 SHA256 1e501e13744d4e6f88df06a96b2c8e3e9bf42494823d0f43d76a9cc3a8653b5e SHA512 7b86aa30735d2282551667ff47ffeb1fb2fb10af9ba05315c73407dc19ac4b9a7e2dca6515b748ab89f6546d5b5a7c206a0e53ab421ed949c404394e6be9999d WHIRLPOOL a3fc7569a9d161dd8268219ada0133900703ba7750749a4c040ef8c56a5c1dde457293a3d557b7d562dd5907092c066f5c2e9125e845ce020fb1bad3e19e30b5
+DIST VBoxGuestAdditions_5.1.30.iso 59494400 SHA256 631ca8e8d513acf43a75de56a71a31aaffb5624864c57d10346ba657d991ec1e SHA512 3205444339a0c85a3b234ba462add21033b5b3eee18eecc15b150b21f5f9f1aadb92b7049bef6be1201e1acfd1edd6f2924c38d56a52770113c8401bcca9abcb WHIRLPOOL 1a42d9eb4656019dda446a396081d43e04512968a0c9c77858658a0af696d3ed93219609a0070c0b2708f9e6445ba676fb7c88f4f37d29d13c68331971a7434b
EBUILD virtualbox-additions-5.1.26.ebuild 727 SHA256 1e501e13744d4e6f88df06a96b2c8e3e9bf42494823d0f43d76a9cc3a8653b5e SHA512 7b86aa30735d2282551667ff47ffeb1fb2fb10af9ba05315c73407dc19ac4b9a7e2dca6515b748ab89f6546d5b5a7c206a0e53ab421ed949c404394e6be9999d WHIRLPOOL a3fc7569a9d161dd8268219ada0133900703ba7750749a4c040ef8c56a5c1dde457293a3d557b7d562dd5907092c066f5c2e9125e845ce020fb1bad3e19e30b5
EBUILD virtualbox-additions-5.1.28.ebuild 729 SHA256 61c88f26ab87df99dc629b03b70b51b7f1eed1e0aa69c3d0df777e9b9a5e2a63 SHA512 b3c4774741bc62a014e57f26de9cb0ee4366d8ad31a6ffa51101085e591af034f44e1de156227719d7bf8bf12120528524380b0c782777f2bc98b0e8e11cd0b8 WHIRLPOOL 0c1b2e689884a7e848edcd89782cd277e4700fa8de297256362582b7e14b45e26880c49b7d5e75c8139ad92c31d7a88ee54ae19f3dbf1f97c8cc696fca5eb541
+EBUILD virtualbox-additions-5.1.30.ebuild 729 SHA256 61c88f26ab87df99dc629b03b70b51b7f1eed1e0aa69c3d0df777e9b9a5e2a63 SHA512 b3c4774741bc62a014e57f26de9cb0ee4366d8ad31a6ffa51101085e591af034f44e1de156227719d7bf8bf12120528524380b0c782777f2bc98b0e8e11cd0b8 WHIRLPOOL 0c1b2e689884a7e848edcd89782cd277e4700fa8de297256362582b7e14b45e26880c49b7d5e75c8139ad92c31d7a88ee54ae19f3dbf1f97c8cc696fca5eb541
MISC ChangeLog 12973 SHA256 c01cf221d3a72c12b6f4526817677e3732bea376c0339dae1ce8e16d0145eeaf SHA512 86fa4502c0c0d26b272b7722447f00284ea6ada45da15cb40c5a3b343adadfacf21ed04b523c47b85b00027dae92152406f17c7d80f631b0a22e74261c752318 WHIRLPOOL b5aa77c9775595b3838d5ab483be1dbbe117e043937d43d8a0300973a6b250ba8eb985c0c2b4fe5ed51081f4bcf68a572fd4eeb88c041a334ae15d44481931fb
MISC ChangeLog-2015 14897 SHA256 473cf57fa6397e2f4eee401dd5898dc5bb6e679e9644e5160cce29bfbc38d9e2 SHA512 f61bae9bbe7227be61a03e552e059075cd71975fec28534010a53befcd792495d58795737c390e6f491f79101fbe109da24842f1de86887311cf4f565a5132de WHIRLPOOL ec5abe39985968607a37e9d5b28bfc73b641041247b7ab388beb2af3d03bc83195dd91bd21a403d3fc15cdf2a20be1dd7fe16302fae362987fad3751b13bd8fc
MISC metadata.xml 407 SHA256 a07752ac478a75b8186129fcab7d7fc7b239adf7a03d52a275a1d61c66b54aa6 SHA512 e28c65e666d3f78cc8752c3f8af0d7e5494b4a2f93fdc98cf71110424aa9a72b68ee40aa299c46a7048d375a1f52bd0f03efd12d5e88226a4934989e7634afc2 WHIRLPOOL 38d004ad7163b0ba06c7b86c4e02612a94ff449f1d8a0be61fe705bd1a4bd8c88c8cab27fd5103110663f7b0de9f131b204aa92b7c3584cef93f0bde957c7248
diff --git a/app-emulation/virtualbox-additions/virtualbox-additions-5.0.16.ebuild b/app-emulation/virtualbox-additions/virtualbox-additions-5.0.16.ebuild
deleted file mode 100644
index faae31d217c8..000000000000
--- a/app-emulation/virtualbox-additions/virtualbox-additions-5.0.16.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils
-
-MY_PN=VBoxGuestAdditions
-MY_PV="${PV/beta/BETA}"
-MY_PV="${MY_PV/rc/RC}"
-MY_P=${MY_PN}_${MY_PV}
-
-DESCRIPTION="CD image containing guest additions for VirtualBox"
-HOMEPAGE="http://www.virtualbox.org/"
-SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.iso"
-
-LICENSE="GPL-2+ LGPL-2.1+ MIT SGI-B-2.0 CDDL"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-RESTRICT="mirror"
-
-RDEPEND="!app-emulation/virtualbox-bin
- !=app-emulation/virtualbox-9999"
-
-S="${WORKDIR}"
-
-src_unpack() {
- return 0
-}
-
-src_install() {
- insinto /usr/share/${PN/-additions}
- newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
-}
diff --git a/app-emulation/virtualbox-additions/virtualbox-additions-5.0.40.ebuild b/app-emulation/virtualbox-additions/virtualbox-additions-5.1.30.ebuild
index 4fd01d14b29e..967492859a76 100644
--- a/app-emulation/virtualbox-additions/virtualbox-additions-5.0.40.ebuild
+++ b/app-emulation/virtualbox-additions/virtualbox-additions-5.1.30.ebuild
@@ -16,7 +16,7 @@ SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.iso"
LICENSE="GPL-2+ LGPL-2.1+ MIT SGI-B-2.0 CDDL"
SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="mirror"
diff --git a/app-emulation/virtualbox-bin/Manifest b/app-emulation/virtualbox-bin/Manifest
index 8dbc603f6da9..564342c4ce96 100644
--- a/app-emulation/virtualbox-bin/Manifest
+++ b/app-emulation/virtualbox-bin/Manifest
@@ -4,26 +4,21 @@ AUX vboxwebsrv-initd 674 SHA256 09cacf198eabc38d355b71739cb5f66f26b3c0a97108d768
AUX virtualbox-bin-3-wrapper 2931 SHA256 7ed4834ece201cb6a9da57e36a1a9b47bd054057d2ac4a46343a9966ff460644 SHA512 adb6ba2b3252b19b4c0331c10a025d05fd2399642530ba9aec2efa2dc8dbea4188a95806935532ad8229db29f0767c3098ef7646204f5e540e291ceb350b76ac WHIRLPOOL b7d7e454cd5642e59bdf973bbfb7f7d52597b32b440630ec4ba08b8b89f91e4e5296a723429e1c9c5c72e6760264d0477e1232559631e54c85c98351cf170db5
AUX virtualbox-bin-config 28 SHA256 5326f7abdd1a7c8a8a44fd4ab269977ec115286059fc8a4c2fde6805c381236f SHA512 8086ef107aff0aa3e17f5fcb8ee5de4dd8a24cb119c3523e3e3a302819eb4258328adead1b6f40b96706539f4e1c43dbd5c055a16a304ac29f7f302ebf2e4c4c WHIRLPOOL a385c2b483967f1241cc36af895e7d8f64b9af324f276bb89ffe7a39f415fa403902f5f65d106a4db7ee1f9f4367c69dc00005c49ef1f5aaf47bf3298b0f6abf
AUX virtualbox-bin.desktop-2 205 SHA256 5dd74e2f4d1717633aa44e909305c6995a20f03a5f1271fcd1c92b0803ab18ca SHA512 7e9555aaa317e1cb551e5ff591b9d20bbb76a738f9e923c13d206e02c1e6bfc8f4eb17b498b235ac0aa2062e4acbd5f24d2522de2da3cff2e12c264875bc476d WHIRLPOOL 134cecd8c614f6c1b63a929bb1f1a3460f8aa3c1308b17e970c80f7b47c0c9bc78eb74c24c9298c7ed43c66134fb69ebb1f16d4f3226b3d2528134009b0bcb07
-DIST Oracle_VM_VirtualBox_Extension_Pack-5.0.16-105871.tar.gz 16896587 SHA256 c234e158c49f4f92c38e41918c117d756a81236ff1030a896e44faf88284ecc7 SHA512 39a7c6726e57c89a970e771f80369617c95e154498174deed025ca953e85197981215dd1250317285213a8e9bf6b7140e06311bd6df464613bfe90a37ef1c3c8 WHIRLPOOL 8bdf4a499e8d2d463249fb98ea35ee3a91d81004418e171396c0a26d91f3de9eda6fe632a1d85df58e1de1c32c5c939a365277ad836c685f83600277bd7282bf
-DIST Oracle_VM_VirtualBox_Extension_Pack-5.0.40-115130.tar.gz 19050961 SHA256 ebb29de8962d60760a2f25c318833a1fe163368b824b6b26802b6b284af70585 SHA512 fb27a8efa376b2a51558e0a8dfcb87a7116e950783030c1aab996675c776c46cdf4d4ff35d111f925f6b2b4c6fd070ff80a971fd2f6ce77b857b17898950f5a3 WHIRLPOOL db1ba8492abf791f2244d12b7a62643c02c8c7999c607464e117cc42360c876d9ee83d36ea8860e18912b52171d12291d93fdcc3d3ff18ff05c2b3a4cea5373c
DIST Oracle_VM_VirtualBox_Extension_Pack-5.1.26-117224.tar.gz 19624237 SHA256 14f152228495a715f526eb74134d43c960919cc534d2bc67cfe34a63e6cf7721 SHA512 c6e31e8fb26b8ca32c423d14e85e15f6372a030ec40e9f06ce1e1234913d3586cc58d46819684c99cf3ced37f35d0a964339199cad5cf43580c88bf1afa63ef6 WHIRLPOOL 9b0ceb8ab21ce54a199ac312879ae4bf17b5bbf3bae6d28035436ae8dd8295ea6fa1d8bb3fc095867a017fdcc357b630436dca46d4875bcdd2aad1ce0cfd9d9f
DIST Oracle_VM_VirtualBox_Extension_Pack-5.1.28-117968.tar.gz 19626161 SHA256 1a2551b204bd53a252a75a4653b983427bb15d473bc77b14149c7870ce049871 SHA512 71c6ce267c14303bbd9e386ea849d37aeb569afff848054deced4c74fd6fffca83c96b392d066f684b7101a786cc7d24cf9308114c08cbb77b26bb07bf23fcf8 WHIRLPOOL c6fd42f422dca4db4165ff18da0054aff5c0d275850dec4002fb70e8e4248f8f5cffc87697b0802343ebff29cf62938f298df365f9ce19523092d418206deff9
-DIST VirtualBox-5.0.16-105871-Linux_amd64.run 85913042 SHA256 2fc30af485c67162a8f1fafb5a0d9c6cbab4dc17ec362e6d8d2487071b4daa47 SHA512 706159c25ad144a489d7519dcc5a9fa6ee47415bac8fc48bb56fbbe72953f5e65fcdf9d045fbe686520ea676dbf511a19208adfd81f199c804e1b632de581f6b WHIRLPOOL 298235fe47a08136232916b990675b4b26dbab7155fd00c82d2405170fd7d255cfa5f93c07a13a89cdc0a129662f3a14d3386be17e11c02bbd3a564de554bcf3
-DIST VirtualBox-5.0.16-105871-Linux_x86.run 84909518 SHA256 46421f6ebed4de2466d32193597fbcfe71c2a89c5fd5ac1493856b509d6259e1 SHA512 a16e5a9ee4c643985d48c6ac8e7224074dd2a775bf05b9ef712fff898962493a2126bb1ced20b5ec525ddd86d0ce6c42c06e286f03758aad5d39d58b87db51a8 WHIRLPOOL dbc4af908d3e2879388426defd733539f3bbff10a4f957858f42ae7c328a5cbd0480667b50777a69e860be475d8c66a392badb79503d9f22c267688edc6a1e4e
-DIST VirtualBox-5.0.40-115130-Linux_amd64.run 84571603 SHA256 f633e88b22470b36b4586fbc8a14e0ee99dad5e094cb1ed73a77016fdbc616c8 SHA512 51e23c3b5eed256e799f9cd6be950a00d0c4f57276d8554cad8c1beb6310ee8625b6eaa364d47dab54274ef0ebd37114d3c6a1312313dce748ca9c985e08b59c WHIRLPOOL 2d6f465cee91be4637c84d65655c0b3c667d6f88af85c3c4b577ad416136d99094ad0fa089314730f7dce89224ed99f5be4ad6fd35db8bc2c23d1e0826400e76
-DIST VirtualBox-5.0.40-115130-Linux_x86.run 83793358 SHA256 1371ae3ceec0f2af5e31e569eab1ffd405a75bbf6fb8889a836d07167806d6cd SHA512 98f249e6a461b40856231f31ceb0914093dd97e513ff01fbeb308cb9d0e5d1fee98e69a9f5c1f73c082676c3273517ff2a1f3c658e57035c5d8d6b0cc0627a6b WHIRLPOOL f659c4edd9fa16e532f1c1729a2044b3ebb3a56c9d087c2310c0443e95545d96640b31b9f06f55529c765f4d52b835e528c3914e3a09d58f5cc62aa5cc4b9864
+DIST Oracle_VM_VirtualBox_Extension_Pack-5.1.30-118389.tar.gz 19624724 SHA256 2da095e32f85fe5a1fe943158e079bd5aecb2724691c4038bd619ddee967b288 SHA512 6b468879f0fb6d6f916c40fb60f418457c526c20ebb1a6253bfc38392e0ae965e3b54590173b0d974070ced1646db82035950fb7dd54b22e20f4ad29850d6cf4 WHIRLPOOL e66bcfae1f022119e58c819094a79acafe4534278a8cf7d242e0355b6bcd045e7b6697c07ecb0f2dd4924fadf2996d8a5e01fbf2d17e38ed74a120dbc578969c
DIST VirtualBox-5.1.26-117224-Linux_amd64.run 87981522 SHA256 be541c9ad60655b436bb27dc91c482e2e1485da4fc0e632ec92bfbed625a48ed SHA512 9b486fd52918469fdffaa39bbef234d22fad9d3b562fa04443bf6c1040e744db6dc9bd103ead299127b82c5d4bc96c1e05f677cacd623affa6569408c8d26df5 WHIRLPOOL 3c3c7b8254f85223f06cdfdea6cb0cb982222889b899018ea03a6e7807243f5e85ec37ef4a5f829dc09d1fa0123c1c28738b0d1826cd381d4b550360efd9a268
DIST VirtualBox-5.1.26-117224-Linux_x86.run 87090639 SHA256 05f82b704558efdda8a9c569b52fcf761793a54e8405d062fd20a4a56fffd5da SHA512 3aafad5374dc79c0fdd9bf1da6708ae4ce2f43d9fce3222326424bf03d6b73a7283ba5ebeb01a9ab6b24eeb8a8ec7c23af84e40f3edeb512c2101c329f4091e7 WHIRLPOOL 58c4ff741fed816f08c44af68eaae4fe0d206c59ea1300975d754781a44a8ab513054b5601cc23caefa7fbeb950bc41e8d544e6008e2de377e25661fadc9f9e1
DIST VirtualBox-5.1.28-117968-Linux_amd64.run 88391123 SHA256 c3cbc56f5df1ff45c68094066dfc677d4d4f51f5df627b33a4d253db00ce12e4 SHA512 e84f002ed4804533832dfcc65f12ad4e72d6693de5af62bf26b702d19d8f17511335415968eac44ee3d98e87d5137c0004afa213b0bf75b89699cbe3bc20097c WHIRLPOOL cc686f6ed52a081e178aad6748703cd56f09adeac690f8a0ef9bb9aa1e3db394ad9e1187826d3f7b0d3a52df0314df82efcddd1fec2e9e72d968ab49b6687be6
DIST VirtualBox-5.1.28-117968-Linux_x86.run 87582159 SHA256 8e9399547355eecc09b5866bc79813dcad9013172d09bca9e8f8aad01556f164 SHA512 96491961bfae60671b40f591151da26dab3135feaa3b9cf3838d7e74104cb4ae716eb5ff76ab75683c98ffba840cacaa045fa959f8e4eb4ab976801d38ebb917 WHIRLPOOL 287455f57191c8c567e34ba7047540cf443416fbdf4cb7e887d50582c15c9b31567871ee2112f782f513ae03584c95a3769596dc9ef5b8fe64030d71b41ab32a
-DIST VirtualBoxSDK-5.0.16-105871.zip 9639569 SHA256 df1bd5ed7f7fe9c401555498a1abed6f1f98e001c0069f16d401ccf3afe3061b SHA512 f4e1af1d97a26818722124fbbaffa6d61369b1a5f3b350b749284afdde038802f4a0e93e9bbb4c9ab0f49aad1f4fa19bbc4b0bdb04aa172a433a77a538816e25 WHIRLPOOL 0598061b47e5d0ef775665300ab61ad7b94638d32fb358a9c189536b00b2456ce4c90dfbcc00bac86da736289253e84a3b586b8b7d1da4087db76e8845a8ca33
-DIST VirtualBoxSDK-5.0.40-115130.zip 9674379 SHA256 9c27d4963f0afd9e11c0105739720b63df919162dfb6c88c52bb1f0e4f68c8ea SHA512 fc02623b5a4d288e37d8895f936f1552c284be2523762688e62d2fb57d3b2e83a2edb7193d0775bc481282e93242d8a691c408e931c8a42e2945a6507625f5f3 WHIRLPOOL b84f02c03e2de1baa3eda5ebc1d4de82d8c16205a2e624a9ecc7985ed70ccdfa8bc5cf066bcc9066cd4e82722600a76972dc472665ef576e6ac41045f5fa8047
+DIST VirtualBox-5.1.30-118389-Linux_amd64.run 88186323 SHA256 8c6d8593cc1072f15330fa8a06d84ba134e2ca83fb870adb2ae294a0170cf4cc SHA512 b6312abbf5c0e4bf22aca50a81d297a0ed21d5b4b72242e21750ac088c56817dc90ac1ae068dd9006f4f736130510f26f55793b8c09999c590da09908e304280 WHIRLPOOL 9b2075ec937b207129bb3af49c0682f8b7ed7cb10381bc532dec4bc25efafeabecf0f38fbd591c233f4b57ba56a9fa245c55c78f128a2fa3d07c43740d2d2cc3
+DIST VirtualBox-5.1.30-118389-Linux_x86.run 87397839 SHA256 2d9b7b5f7decf39c0efcbc23dd70ac2a800e3703bb8b74a14643dbf97c6f4fde SHA512 643ef90453e3a6a6d3fbb365176a72de1743230a58ee45f1cb22fd8bb57c9cfe6013ec1ffdb0076a248d1987a1e3fea13ca71ef9ca983cb8e6378d30c76451fb WHIRLPOOL 3ff698d84f18ddb986fcecdb779e07d7b9b1a52792e56f38d0686c97637c27a25b34e775b26bf94295da6192b93798db4cdbb4a47e52d28f1ce0c5bb132095a8
DIST VirtualBoxSDK-5.1.26-117224.zip 9860247 SHA256 fb3e7e3cc425bd7ec3555cd4b1db6a69c85ae1744fb7df8060e4884ad26f09e5 SHA512 d2bef837d61bfb35ba550f004345c2c412c2f62da23ffded6dff8aa33281fdce7c0a8f6b70c131b35e04c34ca0a4221bf97a78e65a470c657980572ebedb0774 WHIRLPOOL 098de72faec934092150abe5a75dff3712b8b0e160eaba3c435d0131e323c74f584841ecbb5a14fd5c29fa2495d7717ef29ddad609939de8ad15752a6111cbf9
DIST VirtualBoxSDK-5.1.28-117968.zip 9860778 SHA256 8eed55336c3c75bb925af14c720b880e2136cf2530f69ea0f087cd07081d13bf SHA512 d7e365c57a1179ccbba7e695b8b8fc4dcdf36b45fbb199000878ccb161b13208b14ad3fe963f99a9b680cba5a2c562e3d39cf9892acc16879919ddaa4d24c22b WHIRLPOOL 93fe7e6ce03f9be3d2b84c8d53c4632f8c01af5790d8d553fbd08ca45073725d3d961dcb26f4dd6c2c2007305f97a1c5753aaed27b3fb41687a87618887c24da
-EBUILD virtualbox-bin-5.0.16.105871-r1.ebuild 10575 SHA256 7c5152bc469d8d9005ec6ce6a8adeaf615b155fa4915848f884d363c4794846b SHA512 c6e1bf46f43393319e9774683b4cd6a6f3fc29fa49e16867a52c62aacec71e118fdbc062c56a9b52e1faeeed23b3d90e567ac8a343e6ed6213a491bec8d8cc60 WHIRLPOOL 975029d57745b10a916e5acf5e910f9660bdac4f9dddaf813f611cd54826c202882af2472b528f54fe45ea170a4924f6c42c4ec55710423d35d006edbec62032
-EBUILD virtualbox-bin-5.0.40.115130.ebuild 8374 SHA256 16232e4dfc7d0af39da9ce97e901411cc90666a54e9b196d62d2c226165d01cf SHA512 c663996396fd670051ad32bcadada530922d63b8e9daa033696e12cc1e51ff960bacef15f22de89878b01318e8c94f54ed66768cbe2040231afb4842a1107eb9 WHIRLPOOL ea9515025ad64dbf024f7978c8b2df0f350cfdf069d0dfa37d7accbc80cdcf3554f39e704825559b55bd3dd008cf1624f01d7c1b17cbf4b9a90ca745b9d4e23b
+DIST VirtualBoxSDK-5.1.30-118389.zip 9861374 SHA256 294007c48f31c763d2e2427d121eb2beb5f5bcd651adf23263915b2d7ea50e85 SHA512 89d3407860f202329e5958e724b848884a9047f01000090d1000bce22005311b3650c1ef1fb1fc998c29cc77887af856b64a5ac76154408cae7b921860d8a9f1 WHIRLPOOL 6057fa017741153217fa9700247988fc8756e8ab704fe4c9a3da3512ab4704686615fb06291be31c17b4a3a4e52b4df56b88d4c2c02dd172d4c5c1b1e8bf5fd6
EBUILD virtualbox-bin-5.1.26.117224.ebuild 8374 SHA256 ce9760ae51a5eede23d284b276d9c1df0cf22f73084711df77026a1822a467d9 SHA512 f56f6be68888456ff843aa4c0d104026b2d17dcd32259e8ef2a716407494314952fc03560c14e5f13af96885587310d2d38404163745c1dc0a3c089b1d3444fe WHIRLPOOL 90b0bd0d2e9cab445a93b317e8ac4f525e39157e0f435616848a3679f3f0d9a6c7bc1c5f4b8787ad10b75bbc5df4e9255572b5fe797120ab9887604051b2e5e3
EBUILD virtualbox-bin-5.1.28.117968.ebuild 8376 SHA256 7fd347d3648e3429e4b992819e903ce3492e3b1320d2816705825681ac8e52f0 SHA512 40a0618b48b9981fb9295e1e2a0b3373dd7145022b32aecc497ec7321534887c50c45645e5b6a22c5962c8e892c213a3cd8540711566b2f2b0e73ae63cb6ff61 WHIRLPOOL 626c57a557035a2244dc41f4b08a7b0d89bb00b08c53be15d8e0caa28eaf216f52d5057fe8d1d38e02f885be72cef0d9517532722e83a1951a235f9acea3347e
+EBUILD virtualbox-bin-5.1.30.118389.ebuild 8376 SHA256 7fd347d3648e3429e4b992819e903ce3492e3b1320d2816705825681ac8e52f0 SHA512 40a0618b48b9981fb9295e1e2a0b3373dd7145022b32aecc497ec7321534887c50c45645e5b6a22c5962c8e892c213a3cd8540711566b2f2b0e73ae63cb6ff61 WHIRLPOOL 626c57a557035a2244dc41f4b08a7b0d89bb00b08c53be15d8e0caa28eaf216f52d5057fe8d1d38e02f885be72cef0d9517532722e83a1951a235f9acea3347e
MISC ChangeLog 15716 SHA256 33eaaa36906036c70c8398092103364f507ff7fa772f9bdd9f811eeb2aed617e SHA512 2009f3b444919bc36c8db65e4e3111b8d224981d0cd103d7e75a3d42d1811258c2b8d9d6e64dcb4da06a9fd764009332d592a71e58531eb242730ee7c5b27f94 WHIRLPOOL a46edd0951787ad59af4cb6f6345c4146d43b2a8461890f94d8a9cf2b3456256b33a6a582f83ff0d90917abc523b7eda62f032ce52fc6be8e82c141689f822f5
MISC ChangeLog-2015 37455 SHA256 d03a645491d38812437c73bcfab5697299453ffc97fbc92f4a1ecf93047edcbd SHA512 b4ad974d34f541950cf084db0a7454ebf302a3f1b10fbd233ca1c95f96d2f061801148f63962b11ea90d1eb9b1f13f6fae79aa8071b150e52c3b526f8dd35be5 WHIRLPOOL 3475be3b57a456ce7caf8347be9bf9be18a4e7ead29bdc84e023ab8785be59d80dc92980621d9c5ce1764ead382d7882b390108beee726887cf1cc916b624991
MISC metadata.xml 769 SHA256 984b2b32d7b6329e4de3ca17bad6697b1f13ae9bef8fac54f74375622dc77197 SHA512 d4d7b28e05404c670993fb8798b5b5de23d3f446e12195665d9965214e59132996dcbe45a28965a9beef6e5156635d0a5a1799641a613c27dbb8b335d51f0dc8 WHIRLPOOL 79458a2be44645a4d45dd22080b7a8e8ddc326880c4a9011eae3435b123323477d48d592027099d91e5a1486154bc6d1b60e11f1f6c959b5caedd5e67c24e4d0
diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-5.0.16.105871-r1.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-5.0.16.105871-r1.ebuild
deleted file mode 100644
index d2a692fc802e..000000000000
--- a/app-emulation/virtualbox-bin/virtualbox-bin-5.0.16.105871-r1.ebuild
+++ /dev/null
@@ -1,356 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit eutils xdg-utils gnome2 pax-utils python-r1 udev unpacker versionator
-
-MAIN_PV="$(get_version_component_range 1-3)"
-if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
- MY_PV="${MAIN_PV}_$(get_version_component_range 5)"
- MY_PV="${MY_PV/beta/BETA}"
- MY_PV="${MY_PV/rc/RC}"
-else
- MY_PV="${MAIN_PV}"
-fi
-VBOX_BUILD_ID="$(get_version_component_range 4)"
-VBOX_PV="${MY_PV}-${VBOX_BUILD_ID}"
-MY_P="VirtualBox-${VBOX_PV}-Linux"
-# needed as sometimes the extpack gets another build ID
-EXTP_PV="${VBOX_PV}"
-EXTP_PN="Oracle_VM_VirtualBox_Extension_Pack"
-EXTP_P="${EXTP_PN}-${EXTP_PV}"
-# needed as sometimes the SDK gets another build ID
-SDK_PV="${VBOX_PV}"
-SDK_P="VirtualBoxSDK-${SDK_PV}"
-
-DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
-HOMEPAGE="http://www.virtualbox.org/"
-SRC_URI="amd64? ( http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_amd64.run )
- x86? ( http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_x86.run )
- http://download.virtualbox.org/virtualbox/${MY_PV}/${EXTP_P}.vbox-extpack -> ${EXTP_P}.tar.gz"
-
-LICENSE="GPL-2 PUEL"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+additions +chm headless python vboxwebsrv rdesktop-vrdp"
-RESTRICT="mirror"
-
-if [[ "${PV}" != *beta* ]] ; then
- SRC_URI+="
- sdk? ( http://download.virtualbox.org/virtualbox/${MY_PV}/${SDK_P}.zip )"
- IUSE+=" sdk"
-fi
-
-DEPEND="app-arch/unzip
- ${PYTHON_DEPS}"
-
-RDEPEND="!!app-emulation/virtualbox
- !app-emulation/virtualbox-additions
- ~app-emulation/virtualbox-modules-${MAIN_PV}
- !headless? (
- x11-libs/libXcursor
- media-libs/libsdl[X]
- x11-libs/libXrender
- x11-libs/libXfixes
- media-libs/libpng
- x11-libs/libXi
- x11-libs/libXrandr
- x11-libs/libXinerama
- x11-libs/libXft
- media-libs/freetype
- media-libs/fontconfig
- x11-libs/libXext
- dev-libs/glib
- chm? ( dev-libs/expat )
- )
- x11-libs/libXt
- dev-libs/libxml2
- x11-libs/libXau
- x11-libs/libX11
- x11-libs/libXmu
- x11-libs/libSM
- x11-libs/libICE
- x11-libs/libXdmcp
- ${PYTHON_DEPS}"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-S=${WORKDIR}
-
-QA_TEXTRELS_amd64="opt/VirtualBox/VBoxVMM.so"
-QA_TEXTRELS_x86="opt/VirtualBox/VBoxGuestPropSvc.so
- opt/VirtualBox/VBoxSDL.so
- opt/VirtualBox/VBoxDbg.so
- opt/VirtualBox/VBoxSharedFolders.so
- opt/VirtualBox/VBoxDD2.so
- opt/VirtualBox/VBoxOGLrenderspu.so
- opt/VirtualBox/VBoxPython.so
- opt/VirtualBox/VBoxPython2_7.so
- opt/VirtualBox/VBoxDD.so
- opt/VirtualBox/VBoxVRDP.so
- opt/VirtualBox/VBoxDDU.so
- opt/VirtualBox/VBoxREM64.so
- opt/VirtualBox/VBoxSharedClipboard.so
- opt/VirtualBox/VBoxHeadless.so
- opt/VirtualBox/VBoxRT.so
- opt/VirtualBox/VRDPAuth.so
- opt/VirtualBox/VBoxREM.so
- opt/VirtualBox/VBoxSettings.so
- opt/VirtualBox/VBoxKeyboard.so
- opt/VirtualBox/VBoxSharedCrOpenGL.so
- opt/VirtualBox/VBoxVMM.so
- opt/VirtualBox/VirtualBox.so
- opt/VirtualBox/VBoxOGLhosterrorspu.so
- opt/VirtualBox/components/VBoxC.so
- opt/VirtualBox/components/VBoxSVCM.so
- opt/VirtualBox/VBoxREM32.so
- opt/VirtualBox/VBoxXPCOMC.so
- opt/VirtualBox/VBoxOGLhostcrutil.so
- opt/VirtualBox/VBoxNetDHCP.so
- opt/VirtualBox/VBoxGuestControlSvc.so"
-QA_PRESTRIPPED="opt/VirtualBox/VBoxDD.so
- opt/VirtualBox/VBoxDD2.so
- opt/VirtualBox/VBoxDDU.so
- opt/VirtualBox/VBoxDbg.so
- opt/VirtualBox/VBoxGuestControlSvc.so
- opt/VirtualBox/VBoxGuestPropSvc.so
- opt/VirtualBox/VBoxHeadless
- opt/VirtualBox/VBoxHeadless.so
- opt/VirtualBox/VBoxKeyboard.so
- opt/VirtualBox/VBoxManage
- opt/VirtualBox/VBoxNetAdpCtl
- opt/VirtualBox/VBoxNetDHCP
- opt/VirtualBox/VBoxNetDHCP.so
- opt/VirtualBox/VBoxOGLhostcrutil.so
- opt/VirtualBox/VBoxOGLhosterrorspu.so
- opt/VirtualBox/VBoxOGLrenderspu.so
- opt/VirtualBox/VBoxPython.so
- opt/VirtualBox/VBoxPython2_7.so
- opt/VirtualBox/VBoxREM.so
- opt/VirtualBox/VBoxREM32.so
- opt/VirtualBox/VBoxREM64.so
- opt/VirtualBox/VBoxRT.so
- opt/VirtualBox/VBoxSDL
- opt/VirtualBox/VBoxSDL.so
- opt/VirtualBox/VBoxSVC
- opt/VirtualBox/VBoxSettings.so
- opt/VirtualBox/VBoxSharedClipboard.so
- opt/VirtualBox/VBoxSharedCrOpenGL.so
- opt/VirtualBox/VBoxSharedFolders.so
- opt/VirtualBox/VBoxTestOGL
- opt/VirtualBox/VBoxTunctl
- opt/VirtualBox/VBoxVMM.so
- opt/VirtualBox/VBoxVRDP.so
- opt/VirtualBox/VBoxXPCOM.so
- opt/VirtualBox/VBoxXPCOMC.so
- opt/VirtualBox/VBoxXPCOMIPCD
- opt/VirtualBox/VRDPAuth.so
- opt/VirtualBox/VirtualBox
- opt/VirtualBox/VirtualBox.so
- opt/VirtualBox/accessible/libqtaccessiblewidgets.so
- opt/VirtualBox/components/VBoxC.so
- opt/VirtualBox/components/VBoxSVCM.so
- opt/VirtualBox/components/VBoxXPCOMIPCC.so
- opt/VirtualBox/kchmviewer
- opt/VirtualBox/libQtCoreVBox.so.4
- opt/VirtualBox/libQtGuiVBox.so.4
- opt/VirtualBox/libQtNetworkVBox.so.4
- opt/VirtualBox/libQtOpenGLVBox.so.4
- opt/VirtualBox/vboxwebsrv"
-
-PYTHON_UPDATER_IGNORE="1"
-
-src_unpack() {
- unpack_makeself ${MY_P}_${ARCH}.run
- unpack ./VirtualBox.tar.bz2
-
- mkdir "${S}"/${EXTP_PN} || die
- pushd "${S}"/${EXTP_PN} &>/dev/null || die
- unpack ${EXTP_P}.tar.gz
- popd &>/dev/null || die
-
- if [[ "${PV}" != *beta* ]] && use sdk ; then
- unpack VirtualBoxSDK-${SDK_PV}.zip
- fi
-}
-
-src_configure() {
- :;
-}
-
-src_compile() {
- :;
-}
-
-src_install() {
- # create virtualbox configurations files
- insinto /etc/vbox
- newins "${FILESDIR}/${PN}-config" vbox.cfg
-
- if ! use headless ; then
- pushd "${S}"/icons &>/dev/null || die
- for size in * ; do
- if [ -f "${size}/virtualbox.png" ] ; then
- insinto "/usr/share/icons/hicolor/${size}/apps"
- newins "${size}/virtualbox.png" ${PN}.png
- fi
- done
- dodir /usr/share/pixmaps
- cp "48x48/virtualbox.png" "${D}/usr/share/pixmaps/${PN}.png" \
- || die
- popd &>/dev/null || die
-
- newmenu "${FILESDIR}"/${PN}.desktop-2 ${PN}.desktop
- fi
-
- pushd "${S}"/${EXTP_PN} &>/dev/null || die
- insinto /opt/VirtualBox/ExtensionPacks/${EXTP_PN}
- doins -r linux.${ARCH}
- doins ExtPack* PXE-Intel.rom
- popd &>/dev/null || die
- rm -rf "${S}"/${EXTP_PN}
-
- insinto /opt/VirtualBox
- dodir /opt/bin
-
- doins UserManual.pdf
-
- if [[ "${PV}" != *beta* ]] && use sdk ; then
- doins -r sdk
- fi
-
- if use additions; then
- doins -r additions
- fi
-
- if use vboxwebsrv; then
- doins vboxwebsrv
- fowners root:vboxusers /opt/VirtualBox/vboxwebsrv
- fperms 0750 /opt/VirtualBox/vboxwebsrv
- dosym ../../opt/VirtualBox/VBox.sh /opt/bin/vboxwebsrv
- newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
- newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
- fi
-
- if use rdesktop-vrdp; then
- doins rdesktop-vrdp
- doins -r rdesktop-vrdp-keymaps
- fperms 0750 /opt/VirtualBox/rdesktop-vrdp
- dosym ../../opt/VirtualBox/rdesktop-vrdp /opt/bin/rdesktop-vrdp
- fi
-
- if ! use headless && use chm; then
- doins kchmviewer VirtualBox.chm
- fowners root:vboxusers /opt/VirtualBox/kchmviewer
- fperms 0750 /opt/VirtualBox/kchmviewer
- fi
-
- # This ebuild / package supports only py2.7. Where py3 comes is unknown.
- # The compile phase makes VBoxPython2_[4-7].so.
- # py3 support would presumably require a binary pre-compiled by py3.
- use python && doins VBoxPython.so VBoxPython2_7.so
-
- rm -rf src rdesktop* deffiles install* routines.sh runlevel.sh \
- vboxdrv.sh VBox.sh VBox.png vboxnet.sh additions VirtualBox.desktop \
- VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \
- webtest kchmviewer VirtualBox.chm vbox-create-usb-node.sh \
- 90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py \
- VBoxPython?_*.so
-
- if use headless ; then
- rm -rf VBoxSDL VirtualBox VBoxKeyboard.so
- fi
-
- doins -r * || die
-
- # create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
- dosym ../VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
- dosym ../VBoxREM.so /opt/VirtualBox/components/VBoxREM.so
- dosym ../VBoxRT.so /opt/VirtualBox/components/VBoxRT.so
- dosym ../VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so
- dosym ../VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
-
- local each
- for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,NetNAT,TestOGL,ExtPackHelperApp}; do
- fowners root:vboxusers /opt/VirtualBox/${each}
- fperms 0750 /opt/VirtualBox/${each}
- pax-mark -m "${D}"/opt/VirtualBox/${each}
- done
- # VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
- fperms 4750 /opt/VirtualBox/VBoxNetAdpCtl
- fperms 4750 /opt/VirtualBox/VBoxNetDHCP
- fperms 4750 /opt/VirtualBox/VBoxNetNAT
-
- if ! use headless ; then
- # Hardened build: Mark selected binaries set-user-ID-on-execution
- for each in VBox{SDL,Headless} VirtualBox; do
- fowners root:vboxusers /opt/VirtualBox/${each}
- fperms 4510 /opt/VirtualBox/${each}
- pax-mark -m "${D}"/opt/VirtualBox/${each}
- done
-
- dosym ../VirtualBox/VBox.sh /opt/bin/VirtualBox
- dosym ../VirtualBox/VBox.sh /opt/bin/VBoxSDL
- else
- # Hardened build: Mark selected binaries set-user-ID-on-execution
- fowners root:vboxusers /opt/VirtualBox/VBoxHeadless
- fperms 4510 /opt/VirtualBox/VBoxHeadless
- pax-mark -m "${D}"/opt/VirtualBox/VBoxHeadless
- fi
-
- exeinto /opt/VirtualBox
- newexe "${FILESDIR}/${PN}-3-wrapper" "VBox.sh"
- fowners root:vboxusers /opt/VirtualBox/VBox.sh
- fperms 0750 /opt/VirtualBox/VBox.sh
-
- dosym ../VirtualBox/VBox.sh /opt/bin/VBoxManage
- dosym ../VirtualBox/VBox.sh /opt/bin/VBoxVRDP
- dosym ../VirtualBox/VBox.sh /opt/bin/VBoxHeadless
- dosym ../VirtualBox/VBoxTunctl /opt/bin/VBoxTunctl
-
- # set an env-variable for 3rd party tools
- echo -n "VBOX_APP_HOME=/opt/VirtualBox" > "${T}/90virtualbox"
- doenvd "${T}/90virtualbox"
-
- local udevdir="$(get_udevdir)"
- insinto ${udevdir}/rules.d
- doins "${FILESDIR}"/10-virtualbox.rules
- sed "s@%UDEVDIR%@${udevdir}@" \
- -i "${D}"${udevdir}/rules.d/10-virtualbox.rules || die
- # move udev scripts into ${udevdir} (bug #372491)
- mv "${D}"/opt/VirtualBox/VBoxCreateUSBNode.sh "${D}"${udevdir} || die
- fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
-}
-
-pkg_postinst() {
- xdg_desktop_database_update
-
- gnome2_icon_cache_update
-
- udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
-
- elog ""
- if ! use headless ; then
- elog "To launch VirtualBox just type: \"VirtualBox\""
- elog ""
- fi
- elog "You must be in the vboxusers group to use VirtualBox."
- elog ""
- elog "For advanced networking setups you should emerge:"
- elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
- elog ""
- elog "Please visit http://www.virtualbox.org/wiki/Editions for"
- elog "an overview about the different features of ${PN}"
- elog "and virtualbox-ose"
- if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
- elog ""
- elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
- elog "or else USB in ${PN} won't work."
- fi
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
-}
diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-5.0.40.115130.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-5.1.30.118389.ebuild
index 35395369f003..af542eaeea1b 100644
--- a/app-emulation/virtualbox-bin/virtualbox-bin-5.0.40.115130.ebuild
+++ b/app-emulation/virtualbox-bin/virtualbox-bin-5.1.30.118389.ebuild
@@ -34,7 +34,7 @@ SRC_URI="amd64? ( http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_amd
LICENSE="GPL-2 PUEL"
SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
IUSE="+additions +chm headless python vboxwebsrv rdesktop-vrdp"
RESTRICT="mirror"
@@ -51,19 +51,19 @@ RDEPEND="!!app-emulation/virtualbox
!app-emulation/virtualbox-additions
~app-emulation/virtualbox-modules-${MAIN_PV}
!headless? (
- x11-libs/libXcursor
+ dev-libs/glib
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/libpng
media-libs/libsdl[X]
- x11-libs/libXrender
+ x11-libs/libXcursor
+ x11-libs/libXext
x11-libs/libXfixes
- media-libs/libpng
+ x11-libs/libXft
x11-libs/libXi
- x11-libs/libXrandr
x11-libs/libXinerama
- x11-libs/libXft
- media-libs/freetype
- media-libs/fontconfig
- x11-libs/libXext
- dev-libs/glib
+ x11-libs/libXrandr
+ x11-libs/libXrender
chm? ( dev-libs/expat )
)
dev-libs/libxml2
diff --git a/app-emulation/virtualbox-extpack-oracle/Manifest b/app-emulation/virtualbox-extpack-oracle/Manifest
index 898c0b4385ff..162540f60dd6 100644
--- a/app-emulation/virtualbox-extpack-oracle/Manifest
+++ b/app-emulation/virtualbox-extpack-oracle/Manifest
@@ -1,9 +1,9 @@
-DIST Oracle_VM_VirtualBox_Extension_Pack-5.0.40-115130.tar.gz 19050961 SHA256 ebb29de8962d60760a2f25c318833a1fe163368b824b6b26802b6b284af70585 SHA512 fb27a8efa376b2a51558e0a8dfcb87a7116e950783030c1aab996675c776c46cdf4d4ff35d111f925f6b2b4c6fd070ff80a971fd2f6ce77b857b17898950f5a3 WHIRLPOOL db1ba8492abf791f2244d12b7a62643c02c8c7999c607464e117cc42360c876d9ee83d36ea8860e18912b52171d12291d93fdcc3d3ff18ff05c2b3a4cea5373c
DIST Oracle_VM_VirtualBox_Extension_Pack-5.1.26-117224.tar.gz 19624237 SHA256 14f152228495a715f526eb74134d43c960919cc534d2bc67cfe34a63e6cf7721 SHA512 c6e31e8fb26b8ca32c423d14e85e15f6372a030ec40e9f06ce1e1234913d3586cc58d46819684c99cf3ced37f35d0a964339199cad5cf43580c88bf1afa63ef6 WHIRLPOOL 9b0ceb8ab21ce54a199ac312879ae4bf17b5bbf3bae6d28035436ae8dd8295ea6fa1d8bb3fc095867a017fdcc357b630436dca46d4875bcdd2aad1ce0cfd9d9f
DIST Oracle_VM_VirtualBox_Extension_Pack-5.1.28-117968.tar.gz 19626161 SHA256 1a2551b204bd53a252a75a4653b983427bb15d473bc77b14149c7870ce049871 SHA512 71c6ce267c14303bbd9e386ea849d37aeb569afff848054deced4c74fd6fffca83c96b392d066f684b7101a786cc7d24cf9308114c08cbb77b26bb07bf23fcf8 WHIRLPOOL c6fd42f422dca4db4165ff18da0054aff5c0d275850dec4002fb70e8e4248f8f5cffc87697b0802343ebff29cf62938f298df365f9ce19523092d418206deff9
-EBUILD virtualbox-extpack-oracle-5.0.40.115130.ebuild 1085 SHA256 6a7d0f369c7dcbc946b6e8042008144c2cf916e345920760460606bf11d04c1f SHA512 a018d8881652c86d254cb87b68bd134d51930009f815001a6e06a3f40539305dcc3846395f8f59312506a74a9e517c0bb63c1a22d53be60b14a999f66617b79a WHIRLPOOL cb02913b59882c0c81e3cfcabca8d12bf2744c379a22230a0bd0308ed721921d0f641f819aa94aa0bfa253dffe8ff74264f2835ceedc668e45025c0da55c954d
+DIST Oracle_VM_VirtualBox_Extension_Pack-5.1.30-118389.tar.gz 19624724 SHA256 2da095e32f85fe5a1fe943158e079bd5aecb2724691c4038bd619ddee967b288 SHA512 6b468879f0fb6d6f916c40fb60f418457c526c20ebb1a6253bfc38392e0ae965e3b54590173b0d974070ced1646db82035950fb7dd54b22e20f4ad29850d6cf4 WHIRLPOOL e66bcfae1f022119e58c819094a79acafe4534278a8cf7d242e0355b6bcd045e7b6697c07ecb0f2dd4924fadf2996d8a5e01fbf2d17e38ed74a120dbc578969c
EBUILD virtualbox-extpack-oracle-5.1.26.117224.ebuild 1085 SHA256 6a7d0f369c7dcbc946b6e8042008144c2cf916e345920760460606bf11d04c1f SHA512 a018d8881652c86d254cb87b68bd134d51930009f815001a6e06a3f40539305dcc3846395f8f59312506a74a9e517c0bb63c1a22d53be60b14a999f66617b79a WHIRLPOOL cb02913b59882c0c81e3cfcabca8d12bf2744c379a22230a0bd0308ed721921d0f641f819aa94aa0bfa253dffe8ff74264f2835ceedc668e45025c0da55c954d
EBUILD virtualbox-extpack-oracle-5.1.28.117968.ebuild 1087 SHA256 7d2d78d2681ba512d69ff1d96ae0d1dd1df8ad7765f5d1901a7e0e20ede0a459 SHA512 dcf3ae05bd9bad1806fed11baa6a182971f2dfd448b7b015cd5191d984dc1f8335b206030feac3fc64e1e21a9d55ab1ad5c4f6d9ed806cb25770c92f1eb110d9 WHIRLPOOL abe34a8136c4955c1318b2cc190f5c779d7f5de472df469faf307311d4628e461103bec9d7206cce79fb9a441e876c09f3cb48931babb1a116eccd6aa0bfd64d
+EBUILD virtualbox-extpack-oracle-5.1.30.118389.ebuild 1087 SHA256 7d2d78d2681ba512d69ff1d96ae0d1dd1df8ad7765f5d1901a7e0e20ede0a459 SHA512 dcf3ae05bd9bad1806fed11baa6a182971f2dfd448b7b015cd5191d984dc1f8335b206030feac3fc64e1e21a9d55ab1ad5c4f6d9ed806cb25770c92f1eb110d9 WHIRLPOOL abe34a8136c4955c1318b2cc190f5c779d7f5de472df469faf307311d4628e461103bec9d7206cce79fb9a441e876c09f3cb48931babb1a116eccd6aa0bfd64d
MISC ChangeLog 14467 SHA256 65ad667aabd9d63515672a1cd94c0c09252741c0e874b41de5870a09e87437c9 SHA512 b386b1b603bca9aa43637c0e6349a2681ada7ce2b8bcfba437e235ec1bce1a9c95d34474578b84464da7194181948f49e51dfa70d1e8ed504b6bff41cfe85b94 WHIRLPOOL 4ebcffb027e96febc927fcfe7e3ae74ece5c9220a88e56bdf66495652107d168601a3bb7f4235754bbfa4349eb3f19d6d02915c690cf586b2bca83e501f3d185
MISC ChangeLog-2015 15802 SHA256 209e7f9dafc2f1ff1a37ce56665ebdc1d928a9c5bfae300c4ebea676c194c940 SHA512 765eb86a6b38b0dfc553e67175aa32608acb984a6b82b2dfc90ae2266492b90c4b5daec355e9e5b50283178ca3539d7e71d535327caca33fe5b7ce47a700f7c5 WHIRLPOOL 3698a1a132418be5858896f513e26b7d1c3acd5991e8c8a3f802d7972e755e64702c5d4f4fcacdf70cf86759450f7b335f58b30b190093184be7939671260965
MISC metadata.xml 407 SHA256 a07752ac478a75b8186129fcab7d7fc7b239adf7a03d52a275a1d61c66b54aa6 SHA512 e28c65e666d3f78cc8752c3f8af0d7e5494b4a2f93fdc98cf71110424aa9a72b68ee40aa299c46a7048d375a1f52bd0f03efd12d5e88226a4934989e7634afc2 WHIRLPOOL 38d004ad7163b0ba06c7b86c4e02612a94ff449f1d8a0be61fe705bd1a4bd8c88c8cab27fd5103110663f7b0de9f131b204aa92b7c3584cef93f0bde957c7248
diff --git a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.0.40.115130.ebuild b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.1.30.118389.ebuild
index 3c6c739d35e3..4d09c1248e68 100644
--- a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.0.40.115130.ebuild
+++ b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.1.30.118389.ebuild
@@ -25,7 +25,7 @@ SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.vbox-extpack
LICENSE="PUEL"
SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="mirror strip"
diff --git a/app-emulation/virtualbox-guest-additions/Manifest b/app-emulation/virtualbox-guest-additions/Manifest
index c389a1f5d6df..cbc034069ea6 100644
--- a/app-emulation/virtualbox-guest-additions/Manifest
+++ b/app-emulation/virtualbox-guest-additions/Manifest
@@ -4,15 +4,14 @@ AUX virtualbox-guest-additions-5-localconfig 937 SHA256 eb62978e90ce925df841822c
AUX virtualbox-guest-additions-8.initd 538 SHA256 6be7c321b362054aefef183f0c4b8404ea64d4232154756ddc79de1fca067952 SHA512 e01579b0ce980517a7b9e163915977a58c73594cf4c8484d20941449b9a21a4346ab1bb031b248ee438b350fa23b4bc78a1d6e501986b329564a4df487f5d3ca WHIRLPOOL 59cf99a3ca4c1df867a1399d6017a8d35ed7b323c698ce076cae4b83f8dc09ff6ece75bf69a37fed579bf9b1761a0064f24d10cdf85e093ad896f745bb42bc0f
AUX virtualbox-guest-additions.service 411 SHA256 0b50116819c60f27ab0f9b171e00434f0be2cff8e6656af9e00229f6e07c2118 SHA512 b6226146f3591a778551e94ae2661e2ae3c6b761d20600d741eaaa03f43f0a2b841d2a44d9eec3a3768edb23b021cee94c7849d998ee4104ad60dad2df88df83 WHIRLPOOL 1e4e37ba43532340f8a7e344a69241e9e3ec7ce10d07ad3c30edad01270bfa42e8a86f38b48a6d98d0e19f3ddb910740a88e4da9ad23dc879abc2f05ddf4fba0
AUX xorg.conf.vbox 274 SHA256 69475950240533abd2824a30ff08cc7d3ea246d9601ff7163115f8fc100612fb SHA512 ac2b14970dc6667ceec2dbdae52bc92cbad4aff020898ede156454e8a8a703354f15c7e19cfbd2bdd15e251493fd05cacfe814cabee0f9b4cf155e44860ed4c9 WHIRLPOOL 6bd0dba97e442c831451d58f85e5ce3bdf37fc90254db54cffbdbafe1521464e0e4aed89dd610d432c8b26dc48b98f120fd81594bded2dbb10c5eb7d7b26f938
-DIST VirtualBox-5.0.16.tar.bz2 111062984 SHA256 f5a44d33a1db911f445b2eb2d22d9293a96a535cba488b5a235577ef868fa63c SHA512 3da3a227360fb50d299e99770378f65e8cb99525377343fa8faff2360be66643d46f68323d6a8b8d4d26182082f171bb35ab2497167bf6df18827a5ea7742074 WHIRLPOOL ea709057c588f28820790c2b193decba9ee0c57e0f82aa4361ca87aef661315182e18b5ee29558e47ed92f6037eb91befa5390680661a7b9f2248c7819b4a85c
-DIST VirtualBox-5.0.40.tar.bz2 112997095 SHA256 e4275b7ada40b358e6e3bd1231b3a320aa06c72ae301283cac5adb42eaa8e4b5 SHA512 70cd4355591c5aed82148954bf55637a5dcdd1a5177dba78192e7c6eadfbf3f7023f352ba8f89d9eb3c3fc55b049f7c76af6bc94e04d1766d7fbe39e51a1393c WHIRLPOOL 9f471e63814c9d48063857f3b95410f5acdd4a3bd2716c525f2449f1eae95d0e91dbe5422374a49f31f8219daa155f716455f0259d131d93afb5cd9e13a7d467
DIST VirtualBox-5.1.26.tar.bz2 115915813 SHA256 b5715035e681a11ef1475f83f9503d34a00f0276b89c572eebec363dda80c8a9 SHA512 680e9646a51a0a5923b3ded10007ee1c1e2a41c6d8a961d2b2540db6578bed2847154f4cac87e3cfe1118a62595b47c7df99da854f6c340e173b9eb8cacf2add WHIRLPOOL 9d7950ec3ec2cd9b8aaa0ea319f9f5089eed7d2cd2879d313426b448a27570b5582235aa46c5ad5a0fd4d0b967f8d58a963f001549232136d6a8609262af71d0
DIST VirtualBox-5.1.28.tar.bz2 116427658 SHA256 ce7d4bf6535f70e3214abeb4866f7a8634aa3c7b6dedf8825e6ad80bd821398d SHA512 5c21fd535424d7fd9adbb51894ec6d37ecf00a63a850362bd7b61fedca5031e096641814130a97ad839c0bd7089dc3dc465509615aab2af3c5735ff71005670a WHIRLPOOL 2e3fbeb39083c2e69fb23200570781a8845780a6295553af48fa9155db132e37d0fc2fb26e8a45c52864f69f02e8a0d0cbd4c895e5fbb87ab9a51dd60c7c7904
+DIST VirtualBox-5.1.30.tar.bz2 116510730 SHA256 6059b0986c9cdacc533177867634a76331ceccdcd46dddd111a50d1c42846d0b SHA512 6c44d9593f4815644a484b306e621fe7eca224002f85d89c00f2470300f2c78dbfe50ffda61d2c2465df14ca77c70a2ab86f1a05116feeee9f5833857eb18dee WHIRLPOOL dc1701211cc8247cb23800557cf7e2d34e5063806c5b22cd2c38454531ca390902fd6a764bfc17d14d33ec055de2d924853c9ed6c3ba29fb7998455f06109b6f
DIST virtualbox-5.1.24-patches-01.tar.xz 2708 SHA256 8ea5e08da07d555a4868abf6f4d689c2f6695bdb773010a01915fcc6c354f361 SHA512 0028e593818013f809831ac5a73eec63988c0aefb4b309fb3c928efbea8db8b8f46bd7c82f156396adc704f0567474df262dfe9bb6e09af0b2c23528fe2c6e2d WHIRLPOOL 5a1af78c2767608d2b1c2a4b262dbce038d2b6ed9d0499eb60ac1eb64fd6b832efdbafc2b85881ac67efd8794adcc3490fcbf61b74ad7ae576d52e8aff597b04
-EBUILD virtualbox-guest-additions-5.0.16.ebuild 5822 SHA256 ff1cd0ddf3977aa913d64fb1ee609da761b85d9f23914a8b2246fb67c4c85d44 SHA512 c9050e6db8d994590ca6bc1451faa8c27de0f3e5eac28fc6e549896602c3bdc3fd5d3ed1825ecd570d297597082f3955a86d0fb4d68b97a0621d62a539d91d4d WHIRLPOOL b78a14608827880d10a2f89f462593676e1dffd59e90d0e00aceaa319b4af9a05311cdfb95ffff423693b8ab7f0f5df3b511ed61cf8c1074600b0956e90b3dfe
-EBUILD virtualbox-guest-additions-5.0.40.ebuild 5923 SHA256 5bd5d48347467f7f8ee38f7164128f33770febc85dbd8fa1029c415ca586d434 SHA512 d772c07861a97daefcc64df711d7bde81916a3c1bacb9a4fa4611b894bb996f8f5a4a5789d3248f486c516e74cf7edfc49fe8bd7a27c62c673127e66c3151975 WHIRLPOOL b6504e6307713ef44fb2caeb382a42a625c24a76296596fdb235545584a287f9e469d426927441055927c1b638293a74b7a001c31ded76bde02b411877f7d744
+DIST virtualbox-5.1.30-patches-02.tar.xz 2608 SHA256 25922641e19911fe41d63a348702ed2dcab2ef79379ea236c5da6c36f77a75a5 SHA512 8a490f7cc44e40262fc47819736251c177adb635256794e9500f52729197c85211d5b0c0d000268089953a4c185872a8ba03c5d42df6b80f05eac8b81335320a WHIRLPOOL 3a7ebadf5cc8ba71fe4e4fe43d529ce72dbe95c40838d66112418ad335cb1b1cf7b6aa37fa71ccc6d50044486cb0eef52e59567530935e5a0ed83e9c3f67ec36
EBUILD virtualbox-guest-additions-5.1.26.ebuild 6048 SHA256 62d3139ed1475c02689e1965a76a56ce9b1eccd2d08467065716862eacdc6494 SHA512 490852f4835df995de2160e565d9e87bfb0b51c06b3bb30a2a7abc871d75d2724e7edd820a600b0455adb6d2fad7a39d1ed3a84be538c0d535a011ea8c026578 WHIRLPOOL 8137ae3fb46e651c38efef0cab258a5ad23a40a901ad99cafdfaf4b6ca5b315e7faa99fa4687ba3432af2de913e70dbff1ca964f1da8780d2a2baaeadfa208b7
EBUILD virtualbox-guest-additions-5.1.28.ebuild 6050 SHA256 ad1f1c8cd3333d9f4ff5e2e36ada65ac0912374f20df98431636bb746d5f8db8 SHA512 a2f9afaf104f601a1440580715f13d30b916cd0599631f574e66750acad04abe6ae0531de4f659bfdc8786822d1025b146b50434ec97e1fe76778d54eadde5aa WHIRLPOOL ec417545417659321901ea38b109b580626bdb2fa17dfe84254e7f30b802ec572a90dd34d5f06a73b9c258638332b4e6e549ef32b57b535f2c6ed9a3e978b6a8
+EBUILD virtualbox-guest-additions-5.1.30.ebuild 6050 SHA256 4cd9684008607fbd0909923bb9313097c1b6fbd641df6d58aac8d6d57a9dd3f2 SHA512 afa2e7db59c36f9e0d579777d1f446215e2d48b3414ef7ee2ae51e8e464c1f2b51ae4bfcb1b565329c0f41ffc253ec5a76cd87a8d78c1945d87e162e53ac1eba WHIRLPOOL 391bd1f089c7bd8b6c5d9f146b085fdc5b12a476e74162eb287602ba2fe30073d8a456f0b14f64809ad6dedd14831f099a28ccb92814ed6feaaa7e347c29c0c5
MISC ChangeLog 11970 SHA256 d77a0dda1714fe3b9ea29b755e8687253d5ae1784c99749adcbeb0d8841c0888 SHA512 ad4718081ccff3c8c0b3997bfe5939731537f57c214242481cdd61437cd62d7d8bc42d0959fafd573f8f714d8e42fd2d097b0ecf334a4c26e96a2098a901ae93 WHIRLPOOL 141849515d9dcbdd018e943c906ba4b1862228f9051e7eb8c1eb559ff9adc5e84111c4ed6e4ec5b4e18d60f50e28ed6ee138adb66246993982df4eea4567eb2b
MISC ChangeLog-2015 39779 SHA256 8c71f1b8454c0467a5d3b7e4ea66faac6a8247faff68a6b7af629f69aeca9d58 SHA512 90c70074b7227f2314bf820a832538c308d2c2c063a6e4a6fe5e1ed7dac9f5bc9fecfb02d9f2e7e25d2366a644861c177945ccbcbddd1111939dea28c1b0146a WHIRLPOOL 6487ee2e3d2a1b3abb9d2f37ac5638a61eaa8040a937a7548f6a67db8ddb8b680eb22c409592c1a0e66d656cdd82f0ee8f283bff530773897c8cbccdcd9bdd97
MISC metadata.xml 407 SHA256 a07752ac478a75b8186129fcab7d7fc7b239adf7a03d52a275a1d61c66b54aa6 SHA512 e28c65e666d3f78cc8752c3f8af0d7e5494b4a2f93fdc98cf71110424aa9a72b68ee40aa299c46a7048d375a1f52bd0f03efd12d5e88226a4934989e7634afc2 WHIRLPOOL 38d004ad7163b0ba06c7b86c4e02612a94ff449f1d8a0be61fe705bd1a4bd8c88c8cab27fd5103110663f7b0de9f131b204aa92b7c3584cef93f0bde957c7248
diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.0.16.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.0.16.ebuild
deleted file mode 100644
index 8f9b4fb18a6b..000000000000
--- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.0.16.ebuild
+++ /dev/null
@@ -1,216 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils linux-mod systemd user toolchain-funcs
-
-MY_PV="${PV/beta/BETA}"
-MY_PV="${MY_PV/rc/RC}"
-MY_P=VirtualBox-${MY_PV}
-DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
-HOMEPAGE="http://www.virtualbox.org/"
-SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="X"
-
-RDEPEND="X? ( ~x11-drivers/xf86-video-virtualbox-${PV}
- x11-apps/xrandr
- x11-apps/xrefresh
- x11-libs/libXmu
- x11-libs/libX11
- x11-libs/libXt
- x11-libs/libXext
- x11-libs/libXau
- x11-libs/libXdmcp
- x11-libs/libSM
- x11-libs/libICE
- x11-proto/glproto )
- sys-apps/dbus
- !!x11-drivers/xf86-input-virtualbox"
-DEPEND="${RDEPEND}
- >=dev-util/kbuild-0.1.9998_pre20131130
- >=dev-lang/yasm-0.6.2
- sys-devel/bin86
- sys-libs/pam
- sys-power/iasl
- X? ( x11-proto/renderproto )
- !X? ( x11-proto/xproto )"
-
-BUILD_TARGETS="all"
-BUILD_TARGET_ARCH="${ARCH}"
-MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
- vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
- linux-mod_pkg_setup
- BUILD_PARAMS="KERN_DIR=${KV_OUT_DIR} KERNOUT=${KV_OUT_DIR}"
- enewgroup vboxguest
- enewuser vboxguest -1 /bin/sh /dev/null vboxguest
- # automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist
- enewgroup vboxsf
-}
-
-src_unpack() {
- unpack ${A}
-
- # Create and unpack a tarball with the sources of the Linux guest
- # kernel modules, to include all the needed files
- "${S}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz"
- unpack ./vbox-kmod.tar.gz
-
- # Remove shipped binaries (kBuild,yasm), see bug #232775
- cd "${S}"
- rm -rf kBuild/bin tools
-}
-
-src_prepare() {
- # PaX fixes (see bug #298988)
- pushd "${WORKDIR}" &>/dev/null || die
- eapply "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch
- popd &>/dev/null || die
-
- # Disable things unused or splitted into separate ebuilds
- cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die
- use X || echo "VBOX_WITH_X11_ADDITIONS :=" >> LocalConfig.kmk
-
- # stupid new header references...
- for vboxheader in {product,revision,version}-generated.h ; do
- for mdir in vbox{guest,sf} ; do
- ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
- "${WORKDIR}/${mdir}/${vboxheader}"
- done
- done
-
- # Remove pointless GCC version check
- sed -e '/^check_gcc$/d' -i configure || die
-
- eapply_user
-}
-
-src_configure() {
- # build the user-space tools, warnings are harmless
- local cmd=(
- ./configure
- --nofatal
- --disable-xpcom
- --disable-sdl-ttf
- --disable-pulse
- --disable-alsa
- --with-gcc="$(tc-getCC)"
- --with-g++="$(tc-getCXX)"
- --target-arch=${ARCH}
- --with-linux="${KV_OUT_DIR}"
- --build-headless
- )
- echo "${cmd[@]}"
- "${cmd[@]}" || die "configure failed"
- source ./env.sh
- export VBOX_GCC_OPT="${CFLAGS} ${CPPFLAGS}"
-}
-
-src_compile() {
- MAKE="kmk" \
- emake TOOL_YASM_AS=yasm \
- VBOX_ONLY_ADDITIONS=1 \
- KBUILD_VERBOSE=2
-
- # Now creating the kernel modules. We must do this _after_
- # we compiled the user-space tools as we need two of the
- # automatically generated header files. (>=3.2.0)
- linux-mod_src_compile
-}
-
-src_install() {
- linux-mod_src_install
-
- cd "${S}"/out/linux.${ARCH}/release/bin/additions || die
-
- insinto /sbin
- newins mount.vboxsf mount.vboxsf
- fperms 4755 /sbin/mount.vboxsf
-
- newinitd "${FILESDIR}"/${PN}-8.initd ${PN}
-
- insinto /usr/sbin/
- newins VBoxService vboxguest-service
- fperms 0755 /usr/sbin/vboxguest-service
-
- insinto /usr/bin
- doins VBoxControl
- fperms 0755 /usr/bin/VBoxControl
-
- # VBoxClient user service and xrandr wrapper
- if use X ; then
- doins VBoxClient
- fperms 0755 /usr/bin/VBoxClient
-
- pushd "${S}"/src/VBox/Additions/x11/Installer &>/dev/null \
- || die
- newins 98vboxadd-xclient VBoxClient-all
- fperms 0755 /usr/bin/VBoxClient-all
- popd &>/dev/null || die
- fi
-
- # udev rule for vboxdrv
- local udev_rules_dir="/lib/udev/rules.d"
- dodir ${udev_rules_dir}
- echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
- >> "${D}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
- || die
- echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
- >> "${D}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
- || die
-
- # VBoxClient autostart file
- insinto /etc/xdg/autostart
- doins "${FILESDIR}"/vboxclient.desktop
-
- # sample xorg.conf
- insinto /usr/share/doc/${PF}
- doins "${FILESDIR}"/xorg.conf.vbox
-
- systemd_dounit "${FILESDIR}/${PN}.service"
-}
-
-pkg_postinst() {
- linux-mod_pkg_postinst
- if ! use X ; then
- elog "use flag X is off, enable it to install the"
- elog "X Window System video driver."
- fi
- elog ""
- elog "Please add users to the \"vboxguest\" group so they can"
- elog "benefit from seamless mode, auto-resize and clipboard."
- elog ""
- elog "The vboxsf group has been added to make automount services work."
- elog "These services are part of the shared folders support."
- elog ""
- elog "Please add:"
- elog "/etc/init.d/${PN}"
- elog "to the default runlevel in order to start"
- elog "needed services."
- elog "To use the VirtualBox X driver, use the following"
- elog "file as your /etc/X11/xorg.conf:"
- elog " /usr/share/doc/${PF}/xorg.conf.vbox"
- elog ""
- elog "Also make sure you use the Mesa library for OpenGL:"
- elog " eselect opengl set xorg-x11"
- elog ""
- elog "An autostart .desktop file has been installed to start"
- elog "VBoxClient in desktop sessions."
- elog ""
- elog "You can mount shared folders with:"
- elog " mount -t vboxsf <shared_folder_name> <mount_point>"
- elog ""
- elog "Warning:"
- elog "this ebuild is only needed if you are running gentoo"
- elog "inside a VirtualBox Virtual Machine, you don't need"
- elog "it to run VirtualBox itself."
- elog ""
-}
diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.0.40.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.1.30.ebuild
index 6e24c6b0f084..d37a6f291d30 100644
--- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.0.40.ebuild
+++ b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.1.30.ebuild
@@ -10,11 +10,12 @@ MY_PV="${MY_PV/rc/RC}"
MY_P=VirtualBox-${MY_PV}
DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
HOMEPAGE="http://www.virtualbox.org/"
-SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2"
+SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
+ https://dev.gentoo.org/~polynomial-c/virtualbox/patchsets/virtualbox-5.1.30-patches-02.tar.xz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
IUSE="X"
RDEPEND="X? ( x11-apps/xrandr
@@ -92,6 +93,8 @@ src_prepare() {
# Remove pointless GCC version check
sed -e '/^check_gcc$/d' -i configure || die
+ eapply "${WORKDIR}/patches"
+
eapply_user
}
diff --git a/app-emulation/virtualbox-modules/Manifest b/app-emulation/virtualbox-modules/Manifest
index 552a5a0ba266..f0e3472885d5 100644
--- a/app-emulation/virtualbox-modules/Manifest
+++ b/app-emulation/virtualbox-modules/Manifest
@@ -1,14 +1,12 @@
AUX create_vbox_modules_tarball.sh 896 SHA256 4309bbf762e05ae09a2b92a737abddb89807b5a36f587178d7ac7f6ad4d91316 SHA512 c3154a13550817c581fa142e24081edfbdbc145315d34cc4569d12ad87a518fa0bf1443c053b50fdfdea6915bda1325ad973455ee85079294b83a49fd53f4771 WHIRLPOOL 761079d4ba0124488be9cc78305eef6c6df18d232c539ff4479caf3f04ea307e043c92a5f4099c7745a4e23741ce28259e87dd79bce8cee6862ef5e0661b2497
AUX virtualbox-modules-4.1.4-pax-const.patch 2335 SHA256 d23da93fa1a3b7833766caa8329745ed7de7a5ed6ce1fecb090325fdc83e42f3 SHA512 8f5ffcd53f34e616b895013660e269e6031837411471abf69711df4fd5d745299dcb08d361eda0979dcfde7d9aafa0d24c99fcc9f3875fbf35771945f6b224a1 WHIRLPOOL b875d0747bdf3c2970d9dc84c7e4f6fac1bd37b85ba6086a981397c8b506a7af2709fa94317896650fd9ae98921d40f399e589b851eb2da2f9854eb1f443930c
AUX virtualbox.conf 38 SHA256 eb1ba5b5f8a2b795e3b050105a2f24cb5df9d392c6c4a3a9756e17f74ffeb146 SHA512 b61936fff57426d31efa6928eadb572cafe40a65d3e31a0eecb53dc784ba9d0a9e0ad5e419df74418b977f89c17873240c38e2ada95949e5252d879110d6094a WHIRLPOOL cadd73f81d8ddb545fb31ec2328103f998e5754d6f7fe63de7e72987992d49cb84c309b52e852cc221c078a39f1ec542662fc68b200478a6cec8e12881aee8bb
-DIST vbox-kernel-module-src-5.0.16.tar.xz 593944 SHA256 8905e174069a6caf0200808fda6726704a947ab56fc48c3b6ebbf8831dde4123 SHA512 5311f6cfd917c04bcb51182ad414c0930fb85a73a90d81156f08640cdb4e4d442ed46a10b62b5d07ed81aa1ad65430d5186e95cc64293502c9b84937a6470bb4 WHIRLPOOL daf741cd8465ce65ae0e3f304b7c49d55be828da5fc285ac3a2b8e6fc7e68865b184b738a79fa7fbf1e106d647200a40224902ef7041e4dd5ab2c9ef054e4199
-DIST vbox-kernel-module-src-5.0.40.tar.xz 601604 SHA256 fb5dd2a62e1a53266f32c35523fa5ccc1d7928d4867c92637ef7368686acb70d SHA512 1236b16f2138872233a1a4f8933ec8803c7a15370cfadc148d338c803da572480d978d6be4b2512c3c80f7ee77cfef3d0a939b876ba9c53afbd267b24e2bfa65 WHIRLPOOL 59916e48536e1711cf0d98fecd3fe3ea0cce4b2eec622d34e5e52f20b05adb45dc627f4de5e55cfc92e2669b0fe71d4e1ba361d911d51da5bad3d80c42a66d24
DIST vbox-kernel-module-src-5.1.26.tar.xz 625384 SHA256 5ba4f728c5b62c3d93828d99c5b54b8fb24a16bc8674e704714c4f71eb95ddc4 SHA512 c77e0d8dfade2abac95162e7e7a424be4875e44d43bcf2a13e0e50caa69f5fd0d21c77f03bb2cd4cbd5df4ab31e9fbd49ecd9220a49af8cd10081b960e014010 WHIRLPOOL 519246aeae6637cb8eb4b841552dc5e63f9a3d761fa6bcec43601c8a3194264457e4e78d200e975e31266af2944aa81f7487cf389f43d93db08f60a700a7758e
DIST vbox-kernel-module-src-5.1.28.tar.xz 625464 SHA256 d6f3b7afa98d2b526d8da3c8906addc307eea069db371d012ebbffc1ccdf9dd2 SHA512 c8ae6c065ad42e57eee9a54f288ba60fd9b32efe18cb74c8a035d547b30e7d857c9091307485a8dfc77eec45de29d3217c6871140e167e2438759c314c47680a WHIRLPOOL c6508d63cacfcd3ac901f276cd793dc83c595bc73965518baa544b5cf5157ea52363b759f03586f743d6c2e0fda7252b98136c96cef28ecfb31f6915d4ce5709
-EBUILD virtualbox-modules-5.0.16.ebuild 1658 SHA256 29ad421687c251f40743d974fbe413bb1a8363124c9279641179f82fce3b1406 SHA512 8d14149d1aaaacc254f538d323f86e6442f928534ed026edbd2605fec70f4d99bbdf881c4f5925e1e3885266f4b10be6931d48b56a97062107e61ef44ffe17d4 WHIRLPOOL 017ab643243b5f148e117cd880621435cbbb7451319153a5f6bd5f900990505e1fed687998487b5bfe325f99b6c2ab359b0bc41bbc18f9d486e91c7753caa0e3
-EBUILD virtualbox-modules-5.0.40.ebuild 1656 SHA256 b1ec82bb3097e17ce244d2814b6b54dd01f455bb7d4eac7847bc9d30cdddf3eb SHA512 bdb8d8f9f6ef4db63fb6039b136e49d5e7e52cff9a6ed476ad404c81d161655d9458caa267c8705ed4bfb84bf1677622584973f6b0adb413601d57810fab6690 WHIRLPOOL 56557c299ff5c90a6c922189bf78366ec372afe256f1d5a57f174f78845874c03337c79db3472cec3adc9f1bf1e55f347592a478cd615f5e8c3801a5d4100cdf
+DIST vbox-kernel-module-src-5.1.30.tar.xz 625424 SHA256 879b1bc45b9f1a3fd929d2fd2e67dcaffe4074839f6364bf0e64618bfe2b3b2e SHA512 8e2113584e63e2ace71b708dc77428fd09167a1bded12b47312a5a8f85ef448e17f76b4300dba4c8ec99d7f8cb278cef039c6282c676e35b8f200bafb5c4770a WHIRLPOOL aa6fc3a0516514c2ca0c39ea28200559582fdd648e96084a5ca1daabfd1f478312199576ad27336eba124b443fbe122364efde2c60ca3386872cd1274333f4df
EBUILD virtualbox-modules-5.1.26.ebuild 1656 SHA256 b1ec82bb3097e17ce244d2814b6b54dd01f455bb7d4eac7847bc9d30cdddf3eb SHA512 bdb8d8f9f6ef4db63fb6039b136e49d5e7e52cff9a6ed476ad404c81d161655d9458caa267c8705ed4bfb84bf1677622584973f6b0adb413601d57810fab6690 WHIRLPOOL 56557c299ff5c90a6c922189bf78366ec372afe256f1d5a57f174f78845874c03337c79db3472cec3adc9f1bf1e55f347592a478cd615f5e8c3801a5d4100cdf
EBUILD virtualbox-modules-5.1.28.ebuild 1658 SHA256 67e799ce3dcd804e17b1add98fc6145c3a1e087c0d41cff39fa36900f75dacdf SHA512 b4733d729c837c9aaf0c2038a0b2fb6fcc845c56a6cea6d9e1ed9f4f28c995b2d71ee288d031a1cf45017fcf99054f9a01d33be70d6a5a35774732cb98d49209 WHIRLPOOL 8495ba85efdfea2309386aa698938f7127f8fa96922976f302ae59ba7c8752aa6a3102b1627dbaa2ebad501be8d97468053e08b751fd4db9f3a15380260565e8
+EBUILD virtualbox-modules-5.1.30.ebuild 1658 SHA256 67e799ce3dcd804e17b1add98fc6145c3a1e087c0d41cff39fa36900f75dacdf SHA512 b4733d729c837c9aaf0c2038a0b2fb6fcc845c56a6cea6d9e1ed9f4f28c995b2d71ee288d031a1cf45017fcf99054f9a01d33be70d6a5a35774732cb98d49209 WHIRLPOOL 8495ba85efdfea2309386aa698938f7127f8fa96922976f302ae59ba7c8752aa6a3102b1627dbaa2ebad501be8d97468053e08b751fd4db9f3a15380260565e8
MISC ChangeLog 15585 SHA256 1150b2d0c819fdc67b6af69698fc4b82dcfb2d47e4cd5ebd0360caf4502b2ae3 SHA512 976c36a658a36301093c65cb28454adaf1d35545e4c96c4d4484769a9c8fcdd970aa47562819ae8709082a7f4dddaa8f3054cb1eece9d0467d114b2c73b40de8 WHIRLPOOL 07e6b4bad2dfa2062ea8e3210db82c9899860ff22797c5997ed02a9521fe20e85bf0e3e99fddde5605e16b80e3bc11e0c521e1a043addbf898ec35cc2f760491
MISC ChangeLog-2015 29882 SHA256 f6ea3807c5c0ef811678bc4f3181b0c2b66e6bcc26dd8ed7c77ce81b56aebf52 SHA512 e20127bc643d6e0a34ed78dfbfcf221039d268bcf92dbefc517e274045ee28ccf532d201931bf7bca309417e8a2f0b88f52cad07895143ae1ec1525dfaceadb2 WHIRLPOOL 50174a725fa49c1b83a86552b8b452a2741f5d0e8f0bb6403626ffe4548aab5b4e64f9b9dc57dd287fe2d113b3a6141840a60cead31f5a721c9595d8eae8256a
MISC metadata.xml 502 SHA256 0d9c3daad11ea6f866d7600d188621b46992e253faaff2041c2d05206daac239 SHA512 399c87acfd980b7dc29b42d7eeeead868bc8e9efc085f23aa97507d9da6f4af272e747172c4d5d6c1dfe15dc125193a72a5d6ca47ec82615345e239ff26246e4 WHIRLPOOL 080399fd9fb91197af76e134ef7081c8f6fe04ddf00b09c206bd8b3f45a3e558235ce63e25917602e2bba95a974e5f6818f1e7b9e596a4e37cc961c271671b3d
diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.0.16.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.0.16.ebuild
deleted file mode 100644
index 8aab1453509d..000000000000
--- a/app-emulation/virtualbox-modules/virtualbox-modules-5.0.16.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# XXX: the tarball here is just the kernel modules split out of the binary
-# package that comes from virtualbox-bin
-
-EAPI=6
-
-inherit eutils linux-mod user
-
-MY_P=vbox-kernel-module-src-${PV}
-DESCRIPTION="Kernel Modules for Virtualbox"
-HOMEPAGE="http://www.virtualbox.org/"
-SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="pax_kernel"
-
-RDEPEND="!=app-emulation/virtualbox-9999"
-
-S=${WORKDIR}
-
-BUILD_TARGETS="all"
-BUILD_TARGET_ARCH="${ARCH}"
-MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})"
-
-pkg_setup() {
- enewgroup vboxusers
-
- CONFIG_CHECK="!TRIM_UNUSED_KSYMS"
- ERROR_TRIM_UNUSED_KSYMS="The kernel option CONFIG_TRIM_UNUSED_KSYMS removed kernel symbols that are needed by ${PN} to load correctly."
-
- linux-mod_pkg_setup
-
- BUILD_PARAMS="KERN_DIR=${KV_DIR} O=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1"
-}
-
-src_prepare() {
- if kernel_is -ge 2 6 33 ; then
- # evil patch for new kernels - header moved
- grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:'
- fi
-
- if use pax_kernel && kernel_is -ge 3 0 0 ; then
- epatch "${FILESDIR}"/${PN}-4.1.4-pax-const.patch
- fi
-
- default
-}
-
-src_install() {
- linux-mod_src_install
- insinto /usr/lib/modules-load.d/
- doins "${FILESDIR}"/virtualbox.conf
-}
-
-pkg_postinst() {
- linux-mod_pkg_postinst
- elog "If you are using sys-apps/openrc, please add \"vboxdrv\", \"vboxnetflt\","
- elog "\"vboxnetadp\" and \"vboxpci\" to:"
- elog " /etc/conf.d/modules"
-}
diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.0.40.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.1.30.ebuild
index fc282ccbb370..6600e4fb53b0 100644
--- a/app-emulation/virtualbox-modules/virtualbox-modules-5.0.40.ebuild
+++ b/app-emulation/virtualbox-modules/virtualbox-modules-5.1.30.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
IUSE="pax_kernel"
RDEPEND="!=app-emulation/virtualbox-9999"
diff --git a/app-emulation/virtualbox/Manifest b/app-emulation/virtualbox/Manifest
index d750ba65e772..09977e00db1d 100644
--- a/app-emulation/virtualbox/Manifest
+++ b/app-emulation/virtualbox/Manifest
@@ -7,17 +7,14 @@ AUX virtualbox-5-localconfig 1553 SHA256 4f783ff54c19867e2d53debbb5036fa2d5663ac
AUX virtualbox-5.1.4-paxmark-bldprogs.patch 2642 SHA256 9ecb2940e266a46128a834a5f085c4ccf7f1f93d2d2022335dcb017e75b4b4fd SHA512 40971ee2a2453cd830b118ee2d1d05468beec60b5c15fc36b2a01c30a454823bfc666149671f03ccbfd82abe1041e50c7d36d670da506cfb9b9faab9edcc83ee WHIRLPOOL b8f6c5a1d6ef90462bdda205b3489070dc8d91e0935100638a37884bac3062556447bb778bf961cd9862b0e30806abb6674a956d05f3e5ff9f95bd543f903875
AUX virtualbox-ose-5-wrapper 3405 SHA256 54229a34c335b653a4114b92bf74237f978f1e0f50258e5557ff0aa18da9e62d SHA512 96f9ab8e2a83b5aebbb66916cbca0a7af0e2d69285296fe87869f096149791e0491dec2408f21f7249b68d928eebe396ab710a4ec6b6d6bc9c67120d323effa0 WHIRLPOOL 5b7b6c52299ccd841e3d44de7c51f2635745a7a69cf6bbdf04efdf37c6cf3b3ec271e44d6936fa75f7e19670507a1689f713fb46952b1695fdae62b7674f7525
AUX virtualbox-ose.desktop-2 201 SHA256 fa7fc3dae940e768560559db944289c578acb691db2dcb51c8c85bfaf3298a25 SHA512 a678e237ad0451e8785f242ebf822b4f3b03d2e2280a62f71728f79bdcfc84d3465ee60cad90db75e64b2c89a1b0b224de00519728fb605df67ca7c9aee0874c WHIRLPOOL 080fc09f951f621976499e7721e1edaa6e89d6a3632c63d14806a23d1369ce1a7d3408a6375f8658f00603fccf69cef3b2f587e1861b02a09646262f365aee2c
-DIST VirtualBox-5.0.16.tar.bz2 111062984 SHA256 f5a44d33a1db911f445b2eb2d22d9293a96a535cba488b5a235577ef868fa63c SHA512 3da3a227360fb50d299e99770378f65e8cb99525377343fa8faff2360be66643d46f68323d6a8b8d4d26182082f171bb35ab2497167bf6df18827a5ea7742074 WHIRLPOOL ea709057c588f28820790c2b193decba9ee0c57e0f82aa4361ca87aef661315182e18b5ee29558e47ed92f6037eb91befa5390680661a7b9f2248c7819b4a85c
-DIST VirtualBox-5.0.40.tar.bz2 112997095 SHA256 e4275b7ada40b358e6e3bd1231b3a320aa06c72ae301283cac5adb42eaa8e4b5 SHA512 70cd4355591c5aed82148954bf55637a5dcdd1a5177dba78192e7c6eadfbf3f7023f352ba8f89d9eb3c3fc55b049f7c76af6bc94e04d1766d7fbe39e51a1393c WHIRLPOOL 9f471e63814c9d48063857f3b95410f5acdd4a3bd2716c525f2449f1eae95d0e91dbe5422374a49f31f8219daa155f716455f0259d131d93afb5cd9e13a7d467
DIST VirtualBox-5.1.26.tar.bz2 115915813 SHA256 b5715035e681a11ef1475f83f9503d34a00f0276b89c572eebec363dda80c8a9 SHA512 680e9646a51a0a5923b3ded10007ee1c1e2a41c6d8a961d2b2540db6578bed2847154f4cac87e3cfe1118a62595b47c7df99da854f6c340e173b9eb8cacf2add WHIRLPOOL 9d7950ec3ec2cd9b8aaa0ea319f9f5089eed7d2cd2879d313426b448a27570b5582235aa46c5ad5a0fd4d0b967f8d58a963f001549232136d6a8609262af71d0
DIST VirtualBox-5.1.28.tar.bz2 116427658 SHA256 ce7d4bf6535f70e3214abeb4866f7a8634aa3c7b6dedf8825e6ad80bd821398d SHA512 5c21fd535424d7fd9adbb51894ec6d37ecf00a63a850362bd7b61fedca5031e096641814130a97ad839c0bd7089dc3dc465509615aab2af3c5735ff71005670a WHIRLPOOL 2e3fbeb39083c2e69fb23200570781a8845780a6295553af48fa9155db132e37d0fc2fb26e8a45c52864f69f02e8a0d0cbd4c895e5fbb87ab9a51dd60c7c7904
-DIST virtualbox-5.0.16-patches-01.tar.xz 4024 SHA256 200eb980a12323a61d0fa6dbf61ed64ee1e2bb5e18e16eabdf8668d8fd8be3e4 SHA512 4eed117253754abee9088d4c320b4a6f0b3e1c8313b98f354cb727001156fe68d553a677073d40b921437f4cc073420866d1533aad4e61a79607d8360abbfd4a WHIRLPOOL ab40851873d55ae873ca8ff88670a17476c0d502116f4abda7b766064a2daa71929eb69b4b68c64c3d2d0762134fe85d07044bdedde4bf15924520a604972aaa
-DIST virtualbox-5.0.32-patches-01.tar.xz 4400 SHA256 e5bf5b5b391b3402172b5a30952da50affacaeaf40a75df0430ad623fcd8ed6f SHA512 5df0ecb4f9190375edc62d231aacd381c36a1697cc33df48b2f2d68a05ca1c855d127e466eda62030736dbcee76f5c67a519a2f42b72eacaf7ed65a8cf991e8a WHIRLPOOL 4c11787951848aadacc0772df5a46ce8d54445e0120901be280f493d4cc6333e986d0376f33ac0217dbb23758240c025028ea1d21c360fc2840c8e3003a0ff62
+DIST VirtualBox-5.1.30.tar.bz2 116510730 SHA256 6059b0986c9cdacc533177867634a76331ceccdcd46dddd111a50d1c42846d0b SHA512 6c44d9593f4815644a484b306e621fe7eca224002f85d89c00f2470300f2c78dbfe50ffda61d2c2465df14ca77c70a2ab86f1a05116feeee9f5833857eb18dee WHIRLPOOL dc1701211cc8247cb23800557cf7e2d34e5063806c5b22cd2c38454531ca390902fd6a764bfc17d14d33ec055de2d924853c9ed6c3ba29fb7998455f06109b6f
DIST virtualbox-5.1.24-patches-01.tar.xz 2708 SHA256 8ea5e08da07d555a4868abf6f4d689c2f6695bdb773010a01915fcc6c354f361 SHA512 0028e593818013f809831ac5a73eec63988c0aefb4b309fb3c928efbea8db8b8f46bd7c82f156396adc704f0567474df262dfe9bb6e09af0b2c23528fe2c6e2d WHIRLPOOL 5a1af78c2767608d2b1c2a4b262dbce038d2b6ed9d0499eb60ac1eb64fd6b832efdbafc2b85881ac67efd8794adcc3490fcbf61b74ad7ae576d52e8aff597b04
-EBUILD virtualbox-5.0.16-r1.ebuild 12802 SHA256 34b9dd2d55b2958928a9f7ad4edd0780a1aeda8aa19009b88f61a738f66abcab SHA512 45b8825a352da761d6580abc6cbd8b8b4cb2e165f0c687cd4b8077fc32ceadcd6d7b7be8c13cd701ce53481d7fd0ae5f05e09046c34897fde6ff00b02b00e15d WHIRLPOOL 8fcde89b1deebbc72241c55e060d49c1d7d081b53d9f94bb1453f4303e998085468b26b878ed80950a5e89c5a0f154a01ad1e951463d04b44f9cd6043dec7104
-EBUILD virtualbox-5.0.40.ebuild 12886 SHA256 894db96e31b6388a486acb2d31a5b270fae523507add5a8f3a2616fa68550911 SHA512 cc61e1db4d9cce901ca02627e1839aeb69f38a2225d448ea36daf17cb8e15940e5e482364b1daffecc7df54b2b8398309a51bc5eb814f6b398f1f2cb1c9bf597 WHIRLPOOL ef850e2f50b2e9bc735b16bf718752cc237f8e96b3dbc571c7371020ef01f06974977d02a43befd263ef50d8de70c00c9a873904ffdcebbf30262fc886bd0b0e
+DIST virtualbox-5.1.30-patches-02.tar.xz 2608 SHA256 25922641e19911fe41d63a348702ed2dcab2ef79379ea236c5da6c36f77a75a5 SHA512 8a490f7cc44e40262fc47819736251c177adb635256794e9500f52729197c85211d5b0c0d000268089953a4c185872a8ba03c5d42df6b80f05eac8b81335320a WHIRLPOOL 3a7ebadf5cc8ba71fe4e4fe43d529ce72dbe95c40838d66112418ad335cb1b1cf7b6aa37fa71ccc6d50044486cb0eef52e59567530935e5a0ed83e9c3f67ec36
EBUILD virtualbox-5.1.26.ebuild 13854 SHA256 09dced85a14403bf8e6d658fce5b3690402308991fbb2048c7ccf81a32194558 SHA512 565ae4bb7ab2139ea3ab8ae80f613ef758d60d1fb77599334276d46f3c30ad3c0ac5a6a54ab3c5e5fb78bfafdffe169418e6ddd6c45890ff7ff7b2e13b9d6b2b WHIRLPOOL dc0d7eff66c60dd2172191917ddbc1377608d0ec62a6cc1d06d0c5e1248d501435d737671f83ce769f933aa1226879574c09e7959b4782bd1d6ec9700cfbd7ae
EBUILD virtualbox-5.1.28.ebuild 13856 SHA256 189e86536ed44c3ec663381979673b004910f2ee09419e6d5e58bbeb949e8500 SHA512 5cef775577a33e0b2af3694d5c84667c5c6a58204b303620cd0404594f3e26f7b3a39bdb40099b0a4c003356cec1f6eb7ea103503cfe7f592522d00bae46c706 WHIRLPOOL 2eb8a79e8128822af920f09639fc6446a09aeb6e839313d60dff9ee38ec7ddc552ff08d9640cd4d0605dd2ab6ab1746791fef0667a8eebb1d918d8e0b5698eca
+EBUILD virtualbox-5.1.30.ebuild 13856 SHA256 9a736289622da285590c0381b7b90928d5b9645fd1a3694a47ffb713d5107636 SHA512 c1fc12b4dd6079cec924a6703e00773f353daf888ebeefe3aa940c2aa32f6c6e3d1547c427eecbae10ec209608f6cdac8817994b4e18f6b92bd26cd2ca09eb26 WHIRLPOOL 41f139d465b1a29c78c59a5ccca3c26687745bd45589758349670377d290cd89f454089a66504a69dd7ab27f2dff3178d38c4228a54755891e40b636470140ab
MISC ChangeLog 18882 SHA256 423c6c857aab5c94ce5dbfc205a4dff4c487ff5c952ed12be796962201933e7e SHA512 2d3c33a347aca2cf62563fb4cf0ab59b9ba912406aee74eaf98bdd35884ca3b2618087df5f8feda7ade16db6180acf91de8decf6f8bb7cb2696f77184647c5e5 WHIRLPOOL e857e1ca156ac40f238a945de6bbf7fe48218845f8c452dde428d27d95d82b31b0894d88925c84b28e1b109416216adb1581dfe96a1c879109c7b29ce9575bb2
MISC ChangeLog-2015 30746 SHA256 4126ba37d68b8a199f3200a8bad0526293995d757e9f1a5d29be85f712d7c405 SHA512 a04d952f23173a177b3cb38a202960f6d2abdf167da1b87b9f6ea95f574e6ee885546e67f9aa9dc051b748c8b8d36f797ba4825dda748cba5c75fafd45ed9ec8 WHIRLPOOL 2437c5bc3173d7c09df3e1caac83e00211f76d8be674316924509833f0dfc11064b3be4544235c95f765e42a8f043ec4cbcfa02859deb4af1c7027ec6b5e5ca2
MISC metadata.xml 950 SHA256 0c2caaedfbb7a7a31cd159272b71e7baec4b91797323d7460575077ce619c59d SHA512 f09b74c1738a060749799ef652162824b40812de13558582cc660b57f1c379eb2d915ab53c1f2d55bb0c6cf4f917e0a6e55dabb5bde8b592a1eeaf34c3078363 WHIRLPOOL ce4efef8b1466ba6136a62699ee10bd0ddd9b96164da8f311529b1e676e4044791e54390b024dc22c41b66916cd56cc2562115ab64934fe4a1c0f6b4431516c3
diff --git a/app-emulation/virtualbox/virtualbox-5.0.16-r1.ebuild b/app-emulation/virtualbox/virtualbox-5.0.16-r1.ebuild
deleted file mode 100644
index 86c074f5eb32..000000000000
--- a/app-emulation/virtualbox/virtualbox-5.0.16-r1.ebuild
+++ /dev/null
@@ -1,431 +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 eutils fdo-mime flag-o-matic java-pkg-opt-2 linux-info multilib pax-utils python-single-r1 toolchain-funcs udev
-
-MY_PV="${PV/beta/BETA}"
-MY_PV="${MY_PV/rc/RC}"
-MY_P=VirtualBox-${MY_PV}
-SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
- https://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-5.0.16-patches-01.tar.xz"
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
-HOMEPAGE="http://www.virtualbox.org/"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="alsa doc headless java libressl lvm pam pulseaudio +opengl python +qt4 +sdk +udev vboxwebsrv vnc"
-
-RDEPEND="!app-emulation/virtualbox-bin
- ~app-emulation/virtualbox-modules-${PV}
- dev-libs/libIDL
- >=dev-libs/libxslt-1.1.19
- net-misc/curl
- dev-libs/libxml2
- media-libs/libpng:0=
- media-libs/libvpx:0=
- sys-libs/zlib
- !headless? (
- media-libs/libsdl:0[X,video]
- x11-libs/libX11
- x11-libs/libXcursor
- x11-libs/libXext
- x11-libs/libXmu
- x11-libs/libXt
- opengl? ( virtual/opengl media-libs/freeglut )
- qt4? (
- dev-qt/qtgui:4
- dev-qt/qtcore:4
- opengl? ( dev-qt/qtopengl:4 )
- x11-libs/libXinerama
- )
- )
- java? ( >=virtual/jre-1.6:= )
- libressl? ( dev-libs/libressl:= )
- !libressl? ( dev-libs/openssl:0= )
- lvm? ( sys-fs/lvm2 )
- udev? ( >=virtual/udev-171 )
- vnc? ( >=net-libs/libvncserver-0.9.9 )"
-DEPEND="${RDEPEND}
- >=dev-util/kbuild-0.1.9998_pre20131130
- >=dev-lang/yasm-0.6.2
- sys-devel/bin86
- sys-libs/libcap
- sys-power/iasl
- virtual/pkgconfig
- alsa? ( >=media-libs/alsa-lib-1.0.13 )
- doc? (
- dev-texlive/texlive-basic
- dev-texlive/texlive-latex
- dev-texlive/texlive-latexrecommended
- dev-texlive/texlive-latexextra
- dev-texlive/texlive-fontsrecommended
- dev-texlive/texlive-fontsextra
- )
- !headless? ( x11-libs/libXinerama )
- java? ( >=virtual/jre-1.6:= )
- pam? ( sys-libs/pam )
- pulseaudio? ( media-sound/pulseaudio )
- vboxwebsrv? ( net-libs/gsoap[-gnutls(-)] )
- ${PYTHON_DEPS}"
-
-QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
- usr/lib/virtualbox/VBoxSDL.so
- usr/lib/virtualbox/VBoxSharedFolders.so
- usr/lib/virtualbox/VBoxDD2.so
- usr/lib/virtualbox/VBoxOGLrenderspu.so
- usr/lib/virtualbox/VBoxPython.so
- usr/lib/virtualbox/VBoxDD.so
- usr/lib/virtualbox/VBoxDDU.so
- usr/lib/virtualbox/VBoxREM64.so
- usr/lib/virtualbox/VBoxSharedClipboard.so
- usr/lib/virtualbox/VBoxHeadless.so
- usr/lib/virtualbox/VBoxRT.so
- usr/lib/virtualbox/VBoxREM.so
- usr/lib/virtualbox/VBoxSettings.so
- usr/lib/virtualbox/VBoxKeyboard.so
- usr/lib/virtualbox/VBoxSharedCrOpenGL.so
- usr/lib/virtualbox/VBoxVMM.so
- usr/lib/virtualbox/VirtualBox.so
- usr/lib/virtualbox/VBoxOGLhosterrorspu.so
- usr/lib/virtualbox/components/VBoxC.so
- usr/lib/virtualbox/components/VBoxSVCM.so
- usr/lib/virtualbox/components/VBoxDDU.so
- usr/lib/virtualbox/components/VBoxRT.so
- usr/lib/virtualbox/components/VBoxREM.so
- usr/lib/virtualbox/components/VBoxVMM.so
- usr/lib/virtualbox/VBoxREM32.so
- usr/lib/virtualbox/VBoxPython2_7.so
- usr/lib/virtualbox/VBoxXPCOMC.so
- usr/lib/virtualbox/VBoxOGLhostcrutil.so
- usr/lib/virtualbox/VBoxNetDHCP.so
- usr/lib/virtualbox/VBoxNetNAT.so"
-
-REQUIRED_USE="
- java? ( sdk )
- python? ( sdk )
- vboxwebsrv? ( java )
- ${PYTHON_REQUIRED_USE}
-"
-
-pkg_setup() {
- if ! use headless && ! use qt4 ; then
- einfo "No USE=\"qt4\" selected, this build will not include"
- einfo "any Qt frontend."
- elif use headless && use qt4 ; then
- einfo "You selected USE=\"headless qt4\", defaulting to"
- einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
- fi
-
- if ! use opengl ; then
- einfo "No USE=\"opengl\" selected, this build will lack"
- einfo "the OpenGL feature."
- fi
- if ! use python ; then
- einfo "You have disabled the \"python\" USE flag. This will only"
- einfo "disable the python bindings being installed."
- fi
- java-pkg-opt-2_pkg_setup
- python-single-r1_pkg_setup
-
- tc-ld-disable-gold #bug 488176
- tc-export CC CXX LD AR RANLIB
- export HOST_CC="$(tc-getBUILD_CC)"
-}
-
-src_prepare() {
- # Remove shipped binaries (kBuild,yasm), see bug #232775
- rm -r kBuild/bin tools || die
-
- # Remove pointless GCC version check
- sed -e '/^check_gcc$/d' -i configure || die
-
- # Disable things unused or split into separate ebuilds
- sed -e "s@MY_LIBDIR@$(get_libdir)@" \
- "${FILESDIR}"/${PN}-5-localconfig > LocalConfig.kmk || die
-
- # Respect LDFLAGS
- sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
- -i Config.kmk src/libs/xpcom18a4/Config.kmk || die
-
- # Do not use hard-coded ld (related to bug #488176)
- sed -e '/QUIET)ld /s@ld @$(LD) @' \
- -i src/VBox/Devices/PC/ipxe/Makefile.kmk || die
-
- # Use PAM only when pam USE flag is enbaled (bug #376531)
- if ! use pam ; then
- elog "Disabling PAM removes the possibility to use the VRDP features."
- sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die
- sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \
- src/VBox/HostServices/Makefile.kmk || die
- fi
-
- # add correct java path
- if use java ; then
- sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \
- -i "${S}"/Config.kmk || die
- java-pkg-opt-2_src_prepare
- fi
-
- if ! gcc-specs-pie ; then
- rm "${WORKDIR}/patches/050_${PN}-5.0.2-nopie.patch" || die
- fi
-
- eapply "${WORKDIR}/patches"
-
- eapply_user
-}
-
-src_configure() {
- local myconf
- use alsa || myconf+=( --disable-alsa )
- use doc || myconf+=( --disable-docs )
- use java || myconf+=( --disable-java )
- use lvm || myconf+=( --disable-devmapper )
- use opengl || myconf+=( --disable-opengl )
- use pulseaudio || myconf+=( --disable-pulse )
- use python || myconf+=( --disable-python )
- use vboxwebsrv && myconf+=( --enable-webservice )
- use vnc && myconf+=( --enable-vnc )
- if ! use headless ; then
- use qt4 || myconf+=( --disable-qt4 )
- else
- myconf+=( --build-headless --disable-opengl )
- fi
- if use amd64 && ! has_multilib_profile ; then
- myconf+=( --disable-vmmraw )
- fi
- # not an autoconf script
- ./configure \
- --with-gcc="$(tc-getCC)" \
- --with-g++="$(tc-getCXX)" \
- --disable-dbus \
- --disable-kmods \
- ${myconf[@]} \
- || die "configure failed"
-}
-
-src_compile() {
- source ./env.sh || die
-
- # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
- # and strip all flags
- # strip-flags
-
- MAKEJOBS=$(echo ${MAKEOPTS} | egrep -o '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+')
- MAKELOAD=$(echo ${MAKEOPTS} | egrep -o '(\-l|\-\-load-average)(=?|[[:space:]]*)[[:digit:]]+') #'
- MAKEOPTS="${MAKEJOBS} ${MAKELOAD}"
- MAKE="kmk" emake \
- VBOX_BUILD_PUBLISHER=_Gentoo \
- TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
- TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
- TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
- TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
- VBOX_GCC_OPT="${CXXFLAGS}" \
- TOOL_YASM_AS=yasm KBUILD_VERBOSE=2 \
- all
-}
-
-src_install() {
- cd "${S}"/out/linux.${ARCH}/release/bin || die
-
- local vbox_inst_path="/usr/$(get_libdir)/${PN}" each fwfile
-
- vbox_inst() {
- local binary="${1}"
- local perms="${2:-0750}"
- local path="${3:-${vbox_inst_path}}"
-
- [[ -n "${binary}" ]] || die "vbox_inst: No binray given!"
- [[ ${perms} =~ ^[[:digit:]]+{4}$ ]] || die "vbox_inst: perms must consist of four digits."
-
- insinto ${path}
- doins ${binary}
- fowners root:vboxusers ${path}/${binary}
- fperms ${perms} ${path}/${binary}
- }
-
- # Create configuration files
- insinto /etc/vbox
- newins "${FILESDIR}/${PN}-4-config" vbox.cfg
-
- # Set the right libdir
- sed -i \
- -e "s@MY_LIBDIR@$(get_libdir)@" \
- "${D}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
-
- # Install the wrapper script
- exeinto ${vbox_inst_path}
- newexe "${FILESDIR}/${PN}-ose-5-wrapper" "VBox"
- fowners root:vboxusers ${vbox_inst_path}/VBox
- fperms 0750 ${vbox_inst_path}/VBox
-
- # Install binaries and libraries
- insinto ${vbox_inst_path}
- doins -r components
-
- # *.rc files for x86_64 are only available on multilib systems
- local rcfiles="*.rc"
- if use amd64 && ! has_multilib_profile ; then
- rcfiles=""
- fi
- for each in VBox{ExtPackHelperApp,Manage,SVC,Tunctl,XPCOMIPCD} *so *r0 ${rcfiles} ; do
- vbox_inst ${each}
- done
-
- # These binaries need to be suid root in any case.
- for each in VBox{Headless,Net{AdpCtl,DHCP,NAT}} ; do
- vbox_inst ${each} 4750
- done
-
- # Install EFI Firmware files (bug #320757)
- pushd "${S}"/src/VBox/Devices/EFI/FirmwareBin &>/dev/null || die
- for fwfile in VBoxEFI{32,64}.fd ; do
- vbox_inst ${fwfile} 0644
- done
- popd &>/dev/null || die
-
- # VBoxSVC and VBoxManage need to be pax-marked (bug #403453)
- # VBoxXPCOMIPCD (bug #524202)
- for each in VBox{Headless,Manage,SVC,XPCOMIPCD} ; do
- pax-mark -m "${D}"${vbox_inst_path}/${each}
- done
-
- # Symlink binaries to the shipped wrapper
- for each in vbox{headless,manage} VBox{Headless,Manage,VRDP} ; do
- dosym ${vbox_inst_path}/VBox /usr/bin/${each}
- done
- dosym ${vbox_inst_path}/VBoxTunctl /usr/bin/VBoxTunctl
-
- # VRDPAuth only works with this (bug #351949)
- dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so
-
- # set an env-variable for 3rd party tools
- echo -n "VBOX_APP_HOME=${vbox_inst_path}" > "${T}/90virtualbox"
- doenvd "${T}/90virtualbox"
-
- if ! use headless ; then
- vbox_inst VBoxSDL 4750
- pax-mark -m "${D}"${vbox_inst_path}/VBoxSDL
-
- for each in vboxsdl VBoxSDL ; do
- dosym ${vbox_inst_path}/VBox /usr/bin/${each}
- done
-
- if use opengl && use qt4 ; then
- vbox_inst VBoxTestOGL
- pax-mark -m "${D}"${vbox_inst_path}/VBoxTestOGL
- fi
-
- if use qt4 ; then
- vbox_inst VirtualBox 4750
- pax-mark -m "${D}"${vbox_inst_path}/VirtualBox
-
- for each in virtualbox VirtualBox ; do
- dosym ${vbox_inst_path}/VBox /usr/bin/${each}
- done
-
- insinto /usr/share/${PN}
- doins -r nls
-
- newmenu "${FILESDIR}"/${PN}-ose.desktop-2 ${PN}.desktop
- fi
-
- pushd "${S}"/src/VBox/Artwork/OSE &>/dev/null || die
- for size in 16 32 48 64 128 ; do
- newicon -s ${size} ${PN}-${size}px.png ${PN}.png
- done
- newicon ${PN}-48px.png ${PN}.png
- doicon -s scalable ${PN}.svg
- popd &>/dev/null || die
- fi
-
- if use lvm ; then
- vbox_inst VBoxVolInfo 4750
- dosym ${vbox_inst_path}/VBoxVolInfo /usr/bin/VBoxVolInfo
- fi
-
- if use sdk ; then
- insinto ${vbox_inst_path}
- doins -r sdk
-
- if use java ; then
- java-pkg_regjar "${D}${vbox_inst_path}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
- java-pkg_regso "${D}${vbox_inst_path}/libvboxjxpcom.so"
- fi
- fi
-
- if use udev ; then
- # New way of handling USB device nodes for VBox (bug #356215)
- local udevdir="$(get_udevdir)"
- insinto ${udevdir}
- doins VBoxCreateUSBNode.sh
- fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
- fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
- insinto ${udevdir}/rules.d
- sed "s@%UDEVDIR%@${udevdir}@" "${FILESDIR}"/10-virtualbox.rules \
- > "${T}"/10-virtualbox.rules || die
- doins "${T}"/10-virtualbox.rules
- fi
-
- if use vboxwebsrv ; then
- vbox_inst vboxwebsrv
- dosym ${vbox_inst_path}/VBox /usr/bin/vboxwebsrv
- newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
- newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
- fi
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
-
- if use udev ; then
- udevadm control --reload-rules \
- && udevadm trigger --subsystem-match=usb
- fi
-
- if ! use headless && use qt4 ; then
- elog "To launch VirtualBox just type: \"virtualbox\"."
- fi
- elog "You must be in the vboxusers group to use VirtualBox."
- elog ""
- elog "The latest user manual is available for download at:"
- elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
- elog ""
- elog "For advanced networking setups you should emerge:"
- elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
- elog ""
- elog "IMPORTANT!"
- elog "If you upgrade from app-emulation/virtualbox-ose make sure to run"
- elog "\"env-update\" as root and logout and relogin as the user you wish"
- elog "to run ${PN} as."
- elog ""
- elog "Starting with version 4.0.0, ${PN} has USB-1 support."
- elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
- elog " app-emulation/virtualbox-extpack-oracle"
- elog "package."
- elog "Starting with version 5.0.0, ${PN} no longer has the \"additions\" and"
- elog "the \"extension\" USE flag. For installation of the guest additions ISO"
- elog "image, please emerge"
- elog " app-emulation/virtualbox-additions"
- elog "and for the USB2, USB3, VRDP and PXE boot ROM modules, please emerge"
- elog " app-emulation/virtualbox-extpack-oracle"
- if ! use udev ; then
- elog ""
- elog "WARNING!"
- elog "Without USE=udev, USB devices will likely not work in ${PN}."
- elif [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
- elog ""
- elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
- elog "or else USB in ${PN} won't work."
- fi
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
-}
diff --git a/app-emulation/virtualbox/virtualbox-5.0.40.ebuild b/app-emulation/virtualbox/virtualbox-5.1.30.ebuild
index e691c0abfb19..f7387abf5d0d 100644
--- a/app-emulation/virtualbox/virtualbox-5.0.40.ebuild
+++ b/app-emulation/virtualbox/virtualbox-5.1.30.ebuild
@@ -4,13 +4,13 @@
EAPI=6
PYTHON_COMPAT=( python2_7 )
-inherit eutils fdo-mime flag-o-matic java-pkg-opt-2 linux-info multilib pax-utils python-single-r1 toolchain-funcs udev
+inherit eutils flag-o-matic java-pkg-opt-2 linux-info multilib pax-utils python-single-r1 toolchain-funcs udev xdg-utils
MY_PV="${PV/beta/BETA}"
MY_PV="${MY_PV/rc/RC}"
MY_P=VirtualBox-${MY_PV}
SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
- https://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-5.0.32-patches-01.tar.xz"
+ https://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-5.1.30-patches-02.tar.xz"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
@@ -18,8 +18,8 @@ HOMEPAGE="http://www.virtualbox.org/"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="alsa debug doc headless java libressl lvm pam pulseaudio +opengl python +qt4 +sdk +udev vboxwebsrv vnc"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa debug doc headless java libressl lvm pam pax_kernel pulseaudio +opengl python +qt5 +sdk +udev vboxwebsrv vnc"
RDEPEND="!app-emulation/virtualbox-bin
~app-emulation/virtualbox-modules-${PV}
@@ -38,10 +38,13 @@ RDEPEND="!app-emulation/virtualbox-bin
x11-libs/libXmu
x11-libs/libXt
opengl? ( virtual/opengl media-libs/freeglut )
- qt4? (
- dev-qt/qtgui:4
- dev-qt/qtcore:4
- opengl? ( dev-qt/qtopengl:4 )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ opengl? ( dev-qt/qtopengl:5 )
x11-libs/libXinerama
)
)
@@ -52,7 +55,7 @@ RDEPEND="!app-emulation/virtualbox-bin
udev? ( >=virtual/udev-171 )
vnc? ( >=net-libs/libvncserver-0.9.9 )"
DEPEND="${RDEPEND}
- >=dev-util/kbuild-0.1.9998_pre20131130
+ >=dev-util/kbuild-0.1.9998_pre20131130-r1
>=dev-lang/yasm-0.6.2
sys-devel/bin86
sys-libs/libcap
@@ -71,7 +74,9 @@ DEPEND="${RDEPEND}
!headless? ( x11-libs/libXinerama )
java? ( >=virtual/jre-1.6:= )
pam? ( sys-libs/pam )
+ pax_kernel? ( sys-apps/elfix )
pulseaudio? ( media-sound/pulseaudio )
+ qt5? ( dev-qt/linguist-tools:5 )
vboxwebsrv? ( net-libs/gsoap[-gnutls(-)] )
${PYTHON_DEPS}"
@@ -115,11 +120,10 @@ REQUIRED_USE="
"
pkg_setup() {
- if ! use headless && ! use qt4 ; then
- einfo "No USE=\"qt4\" selected, this build will not include"
- einfo "any Qt frontend."
- elif use headless && use qt4 ; then
- einfo "You selected USE=\"headless qt4\", defaulting to"
+ if ! use headless && ! use qt5 ; then
+ einfo "No USE=\"qt5\" selected, this build will not include any Qt frontend."
+ elif use headless && use qt5 ; then
+ einfo "You selected USE=\"headless qt5\", defaulting to"
einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
fi
@@ -143,8 +147,12 @@ src_prepare() {
# Remove shipped binaries (kBuild,yasm), see bug #232775
rm -r kBuild/bin tools || die
- # Remove pointless GCC version check
- sed -e '/^check_gcc$/d' -i configure || die
+ # Replace pointless GCC version check with something less stupid.
+ # This is needed for the qt5 version check.
+ sed -e 's@^check_gcc$@cc_maj="$(gcc -dumpversion | cut -d. -f1)" ; cc_min="$(gcc -dumpversion | cut -d. -f2)"@' -i configure || die
+
+ # Don't use "echo -n"
+ sed 's@ECHO_N="echo -n"@ECHO_N="printf"@' -i configure || die
# Disable things unused or split into separate ebuilds
sed -e "s@MY_LIBDIR@$(get_libdir)@" \
@@ -173,9 +181,15 @@ src_prepare() {
java-pkg-opt-2_src_prepare
fi
- #if ! gcc-specs-pie ; then
- rm "${WORKDIR}/patches/050_${PN}-5.0.2-nopie.patch" || die
- #fi
+ # Only add nopie patch when we're on hardened
+ if gcc-specs-pie ; then
+ eapply "${FILESDIR}/050_virtualbox-5.1.24-nopie.patch"
+ fi
+
+ # Only add paxmark patch when we're on pax_kernel
+ if use pax_kernel ; then
+ eapply "${FILESDIR}"/virtualbox-5.1.4-paxmark-bldprogs.patch
+ fi
eapply "${WORKDIR}/patches"
@@ -183,7 +197,12 @@ src_prepare() {
}
src_configure() {
- local myconf
+ local myconf=(
+ --with-gcc="$(tc-getCC)"
+ --with-g++="$(tc-getCXX)"
+ --disable-dbus
+ --disable-kmods
+ )
use alsa || myconf+=( --disable-alsa )
use debug && myconf+=( --build-debug )
use doc || myconf+=( --disable-docs )
@@ -195,7 +214,7 @@ src_configure() {
use vboxwebsrv && myconf+=( --enable-webservice )
use vnc && myconf+=( --enable-vnc )
if ! use headless ; then
- use qt4 || myconf+=( --disable-qt4 )
+ use qt5 || myconf+=( --disable-qt )
else
myconf+=( --build-headless --disable-opengl )
fi
@@ -203,20 +222,15 @@ src_configure() {
myconf+=( --disable-vmmraw )
fi
# not an autoconf script
- ./configure \
- --with-gcc="$(tc-getCC)" \
- --with-g++="$(tc-getCXX)" \
- --disable-dbus \
- --disable-kmods \
- ${myconf[@]} \
- || die "configure failed"
+ ./configure ${myconf[@]} || die "configure failed"
}
src_compile() {
source ./env.sh || die
- MAKEJOBS=$(echo ${MAKEOPTS} | egrep -o '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+')
- MAKELOAD=$(echo ${MAKEOPTS} | egrep -o '(\-l|\-\-load-average)(=?|[[:space:]]*)[[:digit:]]+') #'
+ # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
+ MAKEJOBS=$(grep -Eo '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
+ MAKELOAD=$(grep -Eo '(\-l|\-\-load-average)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
MAKEOPTS="${MAKEJOBS} ${MAKELOAD}"
MAKE="kmk" emake \
VBOX_BUILD_PUBLISHER=_Gentoo \
@@ -234,7 +248,7 @@ src_install() {
use debug && binpath="debug"
cd "${S}"/out/linux.${ARCH}/${binpath}/bin || die
- local vbox_inst_path="/usr/$(get_libdir)/${PN}" each fwfile
+ local vbox_inst_path="/usr/$(get_libdir)/${PN}" each fwfile size ico icofile
vbox_inst() {
local binary="${1}"
@@ -254,10 +268,10 @@ src_install() {
insinto /etc/vbox
newins "${FILESDIR}/${PN}-4-config" vbox.cfg
- # Set the right libdir
- sed -i \
+ # Set the correct libdir
+ sed \
-e "s@MY_LIBDIR@$(get_libdir)@" \
- "${D}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
+ -i "${D}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
# Install the wrapper script
exeinto ${vbox_inst_path}
@@ -278,7 +292,7 @@ src_install() {
vbox_inst ${each}
done
- # These binaries need to be suid root in any case.
+ # These binaries need to be suid root.
for each in VBox{Headless,Net{AdpCtl,DHCP,NAT}} ; do
vbox_inst ${each} 4750
done
@@ -317,15 +331,15 @@ src_install() {
dosym ${vbox_inst_path}/VBox /usr/bin/${each}
done
- if use opengl && use qt4 ; then
- vbox_inst VBoxTestOGL
- pax-mark -m "${D}"${vbox_inst_path}/VBoxTestOGL
- fi
-
- if use qt4 ; then
+ if use qt5 ; then
vbox_inst VirtualBox 4750
pax-mark -m "${D}"${vbox_inst_path}/VirtualBox
+ if use opengl ; then
+ vbox_inst VBoxTestOGL
+ pax-mark -m "${D}"${vbox_inst_path}/VBoxTestOGL
+ fi
+
for each in virtualbox VirtualBox ; do
dosym ${vbox_inst_path}/VBox /usr/bin/${each}
done
@@ -343,6 +357,16 @@ src_install() {
newicon ${PN}-48px.png ${PN}.png
doicon -s scalable ${PN}.svg
popd &>/dev/null || die
+ pushd "${S}"/src/VBox/Artwork/other &>/dev/null || die
+ for size in 16 24 32 48 64 72 96 128 256 512 ; do
+ for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
+ icofile="${PN}-${ico}-${size}px.png"
+ if [[ -f "${icofile}" ]] ; then
+ newicon -s ${size} ${icofile} ${PN}-${ico}.png
+ fi
+ done
+ done
+ popd &>/dev/null || die
fi
if use lvm ; then
@@ -386,14 +410,14 @@ src_install() {
}
pkg_postinst() {
- fdo-mime_desktop_database_update
+ xdg_desktop_database_update
if use udev ; then
udevadm control --reload-rules \
&& udevadm trigger --subsystem-match=usb
fi
- if ! use headless && use qt4 ; then
+ if ! use headless && use qt5 ; then
elog "To launch VirtualBox just type: \"virtualbox\"."
fi
elog "You must be in the vboxusers group to use VirtualBox."
@@ -423,13 +447,13 @@ pkg_postinst() {
elog ""
elog "WARNING!"
elog "Without USE=udev, USB devices will likely not work in ${PN}."
- elif [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
+ elif [ -e "${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
elog ""
- elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
+ elog "Please remove \"${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules\""
elog "or else USB in ${PN} won't work."
fi
}
pkg_postrm() {
- fdo-mime_desktop_database_update
+ xdg_desktop_database_update
}
diff --git a/app-emulation/xen-tools/Manifest b/app-emulation/xen-tools/Manifest
index 0c9ffea06992..f99791ec0059 100644
--- a/app-emulation/xen-tools/Manifest
+++ b/app-emulation/xen-tools/Manifest
@@ -1,6 +1,7 @@
AUX gentoo-patches.conf 3739 SHA256 5e883701f52cb91ed6dc56b4e211acf18b93d956cab6d27e7a0fee457b9d329c SHA512 4d1da5fd4cc8a756c254e9d9a562b42732940560026af36f65b79614bcc7881692c3ce9d69640978b00d8e985d77350c6cfd5364211e7d09d96ba0920882c7dc WHIRLPOOL 0921fc37779bc25fe4f198b7a795196e25410484b74fba2a49b8f37e0667fd39645869879b011c111a0a9032a3363d2c59362a09ecba5fab36214ff58c438491
AUX stubs-32.h 537 SHA256 4c903162da80cefd394404cb8cd9963a6ef6e3ad6c7adcbaa450a002d929bfc5 SHA512 55308dbedaa91909a2213940f7a7b574cabe6b5a3104761a2a6f28d6aed00164544488c00cbf9d66a9a370a14c6b6d3a00434efd3ff0228cc8e4d81af19c0e68 WHIRLPOOL 9c006e266bea6bb9d623e76011a4eac07c5fe4fdf76a041cc42a2289a7e9163988bad0fb2f458e300e45aabf9fb864ec764a496d7f89d58e57a506bac206a5f1
AUX xen-consoles.logrotate 63 SHA256 0da87a4b9094f934e3de937e8ef8d3afc752e76793aa3d730182d0241e118b19 SHA512 ab2105c75cfe01768aecd5bcbb56269d63666e8a44e42b6a83aee87df6c84ee2f9ab249171c21b2e09f8fec2cae8318f6e87d160989398a3e7dd68db8d52c426 WHIRLPOOL be108bf298202851de434af513ac8c03a533e7621623c2a7e8f26d498074b3eec81b85b2ae29ad2ec67f4fe9937c88bd78c5f5e260793e7e69ec964d4adb989e
+AUX xen-watchdog.initd 181 SHA256 ff6089e6c744a92108b835f4ce48838998133dddbbfd18b848c73be93ff44285 SHA512 5f6da91c0067b93f1b9f1a2f181caf34034896944ab26f5820e860336e3b3159a65e8a7f39ea273927d64d58a2fe4d918d2c3234f2b03ab0770e0c15d6dfe84b WHIRLPOOL 537b0cbd482bc6eb9ed1a90890365405368b62565c8a973ea8efe1a71072dea557dd1f40724beb0744617600de3f0a1d38f2ab73e61c873012b3b3c4609563d4
AUX xencommons.confd 109 SHA256 e19b950b1bb4103f9006a0c2648a8d4bc890e2c67417de2700b82fb456802640 SHA512 f0bbc9647cecc6cf806e3059960fbe39b23304d9ca0955fb261e1d320b9b9ce59e5b28cc4b5a9922295b31221f0cd8f0cccb405520e097a7b12dc6ddb3294c17 WHIRLPOOL a8b7df6f9a8515b9c3c845379a3aa4424490972d5f882e8779a30fd2d44b77cb66deaa5c1496125ea7bc82e06044a485e14e904ad5c9c79222c008fb6ccc4e74
AUX xencommons.initd 1451 SHA256 28def3e506480b66dea61d142db03959d7cd893177dff7f92ce9baa00a047699 SHA512 7cd2f2c8b45ce36bac158d7cddd1c33a20b46beb521f33584249338dcf9ac6efb32fd09bdbd67651cda6ffb6304b21043e29e79e62a61903884a8ebcaabcb4b8 WHIRLPOOL 2812689d04eb315767c557cd889c752150be80830582d9da046fb179f1209892d4085c37f42e7599759d8ecd36f0e2fe2bc136ea8ceff447ebff91195f884a3c
AUX xenconsoled.confd 44 SHA256 2a74be03eb74f6013242a4a5d721df6cb9b959b43c405de1e32813f52d749060 SHA512 30df69cc38d0bed26bc4d6e08a2b62cbdc654d5f663009a05cb3b83b3e3dc5e206362d3fd59abbb753ceb8d6d79eaa6e15d079bb8f4f35dc74667103faf4e85d WHIRLPOOL 503f7b48842724e69e7e4ae752d0570c339b7214b5a5fa1db51300e65470803bb383524f6de6c5c08849a961f628f6db7764e3eddcc19accbd209777a0f27d68
@@ -12,7 +13,7 @@ AUX xenqemudev.confd 156 SHA256 61c5ff72464c5098d9cad50e5dc94a090dd107b4831bb60a
AUX xenqemudev.initd 1828 SHA256 3e9d6c4575f6a8ca8f9c7dfd78a9ea4b016c6ab00e9a2f6483200a53e5696aab SHA512 6c391f52659117e9d1c8eb8ccd4a9886b207e009903c48f69e1c92c67a1365e64c6e6a02bbdbf3c844cca9c0cba01fa35c235fef0621ee16bfbe75489247c739 WHIRLPOOL 21e0d5b9715c71af378bb90916afc34d285acce19105a50bf21e45c4e581e3e690d9883a09022d588619aa480264b9bb384348645034d12c6ccd355349eeed5e
AUX xenstored.confd 42 SHA256 afcc14f014fe4ec478f85d230efefba9ffad024bf8c83b30074e8a3712cc7831 SHA512 0906cbcdc84935d07cf53bc4447a1f9a9dc4e4fb9fda9a7163f6982f1d8a3ada1f0650fcd254fb6f715a54f7971daf0a5e61c3de6db70dfd156156fd55b59fe4 WHIRLPOOL df46f3fde8b13c3427f445bcf08eb4c660f6000164a01e461cff85cf93ce1195009fc3b4457181788da8eef8dec9125b41ace233ec6f169919be64337a57ebb8
AUX xenstored.initd 1058 SHA256 6c6f62143b1c3b14c3c3cfc57fb3c86ba904cd83cdad467ff0e3525e370e2528 SHA512 195a7a8d50d28597d8f66416141d416c32095af5499d5978c6163996ea9cbbd6bfb343f7e0fe7a8835e39c8924906547cfc662e2ddd96ec571f47b3da79de090 WHIRLPOOL 9c617a23cb93f9697148390c8f3e728ad532ae3c799175cae1b33f6e6eab477753872f4427599df59821f73bd880e81873b6ec15cc3cc4a7843c82841072af26
-AUX xenstored.initd-r1 915 SHA256 186a0ee79bbd99f4fe54c52bec0515917b6c31f9c18cf670aa6163a5c221e64a SHA512 7d1a45defdcc328d9e77e5890633a394312a93ebb2c9d28b418565aeaf5ab10abcc57a62f61178f22cfc313241e6fe0e324fba5c1784d437b7ff6ed30f0db16b WHIRLPOOL d71643c5fa5843fbc803dedec169408632b37f31e4e0a3b7232fba25b1aa3803a732d60683403322f3b32138bbfd13fa6a145033d8228a92a24677d082975a26
+AUX xenstored.initd-r1 916 SHA256 9c566b35a8951a50ebf4cb260c1a98e35093c6f6318231061d0068abf4e52de0 SHA512 1404c9c454f5359389a2e9588317f10412dafdbdeb1de5da945c10f8e6efd09007e96d35b75d04a4c3d5c59baa9c3bbee4192240cacee128b0adf9066d3efc10 WHIRLPOOL 3df3b1a69fce7559f3f41bb776c77c02912024224c0e4ef6059996a9077c942430950d75a6e063034160edf6e449ff84dde76996428d6e756451a3c32122ce89
DIST ovmf-20151110.tar.bz2 27518370 SHA256 74199f6b5c6f756881323242742c396c52096db5f61700a4eb839343f9ab0604 SHA512 dda185af2fc0b9a8d5fc7e1e96db6aa31807782fe77d38491896164d125c30d2277db3d71a7dce7bbd569723b344b97dfebbc78ddddca0a095721f6b1ae3a1d3 WHIRLPOOL 145fb1c873cce96b81b269b44800987ca1b7350425b682fd5a5799648b0270c6c17bb337ad7e06650e6b66a9ac6eef8d9c9239f1478a687be4af187e60c3f3f5
DIST seabios-1.10.0.tar.gz 588213 SHA256 8976fc4c1ebcda66ac96689762247dfc99115a5f7acb3a7d4e18d18ff5de12a9 SHA512 f1b83ce37b59070b488e19f98c95ca9f413cf4969663331b631c3ccb884c90b2db793d32a779ef05cead538c2fd123be4b73391ad2fa20c900a1f14237178d8c WHIRLPOOL 77718eac01a59f94c3fa81195925ae09c19e11f80f107b3387e910408d88d3ffc93eaca3b73d6a52b67514538c0e020b0f4078db8277a5ee6361fd0d3ada8598
DIST seabios-1.8.2.tar.gz 538497 SHA256 f59479307fdae840de398b75aacb2333c8eba24a5964d68c77e32ca6c987ee61 SHA512 798d222d5f5725a805cde9e6000b5ce714d0551fd4a3c2642cc6e77b2bdab1a9e239939a358a23bbe0e00112f5ad70696c87d20b90655463c835541fc04e1a00 WHIRLPOOL 9cda0ad502a59dd718c543b759ac3fcf5acb4adee70c3da9bfea95ab188415acf6425827de77f45421ec3be8fd9e0c37fb486e62828217ba3e83f88d942a3f4a
@@ -29,6 +30,7 @@ DIST xen-security-patches-25.tar.xz 9208 SHA256 ceaa520d4d98ab7b6ce5b58c38049937
EBUILD xen-tools-4.7.2.ebuild 14072 SHA256 61ab7974b863a2791aaa188c5f5df408f115c21c7a1f770654a807ca45d33365 SHA512 2a8119fa5eaa93594379d51d039e0af86c11d4082cc9f723fb87beb4c7f04d6bf1b09da858ec5919e29e6d322771994589080f68dfd61f32dfa699bf852db0d4 WHIRLPOOL 8d22df2a0c065d0b959a1cb4f5d3242ac51a28f9c4d86e07b3b27a52d06c79b7c0efa0f2c32a8ac5e9d701a009b12a1a0a5d53c3f987e14819a79f004333a621
EBUILD xen-tools-4.7.3.ebuild 14050 SHA256 bc76a043677701c09d900c4661a6c0a280c542ee12511230f3e242a682208967 SHA512 9e7f809973bd7bd37a8761d22fed9704e94b1a9a41c346799d81066a64b0ee9ba02cb0e5687fccb7618088f548fe58644bee7f81b1a6d44e43c5755ae49bf154 WHIRLPOOL 10939d779ead31d040cdaf3d3d5894628405c2a6ef47e056ac5c5a19b3741cb35201a42da5c504fee45acf681bf040f30bd6e9599eb09101bf196bdd6d4f5daa
EBUILD xen-tools-4.8.2-r1.ebuild 14101 SHA256 5ec0ac7e080f65b1a251741450f6ab822e96fa58f23b60059fca638f4ed0b097 SHA512 f0ee35035973c31fb8ad151acf1dbd087817eb20a1391a3284d086f2b2aa1ca0b5d4c645aebf659f398a796311d4b7fea126b2b3c7881c64952b6ff165b50134 WHIRLPOOL 747cc55bde6436ce03b4ebf8a02e7902835dcc973291b580dd8e44b98f60ce6cd5c32a48aac23fb5891435b9bda9a7d46ffd1e6dd0dc8c2487f30a979b0df4f5
+EBUILD xen-tools-4.8.2-r2.ebuild 14129 SHA256 55436a876264fde1ea13af717dda2a7ee1ad60516659eeb0f508ce39130f32b3 SHA512 d8462922f0707c7059fe7b7b9910b087e3ea06f276203a3512970ad65e2b76a6bfac8d822463416ac49a29a52b43376eafcb9466ad11b22268be9f60162b2d37 WHIRLPOOL 6a91e9d3d5178af5b96491e46c357a7e63488e9268aed5fcc66089438143737d735b48d107ec762c985ce56e707696c49a4fb4241a542efc7bb5168ae7c5fcf5
EBUILD xen-tools-4.8.2.ebuild 13727 SHA256 0d4650499b9177eeb87a5b023a51dd497167c10ef6a3de74365256d597365e03 SHA512 b01cdfe60007b8310d34f1c9be7ea268831f4b333219b2c0fbbd7ea501bdf6ca5ba84cae202e8a25aa1da9137f889d08bf49e3820ea9f923e3c5035e8ecb97aa WHIRLPOOL 36dfcacd7eb9876e64961de292f638c142a1678fa9d0d2d580f7f51eef33a612cbf1ad3f92b56f2dc563b21d4b0d044a325b2364bd4dc286de4a615f5e90c49d
MISC ChangeLog 22964 SHA256 15c6bdb3723570f38291c42047455516934b7d0e29969a0b7ac0176309d09509 SHA512 29a5c27e3fc0dba37b6b54a7834e39e34d3056d999b0a0ac0278607d7ac7adf7a924b054b941390c06643fabf873d559d627c0a026f1c6352c0732289ebf6707 WHIRLPOOL 2ecd5711ccdb9823c04cc4ed68392f8d1743c7070f34dbfe9bb0c264651bdf51d65210b4879e303ac550caf1fbd9ec6c2913feaaf5cfb96dd14b40e04af02a05
MISC ChangeLog-2015 70841 SHA256 e2535b416e2777d7e80d7d96a388c50ab42fb18cd2dd242feb09e339726574ef SHA512 ea9f464a5cf37ce8e7872934f46794a23dec950d6de7d81610e3410356b9a9916dab7d6a7a114819ebe678517e60f53b3debb692383274c74e04adbb59368069 WHIRLPOOL fc0e6610406053b81d3d4258ca0f3117c552f3ab8a33ee282ba31aa69f8b07d196374c74b4f97a8f60422d53dae27fbd02e4cfea1940bc14b7b5ec995d825b07
diff --git a/app-emulation/xen-tools/files/xen-watchdog.initd b/app-emulation/xen-tools/files/xen-watchdog.initd
new file mode 100644
index 000000000000..6fbc54dfb2fa
--- /dev/null
+++ b/app-emulation/xen-tools/files/xen-watchdog.initd
@@ -0,0 +1,6 @@
+#!/sbin/openrc-run
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+command="/usr/sbin/xenwatchdogd"
+command_args="30 15"
diff --git a/app-emulation/xen-tools/files/xenstored.initd-r1 b/app-emulation/xen-tools/files/xenstored.initd-r1
index 262535d68093..88d3ad7ba890 100644
--- a/app-emulation/xen-tools/files/xenstored.initd-r1
+++ b/app-emulation/xen-tools/files/xenstored.initd-r1
@@ -24,7 +24,7 @@ start() {
$XENSTORED_OPTS
until xenstore-exists / || $((15 < ++i))
do
- echo -n .
+ printf "."
sleep 1
done
einfo "Setting domain0 name record"
diff --git a/app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild b/app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild
new file mode 100644
index 000000000000..3de1759592f9
--- /dev/null
+++ b/app-emulation/xen-tools/xen-tools-4.8.2-r2.ebuild
@@ -0,0 +1,466 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE='ncurses,xml,threads'
+
+inherit bash-completion-r1 eutils flag-o-matic multilib python-single-r1 toolchain-funcs versionator
+
+MY_PV=${PV/_/-}
+MAJOR_V="$(get_version_component_range 1-2)"
+
+if [[ $PV == *9999 ]]; then
+ inherit git-r3
+ KEYWORDS=""
+ REPO="xen.git"
+ EGIT_REPO_URI="git://xenbits.xen.org/${REPO}"
+ S="${WORKDIR}/${REPO}"
+else
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+ UPSTREAM_VER=1
+ SECURITY_VER=
+ # xen-tools's gentoo patches tarball
+ GENTOO_VER=10
+ # xen-tools's gentoo patches version which apply to this specific ebuild
+ GENTOO_GPV=0
+ # xen-tools ovmf's patches
+ OVMF_VER=2
+
+ SEABIOS_VER=1.10.0
+ # OVMF upstream 52a99493cce88a9d4ec8a02d7f1bd1a1001ce60d
+ OVMF_PV=20151110
+
+ [[ -n ${UPSTREAM_VER} ]] && \
+ UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
+ [[ -n ${SECURITY_VER} ]] && \
+ SECURITY_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-security-patches-${SECURITY_VER}.tar.xz"
+ [[ -n ${GENTOO_VER} ]] && \
+ GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-gentoo-patches-${GENTOO_VER}.tar.xz"
+ [[ -n ${OVMF_VER} ]] && \
+ OVMF_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-ovmf-patches-${OVMF_VER}.tar.xz"
+
+ SRC_URI="https://downloads.xenproject.org/release/xen/${MY_PV}/xen-${MY_PV}.tar.gz
+ http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
+ https://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
+ ovmf? ( https://dev.gentoo.org/~dlan/distfiles/ovmf-${OVMF_PV}.tar.bz2
+ ${OVMF_PATCHSET_URI} )
+ ${UPSTREAM_PATCHSET_URI}
+ ${SECURITY_PATCHSET_URI}
+ ${GENTOO_PATCHSET_URI}"
+
+ S="${WORKDIR}/xen-${MY_PV}"
+fi
+
+DESCRIPTION="Xen tools including QEMU and xl"
+HOMEPAGE="https://www.xenproject.org"
+DOCS=( README docs/README.xen-bugtool )
+
+LICENSE="GPL-2"
+SLOT="0/${MAJOR_V}"
+# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
+# >=dev-lang/ocaml-4 stable
+# Masked in profiles/eapi-5-files instead
+IUSE="api custom-cflags debug doc flask hvm ocaml ovmf +pam pygrub python +qemu +qemu-traditional screen sdl static-libs system-qemu system-seabios"
+
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ pygrub? ( python )
+ ovmf? ( hvm )
+ ^^ ( qemu system-qemu )"
+
+COMMON_DEPEND="
+ sys-apps/pciutils
+ dev-libs/lzo:2
+ dev-libs/glib:2
+ dev-libs/yajl
+ dev-libs/libaio
+ dev-libs/libgcrypt:0
+ sys-libs/zlib
+ ${PYTHON_DEPS}
+"
+
+DEPEND="${COMMON_DEPEND}
+ dev-python/lxml[${PYTHON_USEDEP}]
+ x86? ( sys-devel/dev86
+ sys-power/iasl )
+ pam? ( dev-python/pypam[${PYTHON_USEDEP}] )
+ api? ( dev-libs/libxml2
+ net-misc/curl )
+ ovmf? (
+ !arm? ( !arm64? ( dev-lang/nasm ) )
+ $(python_gen_impl_dep sqlite)
+ )
+ !amd64? ( >=sys-apps/dtc-1.4.0 )
+ amd64? ( sys-devel/bin86
+ system-seabios? ( sys-firmware/seabios )
+ sys-firmware/ipxe
+ sys-devel/dev86
+ sys-power/iasl )
+ dev-lang/perl
+ app-misc/pax-utils
+ doc? (
+ app-text/pandoc
+ dev-python/markdown[${PYTHON_USEDEP}]
+ dev-texlive/texlive-latexextra
+ media-gfx/transfig
+ )
+ hvm? ( x11-proto/xproto
+ !net-libs/libiscsi )
+ qemu? (
+ app-arch/snappy:=
+ x11-libs/pixman
+ sdl? ( media-libs/libsdl[X] )
+ )
+ system-qemu? ( app-emulation/qemu[xen] )
+ ocaml? ( dev-ml/findlib
+ >=dev-lang/ocaml-4 )"
+
+RDEPEND="${COMMON_DEPEND}
+ sys-apps/iproute2[-minimal]
+ net-misc/bridge-utils
+ screen? (
+ app-misc/screen
+ app-admin/logrotate
+ )"
+
+# hvmloader is used to bootstrap a fully virtualized kernel
+# Approved by QA team in bug #144032
+QA_WX_LOAD="
+ usr/libexec/xen/boot/hvmloader
+ usr/share/qemu-xen/qemu/s390-ccw.img
+ usr/share/qemu-xen/qemu/u-boot.e500
+"
+
+QA_PREBUILT="
+ usr/libexec/xen/bin/ivshmem-client
+ usr/libexec/xen/bin/ivshmem-server
+ usr/libexec/xen/bin/qemu-img
+ usr/libexec/xen/bin/qemu-io
+ usr/libexec/xen/bin/qemu-nbd
+ usr/libexec/xen/bin/qemu-system-i386
+ usr/libexec/xen/bin/virtfs-proxy-helper
+ usr/libexec/xen/libexec/xen-bridge-helper
+ usr/share/qemu-xen/qemu/s390-ccw.img
+ usr/share/qemu-xen/qemu/u-boot.e500
+"
+
+RESTRICT="test"
+
+pkg_setup() {
+ python_setup
+ export "CONFIG_LOMOUNT=y"
+
+ #bug 522642, disable compile tools/tests
+ export "CONFIG_TESTS=n"
+
+ if [[ -z ${XEN_TARGET_ARCH} ]] ; then
+ if use x86 && use amd64; then
+ die "Confusion! Both x86 and amd64 are set in your use flags!"
+ elif use x86; then
+ export XEN_TARGET_ARCH="x86_32"
+ elif use amd64 ; then
+ export XEN_TARGET_ARCH="x86_64"
+ elif use arm; then
+ export XEN_TARGET_ARCH="arm32"
+ elif use arm64; then
+ export XEN_TARGET_ARCH="arm64"
+ else
+ die "Unsupported architecture!"
+ fi
+ fi
+}
+
+src_prepare() {
+ local i
+
+ # Upstream's patchset
+ if [[ -n ${UPSTREAM_VER} ]]; then
+ einfo "Try to apply Xen Upstream patch set"
+ EPATCH_SUFFIX="patch" \
+ EPATCH_FORCE="yes" \
+ EPATCH_OPTS="-p1" \
+ epatch "${WORKDIR}"/patches-upstream
+ fi
+
+ # Security patchset
+ if [[ -n ${SECURITY_VER} ]]; then
+ einfo "Try to apply Xen Security patch set"
+ # apply main xen patches
+ # Two parallel systems, both work side by side
+ # Over time they may concdense into one. This will suffice for now
+ EPATCH_SUFFIX="patch"
+ EPATCH_FORCE="yes"
+
+ source "${WORKDIR}"/patches-security/${PV}.conf || die
+
+ for i in ${XEN_SECURITY_MAIN}; do
+ epatch "${WORKDIR}"/patches-security/xen/$i
+ done
+
+ # apply qemu-xen/upstream patches
+ pushd "${S}"/tools/qemu-xen/ > /dev/null
+ for i in ${XEN_SECURITY_QEMUU}; do
+ epatch "${WORKDIR}"/patches-security/qemuu/$i
+ done
+ popd > /dev/null
+
+ # apply qemu-traditional patches
+ pushd "${S}"/tools/qemu-xen-traditional/ > /dev/null
+ for i in ${XEN_SECURITY_QEMUT}; do
+ epatch "${WORKDIR}"/patches-security/qemut/$i
+ done
+ popd > /dev/null
+ fi
+
+ # move before Gentoo patch, one patch should apply to seabios, to fix gcc-4.5.x build err
+ mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
+ pushd tools/firmware/ > /dev/null
+ ln -s seabios-dir-remote seabios-dir || die
+ popd > /dev/null
+
+ # Gentoo's patchset
+ if [[ -n ${GENTOO_VER} && -n ${GENTOO_GPV} ]]; then
+ einfo "Try to apply Gentoo specific patch set"
+ source "${FILESDIR}"/gentoo-patches.conf || die
+ _gpv=_gpv_${PN/-/_}_${PV//./}_${GENTOO_GPV}
+ for i in ${!_gpv}; do
+ EPATCH_SUFFIX="patch" \
+ EPATCH_FORCE="yes" \
+ epatch "${WORKDIR}"/patches-gentoo/$i
+ done
+ fi
+
+ # Ovmf's patchset
+ if use ovmf; then
+ if [[ -n ${OVMF_VER} ]];then
+ einfo "Try to apply Ovmf patch set"
+ pushd "${WORKDIR}"/ovmf-*/ > /dev/null
+ EPATCH_SUFFIX="patch" \
+ EPATCH_FORCE="yes" \
+ EPATCH_OPTS="-p1" \
+ epatch "${WORKDIR}"/patches-ovmf
+ popd > /dev/null
+ fi
+ mv ../ovmf-${OVMF_PV} tools/firmware/ovmf-dir-remote || die
+ fi
+
+ mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
+
+ # Fix building with gcc 7, Bug #634338
+ # https://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=f49fa658b53580cf2ad354d2bf1796766cc11222
+ sed -e 's/name\[60\]/name\[100\]/g' \
+ -i tools/misc/xenlockprof.c || die
+
+ # Fix texi2html build error with new texi2html, qemu.doc.html
+ sed -i -e "/texi2html -monolithic/s/-number//" tools/qemu-xen-traditional/Makefile || die
+
+ use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
+ sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
+ -i tools/firmware/Makefile || die
+
+ # Drop .config, fixes to gcc-4.6
+ sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
+
+ # if the user *really* wants to use their own custom-cflags, let them
+ if use custom-cflags; then
+ einfo "User wants their own CFLAGS - removing defaults"
+
+ # try and remove all the default cflags
+ find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
+ -exec sed \
+ -e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
+ -e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
+ -e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
+ -e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
+ -e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
+ -i {} + || die "failed to re-set custom-cflags"
+ else
+ unset CFLAGS
+ unset LDFLAGS
+ unset ASFLAGS
+ unset CPPFLAGS
+ fi
+
+ if ! use pygrub; then
+ sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
+ fi
+
+ if ! use python; then
+ sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
+ fi
+
+ if ! use hvm; then
+ sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
+ # Bug 351648
+ elif ! use x86 && ! has x86 $(get_all_abis); then
+ mkdir -p "${WORKDIR}"/extra-headers/gnu || die
+ touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
+ export CPATH="${WORKDIR}"/extra-headers
+ fi
+
+ if use qemu; then
+ if use sdl; then
+ sed -i -e "s:\$\$source/configure:\0 --enable-sdl:" \
+ tools/Makefile || die
+ else
+ sed -i -e "s:\${QEMU_ROOT\:\-\.}/configure:\0 --disable-sdl:" \
+ tools/qemu-xen-traditional/xen-setup || die
+ sed -i -e "s:\$\$source/configure:\0 --disable-sdl:" \
+ tools/Makefile || die
+ fi
+ else
+ # Don't bother with qemu, only needed for fully virtualised guests
+ sed -e "s:install-tools\: tools/qemu-xen-traditional-dir:install-tools\: :g" -i Makefile || die
+ fi
+
+ # Reset bash completion dir; Bug 472438
+ sed -e "s:^BASH_COMPLETION_DIR ?= \$(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(get_bashcompdir):" \
+ -i Config.mk || die
+ sed -i -e "/bash-completion/s/xl\.sh/xl/g" tools/libxl/Makefile || die
+
+ # xencommons, Bug #492332, sed lighter weight than patching
+ sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
+ -i tools/hotplug/Linux/init.d/xencommons.in || die
+
+ # fix bashishm
+ sed -e '/Usage/s/\$//g' \
+ -i tools/hotplug/Linux/init.d/xendriverdomain.in || die
+
+ # respect multilib, usr/lib/libcacard.so.0.0.0
+ sed -e "/^libdir=/s/\/lib/\/$(get_libdir)/" \
+ -i tools/qemu-xen/configure || die
+
+ #bug 518136, don't build 32bit exactuable for nomultilib profile
+ if [[ "${ARCH}" == 'amd64' ]] && ! has_multilib_profile; then
+ sed -i -e "/x86_emulator/d" tools/tests/Makefile || die
+ fi
+
+ # uncomment lines in xl.conf
+ sed -e 's:^#autoballoon=:autoballoon=:' \
+ -e 's:^#lockfile=:lockfile=:' \
+ -e 's:^#vif.default.script=:vif.default.script=:' \
+ -i tools/examples/xl.conf || die
+
+ default
+}
+
+src_configure() {
+ local myconf="--prefix=${PREFIX}/usr \
+ --libdir=${PREFIX}/usr/$(get_libdir) \
+ --libexecdir=${PREFIX}/usr/libexec \
+ --localstatedir=${EPREFIX}/var \
+ --disable-werror \
+ --disable-xen \
+ --enable-tools \
+ --enable-docs \
+ $(use_enable pam) \
+ $(use_enable api xenapi) \
+ $(use_enable ovmf) \
+ $(use_enable ocaml ocamltools) \
+ --with-xenstored=$(usex ocaml 'oxenstored' 'xenstored') \
+ "
+
+ use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin"
+ use system-qemu && myconf+=" --with-system-qemu=/usr/bin/qemu-system-x86_64"
+ use amd64 && myconf+=" $(use_enable qemu-traditional)"
+ econf ${myconf}
+}
+
+src_compile() {
+ export VARTEXFONTS="${T}/fonts"
+ local myopt
+ use debug && myopt="${myopt} debug=y"
+
+ if test-flag-CC -fno-strict-overflow; then
+ append-flags -fno-strict-overflow
+ fi
+
+ emake V=1 CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -C tools ${myopt}
+
+ if use doc; then
+ emake -C docs build
+ else
+ emake -C docs man-pages
+ fi
+}
+
+src_install() {
+ # Override auto-detection in the build system, bug #382573
+ export INITD_DIR=/tmp/init.d
+ export CONFIG_LEAF_DIR=../tmp/default
+
+ # Let the build system compile installed Python modules.
+ local PYTHONDONTWRITEBYTECODE
+ export PYTHONDONTWRITEBYTECODE
+
+ emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
+ XEN_PYTHON_NATIVE_INSTALL=y install-tools
+
+ # Created at runtime
+ rm -rv "${ED%/}/var/run" || die
+
+ # Fix the remaining Python shebangs.
+ python_fix_shebang "${D}"
+
+ # Remove RedHat-specific stuff
+ rm -rf "${D}"tmp || die
+
+ emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
+ use doc && dodoc -r docs/{pdf,txt}
+ dodoc ${DOCS[@]}
+
+ newconfd "${FILESDIR}"/xendomains.confd xendomains
+ newconfd "${FILESDIR}"/xenstored.confd xenstored
+ newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
+ newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
+ newinitd "${FILESDIR}"/xenstored.initd-r1 xenstored
+ newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
+ newinitd "${FILESDIR}"/xencommons.initd xencommons
+ newconfd "${FILESDIR}"/xencommons.confd xencommons
+ newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
+ newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
+ newinitd "${FILESDIR}"/xen-watchdog.initd xen-watchdog
+
+ if use screen; then
+ cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
+ cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
+ keepdir /var/log/xen-consoles
+ fi
+
+ # For -static-libs wrt Bug 384355
+ if ! use static-libs; then
+ rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
+ fi
+
+ # for xendomains
+ keepdir /etc/xen/auto
+
+ # Remove files failing QA AFTER emake installs them, avoiding seeking absent files
+ find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
+ -o -name openbios-ppc -o -name palcode-clipper \) -delete || die
+}
+
+pkg_postinst() {
+ elog "Official Xen Guide and the offical wiki page:"
+ elog "https://wiki.gentoo.org/wiki/Xen"
+ elog "https://wiki.xen.org/wiki/Main_Page"
+ elog ""
+ elog "Recommended to utilise the xencommons script to config sytem At boot"
+ elog "Add by use of rc-update on completion of the install"
+
+ if ! use hvm; then
+ echo
+ elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
+ elog "support enable the hvm use flag."
+ elog "An x86 or amd64 system is required to build HVM support."
+ fi
+
+ if use qemu; then
+ elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
+ elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
+ elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
+ elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
+ fi
+}