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-guest-additions/files/, app-emulation/virtualbox/files/, ...
Date: Wed, 09 Sep 2020 08:10:24
Message-Id: 1599639014.aa25a234f57525f8e481d443b905a0237cccb24b.polynomial-c@gentoo
1 -r1.ebuild app-emulation/virtualbox-modules/virtualbox-modules-6.0.22-r1.ebuild app-emulation/virtualbox-modules/virtualbox-modules-6.1.10-r1.ebuild app-emulation/virtualbox/Manifest app-emulation/virtualbox/files/virtualbox-ose-5-wrapper app-emulation/virtualbox/virtualbox-5.2.40.ebuild app-emulation/virtualbox/virtualbox-5.2.42.ebuild app-emulation/virtualbox/virtualbox-5.2.44.ebuild app-emulation/virtualbox/virtualbox-6.0.22.ebuild app-emulation/virtualbox/virtualbox-6.1.10-r1.ebuild
2 X-VCS-Directories: app-emulation/virtualbox/ app-emulation/virtualbox-guest-additions/ app-emulation/virtualbox/files/ app-emulation/virtualbox-bin/ app-emulation/virtualbox-additions/ app-emulation/virtualbox-modules/ app-emulation/virtualbox-extpack-oracle/ app-emulation/virtualbox-guest-additions/files/
3 X-VCS-Committer: polynomial-c
4 X-VCS-Committer-Name: Lars Wendler
5 X-VCS-Revision: aa25a234f57525f8e481d443b905a0237cccb24b
6 X-VCS-Branch: master
7 Date: Wed, 9 Sep 2020 08:10:20 +0000 (UTC)
8
9 commit: aa25a234f57525f8e481d443b905a0237cccb24b
10 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
11 AuthorDate: Wed Sep 9 08:09:56 2020 +0000
12 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
13 CommitDate: Wed Sep 9 08:10:14 2020 +0000
14 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa25a234
15
16 virtualbox packages: Removed old
17
18 Package-Manager: Portage-3.0.6, Repoman-3.0.1
19 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
20
21 app-emulation/virtualbox-additions/Manifest | 5 -
22 .../virtualbox-additions-5.2.40.ebuild | 33 --
23 .../virtualbox-additions-5.2.42.ebuild | 33 --
24 .../virtualbox-additions-5.2.44.ebuild | 33 --
25 .../virtualbox-additions-6.0.22.ebuild | 34 --
26 .../virtualbox-additions-6.1.10.ebuild | 34 --
27 app-emulation/virtualbox-bin/Manifest | 18 -
28 .../virtualbox-bin-5.2.40.137108.ebuild | 287 ------------
29 .../virtualbox-bin-5.2.42.137960.ebuild | 287 ------------
30 .../virtualbox-bin-5.2.44.139111.ebuild | 287 ------------
31 .../virtualbox-bin-6.0.22.137980.ebuild | 292 ------------
32 .../virtualbox-bin-6.1.10.138449.ebuild | 292 ------------
33 app-emulation/virtualbox-extpack-oracle/Manifest | 5 -
34 .../virtualbox-extpack-oracle-5.2.40.137108.ebuild | 42 --
35 .../virtualbox-extpack-oracle-5.2.42.137960.ebuild | 42 --
36 .../virtualbox-extpack-oracle-5.2.44.139111.ebuild | 42 --
37 .../virtualbox-extpack-oracle-6.0.22.137980.ebuild | 43 --
38 .../virtualbox-extpack-oracle-6.1.10.138449.ebuild | 43 --
39 app-emulation/virtualbox-guest-additions/Manifest | 9 -
40 .../files/vboxguest-4.1.0-log-use-c99.patch | 13 -
41 .../virtualbox-guest-additions-5.2.40-r1.ebuild | 229 ----------
42 .../virtualbox-guest-additions-5.2.42-r1.ebuild | 232 ----------
43 .../virtualbox-guest-additions-5.2.44-r1.ebuild | 232 ----------
44 .../virtualbox-guest-additions-6.0.22-r1.ebuild | 218 ---------
45 .../virtualbox-guest-additions-6.1.10-r1.ebuild | 218 ---------
46 app-emulation/virtualbox-modules/Manifest | 5 -
47 .../virtualbox-modules-5.2.40-r1.ebuild | 59 ---
48 .../virtualbox-modules-5.2.42-r1.ebuild | 59 ---
49 .../virtualbox-modules-5.2.44-r1.ebuild | 59 ---
50 .../virtualbox-modules-6.0.22-r1.ebuild | 55 ---
51 .../virtualbox-modules-6.1.10-r1.ebuild | 55 ---
52 app-emulation/virtualbox/Manifest | 9 -
53 .../virtualbox/files/virtualbox-ose-5-wrapper | 113 -----
54 app-emulation/virtualbox/virtualbox-5.2.40.ebuild | 496 --------------------
55 app-emulation/virtualbox/virtualbox-5.2.42.ebuild | 493 --------------------
56 app-emulation/virtualbox/virtualbox-5.2.44.ebuild | 493 --------------------
57 app-emulation/virtualbox/virtualbox-6.0.22.ebuild | 507 ---------------------
58 .../virtualbox/virtualbox-6.1.10-r1.ebuild | 507 ---------------------
59 38 files changed, 5913 deletions(-)
60
61 diff --git a/app-emulation/virtualbox-additions/Manifest b/app-emulation/virtualbox-additions/Manifest
62 index 8515e24e421..0314d9a3217 100644
63 --- a/app-emulation/virtualbox-additions/Manifest
64 +++ b/app-emulation/virtualbox-additions/Manifest
65 @@ -1,8 +1,3 @@
66 -DIST VBoxGuestAdditions_5.2.40.iso 49770496 BLAKE2B 4d9ca6cde78da325575f56f0b12d7beccfd09a564b98c808495ac8425f47bd0ce1b86a5cfb79c30256b36b109032013a0677ff07c45808324ca3b85efe5b7f51 SHA512 a2ea5539de454bb062dffa0b61ac4962c8932539ab0cdaae98f7703528c201bc856b0597b92c20e83fab5b97981be3811061386022ca3687d8c102983e05ec7b
67 -DIST VBoxGuestAdditions_5.2.42.iso 49833984 BLAKE2B cd9d32db3d6bf54375c95fb7729e19f07348c8111aa3cda73e0512f8b036e0b0a550352d0acebf2e6ee7e5379a5d9711f56607a73bbf31fcaa8296a49d8a49e8 SHA512 eea1d5c6f3dfb42a4b8f916279eb2c426925e20de517d7011c3f41c115d9fbf098fb6988fcc9f192e68f15094f44fd811128e5f42dffe33934c67b1b42e025bb
68 -DIST VBoxGuestAdditions_5.2.44.iso 49829888 BLAKE2B c86660b5a00692c22dea8a02480c5de4b7df5f6bef81a16d78b2fdcd4cef1fa7bcc9fae9884c209d16f36b5c49718d53ec1f6e4073a0a7d90d33bea32f972f2a SHA512 6bec3b5b31c962bdc3d1321ed276898600ab494d41ec5dbb6d82cbbab1dbafc1331c146d33266d428355d9767bab1e220e8c2299f8011feb8bf8744420e64ade
69 -DIST VBoxGuestAdditions_6.0.22.iso 77352960 BLAKE2B e71447a3e6efbc4b921276d212ae3b9314184240219e5d8dc7cfd8684c9f944cfa65895fcebe72a45a332ed60ea6c9e47cafde142119a86f46bf1781679b1409 SHA512 04e16b11e64087fee2ae440fe523db4a546b5706ba517af15349e2acb5706af717105af29b6655ab84ddffc7370a7fce7cc0945069c6c9e59f4dcfc61baef0dd
70 DIST VBoxGuestAdditions_6.0.24.iso 77355008 BLAKE2B 3bb611323ba41ad94a75d5d28198aaf732bd7c36965abc65755c0ffeec29bd378cf4351b838675667958086e499f5791b942a8e3877c1ed815a22c4d564147a1 SHA512 aea64aff216a0cfa3535d2215ec74dd46243f9aba0c1b95f476bb8f0b3d561994f4fc8cc7d454f03482e1cec9a227014f10045e75756767bd8006e8beb9aaade
71 -DIST VBoxGuestAdditions_6.1.10.iso 60448768 BLAKE2B 99841d7a516ea18d6138c9ff39801c8bcf85eb2dd5bf163d441933362275c96b21ca5f5147979dafa1be26c98f7e2ec2af2666089da0d09004baab4d80f33e95 SHA512 fe16ccc8d9e7bdb56fb464864795b7ca9d59ae6aadbd8ef80bc1b2e36267158bfc04fd5a8e4a0999112a6b1d8818b1cf1eaf2cbd0a1d8341c6fd5808c245df3b
72 DIST VBoxGuestAdditions_6.1.12.iso 60626944 BLAKE2B cb16f72f9c010e7e97e6ae5d86d02c81bbae2593fd502a3e6d911e794fa15254b631e37587f7ba636686e8897fe27a05f8dee58870200cbb50e2fbbe57142cc3 SHA512 dd0a7705477620205529090e37965a09906e864d3d293405414ba09c951c33d9586ac6f5e1f35e35ece1e2bae0919cc7740b21e302f9c5e2160e5458168372c0
73 DIST VBoxGuestAdditions_6.1.14.iso 60981248 BLAKE2B df4e6159e4f0f1b7bb1a92dfbfdadc30aaa6499f5cb4bf80c783e9ef26dfc2d07f9198c3b20677064d1533ecb9a58100da52975478396bbec918268a7ad14e5d SHA512 51c9e128626bf1a02b4467c85829fa694dc46a469852e4effb768fdb56d1a61e28488a887920c7a8e51128370664ca50c883c590297d8c5182980fc2c176c187
74
75 diff --git a/app-emulation/virtualbox-additions/virtualbox-additions-5.2.40.ebuild b/app-emulation/virtualbox-additions/virtualbox-additions-5.2.40.ebuild
76 deleted file mode 100644
77 index a6f1f50a2ef..00000000000
78 --- a/app-emulation/virtualbox-additions/virtualbox-additions-5.2.40.ebuild
79 +++ /dev/null
80 @@ -1,33 +0,0 @@
81 -# Copyright 1999-2020 Gentoo Authors
82 -# Distributed under the terms of the GNU General Public License v2
83 -
84 -EAPI=7
85 -
86 -MY_PN=VBoxGuestAdditions
87 -MY_PV="${PV/beta/BETA}"
88 -MY_PV="${MY_PV/rc/RC}"
89 -MY_P=${MY_PN}_${MY_PV}
90 -
91 -DESCRIPTION="CD image containing guest additions for VirtualBox"
92 -HOMEPAGE="https://www.virtualbox.org/"
93 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.iso"
94 -
95 -LICENSE="GPL-2+ LGPL-2.1+ MIT SGI-B-2.0 CDDL"
96 -SLOT="0"
97 -KEYWORDS="amd64 x86"
98 -IUSE=""
99 -RESTRICT="mirror"
100 -
101 -RDEPEND="!app-emulation/virtualbox-bin
102 - !=app-emulation/virtualbox-9999"
103 -
104 -S="${WORKDIR}"
105 -
106 -src_unpack() {
107 - return 0
108 -}
109 -
110 -src_install() {
111 - insinto /usr/share/${PN/-additions}
112 - newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
113 -}
114
115 diff --git a/app-emulation/virtualbox-additions/virtualbox-additions-5.2.42.ebuild b/app-emulation/virtualbox-additions/virtualbox-additions-5.2.42.ebuild
116 deleted file mode 100644
117 index 89a7f0a2a62..00000000000
118 --- a/app-emulation/virtualbox-additions/virtualbox-additions-5.2.42.ebuild
119 +++ /dev/null
120 @@ -1,33 +0,0 @@
121 -# Copyright 1999-2020 Gentoo Authors
122 -# Distributed under the terms of the GNU General Public License v2
123 -
124 -EAPI=7
125 -
126 -MY_PN=VBoxGuestAdditions
127 -MY_PV="${PV/beta/BETA}"
128 -MY_PV="${MY_PV/rc/RC}"
129 -MY_P=${MY_PN}_${MY_PV}
130 -
131 -DESCRIPTION="CD image containing guest additions for VirtualBox"
132 -HOMEPAGE="https://www.virtualbox.org/"
133 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.iso"
134 -
135 -LICENSE="GPL-2+ LGPL-2.1+ MIT SGI-B-2.0 CDDL"
136 -SLOT="0"
137 -KEYWORDS="~amd64 ~x86"
138 -IUSE=""
139 -RESTRICT="mirror"
140 -
141 -RDEPEND="!app-emulation/virtualbox-bin
142 - !=app-emulation/virtualbox-9999"
143 -
144 -S="${WORKDIR}"
145 -
146 -src_unpack() {
147 - return 0
148 -}
149 -
150 -src_install() {
151 - insinto /usr/share/${PN/-additions}
152 - newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
153 -}
154
155 diff --git a/app-emulation/virtualbox-additions/virtualbox-additions-5.2.44.ebuild b/app-emulation/virtualbox-additions/virtualbox-additions-5.2.44.ebuild
156 deleted file mode 100644
157 index 89a7f0a2a62..00000000000
158 --- a/app-emulation/virtualbox-additions/virtualbox-additions-5.2.44.ebuild
159 +++ /dev/null
160 @@ -1,33 +0,0 @@
161 -# Copyright 1999-2020 Gentoo Authors
162 -# Distributed under the terms of the GNU General Public License v2
163 -
164 -EAPI=7
165 -
166 -MY_PN=VBoxGuestAdditions
167 -MY_PV="${PV/beta/BETA}"
168 -MY_PV="${MY_PV/rc/RC}"
169 -MY_P=${MY_PN}_${MY_PV}
170 -
171 -DESCRIPTION="CD image containing guest additions for VirtualBox"
172 -HOMEPAGE="https://www.virtualbox.org/"
173 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.iso"
174 -
175 -LICENSE="GPL-2+ LGPL-2.1+ MIT SGI-B-2.0 CDDL"
176 -SLOT="0"
177 -KEYWORDS="~amd64 ~x86"
178 -IUSE=""
179 -RESTRICT="mirror"
180 -
181 -RDEPEND="!app-emulation/virtualbox-bin
182 - !=app-emulation/virtualbox-9999"
183 -
184 -S="${WORKDIR}"
185 -
186 -src_unpack() {
187 - return 0
188 -}
189 -
190 -src_install() {
191 - insinto /usr/share/${PN/-additions}
192 - newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
193 -}
194
195 diff --git a/app-emulation/virtualbox-additions/virtualbox-additions-6.0.22.ebuild b/app-emulation/virtualbox-additions/virtualbox-additions-6.0.22.ebuild
196 deleted file mode 100644
197 index 1afb82dc197..00000000000
198 --- a/app-emulation/virtualbox-additions/virtualbox-additions-6.0.22.ebuild
199 +++ /dev/null
200 @@ -1,34 +0,0 @@
201 -# Copyright 1999-2020 Gentoo Authors
202 -# Distributed under the terms of the GNU General Public License v2
203 -
204 -EAPI=7
205 -
206 -MY_PN=VBoxGuestAdditions
207 -MY_PV="${PV/beta/BETA}"
208 -MY_PV="${MY_PV/rc/RC}"
209 -MY_P=${MY_PN}_${MY_PV}
210 -
211 -DESCRIPTION="CD image containing guest additions for VirtualBox"
212 -HOMEPAGE="https://www.virtualbox.org/"
213 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.iso"
214 -
215 -LICENSE="GPL-2+ LGPL-2.1+ MIT SGI-B-2.0 CDDL"
216 -SLOT="0"
217 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
218 -KEYWORDS="~amd64 ~x86"
219 -IUSE=""
220 -RESTRICT="mirror"
221 -
222 -RDEPEND="!app-emulation/virtualbox-bin
223 - !=app-emulation/virtualbox-9999"
224 -
225 -S="${WORKDIR}"
226 -
227 -src_unpack() {
228 - return 0
229 -}
230 -
231 -src_install() {
232 - insinto /usr/share/${PN/-additions}
233 - newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
234 -}
235
236 diff --git a/app-emulation/virtualbox-additions/virtualbox-additions-6.1.10.ebuild b/app-emulation/virtualbox-additions/virtualbox-additions-6.1.10.ebuild
237 deleted file mode 100644
238 index 97264897ea7..00000000000
239 --- a/app-emulation/virtualbox-additions/virtualbox-additions-6.1.10.ebuild
240 +++ /dev/null
241 @@ -1,34 +0,0 @@
242 -# Copyright 1999-2020 Gentoo Authors
243 -# Distributed under the terms of the GNU General Public License v2
244 -
245 -EAPI=7
246 -
247 -MY_PN=VBoxGuestAdditions
248 -MY_PV="${PV/beta/BETA}"
249 -MY_PV="${MY_PV/rc/RC}"
250 -MY_P=${MY_PN}_${MY_PV}
251 -
252 -DESCRIPTION="CD image containing guest additions for VirtualBox"
253 -HOMEPAGE="https://www.virtualbox.org/"
254 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.iso"
255 -
256 -LICENSE="GPL-2+ LGPL-2.1+ MIT SGI-B-2.0 CDDL"
257 -SLOT="0"
258 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
259 -KEYWORDS="~amd64"
260 -IUSE=""
261 -RESTRICT="mirror"
262 -
263 -RDEPEND="!app-emulation/virtualbox-bin
264 - !=app-emulation/virtualbox-9999"
265 -
266 -S="${WORKDIR}"
267 -
268 -src_unpack() {
269 - return 0
270 -}
271 -
272 -src_install() {
273 - insinto /usr/share/${PN/-additions}
274 - newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
275 -}
276
277 diff --git a/app-emulation/virtualbox-bin/Manifest b/app-emulation/virtualbox-bin/Manifest
278 index f188f718212..62e6be08ce9 100644
279 --- a/app-emulation/virtualbox-bin/Manifest
280 +++ b/app-emulation/virtualbox-bin/Manifest
281 @@ -1,24 +1,6 @@
282 -DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.40-137108.tar.gz 26737982 BLAKE2B 4a050067c0111929fe73695ec4f057e6b33cb224c034ca564beb65cc4fb73491b2c03e0b88ddb77ede5fbd392b0e0c9eae3226f937998b2c06484ff083b4a714 SHA512 5e3e528707b7f3eab19db5358258a69518996a98364e57df9853a549d7310b8db58b40041470f263b212fe6e2bb163e745a3b9b7567c681834d99442289407f4
283 -DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.42-137960.tar.gz 26740542 BLAKE2B 0246148d436c163eab0363b6b5ed05ec43f2ce9a1124ef504cdf9f30e0bdd479567225f013d2fa2ef39bae0af18e60ef4996d37f65552cca74d8fc76d2976f40 SHA512 0f3a963abf99599094d6bff9617d401338209ce6dba08285a006e17a68b927cd19ea5e17151afc5466c9e00df1fe75ca01fdc5d11a45be5a9d7d4e7649916fc6
284 -DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.44-139111.tar.gz 26740456 BLAKE2B dfec5893d0cf194bfe277c834e8477a0a3c91c5e8426b14155e8c5e34e949130d1402ee823bb698a3025834d196608d82b54df240ba1adbd8d8bc2967608f9a9 SHA512 f3a09b906df41c1de008ac7abe80cde9076a24a3175e9ac84101b95ccabeb9b374660b6d23b131ad27ed9038b4916201b0166d98e0c18e346af4132bc44000c9
285 -DIST Oracle_VM_VirtualBox_Extension_Pack-6.0.22-137980.tar.gz 23238402 BLAKE2B ea7105747fe776475ae66bf99354017c7a3e33343bb044722ccf5245daefa33581e2092fd04e03e9916b1150a7b46eb691ef4faaf28ecedb82a8e5c66b02a22f SHA512 c45cad50fbb521307fed127499955c261416fbc6958e87770238ef45865caefdd61837db17d61e57ef030a712f53ec1f452b89849fa5f7881f3cd62d481185eb
286 DIST Oracle_VM_VirtualBox_Extension_Pack-6.0.24-139119.tar.gz 23238486 BLAKE2B cad4e6822b51db05fb0b919f4c44ace1743a9d2b5ebcc0da6fe3c9ec43612ec6079614f5d3a9423c320e65b5438089aeef42f331946eb74093e3f8b1ef137300 SHA512 4be76fffb8508dda561e74daf68c71641a0903e554ecdf6b102f3fe35af03883bc88c2ac3cbdae2b3ddfb7ee5c9bdfa8df670662eef139f2a894dea4aa6f2e18
287 -DIST Oracle_VM_VirtualBox_Extension_Pack-6.1.10-138449.tar.gz 10999054 BLAKE2B cf802b561882541399baff74c2d75b33aa70bf8f909b616bbddcde0d98b41927f65ec5ac25e5d89598ae931c1c3c9fe7cc9cba17cb52b87b8d7f46ef935a376b SHA512 9cea8f8547eb4e90df1ec43ee4d2bf4be17f6ec8dd62013589f23019a30e0dd15e37945dca67790628d3f49d6103cf1dc9c53344589d2ce785fef8acf7c81cb9
288 DIST Oracle_VM_VirtualBox_Extension_Pack-6.1.12-139181.tar.gz 11141691 BLAKE2B ac4cae428d15fa503b47337c5d2bab3e21197b82192fa2009216e438d06b867b17a62890c7525d232919751a5eec770f0ecd835c93aa3e67bcbf13b94d8d5344 SHA512 2abc9f6aaadfd6b0bb65df7eb9c45155ea2ec0d215aedd7589a76753b7323fef47c4799322ed973ef92baf1d64835dc813a235001be2cf4e166e474d5b6e2afc
289 -DIST VirtualBox-5.2.40-137108-Linux_amd64.run 83865043 BLAKE2B d44f3ee6b05446fbe36b5672ec00d2ffcf5b8592ebfdfc6d091dd1bf92d821644976bad55ca390ad834d274dbe738341457888fb78030de9ddadd680362c4b11 SHA512 1f068f776ef65ed930eed0ecc6304a374ea36339c21dfc7b41a61b6e82d61f5c8de13f4b93f19500f9eccbe9e3d0f1a816c46b7b7b4d5ed195ce1ddc45c57e7f
290 -DIST VirtualBox-5.2.40-137108-Linux_x86.run 82994639 BLAKE2B 4f90a72d5d8952ae05bff9c50262e377c0ffbc134741eddc0aa6dccd9a575de746bcdcf0e0fc2db8f5ee36e730bcf814e0fd1291a739dd33260be7219f11c44a SHA512 580f8a6c7a1fe04132789b60ce4cb4db39f980590731e18b9c2cd7727d59efdd5250fbe80704a4542f8876d8fdc89cc048b669259e8170a28350157901bc14c4
291 -DIST VirtualBox-5.2.42-137960-Linux_amd64.run 83926483 BLAKE2B b57d50604a8d867cc8b508d3448dcd835415f669759e1e8a947e30e2cf0392a87e16560c0f4d970c6afbe593b874ff463f5407c14e6e15a3429d67fb9ba7c956 SHA512 29a870f35d783dd4e079d2d44f33154f9a990ab1639a0b0427a7721c4a98625490d978db51655de6961bc0d89aabbff0804cd1744014952b4207c411945c3f6e
292 -DIST VirtualBox-5.2.42-137960-Linux_x86.run 83056078 BLAKE2B ad58f0693eb0d936833ad09b213707ed0bc66e2705d2f9f407e21b0681cd0d7f1fe062323f61e84e1f0bd0c88b9c0860fdfa2ea6085ac6c6e57ed2f7b5631bfb SHA512 16e2d4383a4ae0f86180222e14912fed25675290bcd8815a3c310cd8fad28081799b6d743d88197ebe78076612462bca0774c54fc8837cca03606ae87067f3d6
293 -DIST VirtualBox-5.2.44-139111-Linux_amd64.run 83936723 BLAKE2B ec1edb5f173adc0108f6abde97ae7941ecdd1dae55a9df9a93bf53f52ee7e97e7fdbd82b330ea405a5a8e0fccd4c4f5bdc05e8f12cc21fe5686581f6d95e84e8 SHA512 fa604b3af4e6654fee49fe0f4bb7733a5a2fa753a18c0ec1698ee0bf82ef2cc096ea081da7f65cca33a76b658f7151da3347a35763edb059ec5e2f078c779008
294 -DIST VirtualBox-5.2.44-139111-Linux_x86.run 83066319 BLAKE2B 1a8f27d1066c9e33adbea4868c1a7ab88326b6556a006ba558e7eca51c1aca1d353b671ba334b919b77bee996f0bce83f4664b13d6d46e64f078bf897aa656a3 SHA512 dbd2c019b43376651fd64bda15787f429ea13d16ae4314863603c0c8fb4e6c01337fbe54fc108c512b7d1b00a0975d652fb14713f239060191bb64af900c5d34
295 -DIST VirtualBox-6.0.22-137980-Linux_amd64.run 127405529 BLAKE2B 0f27d84c2e30ed6956921db3aa611ea2a959d11a20051a5c633560f2ab42d2b100ce3c886439226f6634461de6ccfcd564f194257c88b581d75422007ccb771c SHA512 a7d454112580639866c40506d3718d841600338dc33937382e16a52e7baf624fef7efcc98481eaa8633d32d11e74a37d23e5282bb22415e94790decc51a58dd2
296 DIST VirtualBox-6.0.24-139119-Linux_amd64.run 127354329 BLAKE2B cad5a93e3586168535eb9e25969e90183dfed3a293e6b2e36449198b8713cd34f006083403b4c721be3670beabb5f8bc0362db3662cf268d54e95c492b965b5d SHA512 5ec11bb5303eacd948b457ba29f74039a438f99264294dcada602a99ec44f0f8a5ad45ea3334f90f10fa5ff946d659cac4a74487e0f4aa7e79fd9a196b1fc159
297 -DIST VirtualBox-6.1.10-138449-Linux_amd64.run 111513049 BLAKE2B e97393873dc270fb7acf130aa8632ee12fc8c14b9f678cbe20bf9dc1c095aaccfbd0ed1c64dd4dfd9243b10728d9feb84d3dc283365e5dd736d300ce8d72a411 SHA512 a1df1805b056d6abe26782d2f7b98668a929282c4a3f25062da3cb806c709a0a93b3d3c6f6a9a8c5140882ff2f5b11a6226c8917776dcf7ad256b82144f2bed9
298 DIST VirtualBox-6.1.12-139181-Linux_amd64.run 111584728 BLAKE2B 48dd72975032e689481b333a1f255677afe3b750ac5d6c7df40780619968e721d54226aaeaf1d2f114968c379c1e0dcb3c15a24bfe01e2c7e0f48a6dd316e8ef SHA512 ad8984fa5c6c9433b5989ccbc4f6119202fb1befa35f8f5f0bd9a1d34a94e3f088d7c558b934ee49eb4b4ef2a6c877404c11e8026892c3e0dc1beeb2ca462264
299 -DIST VirtualBoxSDK-5.2.40-137108.zip 10201020 BLAKE2B db4a2fd69fdc3ab4201c086c15f14144dd1f75e87d13c4493aaeaf2b69e06a599623416e17a3715c9836b7b7bf36aaba34c06e27ddd70900ca6c5fdd43e311e1 SHA512 15bf89ca622396a5b2f66fb42762959548e8d0b2e0bd3b63223bcccff449f5c094af0315deecae167e105276915fb6b2e61a1f71465be4e85b52a58e313a2830
300 -DIST VirtualBoxSDK-5.2.42-137960.zip 10203875 BLAKE2B 8979e023679daa17eda97037b8e5f40250c7dd34f2caad2b4ac0f7680c90418da050ce866a3099f20969932b559527accdabe20eb0b5593cbe8acacebd873d1d SHA512 70ff706c50937dcad9dbc3554b5dd88f2d8b674221fbe08e2124055c0a07f1c1ca00342cb5dcdb64e38583e3bb68bf9ecc7eaf5e88e381f205ffb3a4eaa64487
301 -DIST VirtualBoxSDK-5.2.44-139111.zip 10202240 BLAKE2B ca6ffb315fca369874a327da141d9c8eb28a58ccf8b44577ed879d25e5d5c0606c9a15af95ee935e0e8aff6063d93e7ecd2aad37733c5fb1cec7db4bf35df4b6 SHA512 8c64b28f8ba7c758c2c5d699e3a0276a5ce3bd1b740b3120c283f0048a00c587bf47376714cd7ada1b96dc35f9565ce7effc7aa0b5a1caa8e82e548f03bbc057
302 -DIST VirtualBoxSDK-6.0.22-137980.zip 10804146 BLAKE2B f1a4ce9ef767343146d5f01bd75dbc9409e1ee4a8e3a73cb0546679421c2c013f24405c5353ded3bc34af477892d39205ca0e43a36b79bd1b884d59ef3ae7969 SHA512 5693c4b773c0ed3d3a502b8347129d3ec464da021cf904b7ae252db787cce93d7633cc4d8679da168d90239a03ae66de959e237765eeb56d9f4b17c74def7c50
303 DIST VirtualBoxSDK-6.0.24-139119.zip 10804800 BLAKE2B d8adad44be45384b1f48f6eb09ccb7894021d0c12332e1d0fc5b175691495430b9d8929ee76d83c8e924b7845b8601e465f23d8101b3d3378c4856b09df92f01 SHA512 709d8c77144ef55acf42330c1b87e1bc3bd940b97639a1e9256d833ea4a09c9051a236d793ecd2c064d9353f70871b68b80dd1c31a4ed6cd3c690d76101dffe9
304 -DIST VirtualBoxSDK-6.1.10-138449.zip 11178059 BLAKE2B 6eddb1ea9110d8d96506dc1be048aabdb77993b3bed0407f0cb9976c99f21d66065d9e622dbc78a812a4ad30e285073798e57187f27126c6c70dc9b20db1b724 SHA512 21d453d5932ad93c4d6509a2b97c61edcbc64f89ccfeed2af8392031c41168724842a346f4b61e86d520567e8c04a5a09d43ed7a112d6abee35784ad6a2bdef9
305 DIST VirtualBoxSDK-6.1.12-139181.zip 11203140 BLAKE2B 15e27959fd26e4d15f1500fe6733a2ff862b87943fa86f57cb4cbd18e34fdf5e9c8c7475885f81f2440e8cc1a412a0fa1865063347a8c462f3f7d282361cb8cd SHA512 f848cefc27cf9cbf3118881db3ff71bd9b54e8727052a49d93c9017e702caeb7c3bf008e0017bd04c27a8f7202d3a36161393b8dc2cbea5aaa4299264223ed56
306
307 diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-5.2.40.137108.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-5.2.40.137108.ebuild
308 deleted file mode 100644
309 index 46e94991f5b..00000000000
310 --- a/app-emulation/virtualbox-bin/virtualbox-bin-5.2.40.137108.ebuild
311 +++ /dev/null
312 @@ -1,287 +0,0 @@
313 -# Copyright 1999-2020 Gentoo Authors
314 -# Distributed under the terms of the GNU General Public License v2
315 -
316 -EAPI=6
317 -
318 -PYTHON_COMPAT=( python2_7 )
319 -
320 -inherit xdg-utils gnome2 pax-utils python-r1 udev unpacker eapi7-ver
321 -
322 -MAIN_PV="$(ver_cut 1-3)"
323 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
324 - MY_PV="${MAIN_PV}_$(ver_cut 5)"
325 - MY_PV="${MY_PV/beta/BETA}"
326 - MY_PV="${MY_PV/rc/RC}"
327 -else
328 - MY_PV="${MAIN_PV}"
329 -fi
330 -VBOX_BUILD_ID="$(ver_cut 4)"
331 -VBOX_PV="${MY_PV}-${VBOX_BUILD_ID}"
332 -MY_P="VirtualBox-${VBOX_PV}-Linux"
333 -# needed as sometimes the extpack gets another build ID
334 -EXTP_PV="${VBOX_PV}"
335 -EXTP_PN="Oracle_VM_VirtualBox_Extension_Pack"
336 -EXTP_P="${EXTP_PN}-${EXTP_PV}"
337 -# needed as sometimes the SDK gets another build ID
338 -SDK_PV="${VBOX_PV}"
339 -SDK_P="VirtualBoxSDK-${SDK_PV}"
340 -
341 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
342 -HOMEPAGE="https://www.virtualbox.org/"
343 -SRC_URI="amd64? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_amd64.run )
344 - x86? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_x86.run )
345 - https://download.virtualbox.org/virtualbox/${MY_PV}/${EXTP_P}.vbox-extpack -> ${EXTP_P}.tar.gz"
346 -
347 -LICENSE="GPL-2 PUEL"
348 -SLOT="0"
349 -KEYWORDS="amd64 x86"
350 -IUSE="+additions +chm headless python vboxwebsrv rdesktop-vrdp"
351 -RESTRICT="bindist mirror"
352 -
353 -if [[ "${PV}" != *beta* ]] ; then
354 - SRC_URI+="
355 - sdk? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${SDK_P}.zip )"
356 - IUSE+=" sdk"
357 -fi
358 -
359 -DEPEND="app-arch/unzip
360 - ${PYTHON_DEPS}"
361 -
362 -RDEPEND="!!app-emulation/virtualbox
363 - !app-emulation/virtualbox-additions
364 - ~app-emulation/virtualbox-modules-${MAIN_PV}
365 - !headless? (
366 - dev-libs/glib
367 - media-libs/fontconfig
368 - media-libs/freetype
369 - media-libs/libpng
370 - media-libs/libsdl[X]
371 - x11-libs/libXcursor
372 - x11-libs/libXext
373 - x11-libs/libXfixes
374 - x11-libs/libXft
375 - x11-libs/libXi
376 - x11-libs/libXinerama
377 - x11-libs/libXrandr
378 - x11-libs/libXrender
379 - chm? ( dev-libs/expat )
380 - )
381 - dev-libs/libxml2
382 - sys-fs/lvm2
383 - x11-libs/libXau
384 - x11-libs/libX11
385 - x11-libs/libXt
386 - x11-libs/libXmu
387 - x11-libs/libSM
388 - x11-libs/libICE
389 - x11-libs/libXdmcp
390 - ${PYTHON_DEPS}"
391 -
392 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
393 -S="${WORKDIR}"
394 -
395 -QA_PREBUILT="opt/VirtualBox/*"
396 -
397 -PYTHON_UPDATER_IGNORE="1"
398 -
399 -src_unpack() {
400 - unpack_makeself ${MY_P}_${ARCH}.run
401 - unpack ./VirtualBox.tar.bz2
402 -
403 - mkdir "${S}"/${EXTP_PN} || die
404 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
405 - unpack ${EXTP_P}.tar.gz
406 - popd &>/dev/null || die
407 -
408 - if [[ "${PV}" != *beta* ]] && use sdk ; then
409 - unpack VirtualBoxSDK-${SDK_PV}.zip
410 - fi
411 -}
412 -
413 -src_configure() {
414 - :;
415 -}
416 -
417 -src_compile() {
418 - :;
419 -}
420 -
421 -src_install() {
422 - # create virtualbox configurations files
423 - insinto /etc/vbox
424 - newins "${FILESDIR}/${PN}-config" vbox.cfg
425 -
426 - if ! use headless ; then
427 - newmenu "${FILESDIR}"/${PN}.desktop-2 ${PN}.desktop
428 -
429 - # set up symlinks (bug #572012)
430 - dosym ../../../../opt/VirtualBox/virtualbox.xml /usr/share/mime/packages/virtualbox.xml
431 -
432 - local size ico icofile
433 - for size in 16 24 32 48 64 72 96 128 256 ; do
434 - pushd "${S}"/icons/${size}x${size} &>/dev/null || die
435 - if [[ -f "virtualbox.png" ]] ; then
436 - doicon -s ${size} virtualbox.png
437 - fi
438 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
439 - icofile="virtualbox-${ico}.png"
440 - if [[ -f "${icofile}" ]] ; then
441 - doicon -s ${size} ${icofile}
442 - fi
443 - done
444 - popd &>/dev/null || die
445 - done
446 - doicon -s scalable "${S}"/icons/scalable/virtualbox.svg
447 - insinto /usr/share/pixmaps
448 - newins "${S}"/icons/48x48/virtualbox.png ${PN}.png
449 - fi
450 -
451 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
452 - insinto /opt/VirtualBox/ExtensionPacks/${EXTP_PN}
453 - doins -r linux.${ARCH}
454 - doins ExtPack* PXE-Intel.rom
455 - popd &>/dev/null || die
456 - rm -rf "${S}"/${EXTP_PN}
457 -
458 - insinto /opt/VirtualBox
459 - dodir /opt/bin
460 -
461 - doins UserManual.pdf
462 -
463 - if [[ "${PV}" != *beta* ]] && use sdk ; then
464 - doins -r sdk
465 - fi
466 -
467 - if use additions; then
468 - doins -r additions
469 - fi
470 -
471 - if use vboxwebsrv; then
472 - doins vboxwebsrv
473 - fowners root:vboxusers /opt/VirtualBox/vboxwebsrv
474 - fperms 0750 /opt/VirtualBox/vboxwebsrv
475 - dosym ../../opt/VirtualBox/VBox.sh /opt/bin/vboxwebsrv
476 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
477 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
478 - fi
479 -
480 - if use rdesktop-vrdp; then
481 - doins rdesktop-vrdp
482 - doins -r rdesktop-vrdp-keymaps
483 - fperms 0750 /opt/VirtualBox/rdesktop-vrdp
484 - dosym ../../opt/VirtualBox/rdesktop-vrdp /opt/bin/rdesktop-vrdp
485 - fi
486 -
487 - if ! use headless && use chm; then
488 - doins kchmviewer VirtualBox.chm
489 - fowners root:vboxusers /opt/VirtualBox/kchmviewer
490 - fperms 0750 /opt/VirtualBox/kchmviewer
491 - fi
492 -
493 - # This ebuild / package supports only py2.7. When py3 comes is unknown.
494 - # The compile phase makes VBoxPython2_7.so.
495 - # py3 support would presumably require a binary pre-compiled by py3.
496 - use python && doins VBoxPython.so VBoxPython2_7.so
497 -
498 - rm -rf src rdesktop* deffiles install* routines.sh runlevel.sh \
499 - vboxdrv.sh VBox.sh VBox.png vboxnet.sh additions VirtualBox.desktop \
500 - VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \
501 - webtest kchmviewer VirtualBox.chm vbox-create-usb-node.sh \
502 - 90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py \
503 - VBoxPython?_*.so
504 -
505 - if use headless ; then
506 - rm -rf VBoxSDL VirtualBox VBoxKeyboard.so
507 - fi
508 -
509 - doins -r *
510 -
511 - # create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
512 - dosym ../VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
513 - dosym ../VBoxREM.so /opt/VirtualBox/components/VBoxREM.so
514 - dosym ../VBoxRT.so /opt/VirtualBox/components/VBoxRT.so
515 - dosym ../VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so
516 - dosym ../VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
517 -
518 - local each
519 - for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,NetNAT,TestOGL,ExtPackHelperApp}; do
520 - fowners root:vboxusers /opt/VirtualBox/${each}
521 - fperms 0750 /opt/VirtualBox/${each}
522 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
523 - done
524 - # VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
525 - fperms 4750 /opt/VirtualBox/VBoxNetAdpCtl
526 - fperms 4750 /opt/VirtualBox/VBoxNetDHCP
527 - fperms 4750 /opt/VirtualBox/VBoxNetNAT
528 -
529 - if ! use headless ; then
530 - # Hardened build: Mark selected binaries set-user-ID-on-execution
531 - for each in VBox{SDL,Headless} VirtualBox; do
532 - fowners root:vboxusers /opt/VirtualBox/${each}
533 - fperms 4510 /opt/VirtualBox/${each}
534 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
535 - done
536 -
537 - dosym ../VirtualBox/VBox.sh /opt/bin/VirtualBox
538 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxSDL
539 - else
540 - # Hardened build: Mark selected binaries set-user-ID-on-execution
541 - fowners root:vboxusers /opt/VirtualBox/VBoxHeadless
542 - fperms 4510 /opt/VirtualBox/VBoxHeadless
543 - pax-mark -m "${ED%/}"/opt/VirtualBox/VBoxHeadless
544 - fi
545 -
546 - exeinto /opt/VirtualBox
547 - newexe "${FILESDIR}/${PN}-3-wrapper" "VBox.sh"
548 - fowners root:vboxusers /opt/VirtualBox/VBox.sh
549 - fperms 0750 /opt/VirtualBox/VBox.sh
550 -
551 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxManage
552 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxVRDP
553 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxHeadless
554 - dosym ../VirtualBox/VBoxTunctl /opt/bin/VBoxTunctl
555 -
556 - # set an env-variable for 3rd party tools
557 - echo -n "VBOX_APP_HOME=/opt/VirtualBox" > "${T}/90virtualbox"
558 - doenvd "${T}/90virtualbox"
559 -
560 - local udevdir="$(get_udevdir)"
561 - insinto ${udevdir}/rules.d
562 - doins "${FILESDIR}"/10-virtualbox.rules
563 - sed "s@%UDEVDIR%@${udevdir}@" \
564 - -i "${ED%/}"${udevdir}/rules.d/10-virtualbox.rules || die
565 - # move udev scripts into ${udevdir} (bug #372491)
566 - mv "${ED%/}"/opt/VirtualBox/VBoxCreateUSBNode.sh "${ED%/}"${udevdir} || die
567 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
568 -}
569 -
570 -pkg_postinst() {
571 - xdg_desktop_database_update
572 -
573 - gnome2_icon_cache_update
574 -
575 - udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
576 -
577 - elog ""
578 - if ! use headless ; then
579 - elog "To launch VirtualBox just type: \"VirtualBox\""
580 - elog ""
581 - fi
582 - elog "You must be in the vboxusers group to use VirtualBox."
583 - elog ""
584 - elog "For advanced networking setups you should emerge:"
585 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
586 - elog ""
587 - elog "Please visit http://www.virtualbox.org/wiki/Editions for"
588 - elog "an overview about the different features of ${PN}"
589 - elog "and virtualbox-ose"
590 - if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
591 - elog ""
592 - elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
593 - elog "or else USB in ${PN} won't work."
594 - fi
595 -}
596 -
597 -pkg_postrm() {
598 - xdg_desktop_database_update
599 -}
600
601 diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-5.2.42.137960.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-5.2.42.137960.ebuild
602 deleted file mode 100644
603 index 07efd355cde..00000000000
604 --- a/app-emulation/virtualbox-bin/virtualbox-bin-5.2.42.137960.ebuild
605 +++ /dev/null
606 @@ -1,287 +0,0 @@
607 -# Copyright 1999-2020 Gentoo Authors
608 -# Distributed under the terms of the GNU General Public License v2
609 -
610 -EAPI=6
611 -
612 -PYTHON_COMPAT=( python2_7 )
613 -
614 -inherit xdg-utils gnome2 pax-utils python-r1 udev unpacker eapi7-ver
615 -
616 -MAIN_PV="$(ver_cut 1-3)"
617 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
618 - MY_PV="${MAIN_PV}_$(ver_cut 5)"
619 - MY_PV="${MY_PV/beta/BETA}"
620 - MY_PV="${MY_PV/rc/RC}"
621 -else
622 - MY_PV="${MAIN_PV}"
623 -fi
624 -VBOX_BUILD_ID="$(ver_cut 4)"
625 -VBOX_PV="${MY_PV}-${VBOX_BUILD_ID}"
626 -MY_P="VirtualBox-${VBOX_PV}-Linux"
627 -# needed as sometimes the extpack gets another build ID
628 -EXTP_PV="${VBOX_PV}"
629 -EXTP_PN="Oracle_VM_VirtualBox_Extension_Pack"
630 -EXTP_P="${EXTP_PN}-${EXTP_PV}"
631 -# needed as sometimes the SDK gets another build ID
632 -SDK_PV="${VBOX_PV}"
633 -SDK_P="VirtualBoxSDK-${SDK_PV}"
634 -
635 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
636 -HOMEPAGE="https://www.virtualbox.org/"
637 -SRC_URI="amd64? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_amd64.run )
638 - x86? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_x86.run )
639 - https://download.virtualbox.org/virtualbox/${MY_PV}/${EXTP_P}.vbox-extpack -> ${EXTP_P}.tar.gz"
640 -
641 -LICENSE="GPL-2 PUEL"
642 -SLOT="0"
643 -KEYWORDS="~amd64 ~x86"
644 -IUSE="+additions +chm headless python vboxwebsrv rdesktop-vrdp"
645 -RESTRICT="bindist mirror"
646 -
647 -if [[ "${PV}" != *beta* ]] ; then
648 - SRC_URI+="
649 - sdk? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${SDK_P}.zip )"
650 - IUSE+=" sdk"
651 -fi
652 -
653 -DEPEND="app-arch/unzip
654 - ${PYTHON_DEPS}"
655 -
656 -RDEPEND="!!app-emulation/virtualbox
657 - !app-emulation/virtualbox-additions
658 - ~app-emulation/virtualbox-modules-${MAIN_PV}
659 - !headless? (
660 - dev-libs/glib
661 - media-libs/fontconfig
662 - media-libs/freetype
663 - media-libs/libpng
664 - media-libs/libsdl[X]
665 - x11-libs/libXcursor
666 - x11-libs/libXext
667 - x11-libs/libXfixes
668 - x11-libs/libXft
669 - x11-libs/libXi
670 - x11-libs/libXinerama
671 - x11-libs/libXrandr
672 - x11-libs/libXrender
673 - chm? ( dev-libs/expat )
674 - )
675 - dev-libs/libxml2
676 - sys-fs/lvm2
677 - x11-libs/libXau
678 - x11-libs/libX11
679 - x11-libs/libXt
680 - x11-libs/libXmu
681 - x11-libs/libSM
682 - x11-libs/libICE
683 - x11-libs/libXdmcp
684 - ${PYTHON_DEPS}"
685 -
686 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
687 -S="${WORKDIR}"
688 -
689 -QA_PREBUILT="opt/VirtualBox/*"
690 -
691 -PYTHON_UPDATER_IGNORE="1"
692 -
693 -src_unpack() {
694 - unpack_makeself ${MY_P}_${ARCH}.run
695 - unpack ./VirtualBox.tar.bz2
696 -
697 - mkdir "${S}"/${EXTP_PN} || die
698 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
699 - unpack ${EXTP_P}.tar.gz
700 - popd &>/dev/null || die
701 -
702 - if [[ "${PV}" != *beta* ]] && use sdk ; then
703 - unpack VirtualBoxSDK-${SDK_PV}.zip
704 - fi
705 -}
706 -
707 -src_configure() {
708 - :;
709 -}
710 -
711 -src_compile() {
712 - :;
713 -}
714 -
715 -src_install() {
716 - # create virtualbox configurations files
717 - insinto /etc/vbox
718 - newins "${FILESDIR}/${PN}-config" vbox.cfg
719 -
720 - if ! use headless ; then
721 - newmenu "${FILESDIR}"/${PN}.desktop-2 ${PN}.desktop
722 -
723 - # set up symlinks (bug #572012)
724 - dosym ../../../../opt/VirtualBox/virtualbox.xml /usr/share/mime/packages/virtualbox.xml
725 -
726 - local size ico icofile
727 - for size in 16 24 32 48 64 72 96 128 256 ; do
728 - pushd "${S}"/icons/${size}x${size} &>/dev/null || die
729 - if [[ -f "virtualbox.png" ]] ; then
730 - doicon -s ${size} virtualbox.png
731 - fi
732 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
733 - icofile="virtualbox-${ico}.png"
734 - if [[ -f "${icofile}" ]] ; then
735 - doicon -s ${size} ${icofile}
736 - fi
737 - done
738 - popd &>/dev/null || die
739 - done
740 - doicon -s scalable "${S}"/icons/scalable/virtualbox.svg
741 - insinto /usr/share/pixmaps
742 - newins "${S}"/icons/48x48/virtualbox.png ${PN}.png
743 - fi
744 -
745 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
746 - insinto /opt/VirtualBox/ExtensionPacks/${EXTP_PN}
747 - doins -r linux.${ARCH}
748 - doins ExtPack* PXE-Intel.rom
749 - popd &>/dev/null || die
750 - rm -rf "${S}"/${EXTP_PN}
751 -
752 - insinto /opt/VirtualBox
753 - dodir /opt/bin
754 -
755 - doins UserManual.pdf
756 -
757 - if [[ "${PV}" != *beta* ]] && use sdk ; then
758 - doins -r sdk
759 - fi
760 -
761 - if use additions; then
762 - doins -r additions
763 - fi
764 -
765 - if use vboxwebsrv; then
766 - doins vboxwebsrv
767 - fowners root:vboxusers /opt/VirtualBox/vboxwebsrv
768 - fperms 0750 /opt/VirtualBox/vboxwebsrv
769 - dosym ../../opt/VirtualBox/VBox.sh /opt/bin/vboxwebsrv
770 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
771 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
772 - fi
773 -
774 - if use rdesktop-vrdp; then
775 - doins rdesktop-vrdp
776 - doins -r rdesktop-vrdp-keymaps
777 - fperms 0750 /opt/VirtualBox/rdesktop-vrdp
778 - dosym ../../opt/VirtualBox/rdesktop-vrdp /opt/bin/rdesktop-vrdp
779 - fi
780 -
781 - if ! use headless && use chm; then
782 - doins kchmviewer VirtualBox.chm
783 - fowners root:vboxusers /opt/VirtualBox/kchmviewer
784 - fperms 0750 /opt/VirtualBox/kchmviewer
785 - fi
786 -
787 - # This ebuild / package supports only py2.7. When py3 comes is unknown.
788 - # The compile phase makes VBoxPython2_7.so.
789 - # py3 support would presumably require a binary pre-compiled by py3.
790 - use python && doins VBoxPython.so VBoxPython2_7.so
791 -
792 - rm -rf src rdesktop* deffiles install* routines.sh runlevel.sh \
793 - vboxdrv.sh VBox.sh VBox.png vboxnet.sh additions VirtualBox.desktop \
794 - VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \
795 - webtest kchmviewer VirtualBox.chm vbox-create-usb-node.sh \
796 - 90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py \
797 - VBoxPython?_*.so
798 -
799 - if use headless ; then
800 - rm -rf VBoxSDL VirtualBox VBoxKeyboard.so
801 - fi
802 -
803 - doins -r *
804 -
805 - # create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
806 - dosym ../VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
807 - dosym ../VBoxREM.so /opt/VirtualBox/components/VBoxREM.so
808 - dosym ../VBoxRT.so /opt/VirtualBox/components/VBoxRT.so
809 - dosym ../VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so
810 - dosym ../VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
811 -
812 - local each
813 - for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,NetNAT,TestOGL,ExtPackHelperApp}; do
814 - fowners root:vboxusers /opt/VirtualBox/${each}
815 - fperms 0750 /opt/VirtualBox/${each}
816 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
817 - done
818 - # VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
819 - fperms 4750 /opt/VirtualBox/VBoxNetAdpCtl
820 - fperms 4750 /opt/VirtualBox/VBoxNetDHCP
821 - fperms 4750 /opt/VirtualBox/VBoxNetNAT
822 -
823 - if ! use headless ; then
824 - # Hardened build: Mark selected binaries set-user-ID-on-execution
825 - for each in VBox{SDL,Headless} VirtualBox; do
826 - fowners root:vboxusers /opt/VirtualBox/${each}
827 - fperms 4510 /opt/VirtualBox/${each}
828 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
829 - done
830 -
831 - dosym ../VirtualBox/VBox.sh /opt/bin/VirtualBox
832 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxSDL
833 - else
834 - # Hardened build: Mark selected binaries set-user-ID-on-execution
835 - fowners root:vboxusers /opt/VirtualBox/VBoxHeadless
836 - fperms 4510 /opt/VirtualBox/VBoxHeadless
837 - pax-mark -m "${ED%/}"/opt/VirtualBox/VBoxHeadless
838 - fi
839 -
840 - exeinto /opt/VirtualBox
841 - newexe "${FILESDIR}/${PN}-3-wrapper" "VBox.sh"
842 - fowners root:vboxusers /opt/VirtualBox/VBox.sh
843 - fperms 0750 /opt/VirtualBox/VBox.sh
844 -
845 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxManage
846 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxVRDP
847 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxHeadless
848 - dosym ../VirtualBox/VBoxTunctl /opt/bin/VBoxTunctl
849 -
850 - # set an env-variable for 3rd party tools
851 - echo -n "VBOX_APP_HOME=/opt/VirtualBox" > "${T}/90virtualbox"
852 - doenvd "${T}/90virtualbox"
853 -
854 - local udevdir="$(get_udevdir)"
855 - insinto ${udevdir}/rules.d
856 - doins "${FILESDIR}"/10-virtualbox.rules
857 - sed "s@%UDEVDIR%@${udevdir}@" \
858 - -i "${ED%/}"${udevdir}/rules.d/10-virtualbox.rules || die
859 - # move udev scripts into ${udevdir} (bug #372491)
860 - mv "${ED%/}"/opt/VirtualBox/VBoxCreateUSBNode.sh "${ED%/}"${udevdir} || die
861 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
862 -}
863 -
864 -pkg_postinst() {
865 - xdg_desktop_database_update
866 -
867 - gnome2_icon_cache_update
868 -
869 - udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
870 -
871 - elog ""
872 - if ! use headless ; then
873 - elog "To launch VirtualBox just type: \"VirtualBox\""
874 - elog ""
875 - fi
876 - elog "You must be in the vboxusers group to use VirtualBox."
877 - elog ""
878 - elog "For advanced networking setups you should emerge:"
879 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
880 - elog ""
881 - elog "Please visit http://www.virtualbox.org/wiki/Editions for"
882 - elog "an overview about the different features of ${PN}"
883 - elog "and virtualbox-ose"
884 - if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
885 - elog ""
886 - elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
887 - elog "or else USB in ${PN} won't work."
888 - fi
889 -}
890 -
891 -pkg_postrm() {
892 - xdg_desktop_database_update
893 -}
894
895 diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-5.2.44.139111.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-5.2.44.139111.ebuild
896 deleted file mode 100644
897 index 07efd355cde..00000000000
898 --- a/app-emulation/virtualbox-bin/virtualbox-bin-5.2.44.139111.ebuild
899 +++ /dev/null
900 @@ -1,287 +0,0 @@
901 -# Copyright 1999-2020 Gentoo Authors
902 -# Distributed under the terms of the GNU General Public License v2
903 -
904 -EAPI=6
905 -
906 -PYTHON_COMPAT=( python2_7 )
907 -
908 -inherit xdg-utils gnome2 pax-utils python-r1 udev unpacker eapi7-ver
909 -
910 -MAIN_PV="$(ver_cut 1-3)"
911 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
912 - MY_PV="${MAIN_PV}_$(ver_cut 5)"
913 - MY_PV="${MY_PV/beta/BETA}"
914 - MY_PV="${MY_PV/rc/RC}"
915 -else
916 - MY_PV="${MAIN_PV}"
917 -fi
918 -VBOX_BUILD_ID="$(ver_cut 4)"
919 -VBOX_PV="${MY_PV}-${VBOX_BUILD_ID}"
920 -MY_P="VirtualBox-${VBOX_PV}-Linux"
921 -# needed as sometimes the extpack gets another build ID
922 -EXTP_PV="${VBOX_PV}"
923 -EXTP_PN="Oracle_VM_VirtualBox_Extension_Pack"
924 -EXTP_P="${EXTP_PN}-${EXTP_PV}"
925 -# needed as sometimes the SDK gets another build ID
926 -SDK_PV="${VBOX_PV}"
927 -SDK_P="VirtualBoxSDK-${SDK_PV}"
928 -
929 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
930 -HOMEPAGE="https://www.virtualbox.org/"
931 -SRC_URI="amd64? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_amd64.run )
932 - x86? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_x86.run )
933 - https://download.virtualbox.org/virtualbox/${MY_PV}/${EXTP_P}.vbox-extpack -> ${EXTP_P}.tar.gz"
934 -
935 -LICENSE="GPL-2 PUEL"
936 -SLOT="0"
937 -KEYWORDS="~amd64 ~x86"
938 -IUSE="+additions +chm headless python vboxwebsrv rdesktop-vrdp"
939 -RESTRICT="bindist mirror"
940 -
941 -if [[ "${PV}" != *beta* ]] ; then
942 - SRC_URI+="
943 - sdk? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${SDK_P}.zip )"
944 - IUSE+=" sdk"
945 -fi
946 -
947 -DEPEND="app-arch/unzip
948 - ${PYTHON_DEPS}"
949 -
950 -RDEPEND="!!app-emulation/virtualbox
951 - !app-emulation/virtualbox-additions
952 - ~app-emulation/virtualbox-modules-${MAIN_PV}
953 - !headless? (
954 - dev-libs/glib
955 - media-libs/fontconfig
956 - media-libs/freetype
957 - media-libs/libpng
958 - media-libs/libsdl[X]
959 - x11-libs/libXcursor
960 - x11-libs/libXext
961 - x11-libs/libXfixes
962 - x11-libs/libXft
963 - x11-libs/libXi
964 - x11-libs/libXinerama
965 - x11-libs/libXrandr
966 - x11-libs/libXrender
967 - chm? ( dev-libs/expat )
968 - )
969 - dev-libs/libxml2
970 - sys-fs/lvm2
971 - x11-libs/libXau
972 - x11-libs/libX11
973 - x11-libs/libXt
974 - x11-libs/libXmu
975 - x11-libs/libSM
976 - x11-libs/libICE
977 - x11-libs/libXdmcp
978 - ${PYTHON_DEPS}"
979 -
980 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
981 -S="${WORKDIR}"
982 -
983 -QA_PREBUILT="opt/VirtualBox/*"
984 -
985 -PYTHON_UPDATER_IGNORE="1"
986 -
987 -src_unpack() {
988 - unpack_makeself ${MY_P}_${ARCH}.run
989 - unpack ./VirtualBox.tar.bz2
990 -
991 - mkdir "${S}"/${EXTP_PN} || die
992 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
993 - unpack ${EXTP_P}.tar.gz
994 - popd &>/dev/null || die
995 -
996 - if [[ "${PV}" != *beta* ]] && use sdk ; then
997 - unpack VirtualBoxSDK-${SDK_PV}.zip
998 - fi
999 -}
1000 -
1001 -src_configure() {
1002 - :;
1003 -}
1004 -
1005 -src_compile() {
1006 - :;
1007 -}
1008 -
1009 -src_install() {
1010 - # create virtualbox configurations files
1011 - insinto /etc/vbox
1012 - newins "${FILESDIR}/${PN}-config" vbox.cfg
1013 -
1014 - if ! use headless ; then
1015 - newmenu "${FILESDIR}"/${PN}.desktop-2 ${PN}.desktop
1016 -
1017 - # set up symlinks (bug #572012)
1018 - dosym ../../../../opt/VirtualBox/virtualbox.xml /usr/share/mime/packages/virtualbox.xml
1019 -
1020 - local size ico icofile
1021 - for size in 16 24 32 48 64 72 96 128 256 ; do
1022 - pushd "${S}"/icons/${size}x${size} &>/dev/null || die
1023 - if [[ -f "virtualbox.png" ]] ; then
1024 - doicon -s ${size} virtualbox.png
1025 - fi
1026 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
1027 - icofile="virtualbox-${ico}.png"
1028 - if [[ -f "${icofile}" ]] ; then
1029 - doicon -s ${size} ${icofile}
1030 - fi
1031 - done
1032 - popd &>/dev/null || die
1033 - done
1034 - doicon -s scalable "${S}"/icons/scalable/virtualbox.svg
1035 - insinto /usr/share/pixmaps
1036 - newins "${S}"/icons/48x48/virtualbox.png ${PN}.png
1037 - fi
1038 -
1039 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
1040 - insinto /opt/VirtualBox/ExtensionPacks/${EXTP_PN}
1041 - doins -r linux.${ARCH}
1042 - doins ExtPack* PXE-Intel.rom
1043 - popd &>/dev/null || die
1044 - rm -rf "${S}"/${EXTP_PN}
1045 -
1046 - insinto /opt/VirtualBox
1047 - dodir /opt/bin
1048 -
1049 - doins UserManual.pdf
1050 -
1051 - if [[ "${PV}" != *beta* ]] && use sdk ; then
1052 - doins -r sdk
1053 - fi
1054 -
1055 - if use additions; then
1056 - doins -r additions
1057 - fi
1058 -
1059 - if use vboxwebsrv; then
1060 - doins vboxwebsrv
1061 - fowners root:vboxusers /opt/VirtualBox/vboxwebsrv
1062 - fperms 0750 /opt/VirtualBox/vboxwebsrv
1063 - dosym ../../opt/VirtualBox/VBox.sh /opt/bin/vboxwebsrv
1064 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
1065 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
1066 - fi
1067 -
1068 - if use rdesktop-vrdp; then
1069 - doins rdesktop-vrdp
1070 - doins -r rdesktop-vrdp-keymaps
1071 - fperms 0750 /opt/VirtualBox/rdesktop-vrdp
1072 - dosym ../../opt/VirtualBox/rdesktop-vrdp /opt/bin/rdesktop-vrdp
1073 - fi
1074 -
1075 - if ! use headless && use chm; then
1076 - doins kchmviewer VirtualBox.chm
1077 - fowners root:vboxusers /opt/VirtualBox/kchmviewer
1078 - fperms 0750 /opt/VirtualBox/kchmviewer
1079 - fi
1080 -
1081 - # This ebuild / package supports only py2.7. When py3 comes is unknown.
1082 - # The compile phase makes VBoxPython2_7.so.
1083 - # py3 support would presumably require a binary pre-compiled by py3.
1084 - use python && doins VBoxPython.so VBoxPython2_7.so
1085 -
1086 - rm -rf src rdesktop* deffiles install* routines.sh runlevel.sh \
1087 - vboxdrv.sh VBox.sh VBox.png vboxnet.sh additions VirtualBox.desktop \
1088 - VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \
1089 - webtest kchmviewer VirtualBox.chm vbox-create-usb-node.sh \
1090 - 90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py \
1091 - VBoxPython?_*.so
1092 -
1093 - if use headless ; then
1094 - rm -rf VBoxSDL VirtualBox VBoxKeyboard.so
1095 - fi
1096 -
1097 - doins -r *
1098 -
1099 - # create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
1100 - dosym ../VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
1101 - dosym ../VBoxREM.so /opt/VirtualBox/components/VBoxREM.so
1102 - dosym ../VBoxRT.so /opt/VirtualBox/components/VBoxRT.so
1103 - dosym ../VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so
1104 - dosym ../VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
1105 -
1106 - local each
1107 - for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,NetNAT,TestOGL,ExtPackHelperApp}; do
1108 - fowners root:vboxusers /opt/VirtualBox/${each}
1109 - fperms 0750 /opt/VirtualBox/${each}
1110 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
1111 - done
1112 - # VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
1113 - fperms 4750 /opt/VirtualBox/VBoxNetAdpCtl
1114 - fperms 4750 /opt/VirtualBox/VBoxNetDHCP
1115 - fperms 4750 /opt/VirtualBox/VBoxNetNAT
1116 -
1117 - if ! use headless ; then
1118 - # Hardened build: Mark selected binaries set-user-ID-on-execution
1119 - for each in VBox{SDL,Headless} VirtualBox; do
1120 - fowners root:vboxusers /opt/VirtualBox/${each}
1121 - fperms 4510 /opt/VirtualBox/${each}
1122 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
1123 - done
1124 -
1125 - dosym ../VirtualBox/VBox.sh /opt/bin/VirtualBox
1126 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxSDL
1127 - else
1128 - # Hardened build: Mark selected binaries set-user-ID-on-execution
1129 - fowners root:vboxusers /opt/VirtualBox/VBoxHeadless
1130 - fperms 4510 /opt/VirtualBox/VBoxHeadless
1131 - pax-mark -m "${ED%/}"/opt/VirtualBox/VBoxHeadless
1132 - fi
1133 -
1134 - exeinto /opt/VirtualBox
1135 - newexe "${FILESDIR}/${PN}-3-wrapper" "VBox.sh"
1136 - fowners root:vboxusers /opt/VirtualBox/VBox.sh
1137 - fperms 0750 /opt/VirtualBox/VBox.sh
1138 -
1139 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxManage
1140 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxVRDP
1141 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxHeadless
1142 - dosym ../VirtualBox/VBoxTunctl /opt/bin/VBoxTunctl
1143 -
1144 - # set an env-variable for 3rd party tools
1145 - echo -n "VBOX_APP_HOME=/opt/VirtualBox" > "${T}/90virtualbox"
1146 - doenvd "${T}/90virtualbox"
1147 -
1148 - local udevdir="$(get_udevdir)"
1149 - insinto ${udevdir}/rules.d
1150 - doins "${FILESDIR}"/10-virtualbox.rules
1151 - sed "s@%UDEVDIR%@${udevdir}@" \
1152 - -i "${ED%/}"${udevdir}/rules.d/10-virtualbox.rules || die
1153 - # move udev scripts into ${udevdir} (bug #372491)
1154 - mv "${ED%/}"/opt/VirtualBox/VBoxCreateUSBNode.sh "${ED%/}"${udevdir} || die
1155 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
1156 -}
1157 -
1158 -pkg_postinst() {
1159 - xdg_desktop_database_update
1160 -
1161 - gnome2_icon_cache_update
1162 -
1163 - udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
1164 -
1165 - elog ""
1166 - if ! use headless ; then
1167 - elog "To launch VirtualBox just type: \"VirtualBox\""
1168 - elog ""
1169 - fi
1170 - elog "You must be in the vboxusers group to use VirtualBox."
1171 - elog ""
1172 - elog "For advanced networking setups you should emerge:"
1173 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
1174 - elog ""
1175 - elog "Please visit http://www.virtualbox.org/wiki/Editions for"
1176 - elog "an overview about the different features of ${PN}"
1177 - elog "and virtualbox-ose"
1178 - if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
1179 - elog ""
1180 - elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
1181 - elog "or else USB in ${PN} won't work."
1182 - fi
1183 -}
1184 -
1185 -pkg_postrm() {
1186 - xdg_desktop_database_update
1187 -}
1188
1189 diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-6.0.22.137980.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-6.0.22.137980.ebuild
1190 deleted file mode 100644
1191 index 0b44094702c..00000000000
1192 --- a/app-emulation/virtualbox-bin/virtualbox-bin-6.0.22.137980.ebuild
1193 +++ /dev/null
1194 @@ -1,292 +0,0 @@
1195 -# Copyright 1999-2020 Gentoo Authors
1196 -# Distributed under the terms of the GNU General Public License v2
1197 -
1198 -EAPI=6
1199 -
1200 -PYTHON_COMPAT=( python2_7 )
1201 -
1202 -inherit xdg-utils gnome2 pax-utils python-r1 udev unpacker eapi7-ver
1203 -
1204 -MAIN_PV="$(ver_cut 1-3)"
1205 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
1206 - MY_PV="${MAIN_PV}_$(ver_cut 5-6)"
1207 - MY_PV="${MY_PV/beta/BETA}"
1208 - MY_PV="${MY_PV/rc/RC}"
1209 -else
1210 - MY_PV="${MAIN_PV}"
1211 - KEYWORDS="~amd64" #~x86
1212 -fi
1213 -VBOX_BUILD_ID="$(ver_cut 4)"
1214 -VBOX_PV="${MY_PV}-${VBOX_BUILD_ID}"
1215 -MY_P="VirtualBox-${VBOX_PV}-Linux"
1216 -# needed as sometimes the extpack gets another build ID
1217 -EXTP_PV="${VBOX_PV}"
1218 -EXTP_PN="Oracle_VM_VirtualBox_Extension_Pack"
1219 -EXTP_P="${EXTP_PN}-${EXTP_PV}"
1220 -# needed as sometimes the SDK gets another build ID
1221 -SDK_PV="${VBOX_PV}"
1222 -SDK_P="VirtualBoxSDK-${SDK_PV}"
1223 -
1224 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
1225 -HOMEPAGE="https://www.virtualbox.org/"
1226 -SRC_URI="amd64? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_amd64.run )
1227 - https://download.virtualbox.org/virtualbox/${MY_PV}/${EXTP_P}.vbox-extpack -> ${EXTP_P}.tar.gz"
1228 - #x86? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_x86.run )
1229 -
1230 -LICENSE="GPL-2 PUEL"
1231 -SLOT="0"
1232 -IUSE="+additions +chm headless python vboxwebsrv rdesktop-vrdp"
1233 -RESTRICT="bindist mirror"
1234 -
1235 -if [[ "${PV}" != *beta* ]] ; then
1236 - SRC_URI+="
1237 - sdk? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${SDK_P}.zip )"
1238 - IUSE+=" sdk"
1239 -fi
1240 -
1241 -DEPEND="app-arch/unzip
1242 - ${PYTHON_DEPS}"
1243 -
1244 -RDEPEND="!!app-emulation/virtualbox
1245 - !app-emulation/virtualbox-additions
1246 - acct-group/vboxusers
1247 - ~app-emulation/virtualbox-modules-${MAIN_PV}
1248 - !headless? (
1249 - dev-libs/glib
1250 - media-libs/fontconfig
1251 - media-libs/freetype
1252 - media-libs/libpng
1253 - media-libs/libsdl[X]
1254 - x11-libs/libXcursor
1255 - x11-libs/libXext
1256 - x11-libs/libXfixes
1257 - x11-libs/libXft
1258 - x11-libs/libXi
1259 - x11-libs/libXinerama
1260 - x11-libs/libXrandr
1261 - x11-libs/libXrender
1262 - chm? ( dev-libs/expat )
1263 - )
1264 - dev-libs/libxml2
1265 - sys-fs/lvm2
1266 - x11-libs/libXau
1267 - x11-libs/libX11
1268 - x11-libs/libXt
1269 - x11-libs/libXmu
1270 - x11-libs/libSM
1271 - x11-libs/libICE
1272 - x11-libs/libXdmcp
1273 - ${PYTHON_DEPS}"
1274 -
1275 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
1276 -S="${WORKDIR}"
1277 -
1278 -QA_PREBUILT="opt/VirtualBox/*"
1279 -
1280 -PYTHON_UPDATER_IGNORE="1"
1281 -
1282 -src_unpack() {
1283 - unpack_makeself ${MY_P}_${ARCH}.run
1284 - unpack ./VirtualBox.tar.bz2
1285 -
1286 - mkdir "${S}"/${EXTP_PN} || die
1287 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
1288 - unpack ${EXTP_P}.tar.gz
1289 - popd &>/dev/null || die
1290 -
1291 - if [[ "${PV}" != *beta* ]] && use sdk ; then
1292 - unpack VirtualBoxSDK-${SDK_PV}.zip
1293 - fi
1294 -}
1295 -
1296 -src_configure() {
1297 - :;
1298 -}
1299 -
1300 -src_compile() {
1301 - :;
1302 -}
1303 -
1304 -src_install() {
1305 - # create virtualbox configurations files
1306 - insinto /etc/vbox
1307 - newins "${FILESDIR}/${PN}-config" vbox.cfg
1308 -
1309 - if ! use headless ; then
1310 - newmenu "${FILESDIR}"/${PN}.desktop-2 ${PN}.desktop
1311 -
1312 - # set up symlinks (bug #572012)
1313 - dosym ../../../../opt/VirtualBox/virtualbox.xml /usr/share/mime/packages/virtualbox.xml
1314 -
1315 - local size ico icofile
1316 - for size in 16 24 32 48 64 72 96 128 256 ; do
1317 - pushd "${S}"/icons/${size}x${size} &>/dev/null || die
1318 - if [[ -f "virtualbox.png" ]] ; then
1319 - doicon -s ${size} virtualbox.png
1320 - fi
1321 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
1322 - icofile="virtualbox-${ico}.png"
1323 - if [[ -f "${icofile}" ]] ; then
1324 - doicon -s ${size} ${icofile}
1325 - fi
1326 - done
1327 - popd &>/dev/null || die
1328 - done
1329 - doicon -s scalable "${S}"/icons/scalable/virtualbox.svg
1330 - insinto /usr/share/pixmaps
1331 - newins "${S}"/icons/48x48/virtualbox.png ${PN}.png
1332 - fi
1333 -
1334 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
1335 - insinto /opt/VirtualBox/ExtensionPacks/${EXTP_PN}
1336 - doins -r linux.${ARCH}
1337 - doins ExtPack* PXE-Intel.rom
1338 - popd &>/dev/null || die
1339 - rm -rf "${S}"/${EXTP_PN}
1340 -
1341 - insinto /opt/VirtualBox
1342 - dodir /opt/bin
1343 -
1344 - doins UserManual.pdf
1345 -
1346 - if [[ "${PV}" != *beta* ]] && use sdk ; then
1347 - doins -r sdk
1348 - fi
1349 -
1350 - if use additions; then
1351 - doins -r additions
1352 - fi
1353 -
1354 - if use vboxwebsrv; then
1355 - doins vboxwebsrv
1356 - fowners root:vboxusers /opt/VirtualBox/vboxwebsrv
1357 - fperms 0750 /opt/VirtualBox/vboxwebsrv
1358 - dosym ../../opt/VirtualBox/VBox.sh /opt/bin/vboxwebsrv
1359 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
1360 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
1361 - fi
1362 -
1363 - if use rdesktop-vrdp; then
1364 - doins rdesktop-vrdp
1365 - doins -r rdesktop-vrdp-keymaps
1366 - fperms 0750 /opt/VirtualBox/rdesktop-vrdp
1367 - dosym ../../opt/VirtualBox/rdesktop-vrdp /opt/bin/rdesktop-vrdp
1368 - fi
1369 -
1370 - if ! use headless && use chm; then
1371 - doins kchmviewer VirtualBox.chm
1372 - fowners root:vboxusers /opt/VirtualBox/kchmviewer
1373 - fperms 0750 /opt/VirtualBox/kchmviewer
1374 - fi
1375 -
1376 - # This ebuild / package supports only py2.7. When py3 comes is unknown.
1377 - # The compile phase makes VBoxPython2_7.so.
1378 - # py3 support would presumably require a binary pre-compiled by py3.
1379 - use python && doins VBoxPython.so
1380 -
1381 - rm -rf src rdesktop* deffiles install* routines.sh runlevel.sh \
1382 - vboxdrv.sh VBox.sh VBox.png vboxnet.sh additions VirtualBox.desktop \
1383 - VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \
1384 - webtest kchmviewer VirtualBox.chm vbox-create-usb-node.sh \
1385 - 90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py \
1386 - VBoxPython?_*.so
1387 -
1388 - if use headless ; then
1389 - rm -rf VBoxSDL VirtualBox{,VM} VBoxKeyboard.so
1390 - fi
1391 -
1392 - doins -r *
1393 -
1394 - # create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
1395 - dosym ../VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
1396 - dosym ../VBoxREM.so /opt/VirtualBox/components/VBoxREM.so
1397 - dosym ../VBoxRT.so /opt/VirtualBox/components/VBoxRT.so
1398 - dosym ../VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so
1399 - dosym ../VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
1400 -
1401 - local each
1402 - for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,TestOGL,ExtPackHelperApp} $(usex headless '' VirtualBox) ; do
1403 - fowners root:vboxusers /opt/VirtualBox/${each}
1404 - fperms 0750 /opt/VirtualBox/${each}
1405 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
1406 - done
1407 - # VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
1408 - for each in VBoxNet{AdpCtl,DHCP,NAT} $(usex headless '' VirtualBoxVM) ; do
1409 - fowners root:vboxusers /opt/VirtualBox/${each}
1410 - fperms 4750 /opt/VirtualBox/${each}
1411 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
1412 - done
1413 -
1414 - if ! use headless ; then
1415 - # Hardened build: Mark selected binaries set-user-ID-on-execution
1416 - for each in VBox{SDL,Headless} ; do
1417 - fowners root:vboxusers /opt/VirtualBox/${each}
1418 - fperms 4510 /opt/VirtualBox/${each}
1419 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
1420 - done
1421 -
1422 - dosym ../VirtualBox/VBox.sh /opt/bin/VirtualBox
1423 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxSDL
1424 - else
1425 - # Hardened build: Mark selected binaries set-user-ID-on-execution
1426 - fowners root:vboxusers /opt/VirtualBox/VBoxHeadless
1427 - fperms 4510 /opt/VirtualBox/VBoxHeadless
1428 - pax-mark -m "${ED%/}"/opt/VirtualBox/VBoxHeadless
1429 - fi
1430 -
1431 - exeinto /opt/VirtualBox
1432 - newexe "${FILESDIR}/${PN}-3-wrapper" "VBox.sh"
1433 - fowners root:vboxusers /opt/VirtualBox/VBox.sh
1434 - fperms 0750 /opt/VirtualBox/VBox.sh
1435 -
1436 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxManage
1437 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxVRDP
1438 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxHeadless
1439 - dosym ../VirtualBox/VBoxTunctl /opt/bin/VBoxTunctl
1440 -
1441 - # set an env-variable for 3rd party tools
1442 - echo -n "VBOX_APP_HOME=/opt/VirtualBox" > "${T}/90virtualbox"
1443 - doenvd "${T}/90virtualbox"
1444 -
1445 - local udevdir="$(get_udevdir)"
1446 - insinto ${udevdir}/rules.d
1447 - doins "${FILESDIR}"/10-virtualbox.rules
1448 - sed "s@%UDEVDIR%@${udevdir}@" \
1449 - -i "${ED%/}"${udevdir}/rules.d/10-virtualbox.rules || die
1450 - # move udev scripts into ${udevdir} (bug #372491)
1451 - mv "${ED%/}"/opt/VirtualBox/VBoxCreateUSBNode.sh "${ED%/}"${udevdir} || die
1452 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
1453 -}
1454 -
1455 -pkg_postinst() {
1456 - xdg_icon_cache_update
1457 - xdg_desktop_database_update
1458 - xdg_mimeinfo_database_update
1459 -
1460 - udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
1461 -
1462 - elog ""
1463 - if ! use headless ; then
1464 - elog "To launch VirtualBox just type: \"VirtualBox\""
1465 - elog ""
1466 - fi
1467 - elog "You must be in the vboxusers group to use VirtualBox."
1468 - elog ""
1469 - elog "For advanced networking setups you should emerge:"
1470 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
1471 - elog ""
1472 - elog "Please visit http://www.virtualbox.org/wiki/Editions for"
1473 - elog "an overview about the different features of ${PN}"
1474 - elog "and virtualbox-ose"
1475 - if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
1476 - elog ""
1477 - elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
1478 - elog "or else USB in ${PN} won't work."
1479 - fi
1480 -}
1481 -
1482 -pkg_postrm() {
1483 - xdg_icon_cache_update
1484 - xdg_desktop_database_update
1485 - xdg_mimeinfo_database_update
1486 -}
1487
1488 diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-6.1.10.138449.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-6.1.10.138449.ebuild
1489 deleted file mode 100644
1490 index 067dfbaf487..00000000000
1491 --- a/app-emulation/virtualbox-bin/virtualbox-bin-6.1.10.138449.ebuild
1492 +++ /dev/null
1493 @@ -1,292 +0,0 @@
1494 -# Copyright 1999-2020 Gentoo Authors
1495 -# Distributed under the terms of the GNU General Public License v2
1496 -
1497 -EAPI=6
1498 -
1499 -PYTHON_COMPAT=( python2_7 )
1500 -
1501 -inherit xdg-utils gnome2 pax-utils python-r1 udev unpacker eapi7-ver
1502 -
1503 -MAIN_PV="$(ver_cut 1-3)"
1504 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
1505 - MY_PV="${MAIN_PV}_$(ver_cut 5-6)"
1506 - MY_PV="${MY_PV/beta/BETA}"
1507 - MY_PV="${MY_PV/rc/RC}"
1508 -else
1509 - MY_PV="${MAIN_PV}"
1510 - KEYWORDS="~amd64" #~x86
1511 -fi
1512 -VBOX_BUILD_ID="$(ver_cut 4)"
1513 -VBOX_PV="${MY_PV}-${VBOX_BUILD_ID}"
1514 -MY_P="VirtualBox-${VBOX_PV}-Linux"
1515 -# needed as sometimes the extpack gets another build ID
1516 -EXTP_PV="${VBOX_PV}"
1517 -EXTP_PN="Oracle_VM_VirtualBox_Extension_Pack"
1518 -EXTP_P="${EXTP_PN}-${EXTP_PV}"
1519 -# needed as sometimes the SDK gets another build ID
1520 -SDK_PV="${VBOX_PV}"
1521 -SDK_P="VirtualBoxSDK-${SDK_PV}"
1522 -
1523 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
1524 -HOMEPAGE="https://www.virtualbox.org/"
1525 -SRC_URI="amd64? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_amd64.run )
1526 - https://download.virtualbox.org/virtualbox/${MY_PV}/${EXTP_P}.vbox-extpack -> ${EXTP_P}.tar.gz"
1527 - #x86? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_x86.run )
1528 -
1529 -LICENSE="GPL-2 PUEL"
1530 -SLOT="0"
1531 -IUSE="+additions +chm headless python vboxwebsrv rdesktop-vrdp"
1532 -RESTRICT="bindist mirror"
1533 -
1534 -if [[ "${PV}" != *beta* ]] ; then
1535 - SRC_URI+="
1536 - sdk? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${SDK_P}.zip )"
1537 - IUSE+=" sdk"
1538 -fi
1539 -
1540 -DEPEND="app-arch/unzip
1541 - ${PYTHON_DEPS}"
1542 -
1543 -RDEPEND="!!app-emulation/virtualbox
1544 - !app-emulation/virtualbox-additions
1545 - acct-group/vboxusers
1546 - ~app-emulation/virtualbox-modules-${MY_PV,,}
1547 - !headless? (
1548 - dev-libs/glib
1549 - media-libs/fontconfig
1550 - media-libs/freetype
1551 - media-libs/libpng
1552 - media-libs/libsdl[X]
1553 - x11-libs/libXcursor
1554 - x11-libs/libXext
1555 - x11-libs/libXfixes
1556 - x11-libs/libXft
1557 - x11-libs/libXi
1558 - x11-libs/libXinerama
1559 - x11-libs/libXrandr
1560 - x11-libs/libXrender
1561 - chm? ( dev-libs/expat )
1562 - )
1563 - dev-libs/libxml2
1564 - sys-fs/lvm2
1565 - x11-libs/libXau
1566 - x11-libs/libX11
1567 - x11-libs/libXt
1568 - x11-libs/libXmu
1569 - x11-libs/libSM
1570 - x11-libs/libICE
1571 - x11-libs/libXdmcp
1572 - ${PYTHON_DEPS}"
1573 -
1574 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
1575 -S="${WORKDIR}"
1576 -
1577 -QA_PREBUILT="opt/VirtualBox/*"
1578 -
1579 -PYTHON_UPDATER_IGNORE="1"
1580 -
1581 -src_unpack() {
1582 - unpack_makeself ${MY_P}_${ARCH}.run
1583 - unpack ./VirtualBox.tar.bz2
1584 -
1585 - mkdir "${S}"/${EXTP_PN} || die
1586 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
1587 - unpack ${EXTP_P}.tar.gz
1588 - popd &>/dev/null || die
1589 -
1590 - if [[ "${PV}" != *beta* ]] && use sdk ; then
1591 - unpack VirtualBoxSDK-${SDK_PV}.zip
1592 - fi
1593 -}
1594 -
1595 -src_configure() {
1596 - :;
1597 -}
1598 -
1599 -src_compile() {
1600 - :;
1601 -}
1602 -
1603 -src_install() {
1604 - # create virtualbox configurations files
1605 - insinto /etc/vbox
1606 - newins "${FILESDIR}/${PN}-config" vbox.cfg
1607 -
1608 - if ! use headless ; then
1609 - newmenu "${FILESDIR}"/${PN}.desktop-2 ${PN}.desktop
1610 -
1611 - # set up symlinks (bug #572012)
1612 - dosym ../../../../opt/VirtualBox/virtualbox.xml /usr/share/mime/packages/virtualbox.xml
1613 -
1614 - local size ico icofile
1615 - for size in 16 24 32 48 64 72 96 128 256 ; do
1616 - pushd "${S}"/icons/${size}x${size} &>/dev/null || die
1617 - if [[ -f "virtualbox.png" ]] ; then
1618 - doicon -s ${size} virtualbox.png
1619 - fi
1620 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
1621 - icofile="virtualbox-${ico}.png"
1622 - if [[ -f "${icofile}" ]] ; then
1623 - doicon -s ${size} ${icofile}
1624 - fi
1625 - done
1626 - popd &>/dev/null || die
1627 - done
1628 - doicon -s scalable "${S}"/icons/scalable/virtualbox.svg
1629 - insinto /usr/share/pixmaps
1630 - newins "${S}"/icons/48x48/virtualbox.png ${PN}.png
1631 - fi
1632 -
1633 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
1634 - insinto /opt/VirtualBox/ExtensionPacks/${EXTP_PN}
1635 - doins -r linux.${ARCH}
1636 - doins ExtPack* PXE-Intel.rom
1637 - popd &>/dev/null || die
1638 - rm -rf "${S}"/${EXTP_PN}
1639 -
1640 - insinto /opt/VirtualBox
1641 - dodir /opt/bin
1642 -
1643 - doins UserManual.pdf
1644 -
1645 - if [[ "${PV}" != *beta* ]] && use sdk ; then
1646 - doins -r sdk
1647 - fi
1648 -
1649 - if use additions; then
1650 - doins -r additions
1651 - fi
1652 -
1653 - if use vboxwebsrv; then
1654 - doins vboxwebsrv
1655 - fowners root:vboxusers /opt/VirtualBox/vboxwebsrv
1656 - fperms 0750 /opt/VirtualBox/vboxwebsrv
1657 - dosym ../../opt/VirtualBox/VBox.sh /opt/bin/vboxwebsrv
1658 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
1659 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
1660 - fi
1661 -
1662 - if use rdesktop-vrdp; then
1663 - doins rdesktop-vrdp
1664 - doins -r rdesktop-vrdp-keymaps
1665 - fperms 0750 /opt/VirtualBox/rdesktop-vrdp
1666 - dosym ../../opt/VirtualBox/rdesktop-vrdp /opt/bin/rdesktop-vrdp
1667 - fi
1668 -
1669 - if ! use headless && use chm; then
1670 - doins kchmviewer VirtualBox.chm
1671 - fowners root:vboxusers /opt/VirtualBox/kchmviewer
1672 - fperms 0750 /opt/VirtualBox/kchmviewer
1673 - fi
1674 -
1675 - # This ebuild / package supports only py2.7. When py3 comes is unknown.
1676 - # The compile phase makes VBoxPython2_7.so.
1677 - # py3 support would presumably require a binary pre-compiled by py3.
1678 - use python && doins VBoxPython.so
1679 -
1680 - rm -rf src rdesktop* deffiles install* routines.sh runlevel.sh \
1681 - vboxdrv.sh VBox.sh VBox.png vboxnet.sh additions VirtualBox.desktop \
1682 - VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \
1683 - webtest kchmviewer VirtualBox.chm vbox-create-usb-node.sh \
1684 - 90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py \
1685 - VBoxPython?_*.so
1686 -
1687 - if use headless ; then
1688 - rm -rf VBoxSDL VirtualBox{,VM} VBoxKeyboard.so
1689 - fi
1690 -
1691 - doins -r *
1692 -
1693 - # create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
1694 - dosym ../VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
1695 - dosym ../VBoxREM.so /opt/VirtualBox/components/VBoxREM.so
1696 - dosym ../VBoxRT.so /opt/VirtualBox/components/VBoxRT.so
1697 - dosym ../VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so
1698 - dosym ../VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
1699 -
1700 - local each
1701 - for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,TestOGL,ExtPackHelperApp} $(usex headless '' VirtualBox) ; do
1702 - fowners root:vboxusers /opt/VirtualBox/${each}
1703 - fperms 0750 /opt/VirtualBox/${each}
1704 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
1705 - done
1706 - # VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
1707 - for each in VBoxNet{AdpCtl,DHCP,NAT} $(usex headless '' VirtualBoxVM) ; do
1708 - fowners root:vboxusers /opt/VirtualBox/${each}
1709 - fperms 4750 /opt/VirtualBox/${each}
1710 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
1711 - done
1712 -
1713 - if ! use headless ; then
1714 - # Hardened build: Mark selected binaries set-user-ID-on-execution
1715 - for each in VBox{SDL,Headless} ; do
1716 - fowners root:vboxusers /opt/VirtualBox/${each}
1717 - fperms 4510 /opt/VirtualBox/${each}
1718 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
1719 - done
1720 -
1721 - dosym ../VirtualBox/VBox.sh /opt/bin/VirtualBox
1722 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxSDL
1723 - else
1724 - # Hardened build: Mark selected binaries set-user-ID-on-execution
1725 - fowners root:vboxusers /opt/VirtualBox/VBoxHeadless
1726 - fperms 4510 /opt/VirtualBox/VBoxHeadless
1727 - pax-mark -m "${ED%/}"/opt/VirtualBox/VBoxHeadless
1728 - fi
1729 -
1730 - exeinto /opt/VirtualBox
1731 - newexe "${FILESDIR}/${PN}-3-wrapper" "VBox.sh"
1732 - fowners root:vboxusers /opt/VirtualBox/VBox.sh
1733 - fperms 0750 /opt/VirtualBox/VBox.sh
1734 -
1735 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxManage
1736 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxVRDP
1737 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxHeadless
1738 - dosym ../VirtualBox/VBoxTunctl /opt/bin/VBoxTunctl
1739 -
1740 - # set an env-variable for 3rd party tools
1741 - echo -n "VBOX_APP_HOME=/opt/VirtualBox" > "${T}/90virtualbox"
1742 - doenvd "${T}/90virtualbox"
1743 -
1744 - local udevdir="$(get_udevdir)"
1745 - insinto ${udevdir}/rules.d
1746 - doins "${FILESDIR}"/10-virtualbox.rules
1747 - sed "s@%UDEVDIR%@${udevdir}@" \
1748 - -i "${ED%/}"${udevdir}/rules.d/10-virtualbox.rules || die
1749 - # move udev scripts into ${udevdir} (bug #372491)
1750 - mv "${ED%/}"/opt/VirtualBox/VBoxCreateUSBNode.sh "${ED%/}"${udevdir} || die
1751 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
1752 -}
1753 -
1754 -pkg_postinst() {
1755 - xdg_icon_cache_update
1756 - xdg_desktop_database_update
1757 - xdg_mimeinfo_database_update
1758 -
1759 - udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
1760 -
1761 - elog ""
1762 - if ! use headless ; then
1763 - elog "To launch VirtualBox just type: \"VirtualBox\""
1764 - elog ""
1765 - fi
1766 - elog "You must be in the vboxusers group to use VirtualBox."
1767 - elog ""
1768 - elog "For advanced networking setups you should emerge:"
1769 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
1770 - elog ""
1771 - elog "Please visit http://www.virtualbox.org/wiki/Editions for"
1772 - elog "an overview about the different features of ${PN}"
1773 - elog "and virtualbox-ose"
1774 - if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
1775 - elog ""
1776 - elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
1777 - elog "or else USB in ${PN} won't work."
1778 - fi
1779 -}
1780 -
1781 -pkg_postrm() {
1782 - xdg_icon_cache_update
1783 - xdg_desktop_database_update
1784 - xdg_mimeinfo_database_update
1785 -}
1786
1787 diff --git a/app-emulation/virtualbox-extpack-oracle/Manifest b/app-emulation/virtualbox-extpack-oracle/Manifest
1788 index 2e75814a779..771720bcbdc 100644
1789 --- a/app-emulation/virtualbox-extpack-oracle/Manifest
1790 +++ b/app-emulation/virtualbox-extpack-oracle/Manifest
1791 @@ -1,8 +1,3 @@
1792 -DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.40-137108.tar.gz 26737982 BLAKE2B 4a050067c0111929fe73695ec4f057e6b33cb224c034ca564beb65cc4fb73491b2c03e0b88ddb77ede5fbd392b0e0c9eae3226f937998b2c06484ff083b4a714 SHA512 5e3e528707b7f3eab19db5358258a69518996a98364e57df9853a549d7310b8db58b40041470f263b212fe6e2bb163e745a3b9b7567c681834d99442289407f4
1793 -DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.42-137960.tar.gz 26740542 BLAKE2B 0246148d436c163eab0363b6b5ed05ec43f2ce9a1124ef504cdf9f30e0bdd479567225f013d2fa2ef39bae0af18e60ef4996d37f65552cca74d8fc76d2976f40 SHA512 0f3a963abf99599094d6bff9617d401338209ce6dba08285a006e17a68b927cd19ea5e17151afc5466c9e00df1fe75ca01fdc5d11a45be5a9d7d4e7649916fc6
1794 -DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.44-139111.tar.gz 26740456 BLAKE2B dfec5893d0cf194bfe277c834e8477a0a3c91c5e8426b14155e8c5e34e949130d1402ee823bb698a3025834d196608d82b54df240ba1adbd8d8bc2967608f9a9 SHA512 f3a09b906df41c1de008ac7abe80cde9076a24a3175e9ac84101b95ccabeb9b374660b6d23b131ad27ed9038b4916201b0166d98e0c18e346af4132bc44000c9
1795 -DIST Oracle_VM_VirtualBox_Extension_Pack-6.0.22-137980.tar.gz 23238402 BLAKE2B ea7105747fe776475ae66bf99354017c7a3e33343bb044722ccf5245daefa33581e2092fd04e03e9916b1150a7b46eb691ef4faaf28ecedb82a8e5c66b02a22f SHA512 c45cad50fbb521307fed127499955c261416fbc6958e87770238ef45865caefdd61837db17d61e57ef030a712f53ec1f452b89849fa5f7881f3cd62d481185eb
1796 DIST Oracle_VM_VirtualBox_Extension_Pack-6.0.24-139119.tar.gz 23238486 BLAKE2B cad4e6822b51db05fb0b919f4c44ace1743a9d2b5ebcc0da6fe3c9ec43612ec6079614f5d3a9423c320e65b5438089aeef42f331946eb74093e3f8b1ef137300 SHA512 4be76fffb8508dda561e74daf68c71641a0903e554ecdf6b102f3fe35af03883bc88c2ac3cbdae2b3ddfb7ee5c9bdfa8df670662eef139f2a894dea4aa6f2e18
1797 -DIST Oracle_VM_VirtualBox_Extension_Pack-6.1.10-138449.tar.gz 10999054 BLAKE2B cf802b561882541399baff74c2d75b33aa70bf8f909b616bbddcde0d98b41927f65ec5ac25e5d89598ae931c1c3c9fe7cc9cba17cb52b87b8d7f46ef935a376b SHA512 9cea8f8547eb4e90df1ec43ee4d2bf4be17f6ec8dd62013589f23019a30e0dd15e37945dca67790628d3f49d6103cf1dc9c53344589d2ce785fef8acf7c81cb9
1798 DIST Oracle_VM_VirtualBox_Extension_Pack-6.1.12-139181.tar.gz 11141691 BLAKE2B ac4cae428d15fa503b47337c5d2bab3e21197b82192fa2009216e438d06b867b17a62890c7525d232919751a5eec770f0ecd835c93aa3e67bcbf13b94d8d5344 SHA512 2abc9f6aaadfd6b0bb65df7eb9c45155ea2ec0d215aedd7589a76753b7323fef47c4799322ed973ef92baf1d64835dc813a235001be2cf4e166e474d5b6e2afc
1799 DIST Oracle_VM_VirtualBox_Extension_Pack-6.1.14-140239.tar.gz 11145475 BLAKE2B fe64288068cfeb17da5b7583b5218de74dade2f3a994ef46e43bf7811cfeabae3d48f6bb200882892205d5a10294c38296e51e31c900af4cffd402030a85e3b3 SHA512 436ed94cec32365b9b19fe170323519543d18fcdad28eac09438c2238d68e452b25a415d69f244fd26b4c117fc5e2b33c8bd2fb63b31805f62ed9d59500eb304
1800
1801 diff --git a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.2.40.137108.ebuild b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.2.40.137108.ebuild
1802 deleted file mode 100644
1803 index c9bac80326d..00000000000
1804 --- a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.2.40.137108.ebuild
1805 +++ /dev/null
1806 @@ -1,42 +0,0 @@
1807 -# Copyright 1999-2020 Gentoo Authors
1808 -# Distributed under the terms of the GNU General Public License v2
1809 -
1810 -EAPI=7
1811 -
1812 -inherit multilib
1813 -
1814 -MAIN_PV="$(ver_cut 1-3)"
1815 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
1816 - MY_PV="${MAIN_PV}_$(ver_cut 5)"
1817 - DEP_PV="${MY_PV}"
1818 - MY_PV="${MY_PV/beta/BETA}"
1819 - MY_PV="${MY_PV/rc/RC}"
1820 -else
1821 - MY_PV="${MAIN_PV}"
1822 - DEP_PV="${MAIN_PV}"
1823 -fi
1824 -VBOX_BUILD_ID="$(ver_cut 4)"
1825 -MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
1826 -MY_P="${MY_PN}-${MY_PV}-${VBOX_BUILD_ID}"
1827 -
1828 -DESCRIPTION="PUEL extensions for VirtualBox"
1829 -HOMEPAGE="https://www.virtualbox.org/"
1830 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.vbox-extpack -> ${MY_P}.tar.gz"
1831 -
1832 -LICENSE="PUEL-10"
1833 -SLOT="0"
1834 -KEYWORDS="amd64 x86"
1835 -IUSE=""
1836 -RESTRICT="bindist mirror strip"
1837 -
1838 -RDEPEND="~app-emulation/virtualbox-${DEP_PV}"
1839 -
1840 -S="${WORKDIR}"
1841 -
1842 -QA_PREBUILT="/usr/lib*/virtualbox/ExtensionPacks/${MY_PN}/.*"
1843 -
1844 -src_install() {
1845 - insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}
1846 - doins -r linux.${ARCH}
1847 - doins ExtPack* PXE-Intel.rom
1848 -}
1849
1850 diff --git a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.2.42.137960.ebuild b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.2.42.137960.ebuild
1851 deleted file mode 100644
1852 index 2fc240e4fcb..00000000000
1853 --- a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.2.42.137960.ebuild
1854 +++ /dev/null
1855 @@ -1,42 +0,0 @@
1856 -# Copyright 1999-2020 Gentoo Authors
1857 -# Distributed under the terms of the GNU General Public License v2
1858 -
1859 -EAPI=7
1860 -
1861 -inherit multilib
1862 -
1863 -MAIN_PV="$(ver_cut 1-3)"
1864 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
1865 - MY_PV="${MAIN_PV}_$(ver_cut 5)"
1866 - DEP_PV="${MY_PV}"
1867 - MY_PV="${MY_PV/beta/BETA}"
1868 - MY_PV="${MY_PV/rc/RC}"
1869 -else
1870 - MY_PV="${MAIN_PV}"
1871 - DEP_PV="${MAIN_PV}"
1872 -fi
1873 -VBOX_BUILD_ID="$(ver_cut 4)"
1874 -MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
1875 -MY_P="${MY_PN}-${MY_PV}-${VBOX_BUILD_ID}"
1876 -
1877 -DESCRIPTION="PUEL extensions for VirtualBox"
1878 -HOMEPAGE="https://www.virtualbox.org/"
1879 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.vbox-extpack -> ${MY_P}.tar.gz"
1880 -
1881 -LICENSE="PUEL"
1882 -SLOT="0"
1883 -KEYWORDS="~amd64 ~x86"
1884 -IUSE=""
1885 -RESTRICT="bindist mirror strip"
1886 -
1887 -RDEPEND="~app-emulation/virtualbox-${DEP_PV}"
1888 -
1889 -S="${WORKDIR}"
1890 -
1891 -QA_PREBUILT="/usr/lib*/virtualbox/ExtensionPacks/${MY_PN}/.*"
1892 -
1893 -src_install() {
1894 - insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}
1895 - doins -r linux.${ARCH}
1896 - doins ExtPack* PXE-Intel.rom
1897 -}
1898
1899 diff --git a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.2.44.139111.ebuild b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.2.44.139111.ebuild
1900 deleted file mode 100644
1901 index 2fc240e4fcb..00000000000
1902 --- a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.2.44.139111.ebuild
1903 +++ /dev/null
1904 @@ -1,42 +0,0 @@
1905 -# Copyright 1999-2020 Gentoo Authors
1906 -# Distributed under the terms of the GNU General Public License v2
1907 -
1908 -EAPI=7
1909 -
1910 -inherit multilib
1911 -
1912 -MAIN_PV="$(ver_cut 1-3)"
1913 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
1914 - MY_PV="${MAIN_PV}_$(ver_cut 5)"
1915 - DEP_PV="${MY_PV}"
1916 - MY_PV="${MY_PV/beta/BETA}"
1917 - MY_PV="${MY_PV/rc/RC}"
1918 -else
1919 - MY_PV="${MAIN_PV}"
1920 - DEP_PV="${MAIN_PV}"
1921 -fi
1922 -VBOX_BUILD_ID="$(ver_cut 4)"
1923 -MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
1924 -MY_P="${MY_PN}-${MY_PV}-${VBOX_BUILD_ID}"
1925 -
1926 -DESCRIPTION="PUEL extensions for VirtualBox"
1927 -HOMEPAGE="https://www.virtualbox.org/"
1928 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.vbox-extpack -> ${MY_P}.tar.gz"
1929 -
1930 -LICENSE="PUEL"
1931 -SLOT="0"
1932 -KEYWORDS="~amd64 ~x86"
1933 -IUSE=""
1934 -RESTRICT="bindist mirror strip"
1935 -
1936 -RDEPEND="~app-emulation/virtualbox-${DEP_PV}"
1937 -
1938 -S="${WORKDIR}"
1939 -
1940 -QA_PREBUILT="/usr/lib*/virtualbox/ExtensionPacks/${MY_PN}/.*"
1941 -
1942 -src_install() {
1943 - insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}
1944 - doins -r linux.${ARCH}
1945 - doins ExtPack* PXE-Intel.rom
1946 -}
1947
1948 diff --git a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-6.0.22.137980.ebuild b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-6.0.22.137980.ebuild
1949 deleted file mode 100644
1950 index f47c45cca29..00000000000
1951 --- a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-6.0.22.137980.ebuild
1952 +++ /dev/null
1953 @@ -1,43 +0,0 @@
1954 -# Copyright 1999-2020 Gentoo Authors
1955 -# Distributed under the terms of the GNU General Public License v2
1956 -
1957 -EAPI=7
1958 -
1959 -inherit multilib
1960 -
1961 -MAIN_PV="$(ver_cut 1-3)"
1962 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
1963 - MY_PV="${MAIN_PV}_$(ver_cut 5-6)"
1964 - DEP_PV="${MY_PV}"
1965 - MY_PV="${MY_PV/beta/BETA}"
1966 - MY_PV="${MY_PV/rc/RC}"
1967 -else
1968 - MY_PV="${MAIN_PV}"
1969 - DEP_PV="${MAIN_PV}"
1970 -fi
1971 -VBOX_BUILD_ID="$(ver_cut 4)"
1972 -MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
1973 -MY_P="${MY_PN}-${MY_PV}-${VBOX_BUILD_ID}"
1974 -
1975 -DESCRIPTION="PUEL extensions for VirtualBox"
1976 -HOMEPAGE="https://www.virtualbox.org/"
1977 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.vbox-extpack -> ${MY_P}.tar.gz"
1978 -
1979 -LICENSE="PUEL"
1980 -SLOT="0"
1981 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
1982 -KEYWORDS="~amd64 ~x86"
1983 -IUSE=""
1984 -RESTRICT="bindist mirror strip"
1985 -
1986 -RDEPEND="~app-emulation/virtualbox-${DEP_PV}"
1987 -
1988 -S="${WORKDIR}"
1989 -
1990 -QA_PREBUILT="/usr/lib*/virtualbox/ExtensionPacks/${MY_PN}/.*"
1991 -
1992 -src_install() {
1993 - insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}
1994 - doins -r linux.${ARCH}
1995 - doins ExtPack* PXE-Intel.rom
1996 -}
1997
1998 diff --git a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-6.1.10.138449.ebuild b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-6.1.10.138449.ebuild
1999 deleted file mode 100644
2000 index 80cbd84e950..00000000000
2001 --- a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-6.1.10.138449.ebuild
2002 +++ /dev/null
2003 @@ -1,43 +0,0 @@
2004 -# Copyright 1999-2020 Gentoo Authors
2005 -# Distributed under the terms of the GNU General Public License v2
2006 -
2007 -EAPI=7
2008 -
2009 -inherit multilib
2010 -
2011 -MAIN_PV="$(ver_cut 1-3)"
2012 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
2013 - MY_PV="${MAIN_PV}_$(ver_cut 5-6)"
2014 - DEP_PV="${MY_PV}"
2015 - MY_PV="${MY_PV/beta/BETA}"
2016 - MY_PV="${MY_PV/rc/RC}"
2017 -else
2018 - MY_PV="${MAIN_PV}"
2019 - DEP_PV="${MAIN_PV}"
2020 -fi
2021 -VBOX_BUILD_ID="$(ver_cut 4)"
2022 -MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
2023 -MY_P="${MY_PN}-${MY_PV}-${VBOX_BUILD_ID}"
2024 -
2025 -DESCRIPTION="PUEL extensions for VirtualBox"
2026 -HOMEPAGE="https://www.virtualbox.org/"
2027 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.vbox-extpack -> ${MY_P}.tar.gz"
2028 -
2029 -LICENSE="PUEL"
2030 -SLOT="0"
2031 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
2032 -KEYWORDS="~amd64"
2033 -IUSE=""
2034 -RESTRICT="bindist mirror strip"
2035 -
2036 -RDEPEND="~app-emulation/virtualbox-${DEP_PV}"
2037 -
2038 -S="${WORKDIR}"
2039 -
2040 -QA_PREBUILT="/usr/lib*/virtualbox/ExtensionPacks/${MY_PN}/.*"
2041 -
2042 -src_install() {
2043 - insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}
2044 - doins -r linux.${ARCH}
2045 - doins ExtPack* PXE-Intel.rom
2046 -}
2047
2048 diff --git a/app-emulation/virtualbox-guest-additions/Manifest b/app-emulation/virtualbox-guest-additions/Manifest
2049 index 9e05bae427c..b70f663ffd9 100644
2050 --- a/app-emulation/virtualbox-guest-additions/Manifest
2051 +++ b/app-emulation/virtualbox-guest-additions/Manifest
2052 @@ -1,14 +1,5 @@
2053 -DIST VirtualBox-5.2.40.tar.bz2 118285273 BLAKE2B 5d1fa572522c0a4d0124b49d68ec6f2bf240431bbe9ebd3dcf34252cc4710ec158c295c3cdb9628f045ce672a840b251b644cd92131cd4ff5ec9eab958609bc6 SHA512 3632c7184593350e484b055f85040f2a1883db4c228b04dc41e36d60de6e3123284cc9eb89ee0eba68bcd317dfdf1a5bb8594738108ea642528cafba965f3a18
2054 -DIST VirtualBox-5.2.42.tar.bz2 124013981 BLAKE2B e22c80861727b14175db6eb476e78ad620e35cdfd480e83331306bbc251e1cf6d21a3dba15b0db1c516c530f0a58dca7d9c70748c8b194a2cf5fe7dfc9c0b80c SHA512 d396d34c0cbc652ad66b7c0e5b8bf206f29e751612543173f01f498f16e113ace0da64e674cd398c1fc0309f46ff99823c8b1000ffc8a7a453bcf8646af2900a
2055 -DIST VirtualBox-5.2.44.tar.bz2 124016934 BLAKE2B da75f107a16d28663a491846a730541b406b68b34962c5ac8bbaee5c05558a2ca1a80ebe67b993bad95b0df5ea5f599e33d037d566e03427dff7e02769ac14d6 SHA512 329b5f8bc4902214d740b2089731c41d1185e76621a5438045e13d03dae739f902fb159b70cb22d1fecbecdf5c2b516ef49ad426cdc606a018e65713dec4ed26
2056 -DIST VirtualBox-6.0.22.tar.bz2 159831666 BLAKE2B 7c8878aec9ce1d5caf44677fa64119f0c0e99a111780a68c93702ff6681c48760d9622e91260b92096ca881fdf715bcb382e6eb2112b82567232b0014f1d975d SHA512 83aa7469e99abbe2d9da99102fb4e15bc5347bae06fe954f82d07eaaeccded1d92cf56b01c238c6cbc2b611fcb30e5dd6af91444278c166529c5b8972acdb657
2057 DIST VirtualBox-6.0.24.tar.bz2 159833756 BLAKE2B 321f7988a5b55a794e2d51937a0752d96eaefb376c12e2fb23be08dff81b164153e19a7d5963a0404f630fb38d6047b9d954a67923f26b2aa16d861a0c6a1b63 SHA512 e6f98d0036cdebc52c78c5ddbce369d9ef0a036c366647b299060e1ccf6942f6b6f899201dfa08c410a039f353b767a41a0d14579c741dc5c034a035cb16c534
2058 -DIST VirtualBox-6.1.10.tar.bz2 164989732 BLAKE2B 0f6d681462245dec10f651c1fac9e7ff5ee1e361d86cb764d84df46a4a51a0e413f8b1ab233e34af53fa3fda14ca17542e4d5c148e857548e03ff80ad2af22ee SHA512 729840d669281ed3ba2936923a50410e52bcec3fcfd5b6b740d5991aa1c25c2a8f5a5a05b4e3e39ef1a271ab3431d4c4f4b3a1262703d1e281d7111f0d4e8a3b
2059 DIST VirtualBox-6.1.12a.tar.bz2 165246721 BLAKE2B e9ee7c10d92b151ab10833c68d0c71a09419bba4dbf86f21401263a98273f5ad5cf628347215d641e80e11d8e77bafeda606822cdd4d02344490fca6b95814ef SHA512 27fe66daf7fa254d9fc4a2cca4a8bbcfbfe6c3387a9f4a740c8ac1297587b5083bccbeef97dcc4e482c4974c843450212e02415b4952eb38b82e179615741193
2060 DIST VirtualBox-6.1.14a.tar.bz2 165962245 BLAKE2B 7f064ea58f7e4f36a0cda9badc7d16d5e95246de923ab9d179688c7f2f020625efa89c592aceec59d54f1c48934b20674594cc6a63f3f42e9fef39cfd5803027 SHA512 7bdf248b53c517923afc46998e46f63271f71ee73fa6826f367828128944895b2d672d7fc4d05f222e6d45897269fe699f7360ee1534c96450e2cc7bc14c0f13
2061 -DIST virtualbox-5.2.36-patches-01.tar.xz 3440 BLAKE2B 66749efba87d82ed4a11ff09444c68f86f82a360e9dbb44fa6072d6c28120f3c23cff8c15bacbd38bce8b69b3d8f35c4d3d493684df962ea6e353eec413dcc38 SHA512 3cf2526d209a54e94cd94840793769fd96fa988e21555d76eda2207a7f87e04b446a28ac6c8a2954e7c00a35107c144cadaec276d171214acdcc2900eb41306c
2062 -DIST virtualbox-5.2.44-patches-01.tar.xz 3608 BLAKE2B 6656f1eef7281dcd89e685cfc5403a6e7cd8d3f226d8cca8efa12c2c20339cb68b6f9b259c3de7925fc55433aa93ef7552dfe0441b9ef4a17a733282f791a62e SHA512 0f6a78e9b60b4fff71e87ba13c6a2af255a234f64e2a5f2be79aaf52146e2ab94c0e52def9096a32baf67c66e048f7ae9606a5e4010e9a1de5f31eec831ee892
2063 -DIST virtualbox-6.0.22-patches-01.tar.xz 3464 BLAKE2B 03ec3460f1f072c4f673e14a66b1f36de95f55c0c893482434049e077e0eff6d3724a8f1f6046d5ddff66675a9a39ecd2e40a6f43904bd575ba86505ed5e0ade SHA512 44875f8eda2e433bfe3b85551d3157c5b5d1740689e05c54772c78f9feba80ed08df88f99f9dd0d0f26d0912b00919e7ed5c38583a8ddc8e8e7e962d89cd2374
2064 DIST virtualbox-6.0.24-patches-01.tar.xz 3640 BLAKE2B e55c30395978471edd0f291cd34ecb772cce2f27bea88c6fe348e83046777638be9bdd36bf3a2fd1967357ea7ff53936398cd94ee74d8e55d31c1896069404ff SHA512 b8d9395083769a641a5d7f78ac734a86220fec817e3e49461208f8e72ef7d11c19fe4507e6766fe7c8c815c9888f793fd66f3fae36d6e3a217e53620b5d95029
2065 -DIST virtualbox-6.1.10-patches-01.tar.xz 2640 BLAKE2B 4aeeb596bcaf6b57a707c08211408d760092187710ce468f3e60bb7e66f22b04db4f4c58d06cea4cf7d4b69c9cfd2ebee5c2c5b8b93766097cf8c7cf9ebd8ae5 SHA512 24393d6e7cb62b65d79dc407f25fba42994d37a761c6c111ab952800715b1ee966ba4f7403a4e79fbf67035c72ef5aa3d1f203bdd69c6078894564018aa284c0
2066 DIST virtualbox-6.1.12-patches-01.tar.xz 2528 BLAKE2B a5d7cde0daea41bee2e40e46569c725769927a31865d99d13b8b13c4903e59b4097f85da15dc592b9c7e8baf8ff805397af827620f107ba09a468b4d1198ecab SHA512 f71d10a9fbce99c3f631ef30bcfa9d0e017e702ac509541b039e08ccbcd024beb93fde09c43d90af5d9d28f6842a7947f20e7950d3897da3e6d57859657e1123
2067
2068 diff --git a/app-emulation/virtualbox-guest-additions/files/vboxguest-4.1.0-log-use-c99.patch b/app-emulation/virtualbox-guest-additions/files/vboxguest-4.1.0-log-use-c99.patch
2069 deleted file mode 100644
2070 index 8f66a0033cc..00000000000
2071 --- a/app-emulation/virtualbox-guest-additions/files/vboxguest-4.1.0-log-use-c99.patch
2072 +++ /dev/null
2073 @@ -1,13 +0,0 @@
2074 -# https://bugs.gentoo.org/298988
2075 -
2076 ---- a/vboxguest/Makefile
2077 -+++ b/vboxguest/Makefile
2078 -@@ -104,7 +104,7 @@
2079 -
2080 - MOD_DEFS = -DVBOX -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_GUEST \
2081 - -DIN_GUEST_R0 -DIN_MODULE -DRT_WITH_VBOX -DVBGL_VBOXGUEST \
2082 -- -DVBOX_WITH_HGCM
2083 -+ -DVBOX_WITH_HGCM -DLOG_USE_C99
2084 - ifeq ($(BUILD_TARGET_ARCH),amd64)
2085 - MOD_DEFS += -DRT_ARCH_AMD64
2086 - else
2087
2088 diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.40-r1.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.40-r1.ebuild
2089 deleted file mode 100644
2090 index 0950ac45f19..00000000000
2091 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.40-r1.ebuild
2092 +++ /dev/null
2093 @@ -1,229 +0,0 @@
2094 -# Copyright 1999-2020 Gentoo Authors
2095 -# Distributed under the terms of the GNU General Public License v2
2096 -
2097 -EAPI=7
2098 -
2099 -inherit linux-mod systemd user toolchain-funcs
2100 -
2101 -MY_PV="${PV/beta/BETA}"
2102 -MY_PV="${MY_PV/rc/RC}"
2103 -MY_P="VirtualBox-${MY_PV}"
2104 -DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
2105 -HOMEPAGE="https://www.virtualbox.org/"
2106 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
2107 - https://dev.gentoo.org/~polynomial-c/virtualbox/patchsets/virtualbox-5.2.36-patches-01.tar.xz"
2108 -
2109 -LICENSE="GPL-2"
2110 -SLOT="0"
2111 -KEYWORDS="amd64 x86"
2112 -IUSE="X"
2113 -
2114 -RDEPEND="
2115 - X? ( x11-apps/xrandr
2116 - x11-apps/xrefresh
2117 - x11-libs/libXmu
2118 - x11-libs/libX11
2119 - x11-libs/libXt
2120 - x11-libs/libXext
2121 - x11-libs/libXau
2122 - x11-libs/libXdmcp
2123 - x11-libs/libSM
2124 - x11-libs/libICE )
2125 - sys-apps/dbus
2126 -"
2127 -DEPEND="
2128 - ${RDEPEND}
2129 - >=dev-util/kbuild-0.1.9998.3127
2130 - >=dev-lang/yasm-0.6.2
2131 - sys-devel/bin86
2132 - sys-libs/pam
2133 - sys-power/iasl
2134 - x11-base/xorg-proto
2135 -"
2136 -PDEPEND="
2137 - X? ( x11-drivers/xf86-video-vboxvideo )
2138 -"
2139 -BUILD_TARGETS="all"
2140 -BUILD_TARGET_ARCH="${ARCH}"
2141 -
2142 -S="${WORKDIR}/${MY_P}"
2143 -
2144 -pkg_setup() {
2145 - export DISTCC_DISABLE=1 #674256
2146 - MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
2147 - vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)"
2148 - use X && MODULE_NAMES+=" vboxvideo(misc:${WORKDIR}/vboxvideo::${WORKDIR}/vboxvideo)"
2149 -
2150 - linux-mod_pkg_setup
2151 - BUILD_PARAMS="KERN_DIR=/lib/modules/${KV_FULL}/build KERNOUT=${KV_OUT_DIR}"
2152 -}
2153 -
2154 -src_unpack() {
2155 - unpack ${A}
2156 -
2157 - # Create and unpack a tarball with the sources of the Linux guest
2158 - # kernel modules, to include all the needed files
2159 - "${S}"/src/VBox/Additions/linux/export_modules.sh "${WORKDIR}/vbox-kmod.tar.gz"
2160 - unpack ./vbox-kmod.tar.gz
2161 -
2162 - # Remove shipped binaries (kBuild,yasm), see bug #232775
2163 - cd "${S}"
2164 - rm -rf kBuild/bin tools
2165 -}
2166 -
2167 -src_prepare() {
2168 - # PaX fixes (see bug #298988)
2169 - pushd "${WORKDIR}" &>/dev/null || die
2170 - eapply "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch
2171 - popd &>/dev/null || die
2172 -
2173 - # Disable things unused or splitted into separate ebuilds
2174 - cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die
2175 - use X || echo "VBOX_WITH_X11_ADDITIONS :=" >> LocalConfig.kmk
2176 -
2177 - # stupid new header references...
2178 - local vboxheader mdir
2179 - for vboxheader in {product,revision,version}-generated.h ; do
2180 - for mdir in vbox{guest,sf} ; do
2181 - ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
2182 - "${WORKDIR}/${mdir}/${vboxheader}"
2183 - done
2184 - done
2185 -
2186 - # Remove pointless GCC version check
2187 - sed -e '/^check_gcc$/d' -i configure || die
2188 -
2189 - rm "${WORKDIR}/patches/008_virtualbox-4.3.14-missing_define.patch" || die
2190 - eapply "${WORKDIR}/patches"
2191 -
2192 - eapply_user
2193 -}
2194 -
2195 -src_configure() {
2196 - # build the user-space tools, warnings are harmless
2197 - local cmd=(
2198 - ./configure
2199 - --nofatal
2200 - --disable-xpcom
2201 - --disable-sdl-ttf
2202 - --disable-pulse
2203 - --disable-alsa
2204 - --with-gcc="$(tc-getCC)"
2205 - --with-g++="$(tc-getCXX)"
2206 - --target-arch=${ARCH}
2207 - --with-linux="${KV_OUT_DIR}"
2208 - --build-headless
2209 - )
2210 - echo "${cmd[@]}"
2211 - "${cmd[@]}" || die "configure failed"
2212 - source ./env.sh
2213 - export VBOX_GCC_OPT="${CFLAGS} ${CPPFLAGS}"
2214 -}
2215 -
2216 -src_compile() {
2217 - MAKE="kmk" \
2218 - emake TOOL_YASM_AS=yasm \
2219 - VBOX_ONLY_ADDITIONS=1 \
2220 - KBUILD_VERBOSE=2
2221 -
2222 - # Now creating the kernel modules. We must do this _after_
2223 - # we compiled the user-space tools as we need two of the
2224 - # automatically generated header files. (>=3.2.0)
2225 - linux-mod_src_compile
2226 -}
2227 -
2228 -src_install() {
2229 - linux-mod_src_install
2230 -
2231 - cd "${S}"/out/linux.${ARCH}/release/bin/additions || die
2232 -
2233 - insinto /sbin
2234 - newins mount.vboxsf mount.vboxsf
2235 - fperms 4755 /sbin/mount.vboxsf
2236 -
2237 - newinitd "${FILESDIR}"/${PN}-8.initd ${PN}
2238 -
2239 - insinto /usr/sbin/
2240 - newins VBoxService vboxguest-service
2241 - fperms 0755 /usr/sbin/vboxguest-service
2242 -
2243 - insinto /usr/bin
2244 - doins VBoxControl
2245 - fperms 0755 /usr/bin/VBoxControl
2246 -
2247 - # VBoxClient user service and xrandr wrapper
2248 - if use X ; then
2249 - doins VBoxClient
2250 - fperms 0755 /usr/bin/VBoxClient
2251 -
2252 - pushd "${S}"/src/VBox/Additions/x11/Installer &>/dev/null \
2253 - || die
2254 - newins 98vboxadd-xclient VBoxClient-all
2255 - fperms 0755 /usr/bin/VBoxClient-all
2256 - popd &>/dev/null || die
2257 - fi
2258 -
2259 - # udev rule for vboxdrv
2260 - local udev_rules_dir="/lib/udev/rules.d"
2261 - dodir ${udev_rules_dir}
2262 - echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
2263 - >> "${ED}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
2264 - || die
2265 - echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
2266 - >> "${ED}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
2267 - || die
2268 -
2269 - # VBoxClient autostart file
2270 - insinto /etc/xdg/autostart
2271 - doins "${FILESDIR}"/vboxclient.desktop
2272 -
2273 - # sample xorg.conf
2274 - dodoc "${FILESDIR}"/xorg.conf.vbox
2275 - docompress -x "${ED}"/usr/share/doc/${PF}/xorg.conf.vbox
2276 -
2277 - systemd_dounit "${FILESDIR}/${PN}.service"
2278 -}
2279 -
2280 -pkg_preinst() {
2281 - enewgroup vboxguest
2282 - enewuser vboxguest -1 /bin/sh /dev/null vboxguest
2283 - # automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist
2284 - enewgroup vboxsf
2285 -}
2286 -
2287 -pkg_postinst() {
2288 - linux-mod_pkg_postinst
2289 - if ! use X ; then
2290 - elog "use flag X is off, enable it to install the"
2291 - elog "X Window System video driver."
2292 - fi
2293 - elog ""
2294 - elog "Please add users to the \"vboxguest\" group so they can"
2295 - elog "benefit from seamless mode, auto-resize and clipboard."
2296 - elog ""
2297 - elog "The vboxsf group has been added to make automount services work."
2298 - elog "These services are part of the shared folders support."
2299 - elog ""
2300 - elog "Please add:"
2301 - elog "/etc/init.d/${PN}"
2302 - elog "to the default runlevel in order to start"
2303 - elog "needed services."
2304 - elog "To use the VirtualBox X driver, use the following"
2305 - elog "file as your /etc/X11/xorg.conf:"
2306 - elog " /usr/share/doc/${PF}/xorg.conf.vbox"
2307 - elog ""
2308 - elog "Also make sure you use the Mesa library for OpenGL:"
2309 - elog " eselect opengl set xorg-x11"
2310 - elog ""
2311 - elog "An autostart .desktop file has been installed to start"
2312 - elog "VBoxClient in desktop sessions."
2313 - elog ""
2314 - elog "You can mount shared folders with:"
2315 - elog " mount -t vboxsf <shared_folder_name> <mount_point>"
2316 - elog ""
2317 - elog "Warning:"
2318 - elog "this ebuild is only needed if you are running gentoo"
2319 - elog "inside a VirtualBox Virtual Machine, you don't need"
2320 - elog "it to run VirtualBox itself."
2321 - elog ""
2322 -}
2323
2324 diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.42-r1.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.42-r1.ebuild
2325 deleted file mode 100644
2326 index b4430dc522e..00000000000
2327 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.42-r1.ebuild
2328 +++ /dev/null
2329 @@ -1,232 +0,0 @@
2330 -# Copyright 1999-2020 Gentoo Authors
2331 -# Distributed under the terms of the GNU General Public License v2
2332 -
2333 -EAPI=7
2334 -
2335 -inherit linux-mod systemd user toolchain-funcs
2336 -
2337 -MY_PV="${PV/beta/BETA}"
2338 -MY_PV="${MY_PV/rc/RC}"
2339 -MY_P="VirtualBox-${MY_PV}"
2340 -DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
2341 -HOMEPAGE="https://www.virtualbox.org/"
2342 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
2343 - https://dev.gentoo.org/~polynomial-c/virtualbox/patchsets/virtualbox-5.2.36-patches-01.tar.xz"
2344 -
2345 -LICENSE="GPL-2"
2346 -SLOT="0"
2347 -KEYWORDS="~amd64 ~x86"
2348 -IUSE="X"
2349 -
2350 -RDEPEND="
2351 - X? ( x11-apps/xrandr
2352 - x11-apps/xrefresh
2353 - x11-libs/libXmu
2354 - x11-libs/libX11
2355 - x11-libs/libXt
2356 - x11-libs/libXext
2357 - x11-libs/libXau
2358 - x11-libs/libXdmcp
2359 - x11-libs/libSM
2360 - x11-libs/libICE )
2361 - sys-apps/dbus
2362 -"
2363 -DEPEND="
2364 - ${RDEPEND}
2365 - >=dev-util/kbuild-0.1.9998.3127
2366 - >=dev-lang/yasm-0.6.2
2367 - sys-devel/bin86
2368 - sys-libs/pam
2369 - sys-power/iasl
2370 - x11-base/xorg-proto
2371 -"
2372 -PDEPEND="
2373 - X? ( x11-drivers/xf86-video-vboxvideo )
2374 -"
2375 -BUILD_TARGETS="all"
2376 -BUILD_TARGET_ARCH="${ARCH}"
2377 -
2378 -S="${WORKDIR}/${MY_P}"
2379 -
2380 -pkg_setup() {
2381 - export DISTCC_DISABLE=1 #674256
2382 - MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
2383 - vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)"
2384 - use X && MODULE_NAMES+=" vboxvideo(misc:${WORKDIR}/vboxvideo::${WORKDIR}/vboxvideo)"
2385 -
2386 - linux-mod_pkg_setup
2387 - BUILD_PARAMS="KERN_DIR=/lib/modules/${KV_FULL}/build KERNOUT=${KV_OUT_DIR} KBUILD_EXTRA_SYMBOLS=${S}/Module.symvers"
2388 -}
2389 -
2390 -src_unpack() {
2391 - unpack ${A}
2392 -
2393 - # Create and unpack a tarball with the sources of the Linux guest
2394 - # kernel modules, to include all the needed files
2395 - "${S}"/src/VBox/Additions/linux/export_modules.sh "${WORKDIR}/vbox-kmod.tar.gz"
2396 - unpack ./vbox-kmod.tar.gz
2397 -
2398 - # Remove shipped binaries (kBuild,yasm), see bug #232775
2399 - cd "${S}"
2400 - rm -rf kBuild/bin tools
2401 -}
2402 -
2403 -src_prepare() {
2404 - # PaX fixes (see bug #298988)
2405 - pushd "${WORKDIR}" &>/dev/null || die
2406 - eapply "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch
2407 - popd &>/dev/null || die
2408 -
2409 - # Disable things unused or splitted into separate ebuilds
2410 - cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die
2411 - use X || echo "VBOX_WITH_X11_ADDITIONS :=" >> LocalConfig.kmk
2412 -
2413 - # stupid new header references...
2414 - local vboxheader mdir
2415 - for vboxheader in {product,revision,version}-generated.h ; do
2416 - for mdir in vbox{guest,sf} ; do
2417 - ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
2418 - "${WORKDIR}/${mdir}/${vboxheader}"
2419 - done
2420 - done
2421 -
2422 - # Remove pointless GCC version check
2423 - sed -e '/^check_gcc$/d' -i configure || die
2424 -
2425 - rm "${WORKDIR}/patches/008_virtualbox-4.3.14-missing_define.patch" || die
2426 - eapply "${WORKDIR}/patches"
2427 -
2428 - eapply_user
2429 -}
2430 -
2431 -src_configure() {
2432 - # build the user-space tools, warnings are harmless
2433 - local cmd=(
2434 - ./configure
2435 - --nofatal
2436 - --disable-xpcom
2437 - --disable-sdl-ttf
2438 - --disable-pulse
2439 - --disable-alsa
2440 - --with-gcc="$(tc-getCC)"
2441 - --with-g++="$(tc-getCXX)"
2442 - --target-arch=${ARCH}
2443 - --with-linux="${KV_OUT_DIR}"
2444 - --build-headless
2445 - )
2446 - echo "${cmd[@]}"
2447 - "${cmd[@]}" || die "configure failed"
2448 - source ./env.sh
2449 - export VBOX_GCC_OPT="${CFLAGS} ${CPPFLAGS}"
2450 -}
2451 -
2452 -src_compile() {
2453 - MAKE="kmk" emake\
2454 - VBOX_BUILD_PUBLISHER=_Gentoo \
2455 - TOOL_GXX3_CC="$(tc-getCC)" TOOL_GXX3_CXX="$(tc-getCXX)" \
2456 - TOOL_GXX3_LD="$(tc-getCXX)" VBOX_GCC_OPT="${CXXFLAGS}" \
2457 - TOOL_YASM_AS=yasm \
2458 - VBOX_ONLY_ADDITIONS=1 \
2459 - KBUILD_VERBOSE=2
2460 -
2461 - # Now creating the kernel modules. We must do this _after_
2462 - # we compiled the user-space tools as we need two of the
2463 - # automatically generated header files. (>=3.2.0)
2464 - linux-mod_src_compile
2465 -}
2466 -
2467 -src_install() {
2468 - linux-mod_src_install
2469 -
2470 - cd "${S}"/out/linux.${ARCH}/release/bin/additions || die
2471 -
2472 - insinto /sbin
2473 - newins mount.vboxsf mount.vboxsf
2474 - fperms 4755 /sbin/mount.vboxsf
2475 -
2476 - newinitd "${FILESDIR}"/${PN}-8.initd ${PN}
2477 -
2478 - insinto /usr/sbin/
2479 - newins VBoxService vboxguest-service
2480 - fperms 0755 /usr/sbin/vboxguest-service
2481 -
2482 - insinto /usr/bin
2483 - doins VBoxControl
2484 - fperms 0755 /usr/bin/VBoxControl
2485 -
2486 - # VBoxClient user service and xrandr wrapper
2487 - if use X ; then
2488 - doins VBoxClient
2489 - fperms 0755 /usr/bin/VBoxClient
2490 -
2491 - pushd "${S}"/src/VBox/Additions/x11/Installer &>/dev/null \
2492 - || die
2493 - newins 98vboxadd-xclient VBoxClient-all
2494 - fperms 0755 /usr/bin/VBoxClient-all
2495 - popd &>/dev/null || die
2496 - fi
2497 -
2498 - # udev rule for vboxdrv
2499 - local udev_rules_dir="/lib/udev/rules.d"
2500 - dodir ${udev_rules_dir}
2501 - echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
2502 - >> "${ED}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
2503 - || die
2504 - echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
2505 - >> "${ED}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
2506 - || die
2507 -
2508 - # VBoxClient autostart file
2509 - insinto /etc/xdg/autostart
2510 - doins "${FILESDIR}"/vboxclient.desktop
2511 -
2512 - # sample xorg.conf
2513 - dodoc "${FILESDIR}"/xorg.conf.vbox
2514 - docompress -x "${ED}"/usr/share/doc/${PF}/xorg.conf.vbox
2515 -
2516 - systemd_dounit "${FILESDIR}/${PN}.service"
2517 -}
2518 -
2519 -pkg_preinst() {
2520 - enewgroup vboxguest
2521 - enewuser vboxguest -1 /bin/sh /dev/null vboxguest
2522 - # automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist
2523 - enewgroup vboxsf
2524 -}
2525 -
2526 -pkg_postinst() {
2527 - linux-mod_pkg_postinst
2528 - if ! use X ; then
2529 - elog "use flag X is off, enable it to install the"
2530 - elog "X Window System video driver."
2531 - fi
2532 - elog ""
2533 - elog "Please add users to the \"vboxguest\" group so they can"
2534 - elog "benefit from seamless mode, auto-resize and clipboard."
2535 - elog ""
2536 - elog "The vboxsf group has been added to make automount services work."
2537 - elog "These services are part of the shared folders support."
2538 - elog ""
2539 - elog "Please add:"
2540 - elog "/etc/init.d/${PN}"
2541 - elog "to the default runlevel in order to start"
2542 - elog "needed services."
2543 - elog "To use the VirtualBox X driver, use the following"
2544 - elog "file as your /etc/X11/xorg.conf:"
2545 - elog " /usr/share/doc/${PF}/xorg.conf.vbox"
2546 - elog ""
2547 - elog "Also make sure you use the Mesa library for OpenGL:"
2548 - elog " eselect opengl set xorg-x11"
2549 - elog ""
2550 - elog "An autostart .desktop file has been installed to start"
2551 - elog "VBoxClient in desktop sessions."
2552 - elog ""
2553 - elog "You can mount shared folders with:"
2554 - elog " mount -t vboxsf <shared_folder_name> <mount_point>"
2555 - elog ""
2556 - elog "Warning:"
2557 - elog "this ebuild is only needed if you are running gentoo"
2558 - elog "inside a VirtualBox Virtual Machine, you don't need"
2559 - elog "it to run VirtualBox itself."
2560 - elog ""
2561 -}
2562
2563 diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.44-r1.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.44-r1.ebuild
2564 deleted file mode 100644
2565 index 7c62694fd2a..00000000000
2566 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.44-r1.ebuild
2567 +++ /dev/null
2568 @@ -1,232 +0,0 @@
2569 -# Copyright 1999-2020 Gentoo Authors
2570 -# Distributed under the terms of the GNU General Public License v2
2571 -
2572 -EAPI=7
2573 -
2574 -inherit linux-mod systemd user toolchain-funcs
2575 -
2576 -MY_PV="${PV/beta/BETA}"
2577 -MY_PV="${MY_PV/rc/RC}"
2578 -MY_P="VirtualBox-${MY_PV}"
2579 -DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
2580 -HOMEPAGE="https://www.virtualbox.org/"
2581 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
2582 - https://dev.gentoo.org/~polynomial-c/virtualbox/patchsets/virtualbox-5.2.44-patches-01.tar.xz"
2583 -
2584 -LICENSE="GPL-2"
2585 -SLOT="0"
2586 -KEYWORDS="~amd64 ~x86"
2587 -IUSE="X"
2588 -
2589 -RDEPEND="
2590 - X? ( x11-apps/xrandr
2591 - x11-apps/xrefresh
2592 - x11-libs/libXmu
2593 - x11-libs/libX11
2594 - x11-libs/libXt
2595 - x11-libs/libXext
2596 - x11-libs/libXau
2597 - x11-libs/libXdmcp
2598 - x11-libs/libSM
2599 - x11-libs/libICE )
2600 - sys-apps/dbus
2601 -"
2602 -DEPEND="
2603 - ${RDEPEND}
2604 - >=dev-util/kbuild-0.1.9998.3127
2605 - >=dev-lang/yasm-0.6.2
2606 - sys-devel/bin86
2607 - sys-libs/pam
2608 - sys-power/iasl
2609 - x11-base/xorg-proto
2610 -"
2611 -PDEPEND="
2612 - X? ( x11-drivers/xf86-video-vboxvideo )
2613 -"
2614 -BUILD_TARGETS="all"
2615 -BUILD_TARGET_ARCH="${ARCH}"
2616 -
2617 -S="${WORKDIR}/${MY_P}"
2618 -
2619 -pkg_setup() {
2620 - export DISTCC_DISABLE=1 #674256
2621 - MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
2622 - vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)"
2623 - use X && MODULE_NAMES+=" vboxvideo(misc:${WORKDIR}/vboxvideo::${WORKDIR}/vboxvideo)"
2624 -
2625 - linux-mod_pkg_setup
2626 - BUILD_PARAMS="KERN_DIR=/lib/modules/${KV_FULL}/build KERNOUT=${KV_OUT_DIR} KBUILD_EXTRA_SYMBOLS=${S}/Module.symvers"
2627 -}
2628 -
2629 -src_unpack() {
2630 - unpack ${A}
2631 -
2632 - # Create and unpack a tarball with the sources of the Linux guest
2633 - # kernel modules, to include all the needed files
2634 - "${S}"/src/VBox/Additions/linux/export_modules.sh "${WORKDIR}/vbox-kmod.tar.gz"
2635 - unpack ./vbox-kmod.tar.gz
2636 -
2637 - # Remove shipped binaries (kBuild,yasm), see bug #232775
2638 - cd "${S}"
2639 - rm -rf kBuild/bin tools
2640 -}
2641 -
2642 -src_prepare() {
2643 - # PaX fixes (see bug #298988)
2644 - pushd "${WORKDIR}" &>/dev/null || die
2645 - eapply "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch
2646 - popd &>/dev/null || die
2647 -
2648 - # Disable things unused or splitted into separate ebuilds
2649 - cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die
2650 - use X || echo "VBOX_WITH_X11_ADDITIONS :=" >> LocalConfig.kmk
2651 -
2652 - # stupid new header references...
2653 - local vboxheader mdir
2654 - for vboxheader in {product,revision,version}-generated.h ; do
2655 - for mdir in vbox{guest,sf} ; do
2656 - ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
2657 - "${WORKDIR}/${mdir}/${vboxheader}"
2658 - done
2659 - done
2660 -
2661 - # Remove pointless GCC version check
2662 - sed -e '/^check_gcc$/d' -i configure || die
2663 -
2664 - rm "${WORKDIR}/patches/008_virtualbox-4.3.14-missing_define.patch" || die
2665 - eapply "${WORKDIR}/patches"
2666 -
2667 - eapply_user
2668 -}
2669 -
2670 -src_configure() {
2671 - # build the user-space tools, warnings are harmless
2672 - local cmd=(
2673 - ./configure
2674 - --nofatal
2675 - --disable-xpcom
2676 - --disable-sdl-ttf
2677 - --disable-pulse
2678 - --disable-alsa
2679 - --with-gcc="$(tc-getCC)"
2680 - --with-g++="$(tc-getCXX)"
2681 - --target-arch=${ARCH}
2682 - --with-linux="${KV_OUT_DIR}"
2683 - --build-headless
2684 - )
2685 - echo "${cmd[@]}"
2686 - "${cmd[@]}" || die "configure failed"
2687 - source ./env.sh
2688 - export VBOX_GCC_OPT="${CFLAGS} ${CPPFLAGS}"
2689 -}
2690 -
2691 -src_compile() {
2692 - MAKE="kmk" emake\
2693 - VBOX_BUILD_PUBLISHER=_Gentoo \
2694 - TOOL_GXX3_CC="$(tc-getCC)" TOOL_GXX3_CXX="$(tc-getCXX)" \
2695 - TOOL_GXX3_LD="$(tc-getCXX)" VBOX_GCC_OPT="${CXXFLAGS}" \
2696 - TOOL_YASM_AS=yasm \
2697 - VBOX_ONLY_ADDITIONS=1 \
2698 - KBUILD_VERBOSE=2
2699 -
2700 - # Now creating the kernel modules. We must do this _after_
2701 - # we compiled the user-space tools as we need two of the
2702 - # automatically generated header files. (>=3.2.0)
2703 - linux-mod_src_compile
2704 -}
2705 -
2706 -src_install() {
2707 - linux-mod_src_install
2708 -
2709 - cd "${S}"/out/linux.${ARCH}/release/bin/additions || die
2710 -
2711 - insinto /sbin
2712 - newins mount.vboxsf mount.vboxsf
2713 - fperms 4755 /sbin/mount.vboxsf
2714 -
2715 - newinitd "${FILESDIR}"/${PN}-8.initd ${PN}
2716 -
2717 - insinto /usr/sbin/
2718 - newins VBoxService vboxguest-service
2719 - fperms 0755 /usr/sbin/vboxguest-service
2720 -
2721 - insinto /usr/bin
2722 - doins VBoxControl
2723 - fperms 0755 /usr/bin/VBoxControl
2724 -
2725 - # VBoxClient user service and xrandr wrapper
2726 - if use X ; then
2727 - doins VBoxClient
2728 - fperms 0755 /usr/bin/VBoxClient
2729 -
2730 - pushd "${S}"/src/VBox/Additions/x11/Installer &>/dev/null \
2731 - || die
2732 - newins 98vboxadd-xclient VBoxClient-all
2733 - fperms 0755 /usr/bin/VBoxClient-all
2734 - popd &>/dev/null || die
2735 - fi
2736 -
2737 - # udev rule for vboxdrv
2738 - local udev_rules_dir="/lib/udev/rules.d"
2739 - dodir ${udev_rules_dir}
2740 - echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
2741 - >> "${ED}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
2742 - || die
2743 - echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
2744 - >> "${ED}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
2745 - || die
2746 -
2747 - # VBoxClient autostart file
2748 - insinto /etc/xdg/autostart
2749 - doins "${FILESDIR}"/vboxclient.desktop
2750 -
2751 - # sample xorg.conf
2752 - dodoc "${FILESDIR}"/xorg.conf.vbox
2753 - docompress -x "${ED}"/usr/share/doc/${PF}/xorg.conf.vbox
2754 -
2755 - systemd_dounit "${FILESDIR}/${PN}.service"
2756 -}
2757 -
2758 -pkg_preinst() {
2759 - enewgroup vboxguest
2760 - enewuser vboxguest -1 /bin/sh /dev/null vboxguest
2761 - # automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist
2762 - enewgroup vboxsf
2763 -}
2764 -
2765 -pkg_postinst() {
2766 - linux-mod_pkg_postinst
2767 - if ! use X ; then
2768 - elog "use flag X is off, enable it to install the"
2769 - elog "X Window System video driver."
2770 - fi
2771 - elog ""
2772 - elog "Please add users to the \"vboxguest\" group so they can"
2773 - elog "benefit from seamless mode, auto-resize and clipboard."
2774 - elog ""
2775 - elog "The vboxsf group has been added to make automount services work."
2776 - elog "These services are part of the shared folders support."
2777 - elog ""
2778 - elog "Please add:"
2779 - elog "/etc/init.d/${PN}"
2780 - elog "to the default runlevel in order to start"
2781 - elog "needed services."
2782 - elog "To use the VirtualBox X driver, use the following"
2783 - elog "file as your /etc/X11/xorg.conf:"
2784 - elog " /usr/share/doc/${PF}/xorg.conf.vbox"
2785 - elog ""
2786 - elog "Also make sure you use the Mesa library for OpenGL:"
2787 - elog " eselect opengl set xorg-x11"
2788 - elog ""
2789 - elog "An autostart .desktop file has been installed to start"
2790 - elog "VBoxClient in desktop sessions."
2791 - elog ""
2792 - elog "You can mount shared folders with:"
2793 - elog " mount -t vboxsf <shared_folder_name> <mount_point>"
2794 - elog ""
2795 - elog "Warning:"
2796 - elog "this ebuild is only needed if you are running gentoo"
2797 - elog "inside a VirtualBox Virtual Machine, you don't need"
2798 - elog "it to run VirtualBox itself."
2799 - elog ""
2800 -}
2801
2802 diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.0.22-r1.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.0.22-r1.ebuild
2803 deleted file mode 100644
2804 index edc3f50b8fc..00000000000
2805 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.0.22-r1.ebuild
2806 +++ /dev/null
2807 @@ -1,218 +0,0 @@
2808 -# Copyright 1999-2020 Gentoo Authors
2809 -# Distributed under the terms of the GNU General Public License v2
2810 -
2811 -EAPI=7
2812 -
2813 -inherit linux-mod systemd toolchain-funcs
2814 -
2815 -MY_PV="${PV/beta/BETA}"
2816 -MY_PV="${MY_PV/rc/RC}"
2817 -MY_P="VirtualBox-${MY_PV}"
2818 -DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
2819 -HOMEPAGE="https://www.virtualbox.org/"
2820 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
2821 - https://dev.gentoo.org/~polynomial-c/virtualbox/patchsets/virtualbox-6.0.22-patches-01.tar.xz"
2822 -
2823 -LICENSE="GPL-2"
2824 -SLOT="0"
2825 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
2826 -KEYWORDS="~amd64 ~x86"
2827 -IUSE="X"
2828 -
2829 -# automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist
2830 -RDEPEND="
2831 - acct-group/vboxguest
2832 - acct-group/vboxsf
2833 - acct-user/vboxguest
2834 - X? ( x11-apps/xrandr
2835 - x11-apps/xrefresh
2836 - x11-libs/libXmu
2837 - x11-libs/libX11
2838 - x11-libs/libXt
2839 - x11-libs/libXext
2840 - x11-libs/libXau
2841 - x11-libs/libXdmcp
2842 - x11-libs/libSM
2843 - x11-libs/libICE )
2844 - sys-apps/dbus
2845 -"
2846 -DEPEND="
2847 - ${RDEPEND}
2848 - >=dev-util/kbuild-0.1.9998.3127
2849 - >=dev-lang/yasm-0.6.2
2850 - sys-devel/bin86
2851 - sys-libs/pam
2852 - sys-power/iasl
2853 - x11-base/xorg-proto
2854 -"
2855 -PDEPEND="
2856 - X? ( x11-drivers/xf86-video-vboxvideo )
2857 -"
2858 -BUILD_TARGETS="all"
2859 -BUILD_TARGET_ARCH="${ARCH}"
2860 -
2861 -S="${WORKDIR}/${MY_P}"
2862 -VBOX_MOD_SRC_DIR="${S}/out/linux.${ARCH}/release/bin/additions/src"
2863 -
2864 -pkg_setup() {
2865 - export DISTCC_DISABLE=1 #674256
2866 - MODULE_NAMES="vboxguest(misc:${VBOX_MOD_SRC_DIR}/vboxguest:${VBOX_MOD_SRC_DIR}/vboxguest)
2867 - vboxsf(misc:${VBOX_MOD_SRC_DIR}/vboxsf:${VBOX_MOD_SRC_DIR}/vboxsf)"
2868 - use X && MODULE_NAMES+=" vboxvideo(misc:${VBOX_MOD_SRC_DIR}/vboxvideo::${VBOX_MOD_SRC_DIR}/vboxvideo)"
2869 -
2870 - linux-mod_pkg_setup
2871 - BUILD_PARAMS="KERN_DIR=/lib/modules/${KV_FULL}/build KERNOUT=${KV_OUT_DIR} KBUILD_EXTRA_SYMBOLS=${S}/Module.symvers"
2872 -}
2873 -
2874 -src_prepare() {
2875 - # Remove shipped binaries (kBuild,yasm), see bug #232775
2876 - rm -r kBuild/bin tools || die
2877 -
2878 - # Provide kernel sources
2879 - pushd src/VBox/Additions &>/dev/null || die
2880 - ebegin "Extracting guest kernel module sources"
2881 - kmk GuestDrivers-src vboxguest-src vboxsf-src vboxvideo-src &>/dev/null || die
2882 - eend
2883 - popd &>/dev/null || die
2884 -
2885 - # PaX fixes (see bug #298988)
2886 - pushd "${VBOX_MOD_SRC_DIR}" &>/dev/null || die
2887 - eapply "${FILESDIR}"/vboxguest-6.0.6-log-use-c99.patch
2888 - popd &>/dev/null || die
2889 -
2890 - # Disable things unused or splitted into separate ebuilds
2891 - cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die
2892 - use X || echo "VBOX_WITH_X11_ADDITIONS :=" >> LocalConfig.kmk
2893 -
2894 - # Remove pointless GCC version check
2895 - sed -e '/^check_gcc$/d' -i configure || die
2896 -
2897 - eapply "${WORKDIR}/patches"
2898 -
2899 - eapply_user
2900 -}
2901 -
2902 -src_configure() {
2903 - # build the user-space tools, warnings are harmless
2904 - local cmd=(
2905 - ./configure
2906 - --nofatal
2907 - --disable-xpcom
2908 - --disable-sdl-ttf
2909 - --disable-pulse
2910 - --disable-alsa
2911 - --with-gcc="$(tc-getCC)"
2912 - --with-g++="$(tc-getCXX)"
2913 - --target-arch=${ARCH}
2914 - --with-linux="${KV_OUT_DIR}"
2915 - --build-headless
2916 - )
2917 - echo "${cmd[@]}"
2918 - "${cmd[@]}" || die "configure failed"
2919 - source ./env.sh
2920 - export VBOX_GCC_OPT="${CFLAGS} ${CPPFLAGS}"
2921 -}
2922 -
2923 -src_compile() {
2924 - MAKE="kmk" emake \
2925 - VBOX_BUILD_PUBLISHER=_Gentoo \
2926 - TOOL_GXX3_CC="$(tc-getCC)" TOOL_GXX3_CXX="$(tc-getCXX)" \
2927 - TOOL_GXX3_LD="$(tc-getCXX)" VBOX_GCC_OPT="${CXXFLAGS}" \
2928 - TOOL_YASM_AS=yasm \
2929 - VBOX_ONLY_ADDITIONS=1 \
2930 - KBUILD_VERBOSE=2
2931 -
2932 - # Now creating the kernel modules. We must do this _after_
2933 - # we compiled the user-space tools as we need two of the
2934 - # automatically generated header files. (>=3.2.0)
2935 - linux-mod_src_compile
2936 -}
2937 -
2938 -src_install() {
2939 - linux-mod_src_install
2940 -
2941 - cd "${S}"/out/linux.${ARCH}/release/bin/additions || die
2942 -
2943 - insinto /sbin
2944 - newins mount.vboxsf mount.vboxsf
2945 - fperms 4755 /sbin/mount.vboxsf
2946 -
2947 - newinitd "${FILESDIR}"/${PN}-8.initd ${PN}
2948 -
2949 - insinto /usr/sbin/
2950 - newins VBoxService vboxguest-service
2951 - fperms 0755 /usr/sbin/vboxguest-service
2952 -
2953 - insinto /usr/bin
2954 - doins VBoxControl
2955 - fperms 0755 /usr/bin/VBoxControl
2956 -
2957 - # VBoxClient user service and xrandr wrapper
2958 - if use X ; then
2959 - doins VBoxClient
2960 - fperms 0755 /usr/bin/VBoxClient
2961 -
2962 - pushd "${S}"/src/VBox/Additions/x11/Installer &>/dev/null \
2963 - || die
2964 - newins 98vboxadd-xclient VBoxClient-all
2965 - fperms 0755 /usr/bin/VBoxClient-all
2966 - popd &>/dev/null || die
2967 - fi
2968 -
2969 - # udev rule for vboxdrv
2970 - local udev_rules_dir="/lib/udev/rules.d"
2971 - dodir ${udev_rules_dir}
2972 - echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
2973 - >> "${ED}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
2974 - || die
2975 - echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
2976 - >> "${ED}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
2977 - || die
2978 -
2979 - # VBoxClient autostart file
2980 - insinto /etc/xdg/autostart
2981 - doins "${FILESDIR}"/vboxclient.desktop
2982 -
2983 - # sample xorg.conf
2984 - dodoc "${FILESDIR}"/xorg.conf.vbox
2985 - docompress -x "${ED}"/usr/share/doc/${PF}/xorg.conf.vbox
2986 -
2987 - systemd_dounit "${FILESDIR}/${PN}.service"
2988 -}
2989 -
2990 -pkg_postinst() {
2991 - linux-mod_pkg_postinst
2992 - if ! use X ; then
2993 - elog "use flag X is off, enable it to install the"
2994 - elog "X Window System video driver."
2995 - fi
2996 - elog ""
2997 - elog "Please add users to the \"vboxguest\" group so they can"
2998 - elog "benefit from seamless mode, auto-resize and clipboard."
2999 - elog ""
3000 - elog "The vboxsf group has been added to make automount services work."
3001 - elog "These services are part of the shared folders support."
3002 - elog ""
3003 - elog "Please add:"
3004 - elog "/etc/init.d/${PN}"
3005 - elog "to the default runlevel in order to start"
3006 - elog "needed services."
3007 - elog "To use the VirtualBox X driver, use the following"
3008 - elog "file as your /etc/X11/xorg.conf:"
3009 - elog " /usr/share/doc/${PF}/xorg.conf.vbox"
3010 - elog ""
3011 - elog "Also make sure you use the Mesa library for OpenGL:"
3012 - elog " eselect opengl set xorg-x11"
3013 - elog ""
3014 - elog "An autostart .desktop file has been installed to start"
3015 - elog "VBoxClient in desktop sessions."
3016 - elog ""
3017 - elog "You can mount shared folders with:"
3018 - elog " mount -t vboxsf <shared_folder_name> <mount_point>"
3019 - elog ""
3020 - elog "Warning:"
3021 - elog "this ebuild is only needed if you are running gentoo"
3022 - elog "inside a VirtualBox Virtual Machine, you don't need"
3023 - elog "it to run VirtualBox itself."
3024 - elog ""
3025 -}
3026
3027 diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.1.10-r1.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.1.10-r1.ebuild
3028 deleted file mode 100644
3029 index 85bf1540849..00000000000
3030 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.1.10-r1.ebuild
3031 +++ /dev/null
3032 @@ -1,218 +0,0 @@
3033 -# Copyright 1999-2020 Gentoo Authors
3034 -# Distributed under the terms of the GNU General Public License v2
3035 -
3036 -EAPI=7
3037 -
3038 -inherit linux-mod systemd toolchain-funcs
3039 -
3040 -MY_PV="${PV/beta/BETA}"
3041 -MY_PV="${MY_PV/rc/RC}"
3042 -MY_P="VirtualBox-${MY_PV}"
3043 -DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
3044 -HOMEPAGE="https://www.virtualbox.org/"
3045 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
3046 - https://dev.gentoo.org/~polynomial-c/virtualbox/patchsets/virtualbox-6.1.10-patches-01.tar.xz"
3047 -
3048 -LICENSE="GPL-2"
3049 -SLOT="0"
3050 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
3051 -KEYWORDS="~amd64 ~x86"
3052 -IUSE="X"
3053 -
3054 -# automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist
3055 -RDEPEND="
3056 - acct-group/vboxguest
3057 - acct-group/vboxsf
3058 - acct-user/vboxguest
3059 - X? ( x11-apps/xrandr
3060 - x11-apps/xrefresh
3061 - x11-libs/libXmu
3062 - x11-libs/libX11
3063 - x11-libs/libXt
3064 - x11-libs/libXext
3065 - x11-libs/libXau
3066 - x11-libs/libXdmcp
3067 - x11-libs/libSM
3068 - x11-libs/libICE )
3069 - sys-apps/dbus
3070 -"
3071 -DEPEND="
3072 - ${RDEPEND}
3073 - >=dev-util/kbuild-0.1.9998.3127
3074 - >=dev-lang/yasm-0.6.2
3075 - sys-devel/bin86
3076 - sys-libs/pam
3077 - sys-power/iasl
3078 - x11-base/xorg-proto
3079 -"
3080 -PDEPEND="
3081 - X? ( x11-drivers/xf86-video-vboxvideo )
3082 -"
3083 -BUILD_TARGETS="all"
3084 -BUILD_TARGET_ARCH="${ARCH}"
3085 -
3086 -S="${WORKDIR}/${MY_P}"
3087 -VBOX_MOD_SRC_DIR="${S}/out/linux.${ARCH}/release/bin/additions/src"
3088 -
3089 -pkg_setup() {
3090 - export DISTCC_DISABLE=1 #674256
3091 - MODULE_NAMES="vboxguest(misc:${VBOX_MOD_SRC_DIR}/vboxguest:${VBOX_MOD_SRC_DIR}/vboxguest)
3092 - vboxsf(misc:${VBOX_MOD_SRC_DIR}/vboxsf:${VBOX_MOD_SRC_DIR}/vboxsf)"
3093 - use X && MODULE_NAMES+=" vboxvideo(misc:${VBOX_MOD_SRC_DIR}/vboxvideo::${VBOX_MOD_SRC_DIR}/vboxvideo)"
3094 -
3095 - linux-mod_pkg_setup
3096 - BUILD_PARAMS="KERN_DIR=/lib/modules/${KV_FULL}/build KERNOUT=${KV_OUT_DIR} KBUILD_EXTRA_SYMBOLS=${S}/Module.symvers"
3097 -}
3098 -
3099 -src_prepare() {
3100 - # Remove shipped binaries (kBuild,yasm), see bug #232775
3101 - rm -r kBuild/bin tools || die
3102 -
3103 - # Provide kernel sources
3104 - pushd src/VBox/Additions &>/dev/null || die
3105 - ebegin "Extracting guest kernel module sources"
3106 - kmk GuestDrivers-src vboxguest-src vboxsf-src vboxvideo-src &>/dev/null || die
3107 - eend
3108 - popd &>/dev/null || die
3109 -
3110 - # PaX fixes (see bug #298988)
3111 - pushd "${VBOX_MOD_SRC_DIR}" &>/dev/null || die
3112 - eapply "${FILESDIR}"/vboxguest-6.0.6-log-use-c99.patch
3113 - popd &>/dev/null || die
3114 -
3115 - # Disable things unused or splitted into separate ebuilds
3116 - cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die
3117 - use X || echo "VBOX_WITH_X11_ADDITIONS :=" >> LocalConfig.kmk
3118 -
3119 - # Remove pointless GCC version check
3120 - sed -e '/^check_gcc$/d' -i configure || die
3121 -
3122 - eapply "${WORKDIR}/patches"
3123 -
3124 - eapply_user
3125 -}
3126 -
3127 -src_configure() {
3128 - # build the user-space tools, warnings are harmless
3129 - local cmd=(
3130 - ./configure
3131 - --nofatal
3132 - --disable-xpcom
3133 - --disable-sdl-ttf
3134 - --disable-pulse
3135 - --disable-alsa
3136 - --with-gcc="$(tc-getCC)"
3137 - --with-g++="$(tc-getCXX)"
3138 - --target-arch=${ARCH}
3139 - --with-linux="${KV_OUT_DIR}"
3140 - --build-headless
3141 - )
3142 - echo "${cmd[@]}"
3143 - "${cmd[@]}" || die "configure failed"
3144 - source ./env.sh
3145 - export VBOX_GCC_OPT="${CFLAGS} ${CPPFLAGS}"
3146 -}
3147 -
3148 -src_compile() {
3149 - MAKE="kmk" emake \
3150 - VBOX_BUILD_PUBLISHER=_Gentoo \
3151 - TOOL_GXX3_CC="$(tc-getCC)" TOOL_GXX3_CXX="$(tc-getCXX)" \
3152 - TOOL_GXX3_LD="$(tc-getCXX)" VBOX_GCC_OPT="${CXXFLAGS}" \
3153 - TOOL_YASM_AS=yasm \
3154 - VBOX_ONLY_ADDITIONS=1 \
3155 - KBUILD_VERBOSE=2
3156 -
3157 - # Now creating the kernel modules. We must do this _after_
3158 - # we compiled the user-space tools as we need two of the
3159 - # automatically generated header files. (>=3.2.0)
3160 - linux-mod_src_compile
3161 -}
3162 -
3163 -src_install() {
3164 - linux-mod_src_install
3165 -
3166 - cd "${S}"/out/linux.${ARCH}/release/bin/additions || die
3167 -
3168 - insinto /sbin
3169 - newins mount.vboxsf mount.vboxsf
3170 - fperms 4755 /sbin/mount.vboxsf
3171 -
3172 - newinitd "${FILESDIR}"/${PN}-8.initd ${PN}
3173 -
3174 - insinto /usr/sbin/
3175 - newins VBoxService vboxguest-service
3176 - fperms 0755 /usr/sbin/vboxguest-service
3177 -
3178 - insinto /usr/bin
3179 - doins VBoxControl
3180 - fperms 0755 /usr/bin/VBoxControl
3181 -
3182 - # VBoxClient user service and xrandr wrapper
3183 - if use X ; then
3184 - doins VBoxClient
3185 - fperms 0755 /usr/bin/VBoxClient
3186 -
3187 - pushd "${S}"/src/VBox/Additions/x11/Installer &>/dev/null \
3188 - || die
3189 - newins 98vboxadd-xclient VBoxClient-all
3190 - fperms 0755 /usr/bin/VBoxClient-all
3191 - popd &>/dev/null || die
3192 - fi
3193 -
3194 - # udev rule for vboxdrv
3195 - local udev_rules_dir="/lib/udev/rules.d"
3196 - dodir ${udev_rules_dir}
3197 - echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
3198 - >> "${ED}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
3199 - || die
3200 - echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
3201 - >> "${ED}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
3202 - || die
3203 -
3204 - # VBoxClient autostart file
3205 - insinto /etc/xdg/autostart
3206 - doins "${FILESDIR}"/vboxclient.desktop
3207 -
3208 - # sample xorg.conf
3209 - dodoc "${FILESDIR}"/xorg.conf.vbox
3210 - docompress -x "${ED}"/usr/share/doc/${PF}/xorg.conf.vbox
3211 -
3212 - systemd_dounit "${FILESDIR}/${PN}.service"
3213 -}
3214 -
3215 -pkg_postinst() {
3216 - linux-mod_pkg_postinst
3217 - if ! use X ; then
3218 - elog "use flag X is off, enable it to install the"
3219 - elog "X Window System video driver."
3220 - fi
3221 - elog ""
3222 - elog "Please add users to the \"vboxguest\" group so they can"
3223 - elog "benefit from seamless mode, auto-resize and clipboard."
3224 - elog ""
3225 - elog "The vboxsf group has been added to make automount services work."
3226 - elog "These services are part of the shared folders support."
3227 - elog ""
3228 - elog "Please add:"
3229 - elog "/etc/init.d/${PN}"
3230 - elog "to the default runlevel in order to start"
3231 - elog "needed services."
3232 - elog "To use the VirtualBox X driver, use the following"
3233 - elog "file as your /etc/X11/xorg.conf:"
3234 - elog " /usr/share/doc/${PF}/xorg.conf.vbox"
3235 - elog ""
3236 - elog "Also make sure you use the Mesa library for OpenGL:"
3237 - elog " eselect opengl set xorg-x11"
3238 - elog ""
3239 - elog "An autostart .desktop file has been installed to start"
3240 - elog "VBoxClient in desktop sessions."
3241 - elog ""
3242 - elog "You can mount shared folders with:"
3243 - elog " mount -t vboxsf <shared_folder_name> <mount_point>"
3244 - elog ""
3245 - elog "Warning:"
3246 - elog "this ebuild is only needed if you are running gentoo"
3247 - elog "inside a VirtualBox Virtual Machine, you don't need"
3248 - elog "it to run VirtualBox itself."
3249 - elog ""
3250 -}
3251
3252 diff --git a/app-emulation/virtualbox-modules/Manifest b/app-emulation/virtualbox-modules/Manifest
3253 index 22786b550bc..e5bcd83973e 100644
3254 --- a/app-emulation/virtualbox-modules/Manifest
3255 +++ b/app-emulation/virtualbox-modules/Manifest
3256 @@ -1,8 +1,3 @@
3257 -DIST vbox-kernel-module-src-5.2.40.tar.xz 644200 BLAKE2B 0083423831bcec17f4960747c3ae939a8b4a5d2f89d6f09ad88308b078035bc6f068314d2c74182c9bb7ea0007e9c6a5b3eaa8f48ce58330294a78f66ed3faa5 SHA512 b62359104fdd0a1fd2b506cec2e4b71fa9582f1a89088d3a45791835981e1cd2e0895861b688cfbd7306454aa66c18bcd1444b26181f084b7af69f43d3e9b499
3258 -DIST vbox-kernel-module-src-5.2.42.tar.xz 644208 BLAKE2B c96e5f6dcfb695ab04327d484e532f291a7f25b1eeaaed8394edf911fa70190317af4732b9c4e5cc7d2402bbaf0cc3dba3cf474968ab67bbbc18cfc23baa88c5 SHA512 67d5881bcc1dd23a41e27c0ba51d5f9b7c768590906baec33d341758aef2f525c4f0df95a9b477c2b5a0f5f41476bfe96120bca45eec748974b17e667dd6785e
3259 -DIST vbox-kernel-module-src-5.2.44.tar.xz 644468 BLAKE2B 520dbe8ca7a01e2f6f62ea13f1031b03473d56095ca174962ccc88549fbef3615332193e17593119956317f2d93da9e63ffa7fb14b6783d40bcee88360a74444 SHA512 61cc3b1c8ad58adfc0451b1a03b213ce4fff78e8c55f12ddce89cf7f6bb1abe94f035d2fc2867270f6f36f773019b1a66a2f6ae735fdc70aeba1ff9645de02d3
3260 -DIST vbox-kernel-module-src-6.0.22.tar.xz 670780 BLAKE2B dc4055e3db4a59ff174989a0dc63e844bb70aa13a0ee7d9fc49db22cf1106df956aca11b039df5e67bfcfe848f8c287842e8ec30d8025ac1474ee26d10745354 SHA512 f1b2e4b3acc5effbc0b513e27623959e87d65001b0dd5c42ee09aa2db5261d534cc193329db09d01e7a7105a1f6f80e53a68f9312205d2b4e18e38834d82a1db
3261 DIST vbox-kernel-module-src-6.0.24.tar.xz 670960 BLAKE2B 26e4b1b6b9ab8c8fd0312b2162fe745dc11ef3f8a7e2f08f49df9d9ef346ec21b64e4a0a480bd726e9cca6ab2ce5d3cf2637aa8923c0843bf78a3ed160b98810 SHA512 9b1093307dffeb64f3ec22c4797268858e1fcc729403e89294c2e3cf0852662b7b0aad4416a593fd25b2107a1995d6bc17078f072b6f7718ed111ab61df8324e
3262 -DIST vbox-kernel-module-src-6.1.10.tar.xz 666960 BLAKE2B e1f393a0f7735f4cb692d9feb22c3b6ec371fef04793b1a2f7cc2cadab450539c464f1a97f026c323ae162b853b738b3d6bb3bfde0c3bb854be4da2d251af5e8 SHA512 7ae56ac2d982649448e4dfe93beff22630c35ad40f764cffaaecf3b00c1a598043b7675e1f8eebf17059aa73da6273f0982dbc8377d9878be0712895d1332560
3263 DIST vbox-kernel-module-src-6.1.12.tar.xz 667312 BLAKE2B 31b3f7cd60d00e26c3177c4956d493a243e39d6251aeb3f3d72331d2fa85f2c90e884aa3f27e994502d86a34b1683c7d7db54eb1cc233e220f147119f6e9ed5e SHA512 ec4903fdc74e4be28003e8b231a4c8feb6e807bc59789c2729a8ab4199c6decc878468b67bce3a17625f60a33bb1d7c611e7306815091607b1fade2be521ed44
3264 DIST vbox-kernel-module-src-6.1.14.tar.xz 670392 BLAKE2B e6f324e71088c71bf67791861c79a81665f2111664428ed1e8a834b8a435bd04c1da49b6755ce5f6b1d883c6de01a0821e8d5a7519e11cf30e8f01a8b4e5d8bb SHA512 ccf4896106a7c86b651ed698abee78387660b7daa0f15329fc4bf2c3a7df4715bf4cce7cace1c6f6931dd9e8d02022d1ca0d005ae12c5139e54d3fb40792cb1c
3265
3266 diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.2.40-r1.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.2.40-r1.ebuild
3267 deleted file mode 100644
3268 index 4d5d660417e..00000000000
3269 --- a/app-emulation/virtualbox-modules/virtualbox-modules-5.2.40-r1.ebuild
3270 +++ /dev/null
3271 @@ -1,59 +0,0 @@
3272 -# Copyright 1999-2020 Gentoo Authors
3273 -# Distributed under the terms of the GNU General Public License v2
3274 -
3275 -# XXX: the tarball here is just the kernel modules split out of the binary
3276 -# package that comes from virtualbox-bin
3277 -
3278 -EAPI=7
3279 -
3280 -inherit linux-mod toolchain-funcs user
3281 -
3282 -MY_P="vbox-kernel-module-src-${PV}"
3283 -DESCRIPTION="Kernel Modules for Virtualbox"
3284 -HOMEPAGE="https://www.virtualbox.org/"
3285 -SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
3286 -
3287 -LICENSE="GPL-2"
3288 -SLOT="0"
3289 -KEYWORDS="amd64 x86"
3290 -IUSE="pax_kernel"
3291 -
3292 -RDEPEND="!=app-emulation/virtualbox-9999"
3293 -
3294 -S="${WORKDIR}"
3295 -
3296 -BUILD_TARGETS="all"
3297 -MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})"
3298 -MODULESD_VBOXDRV_ENABLED="yes"
3299 -MODULESD_VBOXNETADP_ENABLED="no"
3300 -MODULESD_VBOXNETFLT_ENABLED="no"
3301 -# The following is a security measure that comes directly from usptream.
3302 -# Do NOT remove this!!!
3303 -MODULESD_VBOXPCI_ADDITIONS=(
3304 - "blacklist vboxpci"
3305 - "install vboxpci /bin/true"
3306 -)
3307 -
3308 -pkg_setup() {
3309 - enewgroup vboxusers
3310 - linux-mod_pkg_setup
3311 - BUILD_PARAMS="CC=$(tc-getBUILD_CC) KERN_DIR=${KV_DIR} KERN_VER=${KV_FULL} O=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1"
3312 -}
3313 -
3314 -src_prepare() {
3315 - if use pax_kernel && kernel_is -ge 3 0 0 ; then
3316 - eapply -p0 "${FILESDIR}"/${PN}-5.2.8-pax-const.patch
3317 - fi
3318 -
3319 - default
3320 -}
3321 -
3322 -src_install() {
3323 - linux-mod_src_install
3324 - insinto /usr/lib/modules-load.d/
3325 - newins "${FILESDIR}"/virtualbox.conf-r1 virtualbox.conf
3326 -}
3327 -
3328 -pkg_postinst() {
3329 - linux-mod_pkg_postinst
3330 -}
3331
3332 diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.2.42-r1.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.2.42-r1.ebuild
3333 deleted file mode 100644
3334 index b19665b4c8c..00000000000
3335 --- a/app-emulation/virtualbox-modules/virtualbox-modules-5.2.42-r1.ebuild
3336 +++ /dev/null
3337 @@ -1,59 +0,0 @@
3338 -# Copyright 1999-2020 Gentoo Authors
3339 -# Distributed under the terms of the GNU General Public License v2
3340 -
3341 -# XXX: the tarball here is just the kernel modules split out of the binary
3342 -# package that comes from virtualbox-bin
3343 -
3344 -EAPI=7
3345 -
3346 -inherit linux-mod toolchain-funcs user
3347 -
3348 -MY_P="vbox-kernel-module-src-${PV}"
3349 -DESCRIPTION="Kernel Modules for Virtualbox"
3350 -HOMEPAGE="https://www.virtualbox.org/"
3351 -SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
3352 -
3353 -LICENSE="GPL-2"
3354 -SLOT="0"
3355 -KEYWORDS="~amd64 ~x86"
3356 -IUSE="pax_kernel"
3357 -
3358 -RDEPEND="!=app-emulation/virtualbox-9999"
3359 -
3360 -S="${WORKDIR}"
3361 -
3362 -BUILD_TARGETS="all"
3363 -MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})"
3364 -MODULESD_VBOXDRV_ENABLED="yes"
3365 -MODULESD_VBOXNETADP_ENABLED="no"
3366 -MODULESD_VBOXNETFLT_ENABLED="no"
3367 -# The following is a security measure that comes directly from usptream.
3368 -# Do NOT remove this!!!
3369 -MODULESD_VBOXPCI_ADDITIONS=(
3370 - "blacklist vboxpci"
3371 - "install vboxpci /bin/true"
3372 -)
3373 -
3374 -pkg_setup() {
3375 - enewgroup vboxusers
3376 - linux-mod_pkg_setup
3377 - BUILD_PARAMS="CC=$(tc-getBUILD_CC) KERN_DIR=${KV_DIR} KERN_VER=${KV_FULL} O=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1"
3378 -}
3379 -
3380 -src_prepare() {
3381 - if use pax_kernel && kernel_is -ge 3 0 0 ; then
3382 - eapply -p0 "${FILESDIR}"/${PN}-5.2.8-pax-const.patch
3383 - fi
3384 -
3385 - default
3386 -}
3387 -
3388 -src_install() {
3389 - linux-mod_src_install
3390 - insinto /usr/lib/modules-load.d/
3391 - newins "${FILESDIR}"/virtualbox.conf-r1 virtualbox.conf
3392 -}
3393 -
3394 -pkg_postinst() {
3395 - linux-mod_pkg_postinst
3396 -}
3397
3398 diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.2.44-r1.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.2.44-r1.ebuild
3399 deleted file mode 100644
3400 index b19665b4c8c..00000000000
3401 --- a/app-emulation/virtualbox-modules/virtualbox-modules-5.2.44-r1.ebuild
3402 +++ /dev/null
3403 @@ -1,59 +0,0 @@
3404 -# Copyright 1999-2020 Gentoo Authors
3405 -# Distributed under the terms of the GNU General Public License v2
3406 -
3407 -# XXX: the tarball here is just the kernel modules split out of the binary
3408 -# package that comes from virtualbox-bin
3409 -
3410 -EAPI=7
3411 -
3412 -inherit linux-mod toolchain-funcs user
3413 -
3414 -MY_P="vbox-kernel-module-src-${PV}"
3415 -DESCRIPTION="Kernel Modules for Virtualbox"
3416 -HOMEPAGE="https://www.virtualbox.org/"
3417 -SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
3418 -
3419 -LICENSE="GPL-2"
3420 -SLOT="0"
3421 -KEYWORDS="~amd64 ~x86"
3422 -IUSE="pax_kernel"
3423 -
3424 -RDEPEND="!=app-emulation/virtualbox-9999"
3425 -
3426 -S="${WORKDIR}"
3427 -
3428 -BUILD_TARGETS="all"
3429 -MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})"
3430 -MODULESD_VBOXDRV_ENABLED="yes"
3431 -MODULESD_VBOXNETADP_ENABLED="no"
3432 -MODULESD_VBOXNETFLT_ENABLED="no"
3433 -# The following is a security measure that comes directly from usptream.
3434 -# Do NOT remove this!!!
3435 -MODULESD_VBOXPCI_ADDITIONS=(
3436 - "blacklist vboxpci"
3437 - "install vboxpci /bin/true"
3438 -)
3439 -
3440 -pkg_setup() {
3441 - enewgroup vboxusers
3442 - linux-mod_pkg_setup
3443 - BUILD_PARAMS="CC=$(tc-getBUILD_CC) KERN_DIR=${KV_DIR} KERN_VER=${KV_FULL} O=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1"
3444 -}
3445 -
3446 -src_prepare() {
3447 - if use pax_kernel && kernel_is -ge 3 0 0 ; then
3448 - eapply -p0 "${FILESDIR}"/${PN}-5.2.8-pax-const.patch
3449 - fi
3450 -
3451 - default
3452 -}
3453 -
3454 -src_install() {
3455 - linux-mod_src_install
3456 - insinto /usr/lib/modules-load.d/
3457 - newins "${FILESDIR}"/virtualbox.conf-r1 virtualbox.conf
3458 -}
3459 -
3460 -pkg_postinst() {
3461 - linux-mod_pkg_postinst
3462 -}
3463
3464 diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-6.0.22-r1.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-6.0.22-r1.ebuild
3465 deleted file mode 100644
3466 index 0dac94ce21a..00000000000
3467 --- a/app-emulation/virtualbox-modules/virtualbox-modules-6.0.22-r1.ebuild
3468 +++ /dev/null
3469 @@ -1,55 +0,0 @@
3470 -# Copyright 1999-2020 Gentoo Authors
3471 -# Distributed under the terms of the GNU General Public License v2
3472 -
3473 -# XXX: the tarball here is just the kernel modules split out of the binary
3474 -# package that comes from virtualbox-bin
3475 -
3476 -EAPI=7
3477 -
3478 -inherit linux-mod toolchain-funcs
3479 -
3480 -MY_P="vbox-kernel-module-src-${PV}"
3481 -DESCRIPTION="Kernel Modules for Virtualbox"
3482 -HOMEPAGE="https://www.virtualbox.org/"
3483 -SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
3484 -
3485 -LICENSE="GPL-2"
3486 -SLOT="0"
3487 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
3488 -KEYWORDS="~amd64 ~x86"
3489 -IUSE="pax_kernel"
3490 -
3491 -RDEPEND="!=app-emulation/virtualbox-9999"
3492 -
3493 -S="${WORKDIR}"
3494 -
3495 -BUILD_TARGETS="all"
3496 -MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})"
3497 -MODULESD_VBOXDRV_ENABLED="yes"
3498 -MODULESD_VBOXNETADP_ENABLED="no"
3499 -MODULESD_VBOXNETFLT_ENABLED="no"
3500 -# The following is a security measure that comes directly from usptream.
3501 -# Do NOT remove this!!!
3502 -MODULESD_VBOXPCI_ADDITIONS=(
3503 - "blacklist vboxpci"
3504 - "install vboxpci /bin/true"
3505 -)
3506 -
3507 -pkg_setup() {
3508 - linux-mod_pkg_setup
3509 - BUILD_PARAMS="CC=$(tc-getBUILD_CC) KERN_DIR=${KV_DIR} KERN_VER=${KV_FULL} O=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1"
3510 -}
3511 -
3512 -src_prepare() {
3513 - if use pax_kernel && kernel_is -ge 3 0 0 ; then
3514 - eapply -p0 "${FILESDIR}"/${PN}-5.2.8-pax-const.patch
3515 - fi
3516 -
3517 - default
3518 -}
3519 -
3520 -src_install() {
3521 - linux-mod_src_install
3522 - insinto /usr/lib/modules-load.d/
3523 - newins "${FILESDIR}"/virtualbox.conf-r1 virtualbox.conf
3524 -}
3525
3526 diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-6.1.10-r1.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-6.1.10-r1.ebuild
3527 deleted file mode 100644
3528 index 6ad5644e2ed..00000000000
3529 --- a/app-emulation/virtualbox-modules/virtualbox-modules-6.1.10-r1.ebuild
3530 +++ /dev/null
3531 @@ -1,55 +0,0 @@
3532 -# Copyright 1999-2020 Gentoo Authors
3533 -# Distributed under the terms of the GNU General Public License v2
3534 -
3535 -# XXX: the tarball here is just the kernel modules split out of the binary
3536 -# package that comes from virtualbox-bin
3537 -
3538 -EAPI=7
3539 -
3540 -inherit linux-mod toolchain-funcs
3541 -
3542 -MY_P="vbox-kernel-module-src-${PV}"
3543 -DESCRIPTION="Kernel Modules for Virtualbox"
3544 -HOMEPAGE="https://www.virtualbox.org/"
3545 -SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
3546 -
3547 -LICENSE="GPL-2"
3548 -SLOT="0"
3549 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
3550 -KEYWORDS="~amd64"
3551 -IUSE="pax_kernel"
3552 -
3553 -RDEPEND="!=app-emulation/virtualbox-9999"
3554 -
3555 -S="${WORKDIR}"
3556 -
3557 -BUILD_TARGETS="all"
3558 -MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S})"
3559 -MODULESD_VBOXDRV_ENABLED="yes"
3560 -MODULESD_VBOXNETADP_ENABLED="no"
3561 -MODULESD_VBOXNETFLT_ENABLED="no"
3562 -
3563 -pkg_setup() {
3564 - linux-mod_pkg_setup
3565 - BUILD_PARAMS="CC=$(tc-getBUILD_CC) KERN_DIR=${KV_DIR} KERN_VER=${KV_FULL} O=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1"
3566 -}
3567 -
3568 -src_prepare() {
3569 - if use pax_kernel && kernel_is -ge 3 0 0 ; then
3570 - eapply -p0 "${FILESDIR}"/${PN}-5.2.8-pax-const.patch
3571 - fi
3572 -
3573 - default
3574 -}
3575 -
3576 -src_install() {
3577 - linux-mod_src_install
3578 - insinto /usr/lib/modules-load.d/
3579 - newins "${FILESDIR}"/virtualbox.conf-r1 virtualbox.conf
3580 -}
3581 -
3582 -pkg_postinst() {
3583 - # Remove vboxpci.ko from current running kernel
3584 - find /lib/modules/${KV_FULL}/misc -type f -name "vboxpci.ko" -delete
3585 - linux-mod_pkg_postinst
3586 -}
3587
3588 diff --git a/app-emulation/virtualbox/Manifest b/app-emulation/virtualbox/Manifest
3589 index 9e05bae427c..b70f663ffd9 100644
3590 --- a/app-emulation/virtualbox/Manifest
3591 +++ b/app-emulation/virtualbox/Manifest
3592 @@ -1,14 +1,5 @@
3593 -DIST VirtualBox-5.2.40.tar.bz2 118285273 BLAKE2B 5d1fa572522c0a4d0124b49d68ec6f2bf240431bbe9ebd3dcf34252cc4710ec158c295c3cdb9628f045ce672a840b251b644cd92131cd4ff5ec9eab958609bc6 SHA512 3632c7184593350e484b055f85040f2a1883db4c228b04dc41e36d60de6e3123284cc9eb89ee0eba68bcd317dfdf1a5bb8594738108ea642528cafba965f3a18
3594 -DIST VirtualBox-5.2.42.tar.bz2 124013981 BLAKE2B e22c80861727b14175db6eb476e78ad620e35cdfd480e83331306bbc251e1cf6d21a3dba15b0db1c516c530f0a58dca7d9c70748c8b194a2cf5fe7dfc9c0b80c SHA512 d396d34c0cbc652ad66b7c0e5b8bf206f29e751612543173f01f498f16e113ace0da64e674cd398c1fc0309f46ff99823c8b1000ffc8a7a453bcf8646af2900a
3595 -DIST VirtualBox-5.2.44.tar.bz2 124016934 BLAKE2B da75f107a16d28663a491846a730541b406b68b34962c5ac8bbaee5c05558a2ca1a80ebe67b993bad95b0df5ea5f599e33d037d566e03427dff7e02769ac14d6 SHA512 329b5f8bc4902214d740b2089731c41d1185e76621a5438045e13d03dae739f902fb159b70cb22d1fecbecdf5c2b516ef49ad426cdc606a018e65713dec4ed26
3596 -DIST VirtualBox-6.0.22.tar.bz2 159831666 BLAKE2B 7c8878aec9ce1d5caf44677fa64119f0c0e99a111780a68c93702ff6681c48760d9622e91260b92096ca881fdf715bcb382e6eb2112b82567232b0014f1d975d SHA512 83aa7469e99abbe2d9da99102fb4e15bc5347bae06fe954f82d07eaaeccded1d92cf56b01c238c6cbc2b611fcb30e5dd6af91444278c166529c5b8972acdb657
3597 DIST VirtualBox-6.0.24.tar.bz2 159833756 BLAKE2B 321f7988a5b55a794e2d51937a0752d96eaefb376c12e2fb23be08dff81b164153e19a7d5963a0404f630fb38d6047b9d954a67923f26b2aa16d861a0c6a1b63 SHA512 e6f98d0036cdebc52c78c5ddbce369d9ef0a036c366647b299060e1ccf6942f6b6f899201dfa08c410a039f353b767a41a0d14579c741dc5c034a035cb16c534
3598 -DIST VirtualBox-6.1.10.tar.bz2 164989732 BLAKE2B 0f6d681462245dec10f651c1fac9e7ff5ee1e361d86cb764d84df46a4a51a0e413f8b1ab233e34af53fa3fda14ca17542e4d5c148e857548e03ff80ad2af22ee SHA512 729840d669281ed3ba2936923a50410e52bcec3fcfd5b6b740d5991aa1c25c2a8f5a5a05b4e3e39ef1a271ab3431d4c4f4b3a1262703d1e281d7111f0d4e8a3b
3599 DIST VirtualBox-6.1.12a.tar.bz2 165246721 BLAKE2B e9ee7c10d92b151ab10833c68d0c71a09419bba4dbf86f21401263a98273f5ad5cf628347215d641e80e11d8e77bafeda606822cdd4d02344490fca6b95814ef SHA512 27fe66daf7fa254d9fc4a2cca4a8bbcfbfe6c3387a9f4a740c8ac1297587b5083bccbeef97dcc4e482c4974c843450212e02415b4952eb38b82e179615741193
3600 DIST VirtualBox-6.1.14a.tar.bz2 165962245 BLAKE2B 7f064ea58f7e4f36a0cda9badc7d16d5e95246de923ab9d179688c7f2f020625efa89c592aceec59d54f1c48934b20674594cc6a63f3f42e9fef39cfd5803027 SHA512 7bdf248b53c517923afc46998e46f63271f71ee73fa6826f367828128944895b2d672d7fc4d05f222e6d45897269fe699f7360ee1534c96450e2cc7bc14c0f13
3601 -DIST virtualbox-5.2.36-patches-01.tar.xz 3440 BLAKE2B 66749efba87d82ed4a11ff09444c68f86f82a360e9dbb44fa6072d6c28120f3c23cff8c15bacbd38bce8b69b3d8f35c4d3d493684df962ea6e353eec413dcc38 SHA512 3cf2526d209a54e94cd94840793769fd96fa988e21555d76eda2207a7f87e04b446a28ac6c8a2954e7c00a35107c144cadaec276d171214acdcc2900eb41306c
3602 -DIST virtualbox-5.2.44-patches-01.tar.xz 3608 BLAKE2B 6656f1eef7281dcd89e685cfc5403a6e7cd8d3f226d8cca8efa12c2c20339cb68b6f9b259c3de7925fc55433aa93ef7552dfe0441b9ef4a17a733282f791a62e SHA512 0f6a78e9b60b4fff71e87ba13c6a2af255a234f64e2a5f2be79aaf52146e2ab94c0e52def9096a32baf67c66e048f7ae9606a5e4010e9a1de5f31eec831ee892
3603 -DIST virtualbox-6.0.22-patches-01.tar.xz 3464 BLAKE2B 03ec3460f1f072c4f673e14a66b1f36de95f55c0c893482434049e077e0eff6d3724a8f1f6046d5ddff66675a9a39ecd2e40a6f43904bd575ba86505ed5e0ade SHA512 44875f8eda2e433bfe3b85551d3157c5b5d1740689e05c54772c78f9feba80ed08df88f99f9dd0d0f26d0912b00919e7ed5c38583a8ddc8e8e7e962d89cd2374
3604 DIST virtualbox-6.0.24-patches-01.tar.xz 3640 BLAKE2B e55c30395978471edd0f291cd34ecb772cce2f27bea88c6fe348e83046777638be9bdd36bf3a2fd1967357ea7ff53936398cd94ee74d8e55d31c1896069404ff SHA512 b8d9395083769a641a5d7f78ac734a86220fec817e3e49461208f8e72ef7d11c19fe4507e6766fe7c8c815c9888f793fd66f3fae36d6e3a217e53620b5d95029
3605 -DIST virtualbox-6.1.10-patches-01.tar.xz 2640 BLAKE2B 4aeeb596bcaf6b57a707c08211408d760092187710ce468f3e60bb7e66f22b04db4f4c58d06cea4cf7d4b69c9cfd2ebee5c2c5b8b93766097cf8c7cf9ebd8ae5 SHA512 24393d6e7cb62b65d79dc407f25fba42994d37a761c6c111ab952800715b1ee966ba4f7403a4e79fbf67035c72ef5aa3d1f203bdd69c6078894564018aa284c0
3606 DIST virtualbox-6.1.12-patches-01.tar.xz 2528 BLAKE2B a5d7cde0daea41bee2e40e46569c725769927a31865d99d13b8b13c4903e59b4097f85da15dc592b9c7e8baf8ff805397af827620f107ba09a468b4d1198ecab SHA512 f71d10a9fbce99c3f631ef30bcfa9d0e017e702ac509541b039e08ccbcd024beb93fde09c43d90af5d9d28f6842a7947f20e7950d3897da3e6d57859657e1123
3607
3608 diff --git a/app-emulation/virtualbox/files/virtualbox-ose-5-wrapper b/app-emulation/virtualbox/files/virtualbox-ose-5-wrapper
3609 deleted file mode 100644
3610 index e2249b0e16f..00000000000
3611 --- a/app-emulation/virtualbox/files/virtualbox-ose-5-wrapper
3612 +++ /dev/null
3613 @@ -1,113 +0,0 @@
3614 -#!/bin/sh
3615 -## @file
3616 -# Oracle VM VirtualBox startup script, Linux hosts.
3617 -#
3618 -
3619 -#
3620 -# Copyright (C) 2006-2015 Oracle Corporation
3621 -#
3622 -# This file is part of VirtualBox Open Source Edition (OSE), as
3623 -# available from http://www.virtualbox.org. This file is free software;
3624 -# you can redistribute it and/or modify it under the terms of the GNU
3625 -# General Public License (GPL) as published by the Free Software
3626 -# Foundation, in version 2 as it comes in the "COPYING" file of the
3627 -# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
3628 -# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
3629 -#
3630 -
3631 -PATH="/usr/bin:/bin:/usr/sbin:/sbin"
3632 -CONFIG="/etc/vbox/vbox.cfg"
3633 -
3634 -test -r "${CONFIG}" &&
3635 - . "${CONFIG}"
3636 -test -z "${INSTALL_DIR}" &&
3637 - if test -f /usr/lib/virtualbox/VirtualBox &&
3638 - test -x /usr/lib/virtualbox/VirtualBox; then
3639 - INSTALL_DIR=/usr/lib/virtualbox
3640 - else
3641 - echo "Could not find VirtualBox installation. Please reinstall."
3642 - exit 1
3643 - fi
3644 -
3645 -# Note: This script must not fail if the module was not successfully installed
3646 -# because the user might not want to run a VM but only change VM params!
3647 -
3648 -if [ "$1" = "shutdown" ]; then
3649 - SHUTDOWN="true"
3650 -elif ! lsmod|grep -q vboxdrv; then
3651 - cat << EOF
3652 -WARNING: The vboxdrv kernel module is not loaded. Either there is no module
3653 - available for the current kernel (`uname -r`) or it failed to
3654 - load. Please recompile the kernel module and install it by
3655 -
3656 - for m in vbox{drv,netadp,netflt}; do modprobe \$m; done
3657 -
3658 - You will not be able to start VMs until this problem is fixed.
3659 -EOF
3660 -elif [ ! -c /dev/vboxdrv ]; then
3661 - cat << EOF
3662 -WARNING: The character device /dev/vboxdrv does not exist.
3663 - Please try to reload all the needed kernel modules by:
3664 -
3665 - for m in vbox{netflt,netadp,drv}; do rmmod \$m; done
3666 - for m in vbox{drv,netadp,netflt}; do modprobe \$m; done
3667 -
3668 - and if that is not successful, try to re-install the package by:
3669 -
3670 - emerge -1av app-emulation/virtualbox-modules
3671 -
3672 - You will not be able to start VMs until this problem is fixed.
3673 -EOF
3674 -fi
3675 -
3676 -SERVER_PID=`ps -U \`whoami\` | grep VBoxSVC | awk '{ print $1 }'`
3677 -if [ -z "$SERVER_PID" ]; then
3678 - # Server not running yet/anymore, cleanup socket path.
3679 - # See IPC_GetDefaultSocketPath()!
3680 - if [ -n "$LOGNAME" ]; then
3681 - rm -rf /tmp/.vbox-$LOGNAME-ipc > /dev/null 2>&1
3682 - else
3683 - rm -rf /tmp/.vbox-$USER-ipc > /dev/null 2>&1
3684 - fi
3685 -fi
3686 -
3687 -if [ "$SHUTDOWN" = "true" ]; then
3688 - if [ -n "$SERVER_PID" ]; then
3689 - kill -TERM $SERVER_PID
3690 - sleep 2
3691 - fi
3692 - exit 0
3693 -fi
3694 -
3695 -APP=`basename $0`
3696 -case "$APP" in
3697 - VirtualBox|virtualbox)
3698 - exec "$INSTALL_DIR/VirtualBox" "$@"
3699 - ;;
3700 - VBoxManage|vboxmanage)
3701 - exec "$INSTALL_DIR/VBoxManage" "$@"
3702 - ;;
3703 - VBoxSDL|vboxsdl)
3704 - exec "$INSTALL_DIR/VBoxSDL" "$@"
3705 - ;;
3706 - VBoxVRDP|VBoxHeadless|vboxheadless)
3707 - exec "$INSTALL_DIR/VBoxHeadless" "$@"
3708 - ;;
3709 - VBoxAutostart|vboxautostart)
3710 - exec "$INSTALL_DIR/VBoxAutostart" "$@"
3711 - ;;
3712 - VBoxBalloonCtrl|vboxballoonctrl)
3713 - exec "$INSTALL_DIR/VBoxBalloonCtrl" "$@"
3714 - ;;
3715 - VBoxDTrace|vboxdtrace)
3716 - exec "$INSTALL_DIR/VBoxDTrace" "$@"
3717 - ;;
3718 - vboxwebsrv)
3719 - exec "$INSTALL_DIR/vboxwebsrv" "$@"
3720 - ;;
3721 - *)
3722 - echo "Unknown application - $APP"
3723 - exit 1
3724 - ;;
3725 -esac
3726 -exit 0
3727
3728 diff --git a/app-emulation/virtualbox/virtualbox-5.2.40.ebuild b/app-emulation/virtualbox/virtualbox-5.2.40.ebuild
3729 deleted file mode 100644
3730 index 306436546bc..00000000000
3731 --- a/app-emulation/virtualbox/virtualbox-5.2.40.ebuild
3732 +++ /dev/null
3733 @@ -1,496 +0,0 @@
3734 -# Copyright 1999-2020 Gentoo Authors
3735 -# Distributed under the terms of the GNU General Public License v2
3736 -
3737 -EAPI=6
3738 -
3739 -PYTHON_COMPAT=( python3_{6,7,8} )
3740 -inherit flag-o-matic gnome2-utils java-pkg-opt-2 linux-info pax-utils python-single-r1 tmpfiles toolchain-funcs udev xdg-utils
3741 -
3742 -MY_PV="${PV/beta/BETA}"
3743 -MY_PV="${MY_PV/rc/RC}"
3744 -MY_P=VirtualBox-${MY_PV}
3745 -
3746 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
3747 -HOMEPAGE="https://www.virtualbox.org/"
3748 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
3749 - https://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-5.2.36-patches-01.tar.xz"
3750 -
3751 -LICENSE="GPL-2 dtrace? ( CDDL )"
3752 -SLOT="0"
3753 -KEYWORDS="amd64 x86"
3754 -IUSE="alsa debug doc dtrace headless java libressl lvm pam pax_kernel pulseaudio +opengl python +qt5 +sdk +udev vboxwebsrv vnc"
3755 -
3756 -RDEPEND="!app-emulation/virtualbox-bin
3757 - ~app-emulation/virtualbox-modules-${PV}
3758 - dev-libs/libIDL
3759 - >=dev-libs/libxslt-1.1.19
3760 - net-misc/curl
3761 - dev-libs/libxml2
3762 - media-libs/libpng:0=
3763 - media-libs/libvpx:0=
3764 - media-libs/opus
3765 - sys-libs/zlib:=
3766 - !headless? (
3767 - media-libs/libsdl:0[X,video]
3768 - x11-libs/libX11
3769 - x11-libs/libxcb:=
3770 - x11-libs/libXcursor
3771 - x11-libs/libXext
3772 - x11-libs/libXmu
3773 - x11-libs/libXt
3774 - opengl? ( virtual/opengl media-libs/freeglut )
3775 - qt5? (
3776 - dev-qt/qtcore:5
3777 - dev-qt/qtgui:5
3778 - dev-qt/qtprintsupport:5
3779 - dev-qt/qtwidgets:5
3780 - dev-qt/qtx11extras:5
3781 - opengl? ( dev-qt/qtopengl:5 )
3782 - x11-libs/libXinerama
3783 - )
3784 - )
3785 - libressl? ( dev-libs/libressl:= )
3786 - !libressl? ( dev-libs/openssl:0= )
3787 - lvm? ( sys-fs/lvm2 )
3788 - udev? ( >=virtual/udev-171 )
3789 - vnc? ( >=net-libs/libvncserver-0.9.9 )
3790 - ${PYTHON_DEPS}"
3791 -DEPEND="${RDEPEND}
3792 - >=dev-util/kbuild-0.1.9998.3127
3793 - >=dev-lang/yasm-0.6.2
3794 - sys-devel/bin86
3795 - sys-libs/libcap
3796 - sys-power/iasl
3797 - virtual/pkgconfig
3798 - alsa? ( >=media-libs/alsa-lib-1.0.13 )
3799 - doc? (
3800 - app-text/docbook-sgml-dtd:4.4
3801 - dev-texlive/texlive-basic
3802 - dev-texlive/texlive-latex
3803 - dev-texlive/texlive-latexrecommended
3804 - dev-texlive/texlive-latexextra
3805 - dev-texlive/texlive-fontsrecommended
3806 - dev-texlive/texlive-fontsextra
3807 - )
3808 - !headless? ( x11-libs/libXinerama )
3809 - java? ( >=virtual/jdk-1.6 )
3810 - pam? ( sys-libs/pam )
3811 - pax_kernel? ( sys-apps/elfix )
3812 - pulseaudio? ( media-sound/pulseaudio )
3813 - qt5? ( dev-qt/linguist-tools:5 )
3814 - vboxwebsrv? ( net-libs/gsoap[-gnutls(-)] )
3815 - ${PYTHON_DEPS}"
3816 -RDEPEND="${RDEPEND}
3817 - java? ( >=virtual/jre-1.6 )"
3818 -
3819 -QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
3820 - usr/lib/virtualbox/VBoxSDL.so
3821 - usr/lib/virtualbox/VBoxSharedFolders.so
3822 - usr/lib/virtualbox/VBoxDD2.so
3823 - usr/lib/virtualbox/VBoxOGLrenderspu.so
3824 - usr/lib/virtualbox/VBoxPython.so
3825 - usr/lib/virtualbox/VBoxDD.so
3826 - usr/lib/virtualbox/VBoxDDU.so
3827 - usr/lib/virtualbox/VBoxREM64.so
3828 - usr/lib/virtualbox/VBoxSharedClipboard.so
3829 - usr/lib/virtualbox/VBoxHeadless.so
3830 - usr/lib/virtualbox/VBoxRT.so
3831 - usr/lib/virtualbox/VBoxREM.so
3832 - usr/lib/virtualbox/VBoxSettings.so
3833 - usr/lib/virtualbox/VBoxKeyboard.so
3834 - usr/lib/virtualbox/VBoxSharedCrOpenGL.so
3835 - usr/lib/virtualbox/VBoxVMM.so
3836 - usr/lib/virtualbox/VirtualBox.so
3837 - usr/lib/virtualbox/VBoxOGLhosterrorspu.so
3838 - usr/lib/virtualbox/components/VBoxC.so
3839 - usr/lib/virtualbox/components/VBoxSVCM.so
3840 - usr/lib/virtualbox/components/VBoxDDU.so
3841 - usr/lib/virtualbox/components/VBoxRT.so
3842 - usr/lib/virtualbox/components/VBoxREM.so
3843 - usr/lib/virtualbox/components/VBoxVMM.so
3844 - usr/lib/virtualbox/VBoxREM32.so
3845 - usr/lib/virtualbox/VBoxPython2_7.so
3846 - usr/lib/virtualbox/VBoxXPCOMC.so
3847 - usr/lib/virtualbox/VBoxOGLhostcrutil.so
3848 - usr/lib/virtualbox/VBoxNetDHCP.so
3849 - usr/lib/virtualbox/VBoxNetNAT.so"
3850 -
3851 -S="${WORKDIR}/${MY_P}"
3852 -
3853 -REQUIRED_USE="
3854 - java? ( sdk )
3855 - python? ( sdk )
3856 - vboxwebsrv? ( java )
3857 - ${PYTHON_REQUIRED_USE}
3858 -"
3859 -
3860 -pkg_pretend() {
3861 - if ! use headless && ! use qt5 ; then
3862 - einfo "No USE=\"qt5\" selected, this build will not include any Qt frontend."
3863 - elif use headless && use qt5 ; then
3864 - einfo "You selected USE=\"headless qt5\", defaulting to"
3865 - einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
3866 - fi
3867 -
3868 - if ! use opengl ; then
3869 - einfo "No USE=\"opengl\" selected, this build will lack"
3870 - einfo "the OpenGL feature."
3871 - fi
3872 - if ! use python ; then
3873 - einfo "You have disabled the \"python\" USE flag. This will only"
3874 - einfo "disable the python bindings being installed."
3875 - fi
3876 -}
3877 -
3878 -pkg_setup() {
3879 - java-pkg-opt-2_pkg_setup
3880 - python-single-r1_pkg_setup
3881 -
3882 - tc-ld-disable-gold #bug 488176
3883 - tc-export CC CXX LD AR RANLIB
3884 - export HOST_CC="$(tc-getBUILD_CC)"
3885 -}
3886 -
3887 -src_prepare() {
3888 - # Remove shipped binaries (kBuild,yasm), see bug #232775
3889 - rm -r kBuild/bin tools || die
3890 -
3891 - # Replace pointless GCC version check with something less stupid.
3892 - # This is needed for the qt5 version check.
3893 - sed -e 's@^check_gcc$@cc_maj="$(gcc -dumpversion | cut -d. -f1)" ; cc_min="$(gcc -dumpversion | cut -d. -f2)"@' \
3894 - -i configure || die
3895 -
3896 - # Disable things unused or split into separate ebuilds
3897 - sed -e "s@MY_LIBDIR@$(get_libdir)@" \
3898 - "${FILESDIR}"/${PN}-5-localconfig > LocalConfig.kmk || die
3899 -
3900 - # Respect LDFLAGS
3901 - sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
3902 - -i Config.kmk src/libs/xpcom18a4/Config.kmk || die
3903 -
3904 - # Do not use hard-coded ld (related to bug #488176)
3905 - sed -e '/QUIET)ld /s@ld @$(LD) @' \
3906 - -i src/VBox/Devices/PC/ipxe/Makefile.kmk || die
3907 -
3908 - # Use PAM only when pam USE flag is enbaled (bug #376531)
3909 - if ! use pam ; then
3910 - elog "Disabling PAM removes the possibility to use the VRDP features."
3911 - sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die
3912 - sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \
3913 - src/VBox/HostServices/Makefile.kmk || die
3914 - fi
3915 -
3916 - # add correct java path
3917 - if use java ; then
3918 - sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \
3919 - -i "${S}"/Config.kmk || die
3920 - java-pkg-opt-2_src_prepare
3921 - fi
3922 -
3923 - # Only add nopie patch when we're on hardened
3924 - if gcc-specs-pie ; then
3925 - eapply "${FILESDIR}/050_virtualbox-5.2.8-nopie.patch"
3926 - fi
3927 -
3928 - # Only add paxmark patch when we're on pax_kernel
3929 - if use pax_kernel ; then
3930 - eapply "${FILESDIR}"/virtualbox-5.2.8-paxmark-bldprogs.patch
3931 - fi
3932 -
3933 - rm "${WORKDIR}/patches/008_virtualbox-4.3.14-missing_define.patch" || die
3934 - eapply "${WORKDIR}/patches"
3935 -
3936 - eapply_user
3937 -}
3938 -
3939 -doecho() {
3940 - echo "$@"
3941 - "$@" || die
3942 -}
3943 -
3944 -src_configure() {
3945 - local myconf=(
3946 - --with-gcc="$(tc-getCC)"
3947 - --with-g++="$(tc-getCXX)"
3948 - --disable-dbus
3949 - --disable-kmods
3950 - $(usex alsa '' --disable-alsa)
3951 - $(usex debug --build-debug '')
3952 - $(usex doc '' --disable-docs)
3953 - $(usex java '' --disable-java)
3954 - $(usex lvm '' --disable-devmapper)
3955 - $(usex pulseaudio '' --disable-pulse)
3956 - $(usex python '' --disable-python)
3957 - $(usex vboxwebsrv --enable-webservice '')
3958 - $(usex vnc --enable-vnc '')
3959 - )
3960 - if ! use headless ; then
3961 - myconf+=(
3962 - $(usex opengl '' --disable-opengl)
3963 - $(usex qt5 '' --disable-qt)
3964 - )
3965 - else
3966 - myconf+=(
3967 - --build-headless
3968 - --disable-opengl
3969 - )
3970 - fi
3971 - if use amd64 && ! has_multilib_profile ; then
3972 - myconf+=( --disable-vmmraw )
3973 - fi
3974 - # not an autoconf script
3975 - doecho ./configure ${myconf[@]}
3976 -}
3977 -
3978 -src_compile() {
3979 - source ./env.sh || die
3980 -
3981 - # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
3982 - MAKEJOBS=$(grep -Eo '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
3983 - MAKELOAD=$(grep -Eo '(\-l|\-\-load-average)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
3984 - MAKEOPTS="${MAKEJOBS} ${MAKELOAD}"
3985 - MAKE="kmk" emake \
3986 - VBOX_BUILD_PUBLISHER=_Gentoo \
3987 - TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
3988 - TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
3989 - TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
3990 - TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
3991 - VBOX_GCC_OPT="${CXXFLAGS}" \
3992 - TOOL_YASM_AS=yasm KBUILD_VERBOSE=2 \
3993 - all
3994 -}
3995 -
3996 -src_install() {
3997 - local binpath="release"
3998 - use debug && binpath="debug"
3999 - cd "${S}"/out/linux.${ARCH}/${binpath}/bin || die
4000 -
4001 - local vbox_inst_path="/usr/$(get_libdir)/${PN}" each fwfile size ico icofile
4002 -
4003 - vbox_inst() {
4004 - local binary="${1}"
4005 - local perms="${2:-0750}"
4006 - local path="${3:-${vbox_inst_path}}"
4007 -
4008 - [[ -n "${binary}" ]] || die "vbox_inst: No binray given!"
4009 - [[ ${perms} =~ ^[[:digit:]]+{4}$ ]] || die "vbox_inst: perms must consist of four digits."
4010 -
4011 - insinto ${path}
4012 - doins ${binary}
4013 - fowners root:vboxusers ${path}/${binary}
4014 - fperms ${perms} ${path}/${binary}
4015 - }
4016 -
4017 - # Create configuration files
4018 - insinto /etc/vbox
4019 - newins "${FILESDIR}/${PN}-4-config" vbox.cfg
4020 -
4021 - # Set the correct libdir
4022 - sed \
4023 - -e "s@MY_LIBDIR@$(get_libdir)@" \
4024 - -i "${ED%/}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
4025 -
4026 - # Install the wrapper script
4027 - exeinto ${vbox_inst_path}
4028 - newexe "${FILESDIR}/${PN}-ose-5-wrapper" "VBox"
4029 - fowners root:vboxusers ${vbox_inst_path}/VBox
4030 - fperms 0750 ${vbox_inst_path}/VBox
4031 -
4032 - # Install binaries and libraries
4033 - insinto ${vbox_inst_path}
4034 - doins -r components
4035 -
4036 - # *.rc files for x86_64 are only available on multilib systems
4037 - local rcfiles="*.rc"
4038 - if use amd64 && ! has_multilib_profile ; then
4039 - rcfiles=""
4040 - fi
4041 - for each in VBox{ExtPackHelperApp,Manage,SVC,Tunctl,XPCOMIPCD} *so *r0 ${rcfiles} ; do
4042 - vbox_inst ${each}
4043 - done
4044 -
4045 - # These binaries need to be suid root.
4046 - for each in VBox{Headless,Net{AdpCtl,DHCP,NAT}} ; do
4047 - vbox_inst ${each} 4750
4048 - done
4049 -
4050 - # Install EFI Firmware files (bug #320757)
4051 - pushd "${S}"/src/VBox/Devices/EFI/FirmwareBin &>/dev/null || die
4052 - for fwfile in VBoxEFI{32,64}.fd ; do
4053 - vbox_inst ${fwfile} 0644
4054 - done
4055 - popd &>/dev/null || die
4056 -
4057 - # VBoxSVC and VBoxManage need to be pax-marked (bug #403453)
4058 - # VBoxXPCOMIPCD (bug #524202)
4059 - for each in VBox{Headless,Manage,SVC,XPCOMIPCD} ; do
4060 - pax-mark -m "${ED%/}"${vbox_inst_path}/${each}
4061 - done
4062 -
4063 - # Symlink binaries to the shipped wrapper
4064 - for each in vbox{headless,manage} VBox{Headless,Manage,VRDP} ; do
4065 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
4066 - done
4067 - dosym ${vbox_inst_path}/VBoxTunctl /usr/bin/VBoxTunctl
4068 -
4069 - if use pam ; then
4070 - # VRDPAuth only works with this (bug #351949)
4071 - dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so
4072 - fi
4073 -
4074 - # set an env-variable for 3rd party tools
4075 - echo -n "VBOX_APP_HOME=${vbox_inst_path}" > "${T}/90virtualbox"
4076 - doenvd "${T}/90virtualbox"
4077 -
4078 - if ! use headless ; then
4079 - vbox_inst VBoxSDL 4750
4080 - pax-mark -m "${ED%/}"${vbox_inst_path}/VBoxSDL
4081 -
4082 - for each in vboxsdl VBoxSDL ; do
4083 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
4084 - done
4085 -
4086 - if use qt5 ; then
4087 - vbox_inst VirtualBox 4750
4088 - pax-mark -m "${ED%/}"${vbox_inst_path}/VirtualBox
4089 -
4090 - if use opengl ; then
4091 - vbox_inst VBoxTestOGL
4092 - pax-mark -m "${ED%/}"${vbox_inst_path}/VBoxTestOGL
4093 - fi
4094 -
4095 - for each in virtualbox VirtualBox ; do
4096 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
4097 - done
4098 -
4099 - insinto /usr/share/${PN}
4100 - doins -r nls
4101 - doins -r UnattendedTemplates
4102 -
4103 - newmenu "${FILESDIR}"/${PN}-ose.desktop-2 ${PN}.desktop
4104 - fi
4105 -
4106 - pushd "${S}"/src/VBox/Artwork/OSE &>/dev/null || die
4107 - for size in 16 32 48 64 128 ; do
4108 - newicon -s ${size} ${PN}-${size}px.png ${PN}.png
4109 - done
4110 - newicon ${PN}-48px.png ${PN}.png
4111 - doicon -s scalable ${PN}.svg
4112 - popd &>/dev/null || die
4113 - pushd "${S}"/src/VBox/Artwork/other &>/dev/null || die
4114 - for size in 16 24 32 48 64 72 96 128 256 512 ; do
4115 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
4116 - icofile="${PN}-${ico}-${size}px.png"
4117 - if [[ -f "${icofile}" ]] ; then
4118 - newicon -s ${size} ${icofile} ${PN}-${ico}.png
4119 - fi
4120 - done
4121 - done
4122 - popd &>/dev/null || die
4123 - fi
4124 -
4125 - if use lvm ; then
4126 - vbox_inst VBoxVolInfo 4750
4127 - dosym ${vbox_inst_path}/VBoxVolInfo /usr/bin/VBoxVolInfo
4128 - fi
4129 -
4130 - if use sdk ; then
4131 - insinto ${vbox_inst_path}
4132 - doins -r sdk
4133 -
4134 - if use java ; then
4135 - java-pkg_regjar "${ED%/}/${vbox_inst_path}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
4136 - java-pkg_regso "${ED%/}/${vbox_inst_path}/libvboxjxpcom.so"
4137 - fi
4138 - fi
4139 -
4140 - if use udev ; then
4141 - # New way of handling USB device nodes for VBox (bug #356215)
4142 - local udevdir="$(get_udevdir)"
4143 - insinto ${udevdir}
4144 - doins VBoxCreateUSBNode.sh
4145 - fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
4146 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
4147 - insinto ${udevdir}/rules.d
4148 - sed "s@%UDEVDIR%@${udevdir}@" "${FILESDIR}"/10-virtualbox.rules \
4149 - > "${T}"/10-virtualbox.rules || die
4150 - doins "${T}"/10-virtualbox.rules
4151 - fi
4152 -
4153 - if use vboxwebsrv ; then
4154 - vbox_inst vboxwebsrv
4155 - dosym ${vbox_inst_path}/VBox /usr/bin/vboxwebsrv
4156 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
4157 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
4158 - fi
4159 -
4160 - # Fix version string in extensions or else they don't get accepted
4161 - # by the virtualbox host process (see bug #438930)
4162 - find ExtensionPacks -type f -name "ExtPack.xml" -print0 \
4163 - | xargs --no-run-if-empty --null sed -i '/Version/s@_Gentoo@@' \
4164 - || die
4165 -
4166 - if use vnc ; then
4167 - insinto ${vbox_inst_path}/ExtensionPacks
4168 - doins -r ExtensionPacks/VNC
4169 - fi
4170 -
4171 - if use dtrace ; then
4172 - insinto ${vbox_inst_path}/ExtensionPacks
4173 - doins -r ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack
4174 - fi
4175 -
4176 - if use doc ; then
4177 - dodoc UserManual.pdf
4178 - fi
4179 -
4180 - newtmpfiles "${FILESDIR}"/${PN}-vboxusb_tmpfilesd ${PN}-vboxusb.conf
4181 -}
4182 -
4183 -pkg_postinst() {
4184 - gnome2_icon_cache_update
4185 - xdg_desktop_database_update
4186 -
4187 - if use udev ; then
4188 - udevadm control --reload-rules \
4189 - && udevadm trigger --subsystem-match=usb
4190 - fi
4191 -
4192 - tmpfiles_process /usr/lib/tmpfiles.d/virtualbox-vboxusb.conf
4193 -
4194 - if ! use headless && use qt5 ; then
4195 - elog "To launch VirtualBox just type: \"virtualbox\"."
4196 - fi
4197 - elog "You must be in the vboxusers group to use VirtualBox."
4198 - elog ""
4199 - elog "The latest user manual is available for download at:"
4200 - elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
4201 - elog ""
4202 - elog "For advanced networking setups you should emerge:"
4203 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
4204 - elog ""
4205 - elog "Starting with version 4.0.0, ${PN} has USB-1 support."
4206 - elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
4207 - elog " app-emulation/virtualbox-extpack-oracle"
4208 - elog "package."
4209 - elog "Starting with version 5.0.0, ${PN} no longer has the \"additions\" and"
4210 - elog "the \"extension\" USE flag. For installation of the guest additions ISO"
4211 - elog "image, please emerge"
4212 - elog " app-emulation/virtualbox-additions"
4213 - elog "and for the USB2, USB3, VRDP and PXE boot ROM modules, please emerge"
4214 - elog " app-emulation/virtualbox-extpack-oracle"
4215 - if ! use udev ; then
4216 - elog ""
4217 - elog "WARNING!"
4218 - elog "Without USE=udev, USB devices will likely not work in ${PN}."
4219 - elif [ -e "${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
4220 - elog ""
4221 - elog "Please remove \"${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules\""
4222 - elog "or else USB in ${PN} won't work."
4223 - fi
4224 -}
4225 -
4226 -pkg_postrm() {
4227 - gnome2_icon_cache_update
4228 - xdg_desktop_database_update
4229 -}
4230
4231 diff --git a/app-emulation/virtualbox/virtualbox-5.2.42.ebuild b/app-emulation/virtualbox/virtualbox-5.2.42.ebuild
4232 deleted file mode 100644
4233 index e24eff4276a..00000000000
4234 --- a/app-emulation/virtualbox/virtualbox-5.2.42.ebuild
4235 +++ /dev/null
4236 @@ -1,493 +0,0 @@
4237 -# Copyright 1999-2020 Gentoo Authors
4238 -# Distributed under the terms of the GNU General Public License v2
4239 -
4240 -EAPI=6
4241 -
4242 -PYTHON_COMPAT=( python3_{6,7,8} )
4243 -inherit flag-o-matic gnome2-utils java-pkg-opt-2 linux-info pax-utils python-single-r1 tmpfiles toolchain-funcs udev xdg-utils
4244 -
4245 -MY_PV="${PV/beta/BETA}"
4246 -MY_PV="${MY_PV/rc/RC}"
4247 -MY_P=VirtualBox-${MY_PV}
4248 -
4249 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
4250 -HOMEPAGE="https://www.virtualbox.org/"
4251 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
4252 - https://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-5.2.36-patches-01.tar.xz"
4253 -
4254 -LICENSE="GPL-2 dtrace? ( CDDL )"
4255 -SLOT="0"
4256 -KEYWORDS="~amd64 ~x86"
4257 -IUSE="alsa debug doc dtrace headless java libressl lvm pam pax_kernel pulseaudio +opengl python +qt5 +sdk +udev vboxwebsrv vnc"
4258 -
4259 -RDEPEND="!app-emulation/virtualbox-bin
4260 - ~app-emulation/virtualbox-modules-${PV}
4261 - dev-libs/libIDL
4262 - >=dev-libs/libxslt-1.1.19
4263 - net-misc/curl
4264 - dev-libs/libxml2
4265 - media-libs/libpng:0=
4266 - media-libs/libvpx:0=
4267 - media-libs/opus
4268 - sys-libs/zlib:=
4269 - !headless? (
4270 - media-libs/libsdl:0[X,video]
4271 - x11-libs/libX11
4272 - x11-libs/libxcb:=
4273 - x11-libs/libXcursor
4274 - x11-libs/libXext
4275 - x11-libs/libXmu
4276 - x11-libs/libXt
4277 - opengl? ( virtual/opengl media-libs/freeglut )
4278 - qt5? (
4279 - dev-qt/qtcore:5
4280 - dev-qt/qtgui:5
4281 - dev-qt/qtprintsupport:5
4282 - dev-qt/qtwidgets:5
4283 - dev-qt/qtx11extras:5
4284 - opengl? ( dev-qt/qtopengl:5 )
4285 - x11-libs/libXinerama
4286 - )
4287 - )
4288 - libressl? ( dev-libs/libressl:= )
4289 - !libressl? ( dev-libs/openssl:0= )
4290 - lvm? ( sys-fs/lvm2 )
4291 - udev? ( >=virtual/udev-171 )
4292 - vnc? ( >=net-libs/libvncserver-0.9.9 )
4293 - ${PYTHON_DEPS}"
4294 -DEPEND="${RDEPEND}
4295 - >=dev-util/kbuild-0.1.9998.3127
4296 - >=dev-lang/yasm-0.6.2
4297 - sys-devel/bin86
4298 - sys-libs/libcap
4299 - sys-power/iasl
4300 - virtual/pkgconfig
4301 - alsa? ( >=media-libs/alsa-lib-1.0.13 )
4302 - doc? (
4303 - app-text/docbook-sgml-dtd:4.4
4304 - dev-texlive/texlive-basic
4305 - dev-texlive/texlive-latex
4306 - dev-texlive/texlive-latexrecommended
4307 - dev-texlive/texlive-latexextra
4308 - dev-texlive/texlive-fontsrecommended
4309 - dev-texlive/texlive-fontsextra
4310 - )
4311 - !headless? ( x11-libs/libXinerama )
4312 - java? ( >=virtual/jdk-1.6 )
4313 - pam? ( sys-libs/pam )
4314 - pax_kernel? ( sys-apps/elfix )
4315 - pulseaudio? ( media-sound/pulseaudio )
4316 - qt5? ( dev-qt/linguist-tools:5 )
4317 - vboxwebsrv? ( net-libs/gsoap[-gnutls(-)] )
4318 - ${PYTHON_DEPS}"
4319 -RDEPEND="${RDEPEND}
4320 - java? ( >=virtual/jre-1.6 )"
4321 -
4322 -QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
4323 - usr/lib/virtualbox/VBoxSDL.so
4324 - usr/lib/virtualbox/VBoxSharedFolders.so
4325 - usr/lib/virtualbox/VBoxDD2.so
4326 - usr/lib/virtualbox/VBoxOGLrenderspu.so
4327 - usr/lib/virtualbox/VBoxPython.so
4328 - usr/lib/virtualbox/VBoxDD.so
4329 - usr/lib/virtualbox/VBoxDDU.so
4330 - usr/lib/virtualbox/VBoxREM64.so
4331 - usr/lib/virtualbox/VBoxSharedClipboard.so
4332 - usr/lib/virtualbox/VBoxHeadless.so
4333 - usr/lib/virtualbox/VBoxRT.so
4334 - usr/lib/virtualbox/VBoxREM.so
4335 - usr/lib/virtualbox/VBoxSettings.so
4336 - usr/lib/virtualbox/VBoxKeyboard.so
4337 - usr/lib/virtualbox/VBoxSharedCrOpenGL.so
4338 - usr/lib/virtualbox/VBoxVMM.so
4339 - usr/lib/virtualbox/VirtualBox.so
4340 - usr/lib/virtualbox/VBoxOGLhosterrorspu.so
4341 - usr/lib/virtualbox/components/VBoxC.so
4342 - usr/lib/virtualbox/components/VBoxSVCM.so
4343 - usr/lib/virtualbox/components/VBoxDDU.so
4344 - usr/lib/virtualbox/components/VBoxRT.so
4345 - usr/lib/virtualbox/components/VBoxREM.so
4346 - usr/lib/virtualbox/components/VBoxVMM.so
4347 - usr/lib/virtualbox/VBoxREM32.so
4348 - usr/lib/virtualbox/VBoxPython2_7.so
4349 - usr/lib/virtualbox/VBoxXPCOMC.so
4350 - usr/lib/virtualbox/VBoxOGLhostcrutil.so
4351 - usr/lib/virtualbox/VBoxNetDHCP.so
4352 - usr/lib/virtualbox/VBoxNetNAT.so"
4353 -
4354 -S="${WORKDIR}/${MY_P}"
4355 -
4356 -REQUIRED_USE="
4357 - java? ( sdk )
4358 - python? ( sdk )
4359 - vboxwebsrv? ( java )
4360 - ${PYTHON_REQUIRED_USE}
4361 -"
4362 -
4363 -pkg_pretend() {
4364 - if ! use headless && ! use qt5 ; then
4365 - einfo "No USE=\"qt5\" selected, this build will not include any Qt frontend."
4366 - elif use headless && use qt5 ; then
4367 - einfo "You selected USE=\"headless qt5\", defaulting to"
4368 - einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
4369 - fi
4370 -
4371 - if ! use opengl ; then
4372 - einfo "No USE=\"opengl\" selected, this build will lack"
4373 - einfo "the OpenGL feature."
4374 - fi
4375 - if ! use python ; then
4376 - einfo "You have disabled the \"python\" USE flag. This will only"
4377 - einfo "disable the python bindings being installed."
4378 - fi
4379 -}
4380 -
4381 -pkg_setup() {
4382 - java-pkg-opt-2_pkg_setup
4383 - python-single-r1_pkg_setup
4384 -
4385 - tc-ld-disable-gold #bug 488176
4386 - tc-export CC CXX LD AR RANLIB
4387 - export HOST_CC="$(tc-getBUILD_CC)"
4388 -}
4389 -
4390 -src_prepare() {
4391 - # Remove shipped binaries (kBuild,yasm), see bug #232775
4392 - rm -r kBuild/bin tools || die
4393 -
4394 - # Replace pointless GCC version check with something less stupid.
4395 - # This is needed for the qt5 version check.
4396 - sed -e 's@^check_gcc$@cc_maj="$(gcc -dumpversion | cut -d. -f1)" ; cc_min="$(gcc -dumpversion | cut -d. -f2)"@' \
4397 - -i configure || die
4398 -
4399 - # Disable things unused or split into separate ebuilds
4400 - sed -e "s@MY_LIBDIR@$(get_libdir)@" \
4401 - "${FILESDIR}"/${PN}-5-localconfig > LocalConfig.kmk || die
4402 -
4403 - # Respect LDFLAGS
4404 - sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
4405 - -i Config.kmk src/libs/xpcom18a4/Config.kmk || die
4406 -
4407 - # Do not use hard-coded ld (related to bug #488176)
4408 - sed -e '/QUIET)ld /s@ld @$(LD) @' \
4409 - -i src/VBox/Devices/PC/ipxe/Makefile.kmk || die
4410 -
4411 - # Use PAM only when pam USE flag is enbaled (bug #376531)
4412 - if ! use pam ; then
4413 - elog "Disabling PAM removes the possibility to use the VRDP features."
4414 - sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die
4415 - sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \
4416 - src/VBox/HostServices/Makefile.kmk || die
4417 - fi
4418 -
4419 - # add correct java path
4420 - if use java ; then
4421 - sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \
4422 - -i "${S}"/Config.kmk || die
4423 - java-pkg-opt-2_src_prepare
4424 - fi
4425 -
4426 - # Only add nopie patch when we're on hardened
4427 - if gcc-specs-pie ; then
4428 - eapply "${FILESDIR}/050_virtualbox-5.2.8-nopie.patch"
4429 - fi
4430 -
4431 - # Only add paxmark patch when we're on pax_kernel
4432 - if use pax_kernel ; then
4433 - eapply "${FILESDIR}"/virtualbox-5.2.8-paxmark-bldprogs.patch
4434 - fi
4435 -
4436 - rm "${WORKDIR}/patches/008_virtualbox-4.3.14-missing_define.patch" || die
4437 - eapply "${WORKDIR}/patches"
4438 -
4439 - eapply_user
4440 -}
4441 -
4442 -doecho() {
4443 - echo "$@"
4444 - "$@" || die
4445 -}
4446 -
4447 -src_configure() {
4448 - local myconf=(
4449 - --with-gcc="$(tc-getCC)"
4450 - --with-g++="$(tc-getCXX)"
4451 - --disable-dbus
4452 - --disable-kmods
4453 - $(usex alsa '' --disable-alsa)
4454 - $(usex debug --build-debug '')
4455 - $(usex doc '' --disable-docs)
4456 - $(usex java '' --disable-java)
4457 - $(usex lvm '' --disable-devmapper)
4458 - $(usex pulseaudio '' --disable-pulse)
4459 - $(usex python '' --disable-python)
4460 - $(usex vboxwebsrv --enable-webservice '')
4461 - $(usex vnc --enable-vnc '')
4462 - )
4463 - if ! use headless ; then
4464 - myconf+=(
4465 - $(usex opengl '' --disable-opengl)
4466 - $(usex qt5 '' --disable-qt)
4467 - )
4468 - else
4469 - myconf+=(
4470 - --build-headless
4471 - --disable-opengl
4472 - )
4473 - fi
4474 - if use amd64 && ! has_multilib_profile ; then
4475 - myconf+=( --disable-vmmraw )
4476 - fi
4477 - # not an autoconf script
4478 - doecho ./configure ${myconf[@]}
4479 -}
4480 -
4481 -src_compile() {
4482 - source ./env.sh || die
4483 -
4484 - # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
4485 - MAKEJOBS=$(grep -Eo '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
4486 - MAKELOAD=$(grep -Eo '(\-l|\-\-load-average)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
4487 - MAKEOPTS="${MAKEJOBS} ${MAKELOAD}"
4488 - MAKE="kmk" emake \
4489 - VBOX_BUILD_PUBLISHER=_Gentoo \
4490 - TOOL_GXX3_CC="$(tc-getCC)" TOOL_GXX3_CXX="$(tc-getCXX)" \
4491 - TOOL_GXX3_LD="$(tc-getCXX)" VBOX_GCC_OPT="${CXXFLAGS}" \
4492 - TOOL_YASM_AS=yasm KBUILD_VERBOSE=2 \
4493 - all
4494 -}
4495 -
4496 -src_install() {
4497 - local binpath="release"
4498 - use debug && binpath="debug"
4499 - cd "${S}"/out/linux.${ARCH}/${binpath}/bin || die
4500 -
4501 - local vbox_inst_path="/usr/$(get_libdir)/${PN}" each fwfile size ico icofile
4502 -
4503 - vbox_inst() {
4504 - local binary="${1}"
4505 - local perms="${2:-0750}"
4506 - local path="${3:-${vbox_inst_path}}"
4507 -
4508 - [[ -n "${binary}" ]] || die "vbox_inst: No binray given!"
4509 - [[ ${perms} =~ ^[[:digit:]]+{4}$ ]] || die "vbox_inst: perms must consist of four digits."
4510 -
4511 - insinto ${path}
4512 - doins ${binary}
4513 - fowners root:vboxusers ${path}/${binary}
4514 - fperms ${perms} ${path}/${binary}
4515 - }
4516 -
4517 - # Create configuration files
4518 - insinto /etc/vbox
4519 - newins "${FILESDIR}/${PN}-4-config" vbox.cfg
4520 -
4521 - # Set the correct libdir
4522 - sed \
4523 - -e "s@MY_LIBDIR@$(get_libdir)@" \
4524 - -i "${ED%/}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
4525 -
4526 - # Install the wrapper script
4527 - exeinto ${vbox_inst_path}
4528 - newexe "${FILESDIR}/${PN}-ose-5-wrapper" "VBox"
4529 - fowners root:vboxusers ${vbox_inst_path}/VBox
4530 - fperms 0750 ${vbox_inst_path}/VBox
4531 -
4532 - # Install binaries and libraries
4533 - insinto ${vbox_inst_path}
4534 - doins -r components
4535 -
4536 - # *.rc files for x86_64 are only available on multilib systems
4537 - local rcfiles="*.rc"
4538 - if use amd64 && ! has_multilib_profile ; then
4539 - rcfiles=""
4540 - fi
4541 - for each in VBox{ExtPackHelperApp,Manage,SVC,Tunctl,XPCOMIPCD} *so *r0 ${rcfiles} ; do
4542 - vbox_inst ${each}
4543 - done
4544 -
4545 - # These binaries need to be suid root.
4546 - for each in VBox{Headless,Net{AdpCtl,DHCP,NAT}} ; do
4547 - vbox_inst ${each} 4750
4548 - done
4549 -
4550 - # Install EFI Firmware files (bug #320757)
4551 - pushd "${S}"/src/VBox/Devices/EFI/FirmwareBin &>/dev/null || die
4552 - for fwfile in VBoxEFI{32,64}.fd ; do
4553 - vbox_inst ${fwfile} 0644
4554 - done
4555 - popd &>/dev/null || die
4556 -
4557 - # VBoxSVC and VBoxManage need to be pax-marked (bug #403453)
4558 - # VBoxXPCOMIPCD (bug #524202)
4559 - for each in VBox{Headless,Manage,SVC,XPCOMIPCD} ; do
4560 - pax-mark -m "${ED%/}"${vbox_inst_path}/${each}
4561 - done
4562 -
4563 - # Symlink binaries to the shipped wrapper
4564 - for each in vbox{headless,manage} VBox{Headless,Manage,VRDP} ; do
4565 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
4566 - done
4567 - dosym ${vbox_inst_path}/VBoxTunctl /usr/bin/VBoxTunctl
4568 -
4569 - if use pam ; then
4570 - # VRDPAuth only works with this (bug #351949)
4571 - dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so
4572 - fi
4573 -
4574 - # set an env-variable for 3rd party tools
4575 - echo -n "VBOX_APP_HOME=${vbox_inst_path}" > "${T}/90virtualbox"
4576 - doenvd "${T}/90virtualbox"
4577 -
4578 - if ! use headless ; then
4579 - vbox_inst VBoxSDL 4750
4580 - pax-mark -m "${ED%/}"${vbox_inst_path}/VBoxSDL
4581 -
4582 - for each in vboxsdl VBoxSDL ; do
4583 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
4584 - done
4585 -
4586 - if use qt5 ; then
4587 - vbox_inst VirtualBox 4750
4588 - pax-mark -m "${ED%/}"${vbox_inst_path}/VirtualBox
4589 -
4590 - if use opengl ; then
4591 - vbox_inst VBoxTestOGL
4592 - pax-mark -m "${ED%/}"${vbox_inst_path}/VBoxTestOGL
4593 - fi
4594 -
4595 - for each in virtualbox VirtualBox ; do
4596 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
4597 - done
4598 -
4599 - insinto /usr/share/${PN}
4600 - doins -r nls
4601 - doins -r UnattendedTemplates
4602 -
4603 - newmenu "${FILESDIR}"/${PN}-ose.desktop-2 ${PN}.desktop
4604 - fi
4605 -
4606 - pushd "${S}"/src/VBox/Artwork/OSE &>/dev/null || die
4607 - for size in 16 32 48 64 128 ; do
4608 - newicon -s ${size} ${PN}-${size}px.png ${PN}.png
4609 - done
4610 - newicon ${PN}-48px.png ${PN}.png
4611 - doicon -s scalable ${PN}.svg
4612 - popd &>/dev/null || die
4613 - pushd "${S}"/src/VBox/Artwork/other &>/dev/null || die
4614 - for size in 16 24 32 48 64 72 96 128 256 512 ; do
4615 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
4616 - icofile="${PN}-${ico}-${size}px.png"
4617 - if [[ -f "${icofile}" ]] ; then
4618 - newicon -s ${size} ${icofile} ${PN}-${ico}.png
4619 - fi
4620 - done
4621 - done
4622 - popd &>/dev/null || die
4623 - fi
4624 -
4625 - if use lvm ; then
4626 - vbox_inst VBoxVolInfo 4750
4627 - dosym ${vbox_inst_path}/VBoxVolInfo /usr/bin/VBoxVolInfo
4628 - fi
4629 -
4630 - if use sdk ; then
4631 - insinto ${vbox_inst_path}
4632 - doins -r sdk
4633 -
4634 - if use java ; then
4635 - java-pkg_regjar "${ED%/}/${vbox_inst_path}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
4636 - java-pkg_regso "${ED%/}/${vbox_inst_path}/libvboxjxpcom.so"
4637 - fi
4638 - fi
4639 -
4640 - if use udev ; then
4641 - # New way of handling USB device nodes for VBox (bug #356215)
4642 - local udevdir="$(get_udevdir)"
4643 - insinto ${udevdir}
4644 - doins VBoxCreateUSBNode.sh
4645 - fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
4646 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
4647 - insinto ${udevdir}/rules.d
4648 - sed "s@%UDEVDIR%@${udevdir}@" "${FILESDIR}"/10-virtualbox.rules \
4649 - > "${T}"/10-virtualbox.rules || die
4650 - doins "${T}"/10-virtualbox.rules
4651 - fi
4652 -
4653 - if use vboxwebsrv ; then
4654 - vbox_inst vboxwebsrv
4655 - dosym ${vbox_inst_path}/VBox /usr/bin/vboxwebsrv
4656 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
4657 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
4658 - fi
4659 -
4660 - # Fix version string in extensions or else they don't get accepted
4661 - # by the virtualbox host process (see bug #438930)
4662 - find ExtensionPacks -type f -name "ExtPack.xml" -print0 \
4663 - | xargs --no-run-if-empty --null sed -i '/Version/s@_Gentoo@@' \
4664 - || die
4665 -
4666 - if use vnc ; then
4667 - insinto ${vbox_inst_path}/ExtensionPacks
4668 - doins -r ExtensionPacks/VNC
4669 - fi
4670 -
4671 - if use dtrace ; then
4672 - insinto ${vbox_inst_path}/ExtensionPacks
4673 - doins -r ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack
4674 - fi
4675 -
4676 - if use doc ; then
4677 - dodoc UserManual.pdf
4678 - fi
4679 -
4680 - newtmpfiles "${FILESDIR}"/${PN}-vboxusb_tmpfilesd ${PN}-vboxusb.conf
4681 -}
4682 -
4683 -pkg_postinst() {
4684 - gnome2_icon_cache_update
4685 - xdg_desktop_database_update
4686 -
4687 - if use udev ; then
4688 - udevadm control --reload-rules \
4689 - && udevadm trigger --subsystem-match=usb
4690 - fi
4691 -
4692 - tmpfiles_process /usr/lib/tmpfiles.d/virtualbox-vboxusb.conf
4693 -
4694 - if ! use headless && use qt5 ; then
4695 - elog "To launch VirtualBox just type: \"virtualbox\"."
4696 - fi
4697 - elog "You must be in the vboxusers group to use VirtualBox."
4698 - elog ""
4699 - elog "The latest user manual is available for download at:"
4700 - elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
4701 - elog ""
4702 - elog "For advanced networking setups you should emerge:"
4703 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
4704 - elog ""
4705 - elog "Starting with version 4.0.0, ${PN} has USB-1 support."
4706 - elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
4707 - elog " app-emulation/virtualbox-extpack-oracle"
4708 - elog "package."
4709 - elog "Starting with version 5.0.0, ${PN} no longer has the \"additions\" and"
4710 - elog "the \"extension\" USE flag. For installation of the guest additions ISO"
4711 - elog "image, please emerge"
4712 - elog " app-emulation/virtualbox-additions"
4713 - elog "and for the USB2, USB3, VRDP and PXE boot ROM modules, please emerge"
4714 - elog " app-emulation/virtualbox-extpack-oracle"
4715 - if ! use udev ; then
4716 - elog ""
4717 - elog "WARNING!"
4718 - elog "Without USE=udev, USB devices will likely not work in ${PN}."
4719 - elif [ -e "${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
4720 - elog ""
4721 - elog "Please remove \"${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules\""
4722 - elog "or else USB in ${PN} won't work."
4723 - fi
4724 -}
4725 -
4726 -pkg_postrm() {
4727 - gnome2_icon_cache_update
4728 - xdg_desktop_database_update
4729 -}
4730
4731 diff --git a/app-emulation/virtualbox/virtualbox-5.2.44.ebuild b/app-emulation/virtualbox/virtualbox-5.2.44.ebuild
4732 deleted file mode 100644
4733 index 21e1bf88a0f..00000000000
4734 --- a/app-emulation/virtualbox/virtualbox-5.2.44.ebuild
4735 +++ /dev/null
4736 @@ -1,493 +0,0 @@
4737 -# Copyright 1999-2020 Gentoo Authors
4738 -# Distributed under the terms of the GNU General Public License v2
4739 -
4740 -EAPI=6
4741 -
4742 -PYTHON_COMPAT=( python3_{6,7,8} )
4743 -inherit flag-o-matic gnome2-utils java-pkg-opt-2 linux-info pax-utils python-single-r1 tmpfiles toolchain-funcs udev xdg-utils
4744 -
4745 -MY_PV="${PV/beta/BETA}"
4746 -MY_PV="${MY_PV/rc/RC}"
4747 -MY_P=VirtualBox-${MY_PV}
4748 -
4749 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
4750 -HOMEPAGE="https://www.virtualbox.org/"
4751 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
4752 - https://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-5.2.44-patches-01.tar.xz"
4753 -
4754 -LICENSE="GPL-2 dtrace? ( CDDL )"
4755 -SLOT="0"
4756 -KEYWORDS="~amd64 ~x86"
4757 -IUSE="alsa debug doc dtrace headless java libressl lvm pam pax_kernel pulseaudio +opengl python +qt5 +sdk +udev vboxwebsrv vnc"
4758 -
4759 -RDEPEND="!app-emulation/virtualbox-bin
4760 - ~app-emulation/virtualbox-modules-${PV}
4761 - dev-libs/libIDL
4762 - >=dev-libs/libxslt-1.1.19
4763 - net-misc/curl
4764 - dev-libs/libxml2
4765 - media-libs/libpng:0=
4766 - media-libs/libvpx:0=
4767 - media-libs/opus
4768 - sys-libs/zlib:=
4769 - !headless? (
4770 - media-libs/libsdl:0[X,video]
4771 - x11-libs/libX11
4772 - x11-libs/libxcb:=
4773 - x11-libs/libXcursor
4774 - x11-libs/libXext
4775 - x11-libs/libXmu
4776 - x11-libs/libXt
4777 - opengl? ( virtual/opengl media-libs/freeglut )
4778 - qt5? (
4779 - dev-qt/qtcore:5
4780 - dev-qt/qtgui:5
4781 - dev-qt/qtprintsupport:5
4782 - dev-qt/qtwidgets:5
4783 - dev-qt/qtx11extras:5
4784 - opengl? ( dev-qt/qtopengl:5 )
4785 - x11-libs/libXinerama
4786 - )
4787 - )
4788 - libressl? ( dev-libs/libressl:= )
4789 - !libressl? ( dev-libs/openssl:0= )
4790 - lvm? ( sys-fs/lvm2 )
4791 - udev? ( >=virtual/udev-171 )
4792 - vnc? ( >=net-libs/libvncserver-0.9.9 )
4793 - ${PYTHON_DEPS}"
4794 -DEPEND="${RDEPEND}
4795 - >=dev-util/kbuild-0.1.9998.3127
4796 - >=dev-lang/yasm-0.6.2
4797 - sys-devel/bin86
4798 - sys-libs/libcap
4799 - sys-power/iasl
4800 - virtual/pkgconfig
4801 - alsa? ( >=media-libs/alsa-lib-1.0.13 )
4802 - doc? (
4803 - app-text/docbook-sgml-dtd:4.4
4804 - dev-texlive/texlive-basic
4805 - dev-texlive/texlive-latex
4806 - dev-texlive/texlive-latexrecommended
4807 - dev-texlive/texlive-latexextra
4808 - dev-texlive/texlive-fontsrecommended
4809 - dev-texlive/texlive-fontsextra
4810 - )
4811 - !headless? ( x11-libs/libXinerama )
4812 - java? ( >=virtual/jdk-1.6 )
4813 - pam? ( sys-libs/pam )
4814 - pax_kernel? ( sys-apps/elfix )
4815 - pulseaudio? ( media-sound/pulseaudio )
4816 - qt5? ( dev-qt/linguist-tools:5 )
4817 - vboxwebsrv? ( net-libs/gsoap[-gnutls(-)] )
4818 - ${PYTHON_DEPS}"
4819 -RDEPEND="${RDEPEND}
4820 - java? ( >=virtual/jre-1.6 )"
4821 -
4822 -QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
4823 - usr/lib/virtualbox/VBoxSDL.so
4824 - usr/lib/virtualbox/VBoxSharedFolders.so
4825 - usr/lib/virtualbox/VBoxDD2.so
4826 - usr/lib/virtualbox/VBoxOGLrenderspu.so
4827 - usr/lib/virtualbox/VBoxPython.so
4828 - usr/lib/virtualbox/VBoxDD.so
4829 - usr/lib/virtualbox/VBoxDDU.so
4830 - usr/lib/virtualbox/VBoxREM64.so
4831 - usr/lib/virtualbox/VBoxSharedClipboard.so
4832 - usr/lib/virtualbox/VBoxHeadless.so
4833 - usr/lib/virtualbox/VBoxRT.so
4834 - usr/lib/virtualbox/VBoxREM.so
4835 - usr/lib/virtualbox/VBoxSettings.so
4836 - usr/lib/virtualbox/VBoxKeyboard.so
4837 - usr/lib/virtualbox/VBoxSharedCrOpenGL.so
4838 - usr/lib/virtualbox/VBoxVMM.so
4839 - usr/lib/virtualbox/VirtualBox.so
4840 - usr/lib/virtualbox/VBoxOGLhosterrorspu.so
4841 - usr/lib/virtualbox/components/VBoxC.so
4842 - usr/lib/virtualbox/components/VBoxSVCM.so
4843 - usr/lib/virtualbox/components/VBoxDDU.so
4844 - usr/lib/virtualbox/components/VBoxRT.so
4845 - usr/lib/virtualbox/components/VBoxREM.so
4846 - usr/lib/virtualbox/components/VBoxVMM.so
4847 - usr/lib/virtualbox/VBoxREM32.so
4848 - usr/lib/virtualbox/VBoxPython2_7.so
4849 - usr/lib/virtualbox/VBoxXPCOMC.so
4850 - usr/lib/virtualbox/VBoxOGLhostcrutil.so
4851 - usr/lib/virtualbox/VBoxNetDHCP.so
4852 - usr/lib/virtualbox/VBoxNetNAT.so"
4853 -
4854 -S="${WORKDIR}/${MY_P}"
4855 -
4856 -REQUIRED_USE="
4857 - java? ( sdk )
4858 - python? ( sdk )
4859 - vboxwebsrv? ( java )
4860 - ${PYTHON_REQUIRED_USE}
4861 -"
4862 -
4863 -pkg_pretend() {
4864 - if ! use headless && ! use qt5 ; then
4865 - einfo "No USE=\"qt5\" selected, this build will not include any Qt frontend."
4866 - elif use headless && use qt5 ; then
4867 - einfo "You selected USE=\"headless qt5\", defaulting to"
4868 - einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
4869 - fi
4870 -
4871 - if ! use opengl ; then
4872 - einfo "No USE=\"opengl\" selected, this build will lack"
4873 - einfo "the OpenGL feature."
4874 - fi
4875 - if ! use python ; then
4876 - einfo "You have disabled the \"python\" USE flag. This will only"
4877 - einfo "disable the python bindings being installed."
4878 - fi
4879 -}
4880 -
4881 -pkg_setup() {
4882 - java-pkg-opt-2_pkg_setup
4883 - python-single-r1_pkg_setup
4884 -
4885 - tc-ld-disable-gold #bug 488176
4886 - tc-export CC CXX LD AR RANLIB
4887 - export HOST_CC="$(tc-getBUILD_CC)"
4888 -}
4889 -
4890 -src_prepare() {
4891 - # Remove shipped binaries (kBuild,yasm), see bug #232775
4892 - rm -r kBuild/bin tools || die
4893 -
4894 - # Replace pointless GCC version check with something less stupid.
4895 - # This is needed for the qt5 version check.
4896 - sed -e 's@^check_gcc$@cc_maj="$(gcc -dumpversion | cut -d. -f1)" ; cc_min="$(gcc -dumpversion | cut -d. -f2)"@' \
4897 - -i configure || die
4898 -
4899 - # Disable things unused or split into separate ebuilds
4900 - sed -e "s@MY_LIBDIR@$(get_libdir)@" \
4901 - "${FILESDIR}"/${PN}-5-localconfig > LocalConfig.kmk || die
4902 -
4903 - # Respect LDFLAGS
4904 - sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
4905 - -i Config.kmk src/libs/xpcom18a4/Config.kmk || die
4906 -
4907 - # Do not use hard-coded ld (related to bug #488176)
4908 - sed -e '/QUIET)ld /s@ld @$(LD) @' \
4909 - -i src/VBox/Devices/PC/ipxe/Makefile.kmk || die
4910 -
4911 - # Use PAM only when pam USE flag is enbaled (bug #376531)
4912 - if ! use pam ; then
4913 - elog "Disabling PAM removes the possibility to use the VRDP features."
4914 - sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die
4915 - sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \
4916 - src/VBox/HostServices/Makefile.kmk || die
4917 - fi
4918 -
4919 - # add correct java path
4920 - if use java ; then
4921 - sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \
4922 - -i "${S}"/Config.kmk || die
4923 - java-pkg-opt-2_src_prepare
4924 - fi
4925 -
4926 - # Only add nopie patch when we're on hardened
4927 - if gcc-specs-pie ; then
4928 - eapply "${FILESDIR}/050_virtualbox-5.2.8-nopie.patch"
4929 - fi
4930 -
4931 - # Only add paxmark patch when we're on pax_kernel
4932 - if use pax_kernel ; then
4933 - eapply "${FILESDIR}"/virtualbox-5.2.8-paxmark-bldprogs.patch
4934 - fi
4935 -
4936 - rm "${WORKDIR}/patches/008_virtualbox-4.3.14-missing_define.patch" || die
4937 - eapply "${WORKDIR}/patches"
4938 -
4939 - eapply_user
4940 -}
4941 -
4942 -doecho() {
4943 - echo "$@"
4944 - "$@" || die
4945 -}
4946 -
4947 -src_configure() {
4948 - local myconf=(
4949 - --with-gcc="$(tc-getCC)"
4950 - --with-g++="$(tc-getCXX)"
4951 - --disable-dbus
4952 - --disable-kmods
4953 - $(usex alsa '' --disable-alsa)
4954 - $(usex debug --build-debug '')
4955 - $(usex doc '' --disable-docs)
4956 - $(usex java '' --disable-java)
4957 - $(usex lvm '' --disable-devmapper)
4958 - $(usex pulseaudio '' --disable-pulse)
4959 - $(usex python '' --disable-python)
4960 - $(usex vboxwebsrv --enable-webservice '')
4961 - $(usex vnc --enable-vnc '')
4962 - )
4963 - if ! use headless ; then
4964 - myconf+=(
4965 - $(usex opengl '' --disable-opengl)
4966 - $(usex qt5 '' --disable-qt)
4967 - )
4968 - else
4969 - myconf+=(
4970 - --build-headless
4971 - --disable-opengl
4972 - )
4973 - fi
4974 - if use amd64 && ! has_multilib_profile ; then
4975 - myconf+=( --disable-vmmraw )
4976 - fi
4977 - # not an autoconf script
4978 - doecho ./configure ${myconf[@]}
4979 -}
4980 -
4981 -src_compile() {
4982 - source ./env.sh || die
4983 -
4984 - # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
4985 - MAKEJOBS=$(grep -Eo '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
4986 - MAKELOAD=$(grep -Eo '(\-l|\-\-load-average)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
4987 - MAKEOPTS="${MAKEJOBS} ${MAKELOAD}"
4988 - MAKE="kmk" emake \
4989 - VBOX_BUILD_PUBLISHER=_Gentoo \
4990 - TOOL_GXX3_CC="$(tc-getCC)" TOOL_GXX3_CXX="$(tc-getCXX)" \
4991 - TOOL_GXX3_LD="$(tc-getCXX)" VBOX_GCC_OPT="${CXXFLAGS}" \
4992 - TOOL_YASM_AS=yasm KBUILD_VERBOSE=2 \
4993 - all
4994 -}
4995 -
4996 -src_install() {
4997 - local binpath="release"
4998 - use debug && binpath="debug"
4999 - cd "${S}"/out/linux.${ARCH}/${binpath}/bin || die
5000 -
5001 - local vbox_inst_path="/usr/$(get_libdir)/${PN}" each fwfile size ico icofile
5002 -
5003 - vbox_inst() {
5004 - local binary="${1}"
5005 - local perms="${2:-0750}"
5006 - local path="${3:-${vbox_inst_path}}"
5007 -
5008 - [[ -n "${binary}" ]] || die "vbox_inst: No binray given!"
5009 - [[ ${perms} =~ ^[[:digit:]]+{4}$ ]] || die "vbox_inst: perms must consist of four digits."
5010 -
5011 - insinto ${path}
5012 - doins ${binary}
5013 - fowners root:vboxusers ${path}/${binary}
5014 - fperms ${perms} ${path}/${binary}
5015 - }
5016 -
5017 - # Create configuration files
5018 - insinto /etc/vbox
5019 - newins "${FILESDIR}/${PN}-4-config" vbox.cfg
5020 -
5021 - # Set the correct libdir
5022 - sed \
5023 - -e "s@MY_LIBDIR@$(get_libdir)@" \
5024 - -i "${ED%/}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
5025 -
5026 - # Install the wrapper script
5027 - exeinto ${vbox_inst_path}
5028 - newexe "${FILESDIR}/${PN}-ose-5-wrapper" "VBox"
5029 - fowners root:vboxusers ${vbox_inst_path}/VBox
5030 - fperms 0750 ${vbox_inst_path}/VBox
5031 -
5032 - # Install binaries and libraries
5033 - insinto ${vbox_inst_path}
5034 - doins -r components
5035 -
5036 - # *.rc files for x86_64 are only available on multilib systems
5037 - local rcfiles="*.rc"
5038 - if use amd64 && ! has_multilib_profile ; then
5039 - rcfiles=""
5040 - fi
5041 - for each in VBox{ExtPackHelperApp,Manage,SVC,Tunctl,XPCOMIPCD} *so *r0 ${rcfiles} ; do
5042 - vbox_inst ${each}
5043 - done
5044 -
5045 - # These binaries need to be suid root.
5046 - for each in VBox{Headless,Net{AdpCtl,DHCP,NAT}} ; do
5047 - vbox_inst ${each} 4750
5048 - done
5049 -
5050 - # Install EFI Firmware files (bug #320757)
5051 - pushd "${S}"/src/VBox/Devices/EFI/FirmwareBin &>/dev/null || die
5052 - for fwfile in VBoxEFI{32,64}.fd ; do
5053 - vbox_inst ${fwfile} 0644
5054 - done
5055 - popd &>/dev/null || die
5056 -
5057 - # VBoxSVC and VBoxManage need to be pax-marked (bug #403453)
5058 - # VBoxXPCOMIPCD (bug #524202)
5059 - for each in VBox{Headless,Manage,SVC,XPCOMIPCD} ; do
5060 - pax-mark -m "${ED%/}"${vbox_inst_path}/${each}
5061 - done
5062 -
5063 - # Symlink binaries to the shipped wrapper
5064 - for each in vbox{headless,manage} VBox{Headless,Manage,VRDP} ; do
5065 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
5066 - done
5067 - dosym ${vbox_inst_path}/VBoxTunctl /usr/bin/VBoxTunctl
5068 -
5069 - if use pam ; then
5070 - # VRDPAuth only works with this (bug #351949)
5071 - dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so
5072 - fi
5073 -
5074 - # set an env-variable for 3rd party tools
5075 - echo -n "VBOX_APP_HOME=${vbox_inst_path}" > "${T}/90virtualbox"
5076 - doenvd "${T}/90virtualbox"
5077 -
5078 - if ! use headless ; then
5079 - vbox_inst VBoxSDL 4750
5080 - pax-mark -m "${ED%/}"${vbox_inst_path}/VBoxSDL
5081 -
5082 - for each in vboxsdl VBoxSDL ; do
5083 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
5084 - done
5085 -
5086 - if use qt5 ; then
5087 - vbox_inst VirtualBox 4750
5088 - pax-mark -m "${ED%/}"${vbox_inst_path}/VirtualBox
5089 -
5090 - if use opengl ; then
5091 - vbox_inst VBoxTestOGL
5092 - pax-mark -m "${ED%/}"${vbox_inst_path}/VBoxTestOGL
5093 - fi
5094 -
5095 - for each in virtualbox VirtualBox ; do
5096 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
5097 - done
5098 -
5099 - insinto /usr/share/${PN}
5100 - doins -r nls
5101 - doins -r UnattendedTemplates
5102 -
5103 - newmenu "${FILESDIR}"/${PN}-ose.desktop-2 ${PN}.desktop
5104 - fi
5105 -
5106 - pushd "${S}"/src/VBox/Artwork/OSE &>/dev/null || die
5107 - for size in 16 32 48 64 128 ; do
5108 - newicon -s ${size} ${PN}-${size}px.png ${PN}.png
5109 - done
5110 - newicon ${PN}-48px.png ${PN}.png
5111 - doicon -s scalable ${PN}.svg
5112 - popd &>/dev/null || die
5113 - pushd "${S}"/src/VBox/Artwork/other &>/dev/null || die
5114 - for size in 16 24 32 48 64 72 96 128 256 512 ; do
5115 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
5116 - icofile="${PN}-${ico}-${size}px.png"
5117 - if [[ -f "${icofile}" ]] ; then
5118 - newicon -s ${size} ${icofile} ${PN}-${ico}.png
5119 - fi
5120 - done
5121 - done
5122 - popd &>/dev/null || die
5123 - fi
5124 -
5125 - if use lvm ; then
5126 - vbox_inst VBoxVolInfo 4750
5127 - dosym ${vbox_inst_path}/VBoxVolInfo /usr/bin/VBoxVolInfo
5128 - fi
5129 -
5130 - if use sdk ; then
5131 - insinto ${vbox_inst_path}
5132 - doins -r sdk
5133 -
5134 - if use java ; then
5135 - java-pkg_regjar "${ED%/}/${vbox_inst_path}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
5136 - java-pkg_regso "${ED%/}/${vbox_inst_path}/libvboxjxpcom.so"
5137 - fi
5138 - fi
5139 -
5140 - if use udev ; then
5141 - # New way of handling USB device nodes for VBox (bug #356215)
5142 - local udevdir="$(get_udevdir)"
5143 - insinto ${udevdir}
5144 - doins VBoxCreateUSBNode.sh
5145 - fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
5146 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
5147 - insinto ${udevdir}/rules.d
5148 - sed "s@%UDEVDIR%@${udevdir}@" "${FILESDIR}"/10-virtualbox.rules \
5149 - > "${T}"/10-virtualbox.rules || die
5150 - doins "${T}"/10-virtualbox.rules
5151 - fi
5152 -
5153 - if use vboxwebsrv ; then
5154 - vbox_inst vboxwebsrv
5155 - dosym ${vbox_inst_path}/VBox /usr/bin/vboxwebsrv
5156 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
5157 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
5158 - fi
5159 -
5160 - # Fix version string in extensions or else they don't get accepted
5161 - # by the virtualbox host process (see bug #438930)
5162 - find ExtensionPacks -type f -name "ExtPack.xml" -print0 \
5163 - | xargs --no-run-if-empty --null sed -i '/Version/s@_Gentoo@@' \
5164 - || die
5165 -
5166 - if use vnc ; then
5167 - insinto ${vbox_inst_path}/ExtensionPacks
5168 - doins -r ExtensionPacks/VNC
5169 - fi
5170 -
5171 - if use dtrace ; then
5172 - insinto ${vbox_inst_path}/ExtensionPacks
5173 - doins -r ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack
5174 - fi
5175 -
5176 - if use doc ; then
5177 - dodoc UserManual.pdf
5178 - fi
5179 -
5180 - newtmpfiles "${FILESDIR}"/${PN}-vboxusb_tmpfilesd ${PN}-vboxusb.conf
5181 -}
5182 -
5183 -pkg_postinst() {
5184 - gnome2_icon_cache_update
5185 - xdg_desktop_database_update
5186 -
5187 - if use udev ; then
5188 - udevadm control --reload-rules \
5189 - && udevadm trigger --subsystem-match=usb
5190 - fi
5191 -
5192 - tmpfiles_process /usr/lib/tmpfiles.d/virtualbox-vboxusb.conf
5193 -
5194 - if ! use headless && use qt5 ; then
5195 - elog "To launch VirtualBox just type: \"virtualbox\"."
5196 - fi
5197 - elog "You must be in the vboxusers group to use VirtualBox."
5198 - elog ""
5199 - elog "The latest user manual is available for download at:"
5200 - elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
5201 - elog ""
5202 - elog "For advanced networking setups you should emerge:"
5203 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
5204 - elog ""
5205 - elog "Starting with version 4.0.0, ${PN} has USB-1 support."
5206 - elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
5207 - elog " app-emulation/virtualbox-extpack-oracle"
5208 - elog "package."
5209 - elog "Starting with version 5.0.0, ${PN} no longer has the \"additions\" and"
5210 - elog "the \"extension\" USE flag. For installation of the guest additions ISO"
5211 - elog "image, please emerge"
5212 - elog " app-emulation/virtualbox-additions"
5213 - elog "and for the USB2, USB3, VRDP and PXE boot ROM modules, please emerge"
5214 - elog " app-emulation/virtualbox-extpack-oracle"
5215 - if ! use udev ; then
5216 - elog ""
5217 - elog "WARNING!"
5218 - elog "Without USE=udev, USB devices will likely not work in ${PN}."
5219 - elif [ -e "${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
5220 - elog ""
5221 - elog "Please remove \"${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules\""
5222 - elog "or else USB in ${PN} won't work."
5223 - fi
5224 -}
5225 -
5226 -pkg_postrm() {
5227 - gnome2_icon_cache_update
5228 - xdg_desktop_database_update
5229 -}
5230
5231 diff --git a/app-emulation/virtualbox/virtualbox-6.0.22.ebuild b/app-emulation/virtualbox/virtualbox-6.0.22.ebuild
5232 deleted file mode 100644
5233 index 26c307b1f6b..00000000000
5234 --- a/app-emulation/virtualbox/virtualbox-6.0.22.ebuild
5235 +++ /dev/null
5236 @@ -1,507 +0,0 @@
5237 -# Copyright 1999-2020 Gentoo Authors
5238 -# Distributed under the terms of the GNU General Public License v2
5239 -
5240 -EAPI=7
5241 -
5242 -PYTHON_COMPAT=( python3_{6,7,8} )
5243 -inherit desktop flag-o-matic java-pkg-opt-2 linux-info pax-utils python-single-r1 tmpfiles toolchain-funcs udev xdg
5244 -
5245 -MY_PV="${PV/beta/BETA}"
5246 -MY_PV="${MY_PV/rc/RC}"
5247 -MY_P=VirtualBox-${MY_PV}
5248 -
5249 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
5250 -HOMEPAGE="https://www.virtualbox.org/"
5251 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
5252 - https://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-6.0.22-patches-01.tar.xz"
5253 -
5254 -LICENSE="GPL-2 dtrace? ( CDDL )"
5255 -SLOT="0"
5256 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
5257 -KEYWORDS="~amd64 ~x86"
5258 -IUSE="alsa debug doc dtrace headless java libressl lvm +opus pam pax_kernel pulseaudio +opengl python +qt5 +sdk +udev vboxwebsrv vnc"
5259 -
5260 -CDEPEND="
5261 - ${PYTHON_DEPS}
5262 - !app-emulation/virtualbox-bin
5263 - acct-group/vboxusers
5264 - ~app-emulation/virtualbox-modules-${PV}
5265 - dev-libs/libIDL
5266 - >=dev-libs/libxslt-1.1.19
5267 - net-misc/curl
5268 - dev-libs/libxml2
5269 - media-libs/libpng:0=
5270 - media-libs/libvpx:0=
5271 - sys-libs/zlib:=
5272 - !headless? (
5273 - media-libs/libsdl:0[X,video]
5274 - x11-libs/libX11
5275 - x11-libs/libxcb:=
5276 - x11-libs/libXcursor
5277 - x11-libs/libXext
5278 - x11-libs/libXmu
5279 - x11-libs/libXt
5280 - opengl? ( virtual/opengl media-libs/freeglut )
5281 - qt5? (
5282 - dev-qt/qtcore:5
5283 - dev-qt/qtgui:5
5284 - dev-qt/qtprintsupport:5
5285 - dev-qt/qtwidgets:5
5286 - dev-qt/qtx11extras:5
5287 - opengl? ( dev-qt/qtopengl:5 )
5288 - x11-libs/libXinerama
5289 - )
5290 - )
5291 - libressl? ( dev-libs/libressl:= )
5292 - !libressl? ( dev-libs/openssl:0= )
5293 - lvm? ( sys-fs/lvm2 )
5294 - opus? ( media-libs/opus )
5295 - udev? ( >=virtual/udev-171 )
5296 - vnc? ( >=net-libs/libvncserver-0.9.9 )
5297 -"
5298 -DEPEND="
5299 - ${CDEPEND}
5300 - alsa? ( >=media-libs/alsa-lib-1.0.13 )
5301 - !headless? ( x11-libs/libXinerama )
5302 - pam? ( sys-libs/pam )
5303 - pax_kernel? ( sys-apps/elfix )
5304 - pulseaudio? ( media-sound/pulseaudio )
5305 - qt5? ( dev-qt/linguist-tools:5 )
5306 - vboxwebsrv? ( net-libs/gsoap[-gnutls(-)] )
5307 -"
5308 -BDEPEND="
5309 - ${PYTHON_DEPS}
5310 - >=dev-util/kbuild-0.1.9998.3127
5311 - >=dev-lang/yasm-0.6.2
5312 - sys-devel/bin86
5313 - sys-libs/libcap
5314 - sys-power/iasl
5315 - virtual/pkgconfig
5316 - doc? (
5317 - app-text/docbook-sgml-dtd:4.4
5318 - dev-texlive/texlive-basic
5319 - dev-texlive/texlive-latex
5320 - dev-texlive/texlive-latexrecommended
5321 - dev-texlive/texlive-latexextra
5322 - dev-texlive/texlive-fontsrecommended
5323 - dev-texlive/texlive-fontsextra
5324 - )
5325 - java? ( >=virtual/jdk-1.6 )
5326 -"
5327 -RDEPEND="
5328 - ${CDEPEND}
5329 - java? ( >=virtual/jre-1.6 )
5330 -"
5331 -
5332 -QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
5333 - usr/lib/virtualbox/VBoxSDL.so
5334 - usr/lib/virtualbox/VBoxSharedFolders.so
5335 - usr/lib/virtualbox/VBoxDD2.so
5336 - usr/lib/virtualbox/VBoxOGLrenderspu.so
5337 - usr/lib/virtualbox/VBoxPython.so
5338 - usr/lib/virtualbox/VBoxDD.so
5339 - usr/lib/virtualbox/VBoxDDU.so
5340 - usr/lib/virtualbox/VBoxREM64.so
5341 - usr/lib/virtualbox/VBoxSharedClipboard.so
5342 - usr/lib/virtualbox/VBoxHeadless.so
5343 - usr/lib/virtualbox/VBoxRT.so
5344 - usr/lib/virtualbox/VBoxREM.so
5345 - usr/lib/virtualbox/VBoxSettings.so
5346 - usr/lib/virtualbox/VBoxKeyboard.so
5347 - usr/lib/virtualbox/VBoxSharedCrOpenGL.so
5348 - usr/lib/virtualbox/VBoxVMM.so
5349 - usr/lib/virtualbox/VirtualBox.so
5350 - usr/lib/virtualbox/VBoxOGLhosterrorspu.so
5351 - usr/lib/virtualbox/components/VBoxC.so
5352 - usr/lib/virtualbox/components/VBoxSVCM.so
5353 - usr/lib/virtualbox/components/VBoxDDU.so
5354 - usr/lib/virtualbox/components/VBoxRT.so
5355 - usr/lib/virtualbox/components/VBoxREM.so
5356 - usr/lib/virtualbox/components/VBoxVMM.so
5357 - usr/lib/virtualbox/VBoxREM32.so
5358 - usr/lib/virtualbox/VBoxPython2_7.so
5359 - usr/lib/virtualbox/VBoxXPCOMC.so
5360 - usr/lib/virtualbox/VBoxOGLhostcrutil.so
5361 - usr/lib/virtualbox/VBoxNetDHCP.so
5362 - usr/lib/virtualbox/VBoxNetNAT.so"
5363 -
5364 -S="${WORKDIR}/${MY_P}"
5365 -
5366 -REQUIRED_USE="
5367 - java? ( sdk )
5368 - python? ( sdk )
5369 - vboxwebsrv? ( java )
5370 - ${PYTHON_REQUIRED_USE}
5371 -"
5372 -
5373 -pkg_pretend() {
5374 - if ! use headless && ! use qt5 ; then
5375 - einfo "No USE=\"qt5\" selected, this build will not include any Qt frontend."
5376 - elif use headless && use qt5 ; then
5377 - einfo "You selected USE=\"headless qt5\", defaulting to"
5378 - einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
5379 - fi
5380 -
5381 - if ! use opengl ; then
5382 - einfo "No USE=\"opengl\" selected, this build will lack"
5383 - einfo "the OpenGL feature."
5384 - fi
5385 - if ! use python ; then
5386 - einfo "You have disabled the \"python\" USE flag. This will only"
5387 - einfo "disable the python bindings being installed."
5388 - fi
5389 -}
5390 -
5391 -pkg_setup() {
5392 - java-pkg-opt-2_pkg_setup
5393 - python-single-r1_pkg_setup
5394 -
5395 - tc-ld-disable-gold #bug 488176
5396 - tc-export CC CXX LD AR RANLIB
5397 - export HOST_CC="$(tc-getBUILD_CC)"
5398 -}
5399 -
5400 -src_prepare() {
5401 - # Remove shipped binaries (kBuild,yasm), see bug #232775
5402 - rm -r kBuild/bin tools || die
5403 -
5404 - # Replace pointless GCC version check with something less stupid.
5405 - # This is needed for the qt5 version check.
5406 - sed -e 's@^check_gcc$@cc_maj="$(gcc -dumpversion | cut -d. -f1)" ; cc_min="$(gcc -dumpversion | cut -d. -f2)"@' \
5407 - -i configure || die
5408 -
5409 - # Disable things unused or split into separate ebuilds
5410 - sed -e "s@MY_LIBDIR@$(get_libdir)@" \
5411 - "${FILESDIR}"/${PN}-5-localconfig > LocalConfig.kmk || die
5412 -
5413 - # Respect LDFLAGS
5414 - sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
5415 - -i Config.kmk src/libs/xpcom18a4/Config.kmk || die
5416 -
5417 - # Do not use hard-coded ld (related to bug #488176)
5418 - sed -e '/QUIET)ld /s@ld @$(LD) @' \
5419 - -i src/VBox/Devices/PC/ipxe/Makefile.kmk || die
5420 -
5421 - # Use PAM only when pam USE flag is enbaled (bug #376531)
5422 - if ! use pam ; then
5423 - elog "Disabling PAM removes the possibility to use the VRDP features."
5424 - sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die
5425 - sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \
5426 - src/VBox/HostServices/Makefile.kmk || die
5427 - fi
5428 -
5429 - # add correct java path
5430 - if use java ; then
5431 - sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \
5432 - -i "${S}"/Config.kmk || die
5433 - java-pkg-opt-2_src_prepare
5434 - fi
5435 -
5436 - # Only add nopie patch when we're on hardened
5437 - if gcc-specs-pie ; then
5438 - eapply "${FILESDIR}/050_virtualbox-5.2.8-nopie.patch"
5439 - fi
5440 -
5441 - # Only add paxmark patch when we're on pax_kernel
5442 - if use pax_kernel ; then
5443 - eapply "${FILESDIR}"/virtualbox-5.2.8-paxmark-bldprogs.patch
5444 - fi
5445 -
5446 - eapply "${WORKDIR}/patches"
5447 -
5448 - eapply_user
5449 -}
5450 -
5451 -doecho() {
5452 - echo "$@"
5453 - "$@" || die
5454 -}
5455 -
5456 -src_configure() {
5457 - local myconf=(
5458 - --with-gcc="$(tc-getCC)"
5459 - --with-g++="$(tc-getCXX)"
5460 - --disable-dbus
5461 - --disable-kmods
5462 - $(usex alsa '' --disable-alsa)
5463 - $(usex debug --build-debug '')
5464 - $(usex doc '' --disable-docs)
5465 - $(usex java '' --disable-java)
5466 - $(usex lvm '' --disable-devmapper)
5467 - $(usex opus '' --disable-libopus)
5468 - $(usex pulseaudio '' --disable-pulse)
5469 - $(usex python '' --disable-python)
5470 - $(usex vboxwebsrv --enable-webservice '')
5471 - $(usex vnc --enable-vnc '')
5472 - )
5473 - if ! use headless ; then
5474 - myconf+=(
5475 - $(usex opengl '' --disable-opengl)
5476 - $(usex qt5 '' --disable-qt)
5477 - )
5478 - else
5479 - myconf+=(
5480 - --build-headless
5481 - --disable-opengl
5482 - )
5483 - fi
5484 - if use amd64 && ! has_multilib_profile ; then
5485 - myconf+=( --disable-vmmraw )
5486 - fi
5487 - # not an autoconf script
5488 - doecho ./configure ${myconf[@]}
5489 -}
5490 -
5491 -src_compile() {
5492 - source ./env.sh || die
5493 -
5494 - # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
5495 - MAKEJOBS=$(grep -Eo '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
5496 - MAKELOAD=$(grep -Eo '(\-l|\-\-load-average)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
5497 - MAKEOPTS="${MAKEJOBS} ${MAKELOAD}"
5498 - MAKE="kmk" emake \
5499 - VBOX_BUILD_PUBLISHER=_Gentoo \
5500 - TOOL_GXX3_CC="$(tc-getCC)" TOOL_GXX3_CXX="$(tc-getCXX)" \
5501 - TOOL_GXX3_LD="$(tc-getCXX)" VBOX_GCC_OPT="${CXXFLAGS}" \
5502 - TOOL_YASM_AS=yasm KBUILD_VERBOSE=2 \
5503 - all
5504 -}
5505 -
5506 -src_install() {
5507 - cd "${S}"/out/linux.${ARCH}/$(usex debug debug release)/bin || die
5508 -
5509 - local vbox_inst_path="/usr/$(get_libdir)/${PN}" each size ico icofile
5510 -
5511 - vbox_inst() {
5512 - local binary="${1}"
5513 - local perms="${2:-0750}"
5514 - local path="${3:-${vbox_inst_path}}"
5515 -
5516 - [[ -n "${binary}" ]] || die "vbox_inst: No binary given!"
5517 - [[ ${perms} =~ ^[[:digit:]]+{4}$ ]] || die "vbox_inst: perms must consist of four digits."
5518 -
5519 - insinto ${path}
5520 - doins ${binary}
5521 - fowners root:vboxusers ${path}/${binary}
5522 - fperms ${perms} ${path}/${binary}
5523 - }
5524 -
5525 - # Create configuration files
5526 - insinto /etc/vbox
5527 - newins "${FILESDIR}/${PN}-4-config" vbox.cfg
5528 -
5529 - # Set the correct libdir
5530 - sed \
5531 - -e "s@MY_LIBDIR@$(get_libdir)@" \
5532 - -i "${ED}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
5533 -
5534 - # Install the wrapper script
5535 - exeinto ${vbox_inst_path}
5536 - newexe "${FILESDIR}/${PN}-ose-6-wrapper" "VBox"
5537 - fowners root:vboxusers ${vbox_inst_path}/VBox
5538 - fperms 0750 ${vbox_inst_path}/VBox
5539 -
5540 - # Install binaries and libraries
5541 - insinto ${vbox_inst_path}
5542 - doins -r components
5543 -
5544 - # *.rc files for x86_64 are only available on multilib systems
5545 - local rcfiles="*.rc"
5546 - if use amd64 && ! has_multilib_profile ; then
5547 - rcfiles=""
5548 - fi
5549 - for each in VBox{Autostart,BalloonCtrl,BugReport,CpuReport,ExtPackHelperApp,Manage,SVC,Tunctl,VMMPreload,XPCOMIPCD} *so *r0 ${rcfiles} iPxeBaseBin ; do
5550 - vbox_inst ${each}
5551 - done
5552 -
5553 - # These binaries need to be suid root.
5554 - for each in VBox{Headless,Net{AdpCtl,DHCP,NAT}} ; do
5555 - vbox_inst ${each} 4750
5556 - done
5557 -
5558 - # Install EFI Firmware files (bug #320757)
5559 - for each in VBoxEFI{32,64}.fd ; do
5560 - vbox_inst ${each} 0644
5561 - done
5562 -
5563 - # VBoxSVC and VBoxManage need to be pax-marked (bug #403453)
5564 - # VBoxXPCOMIPCD (bug #524202)
5565 - for each in VBox{Headless,Manage,SVC,XPCOMIPCD} ; do
5566 - pax-mark -m "${ED}"${vbox_inst_path}/${each}
5567 - done
5568 -
5569 - # Symlink binaries to the shipped wrapper
5570 - for each in vbox{autostart,balloonctrl,bugreport,headless,manage} VBox{Autostart,BalloonCtrl,BugReport,Headless,Manage,VRDP} ; do
5571 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
5572 - done
5573 - dosym ${vbox_inst_path}/VBoxTunctl /usr/bin/VBoxTunctl
5574 -
5575 - if use pam ; then
5576 - # VRDPAuth only works with this (bug #351949)
5577 - dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so
5578 - fi
5579 -
5580 - # set an env-variable for 3rd party tools
5581 - echo -n "VBOX_APP_HOME=${vbox_inst_path}" > "${T}/90virtualbox"
5582 - doenvd "${T}/90virtualbox"
5583 -
5584 - if ! use headless ; then
5585 - vbox_inst rdesktop-vrdp
5586 - vbox_inst VBoxSDL 4750
5587 - pax-mark -m "${ED}"${vbox_inst_path}/VBoxSDL
5588 -
5589 - for each in vboxsdl VBoxSDL ; do
5590 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
5591 - done
5592 -
5593 - if use qt5 ; then
5594 - vbox_inst VirtualBox
5595 - vbox_inst VirtualBoxVM 4750
5596 - for each in VirtualBox{,VM} ; do
5597 - pax-mark -m "${ED}"${vbox_inst_path}/${each}
5598 - done
5599 -
5600 - if use opengl ; then
5601 - vbox_inst VBoxTestOGL
5602 - pax-mark -m "${ED}"${vbox_inst_path}/VBoxTestOGL
5603 - fi
5604 -
5605 - for each in virtualbox{,vm} VirtualBox{,VM} ; do
5606 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
5607 - done
5608 -
5609 - insinto /usr/share/${PN}
5610 - doins -r nls
5611 - doins -r UnattendedTemplates
5612 -
5613 - domenu ${PN}.desktop
5614 - fi
5615 -
5616 - pushd "${S}"/src/VBox/Artwork/OSE &>/dev/null || die
5617 - for size in 16 32 48 64 128 ; do
5618 - newicon -s ${size} ${PN}-${size}px.png ${PN}.png
5619 - done
5620 - newicon ${PN}-48px.png ${PN}.png
5621 - doicon -s scalable ${PN}.svg
5622 - popd &>/dev/null || die
5623 - pushd "${S}"/src/VBox/Artwork/other &>/dev/null || die
5624 - for size in 16 24 32 48 64 72 96 128 256 512 ; do
5625 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
5626 - icofile="${PN}-${ico}-${size}px.png"
5627 - if [[ -f "${icofile}" ]] ; then
5628 - newicon -s ${size} ${icofile} ${PN}-${ico}.png
5629 - fi
5630 - done
5631 - done
5632 - popd &>/dev/null || die
5633 - fi
5634 -
5635 - if use lvm ; then
5636 - vbox_inst VBoxVolInfo 4750
5637 - dosym ${vbox_inst_path}/VBoxVolInfo /usr/bin/VBoxVolInfo
5638 - fi
5639 -
5640 - if use sdk ; then
5641 - insinto ${vbox_inst_path}
5642 - doins -r sdk
5643 -
5644 - if use java ; then
5645 - java-pkg_regjar "${ED}/${vbox_inst_path}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
5646 - java-pkg_regso "${ED}/${vbox_inst_path}/libvboxjxpcom.so"
5647 - fi
5648 - fi
5649 -
5650 - if use udev ; then
5651 - # New way of handling USB device nodes for VBox (bug #356215)
5652 - local udevdir="$(get_udevdir)"
5653 - insinto ${udevdir}
5654 - doins VBoxCreateUSBNode.sh
5655 - fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
5656 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
5657 - insinto ${udevdir}/rules.d
5658 - sed "s@%UDEVDIR%@${udevdir}@" "${FILESDIR}"/10-virtualbox.rules \
5659 - > "${T}"/10-virtualbox.rules || die
5660 - doins "${T}"/10-virtualbox.rules
5661 - fi
5662 -
5663 - if use vboxwebsrv ; then
5664 - vbox_inst vboxwebsrv
5665 - dosym ${vbox_inst_path}/VBox /usr/bin/vboxwebsrv
5666 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
5667 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
5668 - fi
5669 -
5670 - # Fix version string in extensions or else they don't get accepted
5671 - # by the virtualbox host process (see bug #438930)
5672 - find ExtensionPacks -type f -name "ExtPack.xml" -print0 \
5673 - | xargs --no-run-if-empty --null sed -i '/Version/s@_Gentoo@@' \
5674 - || die
5675 -
5676 - local extensions_dir="${vbox_inst_path}/ExtensionPacks"
5677 -
5678 - if use vnc ; then
5679 - insinto ${extensions_dir}
5680 - doins -r ExtensionPacks/VNC
5681 - fi
5682 -
5683 - if use dtrace ; then
5684 - insinto ${extensions_dir}
5685 - doins -r ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack
5686 - fi
5687 -
5688 - if use doc ; then
5689 - dodoc UserManual.pdf
5690 - fi
5691 -
5692 - newtmpfiles "${FILESDIR}"/${PN}-vboxusb_tmpfilesd ${PN}-vboxusb.conf
5693 -}
5694 -
5695 -pkg_preinst() {
5696 - xdg_pkg_preinst
5697 -}
5698 -
5699 -pkg_postinst() {
5700 - xdg_pkg_postinst
5701 -
5702 - if use udev ; then
5703 - udevadm control --reload-rules \
5704 - && udevadm trigger --subsystem-match=usb
5705 - fi
5706 -
5707 - tmpfiles_process /usr/lib/tmpfiles.d/virtualbox-vboxusb.conf
5708 -
5709 - if ! use headless && use qt5 ; then
5710 - elog "To launch VirtualBox just type: \"virtualbox\"."
5711 - fi
5712 - elog "You must be in the vboxusers group to use VirtualBox."
5713 - elog ""
5714 - elog "The latest user manual is available for download at:"
5715 - elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
5716 - elog ""
5717 - elog "For advanced networking setups you should emerge:"
5718 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
5719 - elog ""
5720 - elog "Starting with version 4.0.0, ${PN} has USB-1 support."
5721 - elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
5722 - elog " app-emulation/virtualbox-extpack-oracle"
5723 - elog "package."
5724 - elog "Starting with version 5.0.0, ${PN} no longer has the \"additions\" and"
5725 - elog "the \"extension\" USE flag. For installation of the guest additions ISO"
5726 - elog "image, please emerge"
5727 - elog " app-emulation/virtualbox-additions"
5728 - elog "and for the USB2, USB3, VRDP and PXE boot ROM modules, please emerge"
5729 - elog " app-emulation/virtualbox-extpack-oracle"
5730 - if ! use udev ; then
5731 - elog ""
5732 - elog "WARNING!"
5733 - elog "Without USE=udev, USB devices will likely not work in ${PN}."
5734 - elif [[ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ]] ; then
5735 - elog ""
5736 - elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
5737 - elog "or else USB in ${PN} won't work."
5738 - fi
5739 -}
5740 -
5741 -pkg_postrm() {
5742 - xdg_pkg_postrm
5743 -}
5744
5745 diff --git a/app-emulation/virtualbox/virtualbox-6.1.10-r1.ebuild b/app-emulation/virtualbox/virtualbox-6.1.10-r1.ebuild
5746 deleted file mode 100644
5747 index 48c20b4aecc..00000000000
5748 --- a/app-emulation/virtualbox/virtualbox-6.1.10-r1.ebuild
5749 +++ /dev/null
5750 @@ -1,507 +0,0 @@
5751 -# Copyright 1999-2020 Gentoo Authors
5752 -# Distributed under the terms of the GNU General Public License v2
5753 -
5754 -EAPI=7
5755 -
5756 -PYTHON_COMPAT=( python3_{6,7,8} )
5757 -inherit desktop flag-o-matic java-pkg-opt-2 linux-info pax-utils python-single-r1 tmpfiles toolchain-funcs udev xdg
5758 -
5759 -MY_PV="${PV/beta/BETA}"
5760 -MY_PV="${MY_PV/rc/RC}"
5761 -MY_P=VirtualBox-${MY_PV}
5762 -
5763 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
5764 -HOMEPAGE="https://www.virtualbox.org/"
5765 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
5766 - https://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-6.1.10-patches-01.tar.xz"
5767 -
5768 -LICENSE="GPL-2 dtrace? ( CDDL )"
5769 -SLOT="0"
5770 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
5771 -KEYWORDS="~amd64"
5772 -IUSE="alsa debug doc dtrace headless java libressl lvm +opus pam pax_kernel pulseaudio +opengl python +qt5 +sdk +udev vboxwebsrv vnc"
5773 -
5774 -CDEPEND="
5775 - ${PYTHON_DEPS}
5776 - !app-emulation/virtualbox-bin
5777 - acct-group/vboxusers
5778 - ~app-emulation/virtualbox-modules-${PV}
5779 - dev-libs/libIDL
5780 - >=dev-libs/libxslt-1.1.19
5781 - net-misc/curl
5782 - dev-libs/libxml2
5783 - media-libs/libpng:0=
5784 - media-libs/libvpx:0=
5785 - sys-libs/zlib:=
5786 - !headless? (
5787 - media-libs/libsdl:0[X,video]
5788 - x11-libs/libX11
5789 - x11-libs/libxcb:=
5790 - x11-libs/libXcursor
5791 - x11-libs/libXext
5792 - x11-libs/libXmu
5793 - x11-libs/libXt
5794 - opengl? ( virtual/opengl media-libs/freeglut )
5795 - qt5? (
5796 - dev-qt/qtcore:5
5797 - dev-qt/qtgui:5
5798 - dev-qt/qtprintsupport:5
5799 - dev-qt/qtwidgets:5
5800 - dev-qt/qtx11extras:5
5801 - opengl? ( dev-qt/qtopengl:5 )
5802 - x11-libs/libXinerama
5803 - )
5804 - )
5805 - libressl? ( dev-libs/libressl:= )
5806 - !libressl? ( dev-libs/openssl:0= )
5807 - lvm? ( sys-fs/lvm2 )
5808 - opus? ( media-libs/opus )
5809 - udev? ( >=virtual/udev-171 )
5810 - vnc? ( >=net-libs/libvncserver-0.9.9 )
5811 -"
5812 -DEPEND="
5813 - ${CDEPEND}
5814 - alsa? ( >=media-libs/alsa-lib-1.0.13 )
5815 - !headless? ( x11-libs/libXinerama )
5816 - pam? ( sys-libs/pam )
5817 - pax_kernel? ( sys-apps/elfix )
5818 - pulseaudio? ( media-sound/pulseaudio )
5819 - qt5? ( dev-qt/linguist-tools:5 )
5820 - vboxwebsrv? ( net-libs/gsoap[-gnutls(-)] )
5821 -"
5822 -BDEPEND="
5823 - ${PYTHON_DEPS}
5824 - >=dev-util/kbuild-0.1.9998.3127
5825 - >=dev-lang/yasm-0.6.2
5826 - sys-devel/bin86
5827 - sys-libs/libcap
5828 - sys-power/iasl
5829 - virtual/pkgconfig
5830 - doc? (
5831 - app-text/docbook-sgml-dtd:4.4
5832 - dev-texlive/texlive-basic
5833 - dev-texlive/texlive-latex
5834 - dev-texlive/texlive-latexrecommended
5835 - dev-texlive/texlive-latexextra
5836 - dev-texlive/texlive-fontsrecommended
5837 - dev-texlive/texlive-fontsextra
5838 - )
5839 - java? ( >=virtual/jdk-1.6 )
5840 -"
5841 -RDEPEND="
5842 - ${CDEPEND}
5843 - java? ( >=virtual/jre-1.6 )
5844 -"
5845 -
5846 -QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
5847 - usr/lib/virtualbox/VBoxSDL.so
5848 - usr/lib/virtualbox/VBoxSharedFolders.so
5849 - usr/lib/virtualbox/VBoxDD2.so
5850 - usr/lib/virtualbox/VBoxOGLrenderspu.so
5851 - usr/lib/virtualbox/VBoxPython.so
5852 - usr/lib/virtualbox/VBoxDD.so
5853 - usr/lib/virtualbox/VBoxDDU.so
5854 - usr/lib/virtualbox/VBoxREM64.so
5855 - usr/lib/virtualbox/VBoxSharedClipboard.so
5856 - usr/lib/virtualbox/VBoxHeadless.so
5857 - usr/lib/virtualbox/VBoxRT.so
5858 - usr/lib/virtualbox/VBoxREM.so
5859 - usr/lib/virtualbox/VBoxSettings.so
5860 - usr/lib/virtualbox/VBoxKeyboard.so
5861 - usr/lib/virtualbox/VBoxSharedCrOpenGL.so
5862 - usr/lib/virtualbox/VBoxVMM.so
5863 - usr/lib/virtualbox/VirtualBox.so
5864 - usr/lib/virtualbox/VBoxOGLhosterrorspu.so
5865 - usr/lib/virtualbox/components/VBoxC.so
5866 - usr/lib/virtualbox/components/VBoxSVCM.so
5867 - usr/lib/virtualbox/components/VBoxDDU.so
5868 - usr/lib/virtualbox/components/VBoxRT.so
5869 - usr/lib/virtualbox/components/VBoxREM.so
5870 - usr/lib/virtualbox/components/VBoxVMM.so
5871 - usr/lib/virtualbox/VBoxREM32.so
5872 - usr/lib/virtualbox/VBoxPython2_7.so
5873 - usr/lib/virtualbox/VBoxXPCOMC.so
5874 - usr/lib/virtualbox/VBoxOGLhostcrutil.so
5875 - usr/lib/virtualbox/VBoxNetDHCP.so
5876 - usr/lib/virtualbox/VBoxNetNAT.so"
5877 -
5878 -S="${WORKDIR}/${MY_P}"
5879 -
5880 -REQUIRED_USE="
5881 - java? ( sdk )
5882 - python? ( sdk )
5883 - vboxwebsrv? ( java )
5884 - ${PYTHON_REQUIRED_USE}
5885 -"
5886 -
5887 -pkg_pretend() {
5888 - if ! use headless && ! use qt5 ; then
5889 - einfo "No USE=\"qt5\" selected, this build will not include any Qt frontend."
5890 - elif use headless && use qt5 ; then
5891 - einfo "You selected USE=\"headless qt5\", defaulting to"
5892 - einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
5893 - fi
5894 -
5895 - if ! use opengl ; then
5896 - einfo "No USE=\"opengl\" selected, this build will lack"
5897 - einfo "the OpenGL feature."
5898 - fi
5899 - if ! use python ; then
5900 - einfo "You have disabled the \"python\" USE flag. This will only"
5901 - einfo "disable the python bindings being installed."
5902 - fi
5903 -}
5904 -
5905 -pkg_setup() {
5906 - java-pkg-opt-2_pkg_setup
5907 - python-single-r1_pkg_setup
5908 -
5909 - tc-ld-disable-gold #bug 488176
5910 - tc-export CC CXX LD AR RANLIB
5911 - export HOST_CC="$(tc-getBUILD_CC)"
5912 -}
5913 -
5914 -src_prepare() {
5915 - # Remove shipped binaries (kBuild,yasm), see bug #232775
5916 - rm -r kBuild/bin tools || die
5917 -
5918 - # Replace pointless GCC version check with something less stupid.
5919 - # This is needed for the qt5 version check.
5920 - sed -e 's@^check_gcc$@cc_maj="$(${CC} -dumpversion | cut -d. -f1)" ; cc_min="$(${CC} -dumpversion | cut -d. -f2)"@' \
5921 - -i configure || die
5922 -
5923 - # Disable things unused or split into separate ebuilds
5924 - sed -e "s@MY_LIBDIR@$(get_libdir)@" \
5925 - "${FILESDIR}"/${PN}-5-localconfig > LocalConfig.kmk || die
5926 -
5927 - # Respect LDFLAGS
5928 - sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
5929 - -i Config.kmk src/libs/xpcom18a4/Config.kmk || die
5930 -
5931 - # Do not use hard-coded ld (related to bug #488176)
5932 - sed -e '/QUIET)ld /s@ld @$(LD) @' \
5933 - -i src/VBox/Devices/PC/ipxe/Makefile.kmk || die
5934 -
5935 - # Use PAM only when pam USE flag is enbaled (bug #376531)
5936 - if ! use pam ; then
5937 - elog "Disabling PAM removes the possibility to use the VRDP features."
5938 - sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die
5939 - sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \
5940 - src/VBox/HostServices/Makefile.kmk || die
5941 - fi
5942 -
5943 - # add correct java path
5944 - if use java ; then
5945 - sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \
5946 - -i "${S}"/Config.kmk || die
5947 - java-pkg-opt-2_src_prepare
5948 - fi
5949 -
5950 - # Only add nopie patch when we're on hardened
5951 - if gcc-specs-pie ; then
5952 - eapply "${FILESDIR}/050_virtualbox-5.2.8-nopie.patch"
5953 - fi
5954 -
5955 - # Only add paxmark patch when we're on pax_kernel
5956 - if use pax_kernel ; then
5957 - eapply "${FILESDIR}"/virtualbox-5.2.8-paxmark-bldprogs.patch
5958 - fi
5959 -
5960 - eapply "${WORKDIR}/patches"
5961 -
5962 - eapply_user
5963 -}
5964 -
5965 -doecho() {
5966 - echo "$@"
5967 - "$@" || die
5968 -}
5969 -
5970 -src_configure() {
5971 - local myconf=(
5972 - --with-gcc="$(tc-getCC)"
5973 - --with-g++="$(tc-getCXX)"
5974 - --disable-dbus
5975 - --disable-kmods
5976 - $(usex alsa '' --disable-alsa)
5977 - $(usex debug --build-debug '')
5978 - $(usex doc '' --disable-docs)
5979 - $(usex java '' --disable-java)
5980 - $(usex lvm '' --disable-devmapper)
5981 - $(usex opus '' --disable-libopus)
5982 - $(usex pulseaudio '' --disable-pulse)
5983 - $(usex python '' --disable-python)
5984 - $(usex vboxwebsrv --enable-webservice '')
5985 - $(usex vnc --enable-vnc '')
5986 - )
5987 - if ! use headless ; then
5988 - myconf+=(
5989 - $(usex opengl '' --disable-opengl)
5990 - $(usex qt5 '' --disable-qt)
5991 - )
5992 - else
5993 - myconf+=(
5994 - --build-headless
5995 - --disable-opengl
5996 - )
5997 - fi
5998 - if use amd64 && ! has_multilib_profile ; then
5999 - myconf+=( --disable-vmmraw )
6000 - fi
6001 - # not an autoconf script
6002 - doecho ./configure ${myconf[@]}
6003 -}
6004 -
6005 -src_compile() {
6006 - source ./env.sh || die
6007 -
6008 - # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
6009 - MAKEJOBS=$(grep -Eo '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
6010 - MAKELOAD=$(grep -Eo '(\-l|\-\-load-average)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
6011 - MAKEOPTS="${MAKEJOBS} ${MAKELOAD}"
6012 - MAKE="kmk" emake \
6013 - VBOX_BUILD_PUBLISHER=_Gentoo \
6014 - TOOL_GXX3_CC="$(tc-getCC)" TOOL_GXX3_CXX="$(tc-getCXX)" \
6015 - TOOL_GXX3_LD="$(tc-getCXX)" VBOX_GCC_OPT="${CXXFLAGS}" \
6016 - TOOL_YASM_AS=yasm KBUILD_VERBOSE=2 \
6017 - VBOX_WITH_VBOXIMGMOUNT=1 \
6018 - all
6019 -}
6020 -
6021 -src_install() {
6022 - cd "${S}"/out/linux.${ARCH}/$(usex debug debug release)/bin || die
6023 -
6024 - local vbox_inst_path="/usr/$(get_libdir)/${PN}" each size ico icofile
6025 -
6026 - vbox_inst() {
6027 - local binary="${1}"
6028 - local perms="${2:-0750}"
6029 - local path="${3:-${vbox_inst_path}}"
6030 -
6031 - [[ -n "${binary}" ]] || die "vbox_inst: No binary given!"
6032 - [[ ${perms} =~ ^[[:digit:]]+{4}$ ]] || die "vbox_inst: perms must consist of four digits."
6033 -
6034 - insinto ${path}
6035 - doins ${binary}
6036 - fowners root:vboxusers ${path}/${binary}
6037 - fperms ${perms} ${path}/${binary}
6038 - }
6039 -
6040 - # Create configuration files
6041 - insinto /etc/vbox
6042 - newins "${FILESDIR}/${PN}-4-config" vbox.cfg
6043 -
6044 - # Set the correct libdir
6045 - sed \
6046 - -e "s@MY_LIBDIR@$(get_libdir)@" \
6047 - -i "${ED}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
6048 -
6049 - # Install the wrapper script
6050 - exeinto ${vbox_inst_path}
6051 - newexe "${FILESDIR}/${PN}-ose-6-wrapper" "VBox"
6052 - fowners root:vboxusers ${vbox_inst_path}/VBox
6053 - fperms 0750 ${vbox_inst_path}/VBox
6054 -
6055 - # Install binaries and libraries
6056 - insinto ${vbox_inst_path}
6057 - doins -r components
6058 -
6059 - for each in VBox{Autostart,BalloonCtrl,BugReport,CpuReport,ExtPackHelperApp,Manage,SVC,Tunctl,VMMPreload,XPCOMIPCD} vboximg-mount *so *r0 iPxeBaseBin ; do
6060 - vbox_inst ${each}
6061 - done
6062 -
6063 - # These binaries need to be suid root.
6064 - for each in VBox{Headless,Net{AdpCtl,DHCP,NAT}} ; do
6065 - vbox_inst ${each} 4750
6066 - done
6067 -
6068 - # Install EFI Firmware files (bug #320757)
6069 - for each in VBoxEFI{32,64}.fd ; do
6070 - vbox_inst ${each} 0644
6071 - done
6072 -
6073 - # VBoxSVC and VBoxManage need to be pax-marked (bug #403453)
6074 - # VBoxXPCOMIPCD (bug #524202)
6075 - for each in VBox{Headless,Manage,SVC,XPCOMIPCD} ; do
6076 - pax-mark -m "${ED}"${vbox_inst_path}/${each}
6077 - done
6078 -
6079 - # Symlink binaries to the shipped wrapper
6080 - for each in vbox{autostart,balloonctrl,bugreport,headless,manage} VBox{Autostart,BalloonCtrl,BugReport,Headless,Manage,VRDP} ; do
6081 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
6082 - done
6083 - dosym ${vbox_inst_path}/VBoxTunctl /usr/bin/VBoxTunctl
6084 - dosym ${vbox_inst_path}/vboximg-mount /usr/bin/vboximg-mount
6085 -
6086 - if use pam ; then
6087 - # VRDPAuth only works with this (bug #351949)
6088 - dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so
6089 - fi
6090 -
6091 - # set an env-variable for 3rd party tools
6092 - echo -n "VBOX_APP_HOME=${vbox_inst_path}" > "${T}/90virtualbox"
6093 - doenvd "${T}/90virtualbox"
6094 -
6095 - if ! use headless ; then
6096 - vbox_inst rdesktop-vrdp
6097 - vbox_inst VBoxSDL 4750
6098 - pax-mark -m "${ED}"${vbox_inst_path}/VBoxSDL
6099 -
6100 - for each in vboxsdl VBoxSDL ; do
6101 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
6102 - done
6103 -
6104 - if use qt5 ; then
6105 - vbox_inst VirtualBox
6106 - vbox_inst VirtualBoxVM 4750
6107 - for each in VirtualBox{,VM} ; do
6108 - pax-mark -m "${ED}"${vbox_inst_path}/${each}
6109 - done
6110 -
6111 - if use opengl ; then
6112 - vbox_inst VBoxTestOGL
6113 - pax-mark -m "${ED}"${vbox_inst_path}/VBoxTestOGL
6114 - fi
6115 -
6116 - for each in virtualbox{,vm} VirtualBox{,VM} ; do
6117 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
6118 - done
6119 -
6120 - insinto /usr/share/${PN}
6121 - doins -r nls
6122 - doins -r UnattendedTemplates
6123 -
6124 - domenu ${PN}.desktop
6125 - fi
6126 -
6127 - pushd "${S}"/src/VBox/Artwork/OSE &>/dev/null || die
6128 - for size in 16 32 48 64 128 ; do
6129 - newicon -s ${size} ${PN}-${size}px.png ${PN}.png
6130 - done
6131 - newicon ${PN}-48px.png ${PN}.png
6132 - doicon -s scalable ${PN}.svg
6133 - popd &>/dev/null || die
6134 - pushd "${S}"/src/VBox/Artwork/other &>/dev/null || die
6135 - for size in 16 24 32 48 64 72 96 128 256 512 ; do
6136 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
6137 - icofile="${PN}-${ico}-${size}px.png"
6138 - if [[ -f "${icofile}" ]] ; then
6139 - newicon -s ${size} ${icofile} ${PN}-${ico}.png
6140 - fi
6141 - done
6142 - done
6143 - popd &>/dev/null || die
6144 - fi
6145 -
6146 - if use lvm ; then
6147 - vbox_inst VBoxVolInfo 4750
6148 - dosym ${vbox_inst_path}/VBoxVolInfo /usr/bin/VBoxVolInfo
6149 - fi
6150 -
6151 - if use sdk ; then
6152 - insinto ${vbox_inst_path}
6153 - doins -r sdk
6154 -
6155 - if use java ; then
6156 - java-pkg_regjar "${ED}/${vbox_inst_path}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
6157 - java-pkg_regso "${ED}/${vbox_inst_path}/libvboxjxpcom.so"
6158 - fi
6159 - fi
6160 -
6161 - if use udev ; then
6162 - # New way of handling USB device nodes for VBox (bug #356215)
6163 - local udevdir="$(get_udevdir)"
6164 - insinto ${udevdir}
6165 - doins VBoxCreateUSBNode.sh
6166 - fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
6167 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
6168 - insinto ${udevdir}/rules.d
6169 - sed "s@%UDEVDIR%@${udevdir}@" "${FILESDIR}"/10-virtualbox.rules \
6170 - > "${T}"/10-virtualbox.rules || die
6171 - doins "${T}"/10-virtualbox.rules
6172 - fi
6173 -
6174 - if use vboxwebsrv ; then
6175 - vbox_inst vboxwebsrv
6176 - dosym ${vbox_inst_path}/VBox /usr/bin/vboxwebsrv
6177 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
6178 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
6179 - fi
6180 -
6181 - # Fix version string in extensions or else they don't get accepted
6182 - # by the virtualbox host process (see bug #438930)
6183 - find ExtensionPacks -type f -name "ExtPack.xml" -print0 \
6184 - | xargs --no-run-if-empty --null sed -i '/Version/s@_Gentoo@@' \
6185 - || die
6186 -
6187 - # Remove dead symlinks (bug #715338)
6188 - find "${ED}"/usr/$(get_libdir)/${PN} -xtype l -delete || die
6189 -
6190 - local extensions_dir="${vbox_inst_path}/ExtensionPacks"
6191 -
6192 - if use vnc ; then
6193 - insinto ${extensions_dir}
6194 - doins -r ExtensionPacks/VNC
6195 - fi
6196 -
6197 - if use dtrace ; then
6198 - insinto ${extensions_dir}
6199 - doins -r ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack
6200 - fi
6201 -
6202 - if use doc ; then
6203 - dodoc UserManual.pdf
6204 - fi
6205 -
6206 - newtmpfiles "${FILESDIR}"/${PN}-vboxusb_tmpfilesd ${PN}-vboxusb.conf
6207 -}
6208 -
6209 -pkg_preinst() {
6210 - xdg_pkg_preinst
6211 -}
6212 -
6213 -pkg_postinst() {
6214 - xdg_pkg_postinst
6215 -
6216 - if use udev ; then
6217 - udevadm control --reload-rules \
6218 - && udevadm trigger --subsystem-match=usb
6219 - fi
6220 -
6221 - tmpfiles_process /usr/lib/tmpfiles.d/virtualbox-vboxusb.conf
6222 -
6223 - if ! use headless && use qt5 ; then
6224 - elog "To launch VirtualBox just type: \"virtualbox\"."
6225 - fi
6226 - elog "You must be in the vboxusers group to use VirtualBox."
6227 - elog ""
6228 - elog "The latest user manual is available for download at:"
6229 - elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
6230 - elog ""
6231 - elog "For advanced networking setups you should emerge:"
6232 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
6233 - elog ""
6234 - elog "Starting with version 4.0.0, ${PN} has USB-1 support."
6235 - elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
6236 - elog " app-emulation/virtualbox-extpack-oracle"
6237 - elog "package."
6238 - elog "Starting with version 5.0.0, ${PN} no longer has the \"additions\" and"
6239 - elog "the \"extension\" USE flag. For installation of the guest additions ISO"
6240 - elog "image, please emerge"
6241 - elog " app-emulation/virtualbox-additions"
6242 - elog "and for the USB2, USB3, VRDP and PXE boot ROM modules, please emerge"
6243 - elog " app-emulation/virtualbox-extpack-oracle"
6244 - if ! use udev ; then
6245 - elog ""
6246 - elog "WARNING!"
6247 - elog "Without USE=udev, USB devices will likely not work in ${PN}."
6248 - elif [[ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ]] ; then
6249 - elog ""
6250 - elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
6251 - elog "or else USB in ${PN} won't work."
6252 - fi
6253 -}
6254 -
6255 -pkg_postrm() {
6256 - xdg_pkg_postrm
6257 -}