Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox/, app-emulation/virtualbox-additions/, ...
Date: Wed, 17 Oct 2018 13:05:42
Message-Id: 1539781526.7cafac86170db96ca02ad062d9684bdfe7437c19.polynomial-c@gentoo
1 commit: 7cafac86170db96ca02ad062d9684bdfe7437c19
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 17 12:59:27 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 17 13:05:26 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cafac86
7
8 virtualbox packages: Removed old.
9
10 Closes: https://bugs.gentoo.org/662326
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12 Package-Manager: Portage-2.3.51, Repoman-2.3.11
13 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
14
15 app-emulation/virtualbox-additions/Manifest | 3 -
16 .../virtualbox-additions-5.1.36-r1.ebuild | 35 --
17 .../virtualbox-additions-5.1.38.ebuild | 35 --
18 .../virtualbox-additions-5.2.16.ebuild | 33 --
19 app-emulation/virtualbox-bin/Manifest | 12 -
20 .../virtualbox-bin-5.1.36.122089.ebuild | 287 -------------
21 .../virtualbox-bin-5.1.38.122592.ebuild | 287 -------------
22 .../virtualbox-bin-5.2.16.123759.ebuild | 287 -------------
23 app-emulation/virtualbox-extpack-oracle/Manifest | 3 -
24 .../virtualbox-extpack-oracle-5.1.36.122089.ebuild | 42 --
25 .../virtualbox-extpack-oracle-5.1.38.122592.ebuild | 42 --
26 .../virtualbox-extpack-oracle-5.2.16.123759.ebuild | 42 --
27 app-emulation/virtualbox-guest-additions/Manifest | 4 -
28 .../virtualbox-guest-additions-5.1.36.ebuild | 219 ----------
29 .../virtualbox-guest-additions-5.1.38.ebuild | 219 ----------
30 .../virtualbox-guest-additions-5.2.14.ebuild | 2 -
31 .../virtualbox-guest-additions-5.2.16.ebuild | 234 ----------
32 .../virtualbox-guest-additions-5.2.18.ebuild | 2 -
33 .../virtualbox-guest-additions-5.2.20.ebuild | 2 -
34 app-emulation/virtualbox-modules/Manifest | 3 -
35 .../virtualbox-modules-5.1.36.ebuild | 60 ---
36 .../virtualbox-modules-5.1.38.ebuild | 56 ---
37 .../virtualbox-modules-5.2.16.ebuild | 51 ---
38 app-emulation/virtualbox/Manifest | 4 -
39 .../files/050_virtualbox-5.1.24-nopie.patch | 158 -------
40 .../files/virtualbox-5.1.4-paxmark-bldprogs.patch | 59 ---
41 app-emulation/virtualbox/virtualbox-5.1.36.ebuild | 470 --------------------
42 app-emulation/virtualbox/virtualbox-5.1.38.ebuild | 470 --------------------
43 app-emulation/virtualbox/virtualbox-5.2.16.ebuild | 473 ---------------------
44 x11-drivers/xf86-video-virtualbox/Manifest | 2 -
45 ...xf86-video-virtualbox-2.2.0-enable-opengl.patch | 13 -
46 .../files/xf86-video-virtualbox-5-localconfig | 30 --
47 ...o-virtualbox-5.0.0_beta3-configure_checks.patch | 52 ---
48 .../xf86-video-virtualbox-5.1.10-xorg119.patch | 82 ----
49 ...deo-virtualbox-5.1.24-Makefile.module.kms.patch | 13 -
50 x11-drivers/xf86-video-virtualbox/metadata.xml | 9 -
51 .../xf86-video-virtualbox-5.1.36.ebuild | 184 --------
52 .../xf86-video-virtualbox-5.1.38.ebuild | 184 --------
53 38 files changed, 4163 deletions(-)
54
55 diff --git a/app-emulation/virtualbox-additions/Manifest b/app-emulation/virtualbox-additions/Manifest
56 index b950e2cd370..9fe67ae6c37 100644
57 --- a/app-emulation/virtualbox-additions/Manifest
58 +++ b/app-emulation/virtualbox-additions/Manifest
59 @@ -1,6 +1,3 @@
60 -DIST VBoxGuestAdditions_5.1.36.iso 59596800 BLAKE2B c735a88f534b27f1f2f29d125d0fdf881285f64f7ea3f49a0bc9211af4f562562cc321983c222e6106459f3be14af94a3514765607d1cd8edf6e6352398cfe8c SHA512 08049007589f6bf56c84355b908355289f37eac8cb01d970e46ebe3b44b43ff406c37d0ddad245dd007447a00927a2d2312524e3ac99f8b6bad8695b403ca846
61 -DIST VBoxGuestAdditions_5.1.38.iso 59611136 BLAKE2B cde4ceb59159827304c99ab00fac4cd3598600c252e7b5a410a5be6ea50866ed2efae4ead9e5c4c1a1462b1cd6db973bd4b35b56d426934e80898837c536e778 SHA512 e082e6363e1e6fa8a7b6b6b4847e9f2ed17655b0ac143467553150f910d71e4dfff55686c38464dc60f77c57292610d13dc25ee5423877173467a86cfe232a3b
62 DIST VBoxGuestAdditions_5.2.14.iso 57978880 BLAKE2B de5cb3c5b7e2f3ee018588308573389fd973820e87d5b2e6640499c96dc21db95e71eb4e5e2469455febba8b2ccb4a7c6014176e784613218fa7eccabefe9e53 SHA512 1fd878f9e7fc1687907ac8dff6827bfd7aefe3ed48012b0dbbaf42ced21695ce52be6fe146128a6d1c67c7a0c5c39c9ef24e8ee562271fda117d13cca81427cb
63 -DIST VBoxGuestAdditions_5.2.16.iso 57976832 BLAKE2B 78c8d71e2a68306efaf2951d73099b7199e15d83d9fc2c70f73266fdf59798948b22815234a5e30eff43471fcb8a5967c74a439d79b5ed47971dd170498145de SHA512 f25bf8ce789f640e5a80ac55c5d1918702bfed711aeacddc951948dcb56a4aa43a5a4e8760e3b8cc6e18eee18eabff032dd8fff8b95cc18bc60177b0a481b592
64 DIST VBoxGuestAdditions_5.2.18.iso 57976832 BLAKE2B d212345e99856699ab43e83d747937a4bb7b0ee57dfa58d3e06d910fa94bb01a570afc2d5faa2ec64fd9c7377a0ab4c2bda32af5557b0655bc9cf30dc9c01691 SHA512 f4328afd4947e0e9d2f15bc15ec6ca7d9207d3d46e936d6575789e5a4f27ea271137b6f23592ff992530047a76393cdedd0dc8b10f61d7c94da5f5c7bd484a1c
65 DIST VBoxGuestAdditions_5.2.20.iso 58013696 BLAKE2B 1a0df07f2a086c41741d884a3eabd43d6f1fee368b143fbae4c8dbc930834fb8d5dd82e8563fe7c9e4c562a58e79c25e9603847d9eca908943e525505bf2f697 SHA512 a8b8f12a8f0b26bb88745d33aa419c45adb4a1e682c3af9a34b0556ac1d8bdf33044253ede41d894e0dba1857f8f3c5cc234006149771a25133c6112ec4aa4c3
66
67 diff --git a/app-emulation/virtualbox-additions/virtualbox-additions-5.1.36-r1.ebuild b/app-emulation/virtualbox-additions/virtualbox-additions-5.1.36-r1.ebuild
68 deleted file mode 100644
69 index dd316578127..00000000000
70 --- a/app-emulation/virtualbox-additions/virtualbox-additions-5.1.36-r1.ebuild
71 +++ /dev/null
72 @@ -1,35 +0,0 @@
73 -# Copyright 1999-2018 Gentoo Foundation
74 -# Distributed under the terms of the GNU General Public License v2
75 -
76 -EAPI=6
77 -
78 -inherit eutils
79 -
80 -MY_PN=VBoxGuestAdditions
81 -MY_PV="${PV/beta/BETA}"
82 -MY_PV="${MY_PV/rc/RC}"
83 -MY_P=${MY_PN}_${MY_PV}
84 -
85 -DESCRIPTION="CD image containing guest additions for VirtualBox"
86 -HOMEPAGE="https://www.virtualbox.org/"
87 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.iso"
88 -
89 -LICENSE="GPL-2+ LGPL-2.1+ MIT SGI-B-2.0 CDDL"
90 -SLOT="0"
91 -KEYWORDS="amd64 x86"
92 -IUSE=""
93 -RESTRICT="mirror"
94 -
95 -RDEPEND="!app-emulation/virtualbox-bin
96 - !=app-emulation/virtualbox-9999"
97 -
98 -S="${WORKDIR}"
99 -
100 -src_unpack() {
101 - return 0
102 -}
103 -
104 -src_install() {
105 - insinto /usr/share/${PN/-additions}
106 - newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
107 -}
108
109 diff --git a/app-emulation/virtualbox-additions/virtualbox-additions-5.1.38.ebuild b/app-emulation/virtualbox-additions/virtualbox-additions-5.1.38.ebuild
110 deleted file mode 100644
111 index a28d6005cb4..00000000000
112 --- a/app-emulation/virtualbox-additions/virtualbox-additions-5.1.38.ebuild
113 +++ /dev/null
114 @@ -1,35 +0,0 @@
115 -# Copyright 1999-2018 Gentoo Foundation
116 -# Distributed under the terms of the GNU General Public License v2
117 -
118 -EAPI=6
119 -
120 -inherit eutils
121 -
122 -MY_PN=VBoxGuestAdditions
123 -MY_PV="${PV/beta/BETA}"
124 -MY_PV="${MY_PV/rc/RC}"
125 -MY_P=${MY_PN}_${MY_PV}
126 -
127 -DESCRIPTION="CD image containing guest additions for VirtualBox"
128 -HOMEPAGE="https://www.virtualbox.org/"
129 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.iso"
130 -
131 -LICENSE="GPL-2+ LGPL-2.1+ MIT SGI-B-2.0 CDDL"
132 -SLOT="0"
133 -KEYWORDS="~amd64 ~x86"
134 -IUSE=""
135 -RESTRICT="mirror"
136 -
137 -RDEPEND="!app-emulation/virtualbox-bin
138 - !=app-emulation/virtualbox-9999"
139 -
140 -S="${WORKDIR}"
141 -
142 -src_unpack() {
143 - return 0
144 -}
145 -
146 -src_install() {
147 - insinto /usr/share/${PN/-additions}
148 - newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
149 -}
150
151 diff --git a/app-emulation/virtualbox-additions/virtualbox-additions-5.2.16.ebuild b/app-emulation/virtualbox-additions/virtualbox-additions-5.2.16.ebuild
152 deleted file mode 100644
153 index 93e9fc9b6d4..00000000000
154 --- a/app-emulation/virtualbox-additions/virtualbox-additions-5.2.16.ebuild
155 +++ /dev/null
156 @@ -1,33 +0,0 @@
157 -# Copyright 1999-2018 Gentoo Foundation
158 -# Distributed under the terms of the GNU General Public License v2
159 -
160 -EAPI=7
161 -
162 -MY_PN=VBoxGuestAdditions
163 -MY_PV="${PV/beta/BETA}"
164 -MY_PV="${MY_PV/rc/RC}"
165 -MY_P=${MY_PN}_${MY_PV}
166 -
167 -DESCRIPTION="CD image containing guest additions for VirtualBox"
168 -HOMEPAGE="https://www.virtualbox.org/"
169 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.iso"
170 -
171 -LICENSE="GPL-2+ LGPL-2.1+ MIT SGI-B-2.0 CDDL"
172 -SLOT="0"
173 -KEYWORDS="~amd64 ~x86"
174 -IUSE=""
175 -RESTRICT="mirror"
176 -
177 -RDEPEND="!app-emulation/virtualbox-bin
178 - !=app-emulation/virtualbox-9999"
179 -
180 -S="${WORKDIR}"
181 -
182 -src_unpack() {
183 - return 0
184 -}
185 -
186 -src_install() {
187 - insinto /usr/share/${PN/-additions}
188 - newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
189 -}
190
191 diff --git a/app-emulation/virtualbox-bin/Manifest b/app-emulation/virtualbox-bin/Manifest
192 index 40975e47f49..1cac2a0925a 100644
193 --- a/app-emulation/virtualbox-bin/Manifest
194 +++ b/app-emulation/virtualbox-bin/Manifest
195 @@ -1,24 +1,12 @@
196 -DIST Oracle_VM_VirtualBox_Extension_Pack-5.1.36-122089.tar.gz 19605234 BLAKE2B 4b263b27b130e5b5d7917f15f0dc782f28f7708cc10e22028ee27b33be6541df5211c4fb36951a6b293d19b8933182097cd0575da8c1d00b6a96e747c1962762 SHA512 e11b294da83b4605c40132f2ea5f95f2820f901d2ed1d438c22c4cc9f779baa3112b9334036717d1593d5f9ec8374d7d7bc826012e2019ef0ba79bacb1deb7b8
197 -DIST Oracle_VM_VirtualBox_Extension_Pack-5.1.38-122592.tar.gz 19717251 BLAKE2B 90dcaa58284c6dc9101dbc8eb9ceda55d16c4a48fd58fb43c4a6b7d3d5c582c31930f6e773397ae9379e75771c88b40aad276436bb1d56a71a8e744353e04ec9 SHA512 ba44d53e06adababd0ac7c8a68ea025e1e7afd39fe648079bbb879e81130d45f00b944795cfd37f7f05c16d5a7723b85c49a8435c8399180af627dd3b3de00bc
198 DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.14-123301.tar.gz 19589209 BLAKE2B 385bdfb4cef67788a1dd3e758f52dab7a367f56ca8d286e465af9a7674ffe3bc0f6187a66d7d19bb8f2a8fc0e23e0ce7ef35ac2d46fd6971dc2df96e8a61ca11 SHA512 a47a7173685b72995e5012386fc8f6c55f9106049a28ecaea223f58f1bb40077e0929cf05102a2588e516fe90891428b8e569ec9351fcaf235eb9f8293e45b92
199 -DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.16-123759.tar.gz 19588810 BLAKE2B 51fb01ace72f6bc3f0e1ab6804c44ca44463ad24986af08b79c41bb06f43776c9f022d1766d07a4f9a47615119963636cad52d8f7d7bcc9f5e58f51c093f0bcd SHA512 8dfadb83111226a7bbc522d1caf16327051d76ee9382cb62281df5735f87d0e26994dd38a279027dae27c0371120bf95066d5260e79003c5a8982710579ecbce
200 DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.18-124319.tar.gz 19592275 BLAKE2B 7be65024837e46073049d3d751df00b50bf2d5d81faef3ba2a869429800d999f473b570bfe75201d07347e751893d280f7238a076a172ad2046b64c151b675ba SHA512 fa4bf8202f4d5f86cf4a04aaf6e77ce2f86ccde126d5543846793a021fc1e861f35d256432d762aebd38fc6cd0fa0bfe2a4def76334f468de316fe925d2fe414
201 DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.20-125813.tar.gz 19641208 BLAKE2B ffe4e89b88609d575f7e9f5aed5330de5024462ae564684cf3f565b62649d022c8fc9368cfd1685e3e4fc34e9a23cb0651c483f129b533f9afec38bcae89d587 SHA512 df9ae6af9ad1c1106bf8bf0595fdcdd3ec45bc74b90655e762fb18a4c8ea268bed366ce3caaf0f95682577b61b337650a6fe7ef901f6925fa38679ccd885c21c
202 -DIST VirtualBox-5.1.36-122089-Linux_amd64.run 88329683 BLAKE2B 96e0296243056ebaecde4435fe68f82dacfc66a0d23b70365c7495112672b60be7682ef794851b68198d0d0f01ec84cb314f06b434726e5f75e47751771cbd3b SHA512 6c62c642da78561ec5130e18ebac24d52871b4c518ce507f1deb0a279c58dfc1b87c4afecf63236e7274da65d5d784575779ad39e17a4f8b1f05c29a3ca95d55
203 -DIST VirtualBox-5.1.36-122089-Linux_x86.run 87449039 BLAKE2B 826071838fdb7567ec7064eb6db216d9d695f3504b0c37b2db637df5757ece58b8c1c0b430cef1c1e6657bd9dc556c074891732cd4481243af72051f66ec6bec SHA512 c593483949a5389cddbe47fb3d07e7acc55868671d72ccd696e1c039ace24e7b88be9cf088c32b419c5f4ba76ceada6e388b63dbeac6376b13627543c472afe8
204 -DIST VirtualBox-5.1.38-122592-Linux_amd64.run 88329683 BLAKE2B 124b1a3d45b0aa213a63ccc225570158faa11adf51a9bc503c014a302ba6a9739e9b50780c93ca6b8704e4666f809b97d1548db74817020301f560252bf71182 SHA512 963ed0b5555bcc43a72dbf49d3d6d9a1a2b1118808ea601765ce102ce72a05439903247680d0b49df4d15cdca68b40a8c5a26df9340c24ed681c3353f2f8e072
205 -DIST VirtualBox-5.1.38-122592-Linux_x86.run 87449039 BLAKE2B a591a64422cd6e7bb292aaa0f35e5ed9a722b3d835800b2ce09814f2756f088e3a7adc0fc483f2a6ec36e265aeddf6ecfe1aa1bf60a78675696859bff1d0afb9 SHA512 41f9aebbb7c4ad6192cfef57ca956c5ec4b96c8547380abc3b56629c821094ccb28bac69645042e0ac22664db6c59aeff49ccc80d88e1eae5ffb95f55a467a07
206 DIST VirtualBox-5.2.14-123301-Linux_amd64.run 88749523 BLAKE2B 5a2791a1258adcdc82f8776fb0d5502d525faa0083b808f1875f0c61b848aa371fa0b6b73ca024c244b36dfb074a8839747ad27a87cb8dfbaad09096a0cec887 SHA512 8c4633ef0e3a9f7f26603009a23244696a6f91baffa9777a0daf8f09abd80b4aca944dabfd2a10acddf4759e64ec719948d73ecaaf187a60a15e097467060ea9
207 DIST VirtualBox-5.2.14-123301-Linux_x86.run 87776718 BLAKE2B 609c24ad2ba5b005f7cb619fbe2c2a82f026a7ae4ef74cda800c526c8c3552a2a1ed1af5a2a2b3d9c56f0dfbcdda493c2cc92b58156cbf41ebfb1d43bfee8aca SHA512 820c2b6c97a48c125b69e1f749a3b1473d5fe672726ae2cec30f20a6652186a28b3900d4aeffca701415275229232925d1c8c347aefa7a86840a2c5bf13f21a7
208 -DIST VirtualBox-5.2.16-123759-Linux_amd64.run 88729043 BLAKE2B 0bc183146cdafbd5b12c4d46976cd3775a4ea11aaadae155d979ef81cf04ae8c77d6b48d0e240bad3bd440f532530e6d7584f58e7b29161a0f355bc8b7c15061 SHA512 c815a025376d86a5bed753ef8b729155b2a01d9e4c9b573e70d3b4f7db497285b991b278504d4b4fbf382a00080974551f214176c0e3fbaa2679534b3ee32b90
209 -DIST VirtualBox-5.2.16-123759-Linux_x86.run 87756239 BLAKE2B 911ddf8b260ce18ff12c9cd6675105327b9c5916f436ee7421db3362403ee4960a8e24a6c25348c7188becdfbbfe0685f42a84ac166e39a753d4407c04721248 SHA512 9b52faab1ecd9e30cbf37fbec1a9a150f3dabb47ac62f355ed67744a849f07c52885852c310c39d9d36f90461fb318f8923afde9ec81bd754c1afbeeb2788427
210 DIST VirtualBox-5.2.18-124319-Linux_amd64.run 88780242 BLAKE2B a07e5bfcc2e988a4e499a974d97ed36cad9a95055d2df3aab8def3cbf19da4658411465d973935c86bd1642047e16a16041eb6f9da0f85183e86d5022208332a SHA512 f280ca01e4e9cd20bcd88479548b10931558052bcf45e96ba9dd70f9ca81036509c5391fac4ce1635b1d2597a10093979bd58017612d34a56b7df20a59a30b74
211 DIST VirtualBox-5.2.18-124319-Linux_x86.run 87838159 BLAKE2B 6b89a068ac699a1aaf77859b4373ea93fc3bfa863234e8befda725326297589a6e8e535c2b6f48ae60ac50805c224b6a889b7fa4bfb06e5dbb44623a5c84b02e SHA512 791ba9bab7e92e058b41ada88925f3d1159eaf922f8029a254096b994608a0be4d916de9b067923e6fcc176a5d7fcfe16c45e00a204bac22e3a7ce7409014595
212 DIST VirtualBox-5.2.20-125813-Linux_amd64.run 88841683 BLAKE2B a3cce78d5a90187ece0eda11032a36096a05b0a7020ec729c07963510db6fa4e436edbf03b5e385d826c7e2ddeae84e4138273b6b5876be2b33c7a8f259753f3 SHA512 28614d71b564e138526cf75662d5e0ce2c083bfa4bc0124f7b0d20532b5a09391d00609a2c003ac5311220c844f2b1fffdee46f53e1018f0df5b6ff1b7a6ba12
213 DIST VirtualBox-5.2.20-125813-Linux_x86.run 87889359 BLAKE2B bc66cf6af5e7a92c642e028bc82830641bed02f5e7daa4c607b165af9f707b3ec359a0ab40f68822472e0087a9a17723de20567f08f14125f8c74d058eecbc88 SHA512 8a7cba49194a7dcb86b3b908e9b8f83d3ad83cfd057e75bda6bb16da1f62ec65e10892696f94f0bc0f4bff4f4f055aa2bdc250e10b46d06b3f8f616000dad48a
214 -DIST VirtualBoxSDK-5.1.36-122089.zip 9864160 BLAKE2B 0db3d44c44f93a80607791f2ff5cbdf6aed2b324c207bb9bbc808b5cc836f01ade9c48ed3474c4f174a43b29969fe632b5ccd2b3ad0af197894d63887144bf0c SHA512 98f6e59a5e344bf23f6af6c0e791f28920940de907721981c99b66b8e7c20cb06a7e1211b2029a1279e583fb4ed456019005c2bf3a91b3d8b3fbd61e6e44c914
215 -DIST VirtualBoxSDK-5.1.38-122592.zip 9867112 BLAKE2B d3deeda2adafcb675370c7228f49a209e5f76986fc4c9ac5aa8ff2e809912f458c9cfc2d8f011404fb4bd7b45b80f0ff857dd85dd597d622971a2556c6b17bbf SHA512 e03fab6573e61f59fc4e017d8c6cfde08e734939efe6c2f8edc5e6e9da5a1d616012cae06d630a3e2a2b1d72775eb8f0a05eb230fa81321ec33ba1975ec34ce9
216 DIST VirtualBoxSDK-5.2.14-123301.zip 10154044 BLAKE2B 273219029c59ffd685fffb7e14fff914a5397acc0676c8b4ccaee9cecee51e90880e68d883125e061d6c02e09b53235821ff89a265e937c9b4e67365452a97d2 SHA512 c69e6f537af611b9a4bcbab3e014fa25c6593f754940c6596e451cf895cb088186d037ac4816a3bae793213c774befd54ffa86d43948fa546f753a37fcdabd51
217 -DIST VirtualBoxSDK-5.2.16-123759.zip 10158952 BLAKE2B 66140092c221b998919a3840745e2ae58671b65f1db774ddb6691d085e95a35cdfa1e939a84cb032e2f67bd4485bd8f940f5db6d3712569942cbcc2a0f1bf234 SHA512 2b735016ea99e94317876f2e845cf94dd845bf51a86b42e938cae4bee003483f6061a7d89150f3d1fe5b84970a4fa83ae5bed7acf6570b849df5258efc8eb38f
218 DIST VirtualBoxSDK-5.2.18-124319.zip 10153509 BLAKE2B fc937cfe4c6bb1ad6416fc975b7f8c31604fc78fe4da59596054831a8f5e47b7e2c39ad855f3ae0f45b3aa3a527bc6ad9b559901aefbd2f188c04fc3f8342188 SHA512 fefac8821e0ba83d130fad1dffa5f1d49c063d39694028005f655b8dd4f93bb8ab9697cdd2ea03c9cbc1d977f01da92ca6e6aa571497171a1d414ece239db680
219 DIST VirtualBoxSDK-5.2.20-125813.zip 10152506 BLAKE2B 0a0fe51b22391430b5f67f4dfa24e2985beb364f69acf67f19154bbd5acca00260abdc8ade32c245e1a19340c88ee49776442b036dccdb5f932c052c9701c7e3 SHA512 e87b41bc23de5aae3a368834dc33e4b0eff63e945f81323886491cd6139089c29dc113d5d2144ac76650d501d3a6f0fc858ff2e1afe29df4396ed7cc7552762d
220
221 diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-5.1.36.122089.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-5.1.36.122089.ebuild
222 deleted file mode 100644
223 index 8a5b8148a15..00000000000
224 --- a/app-emulation/virtualbox-bin/virtualbox-bin-5.1.36.122089.ebuild
225 +++ /dev/null
226 @@ -1,287 +0,0 @@
227 -# Copyright 1999-2018 Gentoo Foundation
228 -# Distributed under the terms of the GNU General Public License v2
229 -
230 -EAPI=5
231 -
232 -PYTHON_COMPAT=( python2_7 )
233 -
234 -inherit eutils xdg-utils gnome2 pax-utils python-r1 udev unpacker versionator
235 -
236 -MAIN_PV="$(get_version_component_range 1-3)"
237 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
238 - MY_PV="${MAIN_PV}_$(get_version_component_range 5)"
239 - MY_PV="${MY_PV/beta/BETA}"
240 - MY_PV="${MY_PV/rc/RC}"
241 -else
242 - MY_PV="${MAIN_PV}"
243 -fi
244 -VBOX_BUILD_ID="$(get_version_component_range 4)"
245 -VBOX_PV="${MY_PV}-${VBOX_BUILD_ID}"
246 -MY_P="VirtualBox-${VBOX_PV}-Linux"
247 -# needed as sometimes the extpack gets another build ID
248 -EXTP_PV="${VBOX_PV}"
249 -EXTP_PN="Oracle_VM_VirtualBox_Extension_Pack"
250 -EXTP_P="${EXTP_PN}-${EXTP_PV}"
251 -# needed as sometimes the SDK gets another build ID
252 -SDK_PV="${VBOX_PV}"
253 -SDK_P="VirtualBoxSDK-${SDK_PV}"
254 -
255 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
256 -HOMEPAGE="https://www.virtualbox.org/"
257 -SRC_URI="amd64? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_amd64.run )
258 - x86? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_x86.run )
259 - https://download.virtualbox.org/virtualbox/${MY_PV}/${EXTP_P}.vbox-extpack -> ${EXTP_P}.tar.gz"
260 -
261 -LICENSE="GPL-2 PUEL"
262 -SLOT="0"
263 -KEYWORDS="amd64 x86"
264 -IUSE="+additions +chm headless python vboxwebsrv rdesktop-vrdp"
265 -RESTRICT="mirror"
266 -
267 -if [[ "${PV}" != *beta* ]] ; then
268 - SRC_URI+="
269 - sdk? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${SDK_P}.zip )"
270 - IUSE+=" sdk"
271 -fi
272 -
273 -DEPEND="app-arch/unzip
274 - ${PYTHON_DEPS}"
275 -
276 -RDEPEND="!!app-emulation/virtualbox
277 - !app-emulation/virtualbox-additions
278 - ~app-emulation/virtualbox-modules-${MAIN_PV}
279 - !headless? (
280 - dev-libs/glib
281 - media-libs/fontconfig
282 - media-libs/freetype
283 - media-libs/libpng
284 - media-libs/libsdl[X]
285 - x11-libs/libXcursor
286 - x11-libs/libXext
287 - x11-libs/libXfixes
288 - x11-libs/libXft
289 - x11-libs/libXi
290 - x11-libs/libXinerama
291 - x11-libs/libXrandr
292 - x11-libs/libXrender
293 - chm? ( dev-libs/expat )
294 - )
295 - dev-libs/libxml2
296 - sys-fs/lvm2
297 - x11-libs/libXau
298 - x11-libs/libX11
299 - x11-libs/libXt
300 - x11-libs/libXmu
301 - x11-libs/libSM
302 - x11-libs/libICE
303 - x11-libs/libXdmcp
304 - ${PYTHON_DEPS}"
305 -
306 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
307 -S="${WORKDIR}"
308 -
309 -QA_PREBUILT="opt/VirtualBox/*"
310 -
311 -PYTHON_UPDATER_IGNORE="1"
312 -
313 -src_unpack() {
314 - unpack_makeself ${MY_P}_${ARCH}.run
315 - unpack ./VirtualBox.tar.bz2
316 -
317 - mkdir "${S}"/${EXTP_PN} || die
318 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
319 - unpack ${EXTP_P}.tar.gz
320 - popd &>/dev/null || die
321 -
322 - if [[ "${PV}" != *beta* ]] && use sdk ; then
323 - unpack VirtualBoxSDK-${SDK_PV}.zip
324 - fi
325 -}
326 -
327 -src_configure() {
328 - :;
329 -}
330 -
331 -src_compile() {
332 - :;
333 -}
334 -
335 -src_install() {
336 - # create virtualbox configurations files
337 - insinto /etc/vbox
338 - newins "${FILESDIR}/${PN}-config" vbox.cfg
339 -
340 - if ! use headless ; then
341 - newmenu "${FILESDIR}"/${PN}.desktop-2 ${PN}.desktop
342 -
343 - # set up symlinks (bug #572012)
344 - dosym ../../../../opt/VirtualBox/virtualbox.xml /usr/share/mime/packages/virtualbox.xml
345 -
346 - local size ico icofile
347 - for size in 16 24 32 48 64 72 96 128 256 ; do
348 - pushd "${S}"/icons/${size}x${size} &>/dev/null || die
349 - if [[ -f "virtualbox.png" ]] ; then
350 - doicon -s ${size} virtualbox.png
351 - fi
352 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
353 - icofile="virtualbox-${ico}.png"
354 - if [[ -f "${icofile}" ]] ; then
355 - doicon -s ${size} ${icofile}
356 - fi
357 - done
358 - popd &>/dev/null || die
359 - done
360 - doicon -s scalable "${S}"/icons/scalable/virtualbox.svg
361 - insinto /usr/share/pixmaps
362 - newins "${S}"/icons/48x48/virtualbox.png ${PN}.png
363 - fi
364 -
365 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
366 - insinto /opt/VirtualBox/ExtensionPacks/${EXTP_PN}
367 - doins -r linux.${ARCH}
368 - doins ExtPack* PXE-Intel.rom
369 - popd &>/dev/null || die
370 - rm -rf "${S}"/${EXTP_PN}
371 -
372 - insinto /opt/VirtualBox
373 - dodir /opt/bin
374 -
375 - doins UserManual.pdf
376 -
377 - if [[ "${PV}" != *beta* ]] && use sdk ; then
378 - doins -r sdk
379 - fi
380 -
381 - if use additions; then
382 - doins -r additions
383 - fi
384 -
385 - if use vboxwebsrv; then
386 - doins vboxwebsrv
387 - fowners root:vboxusers /opt/VirtualBox/vboxwebsrv
388 - fperms 0750 /opt/VirtualBox/vboxwebsrv
389 - dosym ../../opt/VirtualBox/VBox.sh /opt/bin/vboxwebsrv
390 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
391 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
392 - fi
393 -
394 - if use rdesktop-vrdp; then
395 - doins rdesktop-vrdp
396 - doins -r rdesktop-vrdp-keymaps
397 - fperms 0750 /opt/VirtualBox/rdesktop-vrdp
398 - dosym ../../opt/VirtualBox/rdesktop-vrdp /opt/bin/rdesktop-vrdp
399 - fi
400 -
401 - if ! use headless && use chm; then
402 - doins kchmviewer VirtualBox.chm
403 - fowners root:vboxusers /opt/VirtualBox/kchmviewer
404 - fperms 0750 /opt/VirtualBox/kchmviewer
405 - fi
406 -
407 - # This ebuild / package supports only py2.7. When py3 comes is unknown.
408 - # The compile phase makes VBoxPython2_7.so.
409 - # py3 support would presumably require a binary pre-compiled by py3.
410 - use python && doins VBoxPython.so VBoxPython2_7.so
411 -
412 - rm -rf src rdesktop* deffiles install* routines.sh runlevel.sh \
413 - vboxdrv.sh VBox.sh VBox.png vboxnet.sh additions VirtualBox.desktop \
414 - VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \
415 - webtest kchmviewer VirtualBox.chm vbox-create-usb-node.sh \
416 - 90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py \
417 - VBoxPython?_*.so
418 -
419 - if use headless ; then
420 - rm -rf VBoxSDL VirtualBox VBoxKeyboard.so
421 - fi
422 -
423 - doins -r * || die
424 -
425 - # create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
426 - dosym ../VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
427 - dosym ../VBoxREM.so /opt/VirtualBox/components/VBoxREM.so
428 - dosym ../VBoxRT.so /opt/VirtualBox/components/VBoxRT.so
429 - dosym ../VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so
430 - dosym ../VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
431 -
432 - local each
433 - for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,NetNAT,TestOGL,ExtPackHelperApp}; do
434 - fowners root:vboxusers /opt/VirtualBox/${each}
435 - fperms 0750 /opt/VirtualBox/${each}
436 - pax-mark -m "${D}"/opt/VirtualBox/${each}
437 - done
438 - # VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
439 - fperms 4750 /opt/VirtualBox/VBoxNetAdpCtl
440 - fperms 4750 /opt/VirtualBox/VBoxNetDHCP
441 - fperms 4750 /opt/VirtualBox/VBoxNetNAT
442 -
443 - if ! use headless ; then
444 - # Hardened build: Mark selected binaries set-user-ID-on-execution
445 - for each in VBox{SDL,Headless} VirtualBox; do
446 - fowners root:vboxusers /opt/VirtualBox/${each}
447 - fperms 4510 /opt/VirtualBox/${each}
448 - pax-mark -m "${D}"/opt/VirtualBox/${each}
449 - done
450 -
451 - dosym ../VirtualBox/VBox.sh /opt/bin/VirtualBox
452 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxSDL
453 - else
454 - # Hardened build: Mark selected binaries set-user-ID-on-execution
455 - fowners root:vboxusers /opt/VirtualBox/VBoxHeadless
456 - fperms 4510 /opt/VirtualBox/VBoxHeadless
457 - pax-mark -m "${D}"/opt/VirtualBox/VBoxHeadless
458 - fi
459 -
460 - exeinto /opt/VirtualBox
461 - newexe "${FILESDIR}/${PN}-3-wrapper" "VBox.sh"
462 - fowners root:vboxusers /opt/VirtualBox/VBox.sh
463 - fperms 0750 /opt/VirtualBox/VBox.sh
464 -
465 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxManage
466 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxVRDP
467 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxHeadless
468 - dosym ../VirtualBox/VBoxTunctl /opt/bin/VBoxTunctl
469 -
470 - # set an env-variable for 3rd party tools
471 - echo -n "VBOX_APP_HOME=/opt/VirtualBox" > "${T}/90virtualbox"
472 - doenvd "${T}/90virtualbox"
473 -
474 - local udevdir="$(get_udevdir)"
475 - insinto ${udevdir}/rules.d
476 - doins "${FILESDIR}"/10-virtualbox.rules
477 - sed "s@%UDEVDIR%@${udevdir}@" \
478 - -i "${D}"${udevdir}/rules.d/10-virtualbox.rules || die
479 - # move udev scripts into ${udevdir} (bug #372491)
480 - mv "${D}"/opt/VirtualBox/VBoxCreateUSBNode.sh "${D}"${udevdir} || die
481 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
482 -}
483 -
484 -pkg_postinst() {
485 - xdg_desktop_database_update
486 -
487 - gnome2_icon_cache_update
488 -
489 - udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
490 -
491 - elog ""
492 - if ! use headless ; then
493 - elog "To launch VirtualBox just type: \"VirtualBox\""
494 - elog ""
495 - fi
496 - elog "You must be in the vboxusers group to use VirtualBox."
497 - elog ""
498 - elog "For advanced networking setups you should emerge:"
499 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
500 - elog ""
501 - elog "Please visit http://www.virtualbox.org/wiki/Editions for"
502 - elog "an overview about the different features of ${PN}"
503 - elog "and virtualbox-ose"
504 - if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
505 - elog ""
506 - elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
507 - elog "or else USB in ${PN} won't work."
508 - fi
509 -}
510 -
511 -pkg_postrm() {
512 - xdg_desktop_database_update
513 -}
514
515 diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-5.1.38.122592.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-5.1.38.122592.ebuild
516 deleted file mode 100644
517 index 94de7dd7a10..00000000000
518 --- a/app-emulation/virtualbox-bin/virtualbox-bin-5.1.38.122592.ebuild
519 +++ /dev/null
520 @@ -1,287 +0,0 @@
521 -# Copyright 1999-2018 Gentoo Foundation
522 -# Distributed under the terms of the GNU General Public License v2
523 -
524 -EAPI=5
525 -
526 -PYTHON_COMPAT=( python2_7 )
527 -
528 -inherit eutils xdg-utils gnome2 pax-utils python-r1 udev unpacker versionator
529 -
530 -MAIN_PV="$(get_version_component_range 1-3)"
531 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
532 - MY_PV="${MAIN_PV}_$(get_version_component_range 5)"
533 - MY_PV="${MY_PV/beta/BETA}"
534 - MY_PV="${MY_PV/rc/RC}"
535 -else
536 - MY_PV="${MAIN_PV}"
537 -fi
538 -VBOX_BUILD_ID="$(get_version_component_range 4)"
539 -VBOX_PV="${MY_PV}-${VBOX_BUILD_ID}"
540 -MY_P="VirtualBox-${VBOX_PV}-Linux"
541 -# needed as sometimes the extpack gets another build ID
542 -EXTP_PV="${VBOX_PV}"
543 -EXTP_PN="Oracle_VM_VirtualBox_Extension_Pack"
544 -EXTP_P="${EXTP_PN}-${EXTP_PV}"
545 -# needed as sometimes the SDK gets another build ID
546 -SDK_PV="${VBOX_PV}"
547 -SDK_P="VirtualBoxSDK-${SDK_PV}"
548 -
549 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
550 -HOMEPAGE="https://www.virtualbox.org/"
551 -SRC_URI="amd64? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_amd64.run )
552 - x86? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_x86.run )
553 - https://download.virtualbox.org/virtualbox/${MY_PV}/${EXTP_P}.vbox-extpack -> ${EXTP_P}.tar.gz"
554 -
555 -LICENSE="GPL-2 PUEL"
556 -SLOT="0"
557 -KEYWORDS="~amd64 ~x86"
558 -IUSE="+additions +chm headless python vboxwebsrv rdesktop-vrdp"
559 -RESTRICT="mirror"
560 -
561 -if [[ "${PV}" != *beta* ]] ; then
562 - SRC_URI+="
563 - sdk? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${SDK_P}.zip )"
564 - IUSE+=" sdk"
565 -fi
566 -
567 -DEPEND="app-arch/unzip
568 - ${PYTHON_DEPS}"
569 -
570 -RDEPEND="!!app-emulation/virtualbox
571 - !app-emulation/virtualbox-additions
572 - ~app-emulation/virtualbox-modules-${MAIN_PV}
573 - !headless? (
574 - dev-libs/glib
575 - media-libs/fontconfig
576 - media-libs/freetype
577 - media-libs/libpng
578 - media-libs/libsdl[X]
579 - x11-libs/libXcursor
580 - x11-libs/libXext
581 - x11-libs/libXfixes
582 - x11-libs/libXft
583 - x11-libs/libXi
584 - x11-libs/libXinerama
585 - x11-libs/libXrandr
586 - x11-libs/libXrender
587 - chm? ( dev-libs/expat )
588 - )
589 - dev-libs/libxml2
590 - sys-fs/lvm2
591 - x11-libs/libXau
592 - x11-libs/libX11
593 - x11-libs/libXt
594 - x11-libs/libXmu
595 - x11-libs/libSM
596 - x11-libs/libICE
597 - x11-libs/libXdmcp
598 - ${PYTHON_DEPS}"
599 -
600 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
601 -S="${WORKDIR}"
602 -
603 -QA_PREBUILT="opt/VirtualBox/*"
604 -
605 -PYTHON_UPDATER_IGNORE="1"
606 -
607 -src_unpack() {
608 - unpack_makeself ${MY_P}_${ARCH}.run
609 - unpack ./VirtualBox.tar.bz2
610 -
611 - mkdir "${S}"/${EXTP_PN} || die
612 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
613 - unpack ${EXTP_P}.tar.gz
614 - popd &>/dev/null || die
615 -
616 - if [[ "${PV}" != *beta* ]] && use sdk ; then
617 - unpack VirtualBoxSDK-${SDK_PV}.zip
618 - fi
619 -}
620 -
621 -src_configure() {
622 - :;
623 -}
624 -
625 -src_compile() {
626 - :;
627 -}
628 -
629 -src_install() {
630 - # create virtualbox configurations files
631 - insinto /etc/vbox
632 - newins "${FILESDIR}/${PN}-config" vbox.cfg
633 -
634 - if ! use headless ; then
635 - newmenu "${FILESDIR}"/${PN}.desktop-2 ${PN}.desktop
636 -
637 - # set up symlinks (bug #572012)
638 - dosym ../../../../opt/VirtualBox/virtualbox.xml /usr/share/mime/packages/virtualbox.xml
639 -
640 - local size ico icofile
641 - for size in 16 24 32 48 64 72 96 128 256 ; do
642 - pushd "${S}"/icons/${size}x${size} &>/dev/null || die
643 - if [[ -f "virtualbox.png" ]] ; then
644 - doicon -s ${size} virtualbox.png
645 - fi
646 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
647 - icofile="virtualbox-${ico}.png"
648 - if [[ -f "${icofile}" ]] ; then
649 - doicon -s ${size} ${icofile}
650 - fi
651 - done
652 - popd &>/dev/null || die
653 - done
654 - doicon -s scalable "${S}"/icons/scalable/virtualbox.svg
655 - insinto /usr/share/pixmaps
656 - newins "${S}"/icons/48x48/virtualbox.png ${PN}.png
657 - fi
658 -
659 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
660 - insinto /opt/VirtualBox/ExtensionPacks/${EXTP_PN}
661 - doins -r linux.${ARCH}
662 - doins ExtPack* PXE-Intel.rom
663 - popd &>/dev/null || die
664 - rm -rf "${S}"/${EXTP_PN}
665 -
666 - insinto /opt/VirtualBox
667 - dodir /opt/bin
668 -
669 - doins UserManual.pdf
670 -
671 - if [[ "${PV}" != *beta* ]] && use sdk ; then
672 - doins -r sdk
673 - fi
674 -
675 - if use additions; then
676 - doins -r additions
677 - fi
678 -
679 - if use vboxwebsrv; then
680 - doins vboxwebsrv
681 - fowners root:vboxusers /opt/VirtualBox/vboxwebsrv
682 - fperms 0750 /opt/VirtualBox/vboxwebsrv
683 - dosym ../../opt/VirtualBox/VBox.sh /opt/bin/vboxwebsrv
684 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
685 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
686 - fi
687 -
688 - if use rdesktop-vrdp; then
689 - doins rdesktop-vrdp
690 - doins -r rdesktop-vrdp-keymaps
691 - fperms 0750 /opt/VirtualBox/rdesktop-vrdp
692 - dosym ../../opt/VirtualBox/rdesktop-vrdp /opt/bin/rdesktop-vrdp
693 - fi
694 -
695 - if ! use headless && use chm; then
696 - doins kchmviewer VirtualBox.chm
697 - fowners root:vboxusers /opt/VirtualBox/kchmviewer
698 - fperms 0750 /opt/VirtualBox/kchmviewer
699 - fi
700 -
701 - # This ebuild / package supports only py2.7. When py3 comes is unknown.
702 - # The compile phase makes VBoxPython2_7.so.
703 - # py3 support would presumably require a binary pre-compiled by py3.
704 - use python && doins VBoxPython.so VBoxPython2_7.so
705 -
706 - rm -rf src rdesktop* deffiles install* routines.sh runlevel.sh \
707 - vboxdrv.sh VBox.sh VBox.png vboxnet.sh additions VirtualBox.desktop \
708 - VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \
709 - webtest kchmviewer VirtualBox.chm vbox-create-usb-node.sh \
710 - 90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py \
711 - VBoxPython?_*.so
712 -
713 - if use headless ; then
714 - rm -rf VBoxSDL VirtualBox VBoxKeyboard.so
715 - fi
716 -
717 - doins -r * || die
718 -
719 - # create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
720 - dosym ../VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
721 - dosym ../VBoxREM.so /opt/VirtualBox/components/VBoxREM.so
722 - dosym ../VBoxRT.so /opt/VirtualBox/components/VBoxRT.so
723 - dosym ../VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so
724 - dosym ../VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
725 -
726 - local each
727 - for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,NetNAT,TestOGL,ExtPackHelperApp}; do
728 - fowners root:vboxusers /opt/VirtualBox/${each}
729 - fperms 0750 /opt/VirtualBox/${each}
730 - pax-mark -m "${D}"/opt/VirtualBox/${each}
731 - done
732 - # VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
733 - fperms 4750 /opt/VirtualBox/VBoxNetAdpCtl
734 - fperms 4750 /opt/VirtualBox/VBoxNetDHCP
735 - fperms 4750 /opt/VirtualBox/VBoxNetNAT
736 -
737 - if ! use headless ; then
738 - # Hardened build: Mark selected binaries set-user-ID-on-execution
739 - for each in VBox{SDL,Headless} VirtualBox; do
740 - fowners root:vboxusers /opt/VirtualBox/${each}
741 - fperms 4510 /opt/VirtualBox/${each}
742 - pax-mark -m "${D}"/opt/VirtualBox/${each}
743 - done
744 -
745 - dosym ../VirtualBox/VBox.sh /opt/bin/VirtualBox
746 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxSDL
747 - else
748 - # Hardened build: Mark selected binaries set-user-ID-on-execution
749 - fowners root:vboxusers /opt/VirtualBox/VBoxHeadless
750 - fperms 4510 /opt/VirtualBox/VBoxHeadless
751 - pax-mark -m "${D}"/opt/VirtualBox/VBoxHeadless
752 - fi
753 -
754 - exeinto /opt/VirtualBox
755 - newexe "${FILESDIR}/${PN}-3-wrapper" "VBox.sh"
756 - fowners root:vboxusers /opt/VirtualBox/VBox.sh
757 - fperms 0750 /opt/VirtualBox/VBox.sh
758 -
759 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxManage
760 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxVRDP
761 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxHeadless
762 - dosym ../VirtualBox/VBoxTunctl /opt/bin/VBoxTunctl
763 -
764 - # set an env-variable for 3rd party tools
765 - echo -n "VBOX_APP_HOME=/opt/VirtualBox" > "${T}/90virtualbox"
766 - doenvd "${T}/90virtualbox"
767 -
768 - local udevdir="$(get_udevdir)"
769 - insinto ${udevdir}/rules.d
770 - doins "${FILESDIR}"/10-virtualbox.rules
771 - sed "s@%UDEVDIR%@${udevdir}@" \
772 - -i "${D}"${udevdir}/rules.d/10-virtualbox.rules || die
773 - # move udev scripts into ${udevdir} (bug #372491)
774 - mv "${D}"/opt/VirtualBox/VBoxCreateUSBNode.sh "${D}"${udevdir} || die
775 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
776 -}
777 -
778 -pkg_postinst() {
779 - xdg_desktop_database_update
780 -
781 - gnome2_icon_cache_update
782 -
783 - udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
784 -
785 - elog ""
786 - if ! use headless ; then
787 - elog "To launch VirtualBox just type: \"VirtualBox\""
788 - elog ""
789 - fi
790 - elog "You must be in the vboxusers group to use VirtualBox."
791 - elog ""
792 - elog "For advanced networking setups you should emerge:"
793 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
794 - elog ""
795 - elog "Please visit http://www.virtualbox.org/wiki/Editions for"
796 - elog "an overview about the different features of ${PN}"
797 - elog "and virtualbox-ose"
798 - if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
799 - elog ""
800 - elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
801 - elog "or else USB in ${PN} won't work."
802 - fi
803 -}
804 -
805 -pkg_postrm() {
806 - xdg_desktop_database_update
807 -}
808
809 diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-5.2.16.123759.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-5.2.16.123759.ebuild
810 deleted file mode 100644
811 index 424d6d96060..00000000000
812 --- a/app-emulation/virtualbox-bin/virtualbox-bin-5.2.16.123759.ebuild
813 +++ /dev/null
814 @@ -1,287 +0,0 @@
815 -# Copyright 1999-2018 Gentoo Foundation
816 -# Distributed under the terms of the GNU General Public License v2
817 -
818 -EAPI=6
819 -
820 -PYTHON_COMPAT=( python2_7 )
821 -
822 -inherit xdg-utils gnome2 pax-utils python-r1 udev unpacker eapi7-ver
823 -
824 -MAIN_PV="$(ver_cut 1-3)"
825 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
826 - MY_PV="${MAIN_PV}_$(ver_cut 5)"
827 - MY_PV="${MY_PV/beta/BETA}"
828 - MY_PV="${MY_PV/rc/RC}"
829 -else
830 - MY_PV="${MAIN_PV}"
831 -fi
832 -VBOX_BUILD_ID="$(ver_cut 4)"
833 -VBOX_PV="${MY_PV}-${VBOX_BUILD_ID}"
834 -MY_P="VirtualBox-${VBOX_PV}-Linux"
835 -# needed as sometimes the extpack gets another build ID
836 -EXTP_PV="${VBOX_PV}"
837 -EXTP_PN="Oracle_VM_VirtualBox_Extension_Pack"
838 -EXTP_P="${EXTP_PN}-${EXTP_PV}"
839 -# needed as sometimes the SDK gets another build ID
840 -SDK_PV="${VBOX_PV}"
841 -SDK_P="VirtualBoxSDK-${SDK_PV}"
842 -
843 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
844 -HOMEPAGE="https://www.virtualbox.org/"
845 -SRC_URI="amd64? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_amd64.run )
846 - x86? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_x86.run )
847 - https://download.virtualbox.org/virtualbox/${MY_PV}/${EXTP_P}.vbox-extpack -> ${EXTP_P}.tar.gz"
848 -
849 -LICENSE="GPL-2 PUEL"
850 -SLOT="0"
851 -KEYWORDS="~amd64 ~x86"
852 -IUSE="+additions +chm headless python vboxwebsrv rdesktop-vrdp"
853 -RESTRICT="mirror"
854 -
855 -if [[ "${PV}" != *beta* ]] ; then
856 - SRC_URI+="
857 - sdk? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${SDK_P}.zip )"
858 - IUSE+=" sdk"
859 -fi
860 -
861 -DEPEND="app-arch/unzip
862 - ${PYTHON_DEPS}"
863 -
864 -RDEPEND="!!app-emulation/virtualbox
865 - !app-emulation/virtualbox-additions
866 - ~app-emulation/virtualbox-modules-${MAIN_PV}
867 - !headless? (
868 - dev-libs/glib
869 - media-libs/fontconfig
870 - media-libs/freetype
871 - media-libs/libpng
872 - media-libs/libsdl[X]
873 - x11-libs/libXcursor
874 - x11-libs/libXext
875 - x11-libs/libXfixes
876 - x11-libs/libXft
877 - x11-libs/libXi
878 - x11-libs/libXinerama
879 - x11-libs/libXrandr
880 - x11-libs/libXrender
881 - chm? ( dev-libs/expat )
882 - )
883 - dev-libs/libxml2
884 - sys-fs/lvm2
885 - x11-libs/libXau
886 - x11-libs/libX11
887 - x11-libs/libXt
888 - x11-libs/libXmu
889 - x11-libs/libSM
890 - x11-libs/libICE
891 - x11-libs/libXdmcp
892 - ${PYTHON_DEPS}"
893 -
894 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
895 -S="${WORKDIR}"
896 -
897 -QA_PREBUILT="opt/VirtualBox/*"
898 -
899 -PYTHON_UPDATER_IGNORE="1"
900 -
901 -src_unpack() {
902 - unpack_makeself ${MY_P}_${ARCH}.run
903 - unpack ./VirtualBox.tar.bz2
904 -
905 - mkdir "${S}"/${EXTP_PN} || die
906 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
907 - unpack ${EXTP_P}.tar.gz
908 - popd &>/dev/null || die
909 -
910 - if [[ "${PV}" != *beta* ]] && use sdk ; then
911 - unpack VirtualBoxSDK-${SDK_PV}.zip
912 - fi
913 -}
914 -
915 -src_configure() {
916 - :;
917 -}
918 -
919 -src_compile() {
920 - :;
921 -}
922 -
923 -src_install() {
924 - # create virtualbox configurations files
925 - insinto /etc/vbox
926 - newins "${FILESDIR}/${PN}-config" vbox.cfg
927 -
928 - if ! use headless ; then
929 - newmenu "${FILESDIR}"/${PN}.desktop-2 ${PN}.desktop
930 -
931 - # set up symlinks (bug #572012)
932 - dosym ../../../../opt/VirtualBox/virtualbox.xml /usr/share/mime/packages/virtualbox.xml
933 -
934 - local size ico icofile
935 - for size in 16 24 32 48 64 72 96 128 256 ; do
936 - pushd "${S}"/icons/${size}x${size} &>/dev/null || die
937 - if [[ -f "virtualbox.png" ]] ; then
938 - doicon -s ${size} virtualbox.png
939 - fi
940 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
941 - icofile="virtualbox-${ico}.png"
942 - if [[ -f "${icofile}" ]] ; then
943 - doicon -s ${size} ${icofile}
944 - fi
945 - done
946 - popd &>/dev/null || die
947 - done
948 - doicon -s scalable "${S}"/icons/scalable/virtualbox.svg
949 - insinto /usr/share/pixmaps
950 - newins "${S}"/icons/48x48/virtualbox.png ${PN}.png
951 - fi
952 -
953 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
954 - insinto /opt/VirtualBox/ExtensionPacks/${EXTP_PN}
955 - doins -r linux.${ARCH}
956 - doins ExtPack* PXE-Intel.rom
957 - popd &>/dev/null || die
958 - rm -rf "${S}"/${EXTP_PN}
959 -
960 - insinto /opt/VirtualBox
961 - dodir /opt/bin
962 -
963 - doins UserManual.pdf
964 -
965 - if [[ "${PV}" != *beta* ]] && use sdk ; then
966 - doins -r sdk
967 - fi
968 -
969 - if use additions; then
970 - doins -r additions
971 - fi
972 -
973 - if use vboxwebsrv; then
974 - doins vboxwebsrv
975 - fowners root:vboxusers /opt/VirtualBox/vboxwebsrv
976 - fperms 0750 /opt/VirtualBox/vboxwebsrv
977 - dosym ../../opt/VirtualBox/VBox.sh /opt/bin/vboxwebsrv
978 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
979 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
980 - fi
981 -
982 - if use rdesktop-vrdp; then
983 - doins rdesktop-vrdp
984 - doins -r rdesktop-vrdp-keymaps
985 - fperms 0750 /opt/VirtualBox/rdesktop-vrdp
986 - dosym ../../opt/VirtualBox/rdesktop-vrdp /opt/bin/rdesktop-vrdp
987 - fi
988 -
989 - if ! use headless && use chm; then
990 - doins kchmviewer VirtualBox.chm
991 - fowners root:vboxusers /opt/VirtualBox/kchmviewer
992 - fperms 0750 /opt/VirtualBox/kchmviewer
993 - fi
994 -
995 - # This ebuild / package supports only py2.7. When py3 comes is unknown.
996 - # The compile phase makes VBoxPython2_7.so.
997 - # py3 support would presumably require a binary pre-compiled by py3.
998 - use python && doins VBoxPython.so VBoxPython2_7.so
999 -
1000 - rm -rf src rdesktop* deffiles install* routines.sh runlevel.sh \
1001 - vboxdrv.sh VBox.sh VBox.png vboxnet.sh additions VirtualBox.desktop \
1002 - VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \
1003 - webtest kchmviewer VirtualBox.chm vbox-create-usb-node.sh \
1004 - 90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py \
1005 - VBoxPython?_*.so
1006 -
1007 - if use headless ; then
1008 - rm -rf VBoxSDL VirtualBox VBoxKeyboard.so
1009 - fi
1010 -
1011 - doins -r * || die
1012 -
1013 - # create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
1014 - dosym ../VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
1015 - dosym ../VBoxREM.so /opt/VirtualBox/components/VBoxREM.so
1016 - dosym ../VBoxRT.so /opt/VirtualBox/components/VBoxRT.so
1017 - dosym ../VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so
1018 - dosym ../VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
1019 -
1020 - local each
1021 - for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,NetNAT,TestOGL,ExtPackHelperApp}; do
1022 - fowners root:vboxusers /opt/VirtualBox/${each}
1023 - fperms 0750 /opt/VirtualBox/${each}
1024 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
1025 - done
1026 - # VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
1027 - fperms 4750 /opt/VirtualBox/VBoxNetAdpCtl
1028 - fperms 4750 /opt/VirtualBox/VBoxNetDHCP
1029 - fperms 4750 /opt/VirtualBox/VBoxNetNAT
1030 -
1031 - if ! use headless ; then
1032 - # Hardened build: Mark selected binaries set-user-ID-on-execution
1033 - for each in VBox{SDL,Headless} VirtualBox; do
1034 - fowners root:vboxusers /opt/VirtualBox/${each}
1035 - fperms 4510 /opt/VirtualBox/${each}
1036 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
1037 - done
1038 -
1039 - dosym ../VirtualBox/VBox.sh /opt/bin/VirtualBox
1040 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxSDL
1041 - else
1042 - # Hardened build: Mark selected binaries set-user-ID-on-execution
1043 - fowners root:vboxusers /opt/VirtualBox/VBoxHeadless
1044 - fperms 4510 /opt/VirtualBox/VBoxHeadless
1045 - pax-mark -m "${ED%/}"/opt/VirtualBox/VBoxHeadless
1046 - fi
1047 -
1048 - exeinto /opt/VirtualBox
1049 - newexe "${FILESDIR}/${PN}-3-wrapper" "VBox.sh"
1050 - fowners root:vboxusers /opt/VirtualBox/VBox.sh
1051 - fperms 0750 /opt/VirtualBox/VBox.sh
1052 -
1053 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxManage
1054 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxVRDP
1055 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxHeadless
1056 - dosym ../VirtualBox/VBoxTunctl /opt/bin/VBoxTunctl
1057 -
1058 - # set an env-variable for 3rd party tools
1059 - echo -n "VBOX_APP_HOME=/opt/VirtualBox" > "${T}/90virtualbox"
1060 - doenvd "${T}/90virtualbox"
1061 -
1062 - local udevdir="$(get_udevdir)"
1063 - insinto ${udevdir}/rules.d
1064 - doins "${FILESDIR}"/10-virtualbox.rules
1065 - sed "s@%UDEVDIR%@${udevdir}@" \
1066 - -i "${ED%/}"${udevdir}/rules.d/10-virtualbox.rules || die
1067 - # move udev scripts into ${udevdir} (bug #372491)
1068 - mv "${ED%/}"/opt/VirtualBox/VBoxCreateUSBNode.sh "${ED%/}"${udevdir} || die
1069 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
1070 -}
1071 -
1072 -pkg_postinst() {
1073 - xdg_desktop_database_update
1074 -
1075 - gnome2_icon_cache_update
1076 -
1077 - udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
1078 -
1079 - elog ""
1080 - if ! use headless ; then
1081 - elog "To launch VirtualBox just type: \"VirtualBox\""
1082 - elog ""
1083 - fi
1084 - elog "You must be in the vboxusers group to use VirtualBox."
1085 - elog ""
1086 - elog "For advanced networking setups you should emerge:"
1087 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
1088 - elog ""
1089 - elog "Please visit http://www.virtualbox.org/wiki/Editions for"
1090 - elog "an overview about the different features of ${PN}"
1091 - elog "and virtualbox-ose"
1092 - if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
1093 - elog ""
1094 - elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
1095 - elog "or else USB in ${PN} won't work."
1096 - fi
1097 -}
1098 -
1099 -pkg_postrm() {
1100 - xdg_desktop_database_update
1101 -}
1102
1103 diff --git a/app-emulation/virtualbox-extpack-oracle/Manifest b/app-emulation/virtualbox-extpack-oracle/Manifest
1104 index df0654e4246..9fe87678b21 100644
1105 --- a/app-emulation/virtualbox-extpack-oracle/Manifest
1106 +++ b/app-emulation/virtualbox-extpack-oracle/Manifest
1107 @@ -1,6 +1,3 @@
1108 -DIST Oracle_VM_VirtualBox_Extension_Pack-5.1.36-122089.tar.gz 19605234 BLAKE2B 4b263b27b130e5b5d7917f15f0dc782f28f7708cc10e22028ee27b33be6541df5211c4fb36951a6b293d19b8933182097cd0575da8c1d00b6a96e747c1962762 SHA512 e11b294da83b4605c40132f2ea5f95f2820f901d2ed1d438c22c4cc9f779baa3112b9334036717d1593d5f9ec8374d7d7bc826012e2019ef0ba79bacb1deb7b8
1109 -DIST Oracle_VM_VirtualBox_Extension_Pack-5.1.38-122592.tar.gz 19717251 BLAKE2B 90dcaa58284c6dc9101dbc8eb9ceda55d16c4a48fd58fb43c4a6b7d3d5c582c31930f6e773397ae9379e75771c88b40aad276436bb1d56a71a8e744353e04ec9 SHA512 ba44d53e06adababd0ac7c8a68ea025e1e7afd39fe648079bbb879e81130d45f00b944795cfd37f7f05c16d5a7723b85c49a8435c8399180af627dd3b3de00bc
1110 DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.14-123301.tar.gz 19589209 BLAKE2B 385bdfb4cef67788a1dd3e758f52dab7a367f56ca8d286e465af9a7674ffe3bc0f6187a66d7d19bb8f2a8fc0e23e0ce7ef35ac2d46fd6971dc2df96e8a61ca11 SHA512 a47a7173685b72995e5012386fc8f6c55f9106049a28ecaea223f58f1bb40077e0929cf05102a2588e516fe90891428b8e569ec9351fcaf235eb9f8293e45b92
1111 -DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.16-123759.tar.gz 19588810 BLAKE2B 51fb01ace72f6bc3f0e1ab6804c44ca44463ad24986af08b79c41bb06f43776c9f022d1766d07a4f9a47615119963636cad52d8f7d7bcc9f5e58f51c093f0bcd SHA512 8dfadb83111226a7bbc522d1caf16327051d76ee9382cb62281df5735f87d0e26994dd38a279027dae27c0371120bf95066d5260e79003c5a8982710579ecbce
1112 DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.18-124319.tar.gz 19592275 BLAKE2B 7be65024837e46073049d3d751df00b50bf2d5d81faef3ba2a869429800d999f473b570bfe75201d07347e751893d280f7238a076a172ad2046b64c151b675ba SHA512 fa4bf8202f4d5f86cf4a04aaf6e77ce2f86ccde126d5543846793a021fc1e861f35d256432d762aebd38fc6cd0fa0bfe2a4def76334f468de316fe925d2fe414
1113 DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.20-125813.tar.gz 19641208 BLAKE2B ffe4e89b88609d575f7e9f5aed5330de5024462ae564684cf3f565b62649d022c8fc9368cfd1685e3e4fc34e9a23cb0651c483f129b533f9afec38bcae89d587 SHA512 df9ae6af9ad1c1106bf8bf0595fdcdd3ec45bc74b90655e762fb18a4c8ea268bed366ce3caaf0f95682577b61b337650a6fe7ef901f6925fa38679ccd885c21c
1114
1115 diff --git a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.1.36.122089.ebuild b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.1.36.122089.ebuild
1116 deleted file mode 100644
1117 index adb08697417..00000000000
1118 --- a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.1.36.122089.ebuild
1119 +++ /dev/null
1120 @@ -1,42 +0,0 @@
1121 -# Copyright 1999-2018 Gentoo Foundation
1122 -# Distributed under the terms of the GNU General Public License v2
1123 -
1124 -EAPI=6
1125 -
1126 -inherit eutils multilib versionator
1127 -
1128 -MAIN_PV="$(get_version_component_range 1-3)"
1129 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
1130 - MY_PV="${MAIN_PV}_$(get_version_component_range 5)"
1131 - DEP_PV="${MY_PV}"
1132 - MY_PV="${MY_PV/beta/BETA}"
1133 - MY_PV="${MY_PV/rc/RC}"
1134 -else
1135 - MY_PV="${MAIN_PV}"
1136 - DEP_PV="${MAIN_PV}"
1137 -fi
1138 -VBOX_BUILD_ID="$(get_version_component_range 4)"
1139 -MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
1140 -MY_P="${MY_PN}-${MY_PV}-${VBOX_BUILD_ID}"
1141 -
1142 -DESCRIPTION="PUEL extensions for VirtualBox"
1143 -HOMEPAGE="https://www.virtualbox.org/"
1144 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.vbox-extpack -> ${MY_P}.tar.gz"
1145 -
1146 -LICENSE="PUEL"
1147 -SLOT="0"
1148 -KEYWORDS="amd64 x86"
1149 -IUSE=""
1150 -RESTRICT="mirror strip"
1151 -
1152 -RDEPEND="~app-emulation/virtualbox-${DEP_PV}"
1153 -
1154 -S="${WORKDIR}"
1155 -
1156 -QA_PREBUILT="/usr/lib*/virtualbox/ExtensionPacks/${MY_PN}/.*"
1157 -
1158 -src_install() {
1159 - insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}
1160 - doins -r linux.${ARCH}
1161 - doins ExtPack* PXE-Intel.rom
1162 -}
1163
1164 diff --git a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.1.38.122592.ebuild b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.1.38.122592.ebuild
1165 deleted file mode 100644
1166 index 7d7d5d2ea35..00000000000
1167 --- a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.1.38.122592.ebuild
1168 +++ /dev/null
1169 @@ -1,42 +0,0 @@
1170 -# Copyright 1999-2018 Gentoo Foundation
1171 -# Distributed under the terms of the GNU General Public License v2
1172 -
1173 -EAPI=6
1174 -
1175 -inherit eutils multilib versionator
1176 -
1177 -MAIN_PV="$(get_version_component_range 1-3)"
1178 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
1179 - MY_PV="${MAIN_PV}_$(get_version_component_range 5)"
1180 - DEP_PV="${MY_PV}"
1181 - MY_PV="${MY_PV/beta/BETA}"
1182 - MY_PV="${MY_PV/rc/RC}"
1183 -else
1184 - MY_PV="${MAIN_PV}"
1185 - DEP_PV="${MAIN_PV}"
1186 -fi
1187 -VBOX_BUILD_ID="$(get_version_component_range 4)"
1188 -MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
1189 -MY_P="${MY_PN}-${MY_PV}-${VBOX_BUILD_ID}"
1190 -
1191 -DESCRIPTION="PUEL extensions for VirtualBox"
1192 -HOMEPAGE="https://www.virtualbox.org/"
1193 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.vbox-extpack -> ${MY_P}.tar.gz"
1194 -
1195 -LICENSE="PUEL"
1196 -SLOT="0"
1197 -KEYWORDS="~amd64 ~x86"
1198 -IUSE=""
1199 -RESTRICT="mirror strip"
1200 -
1201 -RDEPEND="~app-emulation/virtualbox-${DEP_PV}"
1202 -
1203 -S="${WORKDIR}"
1204 -
1205 -QA_PREBUILT="/usr/lib*/virtualbox/ExtensionPacks/${MY_PN}/.*"
1206 -
1207 -src_install() {
1208 - insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}
1209 - doins -r linux.${ARCH}
1210 - doins ExtPack* PXE-Intel.rom
1211 -}
1212
1213 diff --git a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.2.16.123759.ebuild b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.2.16.123759.ebuild
1214 deleted file mode 100644
1215 index d46e764cf17..00000000000
1216 --- a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.2.16.123759.ebuild
1217 +++ /dev/null
1218 @@ -1,42 +0,0 @@
1219 -# Copyright 1999-2018 Gentoo Foundation
1220 -# Distributed under the terms of the GNU General Public License v2
1221 -
1222 -EAPI=7
1223 -
1224 -inherit multilib
1225 -
1226 -MAIN_PV="$(ver_cut 1-3)"
1227 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
1228 - MY_PV="${MAIN_PV}_$(ver_cut 5)"
1229 - DEP_PV="${MY_PV}"
1230 - MY_PV="${MY_PV/beta/BETA}"
1231 - MY_PV="${MY_PV/rc/RC}"
1232 -else
1233 - MY_PV="${MAIN_PV}"
1234 - DEP_PV="${MAIN_PV}"
1235 -fi
1236 -VBOX_BUILD_ID="$(ver_cut 4)"
1237 -MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
1238 -MY_P="${MY_PN}-${MY_PV}-${VBOX_BUILD_ID}"
1239 -
1240 -DESCRIPTION="PUEL extensions for VirtualBox"
1241 -HOMEPAGE="https://www.virtualbox.org/"
1242 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.vbox-extpack -> ${MY_P}.tar.gz"
1243 -
1244 -LICENSE="PUEL"
1245 -SLOT="0"
1246 -KEYWORDS="~amd64 ~x86"
1247 -IUSE=""
1248 -RESTRICT="mirror strip"
1249 -
1250 -RDEPEND="~app-emulation/virtualbox-${DEP_PV}"
1251 -
1252 -S="${WORKDIR}"
1253 -
1254 -QA_PREBUILT="/usr/lib*/virtualbox/ExtensionPacks/${MY_PN}/.*"
1255 -
1256 -src_install() {
1257 - insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}
1258 - doins -r linux.${ARCH}
1259 - doins ExtPack* PXE-Intel.rom
1260 -}
1261
1262 diff --git a/app-emulation/virtualbox-guest-additions/Manifest b/app-emulation/virtualbox-guest-additions/Manifest
1263 index ec68a364605..d7c4560be21 100644
1264 --- a/app-emulation/virtualbox-guest-additions/Manifest
1265 +++ b/app-emulation/virtualbox-guest-additions/Manifest
1266 @@ -1,10 +1,6 @@
1267 -DIST VirtualBox-5.1.36.tar.bz2 117244376 BLAKE2B 141048f4fcbb3ce63d236a4127b4bce377e87876c23dc3ff6437b2c0cca5b468bc6a5737899b308bc1ff3252d4e61f7d053ff7574c33c85b56fdd986c31f2af3 SHA512 d1a9322c97c68cc9c21247c3df8ce2084911aded66a63adf5510f9e0f4558b1304dfe924a0c44243adc1ae8f7c45c47782e882baac1bfe995ea6c0a1370fcbd1
1268 -DIST VirtualBox-5.1.38.tar.bz2 117345233 BLAKE2B 15ed86a1f6730c781a0b4b055dcccfb56ff9c829c90dc4d2aa96cc2bb5bcfa8e442bdd471a7c70c5520bef994592e8f1a5b46831df4039efb5358c2e0ab83413 SHA512 6cf8536c24aa3a6e889214ef6133eb18fdbe1e7c371323cad07aa63b0e1f4414ba13d5fa7b63c12dfefe60e2e544488ced107571f678a06eb094a3e19b377ea8
1269 DIST VirtualBox-5.2.14.tar.bz2 118597539 BLAKE2B 5e0a8d92405378eb438cae375041609f7a0e1288b040d3a0bcc06157f16ddd48b3537f2f026aa12a71c5319bdef56d6f3907785ac51ebe05a8b7143e04f22d0a SHA512 b8202eccd83e9f2c92a77548d003082b6b3ff7838bb32ae48c3a25dcd622bfdc8ceca42cc49b855eeabf4439c55ad42df9b3959dd1bab77de154468e139c904e
1270 -DIST VirtualBox-5.2.16.tar.bz2 118678441 BLAKE2B 9d912a51ceb69eb117d9886adf34fe4900bd941637c0610e0e0febb650cf7817b6f2fa0db4b085c0cb28c56892e7f8678e3533d7384cd155e356fa4a0ec7c0fa SHA512 361607c43e3f7fb60da6db898951317c45a7f7b782c42808759f7c29502e3778ae28e5a54b5c49d1c5e46d94f85dbd1891d69f16d756767f0155bb48531b9519
1271 DIST VirtualBox-5.2.18.tar.bz2 118700952 BLAKE2B 5e9a5ca5379d80a8d9d0d53fe7b1f7cd98e03b6c535867932d55aa6a936e65f2d294264da014f332c2caa933a262ced3e350d9eb685ad99dec02a02ffcf5e7cb SHA512 f67c17cdd39e699e6c80af82a2c2d0c5dab073ddba2b55393740e605debb973030c48ce736ae753fc1e680845f0b62209c0f8951db08b665e9cdd83c52d5be20
1272 DIST VirtualBox-5.2.20.tar.bz2 118760364 BLAKE2B 7a5f72340796d3278ef5f3210f4b25bf4d999ec93cdd0449853faf68b38c45a6ffd00fe2c88f12296029882f7715c012d1793cfff9d1c2441aa4db414fa3225e SHA512 ff039e487c43b584c5c5959df1622151d82f6c39101af869262f800d07e68a68005ed442112e36ebe249ed79de34c0b974bbd43e7889a5d40df2ebe7dec77a15
1273 -DIST virtualbox-5.1.32-patches-01.tar.xz 2464 BLAKE2B 28f461634ac7f200b74d961e56f56aea486445bdb8d1490000bd34393b4873ee058d1dc9db6c32084921bd7d51a92be1e38b1b098385f443f41b9231c1489829 SHA512 08782c8eecc0cbb370f21fb3951af449ed1c8174a7184210de376a7d4ca5d64b14b2619d121aacef1c85982c8b485e545e260d3c0fc1f95769093efa23cd2cd2
1274 DIST virtualbox-5.2.12-patches-01.tar.xz 2616 BLAKE2B 5731484d185414d83588ee227bbc1eef266451d1a3a710adf1b769cd6404ef1750dba7a60549f2ab9f3fb81ef15809db9ea0190127caefc72d7bc9bb8b741fb0 SHA512 712b55392a8e8357e95abb42ea4f8dac3391ecbf9cbecf27c7dbf674c40f42a1eb19d227a1b3adcf621384a9f64a6438d20fb43866c736189097fb5770c5c654
1275 DIST virtualbox-5.2.16-patches-01.tar.xz 2952 BLAKE2B 1d23d83bdb4d9576d402b67cc81d4427c5fe9163550d2817546382e1c1087000553d4a9a864f2527a909f52ce389105bcfe5518b5407de1299c7d2a62ee3cc21 SHA512 88c21583c51ae8e22e5fd3f08baae686045e884883153e2e365c35ba19f2773d5964c523a4ad3777fe30ca96bf76fab8819e09beeadf8350193041bff783893d
1276 DIST virtualbox-5.2.16-patches-02.tar.xz 3152 BLAKE2B c8d8f3872f544a465c7d1aa07291599307120ac9eabfb299ddd788a11f85ca6c2d84b8e7306ee4ad436270dad0dd39f101ee68a549eac15afd1e3cdc03f23c6c SHA512 85ee8c4045de562d71ab2d761695ea48b6726a6f0c4bcaa2562bb0d147542d3f1a1b5b47cf593a7f22dac1b86f87b59a56bef421dce3e1fa8e5260cd41998450
1277
1278 diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.1.36.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.1.36.ebuild
1279 deleted file mode 100644
1280 index 3c8b9c6ca16..00000000000
1281 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.1.36.ebuild
1282 +++ /dev/null
1283 @@ -1,219 +0,0 @@
1284 -# Copyright 1999-2018 Gentoo Foundation
1285 -# Distributed under the terms of the GNU General Public License v2
1286 -
1287 -EAPI=6
1288 -
1289 -inherit eutils linux-mod systemd user toolchain-funcs
1290 -
1291 -MY_PV="${PV/beta/BETA}"
1292 -MY_PV="${MY_PV/rc/RC}"
1293 -MY_P=VirtualBox-${MY_PV}
1294 -DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
1295 -HOMEPAGE="https://www.virtualbox.org/"
1296 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
1297 - https://dev.gentoo.org/~polynomial-c/virtualbox/patchsets/virtualbox-5.1.32-patches-01.tar.xz"
1298 -
1299 -LICENSE="GPL-2"
1300 -SLOT="0"
1301 -KEYWORDS="amd64 x86"
1302 -IUSE="X"
1303 -
1304 -RDEPEND="X? ( x11-apps/xrandr
1305 - x11-apps/xrefresh
1306 - x11-libs/libXmu
1307 - x11-libs/libX11
1308 - x11-libs/libXt
1309 - x11-libs/libXext
1310 - x11-libs/libXau
1311 - x11-libs/libXdmcp
1312 - x11-libs/libSM
1313 - x11-libs/libICE )
1314 - sys-apps/dbus
1315 - !!x11-drivers/xf86-input-virtualbox"
1316 -DEPEND="${RDEPEND}
1317 - >=dev-util/kbuild-0.1.9998_pre20131130
1318 - >=dev-lang/yasm-0.6.2
1319 - sys-devel/bin86
1320 - sys-libs/pam
1321 - sys-power/iasl
1322 - x11-base/xorg-proto"
1323 -PDEPEND="X? ( ~x11-drivers/xf86-video-virtualbox-${PV} )"
1324 -
1325 -BUILD_TARGETS="all"
1326 -BUILD_TARGET_ARCH="${ARCH}"
1327 -
1328 -S="${WORKDIR}/${MY_P}"
1329 -
1330 -pkg_setup() {
1331 - MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
1332 - vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)"
1333 - use X && MODULE_NAMES+=" vboxvideo(misc:${WORKDIR}/vboxvideo::${WORKDIR}/vboxvideo)"
1334 -
1335 - linux-mod_pkg_setup
1336 - BUILD_PARAMS="KERN_DIR=${KV_OUT_DIR} KERNOUT=${KV_OUT_DIR}"
1337 - enewgroup vboxguest
1338 - enewuser vboxguest -1 /bin/sh /dev/null vboxguest
1339 - # automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist
1340 - enewgroup vboxsf
1341 -}
1342 -
1343 -src_unpack() {
1344 - unpack ${A}
1345 -
1346 - # Create and unpack a tarball with the sources of the Linux guest
1347 - # kernel modules, to include all the needed files
1348 - "${S}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz"
1349 - unpack ./vbox-kmod.tar.gz
1350 -
1351 - # Remove shipped binaries (kBuild,yasm), see bug #232775
1352 - cd "${S}"
1353 - rm -rf kBuild/bin tools
1354 -}
1355 -
1356 -src_prepare() {
1357 - # PaX fixes (see bug #298988)
1358 - pushd "${WORKDIR}" &>/dev/null || die
1359 - eapply "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch
1360 - popd &>/dev/null || die
1361 -
1362 - # Disable things unused or splitted into separate ebuilds
1363 - cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die
1364 - use X || echo "VBOX_WITH_X11_ADDITIONS :=" >> LocalConfig.kmk
1365 -
1366 - # stupid new header references...
1367 - for vboxheader in {product,revision,version}-generated.h ; do
1368 - for mdir in vbox{guest,sf} ; do
1369 - ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
1370 - "${WORKDIR}/${mdir}/${vboxheader}"
1371 - done
1372 - done
1373 -
1374 - # Remove pointless GCC version check
1375 - sed -e '/^check_gcc$/d' -i configure || die
1376 -
1377 - eapply "${WORKDIR}/patches"
1378 -
1379 - eapply_user
1380 -}
1381 -
1382 -src_configure() {
1383 - # build the user-space tools, warnings are harmless
1384 - local cmd=(
1385 - ./configure
1386 - --nofatal
1387 - --disable-xpcom
1388 - --disable-sdl-ttf
1389 - --disable-pulse
1390 - --disable-alsa
1391 - --with-gcc="$(tc-getCC)"
1392 - --with-g++="$(tc-getCXX)"
1393 - --target-arch=${ARCH}
1394 - --with-linux="${KV_OUT_DIR}"
1395 - --build-headless
1396 - )
1397 - echo "${cmd[@]}"
1398 - "${cmd[@]}" || die "configure failed"
1399 - source ./env.sh
1400 - export VBOX_GCC_OPT="${CFLAGS} ${CPPFLAGS}"
1401 -}
1402 -
1403 -src_compile() {
1404 - MAKE="kmk" \
1405 - emake TOOL_YASM_AS=yasm \
1406 - VBOX_ONLY_ADDITIONS=1 \
1407 - KBUILD_VERBOSE=2
1408 -
1409 - # Now creating the kernel modules. We must do this _after_
1410 - # we compiled the user-space tools as we need two of the
1411 - # automatically generated header files. (>=3.2.0)
1412 - linux-mod_src_compile
1413 -}
1414 -
1415 -src_install() {
1416 - linux-mod_src_install
1417 -
1418 - cd "${S}"/out/linux.${ARCH}/release/bin/additions || die
1419 -
1420 - insinto /sbin
1421 - newins mount.vboxsf mount.vboxsf
1422 - fperms 4755 /sbin/mount.vboxsf
1423 -
1424 - newinitd "${FILESDIR}"/${PN}-8.initd ${PN}
1425 -
1426 - insinto /usr/sbin/
1427 - newins VBoxService vboxguest-service
1428 - fperms 0755 /usr/sbin/vboxguest-service
1429 -
1430 - insinto /usr/bin
1431 - doins VBoxControl
1432 - fperms 0755 /usr/bin/VBoxControl
1433 -
1434 - # VBoxClient user service and xrandr wrapper
1435 - if use X ; then
1436 - doins VBoxClient
1437 - fperms 0755 /usr/bin/VBoxClient
1438 -
1439 - pushd "${S}"/src/VBox/Additions/x11/Installer &>/dev/null \
1440 - || die
1441 - newins 98vboxadd-xclient VBoxClient-all
1442 - fperms 0755 /usr/bin/VBoxClient-all
1443 - popd &>/dev/null || die
1444 - fi
1445 -
1446 - # udev rule for vboxdrv
1447 - local udev_rules_dir="/lib/udev/rules.d"
1448 - dodir ${udev_rules_dir}
1449 - echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
1450 - >> "${D}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
1451 - || die
1452 - echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
1453 - >> "${D}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
1454 - || die
1455 -
1456 - # VBoxClient autostart file
1457 - insinto /etc/xdg/autostart
1458 - doins "${FILESDIR}"/vboxclient.desktop
1459 -
1460 - # sample xorg.conf
1461 - insinto /usr/share/doc/${PF}
1462 - doins "${FILESDIR}"/xorg.conf.vbox
1463 -
1464 - systemd_dounit "${FILESDIR}/${PN}.service"
1465 -}
1466 -
1467 -pkg_postinst() {
1468 - linux-mod_pkg_postinst
1469 - if ! use X ; then
1470 - elog "use flag X is off, enable it to install the"
1471 - elog "X Window System video driver."
1472 - fi
1473 - elog ""
1474 - elog "Please add users to the \"vboxguest\" group so they can"
1475 - elog "benefit from seamless mode, auto-resize and clipboard."
1476 - elog ""
1477 - elog "The vboxsf group has been added to make automount services work."
1478 - elog "These services are part of the shared folders support."
1479 - elog ""
1480 - elog "Please add:"
1481 - elog "/etc/init.d/${PN}"
1482 - elog "to the default runlevel in order to start"
1483 - elog "needed services."
1484 - elog "To use the VirtualBox X driver, use the following"
1485 - elog "file as your /etc/X11/xorg.conf:"
1486 - elog " /usr/share/doc/${PF}/xorg.conf.vbox"
1487 - elog ""
1488 - elog "Also make sure you use the Mesa library for OpenGL:"
1489 - elog " eselect opengl set xorg-x11"
1490 - elog ""
1491 - elog "An autostart .desktop file has been installed to start"
1492 - elog "VBoxClient in desktop sessions."
1493 - elog ""
1494 - elog "You can mount shared folders with:"
1495 - elog " mount -t vboxsf <shared_folder_name> <mount_point>"
1496 - elog ""
1497 - elog "Warning:"
1498 - elog "this ebuild is only needed if you are running gentoo"
1499 - elog "inside a VirtualBox Virtual Machine, you don't need"
1500 - elog "it to run VirtualBox itself."
1501 - elog ""
1502 -}
1503
1504 diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.1.38.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.1.38.ebuild
1505 deleted file mode 100644
1506 index 97d4f9402e9..00000000000
1507 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.1.38.ebuild
1508 +++ /dev/null
1509 @@ -1,219 +0,0 @@
1510 -# Copyright 1999-2018 Gentoo Foundation
1511 -# Distributed under the terms of the GNU General Public License v2
1512 -
1513 -EAPI=6
1514 -
1515 -inherit eutils linux-mod systemd user toolchain-funcs
1516 -
1517 -MY_PV="${PV/beta/BETA}"
1518 -MY_PV="${MY_PV/rc/RC}"
1519 -MY_P=VirtualBox-${MY_PV}
1520 -DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
1521 -HOMEPAGE="https://www.virtualbox.org/"
1522 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
1523 - https://dev.gentoo.org/~polynomial-c/virtualbox/patchsets/virtualbox-5.1.32-patches-01.tar.xz"
1524 -
1525 -LICENSE="GPL-2"
1526 -SLOT="0"
1527 -KEYWORDS="~amd64 ~x86"
1528 -IUSE="X"
1529 -
1530 -RDEPEND="X? ( x11-apps/xrandr
1531 - x11-apps/xrefresh
1532 - x11-libs/libXmu
1533 - x11-libs/libX11
1534 - x11-libs/libXt
1535 - x11-libs/libXext
1536 - x11-libs/libXau
1537 - x11-libs/libXdmcp
1538 - x11-libs/libSM
1539 - x11-libs/libICE )
1540 - sys-apps/dbus
1541 - !!x11-drivers/xf86-input-virtualbox"
1542 -DEPEND="${RDEPEND}
1543 - >=dev-util/kbuild-0.1.9998_pre20131130
1544 - >=dev-lang/yasm-0.6.2
1545 - sys-devel/bin86
1546 - sys-libs/pam
1547 - sys-power/iasl
1548 - x11-base/xorg-proto"
1549 -PDEPEND="X? ( ~x11-drivers/xf86-video-virtualbox-${PV} )"
1550 -
1551 -BUILD_TARGETS="all"
1552 -BUILD_TARGET_ARCH="${ARCH}"
1553 -
1554 -S="${WORKDIR}/${MY_P}"
1555 -
1556 -pkg_setup() {
1557 - MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
1558 - vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)"
1559 - use X && MODULE_NAMES+=" vboxvideo(misc:${WORKDIR}/vboxvideo::${WORKDIR}/vboxvideo)"
1560 -
1561 - linux-mod_pkg_setup
1562 - BUILD_PARAMS="KERN_DIR=${KV_OUT_DIR} KERNOUT=${KV_OUT_DIR}"
1563 - enewgroup vboxguest
1564 - enewuser vboxguest -1 /bin/sh /dev/null vboxguest
1565 - # automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist
1566 - enewgroup vboxsf
1567 -}
1568 -
1569 -src_unpack() {
1570 - unpack ${A}
1571 -
1572 - # Create and unpack a tarball with the sources of the Linux guest
1573 - # kernel modules, to include all the needed files
1574 - "${S}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz"
1575 - unpack ./vbox-kmod.tar.gz
1576 -
1577 - # Remove shipped binaries (kBuild,yasm), see bug #232775
1578 - cd "${S}"
1579 - rm -rf kBuild/bin tools
1580 -}
1581 -
1582 -src_prepare() {
1583 - # PaX fixes (see bug #298988)
1584 - pushd "${WORKDIR}" &>/dev/null || die
1585 - eapply "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch
1586 - popd &>/dev/null || die
1587 -
1588 - # Disable things unused or splitted into separate ebuilds
1589 - cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die
1590 - use X || echo "VBOX_WITH_X11_ADDITIONS :=" >> LocalConfig.kmk
1591 -
1592 - # stupid new header references...
1593 - for vboxheader in {product,revision,version}-generated.h ; do
1594 - for mdir in vbox{guest,sf} ; do
1595 - ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
1596 - "${WORKDIR}/${mdir}/${vboxheader}"
1597 - done
1598 - done
1599 -
1600 - # Remove pointless GCC version check
1601 - sed -e '/^check_gcc$/d' -i configure || die
1602 -
1603 - eapply "${WORKDIR}/patches"
1604 -
1605 - eapply_user
1606 -}
1607 -
1608 -src_configure() {
1609 - # build the user-space tools, warnings are harmless
1610 - local cmd=(
1611 - ./configure
1612 - --nofatal
1613 - --disable-xpcom
1614 - --disable-sdl-ttf
1615 - --disable-pulse
1616 - --disable-alsa
1617 - --with-gcc="$(tc-getCC)"
1618 - --with-g++="$(tc-getCXX)"
1619 - --target-arch=${ARCH}
1620 - --with-linux="${KV_OUT_DIR}"
1621 - --build-headless
1622 - )
1623 - echo "${cmd[@]}"
1624 - "${cmd[@]}" || die "configure failed"
1625 - source ./env.sh
1626 - export VBOX_GCC_OPT="${CFLAGS} ${CPPFLAGS}"
1627 -}
1628 -
1629 -src_compile() {
1630 - MAKE="kmk" \
1631 - emake TOOL_YASM_AS=yasm \
1632 - VBOX_ONLY_ADDITIONS=1 \
1633 - KBUILD_VERBOSE=2
1634 -
1635 - # Now creating the kernel modules. We must do this _after_
1636 - # we compiled the user-space tools as we need two of the
1637 - # automatically generated header files. (>=3.2.0)
1638 - linux-mod_src_compile
1639 -}
1640 -
1641 -src_install() {
1642 - linux-mod_src_install
1643 -
1644 - cd "${S}"/out/linux.${ARCH}/release/bin/additions || die
1645 -
1646 - insinto /sbin
1647 - newins mount.vboxsf mount.vboxsf
1648 - fperms 4755 /sbin/mount.vboxsf
1649 -
1650 - newinitd "${FILESDIR}"/${PN}-8.initd ${PN}
1651 -
1652 - insinto /usr/sbin/
1653 - newins VBoxService vboxguest-service
1654 - fperms 0755 /usr/sbin/vboxguest-service
1655 -
1656 - insinto /usr/bin
1657 - doins VBoxControl
1658 - fperms 0755 /usr/bin/VBoxControl
1659 -
1660 - # VBoxClient user service and xrandr wrapper
1661 - if use X ; then
1662 - doins VBoxClient
1663 - fperms 0755 /usr/bin/VBoxClient
1664 -
1665 - pushd "${S}"/src/VBox/Additions/x11/Installer &>/dev/null \
1666 - || die
1667 - newins 98vboxadd-xclient VBoxClient-all
1668 - fperms 0755 /usr/bin/VBoxClient-all
1669 - popd &>/dev/null || die
1670 - fi
1671 -
1672 - # udev rule for vboxdrv
1673 - local udev_rules_dir="/lib/udev/rules.d"
1674 - dodir ${udev_rules_dir}
1675 - echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
1676 - >> "${D}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
1677 - || die
1678 - echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
1679 - >> "${D}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
1680 - || die
1681 -
1682 - # VBoxClient autostart file
1683 - insinto /etc/xdg/autostart
1684 - doins "${FILESDIR}"/vboxclient.desktop
1685 -
1686 - # sample xorg.conf
1687 - insinto /usr/share/doc/${PF}
1688 - doins "${FILESDIR}"/xorg.conf.vbox
1689 -
1690 - systemd_dounit "${FILESDIR}/${PN}.service"
1691 -}
1692 -
1693 -pkg_postinst() {
1694 - linux-mod_pkg_postinst
1695 - if ! use X ; then
1696 - elog "use flag X is off, enable it to install the"
1697 - elog "X Window System video driver."
1698 - fi
1699 - elog ""
1700 - elog "Please add users to the \"vboxguest\" group so they can"
1701 - elog "benefit from seamless mode, auto-resize and clipboard."
1702 - elog ""
1703 - elog "The vboxsf group has been added to make automount services work."
1704 - elog "These services are part of the shared folders support."
1705 - elog ""
1706 - elog "Please add:"
1707 - elog "/etc/init.d/${PN}"
1708 - elog "to the default runlevel in order to start"
1709 - elog "needed services."
1710 - elog "To use the VirtualBox X driver, use the following"
1711 - elog "file as your /etc/X11/xorg.conf:"
1712 - elog " /usr/share/doc/${PF}/xorg.conf.vbox"
1713 - elog ""
1714 - elog "Also make sure you use the Mesa library for OpenGL:"
1715 - elog " eselect opengl set xorg-x11"
1716 - elog ""
1717 - elog "An autostart .desktop file has been installed to start"
1718 - elog "VBoxClient in desktop sessions."
1719 - elog ""
1720 - elog "You can mount shared folders with:"
1721 - elog " mount -t vboxsf <shared_folder_name> <mount_point>"
1722 - elog ""
1723 - elog "Warning:"
1724 - elog "this ebuild is only needed if you are running gentoo"
1725 - elog "inside a VirtualBox Virtual Machine, you don't need"
1726 - elog "it to run VirtualBox itself."
1727 - elog ""
1728 -}
1729
1730 diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.14.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.14.ebuild
1731 index e0a70e26ee7..77b0deee6c9 100644
1732 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.14.ebuild
1733 +++ b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.14.ebuild
1734 @@ -30,8 +30,6 @@ RDEPEND="
1735 x11-libs/libSM
1736 x11-libs/libICE )
1737 sys-apps/dbus
1738 - !!x11-drivers/xf86-input-virtualbox
1739 - !x11-drivers/xf86-video-virtualbox
1740 "
1741 DEPEND="
1742 ${RDEPEND}
1743
1744 diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.16.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.16.ebuild
1745 deleted file mode 100644
1746 index 551c7bdd592..00000000000
1747 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.16.ebuild
1748 +++ /dev/null
1749 @@ -1,234 +0,0 @@
1750 -# Copyright 1999-2018 Gentoo Foundation
1751 -# Distributed under the terms of the GNU General Public License v2
1752 -
1753 -EAPI=6
1754 -
1755 -inherit linux-mod systemd user toolchain-funcs
1756 -
1757 -MY_PV="${PV/beta/BETA}"
1758 -MY_PV="${MY_PV/rc/RC}"
1759 -MY_P="VirtualBox-${MY_PV}"
1760 -DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
1761 -HOMEPAGE="https://www.virtualbox.org/"
1762 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
1763 - https://dev.gentoo.org/~polynomial-c/virtualbox/patchsets/virtualbox-5.2.16-patches-01.tar.xz"
1764 -
1765 -LICENSE="GPL-2"
1766 -SLOT="0"
1767 -KEYWORDS="~amd64 ~x86"
1768 -IUSE="X"
1769 -
1770 -RDEPEND="
1771 - X? ( x11-apps/xrandr
1772 - x11-apps/xrefresh
1773 - x11-libs/libXmu
1774 - x11-libs/libX11
1775 - x11-libs/libXt
1776 - x11-libs/libXext
1777 - x11-libs/libXau
1778 - x11-libs/libXdmcp
1779 - x11-libs/libSM
1780 - x11-libs/libICE )
1781 - sys-apps/dbus
1782 - !!x11-drivers/xf86-input-virtualbox
1783 - !x11-drivers/xf86-video-virtualbox
1784 -"
1785 -DEPEND="
1786 - ${RDEPEND}
1787 - >=dev-util/kbuild-0.1.9998.3127
1788 - >=dev-lang/yasm-0.6.2
1789 - sys-devel/bin86
1790 - sys-libs/pam
1791 - sys-power/iasl
1792 - x11-base/xorg-proto
1793 -"
1794 -PDEPEND="
1795 - X? ( x11-drivers/xf86-video-vboxvideo )
1796 -"
1797 -BUILD_TARGETS="all"
1798 -BUILD_TARGET_ARCH="${ARCH}"
1799 -
1800 -S="${WORKDIR}/${MY_P}"
1801 -
1802 -pkg_setup() {
1803 - MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
1804 - vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)"
1805 - use X && MODULE_NAMES+=" vboxvideo(misc:${WORKDIR}/vboxvideo::${WORKDIR}/vboxvideo)"
1806 -
1807 - linux-mod_pkg_setup
1808 - BUILD_PARAMS="KERN_DIR=${KV_OUT_DIR} KERNOUT=${KV_OUT_DIR}"
1809 -}
1810 -
1811 -src_unpack() {
1812 - unpack ${A}
1813 -
1814 - # Apply before we create archive with Linux guest kernel modules
1815 - pushd "${S}" &>/dev/null || die
1816 - eapply "${FILESDIR}"/virtualbox-guest-additions-5.2.18-linux-4.18.patch # 663488
1817 - popd &>/dev/null || die
1818 -
1819 - # Create and unpack a tarball with the sources of the Linux guest
1820 - # kernel modules, to include all the needed files
1821 - "${S}"/src/VBox/Additions/linux/export_modules.sh "${WORKDIR}/vbox-kmod.tar.gz"
1822 - unpack ./vbox-kmod.tar.gz
1823 -
1824 - # Remove shipped binaries (kBuild,yasm), see bug #232775
1825 - cd "${S}"
1826 - rm -rf kBuild/bin tools
1827 -}
1828 -
1829 -src_prepare() {
1830 - # PaX fixes (see bug #298988)
1831 - pushd "${WORKDIR}" &>/dev/null || die
1832 - eapply "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch
1833 - popd &>/dev/null || die
1834 -
1835 - # Disable things unused or splitted into separate ebuilds
1836 - cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die
1837 - use X || echo "VBOX_WITH_X11_ADDITIONS :=" >> LocalConfig.kmk
1838 -
1839 - # stupid new header references...
1840 - local vboxheader mdir
1841 - for vboxheader in {product,revision,version}-generated.h ; do
1842 - for mdir in vbox{guest,sf} ; do
1843 - ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
1844 - "${WORKDIR}/${mdir}/${vboxheader}"
1845 - done
1846 - done
1847 -
1848 - # Remove pointless GCC version check
1849 - sed -e '/^check_gcc$/d' -i configure || die
1850 -
1851 - eapply "${WORKDIR}/patches"
1852 -
1853 - eapply_user
1854 -}
1855 -
1856 -src_configure() {
1857 - # build the user-space tools, warnings are harmless
1858 - local cmd=(
1859 - ./configure
1860 - --nofatal
1861 - --disable-xpcom
1862 - --disable-sdl-ttf
1863 - --disable-pulse
1864 - --disable-alsa
1865 - --with-gcc="$(tc-getCC)"
1866 - --with-g++="$(tc-getCXX)"
1867 - --target-arch=${ARCH}
1868 - --with-linux="${KV_OUT_DIR}"
1869 - --build-headless
1870 - )
1871 - echo "${cmd[@]}"
1872 - "${cmd[@]}" || die "configure failed"
1873 - source ./env.sh
1874 - export VBOX_GCC_OPT="${CFLAGS} ${CPPFLAGS}"
1875 -}
1876 -
1877 -src_compile() {
1878 - MAKE="kmk" \
1879 - emake TOOL_YASM_AS=yasm \
1880 - VBOX_ONLY_ADDITIONS=1 \
1881 - KBUILD_VERBOSE=2
1882 -
1883 - # Now creating the kernel modules. We must do this _after_
1884 - # we compiled the user-space tools as we need two of the
1885 - # automatically generated header files. (>=3.2.0)
1886 - linux-mod_src_compile
1887 -}
1888 -
1889 -src_install() {
1890 - linux-mod_src_install
1891 -
1892 - cd "${S}"/out/linux.${ARCH}/release/bin/additions || die
1893 -
1894 - insinto /sbin
1895 - newins mount.vboxsf mount.vboxsf
1896 - fperms 4755 /sbin/mount.vboxsf
1897 -
1898 - newinitd "${FILESDIR}"/${PN}-8.initd ${PN}
1899 -
1900 - insinto /usr/sbin/
1901 - newins VBoxService vboxguest-service
1902 - fperms 0755 /usr/sbin/vboxguest-service
1903 -
1904 - insinto /usr/bin
1905 - doins VBoxControl
1906 - fperms 0755 /usr/bin/VBoxControl
1907 -
1908 - # VBoxClient user service and xrandr wrapper
1909 - if use X ; then
1910 - doins VBoxClient
1911 - fperms 0755 /usr/bin/VBoxClient
1912 -
1913 - pushd "${S}"/src/VBox/Additions/x11/Installer &>/dev/null \
1914 - || die
1915 - newins 98vboxadd-xclient VBoxClient-all
1916 - fperms 0755 /usr/bin/VBoxClient-all
1917 - popd &>/dev/null || die
1918 - fi
1919 -
1920 - # udev rule for vboxdrv
1921 - local udev_rules_dir="/lib/udev/rules.d"
1922 - dodir ${udev_rules_dir}
1923 - echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
1924 - >> "${ED%/}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
1925 - || die
1926 - echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
1927 - >> "${ED%/}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
1928 - || die
1929 -
1930 - # VBoxClient autostart file
1931 - insinto /etc/xdg/autostart
1932 - doins "${FILESDIR}"/vboxclient.desktop
1933 -
1934 - # sample xorg.conf
1935 - insinto /usr/share/doc/${PF}
1936 - doins "${FILESDIR}"/xorg.conf.vbox
1937 -
1938 - systemd_dounit "${FILESDIR}/${PN}.service"
1939 -}
1940 -
1941 -pkg_preinst() {
1942 - enewgroup vboxguest
1943 - enewuser vboxguest -1 /bin/sh /dev/null vboxguest
1944 - # automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist
1945 - enewgroup vboxsf
1946 -}
1947 -
1948 -pkg_postinst() {
1949 - linux-mod_pkg_postinst
1950 - if ! use X ; then
1951 - elog "use flag X is off, enable it to install the"
1952 - elog "X Window System video driver."
1953 - fi
1954 - elog ""
1955 - elog "Please add users to the \"vboxguest\" group so they can"
1956 - elog "benefit from seamless mode, auto-resize and clipboard."
1957 - elog ""
1958 - elog "The vboxsf group has been added to make automount services work."
1959 - elog "These services are part of the shared folders support."
1960 - elog ""
1961 - elog "Please add:"
1962 - elog "/etc/init.d/${PN}"
1963 - elog "to the default runlevel in order to start"
1964 - elog "needed services."
1965 - elog "To use the VirtualBox X driver, use the following"
1966 - elog "file as your /etc/X11/xorg.conf:"
1967 - elog " /usr/share/doc/${PF}/xorg.conf.vbox"
1968 - elog ""
1969 - elog "Also make sure you use the Mesa library for OpenGL:"
1970 - elog " eselect opengl set xorg-x11"
1971 - elog ""
1972 - elog "An autostart .desktop file has been installed to start"
1973 - elog "VBoxClient in desktop sessions."
1974 - elog ""
1975 - elog "You can mount shared folders with:"
1976 - elog " mount -t vboxsf <shared_folder_name> <mount_point>"
1977 - elog ""
1978 - elog "Warning:"
1979 - elog "this ebuild is only needed if you are running gentoo"
1980 - elog "inside a VirtualBox Virtual Machine, you don't need"
1981 - elog "it to run VirtualBox itself."
1982 - elog ""
1983 -}
1984
1985 diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.18.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.18.ebuild
1986 index 551c7bdd592..753cfe70961 100644
1987 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.18.ebuild
1988 +++ b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.18.ebuild
1989 @@ -30,8 +30,6 @@ RDEPEND="
1990 x11-libs/libSM
1991 x11-libs/libICE )
1992 sys-apps/dbus
1993 - !!x11-drivers/xf86-input-virtualbox
1994 - !x11-drivers/xf86-video-virtualbox
1995 "
1996 DEPEND="
1997 ${RDEPEND}
1998
1999 diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.20.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.20.ebuild
2000 index 2fede4fb92e..64bc7a6872f 100644
2001 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.20.ebuild
2002 +++ b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.20.ebuild
2003 @@ -30,8 +30,6 @@ RDEPEND="
2004 x11-libs/libSM
2005 x11-libs/libICE )
2006 sys-apps/dbus
2007 - !!x11-drivers/xf86-input-virtualbox
2008 - !x11-drivers/xf86-video-virtualbox
2009 "
2010 DEPEND="
2011 ${RDEPEND}
2012
2013 diff --git a/app-emulation/virtualbox-modules/Manifest b/app-emulation/virtualbox-modules/Manifest
2014 index 27b9d4c366c..edfaaffb127 100644
2015 --- a/app-emulation/virtualbox-modules/Manifest
2016 +++ b/app-emulation/virtualbox-modules/Manifest
2017 @@ -1,6 +1,3 @@
2018 -DIST vbox-kernel-module-src-5.1.36.tar.xz 628368 BLAKE2B 49a3dfc4ff573f793eefcfd9b645af6fa6fc63b54475921064be146d3d4bf4db61f48d82f62d65811597fa12b88331153f7491890527fde76f41426355552abb SHA512 c69739c72a5555fc3bca90186129fa4eeb5bd930c4396b416a8a88e6f84bcd9e7498a9bbc9381da648cf87d601d98249feac2e4de6d93d8b7aba46b22d3ec40f
2019 -DIST vbox-kernel-module-src-5.1.38.tar.xz 628552 BLAKE2B 9faa4e837a48ac27be5c0183edcf2b39c08eeab210bd39811704a7a578a93b28f8b8ecf26a34483f2d135a8cb8817756120d7bef0b8de245c5a5e232cfebfff0 SHA512 36311c3ff947fa763db1fc0612c5a4c10ac3d586c3faab3a91e463723488510cedfc1a69696381158a167edfc86d7abf66c18b287ced75cbaba3f1797c4265a8
2020 DIST vbox-kernel-module-src-5.2.14.tar.xz 637352 BLAKE2B 7ccefbb13f25fe995e0f769192a93baa91358c09e7126d6a6c8bef7fceeab50082f78843140d23cf88c4931c561552c4131b17625e7a3821766571387d78d2a3 SHA512 920eca67fb10ed4d1eeab95b14e65c585dd96df82a4690c34c9d85366ec6dd9835f9a772eb4718a80e6ffb2637de2a698151a6bdfd7984fc2070cd0bade5c077
2021 -DIST vbox-kernel-module-src-5.2.16.tar.xz 638172 BLAKE2B 80a27100bb0be97796f03b368c589965d476e6d0c79424b94a5100561dc84bc2baf28b271a744b7b4ad53e015fb463faf2871d24596fafc83c80ccbe16087730 SHA512 35169a46ca9018f169b25359c0f4bf658622d71ea284768912bf0a8d2ac34ecec94f5dc774f77f0c02d1b83363faad53158baac7423f588deedfe8073a1e56a3
2022 DIST vbox-kernel-module-src-5.2.18.tar.xz 638008 BLAKE2B 8ad08362e81365956bace1f6591ddd5f8201f3464df6f3f378c6c1b88f8a58eb823646f5c36f8c5efbdcd9941ec8eb46b604b356a39bf44af50b0ee9e5a6914a SHA512 0ba280b111725f6e77544e29db4dfbc8c418d928fd03db0a5d747703513147bc3b7ff7fcfa544298414ec97e95c99f9408c1fe2349d652552a652b6518898401
2023 DIST vbox-kernel-module-src-5.2.20.tar.xz 638452 BLAKE2B f8fa29e21a77ebfec765ce0e006aaba9fdc76773e216d0c24c705e688730598e85b2c191406acd376f4020c67e296b6f22b0acecb7f15f3e343233b4a7da62fa SHA512 5378be30ab697ded6c07e74b15a38331914b19f72c55847e92e6e89541c25d89aeb6020aaaa3820e84902efb10a5b7ba7190a5271da93cd490b25fcbd787bf28
2024
2025 diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.1.36.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.1.36.ebuild
2026 deleted file mode 100644
2027 index ad4b2205685..00000000000
2028 --- a/app-emulation/virtualbox-modules/virtualbox-modules-5.1.36.ebuild
2029 +++ /dev/null
2030 @@ -1,60 +0,0 @@
2031 -# Copyright 1999-2018 Gentoo Foundation
2032 -# Distributed under the terms of the GNU General Public License v2
2033 -
2034 -# XXX: the tarball here is just the kernel modules split out of the binary
2035 -# package that comes from virtualbox-bin
2036 -
2037 -EAPI=6
2038 -
2039 -inherit eutils linux-mod user
2040 -
2041 -MY_P=vbox-kernel-module-src-${PV}
2042 -DESCRIPTION="Kernel Modules for Virtualbox"
2043 -HOMEPAGE="https://www.virtualbox.org/"
2044 -SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
2045 -
2046 -LICENSE="GPL-2"
2047 -SLOT="0"
2048 -KEYWORDS="amd64 x86"
2049 -IUSE="pax_kernel"
2050 -
2051 -RDEPEND="!=app-emulation/virtualbox-9999"
2052 -
2053 -S=${WORKDIR}
2054 -
2055 -BUILD_TARGETS="all"
2056 -BUILD_TARGET_ARCH="${ARCH}"
2057 -MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})"
2058 -
2059 -pkg_setup() {
2060 - enewgroup vboxusers
2061 - linux-mod_pkg_setup
2062 - BUILD_PARAMS="CC=$(tc-getBUILD_CC) KERN_DIR=${KV_DIR} O=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1"
2063 -}
2064 -
2065 -src_prepare() {
2066 - if kernel_is -ge 2 6 33 ; then
2067 - # evil patch for new kernels - header moved
2068 - grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:'
2069 - fi
2070 -
2071 - if use pax_kernel && kernel_is -ge 3 0 0 ; then
2072 - eapply "${FILESDIR}"/${PN}-4.1.4-pax-const.patch
2073 - fi
2074 -
2075 - if kernel_is -ge 4 14 0 ; then
2076 - eapply "${FILESDIR}"/${PN}-5.1.30-udp.patch
2077 - fi
2078 -
2079 - default
2080 -}
2081 -
2082 -src_install() {
2083 - linux-mod_src_install
2084 - insinto /usr/lib/modules-load.d/
2085 - doins "${FILESDIR}"/virtualbox.conf
2086 -}
2087 -
2088 -pkg_postinst() {
2089 - linux-mod_pkg_postinst
2090 -}
2091
2092 diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.1.38.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.1.38.ebuild
2093 deleted file mode 100644
2094 index 027b2333e33..00000000000
2095 --- a/app-emulation/virtualbox-modules/virtualbox-modules-5.1.38.ebuild
2096 +++ /dev/null
2097 @@ -1,56 +0,0 @@
2098 -# Copyright 1999-2018 Gentoo Foundation
2099 -# Distributed under the terms of the GNU General Public License v2
2100 -
2101 -# XXX: the tarball here is just the kernel modules split out of the binary
2102 -# package that comes from virtualbox-bin
2103 -
2104 -EAPI=6
2105 -
2106 -inherit eutils linux-mod user
2107 -
2108 -MY_P=vbox-kernel-module-src-${PV}
2109 -DESCRIPTION="Kernel Modules for Virtualbox"
2110 -HOMEPAGE="https://www.virtualbox.org/"
2111 -SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
2112 -
2113 -LICENSE="GPL-2"
2114 -SLOT="0"
2115 -KEYWORDS="~amd64 ~x86"
2116 -IUSE="pax_kernel"
2117 -
2118 -RDEPEND="!=app-emulation/virtualbox-9999"
2119 -
2120 -S=${WORKDIR}
2121 -
2122 -BUILD_TARGETS="all"
2123 -BUILD_TARGET_ARCH="${ARCH}"
2124 -MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})"
2125 -
2126 -pkg_setup() {
2127 - enewgroup vboxusers
2128 - linux-mod_pkg_setup
2129 - BUILD_PARAMS="CC=$(tc-getBUILD_CC) KERN_DIR=${KV_DIR} O=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1"
2130 -}
2131 -
2132 -src_prepare() {
2133 - if kernel_is -ge 2 6 33 ; then
2134 - # evil patch for new kernels - header moved
2135 - grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:'
2136 - fi
2137 -
2138 - if use pax_kernel && kernel_is -ge 3 0 0 ; then
2139 - eapply "${FILESDIR}"/${PN}-4.1.4-pax-const.patch
2140 - fi
2141 -
2142 - default
2143 -}
2144 -
2145 -src_install() {
2146 - linux-mod_src_install
2147 - insinto /usr/lib/modules-load.d/
2148 - doins "${FILESDIR}"/virtualbox.conf
2149 -}
2150 -
2151 -pkg_postinst() {
2152 - linux-mod_pkg_postinst
2153 -}
2154
2155 diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.2.16.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.2.16.ebuild
2156 deleted file mode 100644
2157 index 89e331b6d04..00000000000
2158 --- a/app-emulation/virtualbox-modules/virtualbox-modules-5.2.16.ebuild
2159 +++ /dev/null
2160 @@ -1,51 +0,0 @@
2161 -# Copyright 1999-2018 Gentoo Foundation
2162 -# Distributed under the terms of the GNU General Public License v2
2163 -
2164 -# XXX: the tarball here is just the kernel modules split out of the binary
2165 -# package that comes from virtualbox-bin
2166 -
2167 -EAPI=6
2168 -
2169 -inherit eutils linux-mod user
2170 -
2171 -MY_P="vbox-kernel-module-src-${PV}"
2172 -DESCRIPTION="Kernel Modules for Virtualbox"
2173 -HOMEPAGE="https://www.virtualbox.org/"
2174 -SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
2175 -
2176 -LICENSE="GPL-2"
2177 -SLOT="0"
2178 -KEYWORDS="~amd64 ~x86"
2179 -IUSE="pax_kernel"
2180 -
2181 -RDEPEND="!=app-emulation/virtualbox-9999"
2182 -
2183 -S="${WORKDIR}"
2184 -
2185 -BUILD_TARGETS="all"
2186 -BUILD_TARGET_ARCH="${ARCH}"
2187 -MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})"
2188 -
2189 -pkg_setup() {
2190 - enewgroup vboxusers
2191 - linux-mod_pkg_setup
2192 - BUILD_PARAMS="CC=$(tc-getBUILD_CC) KERN_DIR=${KV_DIR} KERN_VER=${KV_FULL} O=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1"
2193 -}
2194 -
2195 -src_prepare() {
2196 - if use pax_kernel && kernel_is -ge 3 0 0 ; then
2197 - eapply -p0 "${FILESDIR}"/${PN}-5.2.8-pax-const.patch
2198 - fi
2199 -
2200 - default
2201 -}
2202 -
2203 -src_install() {
2204 - linux-mod_src_install
2205 - insinto /usr/lib/modules-load.d/
2206 - doins "${FILESDIR}"/virtualbox.conf
2207 -}
2208 -
2209 -pkg_postinst() {
2210 - linux-mod_pkg_postinst
2211 -}
2212
2213 diff --git a/app-emulation/virtualbox/Manifest b/app-emulation/virtualbox/Manifest
2214 index a98f83369be..049bb31e1e0 100644
2215 --- a/app-emulation/virtualbox/Manifest
2216 +++ b/app-emulation/virtualbox/Manifest
2217 @@ -1,9 +1,5 @@
2218 -DIST VirtualBox-5.1.36.tar.bz2 117244376 BLAKE2B 141048f4fcbb3ce63d236a4127b4bce377e87876c23dc3ff6437b2c0cca5b468bc6a5737899b308bc1ff3252d4e61f7d053ff7574c33c85b56fdd986c31f2af3 SHA512 d1a9322c97c68cc9c21247c3df8ce2084911aded66a63adf5510f9e0f4558b1304dfe924a0c44243adc1ae8f7c45c47782e882baac1bfe995ea6c0a1370fcbd1
2219 -DIST VirtualBox-5.1.38.tar.bz2 117345233 BLAKE2B 15ed86a1f6730c781a0b4b055dcccfb56ff9c829c90dc4d2aa96cc2bb5bcfa8e442bdd471a7c70c5520bef994592e8f1a5b46831df4039efb5358c2e0ab83413 SHA512 6cf8536c24aa3a6e889214ef6133eb18fdbe1e7c371323cad07aa63b0e1f4414ba13d5fa7b63c12dfefe60e2e544488ced107571f678a06eb094a3e19b377ea8
2220 DIST VirtualBox-5.2.14.tar.bz2 118597539 BLAKE2B 5e0a8d92405378eb438cae375041609f7a0e1288b040d3a0bcc06157f16ddd48b3537f2f026aa12a71c5319bdef56d6f3907785ac51ebe05a8b7143e04f22d0a SHA512 b8202eccd83e9f2c92a77548d003082b6b3ff7838bb32ae48c3a25dcd622bfdc8ceca42cc49b855eeabf4439c55ad42df9b3959dd1bab77de154468e139c904e
2221 -DIST VirtualBox-5.2.16.tar.bz2 118678441 BLAKE2B 9d912a51ceb69eb117d9886adf34fe4900bd941637c0610e0e0febb650cf7817b6f2fa0db4b085c0cb28c56892e7f8678e3533d7384cd155e356fa4a0ec7c0fa SHA512 361607c43e3f7fb60da6db898951317c45a7f7b782c42808759f7c29502e3778ae28e5a54b5c49d1c5e46d94f85dbd1891d69f16d756767f0155bb48531b9519
2222 DIST VirtualBox-5.2.18.tar.bz2 118700952 BLAKE2B 5e9a5ca5379d80a8d9d0d53fe7b1f7cd98e03b6c535867932d55aa6a936e65f2d294264da014f332c2caa933a262ced3e350d9eb685ad99dec02a02ffcf5e7cb SHA512 f67c17cdd39e699e6c80af82a2c2d0c5dab073ddba2b55393740e605debb973030c48ce736ae753fc1e680845f0b62209c0f8951db08b665e9cdd83c52d5be20
2223 DIST VirtualBox-5.2.20.tar.bz2 118760364 BLAKE2B 7a5f72340796d3278ef5f3210f4b25bf4d999ec93cdd0449853faf68b38c45a6ffd00fe2c88f12296029882f7715c012d1793cfff9d1c2441aa4db414fa3225e SHA512 ff039e487c43b584c5c5959df1622151d82f6c39101af869262f800d07e68a68005ed442112e36ebe249ed79de34c0b974bbd43e7889a5d40df2ebe7dec77a15
2224 -DIST virtualbox-5.1.32-patches-01.tar.xz 2464 BLAKE2B 28f461634ac7f200b74d961e56f56aea486445bdb8d1490000bd34393b4873ee058d1dc9db6c32084921bd7d51a92be1e38b1b098385f443f41b9231c1489829 SHA512 08782c8eecc0cbb370f21fb3951af449ed1c8174a7184210de376a7d4ca5d64b14b2619d121aacef1c85982c8b485e545e260d3c0fc1f95769093efa23cd2cd2
2225 DIST virtualbox-5.2.12-patches-01.tar.xz 2616 BLAKE2B 5731484d185414d83588ee227bbc1eef266451d1a3a710adf1b769cd6404ef1750dba7a60549f2ab9f3fb81ef15809db9ea0190127caefc72d7bc9bb8b741fb0 SHA512 712b55392a8e8357e95abb42ea4f8dac3391ecbf9cbecf27c7dbf674c40f42a1eb19d227a1b3adcf621384a9f64a6438d20fb43866c736189097fb5770c5c654
2226 DIST virtualbox-5.2.16-patches-02.tar.xz 3152 BLAKE2B c8d8f3872f544a465c7d1aa07291599307120ac9eabfb299ddd788a11f85ca6c2d84b8e7306ee4ad436270dad0dd39f101ee68a549eac15afd1e3cdc03f23c6c SHA512 85ee8c4045de562d71ab2d761695ea48b6726a6f0c4bcaa2562bb0d147542d3f1a1b5b47cf593a7f22dac1b86f87b59a56bef421dce3e1fa8e5260cd41998450
2227
2228 diff --git a/app-emulation/virtualbox/files/050_virtualbox-5.1.24-nopie.patch b/app-emulation/virtualbox/files/050_virtualbox-5.1.24-nopie.patch
2229 deleted file mode 100644
2230 index 73c377a6c94..00000000000
2231 --- a/app-emulation/virtualbox/files/050_virtualbox-5.1.24-nopie.patch
2232 +++ /dev/null
2233 @@ -1,158 +0,0 @@
2234 -diff -Naur VirtualBox-5.1.24/Config.kmk VirtualBox-5.1.24/Config.kmk
2235 ---- VirtualBox-5.1.24/Config.kmk 2017-07-26 13:55:27.803972185 -0400
2236 -+++ VirtualBox-5.1.24/Config.kmk 2017-07-26 13:53:10.700974328 -0400
2237 -@@ -2601,6 +2601,7 @@
2238 - $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-overlength-strings?= $(call VBOX_GCC_CHECK_CC,-Wno-overlength-strings,)'
2239 - $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-overloaded-virtual?= $(call VBOX_GCC_CHECK_CXX,-Wno-overloaded-virtual,)'
2240 - $(QUIET)$(APPEND) '$@' 'VBOX_GCC_fno-stack-protector ?= $(call VBOX_GCC_CHECK_CC,-fno-stack-protector,)'
2241 -+ $(QUIET)$(APPEND) '$@' 'VBOX_GCC_nopie ?= $(call VBOX_GCC_CHECK_CC,-nopie,)'
2242 - $(QUIET)$(APPEND) '$@' 'VBOX_GCC_fno-dwarf2-cfi-asm ?= $(call VBOX_GCC_CHECK_CC,-fno-dwarf2-cfi-asm,)'
2243 - $(QUIET)$(APPEND) '$@' 'VBOX_GCC_m64 ?= $(call VBOX_GCC_CHECK_CC,-m64,)'
2244 - $(QUIET)$(APPEND) '$@' 'VBOX_GCC_no-pie ?= $(call VBOX_GCC_CHECK_CC,-no-pie,)'
2245 -@@ -3843,8 +3844,8 @@
2246 -
2247 - ifeq ($(VBOX_LDR_FMT32),elf)
2248 - TEMPLATE_VBoxRc_TOOL = $(VBOX_GCC32_TOOL)
2249 -- TEMPLATE_VBoxRc_CXXFLAGS = -fno-pie -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC32_Wno-variadic-macros) -fno-exceptions $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-strict-aliasing $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_fvisibility-hidden) $(VBOX_GCC_fvisibility-inlines-hidden) -fno-rtti $(VBOX_GCC_IPRT_FMT_CHECK)
2250 -- TEMPLATE_VBoxRc_CFLAGS = -fno-pie -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC32_Wno-variadic-macros) -fno-exceptions $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-strict-aliasing $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_fvisibility-hidden) $(VBOX_GCC_IPRT_FMT_CHECK)
2251 -+ TEMPLATE_VBoxRc_CXXFLAGS = -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC32_Wno-variadic-macros) -fno-exceptions $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-strict-aliasing $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_fvisibility-hidden) $(VBOX_GCC_fvisibility-inlines-hidden) -fno-rtti $(VBOX_GCC_IPRT_FMT_CHECK)
2252 -+ TEMPLATE_VBoxRc_CFLAGS = -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC32_Wno-variadic-macros) -fno-exceptions $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-strict-aliasing $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_fvisibility-hidden) $(VBOX_GCC_IPRT_FMT_CHECK)
2253 - ifeq ($(KBUILD_TARGET),solaris)
2254 - TEMPLATE_VBoxRc_LDFLAGS = -r
2255 - else
2256 -@@ -3864,8 +3865,8 @@
2257 - ifeq ($(VBOX_LDR_FMT32),macho)
2258 - TEMPLATE_VBoxRc_TOOL = $(VBOX_GCC_TOOL)
2259 - TEMPLATE_VBoxRc_DEFS += $(VBOX_DARWIN_DEF_SDK_DEFS)
2260 -- TEMPLATE_VBoxRc_CXXFLAGS = $(VBOX_DARWIN_DEF_SDK_CXXFLAGS) -m32 -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC32_Wno-variadic-macros) -fno-common -msoft-float -static $(VBOX_GCC_fno-stack-protector) -fno-exceptions $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -fno-strict-aliasing -fno-rtti
2261 -- TEMPLATE_VBoxRc_CFLAGS = $(VBOX_DARWIN_DEF_SDK_CFLAGS) -m32 -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC32_Wno-variadic-macros) -fno-common -msoft-float -static $(VBOX_GCC_fno-stack-protector) -fno-exceptions $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -fno-strict-aliasing
2262 -+ TEMPLATE_VBoxRc_CXXFLAGS = $(VBOX_DARWIN_DEF_SDK_CXXFLAGS) -m32 -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC32_Wno-variadic-macros) -fno-common -msoft-float -static $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) -fno-exceptions $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -fno-strict-aliasing -fno-rtti
2263 -+ TEMPLATE_VBoxRc_CFLAGS = $(VBOX_DARWIN_DEF_SDK_CFLAGS) -m32 -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC32_Wno-variadic-macros) -fno-common -msoft-float -static $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) -fno-exceptions $(VBOX_GCC_GC_OPT) $(VBOX_GCC_GC_FP) -fno-strict-aliasing
2264 - TEMPLATE_VBoxRc_LDFLAGS = $(VBOX_DARWIN_DEF_SDK_LDFLAGS) -m32 -nostdlib
2265 - #TEMPLATE_VBoxRc_LDFLAGS.release = -Wl,-S ???
2266 - endif
2267 -@@ -3903,9 +3904,9 @@
2268 - endif
2269 -
2270 - ifeq ($(VBOX_LDR_FMT32),elf)
2271 -- TEMPLATE_VBoxRcExe_CFLAGS = $(filter-out -nostdinc,$(TEMPLATE_VBoxRc_CFLAGS)) -O0
2272 -- TEMPLATE_VBoxRcExe_CXXFLAGS = $(filter-out -nostdinc,$(TEMPLATE_VBoxRc_CXXFLAGS)) -O0
2273 -- TEMPLATE_VBoxRcExe_LDFLAGS = -g
2274 -+ TEMPLATE_VBoxRcExe_CFLAGS = $(filter-out -nostdinc,$(TEMPLATE_VBoxRc_CFLAGS)) -O0 $(VBOX_GCC_nopie)
2275 -+ TEMPLATE_VBoxRcExe_CXXFLAGS = $(filter-out -nostdinc,$(TEMPLATE_VBoxRc_CXXFLAGS)) -O0 $(VBOX_GCC_nopie)
2276 -+ TEMPLATE_VBoxRcExe_LDFLAGS = -g $(VBOX_GCC_nopie)
2277 - TEMPLATE_VBoxRcExe_LDFLAGS.dbgopt = -g
2278 - TEMPLATE_VBoxRcExe_LDFLAGS.strict = -g
2279 - TEMPLATE_VBoxRcExe_LDFLAGS.release = -g
2280 -@@ -3984,8 +3985,8 @@
2281 -
2282 - ifeq ($(VBOX_LDR_FMT),elf)
2283 - TEMPLATE_VBoxR0_TOOL = $(VBOX_GCC_TOOL)
2284 --TEMPLATE_VBoxR0_CFLAGS = -fno-pie -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions $(VBOX_GCC_fno-stack-protector) -fno-common $(VBOX_GCC_fvisibility-hidden) -std=gnu99 $(VBOX_GCC_IPRT_FMT_CHECK)
2285 --TEMPLATE_VBoxR0_CXXFLAGS = -fno-pie -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions $(VBOX_GCC_fno-stack-protector) -fno-common $(VBOX_GCC_fvisibility-inlines-hidden) $(VBOX_GCC_fvisibility-hidden) -fno-rtti $(VBOX_GCC_IPRT_FMT_CHECK)
2286 -+TEMPLATE_VBoxR0_CFLAGS = -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) -fno-common $(VBOX_GCC_fvisibility-hidden) -std=gnu99 $(VBOX_GCC_IPRT_FMT_CHECK)
2287 -+TEMPLATE_VBoxR0_CXXFLAGS = -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) -fno-common $(VBOX_GCC_fvisibility-inlines-hidden) $(VBOX_GCC_fvisibility-hidden) -fno-rtti $(VBOX_GCC_IPRT_FMT_CHECK)
2288 - TEMPLATE_VBoxR0_CFLAGS.amd64 = -m64 -mno-red-zone -mcmodel=kernel -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-asynchronous-unwind-tables -ffreestanding
2289 - TEMPLATE_VBoxR0_CXXFLAGS.amd64 = -m64 -mno-red-zone -mcmodel=kernel -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-asynchronous-unwind-tables
2290 - ifeq ($(KBUILD_TARGET),solaris)
2291 -@@ -4018,12 +4019,12 @@
2292 - TEMPLATE_VBoxR0_DEFS += $(VBOX_DARWIN_DEF_SDK_DEFS)
2293 - TEMPLATE_VBoxR0_CXXFLAGS = $(VBOX_DARWIN_DEF_SDK_CXXFLAGS) -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_Wno-variadic-macros) \
2294 - -fno-common -msoft-float -static -fno-rtti -fno-exceptions $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing \
2295 -- -mno-sse -mno-mmx -mno-sse2 -mno-3dnow $(VBOX_GCC_fno-stack-protector)
2296 -+ -mno-sse -mno-mmx -mno-sse2 -mno-3dnow $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
2297 - TEMPLATE_VBoxR0_CXXFLAGS.amd64 = -m64 -mno-red-zone -mno-sse3 -mno-sse4 -mno-sse4.1 -mno-sse4.2 -mno-sse4a -fno-unwind-tables
2298 - TEMPLATE_VBoxR0_CXXFLAGS.x86 = -m32
2299 - TEMPLATE_VBoxR0_CFLAGS = $(VBOX_DARWIN_DEF_SDK_CFLAGS) -nostdinc -g $(VBOX_GCC_pipe) $(VBOX_GCC_WERR) $(VBOX_GCC_PEDANTIC_C) $(VBOX_GCC_Wno-variadic-macros) \
2300 - -fno-common -msoft-float -static -fno-exceptions $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing \
2301 -- -mno-sse -mno-mmx -mno-sse2 -mno-3dnow $(VBOX_GCC_fno-stack-protector)
2302 -+ -mno-sse -mno-mmx -mno-sse2 -mno-3dnow $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
2303 - TEMPLATE_VBoxR0_CFLAGS.amd64 = -m64 -mno-red-zone -mno-sse3 -mno-sse4 -mno-sse4.1 -mno-sse4.2 -mno-sse4a -fno-unwind-tables
2304 - TEMPLATE_VBoxR0_CFLAGS.x86 = -m32
2305 - TEMPLATE_VBoxR0_LDFLAGS = $(VBOX_DARWIN_DEF_SDK_LDFLAGS) -nostdlib
2306 -@@ -4259,7 +4260,7 @@
2307 - -Wstrict-prototypes -Wmissing-prototypes -Wstrict-prototypes \
2308 - -Wimplicit-function-declaration -Werror-implicit-function-declaration \
2309 - -O2 -ffreestanding -fno-strict-aliasing -fno-common -finline-limit=8000 \
2310 -- $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
2311 -+ $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
2312 - -nostdinc -std=c99
2313 - TEMPLATE_VBOXR0DRV_CFLAGS.x86 = -m32 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2
2314 - TEMPLATE_VBOXR0DRV_CFLAGS.amd64 = -m64 --param inline-unit-growth=100 --param large-function-growth=1000 \
2315 -@@ -4268,7 +4269,7 @@
2316 - TEMPLATE_VBOXR0DRV_CXXFLAGS = -fno-exceptions -fno-rtti \
2317 - $(VBOX_GCC_WARN) -Wpointer-arith -Winline \
2318 - -O2 -fno-strict-aliasing -fno-common -finline-limit=8000 \
2319 -- $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
2320 -+ $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
2321 - -nostdinc
2322 - TEMPLATE_VBOXR0DRV_CXXFLAGS.x86 = $(TEMPLATE_VBOXR0DRV_CFLAGS.x86)
2323 - TEMPLATE_VBOXR0DRV_CXXFLAGS.amd64 = $(TEMPLATE_VBOXR0DRV_CFLAGS.amd64)
2324 -@@ -4341,7 +4342,7 @@
2325 - -Wstrict-prototypes -Wmissing-prototypes -Wstrict-prototypes \
2326 - -Wimplicit-function-declaration -Werror-implicit-function-declaration \
2327 - -O2 -ffreestanding -fno-strict-aliasing -fno-common -finline-limit=8000 \
2328 -- $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
2329 -+ $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
2330 - -nostdinc -std=c99 -msoft-float
2331 - TEMPLATE_VBOXR0DRV_CFLAGS.x86 = -m32 \
2332 - -mpreferred-stack-boundary=2 -mno-mmx -mno-sse -mno-avx \
2333 -@@ -4353,7 +4354,7 @@
2334 - TEMPLATE_VBOXR0DRV_CXXFLAGS = -fno-exceptions -fno-rtti \
2335 - $(VBOX_GCC_WARN) -Wpointer-arith -Winline \
2336 - -O2 -fno-strict-aliasing -fno-common -finline-limit=8000 \
2337 -- $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
2338 -+ $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \
2339 - -nostdinc -msoft-float
2340 - TEMPLATE_VBOXR0DRV_CXXFLAGS.x86 = $(TEMPLATE_VBOXR0DRV_CFLAGS.x86)
2341 - TEMPLATE_VBOXR0DRV_CXXFLAGS.amd64 = $(TEMPLATE_VBOXR0DRV_CFLAGS.amd64)
2342 -@@ -4394,7 +4395,7 @@
2343 - TEMPLATE_VBOXR0DRV_LDFLAGS = -shared -no-undefined -dc -dy -lroot -rpath-link /boot/system/develop/lib/x86 --no-add-needed /boot/system/develop/lib/_KERNEL_ --no-add-needed /boot/system/develop/lib/haiku_version_glue.o
2344 - TEMPLATE_VBOXR0DRV_CFLAGS = -fno-PIC \
2345 - $(VBOX_GCC_WARN) -Wstrict-prototypes $(VBOX_GCC_Wno-pointer-sign) -Wno-sign-compare \
2346 -- $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration
2347 -+ $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration
2348 - TEMPLATE_VBOXR0DRV_CFLAGS.x86 = -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
2349 - TEMPLATE_VBOXR0DRV_CFLAGS.x86 = -m32 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
2350 - TEMPLATE_VBOXR0DRV_CFLAGS.amd64 = -m64 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow \
2351 -@@ -5210,8 +5211,8 @@
2352 - TEMPLATE_VBoxNoCrtGccLib_TOOL = $(VBOX_GCC_TOOL)
2353 - TEMPLATE_VBoxNoCrtGccLib_ASTOOL = $(VBOX_ASTOOL)
2354 - TEMPLATE_VBoxNoCrtGccLib_ASFLAGS = $(VBOX_ASFLAGS)
2355 -- TEMPLATE_VBoxNoCrtGccLib_CFLAGS += $(VBOX_GCC_fno-stack-protector)
2356 -- TEMPLATE_VBoxNoCrtGccLib_CXXFLAGS += $(VBOX_GCC_fno-stack-protector)
2357 -+ TEMPLATE_VBoxNoCrtGccLib_CFLAGS += $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
2358 -+ TEMPLATE_VBoxNoCrtGccLib_CXXFLAGS += $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
2359 - ifeq ($(KBUILD_TARGET_ARCH),amd64)
2360 - # in 64-bit mode we'll build a sys-module (VBoxREM2).
2361 - if1of ($(KBUILD_TARGET), darwin solaris)
2362 -@@ -6467,8 +6468,8 @@
2363 - TEMPLATE_VBOXGUESTR3XF86MOD_CFLAGS = $(TEMPLATE_VBOXGUESTR3EXE_CFLAGS) -fno-pie -fno-merge-constants -std=c99 -ffreestanding
2364 - TEMPLATE_VBOXGUESTR3XF86MOD_CXXFLAGS= $(TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS) -fno-pie -fno-merge-constants -ffreestanding
2365 - ifndef VBOX_WITH_COMPATIBLE_LINUX_GUEST_PACKAGE
2366 -- TEMPLATE_VBOXGUESTR3XF86MOD_CFLAGS += $(VBOX_GCC_fno-stack-protector)
2367 -- TEMPLATE_VBOXGUESTR3XF86MOD_CXXFLAGS += $(VBOX_GCC_fno-stack-protector)
2368 -+ TEMPLATE_VBOXGUESTR3XF86MOD_CFLAGS += $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
2369 -+ TEMPLATE_VBOXGUESTR3XF86MOD_CXXFLAGS += $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_nopie)
2370 - endif
2371 - TEMPLATE_VBOXGUESTR3XF86MOD_SYSSUFF = .o
2372 - TEMPLATE_VBOXGUESTR3XF86MOD_LIBS = \
2373 -diff -Naur VirtualBox-5.1.24/src/VBox/Devices/PC/ipxe/Makefile.kmk VirtualBox-5.1.24/src/VBox/Devices/PC/ipxe/Makefile.kmk
2374 ---- VirtualBox-5.1.24/src/VBox/Devices/PC/ipxe/Makefile.kmk 2017-07-26 13:55:27.746972186 -0400
2375 -+++ VirtualBox-5.1.24/src/VBox/Devices/PC/ipxe/Makefile.kmk 2017-07-26 13:53:10.641974329 -0400
2376 -@@ -132,6 +132,7 @@
2377 - -W \
2378 - -Wformat-nonliteral \
2379 - $(VBOX_GCC_fno-stack-protector) \
2380 -+ $(VBOX_GCC_nopie) \
2381 - $(VBOX_GCC_fno-dwarf2-cfi-asm) \
2382 - $(VBOX_GCC_Wno-address)
2383 - TEMPLATE_iPxe_ASFLAGS = \
2384 -@@ -155,6 +156,7 @@
2385 - -W \
2386 - -Wformat-nonliteral \
2387 - $(VBOX_GCC_fno-stack-protector) \
2388 -+ $(VBOX_GCC_nopie) \
2389 - $(VBOX_GCC_fno-dwarf2-cfi-asm) \
2390 - $(VBOX_GCC_Wno-address) \
2391 - -DASSEMBLY
2392
2393 diff --git a/app-emulation/virtualbox/files/virtualbox-5.1.4-paxmark-bldprogs.patch b/app-emulation/virtualbox/files/virtualbox-5.1.4-paxmark-bldprogs.patch
2394 deleted file mode 100644
2395 index 50fa306d176..00000000000
2396 --- a/app-emulation/virtualbox/files/virtualbox-5.1.4-paxmark-bldprogs.patch
2397 +++ /dev/null
2398 @@ -1,59 +0,0 @@
2399 -2017-02-20 Quentin Minster <quentin@×××××××.io>
2400 -
2401 - #https://bugs.gentoo.org/show_bug.cgi?id=591582
2402 - * Config.kmk: add paxmark befor VBOX_VBOXTPG get run.
2403 - * src/VBox/VMM/Makefile.kmk: add paxmark befor VBOX_VBOXCPP get run.
2404 - * src/VBox/Main/Makefile.kmk: add paxmark befor USBIdDatabaseGenerator_1_TARGET get run.
2405 -
2406 ---- a/Config.kmk
2407 -+++ b/Config.kmk 2016-09-21 02:22:28
2408 -@@ -3719,11 +3719,13 @@
2409 - $(if-expr $(intersects $(KBUILD_TARGET_ARCH),$(KBUILD_ARCHES_64)),-64,-32) \
2410 - -h --host-$(VBOX_HC_ARCH_BITS)-bit #-vvv
2411 - define TOOL_VBoxTpG_DTRACE_HDR_CMDS
2412 -+ $(QUIET)paxmark.sh -m "$(VBOX_VBOXTPG)"
2413 - $(QUIET)$(VBOX_VBOXTPG) $(flags) -o "$(out)" -s "$(source)"
2414 - endef
2415 - TOOL_VBoxTpG_DTRACE_OBJ_NOT_NEEDED :=
2416 - TOOL_VBoxTpG_DTRACE_OBJ_FLAGS := -G --host-$(VBOX_HC_ARCH_BITS)-bit #-vvv
2417 - define TOOL_VBoxTpG_DTRACE_OBJ_CMDS
2418 -+ $(QUIET)paxmark.sh -m "$(VBOX_VBOXTPG)"
2419 - $(QUIET)$(VBOX_VBOXTPG) \
2420 - $(if-expr $(intersects $(bld_trg_arch),$(KBUILD_ARCHES_64)),-64,-32) \
2421 - $(flags) \
2422 -@@ -3738,6 +3740,7 @@
2423 - TOOL_VBoxTpG-Disabled_DTRACE_DEPORD = $(VBOX_VBOXTPG)
2424 - TOOL_VBoxTpG-Disabled_DTRACE_HDR_FLAGS := -h
2425 - define TOOL_VBoxTpG-Disabled_DTRACE_HDR_CMDS
2426 -+ $(QUIET)paxmark.sh -m "$(VBOX_VBOXTPG)"
2427 - $(QUIET)$(VBOX_VBOXTPG) $(flags) -o "$(out)" -s "$(source)"
2428 - endef
2429 - TOOL_VBoxTpG-Disabled_DTRACE_OBJ_NOT_NEEDED := $(KBUILD_OSES)
2430 -@@ -3752,6 +3755,7 @@
2431 - TOOL_DTraceAndVBoxTpG_DTRACE_HDR_CMDS =
2432 - define TOOL_DTraceAndVBoxTpG_DTRACE_HDR_CMDS
2433 - $(TOOL_StandardDTrace_DTRACE_HDR_CMDS)
2434 -+ $(QUIET)paxmark.sh -m "$(VBOX_VBOXTPG)"
2435 - $(QUIET)$(VBOX_VBOXTPG) --generate-wrapper-header --host-$(VBOX_HC_ARCH_BITS)-bit --ring-3-context \
2436 - $(filter-out -C, $(filter-out -h,$(flags))) \
2437 - -o "$(out).tmp" -s "$(source)"
2438 ---- a/src/VBox/VMM/Makefile.kmk
2439 -+++ b/src/VBox/VMM/Makefile.kmk 2016-09-21 02:26:11
2440 -@@ -795,6 +795,7 @@
2441 - define def_vmm_lib_dtrace_preprocess
2442 - $$$$(VMMLibDTrace_0_OUTDIR)/$1: $2 $$(VBOX_VBOXCPP) | $$$$(dir $$$$@)
2443 - $$(QUIET)$$(call MSG_GENERATE,VMMLibDTrace,$$@,$$<)
2444 -+ $$(QUIET)paxmark.sh -m "$(VBOX_VBOXCPP)"
2445 - $$(QUIET)$(VBOX_VBOXCPP) -d \
2446 - -D VBOX_FOR_DTRACE_LIB \
2447 - -D VBOX_FOR_DTRACE_LIB_$(toupper $(KBUILD_TARGET_ARCH)) \
2448 ---- a/src/VBox/Main/Makefile.kmk
2449 -+++ b/src/VBox/Main/Makefile.kmk 2016-09-21 02:31:23
2450 -@@ -522,6 +522,7 @@
2451 - $$(VBoxSVC_0_OUTDIR)/USBIdDatabase.cpp: $$(USBIdDatabaseGenerator_1_TARGET) \
2452 - $(PATH_SUB_CURRENT)/src-server/usb.ids $(PATH_SUB_CURRENT)/src-server/custom.ids | $$(dir $$@)
2453 - $(call MSG_GENERATE,USBIdDatabase,$@,$<)
2454 -+ $(QUIET)paxmark.sh -m "$(USBIdDatabaseGenerator_1_TARGET)"
2455 - $(QUIET)$(USBIdDatabaseGenerator_1_TARGET) -o "$@" $(filter %.ids,$^)
2456 -
2457 - BLDPROGS += USBIdDatabaseGenerator
2458
2459 diff --git a/app-emulation/virtualbox/virtualbox-5.1.36.ebuild b/app-emulation/virtualbox/virtualbox-5.1.36.ebuild
2460 deleted file mode 100644
2461 index b16e1523f1a..00000000000
2462 --- a/app-emulation/virtualbox/virtualbox-5.1.36.ebuild
2463 +++ /dev/null
2464 @@ -1,470 +0,0 @@
2465 -# Copyright 1999-2018 Gentoo Foundation
2466 -# Distributed under the terms of the GNU General Public License v2
2467 -
2468 -EAPI=6
2469 -
2470 -PYTHON_COMPAT=( python2_7 )
2471 -inherit flag-o-matic gnome2-utils java-pkg-opt-2 linux-info pax-utils python-single-r1 tmpfiles toolchain-funcs udev xdg-utils
2472 -
2473 -MY_PV="${PV/beta/BETA}"
2474 -MY_PV="${MY_PV/rc/RC}"
2475 -MY_P=VirtualBox-${MY_PV}
2476 -
2477 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
2478 -HOMEPAGE="https://www.virtualbox.org/"
2479 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
2480 - https://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-5.1.32-patches-01.tar.xz"
2481 -
2482 -LICENSE="GPL-2"
2483 -SLOT="0"
2484 -KEYWORDS="amd64 x86"
2485 -IUSE="alsa debug doc headless java libressl lvm pam pax_kernel pulseaudio +opengl python +qt5 +sdk +udev vboxwebsrv vnc"
2486 -
2487 -RDEPEND="!app-emulation/virtualbox-bin
2488 - ~app-emulation/virtualbox-modules-${PV}
2489 - dev-libs/libIDL
2490 - >=dev-libs/libxslt-1.1.19
2491 - net-misc/curl
2492 - dev-libs/libxml2
2493 - media-libs/libpng:0=
2494 - media-libs/libvpx:0=
2495 - sys-libs/zlib
2496 - !headless? (
2497 - media-libs/libsdl:0[X,video]
2498 - x11-libs/libX11
2499 - x11-libs/libXcursor
2500 - x11-libs/libXext
2501 - x11-libs/libXmu
2502 - x11-libs/libXt
2503 - opengl? ( virtual/opengl media-libs/freeglut )
2504 - qt5? (
2505 - dev-qt/qtcore:5
2506 - dev-qt/qtgui:5
2507 - dev-qt/qtprintsupport:5
2508 - dev-qt/qtwidgets:5
2509 - dev-qt/qtx11extras:5
2510 - opengl? ( dev-qt/qtopengl:5 )
2511 - x11-libs/libXinerama
2512 - )
2513 - )
2514 - libressl? ( dev-libs/libressl:= )
2515 - !libressl? ( dev-libs/openssl:0= )
2516 - lvm? ( sys-fs/lvm2 )
2517 - udev? ( >=virtual/udev-171 )
2518 - vnc? ( >=net-libs/libvncserver-0.9.9 )"
2519 -DEPEND="${RDEPEND}
2520 - >=dev-util/kbuild-0.1.9998_pre20131130-r1
2521 - >=dev-lang/yasm-0.6.2
2522 - sys-devel/bin86
2523 - sys-libs/libcap
2524 - sys-power/iasl
2525 - virtual/pkgconfig
2526 - alsa? ( >=media-libs/alsa-lib-1.0.13 )
2527 - doc? (
2528 - app-text/docbook-sgml-dtd:4.4
2529 - dev-texlive/texlive-basic
2530 - dev-texlive/texlive-latex
2531 - dev-texlive/texlive-latexrecommended
2532 - dev-texlive/texlive-latexextra
2533 - dev-texlive/texlive-fontsrecommended
2534 - dev-texlive/texlive-fontsextra
2535 - )
2536 - !headless? ( x11-libs/libXinerama )
2537 - java? ( >=virtual/jdk-1.6 )
2538 - pam? ( sys-libs/pam )
2539 - pax_kernel? ( sys-apps/elfix )
2540 - pulseaudio? ( media-sound/pulseaudio )
2541 - qt5? ( dev-qt/linguist-tools:5 )
2542 - vboxwebsrv? ( net-libs/gsoap[-gnutls(-)] )
2543 - ${PYTHON_DEPS}"
2544 -RDEPEND="${RDEPEND}
2545 - java? ( >=virtual/jre-1.6 )"
2546 -
2547 -QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
2548 - usr/lib/virtualbox/VBoxSDL.so
2549 - usr/lib/virtualbox/VBoxSharedFolders.so
2550 - usr/lib/virtualbox/VBoxDD2.so
2551 - usr/lib/virtualbox/VBoxOGLrenderspu.so
2552 - usr/lib/virtualbox/VBoxPython.so
2553 - usr/lib/virtualbox/VBoxDD.so
2554 - usr/lib/virtualbox/VBoxDDU.so
2555 - usr/lib/virtualbox/VBoxREM64.so
2556 - usr/lib/virtualbox/VBoxSharedClipboard.so
2557 - usr/lib/virtualbox/VBoxHeadless.so
2558 - usr/lib/virtualbox/VBoxRT.so
2559 - usr/lib/virtualbox/VBoxREM.so
2560 - usr/lib/virtualbox/VBoxSettings.so
2561 - usr/lib/virtualbox/VBoxKeyboard.so
2562 - usr/lib/virtualbox/VBoxSharedCrOpenGL.so
2563 - usr/lib/virtualbox/VBoxVMM.so
2564 - usr/lib/virtualbox/VirtualBox.so
2565 - usr/lib/virtualbox/VBoxOGLhosterrorspu.so
2566 - usr/lib/virtualbox/components/VBoxC.so
2567 - usr/lib/virtualbox/components/VBoxSVCM.so
2568 - usr/lib/virtualbox/components/VBoxDDU.so
2569 - usr/lib/virtualbox/components/VBoxRT.so
2570 - usr/lib/virtualbox/components/VBoxREM.so
2571 - usr/lib/virtualbox/components/VBoxVMM.so
2572 - usr/lib/virtualbox/VBoxREM32.so
2573 - usr/lib/virtualbox/VBoxPython2_7.so
2574 - usr/lib/virtualbox/VBoxXPCOMC.so
2575 - usr/lib/virtualbox/VBoxOGLhostcrutil.so
2576 - usr/lib/virtualbox/VBoxNetDHCP.so
2577 - usr/lib/virtualbox/VBoxNetNAT.so"
2578 -
2579 -S="${WORKDIR}/${MY_P}"
2580 -
2581 -REQUIRED_USE="
2582 - java? ( sdk )
2583 - python? ( sdk )
2584 - vboxwebsrv? ( java )
2585 - ${PYTHON_REQUIRED_USE}
2586 -"
2587 -
2588 -pkg_setup() {
2589 - if ! use headless && ! use qt5 ; then
2590 - einfo "No USE=\"qt5\" selected, this build will not include any Qt frontend."
2591 - elif use headless && use qt5 ; then
2592 - einfo "You selected USE=\"headless qt5\", defaulting to"
2593 - einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
2594 - fi
2595 -
2596 - if ! use opengl ; then
2597 - einfo "No USE=\"opengl\" selected, this build will lack"
2598 - einfo "the OpenGL feature."
2599 - fi
2600 - if ! use python ; then
2601 - einfo "You have disabled the \"python\" USE flag. This will only"
2602 - einfo "disable the python bindings being installed."
2603 - fi
2604 - java-pkg-opt-2_pkg_setup
2605 - python-single-r1_pkg_setup
2606 -
2607 - tc-ld-disable-gold #bug 488176
2608 - tc-export CC CXX LD AR RANLIB
2609 - export HOST_CC="$(tc-getBUILD_CC)"
2610 -}
2611 -
2612 -src_prepare() {
2613 - # Remove shipped binaries (kBuild,yasm), see bug #232775
2614 - rm -r kBuild/bin tools || die
2615 -
2616 - # Replace pointless GCC version check with something less stupid.
2617 - # This is needed for the qt5 version check.
2618 - sed -e 's@^check_gcc$@cc_maj="$(gcc -dumpversion | cut -d. -f1)" ; cc_min="$(gcc -dumpversion | cut -d. -f2)"@' \
2619 - -i configure || die
2620 -
2621 - # Don't use "echo -n"
2622 - sed 's@ECHO_N="echo -n"@ECHO_N="printf"@' -i configure || die
2623 -
2624 - # Disable things unused or split into separate ebuilds
2625 - sed -e "s@MY_LIBDIR@$(get_libdir)@" \
2626 - "${FILESDIR}"/${PN}-5-localconfig > LocalConfig.kmk || die
2627 -
2628 - # Respect LDFLAGS
2629 - sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
2630 - -i Config.kmk src/libs/xpcom18a4/Config.kmk || die
2631 -
2632 - # Do not use hard-coded ld (related to bug #488176)
2633 - sed -e '/QUIET)ld /s@ld @$(LD) @' \
2634 - -i src/VBox/Devices/PC/ipxe/Makefile.kmk || die
2635 -
2636 - # Use PAM only when pam USE flag is enbaled (bug #376531)
2637 - if ! use pam ; then
2638 - elog "Disabling PAM removes the possibility to use the VRDP features."
2639 - sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die
2640 - sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \
2641 - src/VBox/HostServices/Makefile.kmk || die
2642 - fi
2643 -
2644 - # add correct java path
2645 - if use java ; then
2646 - sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \
2647 - -i "${S}"/Config.kmk || die
2648 - java-pkg-opt-2_src_prepare
2649 - fi
2650 -
2651 - # Only add nopie patch when we're on hardened
2652 - if gcc-specs-pie ; then
2653 - eapply "${FILESDIR}/050_virtualbox-5.1.24-nopie.patch"
2654 - fi
2655 -
2656 - # Only add paxmark patch when we're on pax_kernel
2657 - if use pax_kernel ; then
2658 - eapply "${FILESDIR}"/virtualbox-5.1.4-paxmark-bldprogs.patch
2659 - fi
2660 -
2661 - eapply "${WORKDIR}/patches"
2662 -
2663 - eapply_user
2664 -}
2665 -
2666 -src_configure() {
2667 - local myconf=(
2668 - --with-gcc="$(tc-getCC)"
2669 - --with-g++="$(tc-getCXX)"
2670 - --disable-dbus
2671 - --disable-kmods
2672 - $(usex alsa '' --disable-alsa)
2673 - $(usex debug --build-debug '')
2674 - $(usex doc '' --disable-docs)
2675 - $(usex java '' --disable-java)
2676 - $(usex lvm '' --disable-devmapper)
2677 - $(usex pulseaudio '' --disable-pulse)
2678 - $(usex python '' --disable-python)
2679 - $(usex vboxwebsrv --enable-webservice '')
2680 - $(usex vnc --enable-vnc '')
2681 - )
2682 - if ! use headless ; then
2683 - myconf+=(
2684 - $(usex opengl '' --disable-opengl)
2685 - $(usex qt5 '' --disable-qt)
2686 - )
2687 - else
2688 - myconf+=(
2689 - --build-headless
2690 - --disable-opengl
2691 - )
2692 - fi
2693 - if use amd64 && ! has_multilib_profile ; then
2694 - myconf+=( --disable-vmmraw )
2695 - fi
2696 - # not an autoconf script
2697 - ./configure ${myconf[@]} || die "configure failed"
2698 -}
2699 -
2700 -src_compile() {
2701 - source ./env.sh || die
2702 -
2703 - # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
2704 - MAKEJOBS=$(grep -Eo '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
2705 - MAKELOAD=$(grep -Eo '(\-l|\-\-load-average)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
2706 - MAKEOPTS="${MAKEJOBS} ${MAKELOAD}"
2707 - MAKE="kmk" emake \
2708 - VBOX_BUILD_PUBLISHER=_Gentoo \
2709 - TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
2710 - TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
2711 - TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
2712 - TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
2713 - VBOX_GCC_OPT="${CXXFLAGS}" \
2714 - TOOL_YASM_AS=yasm KBUILD_VERBOSE=2 \
2715 - all
2716 -}
2717 -
2718 -src_install() {
2719 - local binpath="release"
2720 - use debug && binpath="debug"
2721 - cd "${S}"/out/linux.${ARCH}/${binpath}/bin || die
2722 -
2723 - local vbox_inst_path="/usr/$(get_libdir)/${PN}" each fwfile size ico icofile
2724 -
2725 - vbox_inst() {
2726 - local binary="${1}"
2727 - local perms="${2:-0750}"
2728 - local path="${3:-${vbox_inst_path}}"
2729 -
2730 - [[ -n "${binary}" ]] || die "vbox_inst: No binray given!"
2731 - [[ ${perms} =~ ^[[:digit:]]+{4}$ ]] || die "vbox_inst: perms must consist of four digits."
2732 -
2733 - insinto ${path}
2734 - doins ${binary}
2735 - fowners root:vboxusers ${path}/${binary}
2736 - fperms ${perms} ${path}/${binary}
2737 - }
2738 -
2739 - # Create configuration files
2740 - insinto /etc/vbox
2741 - newins "${FILESDIR}/${PN}-4-config" vbox.cfg
2742 -
2743 - # Set the correct libdir
2744 - sed \
2745 - -e "s@MY_LIBDIR@$(get_libdir)@" \
2746 - -i "${D}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
2747 -
2748 - # Install the wrapper script
2749 - exeinto ${vbox_inst_path}
2750 - newexe "${FILESDIR}/${PN}-ose-5-wrapper" "VBox"
2751 - fowners root:vboxusers ${vbox_inst_path}/VBox
2752 - fperms 0750 ${vbox_inst_path}/VBox
2753 -
2754 - # Install binaries and libraries
2755 - insinto ${vbox_inst_path}
2756 - doins -r components
2757 -
2758 - # *.rc files for x86_64 are only available on multilib systems
2759 - local rcfiles="*.rc"
2760 - if use amd64 && ! has_multilib_profile ; then
2761 - rcfiles=""
2762 - fi
2763 - for each in VBox{ExtPackHelperApp,Manage,SVC,Tunctl,XPCOMIPCD} *so *r0 ${rcfiles} ; do
2764 - vbox_inst ${each}
2765 - done
2766 -
2767 - # These binaries need to be suid root.
2768 - for each in VBox{Headless,Net{AdpCtl,DHCP,NAT}} ; do
2769 - vbox_inst ${each} 4750
2770 - done
2771 -
2772 - # Install EFI Firmware files (bug #320757)
2773 - pushd "${S}"/src/VBox/Devices/EFI/FirmwareBin &>/dev/null || die
2774 - for fwfile in VBoxEFI{32,64}.fd ; do
2775 - vbox_inst ${fwfile} 0644
2776 - done
2777 - popd &>/dev/null || die
2778 -
2779 - # VBoxSVC and VBoxManage need to be pax-marked (bug #403453)
2780 - # VBoxXPCOMIPCD (bug #524202)
2781 - for each in VBox{Headless,Manage,SVC,XPCOMIPCD} ; do
2782 - pax-mark -m "${D}"${vbox_inst_path}/${each}
2783 - done
2784 -
2785 - # Symlink binaries to the shipped wrapper
2786 - for each in vbox{headless,manage} VBox{Headless,Manage,VRDP} ; do
2787 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
2788 - done
2789 - dosym ${vbox_inst_path}/VBoxTunctl /usr/bin/VBoxTunctl
2790 -
2791 - if use pam ; then
2792 - # VRDPAuth only works with this (bug #351949)
2793 - dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so
2794 - fi
2795 -
2796 - # set an env-variable for 3rd party tools
2797 - echo -n "VBOX_APP_HOME=${vbox_inst_path}" > "${T}/90virtualbox"
2798 - doenvd "${T}/90virtualbox"
2799 -
2800 - if ! use headless ; then
2801 - vbox_inst VBoxSDL 4750
2802 - pax-mark -m "${D}"${vbox_inst_path}/VBoxSDL
2803 -
2804 - for each in vboxsdl VBoxSDL ; do
2805 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
2806 - done
2807 -
2808 - if use qt5 ; then
2809 - vbox_inst VirtualBox 4750
2810 - pax-mark -m "${D}"${vbox_inst_path}/VirtualBox
2811 -
2812 - if use opengl ; then
2813 - vbox_inst VBoxTestOGL
2814 - pax-mark -m "${D}"${vbox_inst_path}/VBoxTestOGL
2815 - fi
2816 -
2817 - for each in virtualbox VirtualBox ; do
2818 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
2819 - done
2820 -
2821 - insinto /usr/share/${PN}
2822 - doins -r nls
2823 -
2824 - newmenu "${FILESDIR}"/${PN}-ose.desktop-2 ${PN}.desktop
2825 - fi
2826 -
2827 - pushd "${S}"/src/VBox/Artwork/OSE &>/dev/null || die
2828 - for size in 16 32 48 64 128 ; do
2829 - newicon -s ${size} ${PN}-${size}px.png ${PN}.png
2830 - done
2831 - newicon ${PN}-48px.png ${PN}.png
2832 - doicon -s scalable ${PN}.svg
2833 - popd &>/dev/null || die
2834 - pushd "${S}"/src/VBox/Artwork/other &>/dev/null || die
2835 - for size in 16 24 32 48 64 72 96 128 256 512 ; do
2836 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
2837 - icofile="${PN}-${ico}-${size}px.png"
2838 - if [[ -f "${icofile}" ]] ; then
2839 - newicon -s ${size} ${icofile} ${PN}-${ico}.png
2840 - fi
2841 - done
2842 - done
2843 - popd &>/dev/null || die
2844 - fi
2845 -
2846 - if use lvm ; then
2847 - vbox_inst VBoxVolInfo 4750
2848 - dosym ${vbox_inst_path}/VBoxVolInfo /usr/bin/VBoxVolInfo
2849 - fi
2850 -
2851 - if use sdk ; then
2852 - insinto ${vbox_inst_path}
2853 - doins -r sdk
2854 -
2855 - if use java ; then
2856 - java-pkg_regjar "${D}${vbox_inst_path}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
2857 - java-pkg_regso "${D}${vbox_inst_path}/libvboxjxpcom.so"
2858 - fi
2859 - fi
2860 -
2861 - if use udev ; then
2862 - # New way of handling USB device nodes for VBox (bug #356215)
2863 - local udevdir="$(get_udevdir)"
2864 - insinto ${udevdir}
2865 - doins VBoxCreateUSBNode.sh
2866 - fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
2867 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
2868 - insinto ${udevdir}/rules.d
2869 - sed "s@%UDEVDIR%@${udevdir}@" "${FILESDIR}"/10-virtualbox.rules \
2870 - > "${T}"/10-virtualbox.rules || die
2871 - doins "${T}"/10-virtualbox.rules
2872 - fi
2873 -
2874 - if use vboxwebsrv ; then
2875 - vbox_inst vboxwebsrv
2876 - dosym ${vbox_inst_path}/VBox /usr/bin/vboxwebsrv
2877 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
2878 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
2879 - fi
2880 -
2881 - if use doc ; then
2882 - dodoc UserManual.pdf
2883 - fi
2884 -
2885 - newtmpfiles "${FILESDIR}"/${PN}-vboxusb_tmpfilesd ${PN}-vboxusb.conf
2886 -}
2887 -
2888 -pkg_postinst() {
2889 - gnome2_icon_cache_update
2890 - xdg_desktop_database_update
2891 -
2892 - if use udev ; then
2893 - udevadm control --reload-rules \
2894 - && udevadm trigger --subsystem-match=usb
2895 - fi
2896 -
2897 - tmpfiles_process /usr/lib/tmpfiles.d/virtualbox-vboxusb.conf
2898 -
2899 - if ! use headless && use qt5 ; then
2900 - elog "To launch VirtualBox just type: \"virtualbox\"."
2901 - fi
2902 - elog "You must be in the vboxusers group to use VirtualBox."
2903 - elog ""
2904 - elog "The latest user manual is available for download at:"
2905 - elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
2906 - elog ""
2907 - elog "For advanced networking setups you should emerge:"
2908 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
2909 - elog ""
2910 - elog "Starting with version 4.0.0, ${PN} has USB-1 support."
2911 - elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
2912 - elog " app-emulation/virtualbox-extpack-oracle"
2913 - elog "package."
2914 - elog "Starting with version 5.0.0, ${PN} no longer has the \"additions\" and"
2915 - elog "the \"extension\" USE flag. For installation of the guest additions ISO"
2916 - elog "image, please emerge"
2917 - elog " app-emulation/virtualbox-additions"
2918 - elog "and for the USB2, USB3, VRDP and PXE boot ROM modules, please emerge"
2919 - elog " app-emulation/virtualbox-extpack-oracle"
2920 - if ! use udev ; then
2921 - elog ""
2922 - elog "WARNING!"
2923 - elog "Without USE=udev, USB devices will likely not work in ${PN}."
2924 - elif [ -e "${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
2925 - elog ""
2926 - elog "Please remove \"${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules\""
2927 - elog "or else USB in ${PN} won't work."
2928 - fi
2929 -}
2930 -
2931 -pkg_postrm() {
2932 - gnome2_icon_cache_update
2933 - xdg_desktop_database_update
2934 -}
2935
2936 diff --git a/app-emulation/virtualbox/virtualbox-5.1.38.ebuild b/app-emulation/virtualbox/virtualbox-5.1.38.ebuild
2937 deleted file mode 100644
2938 index 82fd4f21ebc..00000000000
2939 --- a/app-emulation/virtualbox/virtualbox-5.1.38.ebuild
2940 +++ /dev/null
2941 @@ -1,470 +0,0 @@
2942 -# Copyright 1999-2018 Gentoo Foundation
2943 -# Distributed under the terms of the GNU General Public License v2
2944 -
2945 -EAPI=6
2946 -
2947 -PYTHON_COMPAT=( python2_7 )
2948 -inherit flag-o-matic gnome2-utils java-pkg-opt-2 linux-info pax-utils python-single-r1 tmpfiles toolchain-funcs udev xdg-utils
2949 -
2950 -MY_PV="${PV/beta/BETA}"
2951 -MY_PV="${MY_PV/rc/RC}"
2952 -MY_P=VirtualBox-${MY_PV}
2953 -
2954 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
2955 -HOMEPAGE="https://www.virtualbox.org/"
2956 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
2957 - https://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-5.1.32-patches-01.tar.xz"
2958 -
2959 -LICENSE="GPL-2"
2960 -SLOT="0"
2961 -KEYWORDS="~amd64 ~x86"
2962 -IUSE="alsa debug doc headless java libressl lvm pam pax_kernel pulseaudio +opengl python +qt5 +sdk +udev vboxwebsrv vnc"
2963 -
2964 -RDEPEND="!app-emulation/virtualbox-bin
2965 - ~app-emulation/virtualbox-modules-${PV}
2966 - dev-libs/libIDL
2967 - >=dev-libs/libxslt-1.1.19
2968 - net-misc/curl
2969 - dev-libs/libxml2
2970 - media-libs/libpng:0=
2971 - media-libs/libvpx:0=
2972 - sys-libs/zlib
2973 - !headless? (
2974 - media-libs/libsdl:0[X,video]
2975 - x11-libs/libX11
2976 - x11-libs/libXcursor
2977 - x11-libs/libXext
2978 - x11-libs/libXmu
2979 - x11-libs/libXt
2980 - opengl? ( virtual/opengl media-libs/freeglut )
2981 - qt5? (
2982 - dev-qt/qtcore:5
2983 - dev-qt/qtgui:5
2984 - dev-qt/qtprintsupport:5
2985 - dev-qt/qtwidgets:5
2986 - dev-qt/qtx11extras:5
2987 - opengl? ( dev-qt/qtopengl:5 )
2988 - x11-libs/libXinerama
2989 - )
2990 - )
2991 - libressl? ( dev-libs/libressl:= )
2992 - !libressl? ( dev-libs/openssl:0= )
2993 - lvm? ( sys-fs/lvm2 )
2994 - udev? ( >=virtual/udev-171 )
2995 - vnc? ( >=net-libs/libvncserver-0.9.9 )"
2996 -DEPEND="${RDEPEND}
2997 - >=dev-util/kbuild-0.1.9998_pre20131130-r1
2998 - >=dev-lang/yasm-0.6.2
2999 - sys-devel/bin86
3000 - sys-libs/libcap
3001 - sys-power/iasl
3002 - virtual/pkgconfig
3003 - alsa? ( >=media-libs/alsa-lib-1.0.13 )
3004 - doc? (
3005 - app-text/docbook-sgml-dtd:4.4
3006 - dev-texlive/texlive-basic
3007 - dev-texlive/texlive-latex
3008 - dev-texlive/texlive-latexrecommended
3009 - dev-texlive/texlive-latexextra
3010 - dev-texlive/texlive-fontsrecommended
3011 - dev-texlive/texlive-fontsextra
3012 - )
3013 - !headless? ( x11-libs/libXinerama )
3014 - java? ( >=virtual/jdk-1.6 )
3015 - pam? ( sys-libs/pam )
3016 - pax_kernel? ( sys-apps/elfix )
3017 - pulseaudio? ( media-sound/pulseaudio )
3018 - qt5? ( dev-qt/linguist-tools:5 )
3019 - vboxwebsrv? ( net-libs/gsoap[-gnutls(-)] )
3020 - ${PYTHON_DEPS}"
3021 -RDEPEND="${RDEPEND}
3022 - java? ( >=virtual/jre-1.6 )"
3023 -
3024 -QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
3025 - usr/lib/virtualbox/VBoxSDL.so
3026 - usr/lib/virtualbox/VBoxSharedFolders.so
3027 - usr/lib/virtualbox/VBoxDD2.so
3028 - usr/lib/virtualbox/VBoxOGLrenderspu.so
3029 - usr/lib/virtualbox/VBoxPython.so
3030 - usr/lib/virtualbox/VBoxDD.so
3031 - usr/lib/virtualbox/VBoxDDU.so
3032 - usr/lib/virtualbox/VBoxREM64.so
3033 - usr/lib/virtualbox/VBoxSharedClipboard.so
3034 - usr/lib/virtualbox/VBoxHeadless.so
3035 - usr/lib/virtualbox/VBoxRT.so
3036 - usr/lib/virtualbox/VBoxREM.so
3037 - usr/lib/virtualbox/VBoxSettings.so
3038 - usr/lib/virtualbox/VBoxKeyboard.so
3039 - usr/lib/virtualbox/VBoxSharedCrOpenGL.so
3040 - usr/lib/virtualbox/VBoxVMM.so
3041 - usr/lib/virtualbox/VirtualBox.so
3042 - usr/lib/virtualbox/VBoxOGLhosterrorspu.so
3043 - usr/lib/virtualbox/components/VBoxC.so
3044 - usr/lib/virtualbox/components/VBoxSVCM.so
3045 - usr/lib/virtualbox/components/VBoxDDU.so
3046 - usr/lib/virtualbox/components/VBoxRT.so
3047 - usr/lib/virtualbox/components/VBoxREM.so
3048 - usr/lib/virtualbox/components/VBoxVMM.so
3049 - usr/lib/virtualbox/VBoxREM32.so
3050 - usr/lib/virtualbox/VBoxPython2_7.so
3051 - usr/lib/virtualbox/VBoxXPCOMC.so
3052 - usr/lib/virtualbox/VBoxOGLhostcrutil.so
3053 - usr/lib/virtualbox/VBoxNetDHCP.so
3054 - usr/lib/virtualbox/VBoxNetNAT.so"
3055 -
3056 -S="${WORKDIR}/${MY_P}"
3057 -
3058 -REQUIRED_USE="
3059 - java? ( sdk )
3060 - python? ( sdk )
3061 - vboxwebsrv? ( java )
3062 - ${PYTHON_REQUIRED_USE}
3063 -"
3064 -
3065 -pkg_setup() {
3066 - if ! use headless && ! use qt5 ; then
3067 - einfo "No USE=\"qt5\" selected, this build will not include any Qt frontend."
3068 - elif use headless && use qt5 ; then
3069 - einfo "You selected USE=\"headless qt5\", defaulting to"
3070 - einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
3071 - fi
3072 -
3073 - if ! use opengl ; then
3074 - einfo "No USE=\"opengl\" selected, this build will lack"
3075 - einfo "the OpenGL feature."
3076 - fi
3077 - if ! use python ; then
3078 - einfo "You have disabled the \"python\" USE flag. This will only"
3079 - einfo "disable the python bindings being installed."
3080 - fi
3081 - java-pkg-opt-2_pkg_setup
3082 - python-single-r1_pkg_setup
3083 -
3084 - tc-ld-disable-gold #bug 488176
3085 - tc-export CC CXX LD AR RANLIB
3086 - export HOST_CC="$(tc-getBUILD_CC)"
3087 -}
3088 -
3089 -src_prepare() {
3090 - # Remove shipped binaries (kBuild,yasm), see bug #232775
3091 - rm -r kBuild/bin tools || die
3092 -
3093 - # Replace pointless GCC version check with something less stupid.
3094 - # This is needed for the qt5 version check.
3095 - sed -e 's@^check_gcc$@cc_maj="$(gcc -dumpversion | cut -d. -f1)" ; cc_min="$(gcc -dumpversion | cut -d. -f2)"@' \
3096 - -i configure || die
3097 -
3098 - # Don't use "echo -n"
3099 - sed 's@ECHO_N="echo -n"@ECHO_N="printf"@' -i configure || die
3100 -
3101 - # Disable things unused or split into separate ebuilds
3102 - sed -e "s@MY_LIBDIR@$(get_libdir)@" \
3103 - "${FILESDIR}"/${PN}-5-localconfig > LocalConfig.kmk || die
3104 -
3105 - # Respect LDFLAGS
3106 - sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
3107 - -i Config.kmk src/libs/xpcom18a4/Config.kmk || die
3108 -
3109 - # Do not use hard-coded ld (related to bug #488176)
3110 - sed -e '/QUIET)ld /s@ld @$(LD) @' \
3111 - -i src/VBox/Devices/PC/ipxe/Makefile.kmk || die
3112 -
3113 - # Use PAM only when pam USE flag is enbaled (bug #376531)
3114 - if ! use pam ; then
3115 - elog "Disabling PAM removes the possibility to use the VRDP features."
3116 - sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die
3117 - sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \
3118 - src/VBox/HostServices/Makefile.kmk || die
3119 - fi
3120 -
3121 - # add correct java path
3122 - if use java ; then
3123 - sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \
3124 - -i "${S}"/Config.kmk || die
3125 - java-pkg-opt-2_src_prepare
3126 - fi
3127 -
3128 - # Only add nopie patch when we're on hardened
3129 - if gcc-specs-pie ; then
3130 - eapply "${FILESDIR}/050_virtualbox-5.1.24-nopie.patch"
3131 - fi
3132 -
3133 - # Only add paxmark patch when we're on pax_kernel
3134 - if use pax_kernel ; then
3135 - eapply "${FILESDIR}"/virtualbox-5.1.4-paxmark-bldprogs.patch
3136 - fi
3137 -
3138 - eapply "${WORKDIR}/patches"
3139 -
3140 - eapply_user
3141 -}
3142 -
3143 -src_configure() {
3144 - local myconf=(
3145 - --with-gcc="$(tc-getCC)"
3146 - --with-g++="$(tc-getCXX)"
3147 - --disable-dbus
3148 - --disable-kmods
3149 - $(usex alsa '' --disable-alsa)
3150 - $(usex debug --build-debug '')
3151 - $(usex doc '' --disable-docs)
3152 - $(usex java '' --disable-java)
3153 - $(usex lvm '' --disable-devmapper)
3154 - $(usex pulseaudio '' --disable-pulse)
3155 - $(usex python '' --disable-python)
3156 - $(usex vboxwebsrv --enable-webservice '')
3157 - $(usex vnc --enable-vnc '')
3158 - )
3159 - if ! use headless ; then
3160 - myconf+=(
3161 - $(usex opengl '' --disable-opengl)
3162 - $(usex qt5 '' --disable-qt)
3163 - )
3164 - else
3165 - myconf+=(
3166 - --build-headless
3167 - --disable-opengl
3168 - )
3169 - fi
3170 - if use amd64 && ! has_multilib_profile ; then
3171 - myconf+=( --disable-vmmraw )
3172 - fi
3173 - # not an autoconf script
3174 - ./configure ${myconf[@]} || die "configure failed"
3175 -}
3176 -
3177 -src_compile() {
3178 - source ./env.sh || die
3179 -
3180 - # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
3181 - MAKEJOBS=$(grep -Eo '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
3182 - MAKELOAD=$(grep -Eo '(\-l|\-\-load-average)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
3183 - MAKEOPTS="${MAKEJOBS} ${MAKELOAD}"
3184 - MAKE="kmk" emake \
3185 - VBOX_BUILD_PUBLISHER=_Gentoo \
3186 - TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
3187 - TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
3188 - TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
3189 - TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
3190 - VBOX_GCC_OPT="${CXXFLAGS}" \
3191 - TOOL_YASM_AS=yasm KBUILD_VERBOSE=2 \
3192 - all
3193 -}
3194 -
3195 -src_install() {
3196 - local binpath="release"
3197 - use debug && binpath="debug"
3198 - cd "${S}"/out/linux.${ARCH}/${binpath}/bin || die
3199 -
3200 - local vbox_inst_path="/usr/$(get_libdir)/${PN}" each fwfile size ico icofile
3201 -
3202 - vbox_inst() {
3203 - local binary="${1}"
3204 - local perms="${2:-0750}"
3205 - local path="${3:-${vbox_inst_path}}"
3206 -
3207 - [[ -n "${binary}" ]] || die "vbox_inst: No binray given!"
3208 - [[ ${perms} =~ ^[[:digit:]]+{4}$ ]] || die "vbox_inst: perms must consist of four digits."
3209 -
3210 - insinto ${path}
3211 - doins ${binary}
3212 - fowners root:vboxusers ${path}/${binary}
3213 - fperms ${perms} ${path}/${binary}
3214 - }
3215 -
3216 - # Create configuration files
3217 - insinto /etc/vbox
3218 - newins "${FILESDIR}/${PN}-4-config" vbox.cfg
3219 -
3220 - # Set the correct libdir
3221 - sed \
3222 - -e "s@MY_LIBDIR@$(get_libdir)@" \
3223 - -i "${D}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
3224 -
3225 - # Install the wrapper script
3226 - exeinto ${vbox_inst_path}
3227 - newexe "${FILESDIR}/${PN}-ose-5-wrapper" "VBox"
3228 - fowners root:vboxusers ${vbox_inst_path}/VBox
3229 - fperms 0750 ${vbox_inst_path}/VBox
3230 -
3231 - # Install binaries and libraries
3232 - insinto ${vbox_inst_path}
3233 - doins -r components
3234 -
3235 - # *.rc files for x86_64 are only available on multilib systems
3236 - local rcfiles="*.rc"
3237 - if use amd64 && ! has_multilib_profile ; then
3238 - rcfiles=""
3239 - fi
3240 - for each in VBox{ExtPackHelperApp,Manage,SVC,Tunctl,XPCOMIPCD} *so *r0 ${rcfiles} ; do
3241 - vbox_inst ${each}
3242 - done
3243 -
3244 - # These binaries need to be suid root.
3245 - for each in VBox{Headless,Net{AdpCtl,DHCP,NAT}} ; do
3246 - vbox_inst ${each} 4750
3247 - done
3248 -
3249 - # Install EFI Firmware files (bug #320757)
3250 - pushd "${S}"/src/VBox/Devices/EFI/FirmwareBin &>/dev/null || die
3251 - for fwfile in VBoxEFI{32,64}.fd ; do
3252 - vbox_inst ${fwfile} 0644
3253 - done
3254 - popd &>/dev/null || die
3255 -
3256 - # VBoxSVC and VBoxManage need to be pax-marked (bug #403453)
3257 - # VBoxXPCOMIPCD (bug #524202)
3258 - for each in VBox{Headless,Manage,SVC,XPCOMIPCD} ; do
3259 - pax-mark -m "${D}"${vbox_inst_path}/${each}
3260 - done
3261 -
3262 - # Symlink binaries to the shipped wrapper
3263 - for each in vbox{headless,manage} VBox{Headless,Manage,VRDP} ; do
3264 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
3265 - done
3266 - dosym ${vbox_inst_path}/VBoxTunctl /usr/bin/VBoxTunctl
3267 -
3268 - if use pam ; then
3269 - # VRDPAuth only works with this (bug #351949)
3270 - dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so
3271 - fi
3272 -
3273 - # set an env-variable for 3rd party tools
3274 - echo -n "VBOX_APP_HOME=${vbox_inst_path}" > "${T}/90virtualbox"
3275 - doenvd "${T}/90virtualbox"
3276 -
3277 - if ! use headless ; then
3278 - vbox_inst VBoxSDL 4750
3279 - pax-mark -m "${D}"${vbox_inst_path}/VBoxSDL
3280 -
3281 - for each in vboxsdl VBoxSDL ; do
3282 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
3283 - done
3284 -
3285 - if use qt5 ; then
3286 - vbox_inst VirtualBox 4750
3287 - pax-mark -m "${D}"${vbox_inst_path}/VirtualBox
3288 -
3289 - if use opengl ; then
3290 - vbox_inst VBoxTestOGL
3291 - pax-mark -m "${D}"${vbox_inst_path}/VBoxTestOGL
3292 - fi
3293 -
3294 - for each in virtualbox VirtualBox ; do
3295 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
3296 - done
3297 -
3298 - insinto /usr/share/${PN}
3299 - doins -r nls
3300 -
3301 - newmenu "${FILESDIR}"/${PN}-ose.desktop-2 ${PN}.desktop
3302 - fi
3303 -
3304 - pushd "${S}"/src/VBox/Artwork/OSE &>/dev/null || die
3305 - for size in 16 32 48 64 128 ; do
3306 - newicon -s ${size} ${PN}-${size}px.png ${PN}.png
3307 - done
3308 - newicon ${PN}-48px.png ${PN}.png
3309 - doicon -s scalable ${PN}.svg
3310 - popd &>/dev/null || die
3311 - pushd "${S}"/src/VBox/Artwork/other &>/dev/null || die
3312 - for size in 16 24 32 48 64 72 96 128 256 512 ; do
3313 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
3314 - icofile="${PN}-${ico}-${size}px.png"
3315 - if [[ -f "${icofile}" ]] ; then
3316 - newicon -s ${size} ${icofile} ${PN}-${ico}.png
3317 - fi
3318 - done
3319 - done
3320 - popd &>/dev/null || die
3321 - fi
3322 -
3323 - if use lvm ; then
3324 - vbox_inst VBoxVolInfo 4750
3325 - dosym ${vbox_inst_path}/VBoxVolInfo /usr/bin/VBoxVolInfo
3326 - fi
3327 -
3328 - if use sdk ; then
3329 - insinto ${vbox_inst_path}
3330 - doins -r sdk
3331 -
3332 - if use java ; then
3333 - java-pkg_regjar "${D}${vbox_inst_path}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
3334 - java-pkg_regso "${D}${vbox_inst_path}/libvboxjxpcom.so"
3335 - fi
3336 - fi
3337 -
3338 - if use udev ; then
3339 - # New way of handling USB device nodes for VBox (bug #356215)
3340 - local udevdir="$(get_udevdir)"
3341 - insinto ${udevdir}
3342 - doins VBoxCreateUSBNode.sh
3343 - fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
3344 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
3345 - insinto ${udevdir}/rules.d
3346 - sed "s@%UDEVDIR%@${udevdir}@" "${FILESDIR}"/10-virtualbox.rules \
3347 - > "${T}"/10-virtualbox.rules || die
3348 - doins "${T}"/10-virtualbox.rules
3349 - fi
3350 -
3351 - if use vboxwebsrv ; then
3352 - vbox_inst vboxwebsrv
3353 - dosym ${vbox_inst_path}/VBox /usr/bin/vboxwebsrv
3354 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
3355 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
3356 - fi
3357 -
3358 - if use doc ; then
3359 - dodoc UserManual.pdf
3360 - fi
3361 -
3362 - newtmpfiles "${FILESDIR}"/${PN}-vboxusb_tmpfilesd ${PN}-vboxusb.conf
3363 -}
3364 -
3365 -pkg_postinst() {
3366 - gnome2_icon_cache_update
3367 - xdg_desktop_database_update
3368 -
3369 - if use udev ; then
3370 - udevadm control --reload-rules \
3371 - && udevadm trigger --subsystem-match=usb
3372 - fi
3373 -
3374 - tmpfiles_process /usr/lib/tmpfiles.d/virtualbox-vboxusb.conf
3375 -
3376 - if ! use headless && use qt5 ; then
3377 - elog "To launch VirtualBox just type: \"virtualbox\"."
3378 - fi
3379 - elog "You must be in the vboxusers group to use VirtualBox."
3380 - elog ""
3381 - elog "The latest user manual is available for download at:"
3382 - elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
3383 - elog ""
3384 - elog "For advanced networking setups you should emerge:"
3385 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
3386 - elog ""
3387 - elog "Starting with version 4.0.0, ${PN} has USB-1 support."
3388 - elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
3389 - elog " app-emulation/virtualbox-extpack-oracle"
3390 - elog "package."
3391 - elog "Starting with version 5.0.0, ${PN} no longer has the \"additions\" and"
3392 - elog "the \"extension\" USE flag. For installation of the guest additions ISO"
3393 - elog "image, please emerge"
3394 - elog " app-emulation/virtualbox-additions"
3395 - elog "and for the USB2, USB3, VRDP and PXE boot ROM modules, please emerge"
3396 - elog " app-emulation/virtualbox-extpack-oracle"
3397 - if ! use udev ; then
3398 - elog ""
3399 - elog "WARNING!"
3400 - elog "Without USE=udev, USB devices will likely not work in ${PN}."
3401 - elif [ -e "${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
3402 - elog ""
3403 - elog "Please remove \"${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules\""
3404 - elog "or else USB in ${PN} won't work."
3405 - fi
3406 -}
3407 -
3408 -pkg_postrm() {
3409 - gnome2_icon_cache_update
3410 - xdg_desktop_database_update
3411 -}
3412
3413 diff --git a/app-emulation/virtualbox/virtualbox-5.2.16.ebuild b/app-emulation/virtualbox/virtualbox-5.2.16.ebuild
3414 deleted file mode 100644
3415 index cacca024750..00000000000
3416 --- a/app-emulation/virtualbox/virtualbox-5.2.16.ebuild
3417 +++ /dev/null
3418 @@ -1,473 +0,0 @@
3419 -# Copyright 1999-2018 Gentoo Foundation
3420 -# Distributed under the terms of the GNU General Public License v2
3421 -
3422 -EAPI=6
3423 -
3424 -PYTHON_COMPAT=( python2_7 )
3425 -inherit flag-o-matic gnome2-utils java-pkg-opt-2 linux-info pax-utils python-single-r1 tmpfiles toolchain-funcs udev xdg-utils
3426 -
3427 -MY_PV="${PV/beta/BETA}"
3428 -MY_PV="${MY_PV/rc/RC}"
3429 -MY_P=VirtualBox-${MY_PV}
3430 -
3431 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
3432 -HOMEPAGE="https://www.virtualbox.org/"
3433 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
3434 - https://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-5.2.16-patches-02.tar.xz"
3435 -
3436 -LICENSE="GPL-2"
3437 -SLOT="0"
3438 -KEYWORDS="~amd64 ~x86"
3439 -IUSE="alsa debug doc headless java libressl lvm +opus pam pax_kernel pulseaudio +opengl python +qt5 +sdk +udev vboxwebsrv vnc"
3440 -
3441 -RDEPEND="!app-emulation/virtualbox-bin
3442 - ~app-emulation/virtualbox-modules-${PV}
3443 - dev-libs/libIDL
3444 - >=dev-libs/libxslt-1.1.19
3445 - net-misc/curl
3446 - dev-libs/libxml2
3447 - media-libs/libpng:0=
3448 - media-libs/libvpx:0=
3449 - sys-libs/zlib
3450 - !headless? (
3451 - media-libs/libsdl:0[X,video]
3452 - x11-libs/libX11
3453 - x11-libs/libXcursor
3454 - x11-libs/libXext
3455 - x11-libs/libXmu
3456 - x11-libs/libXt
3457 - opengl? ( virtual/opengl media-libs/freeglut )
3458 - qt5? (
3459 - dev-qt/qtcore:5
3460 - dev-qt/qtgui:5
3461 - dev-qt/qtprintsupport:5
3462 - dev-qt/qtwidgets:5
3463 - dev-qt/qtx11extras:5
3464 - opengl? ( dev-qt/qtopengl:5 )
3465 - x11-libs/libXinerama
3466 - )
3467 - )
3468 - libressl? ( dev-libs/libressl:= )
3469 - !libressl? ( dev-libs/openssl:0= )
3470 - lvm? ( sys-fs/lvm2 )
3471 - opus? ( media-libs/opus )
3472 - udev? ( >=virtual/udev-171 )
3473 - vnc? ( >=net-libs/libvncserver-0.9.9 )"
3474 -DEPEND="${RDEPEND}
3475 - >=dev-util/kbuild-0.1.9998.3127
3476 - >=dev-lang/yasm-0.6.2
3477 - sys-devel/bin86
3478 - sys-libs/libcap
3479 - sys-power/iasl
3480 - virtual/pkgconfig
3481 - alsa? ( >=media-libs/alsa-lib-1.0.13 )
3482 - doc? (
3483 - app-text/docbook-sgml-dtd:4.4
3484 - dev-texlive/texlive-basic
3485 - dev-texlive/texlive-latex
3486 - dev-texlive/texlive-latexrecommended
3487 - dev-texlive/texlive-latexextra
3488 - dev-texlive/texlive-fontsrecommended
3489 - dev-texlive/texlive-fontsextra
3490 - )
3491 - !headless? ( x11-libs/libXinerama )
3492 - java? ( >=virtual/jdk-1.6 )
3493 - pam? ( sys-libs/pam )
3494 - pax_kernel? ( sys-apps/elfix )
3495 - pulseaudio? ( media-sound/pulseaudio )
3496 - qt5? ( dev-qt/linguist-tools:5 )
3497 - vboxwebsrv? ( net-libs/gsoap[-gnutls(-)] )
3498 - ${PYTHON_DEPS}"
3499 -RDEPEND="${RDEPEND}
3500 - java? ( >=virtual/jre-1.6 )"
3501 -
3502 -QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
3503 - usr/lib/virtualbox/VBoxSDL.so
3504 - usr/lib/virtualbox/VBoxSharedFolders.so
3505 - usr/lib/virtualbox/VBoxDD2.so
3506 - usr/lib/virtualbox/VBoxOGLrenderspu.so
3507 - usr/lib/virtualbox/VBoxPython.so
3508 - usr/lib/virtualbox/VBoxDD.so
3509 - usr/lib/virtualbox/VBoxDDU.so
3510 - usr/lib/virtualbox/VBoxREM64.so
3511 - usr/lib/virtualbox/VBoxSharedClipboard.so
3512 - usr/lib/virtualbox/VBoxHeadless.so
3513 - usr/lib/virtualbox/VBoxRT.so
3514 - usr/lib/virtualbox/VBoxREM.so
3515 - usr/lib/virtualbox/VBoxSettings.so
3516 - usr/lib/virtualbox/VBoxKeyboard.so
3517 - usr/lib/virtualbox/VBoxSharedCrOpenGL.so
3518 - usr/lib/virtualbox/VBoxVMM.so
3519 - usr/lib/virtualbox/VirtualBox.so
3520 - usr/lib/virtualbox/VBoxOGLhosterrorspu.so
3521 - usr/lib/virtualbox/components/VBoxC.so
3522 - usr/lib/virtualbox/components/VBoxSVCM.so
3523 - usr/lib/virtualbox/components/VBoxDDU.so
3524 - usr/lib/virtualbox/components/VBoxRT.so
3525 - usr/lib/virtualbox/components/VBoxREM.so
3526 - usr/lib/virtualbox/components/VBoxVMM.so
3527 - usr/lib/virtualbox/VBoxREM32.so
3528 - usr/lib/virtualbox/VBoxPython2_7.so
3529 - usr/lib/virtualbox/VBoxXPCOMC.so
3530 - usr/lib/virtualbox/VBoxOGLhostcrutil.so
3531 - usr/lib/virtualbox/VBoxNetDHCP.so
3532 - usr/lib/virtualbox/VBoxNetNAT.so"
3533 -
3534 -S="${WORKDIR}/${MY_P}"
3535 -
3536 -REQUIRED_USE="
3537 - java? ( sdk )
3538 - python? ( sdk )
3539 - vboxwebsrv? ( java )
3540 - ${PYTHON_REQUIRED_USE}
3541 -"
3542 -
3543 -pkg_setup() {
3544 - if ! use headless && ! use qt5 ; then
3545 - einfo "No USE=\"qt5\" selected, this build will not include any Qt frontend."
3546 - elif use headless && use qt5 ; then
3547 - einfo "You selected USE=\"headless qt5\", defaulting to"
3548 - einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
3549 - fi
3550 -
3551 - if ! use opengl ; then
3552 - einfo "No USE=\"opengl\" selected, this build will lack"
3553 - einfo "the OpenGL feature."
3554 - fi
3555 - if ! use python ; then
3556 - einfo "You have disabled the \"python\" USE flag. This will only"
3557 - einfo "disable the python bindings being installed."
3558 - fi
3559 - java-pkg-opt-2_pkg_setup
3560 - python-single-r1_pkg_setup
3561 -
3562 - tc-ld-disable-gold #bug 488176
3563 - tc-export CC CXX LD AR RANLIB
3564 - export HOST_CC="$(tc-getBUILD_CC)"
3565 -}
3566 -
3567 -src_prepare() {
3568 - # Remove shipped binaries (kBuild,yasm), see bug #232775
3569 - rm -r kBuild/bin tools || die
3570 -
3571 - # Replace pointless GCC version check with something less stupid.
3572 - # This is needed for the qt5 version check.
3573 - sed -e 's@^check_gcc$@cc_maj="$(gcc -dumpversion | cut -d. -f1)" ; cc_min="$(gcc -dumpversion | cut -d. -f2)"@' \
3574 - -i configure || die
3575 -
3576 - # Don't use "echo -n"
3577 - sed 's@ECHO_N="echo -n"@ECHO_N="printf"@' -i configure || die
3578 -
3579 - # Disable things unused or split into separate ebuilds
3580 - sed -e "s@MY_LIBDIR@$(get_libdir)@" \
3581 - "${FILESDIR}"/${PN}-5-localconfig > LocalConfig.kmk || die
3582 -
3583 - # Respect LDFLAGS
3584 - sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
3585 - -i Config.kmk src/libs/xpcom18a4/Config.kmk || die
3586 -
3587 - # Do not use hard-coded ld (related to bug #488176)
3588 - sed -e '/QUIET)ld /s@ld @$(LD) @' \
3589 - -i src/VBox/Devices/PC/ipxe/Makefile.kmk || die
3590 -
3591 - # Use PAM only when pam USE flag is enbaled (bug #376531)
3592 - if ! use pam ; then
3593 - elog "Disabling PAM removes the possibility to use the VRDP features."
3594 - sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die
3595 - sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \
3596 - src/VBox/HostServices/Makefile.kmk || die
3597 - fi
3598 -
3599 - # add correct java path
3600 - if use java ; then
3601 - sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \
3602 - -i "${S}"/Config.kmk || die
3603 - java-pkg-opt-2_src_prepare
3604 - fi
3605 -
3606 - # Only add nopie patch when we're on hardened
3607 - if gcc-specs-pie ; then
3608 - eapply "${FILESDIR}/050_virtualbox-5.2.8-nopie.patch"
3609 - fi
3610 -
3611 - # Only add paxmark patch when we're on pax_kernel
3612 - if use pax_kernel ; then
3613 - eapply "${FILESDIR}"/virtualbox-5.2.8-paxmark-bldprogs.patch
3614 - fi
3615 -
3616 - eapply "${WORKDIR}/patches"
3617 -
3618 - eapply_user
3619 -}
3620 -
3621 -src_configure() {
3622 - local myconf=(
3623 - --with-gcc="$(tc-getCC)"
3624 - --with-g++="$(tc-getCXX)"
3625 - --disable-dbus
3626 - --disable-kmods
3627 - $(usex alsa '' --disable-alsa)
3628 - $(usex debug --build-debug '')
3629 - $(usex doc '' --disable-docs)
3630 - $(usex java '' --disable-java)
3631 - $(usex lvm '' --disable-devmapper)
3632 - $(usex opus --build-libopus '')
3633 - $(usex pulseaudio '' --disable-pulse)
3634 - $(usex python '' --disable-python)
3635 - $(usex vboxwebsrv --enable-webservice '')
3636 - $(usex vnc --enable-vnc '')
3637 - )
3638 - if ! use headless ; then
3639 - myconf+=(
3640 - $(usex opengl '' --disable-opengl)
3641 - $(usex qt5 '' --disable-qt)
3642 - )
3643 - else
3644 - myconf+=(
3645 - --build-headless
3646 - --disable-opengl
3647 - )
3648 - fi
3649 - if use amd64 && ! has_multilib_profile ; then
3650 - myconf+=( --disable-vmmraw )
3651 - fi
3652 - # not an autoconf script
3653 - ./configure ${myconf[@]} || die "configure failed"
3654 -}
3655 -
3656 -src_compile() {
3657 - source ./env.sh || die
3658 -
3659 - # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
3660 - MAKEJOBS=$(grep -Eo '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
3661 - MAKELOAD=$(grep -Eo '(\-l|\-\-load-average)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
3662 - MAKEOPTS="${MAKEJOBS} ${MAKELOAD}"
3663 - MAKE="kmk" emake \
3664 - VBOX_BUILD_PUBLISHER=_Gentoo \
3665 - TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
3666 - TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
3667 - TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
3668 - TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
3669 - VBOX_GCC_OPT="${CXXFLAGS}" \
3670 - TOOL_YASM_AS=yasm KBUILD_VERBOSE=2 \
3671 - all
3672 -}
3673 -
3674 -src_install() {
3675 - local binpath="release"
3676 - use debug && binpath="debug"
3677 - cd "${S}"/out/linux.${ARCH}/${binpath}/bin || die
3678 -
3679 - local vbox_inst_path="/usr/$(get_libdir)/${PN}" each fwfile size ico icofile
3680 -
3681 - vbox_inst() {
3682 - local binary="${1}"
3683 - local perms="${2:-0750}"
3684 - local path="${3:-${vbox_inst_path}}"
3685 -
3686 - [[ -n "${binary}" ]] || die "vbox_inst: No binray given!"
3687 - [[ ${perms} =~ ^[[:digit:]]+{4}$ ]] || die "vbox_inst: perms must consist of four digits."
3688 -
3689 - insinto ${path}
3690 - doins ${binary}
3691 - fowners root:vboxusers ${path}/${binary}
3692 - fperms ${perms} ${path}/${binary}
3693 - }
3694 -
3695 - # Create configuration files
3696 - insinto /etc/vbox
3697 - newins "${FILESDIR}/${PN}-4-config" vbox.cfg
3698 -
3699 - # Set the correct libdir
3700 - sed \
3701 - -e "s@MY_LIBDIR@$(get_libdir)@" \
3702 - -i "${ED%/}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
3703 -
3704 - # Install the wrapper script
3705 - exeinto ${vbox_inst_path}
3706 - newexe "${FILESDIR}/${PN}-ose-5-wrapper" "VBox"
3707 - fowners root:vboxusers ${vbox_inst_path}/VBox
3708 - fperms 0750 ${vbox_inst_path}/VBox
3709 -
3710 - # Install binaries and libraries
3711 - insinto ${vbox_inst_path}
3712 - doins -r components
3713 -
3714 - # *.rc files for x86_64 are only available on multilib systems
3715 - local rcfiles="*.rc"
3716 - if use amd64 && ! has_multilib_profile ; then
3717 - rcfiles=""
3718 - fi
3719 - for each in VBox{ExtPackHelperApp,Manage,SVC,Tunctl,XPCOMIPCD} *so *r0 ${rcfiles} ; do
3720 - vbox_inst ${each}
3721 - done
3722 -
3723 - # These binaries need to be suid root.
3724 - for each in VBox{Headless,Net{AdpCtl,DHCP,NAT}} ; do
3725 - vbox_inst ${each} 4750
3726 - done
3727 -
3728 - # Install EFI Firmware files (bug #320757)
3729 - pushd "${S}"/src/VBox/Devices/EFI/FirmwareBin &>/dev/null || die
3730 - for fwfile in VBoxEFI{32,64}.fd ; do
3731 - vbox_inst ${fwfile} 0644
3732 - done
3733 - popd &>/dev/null || die
3734 -
3735 - # VBoxSVC and VBoxManage need to be pax-marked (bug #403453)
3736 - # VBoxXPCOMIPCD (bug #524202)
3737 - for each in VBox{Headless,Manage,SVC,XPCOMIPCD} ; do
3738 - pax-mark -m "${ED%/}"${vbox_inst_path}/${each}
3739 - done
3740 -
3741 - # Symlink binaries to the shipped wrapper
3742 - for each in vbox{headless,manage} VBox{Headless,Manage,VRDP} ; do
3743 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
3744 - done
3745 - dosym ${vbox_inst_path}/VBoxTunctl /usr/bin/VBoxTunctl
3746 -
3747 - if use pam ; then
3748 - # VRDPAuth only works with this (bug #351949)
3749 - dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so
3750 - fi
3751 -
3752 - # set an env-variable for 3rd party tools
3753 - echo -n "VBOX_APP_HOME=${vbox_inst_path}" > "${T}/90virtualbox"
3754 - doenvd "${T}/90virtualbox"
3755 -
3756 - if ! use headless ; then
3757 - vbox_inst VBoxSDL 4750
3758 - pax-mark -m "${ED%/}"${vbox_inst_path}/VBoxSDL
3759 -
3760 - for each in vboxsdl VBoxSDL ; do
3761 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
3762 - done
3763 -
3764 - if use qt5 ; then
3765 - vbox_inst VirtualBox 4750
3766 - pax-mark -m "${ED%/}"${vbox_inst_path}/VirtualBox
3767 -
3768 - if use opengl ; then
3769 - vbox_inst VBoxTestOGL
3770 - pax-mark -m "${ED%/}"${vbox_inst_path}/VBoxTestOGL
3771 - fi
3772 -
3773 - for each in virtualbox VirtualBox ; do
3774 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
3775 - done
3776 -
3777 - insinto /usr/share/${PN}
3778 - doins -r nls
3779 - doins -r UnattendedTemplates
3780 -
3781 - newmenu "${FILESDIR}"/${PN}-ose.desktop-2 ${PN}.desktop
3782 - fi
3783 -
3784 - pushd "${S}"/src/VBox/Artwork/OSE &>/dev/null || die
3785 - for size in 16 32 48 64 128 ; do
3786 - newicon -s ${size} ${PN}-${size}px.png ${PN}.png
3787 - done
3788 - newicon ${PN}-48px.png ${PN}.png
3789 - doicon -s scalable ${PN}.svg
3790 - popd &>/dev/null || die
3791 - pushd "${S}"/src/VBox/Artwork/other &>/dev/null || die
3792 - for size in 16 24 32 48 64 72 96 128 256 512 ; do
3793 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
3794 - icofile="${PN}-${ico}-${size}px.png"
3795 - if [[ -f "${icofile}" ]] ; then
3796 - newicon -s ${size} ${icofile} ${PN}-${ico}.png
3797 - fi
3798 - done
3799 - done
3800 - popd &>/dev/null || die
3801 - fi
3802 -
3803 - if use lvm ; then
3804 - vbox_inst VBoxVolInfo 4750
3805 - dosym ${vbox_inst_path}/VBoxVolInfo /usr/bin/VBoxVolInfo
3806 - fi
3807 -
3808 - if use sdk ; then
3809 - insinto ${vbox_inst_path}
3810 - doins -r sdk
3811 -
3812 - if use java ; then
3813 - java-pkg_regjar "${ED%/}/${vbox_inst_path}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
3814 - java-pkg_regso "${ED%/}/${vbox_inst_path}/libvboxjxpcom.so"
3815 - fi
3816 - fi
3817 -
3818 - if use udev ; then
3819 - # New way of handling USB device nodes for VBox (bug #356215)
3820 - local udevdir="$(get_udevdir)"
3821 - insinto ${udevdir}
3822 - doins VBoxCreateUSBNode.sh
3823 - fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
3824 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
3825 - insinto ${udevdir}/rules.d
3826 - sed "s@%UDEVDIR%@${udevdir}@" "${FILESDIR}"/10-virtualbox.rules \
3827 - > "${T}"/10-virtualbox.rules || die
3828 - doins "${T}"/10-virtualbox.rules
3829 - fi
3830 -
3831 - if use vboxwebsrv ; then
3832 - vbox_inst vboxwebsrv
3833 - dosym ${vbox_inst_path}/VBox /usr/bin/vboxwebsrv
3834 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
3835 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
3836 - fi
3837 -
3838 - if use doc ; then
3839 - dodoc UserManual.pdf
3840 - fi
3841 -
3842 - newtmpfiles "${FILESDIR}"/${PN}-vboxusb_tmpfilesd ${PN}-vboxusb.conf
3843 -}
3844 -
3845 -pkg_postinst() {
3846 - gnome2_icon_cache_update
3847 - xdg_desktop_database_update
3848 -
3849 - if use udev ; then
3850 - udevadm control --reload-rules \
3851 - && udevadm trigger --subsystem-match=usb
3852 - fi
3853 -
3854 - tmpfiles_process /usr/lib/tmpfiles.d/virtualbox-vboxusb.conf
3855 -
3856 - if ! use headless && use qt5 ; then
3857 - elog "To launch VirtualBox just type: \"virtualbox\"."
3858 - fi
3859 - elog "You must be in the vboxusers group to use VirtualBox."
3860 - elog ""
3861 - elog "The latest user manual is available for download at:"
3862 - elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
3863 - elog ""
3864 - elog "For advanced networking setups you should emerge:"
3865 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
3866 - elog ""
3867 - elog "Starting with version 4.0.0, ${PN} has USB-1 support."
3868 - elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
3869 - elog " app-emulation/virtualbox-extpack-oracle"
3870 - elog "package."
3871 - elog "Starting with version 5.0.0, ${PN} no longer has the \"additions\" and"
3872 - elog "the \"extension\" USE flag. For installation of the guest additions ISO"
3873 - elog "image, please emerge"
3874 - elog " app-emulation/virtualbox-additions"
3875 - elog "and for the USB2, USB3, VRDP and PXE boot ROM modules, please emerge"
3876 - elog " app-emulation/virtualbox-extpack-oracle"
3877 - if ! use udev ; then
3878 - elog ""
3879 - elog "WARNING!"
3880 - elog "Without USE=udev, USB devices will likely not work in ${PN}."
3881 - elif [ -e "${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
3882 - elog ""
3883 - elog "Please remove \"${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules\""
3884 - elog "or else USB in ${PN} won't work."
3885 - fi
3886 -}
3887 -
3888 -pkg_postrm() {
3889 - gnome2_icon_cache_update
3890 - xdg_desktop_database_update
3891 -}
3892
3893 diff --git a/x11-drivers/xf86-video-virtualbox/Manifest b/x11-drivers/xf86-video-virtualbox/Manifest
3894 deleted file mode 100644
3895 index eeb1c4494f2..00000000000
3896 --- a/x11-drivers/xf86-video-virtualbox/Manifest
3897 +++ /dev/null
3898 @@ -1,2 +0,0 @@
3899 -DIST VirtualBox-5.1.36.tar.bz2 117244376 BLAKE2B 141048f4fcbb3ce63d236a4127b4bce377e87876c23dc3ff6437b2c0cca5b468bc6a5737899b308bc1ff3252d4e61f7d053ff7574c33c85b56fdd986c31f2af3 SHA512 d1a9322c97c68cc9c21247c3df8ce2084911aded66a63adf5510f9e0f4558b1304dfe924a0c44243adc1ae8f7c45c47782e882baac1bfe995ea6c0a1370fcbd1
3900 -DIST VirtualBox-5.1.38.tar.bz2 117345233 BLAKE2B 15ed86a1f6730c781a0b4b055dcccfb56ff9c829c90dc4d2aa96cc2bb5bcfa8e442bdd471a7c70c5520bef994592e8f1a5b46831df4039efb5358c2e0ab83413 SHA512 6cf8536c24aa3a6e889214ef6133eb18fdbe1e7c371323cad07aa63b0e1f4414ba13d5fa7b63c12dfefe60e2e544488ced107571f678a06eb094a3e19b377ea8
3901
3902 diff --git a/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-2.2.0-enable-opengl.patch b/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-2.2.0-enable-opengl.patch
3903 deleted file mode 100644
3904 index b0779d42270..00000000000
3905 --- a/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-2.2.0-enable-opengl.patch
3906 +++ /dev/null
3907 @@ -1,13 +0,0 @@
3908 ---- a/configure
3909 -+++ b/configure
3910 -@@ -1955,8 +1955,8 @@
3911 - HEADLESS=1
3912 - WITH_SDL=0
3913 - WITH_SDL_TTF=0
3914 -- WITH_X11=0
3915 -- WITH_OPENGL=0
3916 -+ WITH_X11=1
3917 -+ WITH_OPENGL=1
3918 - WITH_QT4=0
3919 - ;;
3920 - --ose)
3921
3922 diff --git a/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5-localconfig b/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5-localconfig
3923 deleted file mode 100644
3924 index aee5ec1ea83..00000000000
3925 --- a/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5-localconfig
3926 +++ /dev/null
3927 @@ -1,30 +0,0 @@
3928 -# -*- Makefile -*-
3929 -#
3930 -# Overwrite some default kBuild settings
3931 -#
3932 -
3933 -#
3934 -# Copyright (C) 2006-2008 Sun Microsystems, Inc.
3935 -#
3936 -# This file is part of VirtualBox Open Source Edition (OSE), as
3937 -# available from http://www.virtualbox.org. This file is free software;
3938 -# you can redistribute it and/or modify it under the terms of the GNU
3939 -# General Public License as published by the Free Software Foundation,
3940 -# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
3941 -# distribution. VirtualBox OSE is distributed in the hope that it will
3942 -# be useful, but WITHOUT ANY WARRANTY of any kind.
3943 -#
3944 -
3945 -# don't build testcases to save time, they are not needed for the package
3946 -VBOX_WITH_TESTCASES :=
3947 -VBOX_WITH_VALIDATIONKIT :=
3948 -
3949 -KBUILD_MSG_STYLE := brief
3950 -
3951 -## paths, origin, hardening
3952 -VBOX_WITH_HARDENING := 2
3953 -VBOX_WITH_ORIGIN :=
3954 -VBOX_ONLY_ADDITIONS := 1
3955 -
3956 -TEMPLATE_VBOXGUESTR3XF86MOD_LDFLAGS.release =
3957 -TEMPLATE_VBOXGUESTR3XORGMOD_LDFLAGS = $(TEMPLATE_VBOXGUESTR3DLL_LDFLAGS)
3958
3959 diff --git a/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.0.0_beta3-configure_checks.patch b/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.0.0_beta3-configure_checks.patch
3960 deleted file mode 100644
3961 index 92f8a182e34..00000000000
3962 --- a/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.0.0_beta3-configure_checks.patch
3963 +++ /dev/null
3964 @@ -1,52 +0,0 @@
3965 ---- VirtualBox-5.0.0_BETA3/configure
3966 -+++ VirtualBox-5.0.0_BETA3/configure
3967 -@@ -1258,10 +1258,7 @@
3968 - XCloseDisplay(dpy);
3969 - }
3970 - EOF
3971 -- [ -n "$INCX11" ] && I_INCX11=`prefix_I "$INCX11"`
3972 -- if test_compile "$LIBX11 $I_INCX11" Xlibs Xlibs; then
3973 -- log_success "found"
3974 -- fi
3975 -+ test_compile "$LIBX11 $I_INCX11" Xlibs Xlibs
3976 - }
3977 -
3978 -
3979 -@@ -1415,21 +1412,6 @@
3980 - #include <GL/glu.h>
3981 - extern "C" int main(void)
3982 - {
3983 -- Display *dpy;
3984 -- int major, minor;
3985 --
3986 -- dpy = XOpenDisplay(NULL);
3987 -- if (dpy)
3988 -- {
3989 -- Bool glx_version = glXQueryVersion(dpy, &major, &minor);
3990 -- XCloseDisplay(dpy);
3991 -- if (glx_version)
3992 -- {
3993 -- printf("found version %u.%u, OK.\n", major, minor);
3994 -- return 0;
3995 -- }
3996 -- }
3997 -- printf("found (inactive), OK.\n");
3998 - return 0;
3999 - }
4000 - EOF
4001 -@@ -2706,7 +2688,6 @@
4002 - # don't check for yasm for the time beeing as 0.40 and 0.50 both have known bugs
4003 - # [ "$OS" != "darwin" ] && check_yasm
4004 - [ "$OS" != "darwin" ] && check_xsltproc
4005 -- [ "$OS" != "darwin" ] && check_mkisofs
4006 - fi
4007 -
4008 - # the libraries
4009 -@@ -2774,7 +2755,6 @@
4010 - check_compiler_h
4011 - [ $ONLY_ADDITIONS -eq 0 -a "$BUILD_MACHINE" = "amd64" -a $WITH_VMMRAW -eq 1 ] && check_32bit
4012 - # tools/common/makeself*
4013 -- [ $OSE -ge 1 ] && check_makeself
4014 - fi
4015 -
4016 - [ -n "$SETUP_WINE" ] && setup_wine
4017
4018 diff --git a/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.10-xorg119.patch b/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.10-xorg119.patch
4019 deleted file mode 100644
4020 index 26958fe8abb..00000000000
4021 --- a/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.10-xorg119.patch
4022 +++ /dev/null
4023 @@ -1,82 +0,0 @@
4024 -Fix from opensuse:
4025 -https://build.opensuse.org/package/view_file/Virtualization/virtualbox/Fix_for_server_1.19.patch
4026 -
4027 -https://bugs.gentoo.org/602784
4028 -
4029 -Index: VirtualBox-5.1.10/src/VBox/Additions/x11/vboxvideo/vboxvideo.h
4030 -===================================================================
4031 ---- VirtualBox-5.1.10.orig/src/VBox/Additions/x11/vboxvideo/vboxvideo.h
4032 -+++ VirtualBox-5.1.10/src/VBox/Additions/x11/vboxvideo/vboxvideo.h
4033 -@@ -52,6 +52,10 @@
4034 - #ifndef _VBOXVIDEO_H_
4035 - #define _VBOXVIDEO_H_
4036 -
4037 -+#if XORG_VERSION_CURRENT >= 11900000
4038 -+#include <bits/sigset.h>
4039 -+typedef __sigset_t sigset_t;
4040 -+#endif
4041 - #include <VBox/VBoxVideoGuest.h>
4042 - #include <VBox/VBoxVideo.h>
4043 - #include "version-generated.h"
4044 -Index: VirtualBox-5.1.10/src/VBox/Additions/x11/vboxvideo/helpers.c
4045 -===================================================================
4046 ---- VirtualBox-5.1.10.orig/src/VBox/Additions/x11/vboxvideo/helpers.c
4047 -+++ VirtualBox-5.1.10/src/VBox/Additions/x11/vboxvideo/helpers.c
4048 -@@ -82,7 +82,11 @@ void vbvxSetIntegerPropery(ScrnInfoPtr p
4049 -
4050 - property_name = MakeAtom(pszName, strlen(pszName), TRUE);
4051 - VBVXASSERT(property_name != BAD_RESOURCE, ("Failed to set atom \"%s\"\n", pszName));
4052 -+#if XORG_VERSION_CURRENT >= 11900000
4053 -+ dixChangeWindowProperty(serverClient, ROOT_WINDOW(pScrn), property_name, XA_INTEGER, 32, PropModeReplace, cData, paData, fSendEvent);
4054 -+#else
4055 - ChangeWindowProperty(ROOT_WINDOW(pScrn), property_name, XA_INTEGER, 32, PropModeReplace, cData, paData, fSendEvent);
4056 -+#endif
4057 - }
4058 -
4059 - void vbvxReprobeCursor(ScrnInfoPtr pScrn)
4060 -Index: VirtualBox-5.1.10/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
4061 -===================================================================
4062 ---- VirtualBox-5.1.10.orig/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
4063 -+++ VirtualBox-5.1.10/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
4064 -@@ -1229,7 +1229,11 @@ static Bool VBOXScreenInit(ScreenPtr pSc
4065 - updateGraphicsCapability(pScrn, TRUE);
4066 -
4067 - /* Register block and wake-up handlers for getting new screen size hints. */
4068 -+#if XORG_VERSION_CURRENT >= 11900000
4069 -+ RegisterBlockAndWakeupHandlers(vboxBlockHandler, (ServerWakeupHandlerProcPtr)NoopDDA, (pointer)pScrn);
4070 -+#else
4071 - RegisterBlockAndWakeupHandlers(vboxBlockHandler, (WakeupHandlerProcPtr)NoopDDA, (pointer)pScrn);
4072 -+#endif
4073 -
4074 - /* software cursor */
4075 - miDCInitialize(pScreen, xf86GetPointerScreenFuncs());
4076 -Index: VirtualBox-5.1.10/src/VBox/Additions/x11/vboxvideo/pointer.c
4077 -===================================================================
4078 ---- VirtualBox-5.1.10.orig/src/VBox/Additions/x11/vboxvideo/pointer.c
4079 -+++ VirtualBox-5.1.10/src/VBox/Additions/x11/vboxvideo/pointer.c
4080 -@@ -15,6 +15,10 @@
4081 - * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
4082 - */
4083 -
4084 -+#if XORG_VERSION_CURRENT >= 11900000
4085 -+#include <bits/sigset.h>
4086 -+typedef __sigset_t sigset_t;
4087 -+#endif
4088 - #include <VBox/VBoxGuestLib.h>
4089 -
4090 - #ifndef PCIACCESS
4091 -Index: VirtualBox-5.1.10/src/VBox/Additions/x11/vboxvideo/edid.c
4092 -===================================================================
4093 ---- VirtualBox-5.1.10.orig/src/VBox/Additions/x11/vboxvideo/edid.c
4094 -+++ VirtualBox-5.1.10/src/VBox/Additions/x11/vboxvideo/edid.c
4095 -@@ -44,6 +44,10 @@
4096 - * Dave Airlie <airlied@××××××.com>
4097 - */
4098 -
4099 -+#if XORG_VERSION_CURRENT >= 11900000
4100 -+#include <bits/sigset.h>
4101 -+typedef __sigset_t sigset_t;
4102 -+#endif
4103 - #include <misc.h>
4104 - #include <xf86DDC.h>
4105 - #include <xf86Crtc.h>
4106
4107 diff --git a/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.24-Makefile.module.kms.patch b/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.24-Makefile.module.kms.patch
4108 deleted file mode 100644
4109 index c5d3c3fc730..00000000000
4110 --- a/x11-drivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.1.24-Makefile.module.kms.patch
4111 +++ /dev/null
4112 @@ -1,13 +0,0 @@
4113 -Fix bug #625690
4114 -
4115 ---- a/src/VBox/Additions/linux/drm/Makefile.module.kms
4116 -+++ b/src/VBox/Additions/linux/drm/Makefile.module.kms
4117 -@@ -50,7 +50,7 @@ MOD_CFLAGS = -Wno-declaration-after-statement -fshort-wchar -fno-pie
4118 - ifneq ($(KERN_VERSION),24)
4119 - MOD_CFLAGS += -include $(MANGLING)
4120 - endif
4121 --MOD_INCL = $(addprefix -I$(KBUILD_EXTMOD),/ /include)
4122 -+MOD_INCL = $(addprefix -I$(KBUILD_EXTMOD),/ /include /r0drv/linux)
4123 - # What on earth is this?
4124 - MOD_INCL += $(addprefix -I$(KBUILD_EXTMOD)/vboxvideo,/ /include)
4125 - MOD_INCL += -Iinclude/drm
4126
4127 diff --git a/x11-drivers/xf86-video-virtualbox/metadata.xml b/x11-drivers/xf86-video-virtualbox/metadata.xml
4128 deleted file mode 100644
4129 index 8dafc466cde..00000000000
4130 --- a/x11-drivers/xf86-video-virtualbox/metadata.xml
4131 +++ /dev/null
4132 @@ -1,9 +0,0 @@
4133 -<?xml version="1.0" encoding="UTF-8"?>
4134 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
4135 -<pkgmetadata>
4136 - <maintainer type="person">
4137 - <email>polynomial-c@g.o</email>
4138 - <name>Lars Wendler</name>
4139 - </maintainer>
4140 - </pkgmetadata>
4141 -
4142
4143 diff --git a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.36.ebuild b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.36.ebuild
4144 deleted file mode 100644
4145 index 22ec6dd17a3..00000000000
4146 --- a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.36.ebuild
4147 +++ /dev/null
4148 @@ -1,184 +0,0 @@
4149 -# Copyright 1999-2018 Gentoo Foundation
4150 -# Distributed under the terms of the GNU General Public License v2
4151 -
4152 -EAPI=6
4153 -
4154 -PYTHON_COMPAT=( python2_7 )
4155 -inherit eutils multilib python-single-r1 versionator toolchain-funcs
4156 -
4157 -MY_PV="${PV/beta/BETA}"
4158 -MY_PV="${MY_PV/rc/RC}"
4159 -MY_P=VirtualBox-${MY_PV}
4160 -DESCRIPTION="VirtualBox X11 video driver for Gentoo guest"
4161 -HOMEPAGE="https://www.virtualbox.org/"
4162 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2"
4163 -
4164 -LICENSE="GPL-2"
4165 -SLOT="0"
4166 -KEYWORDS="amd64 x86"
4167 -IUSE="dri"
4168 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
4169 -
4170 -RDEPEND="
4171 - >=x11-base/xorg-server-1.7:=[-minimal]
4172 - x11-libs/libXcomposite
4173 - ${PYTHON_DEPS}"
4174 -DEPEND="${RDEPEND}
4175 - >=dev-lang/yasm-0.6.2
4176 - >=dev-util/kbuild-0.1.9998_pre20131130
4177 - sys-power/iasl
4178 - x11-base/xorg-proto
4179 - x11-libs/libXdmcp
4180 - x11-libs/libXau
4181 - x11-libs/libX11
4182 - x11-libs/libXfixes
4183 - x11-libs/libXext
4184 - dri? ( >=x11-libs/libdrm-2.4.5 )"
4185 -PDEPEND="dri? ( ~app-emulation/virtualbox-guest-additions-${PV} )"
4186 -
4187 -BUILD_TARGETS="all"
4188 -BUILD_TARGET_ARCH="${ARCH}"
4189 -S="${WORKDIR}/${MY_P}"
4190 -MODULES_SRC_DIR="${S}/src/VBox/Additions/linux/drm"
4191 -
4192 -PATCHES=(
4193 - # Ugly hack to build the opengl part of the video driver
4194 - "${FILESDIR}/${PN}-2.2.0-enable-opengl.patch"
4195 -
4196 - # unset useless/problematic checks in configure
4197 - "${FILESDIR}/${PN}-5.0.0_beta3-configure_checks.patch"
4198 -
4199 - # xorg-1.19 patch from opensuse (bug #602784)
4200 - "${FILESDIR}/${PN}-5.1.10-xorg119.patch"
4201 -)
4202 -
4203 -QA_TEXTRELS_x86="usr/lib/VBoxOGL.so"
4204 -
4205 -pkg_setup() {
4206 - if [ "${MERGE_TYPE}" != "binary" ]; then
4207 - version_is_at_least 4.9 $(gcc-version) || die "Please set gcc 4.9 or higher as active in gcc-config to build ${PN}"
4208 - fi
4209 -
4210 - python-single-r1_pkg_setup
4211 -}
4212 -
4213 -src_prepare() {
4214 - # Prepare the vboxvideo_drm Makefiles and build dir
4215 - eapply "${FILESDIR}"/${PN}-5.1.24-Makefile.module.kms.patch
4216 -
4217 - # Remove shipped binaries (kBuild,yasm), see bug #232775
4218 - rm -r kBuild/bin tools || die
4219 -
4220 - # Disable things unused or splitted into separate ebuilds
4221 - cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die
4222 -
4223 - # Remove pointless GCC version check
4224 - sed -e '/^check_gcc$/d' -i configure || die
4225 -
4226 - default
4227 -
4228 - # link with lazy on hardened #394757
4229 - sed '/^TEMPLATE_VBOXR3EXE_LDFLAGS.linux/s/$/ -Wl,-z,lazy/' \
4230 - -i Config.kmk || die
4231 -}
4232 -
4233 -src_configure() {
4234 - # build the user-space tools, warnings are harmless
4235 - local cmd=(
4236 - ./configure
4237 - --nofatal
4238 - --disable-xpcom
4239 - --disable-sdl-ttf
4240 - --disable-pulse
4241 - --disable-alsa
4242 - --with-gcc="$(tc-getCC)"
4243 - --with-g++="$(tc-getCXX)"
4244 - --target-arch=${ARCH}
4245 - --with-linux="${KV_OUT_DIR}"
4246 - --build-headless
4247 - )
4248 - echo "${cmd[@]}"
4249 - "${cmd[@]}" || die "configure failed"
4250 - source ./env.sh
4251 - export VBOX_GCC_OPT="${CFLAGS} ${CPPFLAGS}"
4252 -}
4253 -
4254 -src_compile() {
4255 - local each targets=(
4256 - Runtime
4257 - Additions/common/VBoxGuestLib
4258 - GuestHost/OpenGL
4259 - Additions/x11/x11stubs
4260 - Additions/common/crOpenGL
4261 - Additions/x11/vboxvideo
4262 - )
4263 -
4264 - # need to use the upstream build system to create necessary objects properly
4265 - use dri && targets+=( Additions/linux/drm )
4266 -
4267 - for each in ${targets[@]} ; do
4268 - pushd "${S}"/src/VBox/${each} &>/dev/null || die
4269 - MAKE="kmk" \
4270 - emake TOOL_YASM_AS=yasm \
4271 - VBOX_USE_SYSTEM_XORG_HEADERS=1 \
4272 - KBUILD_PATH="${S}/kBuild" \
4273 - KBUILD_VERBOSE=2
4274 - popd &>/dev/null || die
4275 - done
4276 -
4277 - if use dri; then
4278 - local objdir="out/linux.${ARCH}/release/obj/vboxvideo_drm"
4279 - # We need a Makefile, so use Makefile.module.kms
4280 - ln -s Makefile.module.kms "${MODULES_SRC_DIR}"/Makefile || die
4281 - # All of these are expected to be in $(KBUILD_EXTMOD)/ so symlink them into place
4282 - targets=(
4283 - include
4284 - src/VBox/Runtime/r0drv
4285 - src/VBox/Installer/linux/Makefile.include.{head,foot}er
4286 - out/linux.${ARCH}/release/{product,version,revision}-generated.h
4287 - )
4288 - for each in ${targets[@]} ; do
4289 - ln -s "${S}"/${each} \
4290 - "${MODULES_SRC_DIR}"/${each##*/} || die
4291 - done
4292 - # see the vboxvideo_drm_SOURCES list in Makefile.kmk for the below,
4293 - # and replace '..' with 'dt'
4294 - targets=(
4295 - dt/dt/common/VBoxVideo/HGSMIBase.o
4296 - dt/dt/common/VBoxVideo/Modesetting.o
4297 - dt/dt/common/VBoxVideo/VBVABase.o
4298 - dt/dt/dt/GuestHost/HGSMI/HGSMICommon.o
4299 - dt/dt/dt/GuestHost/HGSMI/HGSMIMemAlloc.o
4300 - dt/dt/dt/Runtime/common/alloc/heapoffset.o
4301 - )
4302 - for each in ${targets[@]} ; do
4303 - ln -s "${S}"/${objdir}/${each} \
4304 - "${MODULES_SRC_DIR}" || die
4305 - ln -s "${S}"/${objdir}/${each}.dep \
4306 - "${MODULES_SRC_DIR}" || die
4307 - done
4308 - fi
4309 -}
4310 -
4311 -src_install() {
4312 - cd "${S}/out/linux.${ARCH}/release/bin/additions" || die
4313 - insinto /usr/$(get_libdir)/xorg/modules/drivers
4314 - newins vboxvideo_drv_system.so vboxvideo_drv.so
4315 -
4316 - # Guest OpenGL driver
4317 - insinto /usr/$(get_libdir)
4318 - doins -r VBoxOGL*
4319 -
4320 - if use dri ; then
4321 - dosym /usr/$(get_libdir)/VBoxOGL.so \
4322 - /usr/$(get_libdir)/dri/vboxvideo_dri.so
4323 - fi
4324 -}
4325 -
4326 -pkg_postinst() {
4327 - elog "You need to edit the file /etc/X11/xorg.conf and set:"
4328 - elog ""
4329 - elog " Driver \"vboxvideo\""
4330 - elog ""
4331 - elog "in the Graphics device section (Section \"Device\")"
4332 -}
4333
4334 diff --git a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.38.ebuild b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.38.ebuild
4335 deleted file mode 100644
4336 index 8bf3e1f2873..00000000000
4337 --- a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.38.ebuild
4338 +++ /dev/null
4339 @@ -1,184 +0,0 @@
4340 -# Copyright 1999-2018 Gentoo Foundation
4341 -# Distributed under the terms of the GNU General Public License v2
4342 -
4343 -EAPI=6
4344 -
4345 -PYTHON_COMPAT=( python2_7 )
4346 -inherit eutils multilib python-single-r1 versionator toolchain-funcs
4347 -
4348 -MY_PV="${PV/beta/BETA}"
4349 -MY_PV="${MY_PV/rc/RC}"
4350 -MY_P=VirtualBox-${MY_PV}
4351 -DESCRIPTION="VirtualBox X11 video driver for Gentoo guest"
4352 -HOMEPAGE="https://www.virtualbox.org/"
4353 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2"
4354 -
4355 -LICENSE="GPL-2"
4356 -SLOT="0"
4357 -KEYWORDS="~amd64 ~x86"
4358 -IUSE="dri"
4359 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
4360 -
4361 -RDEPEND="
4362 - >=x11-base/xorg-server-1.7:=[-minimal]
4363 - x11-libs/libXcomposite
4364 - ${PYTHON_DEPS}"
4365 -DEPEND="${RDEPEND}
4366 - >=dev-lang/yasm-0.6.2
4367 - >=dev-util/kbuild-0.1.9998_pre20131130
4368 - sys-power/iasl
4369 - x11-base/xorg-proto
4370 - x11-libs/libXdmcp
4371 - x11-libs/libXau
4372 - x11-libs/libX11
4373 - x11-libs/libXfixes
4374 - x11-libs/libXext
4375 - dri? ( >=x11-libs/libdrm-2.4.5 )"
4376 -PDEPEND="dri? ( ~app-emulation/virtualbox-guest-additions-${PV} )"
4377 -
4378 -BUILD_TARGETS="all"
4379 -BUILD_TARGET_ARCH="${ARCH}"
4380 -S="${WORKDIR}/${MY_P}"
4381 -MODULES_SRC_DIR="${S}/src/VBox/Additions/linux/drm"
4382 -
4383 -PATCHES=(
4384 - # Ugly hack to build the opengl part of the video driver
4385 - "${FILESDIR}/${PN}-2.2.0-enable-opengl.patch"
4386 -
4387 - # unset useless/problematic checks in configure
4388 - "${FILESDIR}/${PN}-5.0.0_beta3-configure_checks.patch"
4389 -
4390 - # xorg-1.19 patch from opensuse (bug #602784)
4391 - "${FILESDIR}/${PN}-5.1.10-xorg119.patch"
4392 -)
4393 -
4394 -QA_TEXTRELS_x86="usr/lib/VBoxOGL.so"
4395 -
4396 -pkg_setup() {
4397 - if [ "${MERGE_TYPE}" != "binary" ]; then
4398 - version_is_at_least 4.9 $(gcc-version) || die "Please set gcc 4.9 or higher as active in gcc-config to build ${PN}"
4399 - fi
4400 -
4401 - python-single-r1_pkg_setup
4402 -}
4403 -
4404 -src_prepare() {
4405 - # Prepare the vboxvideo_drm Makefiles and build dir
4406 - eapply "${FILESDIR}"/${PN}-5.1.24-Makefile.module.kms.patch
4407 -
4408 - # Remove shipped binaries (kBuild,yasm), see bug #232775
4409 - rm -r kBuild/bin tools || die
4410 -
4411 - # Disable things unused or splitted into separate ebuilds
4412 - cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die
4413 -
4414 - # Remove pointless GCC version check
4415 - sed -e '/^check_gcc$/d' -i configure || die
4416 -
4417 - default
4418 -
4419 - # link with lazy on hardened #394757
4420 - sed '/^TEMPLATE_VBOXR3EXE_LDFLAGS.linux/s/$/ -Wl,-z,lazy/' \
4421 - -i Config.kmk || die
4422 -}
4423 -
4424 -src_configure() {
4425 - # build the user-space tools, warnings are harmless
4426 - local cmd=(
4427 - ./configure
4428 - --nofatal
4429 - --disable-xpcom
4430 - --disable-sdl-ttf
4431 - --disable-pulse
4432 - --disable-alsa
4433 - --with-gcc="$(tc-getCC)"
4434 - --with-g++="$(tc-getCXX)"
4435 - --target-arch=${ARCH}
4436 - --with-linux="${KV_OUT_DIR}"
4437 - --build-headless
4438 - )
4439 - echo "${cmd[@]}"
4440 - "${cmd[@]}" || die "configure failed"
4441 - source ./env.sh
4442 - export VBOX_GCC_OPT="${CFLAGS} ${CPPFLAGS}"
4443 -}
4444 -
4445 -src_compile() {
4446 - local each targets=(
4447 - Runtime
4448 - Additions/common/VBoxGuestLib
4449 - GuestHost/OpenGL
4450 - Additions/x11/x11stubs
4451 - Additions/common/crOpenGL
4452 - Additions/x11/vboxvideo
4453 - )
4454 -
4455 - # need to use the upstream build system to create necessary objects properly
4456 - use dri && targets+=( Additions/linux/drm )
4457 -
4458 - for each in ${targets[@]} ; do
4459 - pushd "${S}"/src/VBox/${each} &>/dev/null || die
4460 - MAKE="kmk" \
4461 - emake TOOL_YASM_AS=yasm \
4462 - VBOX_USE_SYSTEM_XORG_HEADERS=1 \
4463 - KBUILD_PATH="${S}/kBuild" \
4464 - KBUILD_VERBOSE=2
4465 - popd &>/dev/null || die
4466 - done
4467 -
4468 - if use dri; then
4469 - local objdir="out/linux.${ARCH}/release/obj/vboxvideo_drm"
4470 - # We need a Makefile, so use Makefile.module.kms
4471 - ln -s Makefile.module.kms "${MODULES_SRC_DIR}"/Makefile || die
4472 - # All of these are expected to be in $(KBUILD_EXTMOD)/ so symlink them into place
4473 - targets=(
4474 - include
4475 - src/VBox/Runtime/r0drv
4476 - src/VBox/Installer/linux/Makefile.include.{head,foot}er
4477 - out/linux.${ARCH}/release/{product,version,revision}-generated.h
4478 - )
4479 - for each in ${targets[@]} ; do
4480 - ln -s "${S}"/${each} \
4481 - "${MODULES_SRC_DIR}"/${each##*/} || die
4482 - done
4483 - # see the vboxvideo_drm_SOURCES list in Makefile.kmk for the below,
4484 - # and replace '..' with 'dt'
4485 - targets=(
4486 - dt/dt/common/VBoxVideo/HGSMIBase.o
4487 - dt/dt/common/VBoxVideo/Modesetting.o
4488 - dt/dt/common/VBoxVideo/VBVABase.o
4489 - dt/dt/dt/GuestHost/HGSMI/HGSMICommon.o
4490 - dt/dt/dt/GuestHost/HGSMI/HGSMIMemAlloc.o
4491 - dt/dt/dt/Runtime/common/alloc/heapoffset.o
4492 - )
4493 - for each in ${targets[@]} ; do
4494 - ln -s "${S}"/${objdir}/${each} \
4495 - "${MODULES_SRC_DIR}" || die
4496 - ln -s "${S}"/${objdir}/${each}.dep \
4497 - "${MODULES_SRC_DIR}" || die
4498 - done
4499 - fi
4500 -}
4501 -
4502 -src_install() {
4503 - cd "${S}/out/linux.${ARCH}/release/bin/additions" || die
4504 - insinto /usr/$(get_libdir)/xorg/modules/drivers
4505 - newins vboxvideo_drv_system.so vboxvideo_drv.so
4506 -
4507 - # Guest OpenGL driver
4508 - insinto /usr/$(get_libdir)
4509 - doins -r VBoxOGL*
4510 -
4511 - if use dri ; then
4512 - dosym /usr/$(get_libdir)/VBoxOGL.so \
4513 - /usr/$(get_libdir)/dri/vboxvideo_dri.so
4514 - fi
4515 -}
4516 -
4517 -pkg_postinst() {
4518 - elog "You need to edit the file /etc/X11/xorg.conf and set:"
4519 - elog ""
4520 - elog " Driver \"vboxvideo\""
4521 - elog ""
4522 - elog "in the Graphics device section (Section \"Device\")"
4523 -}