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-additions/, app-emulation/virtualbox-guest-additions/, ...
Date: Thu, 20 Feb 2020 16:35:25
Message-Id: 1582216512.2223aff76d6e66ea4670bbb0de7d54b3ebbf911a.polynomial-c@gentoo
1 commit: 2223aff76d6e66ea4670bbb0de7d54b3ebbf911a
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 20 16:34:29 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 20 16:35:12 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2223aff7
7
8 virtualbox packages: Removed old
9
10 Package-Manager: Portage-2.3.89, Repoman-2.3.20
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 app-emulation/virtualbox-additions/Manifest | 3 -
14 .../virtualbox-additions-5.2.34.ebuild | 33 --
15 .../virtualbox-additions-6.0.14.ebuild | 34 --
16 .../virtualbox-additions-6.1.0.ebuild | 34 --
17 app-emulation/virtualbox-bin/Manifest | 10 -
18 .../virtualbox-bin-5.2.34.133893.ebuild | 287 ------------
19 .../virtualbox-bin-6.0.14.133895.ebuild | 291 ------------
20 .../virtualbox-bin-6.1.0.135406.ebuild | 291 ------------
21 app-emulation/virtualbox-extpack-oracle/Manifest | 3 -
22 .../virtualbox-extpack-oracle-5.2.34.133893.ebuild | 42 --
23 .../virtualbox-extpack-oracle-6.0.14.133895.ebuild | 43 --
24 .../virtualbox-extpack-oracle-6.1.0.135406.ebuild | 43 --
25 app-emulation/virtualbox-guest-additions/Manifest | 5 -
26 .../virtualbox-guest-additions-5.2.34.ebuild | 229 ---------
27 .../virtualbox-guest-additions-6.0.14.ebuild | 219 ---------
28 .../virtualbox-guest-additions-6.1.0.ebuild | 219 ---------
29 app-emulation/virtualbox-modules/Manifest | 3 -
30 .../virtualbox-modules-5.2.34.ebuild | 51 ---
31 .../virtualbox-modules-6.0.14.ebuild | 56 ---
32 .../virtualbox-modules-6.1.0.ebuild | 54 ---
33 app-emulation/virtualbox/Manifest | 5 -
34 app-emulation/virtualbox/virtualbox-5.2.34.ebuild | 496 --------------------
35 app-emulation/virtualbox/virtualbox-6.0.14.ebuild | 510 ---------------------
36 app-emulation/virtualbox/virtualbox-6.1.0.ebuild | 504 --------------------
37 24 files changed, 3465 deletions(-)
38
39 diff --git a/app-emulation/virtualbox-additions/Manifest b/app-emulation/virtualbox-additions/Manifest
40 index c801ab3af78..b2205397ad6 100644
41 --- a/app-emulation/virtualbox-additions/Manifest
42 +++ b/app-emulation/virtualbox-additions/Manifest
43 @@ -1,8 +1,5 @@
44 DIST VBoxGuestAdditions_5.2.32.iso 49620992 BLAKE2B 04853f4b9a95898263ca7238a78b5d8751882a21874e4745d675642185542eb617f2a74b3e55b4444067822511d33b6d358e37e179d1b1c6464d701a8ab45a54 SHA512 86f1d7071a9033b7826dcacbcf23822acc772d909af8a8a12345bd5fe68375677b522d0e1987f2908412d5a29369d0a1221fd099f8b692c8d25fe9cbe40fd11e
45 -DIST VBoxGuestAdditions_5.2.34.iso 49661952 BLAKE2B 2e1455d19e2e6be374b3ab4e2400b838202f8b978884a631317bcfd08ae3adfcb48dadc1ff1d26731c1c55df9e407de005291f37c28d020b7c72acc82fb77e87 SHA512 5e01d3f2692a0e0fa8651bcd4084761d67732f008d4438e3d8428e8ef39e8e5e10f0fb4637901fc733d2d773f9ddce6de7c62e471098824cf72b6fffdaf65f6f
46 DIST VBoxGuestAdditions_5.2.36.iso 49661952 BLAKE2B 181c26b5362ebdd8508bcc5b3f75993fc6ab7036093004a614c5153a8c772e2bdaab309adc452cfe78ee09fbd528c00a875193f4183b75e3cb6ce169b4f68507 SHA512 4be8e943f61b17445b17d092db84ddd6841d933bf2b8dd1fad7cc0095d31932347f861e110917ca6d0ebec2ee62b2afa7e5977123830e50a4e0e4a6c1872e28e
47 -DIST VBoxGuestAdditions_6.0.14.iso 77195264 BLAKE2B 5f87fa4f561aaed80678eaadf3cb2b08edc5cc8de49aa6039c23621c736ad5b73b70ea5e4fcfb0a484dbd170010019350a1b1b4c712148648a9eb58d648f1682 SHA512 33b265b5a5635cb490a16ded64739ced39dcd4cc3c12d381f952b24ddac4ec2de9b36d34bc6e425f6d39f6a090250f64d3b517544f9b4ee91cbaf3de3984aea9
48 DIST VBoxGuestAdditions_6.0.16.iso 77201408 BLAKE2B 713381429cbef6685c4890c47dc0896571ca24cacc96d73903cdd91220a6b5ba7c6012c69d62489eaabd1fe75dd0000a3415d7d316fbc79b3b8ac2cf45cba75a SHA512 d17de374714023b02fef76bad53a15fe4d5d4bc752e900843419e9c3ba4988bd9bdc8fd6797bb4fdfa722d0f41ff144ed6865a0778609a7aea5e96de34c7beb8
49 -DIST VBoxGuestAdditions_6.1.0.iso 59516928 BLAKE2B b5b5deac4a589fd56c6826d2191b3ddf72935de9f86f899ca5dc4a20b4339d750c5ccf2cbe614dc453ff03789e3eba90030856babddc6fc2d9dffc260c1ea2b6 SHA512 999679802fc5529a9ade01ebc1923296b247c833b71f0b6b99a4002078ecb1e7e4221d26f1e8e37caa1abbf804543e88e4933efaecbe6974f2efc6f01c6948dc
50 DIST VBoxGuestAdditions_6.1.2.iso 59539456 BLAKE2B 904105943fb4004d3f91ef48cf8999bb1e4a8d4658e99b8d815f8f7031cedb870a1ae5825473cabbaedb38d2e9e2df12e4e8ed52c33a7e4595e0a37f6d51ade4 SHA512 c0d916c50f7377feade9a00417c759666442dd881f9e863d9704e12dda274e14bd84313a5bd340192a8e1d634eab4d69379bfee06324207e1025fe7af1a8c07c
51 DIST VBoxGuestAdditions_6.1.4.iso 59688960 BLAKE2B e7c86bbb2eddfc1e9dd555a5d9e5b808194a0124f0cf3bfb09aa226a89cd348cf979f523361fbd0cc400912709310592f938e56ef410a9f81c1bb514db58c2e7 SHA512 a1e8f404c3d58adc60adb6a14cecc3e56f0705bd810891038d2fd6691e9f54f61daa4ffe804c77005b2764cb7c7c8d97fb67077e05aca94cf21c4afa89cd7f4a
52
53 diff --git a/app-emulation/virtualbox-additions/virtualbox-additions-5.2.34.ebuild b/app-emulation/virtualbox-additions/virtualbox-additions-5.2.34.ebuild
54 deleted file mode 100644
55 index 6faf7e7e8a0..00000000000
56 --- a/app-emulation/virtualbox-additions/virtualbox-additions-5.2.34.ebuild
57 +++ /dev/null
58 @@ -1,33 +0,0 @@
59 -# Copyright 1999-2019 Gentoo Authors
60 -# Distributed under the terms of the GNU General Public License v2
61 -
62 -EAPI=7
63 -
64 -MY_PN=VBoxGuestAdditions
65 -MY_PV="${PV/beta/BETA}"
66 -MY_PV="${MY_PV/rc/RC}"
67 -MY_P=${MY_PN}_${MY_PV}
68 -
69 -DESCRIPTION="CD image containing guest additions for VirtualBox"
70 -HOMEPAGE="https://www.virtualbox.org/"
71 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.iso"
72 -
73 -LICENSE="GPL-2+ LGPL-2.1+ MIT SGI-B-2.0 CDDL"
74 -SLOT="0"
75 -KEYWORDS="~amd64 ~x86"
76 -IUSE=""
77 -RESTRICT="mirror"
78 -
79 -RDEPEND="!app-emulation/virtualbox-bin
80 - !=app-emulation/virtualbox-9999"
81 -
82 -S="${WORKDIR}"
83 -
84 -src_unpack() {
85 - return 0
86 -}
87 -
88 -src_install() {
89 - insinto /usr/share/${PN/-additions}
90 - newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
91 -}
92
93 diff --git a/app-emulation/virtualbox-additions/virtualbox-additions-6.0.14.ebuild b/app-emulation/virtualbox-additions/virtualbox-additions-6.0.14.ebuild
94 deleted file mode 100644
95 index 5124a818a15..00000000000
96 --- a/app-emulation/virtualbox-additions/virtualbox-additions-6.0.14.ebuild
97 +++ /dev/null
98 @@ -1,34 +0,0 @@
99 -# Copyright 1999-2019 Gentoo Authors
100 -# Distributed under the terms of the GNU General Public License v2
101 -
102 -EAPI=7
103 -
104 -MY_PN=VBoxGuestAdditions
105 -MY_PV="${PV/beta/BETA}"
106 -MY_PV="${MY_PV/rc/RC}"
107 -MY_P=${MY_PN}_${MY_PV}
108 -
109 -DESCRIPTION="CD image containing guest additions for VirtualBox"
110 -HOMEPAGE="https://www.virtualbox.org/"
111 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.iso"
112 -
113 -LICENSE="GPL-2+ LGPL-2.1+ MIT SGI-B-2.0 CDDL"
114 -SLOT="0"
115 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
116 -KEYWORDS="~amd64 ~x86"
117 -IUSE=""
118 -RESTRICT="mirror"
119 -
120 -RDEPEND="!app-emulation/virtualbox-bin
121 - !=app-emulation/virtualbox-9999"
122 -
123 -S="${WORKDIR}"
124 -
125 -src_unpack() {
126 - return 0
127 -}
128 -
129 -src_install() {
130 - insinto /usr/share/${PN/-additions}
131 - newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
132 -}
133
134 diff --git a/app-emulation/virtualbox-additions/virtualbox-additions-6.1.0.ebuild b/app-emulation/virtualbox-additions/virtualbox-additions-6.1.0.ebuild
135 deleted file mode 100644
136 index 2d9f4d599cb..00000000000
137 --- a/app-emulation/virtualbox-additions/virtualbox-additions-6.1.0.ebuild
138 +++ /dev/null
139 @@ -1,34 +0,0 @@
140 -# Copyright 1999-2019 Gentoo Authors
141 -# Distributed under the terms of the GNU General Public License v2
142 -
143 -EAPI=7
144 -
145 -MY_PN=VBoxGuestAdditions
146 -MY_PV="${PV/beta/BETA}"
147 -MY_PV="${MY_PV/rc/RC}"
148 -MY_P=${MY_PN}_${MY_PV}
149 -
150 -DESCRIPTION="CD image containing guest additions for VirtualBox"
151 -HOMEPAGE="https://www.virtualbox.org/"
152 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.iso"
153 -
154 -LICENSE="GPL-2+ LGPL-2.1+ MIT SGI-B-2.0 CDDL"
155 -SLOT="0"
156 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
157 -KEYWORDS="~amd64"
158 -IUSE=""
159 -RESTRICT="mirror"
160 -
161 -RDEPEND="!app-emulation/virtualbox-bin
162 - !=app-emulation/virtualbox-9999"
163 -
164 -S="${WORKDIR}"
165 -
166 -src_unpack() {
167 - return 0
168 -}
169 -
170 -src_install() {
171 - insinto /usr/share/${PN/-additions}
172 - newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
173 -}
174
175 diff --git a/app-emulation/virtualbox-bin/Manifest b/app-emulation/virtualbox-bin/Manifest
176 index 4e6ea6bdf31..14ad7b07474 100644
177 --- a/app-emulation/virtualbox-bin/Manifest
178 +++ b/app-emulation/virtualbox-bin/Manifest
179 @@ -1,27 +1,17 @@
180 DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.32-132073.tar.gz 26917593 BLAKE2B e52c746299d32ae908892791d8fb9b4dda264875e66bf0459adfbc64381001e9be1800a8ac93bbea14dceb47a0e81cf79c29a4c0796f7c4a30021e4beb036cfa SHA512 382ed45a90981397da7d46925a73c5aa0cc870fe41992c87ccd3d3a33420b199e4a0a19761a6c6ebeacf93450e2937d81befb6fdaf7fb7961827e23f0f24c645
181 -DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.34-133893.tar.gz 26985633 BLAKE2B 718bb568a8819250f90d57d57115f84e09da5c2e29539a8585c6916fd794bf2715ea9fc340dc349dbabeab8674230bab2b311686bfb5d343b0a7bdb23578effc SHA512 b932768bbf652f29a4e4ded8e65b944da63b76a02206da77dddf2bf8504cb165c67e215d270cdb4d9ff81adc4a24c146ad9793e074b0cf4e3a3fe77619017716
182 DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.36-135684.tar.gz 26989444 BLAKE2B fae15190bb434918e1ee15582c261b0bf33fbffa0ada922708892cc63ef8ca007decc7611394b056207df4f3ceb9fef781ace6f05e357e4849ae619ccc810b84 SHA512 c2a8f905ddde2c75a852e0391cfef252d45c6582994be53de8198c5c6276fe1827610620ae7e515c7cd7358ae8c9ab49766a8d968ea371895e7553955fd9cdec
183 -DIST Oracle_VM_VirtualBox_Extension_Pack-6.0.14-133895.tar.gz 23160651 BLAKE2B c140375bae78f4efe02744ac1b55c76e736eefe58e6adc9edf1fd232433cc572183590963789ab88490f56c6c95154a2755ef16f044b6948801d56ff63edea20 SHA512 fdeedfefeab884a546e7f477b28052c32ab2a2782a66b3afca1e56804552f54d310fbb5dcfd494e4bdb99e7fe1df5f9e4de5263a6db2dcaf9218002607f2967f
184 DIST Oracle_VM_VirtualBox_Extension_Pack-6.0.16-135674.tar.gz 23164167 BLAKE2B 59885f2710e8169c28cc1f5e0e9edb3b761030aee1eeeb645bed1085e145a02fb2e518108cf4426620a369b17b6ce7ff4b5c442ef69b29b33257993603874d7c SHA512 de4732d1c3ef5589c3af388c71003a1a1b4b48c7c47f26ab8b5950ccd2b906c3785af2e310df27e8f9b83ecf572857c4178c8f7cb96d3a3bca103da4fbc036ea
185 -DIST Oracle_VM_VirtualBox_Extension_Pack-6.1.0-135406.tar.gz 10923164 BLAKE2B 8f09f2b0d6c290dffcdb8d1ee86a31b8ffa37653d198a3478cc96d2f276e6a0a359da82052fd53815509e2f4981279db237dd0287cf8bb78d7f92b747660975d SHA512 dd01cbaacf4dc606e83dfe964289718852e5d11fbb9f744ac19a5f525dd6c149ce292fa124336cede876e65aa32b1365b7f1601f102808dea4fe9f1d445a4657
186 DIST Oracle_VM_VirtualBox_Extension_Pack-6.1.2-135662.tar.gz 10925771 BLAKE2B dee75544489c467873c7cd46456be3ece0119d68947f05ac3f4163322b8023dfc9066377794d18b2662b34ff9adee11fa8afb70628e0b9014ee0b127ae0087c2 SHA512 0d86696179ccda05583fb0c876567751734904677e13bfdd8f922751dfe949bbd12753d31048fc5f32df75d89b6cb59a662c2d1f524582adab8eb90b10da1b23
187 DIST Oracle_VM_VirtualBox_Extension_Pack-6.1.4-136177.tar.gz 10997977 BLAKE2B 066a0302b53a62ef27f5c0fafc499e8fd8f253807bc8808e88c32a4b71872c0cc8a57ffc6727f9e2bf7f6ba1b4e1d41c3001b8e9b3e490acfd4339bf8b02dfdd SHA512 373aa70182c4f86de14c40026f1d435832f2f377a8fe422fcbc3644b5e6a5f7abfc56df3f4b9acf1fa70cccb0bc483f12b6f70f6009a725ca0fa1b7e38dbfeab
188 DIST VirtualBox-5.2.32-132073-Linux_amd64.run 83854803 BLAKE2B 3522df31f4f98efcd40adcaaf8ac458078adf0bbfed96c7d309d4726ddb8b8dd78eef830b3cfcb2f1fa6329bcc30ea2449f5c88cab66fa0c7d20818d7b5aa07a SHA512 aea9b27793f3363eba2ed627cc3b35ca51445946e6e9f20382fb3034afbb7470d27fdc476066c04acc595690a9e34109e8b8ce6dcab10fdc990b241b24ec47fb
189 DIST VirtualBox-5.2.32-132073-Linux_x86.run 82943439 BLAKE2B 31a22e8b52a53d6948a5af533b5c8f374d703c44736678c0bbe6fd9b5298bed4817996c32902a69c2c59dbf751cea04f22beb7203deaeadf79d2424e123e9d37 SHA512 05f99b673224c2b3d94b0d568067ae5ee74200c88a3b7f6665988a9d0c35f69f81c07292b838d07c07fd6d5484979615fd255650b138387501a593f3833b9071
190 -DIST VirtualBox-5.2.34-133893-Linux_amd64.run 83895763 BLAKE2B 1f7212410c6cf1b2c58efcc0987980024a130a7d80f392ae5007c02aa7f5c3401f72c563c704a2e87282eb92d7d940e648cf6b4202010f068878005396474186 SHA512 ea369b80b8449280f7d605970f31784141bbc43420edde81ad394cb976eca19038455769d65fff9f9b2e4dd70a1c7ec406cc017dc7e50e1a6292bb7da074b845
191 -DIST VirtualBox-5.2.34-133893-Linux_x86.run 82974159 BLAKE2B 30e4e41fa3e3e8aaf928638ad6665a3dc874373daf99032c40381ee0e7ab2146daaf02c5b1d65e32e1fa8286cec4f898d924a9b62fc253a097d1f568538a6939 SHA512 f5fb27bb6d338841357445823fbaa5893fa338d8ef7c146f800baf3ceebb778c29239a82a4d9ceb9e23980177c5d0ccf10b3fc9b63b8b2232f23077bda4332d7
192 DIST VirtualBox-5.2.36-135684-Linux_amd64.run 83885521 BLAKE2B 6940d009069a80f46f0e568732e81e0151e18f7c24c5ff44dab3b305e5f21d4cf729ce162f67b21b4f034b8dc7ab4df4a07a24ab00a7349083bb15d3af27c0c4 SHA512 288a4ec1ba2f245771c87034876e1cfa59ea3eaed124bd77ffed20fadc54dbf3071624a94fefeb26a7d356fb55fe206d11510136194e15b10fa9585c8d5efe73
193 DIST VirtualBox-5.2.36-135684-Linux_x86.run 82974158 BLAKE2B d2c44159f00111438c51c60d4356247693c6773e8b244fcdf24cd2029b423c36edbea20e2130cf414ca5f076d04b1c085e9fac9a6b8504a991dcf76e61feb2c0 SHA512 888fafda0986066edf32c208503857ce58f220251d142ac0a327989d0d24987b2d69798143142e749c49cf37fddec23b3fe624503914327d0c53e3794db2d688
194 -DIST VirtualBox-6.0.14-133895-Linux_amd64.run 127200729 BLAKE2B dc39bcfd02d48bebba59eda8d70bed42c24ae68385b248f168b372a36145b8eb8043f2f59496ce6fa425c2eae4dcd1c78b0d6b44c147dba29ba1362bf6bd2f14 SHA512 4bb4cb398863ec812de9580a3a831cb5aed3ec8e471a519caf58dc988691deb5de7afe56b0c96d6295d2942da142786b4a014079fbc2f3dedae86680a4460cb1
195 DIST VirtualBox-6.0.16-135674-Linux_amd64.run 127251928 BLAKE2B a0aa634be851ba5620ae89b0c324204aa4a069c1480fe0d7effcb3796900b688d39f1204778e16e407c266d06583d3531e7831b789de238bab380160a9821036 SHA512 d3cdd40a5f7d2bc1537244db1dd5c5cb58a5b7df527952c1abcd5bd701afd59dd77ec1aa90489cd7640fe88a01aac9b20cc8522750f534a5d11af6f7e125482c
196 -DIST VirtualBox-6.1.0-135406-Linux_amd64.run 117093835 BLAKE2B 7eae87d07c327552978736cf4b52cbddab57471503e4c803464364c172b0d95b8b46ff0834cc3de11ce9aab245424358b593001f9bdab508714d3364b88e1fdd SHA512 6b1008742c3bda13f7bc319b74e4fc3900c1ed03e7652869d91ae3ff86558200bae4f51b99880f6495fd9492bc8a140b36f6ff7bbb19e0d22e88bf70c21d5469
197 DIST VirtualBox-6.1.2-135662-Linux_amd64.run 117165515 BLAKE2B cb2aeda9997d8b5f6cfc353e95532fe687362efde03256d6136b8546a74b0a87b9fdc0e9e273c1cde7f226951af7cf5d02218c68b962573ccc80ae94be987c0d SHA512 0775a5085b4eeba5244df3896afe270c79873da2e87038566bfab63f1552b90e235e20dff5703c6faac44f1c5c4ecbfac64c29608edd8b217bf34fb08cdc1999
198 DIST VirtualBox-6.1.4-136177-Linux_amd64.run 117185995 BLAKE2B 4ce483efd27c3183024f7baa3e07c1d6484767ba957582cad3111359c9d5b24b293f3b860ea566eb1bbc383710cb81b27b4e39c2aa24c9cc56dc6ba593fd1adb SHA512 14609ff7c76e93b561763456fc92dc3d3ed8d0c556af1ea0906abfb88a8fce9b8da6f392f3146945d03c7874f78d3f1f61df563c9f0160ef3315f30c286316e6
199 DIST VirtualBoxSDK-5.2.32-132073.zip 10200195 BLAKE2B 0de34e166b94889c605014233142887e7a8857d1915866156a0cc63850937730ec063e63b550f0d39ad241259158f033b028dbab7eec3f6f38c3715139413b3a SHA512 ccbe2af819bff46055bd6f079a03d69e721a09286e83d4f650583bc7692f5d19ae1a725cf3a6eb1b75167a2c73ff2e020d1f932bf9cfeee9ee709d1174c4cabf
200 -DIST VirtualBoxSDK-5.2.34-133893.zip 10199934 BLAKE2B 4f1f82e374b90e002183272c467074608d437ed43b4a0cc6875f5560d7fafa7432c1fe32287e1afbfc5aac91cc65a226f7b164df2fd036c385c211aa11b24b04 SHA512 deaca4f2480771056079bd2f857ea4a4d834a77f19fd5fa04b6e959f6e54141e901de0387e77418fd8e6ba06de528a3dde1c7b335e9c6eb8bb3278ae08a44d7a
201 DIST VirtualBoxSDK-5.2.36-135684.zip 10203411 BLAKE2B 241dca39482d620063476b86514d3b71d69b3187be15fdf8774ee3fc34ff98ac66ba97baebe4cc107727a07594d3c124c05867a7f62661cf11bc6bd43528cdba SHA512 646bc84b605c236ecf9c38fd14cfc5f2d1ddf72a874482dd9a0f799bc099e3c2ca11512607d988c411495fcf12495ea49e0fabea2ca04a22e73efecb94928190
202 -DIST VirtualBoxSDK-6.0.14-133895.zip 10801711 BLAKE2B 30f8befbd52bee336f3a63029061d1ebd76975149af1a1960bca298de2e4fee95cde80f9a7e822e589a2cc0e5a7526d07c006575a0508328b2482034e2bd347a SHA512 fd9dc1f077f8c842e0c52e08750af456973eab534e3de4d771d2c212f6024ad953426a62e82ce89895ad77d8de65d1fb39defd9c370864cb16d3d37fd9a31699
203 DIST VirtualBoxSDK-6.0.16-135674.zip 10803791 BLAKE2B 2b8507cf5143370ab753f55b27c1890ded25b1ed28457bb8ba094f2b2fa7e813d0605a25c5adbcbe828aec34c9fe7526e7a60c2e1cfc1085a611959474016280 SHA512 c7b811b89d6fa892c86c60e41922051d75ff079c9868eaf3b454aca73b3de77aa9361422216668203d105c910fffa94bd7b4bae4243c769660209c979009d7fe
204 -DIST VirtualBoxSDK-6.1.0-135406.zip 11172803 BLAKE2B dc70b6cf571f5d4f4dc9eeb92d09a890607fe66a37cb39a7b8a3e496c60dadbf94fc0f1fda794383fd5483f4ebf58e461c7a300a1aba2552839ccc939464004b SHA512 c7e3f848ac85fae508dabf1b8add774394ef9541426d65c6043122d701e1cc3e2102cdd7422d70fe1e74c6b382ffae5f9616921f5e76ce6732498ad91e0678bd
205 DIST VirtualBoxSDK-6.1.2-135662.zip 11174224 BLAKE2B 54ca9c127b15ab2917d9150313ae3c779efa80e07440f8e24694f14440120a415b35aa0b906de4b03330dd9c73c9dcb978bb0a1b39e438f39f46da4dfa4ddc3a SHA512 4011690019ae7804d85cdbf2c1649588472ef0db019c54507f30cb319cb28ffe27a36bc8ee59d4f1cba60c9a04f0f52096ac0596c826e8a5bb4bba1a7941e134
206 DIST VirtualBoxSDK-6.1.4-136177.zip 11173848 BLAKE2B 816b18bcfe2cde169dca3c5f3e89854b61f2bb7b59d28749f994c8f9a60e18c5f1cbe659c53c7a3b49a0bcb90959c0cd0b36c2254879f735e835b463927b2190 SHA512 e7b2a0dc892a9989cd0142edad131d0cf4240029d98f80a230e3e401be3a6f1d8c82c810b19b7e865946145b77cd87d91602adc640c182a2dfbdae1c21821a48
207
208 diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-5.2.34.133893.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-5.2.34.133893.ebuild
209 deleted file mode 100644
210 index ba106a9145d..00000000000
211 --- a/app-emulation/virtualbox-bin/virtualbox-bin-5.2.34.133893.ebuild
212 +++ /dev/null
213 @@ -1,287 +0,0 @@
214 -# Copyright 1999-2019 Gentoo Authors
215 -# Distributed under the terms of the GNU General Public License v2
216 -
217 -EAPI=6
218 -
219 -PYTHON_COMPAT=( python2_7 )
220 -
221 -inherit xdg-utils gnome2 pax-utils python-r1 udev unpacker eapi7-ver
222 -
223 -MAIN_PV="$(ver_cut 1-3)"
224 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
225 - MY_PV="${MAIN_PV}_$(ver_cut 5)"
226 - MY_PV="${MY_PV/beta/BETA}"
227 - MY_PV="${MY_PV/rc/RC}"
228 -else
229 - MY_PV="${MAIN_PV}"
230 -fi
231 -VBOX_BUILD_ID="$(ver_cut 4)"
232 -VBOX_PV="${MY_PV}-${VBOX_BUILD_ID}"
233 -MY_P="VirtualBox-${VBOX_PV}-Linux"
234 -# needed as sometimes the extpack gets another build ID
235 -EXTP_PV="${VBOX_PV}"
236 -EXTP_PN="Oracle_VM_VirtualBox_Extension_Pack"
237 -EXTP_P="${EXTP_PN}-${EXTP_PV}"
238 -# needed as sometimes the SDK gets another build ID
239 -SDK_PV="${VBOX_PV}"
240 -SDK_P="VirtualBoxSDK-${SDK_PV}"
241 -
242 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
243 -HOMEPAGE="https://www.virtualbox.org/"
244 -SRC_URI="amd64? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_amd64.run )
245 - x86? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_x86.run )
246 - https://download.virtualbox.org/virtualbox/${MY_PV}/${EXTP_P}.vbox-extpack -> ${EXTP_P}.tar.gz"
247 -
248 -LICENSE="GPL-2 PUEL"
249 -SLOT="0"
250 -KEYWORDS="~amd64 ~x86"
251 -IUSE="+additions +chm headless python vboxwebsrv rdesktop-vrdp"
252 -RESTRICT="bindist mirror"
253 -
254 -if [[ "${PV}" != *beta* ]] ; then
255 - SRC_URI+="
256 - sdk? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${SDK_P}.zip )"
257 - IUSE+=" sdk"
258 -fi
259 -
260 -DEPEND="app-arch/unzip
261 - ${PYTHON_DEPS}"
262 -
263 -RDEPEND="!!app-emulation/virtualbox
264 - !app-emulation/virtualbox-additions
265 - ~app-emulation/virtualbox-modules-${MAIN_PV}
266 - !headless? (
267 - dev-libs/glib
268 - media-libs/fontconfig
269 - media-libs/freetype
270 - media-libs/libpng
271 - media-libs/libsdl[X]
272 - x11-libs/libXcursor
273 - x11-libs/libXext
274 - x11-libs/libXfixes
275 - x11-libs/libXft
276 - x11-libs/libXi
277 - x11-libs/libXinerama
278 - x11-libs/libXrandr
279 - x11-libs/libXrender
280 - chm? ( dev-libs/expat )
281 - )
282 - dev-libs/libxml2
283 - sys-fs/lvm2
284 - x11-libs/libXau
285 - x11-libs/libX11
286 - x11-libs/libXt
287 - x11-libs/libXmu
288 - x11-libs/libSM
289 - x11-libs/libICE
290 - x11-libs/libXdmcp
291 - ${PYTHON_DEPS}"
292 -
293 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
294 -S="${WORKDIR}"
295 -
296 -QA_PREBUILT="opt/VirtualBox/*"
297 -
298 -PYTHON_UPDATER_IGNORE="1"
299 -
300 -src_unpack() {
301 - unpack_makeself ${MY_P}_${ARCH}.run
302 - unpack ./VirtualBox.tar.bz2
303 -
304 - mkdir "${S}"/${EXTP_PN} || die
305 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
306 - unpack ${EXTP_P}.tar.gz
307 - popd &>/dev/null || die
308 -
309 - if [[ "${PV}" != *beta* ]] && use sdk ; then
310 - unpack VirtualBoxSDK-${SDK_PV}.zip
311 - fi
312 -}
313 -
314 -src_configure() {
315 - :;
316 -}
317 -
318 -src_compile() {
319 - :;
320 -}
321 -
322 -src_install() {
323 - # create virtualbox configurations files
324 - insinto /etc/vbox
325 - newins "${FILESDIR}/${PN}-config" vbox.cfg
326 -
327 - if ! use headless ; then
328 - newmenu "${FILESDIR}"/${PN}.desktop-2 ${PN}.desktop
329 -
330 - # set up symlinks (bug #572012)
331 - dosym ../../../../opt/VirtualBox/virtualbox.xml /usr/share/mime/packages/virtualbox.xml
332 -
333 - local size ico icofile
334 - for size in 16 24 32 48 64 72 96 128 256 ; do
335 - pushd "${S}"/icons/${size}x${size} &>/dev/null || die
336 - if [[ -f "virtualbox.png" ]] ; then
337 - doicon -s ${size} virtualbox.png
338 - fi
339 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
340 - icofile="virtualbox-${ico}.png"
341 - if [[ -f "${icofile}" ]] ; then
342 - doicon -s ${size} ${icofile}
343 - fi
344 - done
345 - popd &>/dev/null || die
346 - done
347 - doicon -s scalable "${S}"/icons/scalable/virtualbox.svg
348 - insinto /usr/share/pixmaps
349 - newins "${S}"/icons/48x48/virtualbox.png ${PN}.png
350 - fi
351 -
352 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
353 - insinto /opt/VirtualBox/ExtensionPacks/${EXTP_PN}
354 - doins -r linux.${ARCH}
355 - doins ExtPack* PXE-Intel.rom
356 - popd &>/dev/null || die
357 - rm -rf "${S}"/${EXTP_PN}
358 -
359 - insinto /opt/VirtualBox
360 - dodir /opt/bin
361 -
362 - doins UserManual.pdf
363 -
364 - if [[ "${PV}" != *beta* ]] && use sdk ; then
365 - doins -r sdk
366 - fi
367 -
368 - if use additions; then
369 - doins -r additions
370 - fi
371 -
372 - if use vboxwebsrv; then
373 - doins vboxwebsrv
374 - fowners root:vboxusers /opt/VirtualBox/vboxwebsrv
375 - fperms 0750 /opt/VirtualBox/vboxwebsrv
376 - dosym ../../opt/VirtualBox/VBox.sh /opt/bin/vboxwebsrv
377 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
378 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
379 - fi
380 -
381 - if use rdesktop-vrdp; then
382 - doins rdesktop-vrdp
383 - doins -r rdesktop-vrdp-keymaps
384 - fperms 0750 /opt/VirtualBox/rdesktop-vrdp
385 - dosym ../../opt/VirtualBox/rdesktop-vrdp /opt/bin/rdesktop-vrdp
386 - fi
387 -
388 - if ! use headless && use chm; then
389 - doins kchmviewer VirtualBox.chm
390 - fowners root:vboxusers /opt/VirtualBox/kchmviewer
391 - fperms 0750 /opt/VirtualBox/kchmviewer
392 - fi
393 -
394 - # This ebuild / package supports only py2.7. When py3 comes is unknown.
395 - # The compile phase makes VBoxPython2_7.so.
396 - # py3 support would presumably require a binary pre-compiled by py3.
397 - use python && doins VBoxPython.so VBoxPython2_7.so
398 -
399 - rm -rf src rdesktop* deffiles install* routines.sh runlevel.sh \
400 - vboxdrv.sh VBox.sh VBox.png vboxnet.sh additions VirtualBox.desktop \
401 - VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \
402 - webtest kchmviewer VirtualBox.chm vbox-create-usb-node.sh \
403 - 90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py \
404 - VBoxPython?_*.so
405 -
406 - if use headless ; then
407 - rm -rf VBoxSDL VirtualBox VBoxKeyboard.so
408 - fi
409 -
410 - doins -r *
411 -
412 - # create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
413 - dosym ../VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
414 - dosym ../VBoxREM.so /opt/VirtualBox/components/VBoxREM.so
415 - dosym ../VBoxRT.so /opt/VirtualBox/components/VBoxRT.so
416 - dosym ../VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so
417 - dosym ../VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
418 -
419 - local each
420 - for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,NetNAT,TestOGL,ExtPackHelperApp}; do
421 - fowners root:vboxusers /opt/VirtualBox/${each}
422 - fperms 0750 /opt/VirtualBox/${each}
423 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
424 - done
425 - # VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
426 - fperms 4750 /opt/VirtualBox/VBoxNetAdpCtl
427 - fperms 4750 /opt/VirtualBox/VBoxNetDHCP
428 - fperms 4750 /opt/VirtualBox/VBoxNetNAT
429 -
430 - if ! use headless ; then
431 - # Hardened build: Mark selected binaries set-user-ID-on-execution
432 - for each in VBox{SDL,Headless} VirtualBox; do
433 - fowners root:vboxusers /opt/VirtualBox/${each}
434 - fperms 4510 /opt/VirtualBox/${each}
435 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
436 - done
437 -
438 - dosym ../VirtualBox/VBox.sh /opt/bin/VirtualBox
439 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxSDL
440 - else
441 - # Hardened build: Mark selected binaries set-user-ID-on-execution
442 - fowners root:vboxusers /opt/VirtualBox/VBoxHeadless
443 - fperms 4510 /opt/VirtualBox/VBoxHeadless
444 - pax-mark -m "${ED%/}"/opt/VirtualBox/VBoxHeadless
445 - fi
446 -
447 - exeinto /opt/VirtualBox
448 - newexe "${FILESDIR}/${PN}-3-wrapper" "VBox.sh"
449 - fowners root:vboxusers /opt/VirtualBox/VBox.sh
450 - fperms 0750 /opt/VirtualBox/VBox.sh
451 -
452 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxManage
453 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxVRDP
454 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxHeadless
455 - dosym ../VirtualBox/VBoxTunctl /opt/bin/VBoxTunctl
456 -
457 - # set an env-variable for 3rd party tools
458 - echo -n "VBOX_APP_HOME=/opt/VirtualBox" > "${T}/90virtualbox"
459 - doenvd "${T}/90virtualbox"
460 -
461 - local udevdir="$(get_udevdir)"
462 - insinto ${udevdir}/rules.d
463 - doins "${FILESDIR}"/10-virtualbox.rules
464 - sed "s@%UDEVDIR%@${udevdir}@" \
465 - -i "${ED%/}"${udevdir}/rules.d/10-virtualbox.rules || die
466 - # move udev scripts into ${udevdir} (bug #372491)
467 - mv "${ED%/}"/opt/VirtualBox/VBoxCreateUSBNode.sh "${ED%/}"${udevdir} || die
468 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
469 -}
470 -
471 -pkg_postinst() {
472 - xdg_desktop_database_update
473 -
474 - gnome2_icon_cache_update
475 -
476 - udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
477 -
478 - elog ""
479 - if ! use headless ; then
480 - elog "To launch VirtualBox just type: \"VirtualBox\""
481 - elog ""
482 - fi
483 - elog "You must be in the vboxusers group to use VirtualBox."
484 - elog ""
485 - elog "For advanced networking setups you should emerge:"
486 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
487 - elog ""
488 - elog "Please visit http://www.virtualbox.org/wiki/Editions for"
489 - elog "an overview about the different features of ${PN}"
490 - elog "and virtualbox-ose"
491 - if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
492 - elog ""
493 - elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
494 - elog "or else USB in ${PN} won't work."
495 - fi
496 -}
497 -
498 -pkg_postrm() {
499 - xdg_desktop_database_update
500 -}
501
502 diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-6.0.14.133895.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-6.0.14.133895.ebuild
503 deleted file mode 100644
504 index d236726f6ef..00000000000
505 --- a/app-emulation/virtualbox-bin/virtualbox-bin-6.0.14.133895.ebuild
506 +++ /dev/null
507 @@ -1,291 +0,0 @@
508 -# Copyright 1999-2019 Gentoo Authors
509 -# Distributed under the terms of the GNU General Public License v2
510 -
511 -EAPI=6
512 -
513 -PYTHON_COMPAT=( python2_7 )
514 -
515 -inherit xdg-utils gnome2 pax-utils python-r1 udev unpacker eapi7-ver
516 -
517 -MAIN_PV="$(ver_cut 1-3)"
518 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
519 - MY_PV="${MAIN_PV}_$(ver_cut 5-6)"
520 - MY_PV="${MY_PV/beta/BETA}"
521 - MY_PV="${MY_PV/rc/RC}"
522 -else
523 - MY_PV="${MAIN_PV}"
524 - KEYWORDS="~amd64" #~x86
525 -fi
526 -VBOX_BUILD_ID="$(ver_cut 4)"
527 -VBOX_PV="${MY_PV}-${VBOX_BUILD_ID}"
528 -MY_P="VirtualBox-${VBOX_PV}-Linux"
529 -# needed as sometimes the extpack gets another build ID
530 -EXTP_PV="${VBOX_PV}"
531 -EXTP_PN="Oracle_VM_VirtualBox_Extension_Pack"
532 -EXTP_P="${EXTP_PN}-${EXTP_PV}"
533 -# needed as sometimes the SDK gets another build ID
534 -SDK_PV="${VBOX_PV}"
535 -SDK_P="VirtualBoxSDK-${SDK_PV}"
536 -
537 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
538 -HOMEPAGE="https://www.virtualbox.org/"
539 -SRC_URI="amd64? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_amd64.run )
540 - https://download.virtualbox.org/virtualbox/${MY_PV}/${EXTP_P}.vbox-extpack -> ${EXTP_P}.tar.gz"
541 - #x86? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_x86.run )
542 -
543 -LICENSE="GPL-2 PUEL"
544 -SLOT="0"
545 -IUSE="+additions +chm headless python vboxwebsrv rdesktop-vrdp"
546 -RESTRICT="bindist mirror"
547 -
548 -if [[ "${PV}" != *beta* ]] ; then
549 - SRC_URI+="
550 - sdk? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${SDK_P}.zip )"
551 - IUSE+=" sdk"
552 -fi
553 -
554 -DEPEND="app-arch/unzip
555 - ${PYTHON_DEPS}"
556 -
557 -RDEPEND="!!app-emulation/virtualbox
558 - !app-emulation/virtualbox-additions
559 - ~app-emulation/virtualbox-modules-${MAIN_PV}
560 - !headless? (
561 - dev-libs/glib
562 - media-libs/fontconfig
563 - media-libs/freetype
564 - media-libs/libpng
565 - media-libs/libsdl[X]
566 - x11-libs/libXcursor
567 - x11-libs/libXext
568 - x11-libs/libXfixes
569 - x11-libs/libXft
570 - x11-libs/libXi
571 - x11-libs/libXinerama
572 - x11-libs/libXrandr
573 - x11-libs/libXrender
574 - chm? ( dev-libs/expat )
575 - )
576 - dev-libs/libxml2
577 - sys-fs/lvm2
578 - x11-libs/libXau
579 - x11-libs/libX11
580 - x11-libs/libXt
581 - x11-libs/libXmu
582 - x11-libs/libSM
583 - x11-libs/libICE
584 - x11-libs/libXdmcp
585 - ${PYTHON_DEPS}"
586 -
587 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
588 -S="${WORKDIR}"
589 -
590 -QA_PREBUILT="opt/VirtualBox/*"
591 -
592 -PYTHON_UPDATER_IGNORE="1"
593 -
594 -src_unpack() {
595 - unpack_makeself ${MY_P}_${ARCH}.run
596 - unpack ./VirtualBox.tar.bz2
597 -
598 - mkdir "${S}"/${EXTP_PN} || die
599 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
600 - unpack ${EXTP_P}.tar.gz
601 - popd &>/dev/null || die
602 -
603 - if [[ "${PV}" != *beta* ]] && use sdk ; then
604 - unpack VirtualBoxSDK-${SDK_PV}.zip
605 - fi
606 -}
607 -
608 -src_configure() {
609 - :;
610 -}
611 -
612 -src_compile() {
613 - :;
614 -}
615 -
616 -src_install() {
617 - # create virtualbox configurations files
618 - insinto /etc/vbox
619 - newins "${FILESDIR}/${PN}-config" vbox.cfg
620 -
621 - if ! use headless ; then
622 - newmenu "${FILESDIR}"/${PN}.desktop-2 ${PN}.desktop
623 -
624 - # set up symlinks (bug #572012)
625 - dosym ../../../../opt/VirtualBox/virtualbox.xml /usr/share/mime/packages/virtualbox.xml
626 -
627 - local size ico icofile
628 - for size in 16 24 32 48 64 72 96 128 256 ; do
629 - pushd "${S}"/icons/${size}x${size} &>/dev/null || die
630 - if [[ -f "virtualbox.png" ]] ; then
631 - doicon -s ${size} virtualbox.png
632 - fi
633 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
634 - icofile="virtualbox-${ico}.png"
635 - if [[ -f "${icofile}" ]] ; then
636 - doicon -s ${size} ${icofile}
637 - fi
638 - done
639 - popd &>/dev/null || die
640 - done
641 - doicon -s scalable "${S}"/icons/scalable/virtualbox.svg
642 - insinto /usr/share/pixmaps
643 - newins "${S}"/icons/48x48/virtualbox.png ${PN}.png
644 - fi
645 -
646 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
647 - insinto /opt/VirtualBox/ExtensionPacks/${EXTP_PN}
648 - doins -r linux.${ARCH}
649 - doins ExtPack* PXE-Intel.rom
650 - popd &>/dev/null || die
651 - rm -rf "${S}"/${EXTP_PN}
652 -
653 - insinto /opt/VirtualBox
654 - dodir /opt/bin
655 -
656 - doins UserManual.pdf
657 -
658 - if [[ "${PV}" != *beta* ]] && use sdk ; then
659 - doins -r sdk
660 - fi
661 -
662 - if use additions; then
663 - doins -r additions
664 - fi
665 -
666 - if use vboxwebsrv; then
667 - doins vboxwebsrv
668 - fowners root:vboxusers /opt/VirtualBox/vboxwebsrv
669 - fperms 0750 /opt/VirtualBox/vboxwebsrv
670 - dosym ../../opt/VirtualBox/VBox.sh /opt/bin/vboxwebsrv
671 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
672 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
673 - fi
674 -
675 - if use rdesktop-vrdp; then
676 - doins rdesktop-vrdp
677 - doins -r rdesktop-vrdp-keymaps
678 - fperms 0750 /opt/VirtualBox/rdesktop-vrdp
679 - dosym ../../opt/VirtualBox/rdesktop-vrdp /opt/bin/rdesktop-vrdp
680 - fi
681 -
682 - if ! use headless && use chm; then
683 - doins kchmviewer VirtualBox.chm
684 - fowners root:vboxusers /opt/VirtualBox/kchmviewer
685 - fperms 0750 /opt/VirtualBox/kchmviewer
686 - fi
687 -
688 - # This ebuild / package supports only py2.7. When py3 comes is unknown.
689 - # The compile phase makes VBoxPython2_7.so.
690 - # py3 support would presumably require a binary pre-compiled by py3.
691 - use python && doins VBoxPython.so
692 -
693 - rm -rf src rdesktop* deffiles install* routines.sh runlevel.sh \
694 - vboxdrv.sh VBox.sh VBox.png vboxnet.sh additions VirtualBox.desktop \
695 - VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \
696 - webtest kchmviewer VirtualBox.chm vbox-create-usb-node.sh \
697 - 90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py \
698 - VBoxPython?_*.so
699 -
700 - if use headless ; then
701 - rm -rf VBoxSDL VirtualBox{,VM} VBoxKeyboard.so
702 - fi
703 -
704 - doins -r *
705 -
706 - # create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
707 - dosym ../VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
708 - dosym ../VBoxREM.so /opt/VirtualBox/components/VBoxREM.so
709 - dosym ../VBoxRT.so /opt/VirtualBox/components/VBoxRT.so
710 - dosym ../VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so
711 - dosym ../VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
712 -
713 - local each
714 - for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,TestOGL,ExtPackHelperApp} $(usex headless '' VirtualBox) ; do
715 - fowners root:vboxusers /opt/VirtualBox/${each}
716 - fperms 0750 /opt/VirtualBox/${each}
717 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
718 - done
719 - # VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
720 - for each in VBoxNet{AdpCtl,DHCP,NAT} $(usex headless '' VirtualBoxVM) ; do
721 - fowners root:vboxusers /opt/VirtualBox/${each}
722 - fperms 4750 /opt/VirtualBox/${each}
723 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
724 - done
725 -
726 - if ! use headless ; then
727 - # Hardened build: Mark selected binaries set-user-ID-on-execution
728 - for each in VBox{SDL,Headless} ; do
729 - fowners root:vboxusers /opt/VirtualBox/${each}
730 - fperms 4510 /opt/VirtualBox/${each}
731 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
732 - done
733 -
734 - dosym ../VirtualBox/VBox.sh /opt/bin/VirtualBox
735 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxSDL
736 - else
737 - # Hardened build: Mark selected binaries set-user-ID-on-execution
738 - fowners root:vboxusers /opt/VirtualBox/VBoxHeadless
739 - fperms 4510 /opt/VirtualBox/VBoxHeadless
740 - pax-mark -m "${ED%/}"/opt/VirtualBox/VBoxHeadless
741 - fi
742 -
743 - exeinto /opt/VirtualBox
744 - newexe "${FILESDIR}/${PN}-3-wrapper" "VBox.sh"
745 - fowners root:vboxusers /opt/VirtualBox/VBox.sh
746 - fperms 0750 /opt/VirtualBox/VBox.sh
747 -
748 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxManage
749 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxVRDP
750 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxHeadless
751 - dosym ../VirtualBox/VBoxTunctl /opt/bin/VBoxTunctl
752 -
753 - # set an env-variable for 3rd party tools
754 - echo -n "VBOX_APP_HOME=/opt/VirtualBox" > "${T}/90virtualbox"
755 - doenvd "${T}/90virtualbox"
756 -
757 - local udevdir="$(get_udevdir)"
758 - insinto ${udevdir}/rules.d
759 - doins "${FILESDIR}"/10-virtualbox.rules
760 - sed "s@%UDEVDIR%@${udevdir}@" \
761 - -i "${ED%/}"${udevdir}/rules.d/10-virtualbox.rules || die
762 - # move udev scripts into ${udevdir} (bug #372491)
763 - mv "${ED%/}"/opt/VirtualBox/VBoxCreateUSBNode.sh "${ED%/}"${udevdir} || die
764 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
765 -}
766 -
767 -pkg_postinst() {
768 - xdg_icon_cache_update
769 - xdg_desktop_database_update
770 - xdg_mimeinfo_database_update
771 -
772 - udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
773 -
774 - elog ""
775 - if ! use headless ; then
776 - elog "To launch VirtualBox just type: \"VirtualBox\""
777 - elog ""
778 - fi
779 - elog "You must be in the vboxusers group to use VirtualBox."
780 - elog ""
781 - elog "For advanced networking setups you should emerge:"
782 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
783 - elog ""
784 - elog "Please visit http://www.virtualbox.org/wiki/Editions for"
785 - elog "an overview about the different features of ${PN}"
786 - elog "and virtualbox-ose"
787 - if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
788 - elog ""
789 - elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
790 - elog "or else USB in ${PN} won't work."
791 - fi
792 -}
793 -
794 -pkg_postrm() {
795 - xdg_icon_cache_update
796 - xdg_desktop_database_update
797 - xdg_mimeinfo_database_update
798 -}
799
800 diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-6.1.0.135406.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-6.1.0.135406.ebuild
801 deleted file mode 100644
802 index d9a9191934c..00000000000
803 --- a/app-emulation/virtualbox-bin/virtualbox-bin-6.1.0.135406.ebuild
804 +++ /dev/null
805 @@ -1,291 +0,0 @@
806 -# Copyright 1999-2019 Gentoo Authors
807 -# Distributed under the terms of the GNU General Public License v2
808 -
809 -EAPI=6
810 -
811 -PYTHON_COMPAT=( python2_7 )
812 -
813 -inherit xdg-utils gnome2 pax-utils python-r1 udev unpacker eapi7-ver
814 -
815 -MAIN_PV="$(ver_cut 1-3)"
816 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
817 - MY_PV="${MAIN_PV}_$(ver_cut 5-6)"
818 - MY_PV="${MY_PV/beta/BETA}"
819 - MY_PV="${MY_PV/rc/RC}"
820 -else
821 - MY_PV="${MAIN_PV}"
822 - KEYWORDS="~amd64" #~x86
823 -fi
824 -VBOX_BUILD_ID="$(ver_cut 4)"
825 -VBOX_PV="${MY_PV}-${VBOX_BUILD_ID}"
826 -MY_P="VirtualBox-${VBOX_PV}-Linux"
827 -# needed as sometimes the extpack gets another build ID
828 -EXTP_PV="${VBOX_PV}"
829 -EXTP_PN="Oracle_VM_VirtualBox_Extension_Pack"
830 -EXTP_P="${EXTP_PN}-${EXTP_PV}"
831 -# needed as sometimes the SDK gets another build ID
832 -SDK_PV="${VBOX_PV}"
833 -SDK_P="VirtualBoxSDK-${SDK_PV}"
834 -
835 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
836 -HOMEPAGE="https://www.virtualbox.org/"
837 -SRC_URI="amd64? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_amd64.run )
838 - https://download.virtualbox.org/virtualbox/${MY_PV}/${EXTP_P}.vbox-extpack -> ${EXTP_P}.tar.gz"
839 - #x86? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_x86.run )
840 -
841 -LICENSE="GPL-2 PUEL"
842 -SLOT="0"
843 -IUSE="+additions +chm headless python vboxwebsrv rdesktop-vrdp"
844 -RESTRICT="bindist mirror"
845 -
846 -if [[ "${PV}" != *beta* ]] ; then
847 - SRC_URI+="
848 - sdk? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${SDK_P}.zip )"
849 - IUSE+=" sdk"
850 -fi
851 -
852 -DEPEND="app-arch/unzip
853 - ${PYTHON_DEPS}"
854 -
855 -RDEPEND="!!app-emulation/virtualbox
856 - !app-emulation/virtualbox-additions
857 - ~app-emulation/virtualbox-modules-${MY_PV,,}
858 - !headless? (
859 - dev-libs/glib
860 - media-libs/fontconfig
861 - media-libs/freetype
862 - media-libs/libpng
863 - media-libs/libsdl[X]
864 - x11-libs/libXcursor
865 - x11-libs/libXext
866 - x11-libs/libXfixes
867 - x11-libs/libXft
868 - x11-libs/libXi
869 - x11-libs/libXinerama
870 - x11-libs/libXrandr
871 - x11-libs/libXrender
872 - chm? ( dev-libs/expat )
873 - )
874 - dev-libs/libxml2
875 - sys-fs/lvm2
876 - x11-libs/libXau
877 - x11-libs/libX11
878 - x11-libs/libXt
879 - x11-libs/libXmu
880 - x11-libs/libSM
881 - x11-libs/libICE
882 - x11-libs/libXdmcp
883 - ${PYTHON_DEPS}"
884 -
885 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
886 -S="${WORKDIR}"
887 -
888 -QA_PREBUILT="opt/VirtualBox/*"
889 -
890 -PYTHON_UPDATER_IGNORE="1"
891 -
892 -src_unpack() {
893 - unpack_makeself ${MY_P}_${ARCH}.run
894 - unpack ./VirtualBox.tar.bz2
895 -
896 - mkdir "${S}"/${EXTP_PN} || die
897 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
898 - unpack ${EXTP_P}.tar.gz
899 - popd &>/dev/null || die
900 -
901 - if [[ "${PV}" != *beta* ]] && use sdk ; then
902 - unpack VirtualBoxSDK-${SDK_PV}.zip
903 - fi
904 -}
905 -
906 -src_configure() {
907 - :;
908 -}
909 -
910 -src_compile() {
911 - :;
912 -}
913 -
914 -src_install() {
915 - # create virtualbox configurations files
916 - insinto /etc/vbox
917 - newins "${FILESDIR}/${PN}-config" vbox.cfg
918 -
919 - if ! use headless ; then
920 - newmenu "${FILESDIR}"/${PN}.desktop-2 ${PN}.desktop
921 -
922 - # set up symlinks (bug #572012)
923 - dosym ../../../../opt/VirtualBox/virtualbox.xml /usr/share/mime/packages/virtualbox.xml
924 -
925 - local size ico icofile
926 - for size in 16 24 32 48 64 72 96 128 256 ; do
927 - pushd "${S}"/icons/${size}x${size} &>/dev/null || die
928 - if [[ -f "virtualbox.png" ]] ; then
929 - doicon -s ${size} virtualbox.png
930 - fi
931 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
932 - icofile="virtualbox-${ico}.png"
933 - if [[ -f "${icofile}" ]] ; then
934 - doicon -s ${size} ${icofile}
935 - fi
936 - done
937 - popd &>/dev/null || die
938 - done
939 - doicon -s scalable "${S}"/icons/scalable/virtualbox.svg
940 - insinto /usr/share/pixmaps
941 - newins "${S}"/icons/48x48/virtualbox.png ${PN}.png
942 - fi
943 -
944 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
945 - insinto /opt/VirtualBox/ExtensionPacks/${EXTP_PN}
946 - doins -r linux.${ARCH}
947 - doins ExtPack* PXE-Intel.rom
948 - popd &>/dev/null || die
949 - rm -rf "${S}"/${EXTP_PN}
950 -
951 - insinto /opt/VirtualBox
952 - dodir /opt/bin
953 -
954 - doins UserManual.pdf
955 -
956 - if [[ "${PV}" != *beta* ]] && use sdk ; then
957 - doins -r sdk
958 - fi
959 -
960 - if use additions; then
961 - doins -r additions
962 - fi
963 -
964 - if use vboxwebsrv; then
965 - doins vboxwebsrv
966 - fowners root:vboxusers /opt/VirtualBox/vboxwebsrv
967 - fperms 0750 /opt/VirtualBox/vboxwebsrv
968 - dosym ../../opt/VirtualBox/VBox.sh /opt/bin/vboxwebsrv
969 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
970 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
971 - fi
972 -
973 - if use rdesktop-vrdp; then
974 - doins rdesktop-vrdp
975 - doins -r rdesktop-vrdp-keymaps
976 - fperms 0750 /opt/VirtualBox/rdesktop-vrdp
977 - dosym ../../opt/VirtualBox/rdesktop-vrdp /opt/bin/rdesktop-vrdp
978 - fi
979 -
980 - if ! use headless && use chm; then
981 - doins kchmviewer VirtualBox.chm
982 - fowners root:vboxusers /opt/VirtualBox/kchmviewer
983 - fperms 0750 /opt/VirtualBox/kchmviewer
984 - fi
985 -
986 - # This ebuild / package supports only py2.7. When py3 comes is unknown.
987 - # The compile phase makes VBoxPython2_7.so.
988 - # py3 support would presumably require a binary pre-compiled by py3.
989 - use python && doins VBoxPython.so
990 -
991 - rm -rf src rdesktop* deffiles install* routines.sh runlevel.sh \
992 - vboxdrv.sh VBox.sh VBox.png vboxnet.sh additions VirtualBox.desktop \
993 - VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \
994 - webtest kchmviewer VirtualBox.chm vbox-create-usb-node.sh \
995 - 90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py \
996 - VBoxPython?_*.so
997 -
998 - if use headless ; then
999 - rm -rf VBoxSDL VirtualBox{,VM} VBoxKeyboard.so
1000 - fi
1001 -
1002 - doins -r *
1003 -
1004 - # create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
1005 - dosym ../VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
1006 - dosym ../VBoxREM.so /opt/VirtualBox/components/VBoxREM.so
1007 - dosym ../VBoxRT.so /opt/VirtualBox/components/VBoxRT.so
1008 - dosym ../VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so
1009 - dosym ../VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
1010 -
1011 - local each
1012 - for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,TestOGL,ExtPackHelperApp} $(usex headless '' VirtualBox) ; do
1013 - fowners root:vboxusers /opt/VirtualBox/${each}
1014 - fperms 0750 /opt/VirtualBox/${each}
1015 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
1016 - done
1017 - # VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
1018 - for each in VBoxNet{AdpCtl,DHCP,NAT} $(usex headless '' VirtualBoxVM) ; do
1019 - fowners root:vboxusers /opt/VirtualBox/${each}
1020 - fperms 4750 /opt/VirtualBox/${each}
1021 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
1022 - done
1023 -
1024 - if ! use headless ; then
1025 - # Hardened build: Mark selected binaries set-user-ID-on-execution
1026 - for each in VBox{SDL,Headless} ; do
1027 - fowners root:vboxusers /opt/VirtualBox/${each}
1028 - fperms 4510 /opt/VirtualBox/${each}
1029 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
1030 - done
1031 -
1032 - dosym ../VirtualBox/VBox.sh /opt/bin/VirtualBox
1033 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxSDL
1034 - else
1035 - # Hardened build: Mark selected binaries set-user-ID-on-execution
1036 - fowners root:vboxusers /opt/VirtualBox/VBoxHeadless
1037 - fperms 4510 /opt/VirtualBox/VBoxHeadless
1038 - pax-mark -m "${ED%/}"/opt/VirtualBox/VBoxHeadless
1039 - fi
1040 -
1041 - exeinto /opt/VirtualBox
1042 - newexe "${FILESDIR}/${PN}-3-wrapper" "VBox.sh"
1043 - fowners root:vboxusers /opt/VirtualBox/VBox.sh
1044 - fperms 0750 /opt/VirtualBox/VBox.sh
1045 -
1046 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxManage
1047 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxVRDP
1048 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxHeadless
1049 - dosym ../VirtualBox/VBoxTunctl /opt/bin/VBoxTunctl
1050 -
1051 - # set an env-variable for 3rd party tools
1052 - echo -n "VBOX_APP_HOME=/opt/VirtualBox" > "${T}/90virtualbox"
1053 - doenvd "${T}/90virtualbox"
1054 -
1055 - local udevdir="$(get_udevdir)"
1056 - insinto ${udevdir}/rules.d
1057 - doins "${FILESDIR}"/10-virtualbox.rules
1058 - sed "s@%UDEVDIR%@${udevdir}@" \
1059 - -i "${ED%/}"${udevdir}/rules.d/10-virtualbox.rules || die
1060 - # move udev scripts into ${udevdir} (bug #372491)
1061 - mv "${ED%/}"/opt/VirtualBox/VBoxCreateUSBNode.sh "${ED%/}"${udevdir} || die
1062 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
1063 -}
1064 -
1065 -pkg_postinst() {
1066 - xdg_icon_cache_update
1067 - xdg_desktop_database_update
1068 - xdg_mimeinfo_database_update
1069 -
1070 - udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
1071 -
1072 - elog ""
1073 - if ! use headless ; then
1074 - elog "To launch VirtualBox just type: \"VirtualBox\""
1075 - elog ""
1076 - fi
1077 - elog "You must be in the vboxusers group to use VirtualBox."
1078 - elog ""
1079 - elog "For advanced networking setups you should emerge:"
1080 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
1081 - elog ""
1082 - elog "Please visit http://www.virtualbox.org/wiki/Editions for"
1083 - elog "an overview about the different features of ${PN}"
1084 - elog "and virtualbox-ose"
1085 - if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
1086 - elog ""
1087 - elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
1088 - elog "or else USB in ${PN} won't work."
1089 - fi
1090 -}
1091 -
1092 -pkg_postrm() {
1093 - xdg_icon_cache_update
1094 - xdg_desktop_database_update
1095 - xdg_mimeinfo_database_update
1096 -}
1097
1098 diff --git a/app-emulation/virtualbox-extpack-oracle/Manifest b/app-emulation/virtualbox-extpack-oracle/Manifest
1099 index 0f769b14913..af1572ba11c 100644
1100 --- a/app-emulation/virtualbox-extpack-oracle/Manifest
1101 +++ b/app-emulation/virtualbox-extpack-oracle/Manifest
1102 @@ -1,8 +1,5 @@
1103 DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.32-132073.tar.gz 26917593 BLAKE2B e52c746299d32ae908892791d8fb9b4dda264875e66bf0459adfbc64381001e9be1800a8ac93bbea14dceb47a0e81cf79c29a4c0796f7c4a30021e4beb036cfa SHA512 382ed45a90981397da7d46925a73c5aa0cc870fe41992c87ccd3d3a33420b199e4a0a19761a6c6ebeacf93450e2937d81befb6fdaf7fb7961827e23f0f24c645
1104 -DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.34-133893.tar.gz 26985633 BLAKE2B 718bb568a8819250f90d57d57115f84e09da5c2e29539a8585c6916fd794bf2715ea9fc340dc349dbabeab8674230bab2b311686bfb5d343b0a7bdb23578effc SHA512 b932768bbf652f29a4e4ded8e65b944da63b76a02206da77dddf2bf8504cb165c67e215d270cdb4d9ff81adc4a24c146ad9793e074b0cf4e3a3fe77619017716
1105 DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.36-135684.tar.gz 26989444 BLAKE2B fae15190bb434918e1ee15582c261b0bf33fbffa0ada922708892cc63ef8ca007decc7611394b056207df4f3ceb9fef781ace6f05e357e4849ae619ccc810b84 SHA512 c2a8f905ddde2c75a852e0391cfef252d45c6582994be53de8198c5c6276fe1827610620ae7e515c7cd7358ae8c9ab49766a8d968ea371895e7553955fd9cdec
1106 -DIST Oracle_VM_VirtualBox_Extension_Pack-6.0.14-133895.tar.gz 23160651 BLAKE2B c140375bae78f4efe02744ac1b55c76e736eefe58e6adc9edf1fd232433cc572183590963789ab88490f56c6c95154a2755ef16f044b6948801d56ff63edea20 SHA512 fdeedfefeab884a546e7f477b28052c32ab2a2782a66b3afca1e56804552f54d310fbb5dcfd494e4bdb99e7fe1df5f9e4de5263a6db2dcaf9218002607f2967f
1107 DIST Oracle_VM_VirtualBox_Extension_Pack-6.0.16-135674.tar.gz 23164167 BLAKE2B 59885f2710e8169c28cc1f5e0e9edb3b761030aee1eeeb645bed1085e145a02fb2e518108cf4426620a369b17b6ce7ff4b5c442ef69b29b33257993603874d7c SHA512 de4732d1c3ef5589c3af388c71003a1a1b4b48c7c47f26ab8b5950ccd2b906c3785af2e310df27e8f9b83ecf572857c4178c8f7cb96d3a3bca103da4fbc036ea
1108 -DIST Oracle_VM_VirtualBox_Extension_Pack-6.1.0-135406.tar.gz 10923164 BLAKE2B 8f09f2b0d6c290dffcdb8d1ee86a31b8ffa37653d198a3478cc96d2f276e6a0a359da82052fd53815509e2f4981279db237dd0287cf8bb78d7f92b747660975d SHA512 dd01cbaacf4dc606e83dfe964289718852e5d11fbb9f744ac19a5f525dd6c149ce292fa124336cede876e65aa32b1365b7f1601f102808dea4fe9f1d445a4657
1109 DIST Oracle_VM_VirtualBox_Extension_Pack-6.1.2-135662.tar.gz 10925771 BLAKE2B dee75544489c467873c7cd46456be3ece0119d68947f05ac3f4163322b8023dfc9066377794d18b2662b34ff9adee11fa8afb70628e0b9014ee0b127ae0087c2 SHA512 0d86696179ccda05583fb0c876567751734904677e13bfdd8f922751dfe949bbd12753d31048fc5f32df75d89b6cb59a662c2d1f524582adab8eb90b10da1b23
1110 DIST Oracle_VM_VirtualBox_Extension_Pack-6.1.4-136177.tar.gz 10997977 BLAKE2B 066a0302b53a62ef27f5c0fafc499e8fd8f253807bc8808e88c32a4b71872c0cc8a57ffc6727f9e2bf7f6ba1b4e1d41c3001b8e9b3e490acfd4339bf8b02dfdd SHA512 373aa70182c4f86de14c40026f1d435832f2f377a8fe422fcbc3644b5e6a5f7abfc56df3f4b9acf1fa70cccb0bc483f12b6f70f6009a725ca0fa1b7e38dbfeab
1111
1112 diff --git a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.2.34.133893.ebuild b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.2.34.133893.ebuild
1113 deleted file mode 100644
1114 index 613a651a15e..00000000000
1115 --- a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.2.34.133893.ebuild
1116 +++ /dev/null
1117 @@ -1,42 +0,0 @@
1118 -# Copyright 1999-2019 Gentoo Authors
1119 -# Distributed under the terms of the GNU General Public License v2
1120 -
1121 -EAPI=7
1122 -
1123 -inherit multilib
1124 -
1125 -MAIN_PV="$(ver_cut 1-3)"
1126 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
1127 - MY_PV="${MAIN_PV}_$(ver_cut 5)"
1128 - DEP_PV="${MY_PV}"
1129 - MY_PV="${MY_PV/beta/BETA}"
1130 - MY_PV="${MY_PV/rc/RC}"
1131 -else
1132 - MY_PV="${MAIN_PV}"
1133 - DEP_PV="${MAIN_PV}"
1134 -fi
1135 -VBOX_BUILD_ID="$(ver_cut 4)"
1136 -MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
1137 -MY_P="${MY_PN}-${MY_PV}-${VBOX_BUILD_ID}"
1138 -
1139 -DESCRIPTION="PUEL extensions for VirtualBox"
1140 -HOMEPAGE="https://www.virtualbox.org/"
1141 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.vbox-extpack -> ${MY_P}.tar.gz"
1142 -
1143 -LICENSE="PUEL"
1144 -SLOT="0"
1145 -KEYWORDS="~amd64 ~x86"
1146 -IUSE=""
1147 -RESTRICT="bindist mirror strip"
1148 -
1149 -RDEPEND="~app-emulation/virtualbox-${DEP_PV}"
1150 -
1151 -S="${WORKDIR}"
1152 -
1153 -QA_PREBUILT="/usr/lib*/virtualbox/ExtensionPacks/${MY_PN}/.*"
1154 -
1155 -src_install() {
1156 - insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}
1157 - doins -r linux.${ARCH}
1158 - doins ExtPack* PXE-Intel.rom
1159 -}
1160
1161 diff --git a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-6.0.14.133895.ebuild b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-6.0.14.133895.ebuild
1162 deleted file mode 100644
1163 index 0252ea9c187..00000000000
1164 --- a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-6.0.14.133895.ebuild
1165 +++ /dev/null
1166 @@ -1,43 +0,0 @@
1167 -# Copyright 1999-2019 Gentoo Authors
1168 -# Distributed under the terms of the GNU General Public License v2
1169 -
1170 -EAPI=7
1171 -
1172 -inherit multilib
1173 -
1174 -MAIN_PV="$(ver_cut 1-3)"
1175 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
1176 - MY_PV="${MAIN_PV}_$(ver_cut 5-6)"
1177 - DEP_PV="${MY_PV}"
1178 - MY_PV="${MY_PV/beta/BETA}"
1179 - MY_PV="${MY_PV/rc/RC}"
1180 -else
1181 - MY_PV="${MAIN_PV}"
1182 - DEP_PV="${MAIN_PV}"
1183 -fi
1184 -VBOX_BUILD_ID="$(ver_cut 4)"
1185 -MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
1186 -MY_P="${MY_PN}-${MY_PV}-${VBOX_BUILD_ID}"
1187 -
1188 -DESCRIPTION="PUEL extensions for VirtualBox"
1189 -HOMEPAGE="https://www.virtualbox.org/"
1190 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.vbox-extpack -> ${MY_P}.tar.gz"
1191 -
1192 -LICENSE="PUEL"
1193 -SLOT="0"
1194 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
1195 -KEYWORDS="~amd64 ~x86"
1196 -IUSE=""
1197 -RESTRICT="bindist mirror strip"
1198 -
1199 -RDEPEND="~app-emulation/virtualbox-${DEP_PV}"
1200 -
1201 -S="${WORKDIR}"
1202 -
1203 -QA_PREBUILT="/usr/lib*/virtualbox/ExtensionPacks/${MY_PN}/.*"
1204 -
1205 -src_install() {
1206 - insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}
1207 - doins -r linux.${ARCH}
1208 - doins ExtPack* PXE-Intel.rom
1209 -}
1210
1211 diff --git a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-6.1.0.135406.ebuild b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-6.1.0.135406.ebuild
1212 deleted file mode 100644
1213 index cdd0821dff0..00000000000
1214 --- a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-6.1.0.135406.ebuild
1215 +++ /dev/null
1216 @@ -1,43 +0,0 @@
1217 -# Copyright 1999-2019 Gentoo Authors
1218 -# Distributed under the terms of the GNU General Public License v2
1219 -
1220 -EAPI=7
1221 -
1222 -inherit multilib
1223 -
1224 -MAIN_PV="$(ver_cut 1-3)"
1225 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
1226 - MY_PV="${MAIN_PV}_$(ver_cut 5-6)"
1227 - DEP_PV="${MY_PV}"
1228 - MY_PV="${MY_PV/beta/BETA}"
1229 - MY_PV="${MY_PV/rc/RC}"
1230 -else
1231 - MY_PV="${MAIN_PV}"
1232 - DEP_PV="${MAIN_PV}"
1233 -fi
1234 -VBOX_BUILD_ID="$(ver_cut 4)"
1235 -MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
1236 -MY_P="${MY_PN}-${MY_PV}-${VBOX_BUILD_ID}"
1237 -
1238 -DESCRIPTION="PUEL extensions for VirtualBox"
1239 -HOMEPAGE="https://www.virtualbox.org/"
1240 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.vbox-extpack -> ${MY_P}.tar.gz"
1241 -
1242 -LICENSE="PUEL"
1243 -SLOT="0"
1244 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
1245 -KEYWORDS="~amd64"
1246 -IUSE=""
1247 -RESTRICT="bindist mirror strip"
1248 -
1249 -RDEPEND="~app-emulation/virtualbox-${DEP_PV}"
1250 -
1251 -S="${WORKDIR}"
1252 -
1253 -QA_PREBUILT="/usr/lib*/virtualbox/ExtensionPacks/${MY_PN}/.*"
1254 -
1255 -src_install() {
1256 - insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}
1257 - doins -r linux.${ARCH}
1258 - doins ExtPack* PXE-Intel.rom
1259 -}
1260
1261 diff --git a/app-emulation/virtualbox-guest-additions/Manifest b/app-emulation/virtualbox-guest-additions/Manifest
1262 index c32be94fd30..106a593f423 100644
1263 --- a/app-emulation/virtualbox-guest-additions/Manifest
1264 +++ b/app-emulation/virtualbox-guest-additions/Manifest
1265 @@ -1,14 +1,9 @@
1266 DIST VirtualBox-5.2.32.tar.bz2 118262502 BLAKE2B f42de23ddbef1bb5472f6730b711452049331cf06c80420205844ea4a46ddb3352e0fd91564d94d018cb03921e7f894b30c79ddb684ad498d3f86dee88bf8994 SHA512 4e98d5df5e9e6445dde268d5eacea82e655ce9b96cd6579a9d470a08a0c066b7cd7e212b276e2671e936b4a73a53ecf9daa666cb3a8b9d7dc353c70c9283505e
1267 -DIST VirtualBox-5.2.34.tar.bz2 118268064 BLAKE2B 2ac0359e35012662e850e16e6ee74c4c00898a02eaa9a3dcf4299c444efaf56c17e02b33f165c37a22598ab3967169d32c03c383ca253aaaaa3d9d5bafc9b50f SHA512 a5f8771ddcdf2271006f2ce7de497cfb73cee46c51b0c761c9e79d03bbdf44441e3f1e4ce569967de5c33c469b7b664901c998ca9107acee7fe0ea83896bf0c2
1268 DIST VirtualBox-5.2.36.tar.bz2 118253892 BLAKE2B 6b54a8c4aa996bc595b163bce501b97d543d4335507723cf3f6f9fd723f1d9ed42bddc90a8d3028688c0ac4918bbd4a32ab94f81daa867b99d0f0ce9cc9a4c59 SHA512 3437ef3300a706c2b4a4cdabdb3b100786f727e2052659d74cde955a88363052bce48820aa92f2eea9029c08bd23a2473ff080a754dfe0671ab0a6392d887071
1269 -DIST VirtualBox-6.0.14.tar.bz2 154236138 BLAKE2B 18cd508269b2a809ec03b5bacc197131ebd775354e16b9141573ddd037de9ba180e3186347e77067a1767169d2ab1e9ff21590a2702b7705c87cf326204d3424 SHA512 e1a64c6633987e178b368dc17e738c6fbef4ab262c574188819f1186bf33f38d8c5accd6a566279a12ccd3544bab4ee5a1f8dce7c8c56d7373489c5ff7f8556d
1270 DIST VirtualBox-6.0.16.tar.bz2 154406073 BLAKE2B 8d0c9c1e6c675c5e2c7f01802072370fded7c5d7f7f581c6570b111c4aa4ac327fb74370ac36e4a4e31c6627640f8eb697a43b32fd2818f78e6b119f063d560f SHA512 ff9b726a5a865ed3fc5436e778da434ce532113898ed50434e2a561150410eabeee7194320eb115552542ecfd7c332f46f2d04fba782509dda8e66511e2a1a61
1271 -DIST VirtualBox-6.1.0.tar.bz2 165322453 BLAKE2B ecd15bf1f454dd975562ce27fec9c87d266fcb509952492bd98e77101318149efbcf46b1e025157d569cf511e66b7b8d83dd0cfe5ff288b67010796064dd7685 SHA512 3709d54861e75efc5b4998bda82ebb868790228f4e19f5e64221322efd8f17916872afa89cc2494faa445fed9ae01ef97af16e4ad111a0a04552f0fac5db3618
1272 DIST VirtualBox-6.1.2.tar.bz2 165400546 BLAKE2B 38eec6064896a250f4b7079f4bd52f23e43a6482d94bd8bba0a1102bd1cfaf00bd227f8dd2cc8382194c7d18509c6412440b8deb0d283e1e26550eb8a4cc96cc SHA512 476dedd9dd7a213bd70920f4cdf594b5336555f31e5becb15b5c01d88fa7bed917258831af31600514362384401fd7040cb748a7c76896e4a027bef05026b585
1273 DIST VirtualBox-6.1.4.tar.bz2 165450190 BLAKE2B acb99e64b095d414556d129ee96ef00d59900d8bb4f20f4fdfd4415d027eb0b1df9656b56940656c19074ea088dcca2e6e13372d38bcc30fb3a8372293a36117 SHA512 021592629614b9f8a57474b9a0cd110af7b63a3bc98b00806f4ce57b64f020fda313fdaef5cec546ad302f98093427818e176decbc026dffaa47faae574bf167
1274 DIST virtualbox-5.2.16-patches-02.tar.xz 3152 BLAKE2B c8d8f3872f544a465c7d1aa07291599307120ac9eabfb299ddd788a11f85ca6c2d84b8e7306ee4ad436270dad0dd39f101ee68a549eac15afd1e3cdc03f23c6c SHA512 85ee8c4045de562d71ab2d761695ea48b6726a6f0c4bcaa2562bb0d147542d3f1a1b5b47cf593a7f22dac1b86f87b59a56bef421dce3e1fa8e5260cd41998450
1275 -DIST virtualbox-5.2.34-patches-01.tar.xz 2960 BLAKE2B e62ab64939e9251a715b3b54b479bc51315acf561ce3d542a4b1358cefb2158353a046003cb0a62e78015f01b626719afb39590090662dd58bfc587bd63cb994 SHA512 25f402c0f96ac25c4d1afdf5d9fff60292caabd2af032a7e2f3e1f70e85bb24f03bbe3625b8bdb7618f77d2890e4c0b9fa7ade2eed590f6658361cca3db4a4b9
1276 DIST virtualbox-5.2.36-patches-01.tar.xz 3440 BLAKE2B 66749efba87d82ed4a11ff09444c68f86f82a360e9dbb44fa6072d6c28120f3c23cff8c15bacbd38bce8b69b3d8f35c4d3d493684df962ea6e353eec413dcc38 SHA512 3cf2526d209a54e94cd94840793769fd96fa988e21555d76eda2207a7f87e04b446a28ac6c8a2954e7c00a35107c144cadaec276d171214acdcc2900eb41306c
1277 -DIST virtualbox-6.0.0_beta2-patches-01.tar.xz 2732 BLAKE2B a138e715d99f135f16ca21c92781bf6cd8913f7f766bb598eddcd63e98280e568e646f56bbd0a3714f273457ca90db0b77ec7940ba25028506a22891f1af7b2d SHA512 954e4b40d6e272efe756ee0965adb4110d45f764433a89080fda7ebaebbc20031f86a3e0027dfdaa1c6a7d6379a1af557cea71512504e4b57b5f5adbfc86b56e
1278 DIST virtualbox-6.0.16-patches-01.tar.xz 3520 BLAKE2B 1ca10c5902ece4657c6a9a03fe28c80a364d999e181cc46fc52d7dac0f0272faca6d6b19cb12d126bb0f4f6014b8c391b2b0f82ca016625410287fcc0c240778 SHA512 33b14fa1ce5526be88d6d5b72b5c86c68c37f565074a764b9d7a65f5c0a39e3d81533f9923087add71783556c1e51e816b674ce46d2800eb678846f65226fb69
1279 DIST virtualbox-6.1.0_rc1-patches-01.tar.xz 2152 BLAKE2B 5ca1aa008d0a4bd2d8ff4e8b02e506f2bdd68d41b1ae6a733362925b12a82e4f26b4040817800342c69be8e1eec73477d1731e05eb677d09948ed59881be190c SHA512 31f5b77cc86e7fe83e08df956639f50b9936aeab32d98d8f8800c4fa762245a7e6784189409006f82f8ed4bbdadbad7249e2663063448f3f0b0e157acfba6c42
1280
1281 diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.34.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.34.ebuild
1282 deleted file mode 100644
1283 index fd6fa99b5dd..00000000000
1284 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.34.ebuild
1285 +++ /dev/null
1286 @@ -1,229 +0,0 @@
1287 -# Copyright 1999-2019 Gentoo Authors
1288 -# Distributed under the terms of the GNU General Public License v2
1289 -
1290 -EAPI=7
1291 -
1292 -inherit linux-mod systemd user toolchain-funcs
1293 -
1294 -MY_PV="${PV/beta/BETA}"
1295 -MY_PV="${MY_PV/rc/RC}"
1296 -MY_P="VirtualBox-${MY_PV}"
1297 -DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
1298 -HOMEPAGE="https://www.virtualbox.org/"
1299 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
1300 - https://dev.gentoo.org/~polynomial-c/virtualbox/patchsets/virtualbox-5.2.34-patches-01.tar.xz"
1301 -
1302 -LICENSE="GPL-2"
1303 -SLOT="0"
1304 -KEYWORDS="~amd64 ~x86"
1305 -IUSE="X"
1306 -
1307 -RDEPEND="
1308 - X? ( x11-apps/xrandr
1309 - x11-apps/xrefresh
1310 - x11-libs/libXmu
1311 - x11-libs/libX11
1312 - x11-libs/libXt
1313 - x11-libs/libXext
1314 - x11-libs/libXau
1315 - x11-libs/libXdmcp
1316 - x11-libs/libSM
1317 - x11-libs/libICE )
1318 - sys-apps/dbus
1319 -"
1320 -DEPEND="
1321 - ${RDEPEND}
1322 - >=dev-util/kbuild-0.1.9998.3127
1323 - >=dev-lang/yasm-0.6.2
1324 - sys-devel/bin86
1325 - sys-libs/pam
1326 - sys-power/iasl
1327 - x11-base/xorg-proto
1328 -"
1329 -PDEPEND="
1330 - X? ( x11-drivers/xf86-video-vboxvideo )
1331 -"
1332 -BUILD_TARGETS="all"
1333 -BUILD_TARGET_ARCH="${ARCH}"
1334 -
1335 -S="${WORKDIR}/${MY_P}"
1336 -
1337 -pkg_setup() {
1338 - export DISTCC_DISABLE=1 #674256
1339 - MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
1340 - vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)"
1341 - use X && MODULE_NAMES+=" vboxvideo(misc:${WORKDIR}/vboxvideo::${WORKDIR}/vboxvideo)"
1342 -
1343 - linux-mod_pkg_setup
1344 - BUILD_PARAMS="KERN_DIR=/lib/modules/${KV_FULL}/build KERNOUT=${KV_OUT_DIR}"
1345 -}
1346 -
1347 -src_unpack() {
1348 - unpack ${A}
1349 -
1350 - # Create and unpack a tarball with the sources of the Linux guest
1351 - # kernel modules, to include all the needed files
1352 - "${S}"/src/VBox/Additions/linux/export_modules.sh "${WORKDIR}/vbox-kmod.tar.gz"
1353 - unpack ./vbox-kmod.tar.gz
1354 -
1355 - # Remove shipped binaries (kBuild,yasm), see bug #232775
1356 - cd "${S}"
1357 - rm -rf kBuild/bin tools
1358 -}
1359 -
1360 -src_prepare() {
1361 - # PaX fixes (see bug #298988)
1362 - pushd "${WORKDIR}" &>/dev/null || die
1363 - eapply "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch
1364 - popd &>/dev/null || die
1365 -
1366 - # Disable things unused or splitted into separate ebuilds
1367 - cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die
1368 - use X || echo "VBOX_WITH_X11_ADDITIONS :=" >> LocalConfig.kmk
1369 -
1370 - # stupid new header references...
1371 - local vboxheader mdir
1372 - for vboxheader in {product,revision,version}-generated.h ; do
1373 - for mdir in vbox{guest,sf} ; do
1374 - ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
1375 - "${WORKDIR}/${mdir}/${vboxheader}"
1376 - done
1377 - done
1378 -
1379 - # Remove pointless GCC version check
1380 - sed -e '/^check_gcc$/d' -i configure || die
1381 -
1382 - rm "${WORKDIR}/patches/008_virtualbox-4.3.14-missing_define.patch" || die
1383 - eapply "${WORKDIR}/patches"
1384 -
1385 - eapply_user
1386 -}
1387 -
1388 -src_configure() {
1389 - # build the user-space tools, warnings are harmless
1390 - local cmd=(
1391 - ./configure
1392 - --nofatal
1393 - --disable-xpcom
1394 - --disable-sdl-ttf
1395 - --disable-pulse
1396 - --disable-alsa
1397 - --with-gcc="$(tc-getCC)"
1398 - --with-g++="$(tc-getCXX)"
1399 - --target-arch=${ARCH}
1400 - --with-linux="${KV_OUT_DIR}"
1401 - --build-headless
1402 - )
1403 - echo "${cmd[@]}"
1404 - "${cmd[@]}" || die "configure failed"
1405 - source ./env.sh
1406 - export VBOX_GCC_OPT="${CFLAGS} ${CPPFLAGS}"
1407 -}
1408 -
1409 -src_compile() {
1410 - MAKE="kmk" \
1411 - emake TOOL_YASM_AS=yasm \
1412 - VBOX_ONLY_ADDITIONS=1 \
1413 - KBUILD_VERBOSE=2
1414 -
1415 - # Now creating the kernel modules. We must do this _after_
1416 - # we compiled the user-space tools as we need two of the
1417 - # automatically generated header files. (>=3.2.0)
1418 - linux-mod_src_compile
1419 -}
1420 -
1421 -src_install() {
1422 - linux-mod_src_install
1423 -
1424 - cd "${S}"/out/linux.${ARCH}/release/bin/additions || die
1425 -
1426 - insinto /sbin
1427 - newins mount.vboxsf mount.vboxsf
1428 - fperms 4755 /sbin/mount.vboxsf
1429 -
1430 - newinitd "${FILESDIR}"/${PN}-8.initd ${PN}
1431 -
1432 - insinto /usr/sbin/
1433 - newins VBoxService vboxguest-service
1434 - fperms 0755 /usr/sbin/vboxguest-service
1435 -
1436 - insinto /usr/bin
1437 - doins VBoxControl
1438 - fperms 0755 /usr/bin/VBoxControl
1439 -
1440 - # VBoxClient user service and xrandr wrapper
1441 - if use X ; then
1442 - doins VBoxClient
1443 - fperms 0755 /usr/bin/VBoxClient
1444 -
1445 - pushd "${S}"/src/VBox/Additions/x11/Installer &>/dev/null \
1446 - || die
1447 - newins 98vboxadd-xclient VBoxClient-all
1448 - fperms 0755 /usr/bin/VBoxClient-all
1449 - popd &>/dev/null || die
1450 - fi
1451 -
1452 - # udev rule for vboxdrv
1453 - local udev_rules_dir="/lib/udev/rules.d"
1454 - dodir ${udev_rules_dir}
1455 - echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
1456 - >> "${ED}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
1457 - || die
1458 - echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
1459 - >> "${ED}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
1460 - || die
1461 -
1462 - # VBoxClient autostart file
1463 - insinto /etc/xdg/autostart
1464 - doins "${FILESDIR}"/vboxclient.desktop
1465 -
1466 - # sample xorg.conf
1467 - dodoc "${FILESDIR}"/xorg.conf.vbox
1468 - docompress -x "${ED}"/usr/share/doc/${PF}/xorg.conf.vbox
1469 -
1470 - systemd_dounit "${FILESDIR}/${PN}.service"
1471 -}
1472 -
1473 -pkg_preinst() {
1474 - enewgroup vboxguest
1475 - enewuser vboxguest -1 /bin/sh /dev/null vboxguest
1476 - # automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist
1477 - enewgroup vboxsf
1478 -}
1479 -
1480 -pkg_postinst() {
1481 - linux-mod_pkg_postinst
1482 - if ! use X ; then
1483 - elog "use flag X is off, enable it to install the"
1484 - elog "X Window System video driver."
1485 - fi
1486 - elog ""
1487 - elog "Please add users to the \"vboxguest\" group so they can"
1488 - elog "benefit from seamless mode, auto-resize and clipboard."
1489 - elog ""
1490 - elog "The vboxsf group has been added to make automount services work."
1491 - elog "These services are part of the shared folders support."
1492 - elog ""
1493 - elog "Please add:"
1494 - elog "/etc/init.d/${PN}"
1495 - elog "to the default runlevel in order to start"
1496 - elog "needed services."
1497 - elog "To use the VirtualBox X driver, use the following"
1498 - elog "file as your /etc/X11/xorg.conf:"
1499 - elog " /usr/share/doc/${PF}/xorg.conf.vbox"
1500 - elog ""
1501 - elog "Also make sure you use the Mesa library for OpenGL:"
1502 - elog " eselect opengl set xorg-x11"
1503 - elog ""
1504 - elog "An autostart .desktop file has been installed to start"
1505 - elog "VBoxClient in desktop sessions."
1506 - elog ""
1507 - elog "You can mount shared folders with:"
1508 - elog " mount -t vboxsf <shared_folder_name> <mount_point>"
1509 - elog ""
1510 - elog "Warning:"
1511 - elog "this ebuild is only needed if you are running gentoo"
1512 - elog "inside a VirtualBox Virtual Machine, you don't need"
1513 - elog "it to run VirtualBox itself."
1514 - elog ""
1515 -}
1516
1517 diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.0.14.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.0.14.ebuild
1518 deleted file mode 100644
1519 index 2e5fa67f810..00000000000
1520 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.0.14.ebuild
1521 +++ /dev/null
1522 @@ -1,219 +0,0 @@
1523 -# Copyright 1999-2019 Gentoo Authors
1524 -# Distributed under the terms of the GNU General Public License v2
1525 -
1526 -EAPI=7
1527 -
1528 -inherit linux-mod systemd user toolchain-funcs
1529 -
1530 -MY_PV="${PV/beta/BETA}"
1531 -MY_PV="${MY_PV/rc/RC}"
1532 -MY_P="VirtualBox-${MY_PV}"
1533 -DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
1534 -HOMEPAGE="https://www.virtualbox.org/"
1535 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
1536 - https://dev.gentoo.org/~polynomial-c/virtualbox/patchsets/virtualbox-6.0.0_beta2-patches-01.tar.xz"
1537 -
1538 -LICENSE="GPL-2"
1539 -SLOT="0"
1540 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
1541 -KEYWORDS="~amd64 ~x86"
1542 -IUSE="X"
1543 -
1544 -RDEPEND="
1545 - X? ( x11-apps/xrandr
1546 - x11-apps/xrefresh
1547 - x11-libs/libXmu
1548 - x11-libs/libX11
1549 - x11-libs/libXt
1550 - x11-libs/libXext
1551 - x11-libs/libXau
1552 - x11-libs/libXdmcp
1553 - x11-libs/libSM
1554 - x11-libs/libICE )
1555 - sys-apps/dbus
1556 -"
1557 -DEPEND="
1558 - ${RDEPEND}
1559 - >=dev-util/kbuild-0.1.9998.3127
1560 - >=dev-lang/yasm-0.6.2
1561 - sys-devel/bin86
1562 - sys-libs/pam
1563 - sys-power/iasl
1564 - x11-base/xorg-proto
1565 -"
1566 -PDEPEND="
1567 - X? ( x11-drivers/xf86-video-vboxvideo )
1568 -"
1569 -BUILD_TARGETS="all"
1570 -BUILD_TARGET_ARCH="${ARCH}"
1571 -
1572 -S="${WORKDIR}/${MY_P}"
1573 -VBOX_MOD_SRC_DIR="${S}/out/linux.${ARCH}/release/bin/additions/src"
1574 -
1575 -pkg_setup() {
1576 - export DISTCC_DISABLE=1 #674256
1577 - MODULE_NAMES="vboxguest(misc:${VBOX_MOD_SRC_DIR}/vboxguest:${VBOX_MOD_SRC_DIR}/vboxguest)
1578 - vboxsf(misc:${VBOX_MOD_SRC_DIR}/vboxsf:${VBOX_MOD_SRC_DIR}/vboxsf)"
1579 - use X && MODULE_NAMES+=" vboxvideo(misc:${VBOX_MOD_SRC_DIR}/vboxvideo::${VBOX_MOD_SRC_DIR}/vboxvideo)"
1580 -
1581 - linux-mod_pkg_setup
1582 - BUILD_PARAMS="KERN_DIR=/lib/modules/${KV_FULL}/build KERNOUT=${KV_OUT_DIR}"
1583 -}
1584 -
1585 -src_prepare() {
1586 - # Remove shipped binaries (kBuild,yasm), see bug #232775
1587 - rm -r kBuild/bin tools || die
1588 -
1589 - # Provide kernel sources
1590 - pushd src/VBox/Additions &>/dev/null || die
1591 - ebegin "Extracting guest kernel module sources"
1592 - kmk GuestDrivers-src vboxguest-src vboxsf-src vboxvideo-src &>/dev/null || die
1593 - eend
1594 - popd &>/dev/null || die
1595 -
1596 - # PaX fixes (see bug #298988)
1597 - pushd "${VBOX_MOD_SRC_DIR}" &>/dev/null || die
1598 - eapply "${FILESDIR}"/vboxguest-6.0.6-log-use-c99.patch
1599 - popd &>/dev/null || die
1600 -
1601 - # Disable things unused or splitted into separate ebuilds
1602 - cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die
1603 - use X || echo "VBOX_WITH_X11_ADDITIONS :=" >> LocalConfig.kmk
1604 -
1605 - # Remove pointless GCC version check
1606 - sed -e '/^check_gcc$/d' -i configure || die
1607 -
1608 - rm "${WORKDIR}/patches/010_virtualbox-5.2.12-qt511.patch" || die
1609 - eapply "${WORKDIR}/patches"
1610 -
1611 - eapply_user
1612 -}
1613 -
1614 -src_configure() {
1615 - # build the user-space tools, warnings are harmless
1616 - local cmd=(
1617 - ./configure
1618 - --nofatal
1619 - --disable-xpcom
1620 - --disable-sdl-ttf
1621 - --disable-pulse
1622 - --disable-alsa
1623 - --with-gcc="$(tc-getCC)"
1624 - --with-g++="$(tc-getCXX)"
1625 - --target-arch=${ARCH}
1626 - --with-linux="${KV_OUT_DIR}"
1627 - --build-headless
1628 - )
1629 - echo "${cmd[@]}"
1630 - "${cmd[@]}" || die "configure failed"
1631 - source ./env.sh
1632 - export VBOX_GCC_OPT="${CFLAGS} ${CPPFLAGS}"
1633 -}
1634 -
1635 -src_compile() {
1636 - MAKE="kmk" \
1637 - emake TOOL_YASM_AS=yasm \
1638 - VBOX_ONLY_ADDITIONS=1 \
1639 - KBUILD_VERBOSE=2
1640 -
1641 - # Now creating the kernel modules. We must do this _after_
1642 - # we compiled the user-space tools as we need two of the
1643 - # automatically generated header files. (>=3.2.0)
1644 - linux-mod_src_compile
1645 -}
1646 -
1647 -src_install() {
1648 - linux-mod_src_install
1649 -
1650 - cd "${S}"/out/linux.${ARCH}/release/bin/additions || die
1651 -
1652 - insinto /sbin
1653 - newins mount.vboxsf mount.vboxsf
1654 - fperms 4755 /sbin/mount.vboxsf
1655 -
1656 - newinitd "${FILESDIR}"/${PN}-8.initd ${PN}
1657 -
1658 - insinto /usr/sbin/
1659 - newins VBoxService vboxguest-service
1660 - fperms 0755 /usr/sbin/vboxguest-service
1661 -
1662 - insinto /usr/bin
1663 - doins VBoxControl
1664 - fperms 0755 /usr/bin/VBoxControl
1665 -
1666 - # VBoxClient user service and xrandr wrapper
1667 - if use X ; then
1668 - doins VBoxClient
1669 - fperms 0755 /usr/bin/VBoxClient
1670 -
1671 - pushd "${S}"/src/VBox/Additions/x11/Installer &>/dev/null \
1672 - || die
1673 - newins 98vboxadd-xclient VBoxClient-all
1674 - fperms 0755 /usr/bin/VBoxClient-all
1675 - popd &>/dev/null || die
1676 - fi
1677 -
1678 - # udev rule for vboxdrv
1679 - local udev_rules_dir="/lib/udev/rules.d"
1680 - dodir ${udev_rules_dir}
1681 - echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
1682 - >> "${ED}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
1683 - || die
1684 - echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
1685 - >> "${ED}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
1686 - || die
1687 -
1688 - # VBoxClient autostart file
1689 - insinto /etc/xdg/autostart
1690 - doins "${FILESDIR}"/vboxclient.desktop
1691 -
1692 - # sample xorg.conf
1693 - dodoc "${FILESDIR}"/xorg.conf.vbox
1694 - docompress -x "${ED}"/usr/share/doc/${PF}/xorg.conf.vbox
1695 -
1696 - systemd_dounit "${FILESDIR}/${PN}.service"
1697 -}
1698 -
1699 -pkg_preinst() {
1700 - enewgroup vboxguest
1701 - enewuser vboxguest -1 /bin/sh /dev/null vboxguest
1702 - # automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist
1703 - enewgroup vboxsf
1704 -}
1705 -
1706 -pkg_postinst() {
1707 - linux-mod_pkg_postinst
1708 - if ! use X ; then
1709 - elog "use flag X is off, enable it to install the"
1710 - elog "X Window System video driver."
1711 - fi
1712 - elog ""
1713 - elog "Please add users to the \"vboxguest\" group so they can"
1714 - elog "benefit from seamless mode, auto-resize and clipboard."
1715 - elog ""
1716 - elog "The vboxsf group has been added to make automount services work."
1717 - elog "These services are part of the shared folders support."
1718 - elog ""
1719 - elog "Please add:"
1720 - elog "/etc/init.d/${PN}"
1721 - elog "to the default runlevel in order to start"
1722 - elog "needed services."
1723 - elog "To use the VirtualBox X driver, use the following"
1724 - elog "file as your /etc/X11/xorg.conf:"
1725 - elog " /usr/share/doc/${PF}/xorg.conf.vbox"
1726 - elog ""
1727 - elog "Also make sure you use the Mesa library for OpenGL:"
1728 - elog " eselect opengl set xorg-x11"
1729 - elog ""
1730 - elog "An autostart .desktop file has been installed to start"
1731 - elog "VBoxClient in desktop sessions."
1732 - elog ""
1733 - elog "You can mount shared folders with:"
1734 - elog " mount -t vboxsf <shared_folder_name> <mount_point>"
1735 - elog ""
1736 - elog "Warning:"
1737 - elog "this ebuild is only needed if you are running gentoo"
1738 - elog "inside a VirtualBox Virtual Machine, you don't need"
1739 - elog "it to run VirtualBox itself."
1740 - elog ""
1741 -}
1742
1743 diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.1.0.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.1.0.ebuild
1744 deleted file mode 100644
1745 index 2e5fa67f810..00000000000
1746 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.1.0.ebuild
1747 +++ /dev/null
1748 @@ -1,219 +0,0 @@
1749 -# Copyright 1999-2019 Gentoo Authors
1750 -# Distributed under the terms of the GNU General Public License v2
1751 -
1752 -EAPI=7
1753 -
1754 -inherit linux-mod systemd user toolchain-funcs
1755 -
1756 -MY_PV="${PV/beta/BETA}"
1757 -MY_PV="${MY_PV/rc/RC}"
1758 -MY_P="VirtualBox-${MY_PV}"
1759 -DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
1760 -HOMEPAGE="https://www.virtualbox.org/"
1761 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
1762 - https://dev.gentoo.org/~polynomial-c/virtualbox/patchsets/virtualbox-6.0.0_beta2-patches-01.tar.xz"
1763 -
1764 -LICENSE="GPL-2"
1765 -SLOT="0"
1766 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
1767 -KEYWORDS="~amd64 ~x86"
1768 -IUSE="X"
1769 -
1770 -RDEPEND="
1771 - X? ( x11-apps/xrandr
1772 - x11-apps/xrefresh
1773 - x11-libs/libXmu
1774 - x11-libs/libX11
1775 - x11-libs/libXt
1776 - x11-libs/libXext
1777 - x11-libs/libXau
1778 - x11-libs/libXdmcp
1779 - x11-libs/libSM
1780 - x11-libs/libICE )
1781 - sys-apps/dbus
1782 -"
1783 -DEPEND="
1784 - ${RDEPEND}
1785 - >=dev-util/kbuild-0.1.9998.3127
1786 - >=dev-lang/yasm-0.6.2
1787 - sys-devel/bin86
1788 - sys-libs/pam
1789 - sys-power/iasl
1790 - x11-base/xorg-proto
1791 -"
1792 -PDEPEND="
1793 - X? ( x11-drivers/xf86-video-vboxvideo )
1794 -"
1795 -BUILD_TARGETS="all"
1796 -BUILD_TARGET_ARCH="${ARCH}"
1797 -
1798 -S="${WORKDIR}/${MY_P}"
1799 -VBOX_MOD_SRC_DIR="${S}/out/linux.${ARCH}/release/bin/additions/src"
1800 -
1801 -pkg_setup() {
1802 - export DISTCC_DISABLE=1 #674256
1803 - MODULE_NAMES="vboxguest(misc:${VBOX_MOD_SRC_DIR}/vboxguest:${VBOX_MOD_SRC_DIR}/vboxguest)
1804 - vboxsf(misc:${VBOX_MOD_SRC_DIR}/vboxsf:${VBOX_MOD_SRC_DIR}/vboxsf)"
1805 - use X && MODULE_NAMES+=" vboxvideo(misc:${VBOX_MOD_SRC_DIR}/vboxvideo::${VBOX_MOD_SRC_DIR}/vboxvideo)"
1806 -
1807 - linux-mod_pkg_setup
1808 - BUILD_PARAMS="KERN_DIR=/lib/modules/${KV_FULL}/build KERNOUT=${KV_OUT_DIR}"
1809 -}
1810 -
1811 -src_prepare() {
1812 - # Remove shipped binaries (kBuild,yasm), see bug #232775
1813 - rm -r kBuild/bin tools || die
1814 -
1815 - # Provide kernel sources
1816 - pushd src/VBox/Additions &>/dev/null || die
1817 - ebegin "Extracting guest kernel module sources"
1818 - kmk GuestDrivers-src vboxguest-src vboxsf-src vboxvideo-src &>/dev/null || die
1819 - eend
1820 - popd &>/dev/null || die
1821 -
1822 - # PaX fixes (see bug #298988)
1823 - pushd "${VBOX_MOD_SRC_DIR}" &>/dev/null || die
1824 - eapply "${FILESDIR}"/vboxguest-6.0.6-log-use-c99.patch
1825 - popd &>/dev/null || die
1826 -
1827 - # Disable things unused or splitted into separate ebuilds
1828 - cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die
1829 - use X || echo "VBOX_WITH_X11_ADDITIONS :=" >> LocalConfig.kmk
1830 -
1831 - # Remove pointless GCC version check
1832 - sed -e '/^check_gcc$/d' -i configure || die
1833 -
1834 - rm "${WORKDIR}/patches/010_virtualbox-5.2.12-qt511.patch" || die
1835 - eapply "${WORKDIR}/patches"
1836 -
1837 - eapply_user
1838 -}
1839 -
1840 -src_configure() {
1841 - # build the user-space tools, warnings are harmless
1842 - local cmd=(
1843 - ./configure
1844 - --nofatal
1845 - --disable-xpcom
1846 - --disable-sdl-ttf
1847 - --disable-pulse
1848 - --disable-alsa
1849 - --with-gcc="$(tc-getCC)"
1850 - --with-g++="$(tc-getCXX)"
1851 - --target-arch=${ARCH}
1852 - --with-linux="${KV_OUT_DIR}"
1853 - --build-headless
1854 - )
1855 - echo "${cmd[@]}"
1856 - "${cmd[@]}" || die "configure failed"
1857 - source ./env.sh
1858 - export VBOX_GCC_OPT="${CFLAGS} ${CPPFLAGS}"
1859 -}
1860 -
1861 -src_compile() {
1862 - MAKE="kmk" \
1863 - emake TOOL_YASM_AS=yasm \
1864 - VBOX_ONLY_ADDITIONS=1 \
1865 - KBUILD_VERBOSE=2
1866 -
1867 - # Now creating the kernel modules. We must do this _after_
1868 - # we compiled the user-space tools as we need two of the
1869 - # automatically generated header files. (>=3.2.0)
1870 - linux-mod_src_compile
1871 -}
1872 -
1873 -src_install() {
1874 - linux-mod_src_install
1875 -
1876 - cd "${S}"/out/linux.${ARCH}/release/bin/additions || die
1877 -
1878 - insinto /sbin
1879 - newins mount.vboxsf mount.vboxsf
1880 - fperms 4755 /sbin/mount.vboxsf
1881 -
1882 - newinitd "${FILESDIR}"/${PN}-8.initd ${PN}
1883 -
1884 - insinto /usr/sbin/
1885 - newins VBoxService vboxguest-service
1886 - fperms 0755 /usr/sbin/vboxguest-service
1887 -
1888 - insinto /usr/bin
1889 - doins VBoxControl
1890 - fperms 0755 /usr/bin/VBoxControl
1891 -
1892 - # VBoxClient user service and xrandr wrapper
1893 - if use X ; then
1894 - doins VBoxClient
1895 - fperms 0755 /usr/bin/VBoxClient
1896 -
1897 - pushd "${S}"/src/VBox/Additions/x11/Installer &>/dev/null \
1898 - || die
1899 - newins 98vboxadd-xclient VBoxClient-all
1900 - fperms 0755 /usr/bin/VBoxClient-all
1901 - popd &>/dev/null || die
1902 - fi
1903 -
1904 - # udev rule for vboxdrv
1905 - local udev_rules_dir="/lib/udev/rules.d"
1906 - dodir ${udev_rules_dir}
1907 - echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
1908 - >> "${ED}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
1909 - || die
1910 - echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
1911 - >> "${ED}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
1912 - || die
1913 -
1914 - # VBoxClient autostart file
1915 - insinto /etc/xdg/autostart
1916 - doins "${FILESDIR}"/vboxclient.desktop
1917 -
1918 - # sample xorg.conf
1919 - dodoc "${FILESDIR}"/xorg.conf.vbox
1920 - docompress -x "${ED}"/usr/share/doc/${PF}/xorg.conf.vbox
1921 -
1922 - systemd_dounit "${FILESDIR}/${PN}.service"
1923 -}
1924 -
1925 -pkg_preinst() {
1926 - enewgroup vboxguest
1927 - enewuser vboxguest -1 /bin/sh /dev/null vboxguest
1928 - # automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist
1929 - enewgroup vboxsf
1930 -}
1931 -
1932 -pkg_postinst() {
1933 - linux-mod_pkg_postinst
1934 - if ! use X ; then
1935 - elog "use flag X is off, enable it to install the"
1936 - elog "X Window System video driver."
1937 - fi
1938 - elog ""
1939 - elog "Please add users to the \"vboxguest\" group so they can"
1940 - elog "benefit from seamless mode, auto-resize and clipboard."
1941 - elog ""
1942 - elog "The vboxsf group has been added to make automount services work."
1943 - elog "These services are part of the shared folders support."
1944 - elog ""
1945 - elog "Please add:"
1946 - elog "/etc/init.d/${PN}"
1947 - elog "to the default runlevel in order to start"
1948 - elog "needed services."
1949 - elog "To use the VirtualBox X driver, use the following"
1950 - elog "file as your /etc/X11/xorg.conf:"
1951 - elog " /usr/share/doc/${PF}/xorg.conf.vbox"
1952 - elog ""
1953 - elog "Also make sure you use the Mesa library for OpenGL:"
1954 - elog " eselect opengl set xorg-x11"
1955 - elog ""
1956 - elog "An autostart .desktop file has been installed to start"
1957 - elog "VBoxClient in desktop sessions."
1958 - elog ""
1959 - elog "You can mount shared folders with:"
1960 - elog " mount -t vboxsf <shared_folder_name> <mount_point>"
1961 - elog ""
1962 - elog "Warning:"
1963 - elog "this ebuild is only needed if you are running gentoo"
1964 - elog "inside a VirtualBox Virtual Machine, you don't need"
1965 - elog "it to run VirtualBox itself."
1966 - elog ""
1967 -}
1968
1969 diff --git a/app-emulation/virtualbox-modules/Manifest b/app-emulation/virtualbox-modules/Manifest
1970 index 9c242c14842..81e0ee56ea3 100644
1971 --- a/app-emulation/virtualbox-modules/Manifest
1972 +++ b/app-emulation/virtualbox-modules/Manifest
1973 @@ -1,8 +1,5 @@
1974 DIST vbox-kernel-module-src-5.2.32.tar.xz 642428 BLAKE2B 0dda5cb5608c1eed22bea209564d53c5f7eab58ca620db2cc441e3c1ba9ad66609c4ef13df07fd29b691f2941a070f9852e8729cd386081df6a82ede345f33c5 SHA512 fadedab690cb7dee8b9a6747ed711d924bf3bce8999b24e7b64cb8738c53c2fa7372b1a8e8535e7e4ef0235aec02d4a3f1f67cd07d7621934fab684c5163329e
1975 -DIST vbox-kernel-module-src-5.2.34.tar.xz 642756 BLAKE2B 8a1dacc71b0c033130db84f46ab6029839e4c95cd20b6c982716fde9a83070f4597a9418ef2747c5b5714eafd5c1453c67eb1477104cd1185baf408301bc0226 SHA512 2feefa7867c664f1a1af04181e6db4cf2ab18e8a42dc57afe5fe13d35de889c2a88b79eb43642e024d99decfdd79c42891989158016edb09d5001783c4cb7ac3
1976 DIST vbox-kernel-module-src-5.2.36.tar.xz 643160 BLAKE2B 50f1aee4d56c8b78a5e7512cb843b4e36137c38b160ca0419b2061892f29a98edaa266afb8f94ee0952e4c8af57b41da24a7d70b43a5adf5c5a15b2a4ac867b9 SHA512 b8aa3e8de1573ac728dc00d85ffbb0c25cdb118af92f16f7a4c1a7d394526b8f3005aab1b4422af6251bdafb958c6dc86b31f13c1f35116c8ff39a9288aed277
1977 -DIST vbox-kernel-module-src-6.0.14.tar.xz 669396 BLAKE2B e2dc77f33176af16be0fcad8851dd42eb2b7b21da35dc434951e3300e45fec4b516741f6122ae43aed2ee332323221098f047b5206ca63eb7741925a40682728 SHA512 1bcc78dff3305bb7186cec2a844188411a62fe32d0581c4de21843ee513925d5dfc9bd4dedb3cc90f0e1c165c7ae6d856590cc359e36cc8605b164c2c9979380
1978 DIST vbox-kernel-module-src-6.0.16.tar.xz 669392 BLAKE2B 19e718097ee4da75c8dc3b565735f0a378d94547911ec89af52d8dccb36d67391a2f6700575c374552cd4fc4eb8a7e3d6618a800380e473429bd3759e0d1f9c0 SHA512 8979da4cba07c9095778864af0fd29c0acf10d71ea587819954a349e8c193a03b2268bf80dca9004803d8cf2a40974994fcd1f2c6e2ac657b5032f6c04977793
1979 -DIST vbox-kernel-module-src-6.1.0.tar.xz 664268 BLAKE2B 9007242bdfcc407283d183132867bef8cfcf75960e7032f1541be39e33c15de68ae1f49c0022422d776fe0397c1411c62866990efb55fe29f9dce27bf7b95b71 SHA512 a5b9f740589ca09b4115275e01d0da7d68535a927550a57007b75726c715422724593f4debc2a123fb8de43a27e49b372aba3832f17dda3ecfd8813d440a0cff
1980 DIST vbox-kernel-module-src-6.1.2.tar.xz 664844 BLAKE2B 4fbdbac98558309c4dd1a25e44f061e2c7386c418f40b0da364914d58cf69048d9c3b1693fb75ce590c63280e79a124433ce7ff4f8f08e327ab67c5d55a163cf SHA512 f26e38a35b0cbf3ca51d98299ea2018641a35c17df5b1bc8a50352738afaafcc95efc9e61efc7d7406e203f3e514125b8afd8ed4406c190f82fe83934a042158
1981 DIST vbox-kernel-module-src-6.1.4.tar.xz 664412 BLAKE2B b4cfe5b2792c8f5dc2bf6038f69e32d07aaead358b144e154806f404bcc0ffbb72d470db265b96f41ca714edc0588ce06748054b8358675c24848614253a7cfb SHA512 bb247a8d2450694937095bc9c263554f805c51676e2da726f124ce4f775c69bedab95286e8d00686e04c1d8fff67f6335aa29f51a0c0ec00b862ad4e56fe290c
1982
1983 diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.2.34.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.2.34.ebuild
1984 deleted file mode 100644
1985 index db660e59234..00000000000
1986 --- a/app-emulation/virtualbox-modules/virtualbox-modules-5.2.34.ebuild
1987 +++ /dev/null
1988 @@ -1,51 +0,0 @@
1989 -# Copyright 1999-2020 Gentoo Authors
1990 -# Distributed under the terms of the GNU General Public License v2
1991 -
1992 -# XXX: the tarball here is just the kernel modules split out of the binary
1993 -# package that comes from virtualbox-bin
1994 -
1995 -EAPI=7
1996 -
1997 -inherit linux-mod toolchain-funcs user
1998 -
1999 -MY_P="vbox-kernel-module-src-${PV}"
2000 -DESCRIPTION="Kernel Modules for Virtualbox"
2001 -HOMEPAGE="https://www.virtualbox.org/"
2002 -SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
2003 -
2004 -LICENSE="GPL-2"
2005 -SLOT="0"
2006 -KEYWORDS="~amd64 ~x86"
2007 -IUSE="pax_kernel"
2008 -
2009 -RDEPEND="!=app-emulation/virtualbox-9999"
2010 -
2011 -S="${WORKDIR}"
2012 -
2013 -BUILD_TARGETS="all"
2014 -BUILD_TARGET_ARCH="${ARCH}"
2015 -MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})"
2016 -
2017 -pkg_setup() {
2018 - enewgroup vboxusers
2019 - linux-mod_pkg_setup
2020 - BUILD_PARAMS="CC=$(tc-getBUILD_CC) KERN_DIR=${KV_DIR} KERN_VER=${KV_FULL} O=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1"
2021 -}
2022 -
2023 -src_prepare() {
2024 - if use pax_kernel && kernel_is -ge 3 0 0 ; then
2025 - eapply -p0 "${FILESDIR}"/${PN}-5.2.8-pax-const.patch
2026 - fi
2027 -
2028 - default
2029 -}
2030 -
2031 -src_install() {
2032 - linux-mod_src_install
2033 - insinto /usr/lib/modules-load.d/
2034 - doins "${FILESDIR}"/virtualbox.conf
2035 -}
2036 -
2037 -pkg_postinst() {
2038 - linux-mod_pkg_postinst
2039 -}
2040
2041 diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-6.0.14.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-6.0.14.ebuild
2042 deleted file mode 100644
2043 index fc87286d6f9..00000000000
2044 --- a/app-emulation/virtualbox-modules/virtualbox-modules-6.0.14.ebuild
2045 +++ /dev/null
2046 @@ -1,56 +0,0 @@
2047 -# Copyright 1999-2020 Gentoo Authors
2048 -# Distributed under the terms of the GNU General Public License v2
2049 -
2050 -# XXX: the tarball here is just the kernel modules split out of the binary
2051 -# package that comes from virtualbox-bin
2052 -
2053 -EAPI=7
2054 -
2055 -inherit linux-mod toolchain-funcs user
2056 -
2057 -MY_P="vbox-kernel-module-src-${PV}"
2058 -DESCRIPTION="Kernel Modules for Virtualbox"
2059 -HOMEPAGE="https://www.virtualbox.org/"
2060 -SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
2061 -
2062 -LICENSE="GPL-2"
2063 -SLOT="0"
2064 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
2065 -KEYWORDS="~amd64 ~x86"
2066 -IUSE="pax_kernel"
2067 -
2068 -RDEPEND="!=app-emulation/virtualbox-9999"
2069 -
2070 -S="${WORKDIR}"
2071 -
2072 -BUILD_TARGETS="all"
2073 -BUILD_TARGET_ARCH="${ARCH}"
2074 -MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})"
2075 -
2076 -PATCHES=(
2077 - "${FILESDIR}/${P}-kernel-5.4_rc6.patch"
2078 -)
2079 -
2080 -pkg_setup() {
2081 - enewgroup vboxusers
2082 - linux-mod_pkg_setup
2083 - BUILD_PARAMS="CC=$(tc-getBUILD_CC) KERN_DIR=${KV_DIR} KERN_VER=${KV_FULL} O=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1"
2084 -}
2085 -
2086 -src_prepare() {
2087 - if use pax_kernel && kernel_is -ge 3 0 0 ; then
2088 - eapply -p0 "${FILESDIR}"/${PN}-5.2.8-pax-const.patch
2089 - fi
2090 -
2091 - default
2092 -}
2093 -
2094 -src_install() {
2095 - linux-mod_src_install
2096 - insinto /usr/lib/modules-load.d/
2097 - doins "${FILESDIR}"/virtualbox.conf
2098 -}
2099 -
2100 -pkg_postinst() {
2101 - linux-mod_pkg_postinst
2102 -}
2103
2104 diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-6.1.0.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-6.1.0.ebuild
2105 deleted file mode 100644
2106 index d725a300fd1..00000000000
2107 --- a/app-emulation/virtualbox-modules/virtualbox-modules-6.1.0.ebuild
2108 +++ /dev/null
2109 @@ -1,54 +0,0 @@
2110 -# Copyright 1999-2020 Gentoo Authors
2111 -# Distributed under the terms of the GNU General Public License v2
2112 -
2113 -# XXX: the tarball here is just the kernel modules split out of the binary
2114 -# package that comes from virtualbox-bin
2115 -
2116 -EAPI=7
2117 -
2118 -inherit linux-mod toolchain-funcs user
2119 -
2120 -MY_P="vbox-kernel-module-src-${PV}"
2121 -DESCRIPTION="Kernel Modules for Virtualbox"
2122 -HOMEPAGE="https://www.virtualbox.org/"
2123 -SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
2124 -
2125 -LICENSE="GPL-2"
2126 -SLOT="0"
2127 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
2128 -KEYWORDS="~amd64"
2129 -IUSE="pax_kernel"
2130 -
2131 -RDEPEND="!=app-emulation/virtualbox-9999"
2132 -
2133 -S="${WORKDIR}"
2134 -
2135 -BUILD_TARGETS="all"
2136 -BUILD_TARGET_ARCH="${ARCH}"
2137 -MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S})"
2138 -
2139 -pkg_setup() {
2140 - enewgroup vboxusers
2141 - linux-mod_pkg_setup
2142 - BUILD_PARAMS="CC=$(tc-getBUILD_CC) KERN_DIR=${KV_DIR} KERN_VER=${KV_FULL} O=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1"
2143 -}
2144 -
2145 -src_prepare() {
2146 - if use pax_kernel && kernel_is -ge 3 0 0 ; then
2147 - eapply -p0 "${FILESDIR}"/${PN}-5.2.8-pax-const.patch
2148 - fi
2149 -
2150 - default
2151 -}
2152 -
2153 -src_install() {
2154 - linux-mod_src_install
2155 - insinto /usr/lib/modules-load.d/
2156 - newins "${FILESDIR}"/virtualbox.conf-r1 virtualbox.conf
2157 -}
2158 -
2159 -pkg_postinst() {
2160 - # Remove vboxpci.ko from current running kernel
2161 - find /lib/modules/${KV_FULL}/misc -type f -name "vboxpci.ko" -delete || die
2162 - linux-mod_pkg_postinst
2163 -}
2164
2165 diff --git a/app-emulation/virtualbox/Manifest b/app-emulation/virtualbox/Manifest
2166 index b30f3201191..106a593f423 100644
2167 --- a/app-emulation/virtualbox/Manifest
2168 +++ b/app-emulation/virtualbox/Manifest
2169 @@ -1,14 +1,9 @@
2170 DIST VirtualBox-5.2.32.tar.bz2 118262502 BLAKE2B f42de23ddbef1bb5472f6730b711452049331cf06c80420205844ea4a46ddb3352e0fd91564d94d018cb03921e7f894b30c79ddb684ad498d3f86dee88bf8994 SHA512 4e98d5df5e9e6445dde268d5eacea82e655ce9b96cd6579a9d470a08a0c066b7cd7e212b276e2671e936b4a73a53ecf9daa666cb3a8b9d7dc353c70c9283505e
2171 -DIST VirtualBox-5.2.34.tar.bz2 118268064 BLAKE2B 2ac0359e35012662e850e16e6ee74c4c00898a02eaa9a3dcf4299c444efaf56c17e02b33f165c37a22598ab3967169d32c03c383ca253aaaaa3d9d5bafc9b50f SHA512 a5f8771ddcdf2271006f2ce7de497cfb73cee46c51b0c761c9e79d03bbdf44441e3f1e4ce569967de5c33c469b7b664901c998ca9107acee7fe0ea83896bf0c2
2172 DIST VirtualBox-5.2.36.tar.bz2 118253892 BLAKE2B 6b54a8c4aa996bc595b163bce501b97d543d4335507723cf3f6f9fd723f1d9ed42bddc90a8d3028688c0ac4918bbd4a32ab94f81daa867b99d0f0ce9cc9a4c59 SHA512 3437ef3300a706c2b4a4cdabdb3b100786f727e2052659d74cde955a88363052bce48820aa92f2eea9029c08bd23a2473ff080a754dfe0671ab0a6392d887071
2173 -DIST VirtualBox-6.0.14.tar.bz2 154236138 BLAKE2B 18cd508269b2a809ec03b5bacc197131ebd775354e16b9141573ddd037de9ba180e3186347e77067a1767169d2ab1e9ff21590a2702b7705c87cf326204d3424 SHA512 e1a64c6633987e178b368dc17e738c6fbef4ab262c574188819f1186bf33f38d8c5accd6a566279a12ccd3544bab4ee5a1f8dce7c8c56d7373489c5ff7f8556d
2174 DIST VirtualBox-6.0.16.tar.bz2 154406073 BLAKE2B 8d0c9c1e6c675c5e2c7f01802072370fded7c5d7f7f581c6570b111c4aa4ac327fb74370ac36e4a4e31c6627640f8eb697a43b32fd2818f78e6b119f063d560f SHA512 ff9b726a5a865ed3fc5436e778da434ce532113898ed50434e2a561150410eabeee7194320eb115552542ecfd7c332f46f2d04fba782509dda8e66511e2a1a61
2175 -DIST VirtualBox-6.1.0.tar.bz2 165322453 BLAKE2B ecd15bf1f454dd975562ce27fec9c87d266fcb509952492bd98e77101318149efbcf46b1e025157d569cf511e66b7b8d83dd0cfe5ff288b67010796064dd7685 SHA512 3709d54861e75efc5b4998bda82ebb868790228f4e19f5e64221322efd8f17916872afa89cc2494faa445fed9ae01ef97af16e4ad111a0a04552f0fac5db3618
2176 DIST VirtualBox-6.1.2.tar.bz2 165400546 BLAKE2B 38eec6064896a250f4b7079f4bd52f23e43a6482d94bd8bba0a1102bd1cfaf00bd227f8dd2cc8382194c7d18509c6412440b8deb0d283e1e26550eb8a4cc96cc SHA512 476dedd9dd7a213bd70920f4cdf594b5336555f31e5becb15b5c01d88fa7bed917258831af31600514362384401fd7040cb748a7c76896e4a027bef05026b585
2177 DIST VirtualBox-6.1.4.tar.bz2 165450190 BLAKE2B acb99e64b095d414556d129ee96ef00d59900d8bb4f20f4fdfd4415d027eb0b1df9656b56940656c19074ea088dcca2e6e13372d38bcc30fb3a8372293a36117 SHA512 021592629614b9f8a57474b9a0cd110af7b63a3bc98b00806f4ce57b64f020fda313fdaef5cec546ad302f98093427818e176decbc026dffaa47faae574bf167
2178 DIST virtualbox-5.2.16-patches-02.tar.xz 3152 BLAKE2B c8d8f3872f544a465c7d1aa07291599307120ac9eabfb299ddd788a11f85ca6c2d84b8e7306ee4ad436270dad0dd39f101ee68a549eac15afd1e3cdc03f23c6c SHA512 85ee8c4045de562d71ab2d761695ea48b6726a6f0c4bcaa2562bb0d147542d3f1a1b5b47cf593a7f22dac1b86f87b59a56bef421dce3e1fa8e5260cd41998450
2179 -DIST virtualbox-5.2.34-patches-01.tar.xz 2960 BLAKE2B e62ab64939e9251a715b3b54b479bc51315acf561ce3d542a4b1358cefb2158353a046003cb0a62e78015f01b626719afb39590090662dd58bfc587bd63cb994 SHA512 25f402c0f96ac25c4d1afdf5d9fff60292caabd2af032a7e2f3e1f70e85bb24f03bbe3625b8bdb7618f77d2890e4c0b9fa7ade2eed590f6658361cca3db4a4b9
2180 DIST virtualbox-5.2.36-patches-01.tar.xz 3440 BLAKE2B 66749efba87d82ed4a11ff09444c68f86f82a360e9dbb44fa6072d6c28120f3c23cff8c15bacbd38bce8b69b3d8f35c4d3d493684df962ea6e353eec413dcc38 SHA512 3cf2526d209a54e94cd94840793769fd96fa988e21555d76eda2207a7f87e04b446a28ac6c8a2954e7c00a35107c144cadaec276d171214acdcc2900eb41306c
2181 -DIST virtualbox-6.0.14-patches-01.tar.xz 2972 BLAKE2B 80f6c6774323add039675e4b372c824610ac312d01ff7de6ae546764e61e8b5cca7f96a6ed71c90337911dd4fa4ad7425072f453454358969d46f5acf2dff80a SHA512 38941fc8f09419f8a2ee251580c5b3cd5e4993db536b33f43ff1454d053e856ba4d0d96cee87f0399e5c63e6bbb930ab7c04ccedb13cef83db512cabb0592ee5
2182 DIST virtualbox-6.0.16-patches-01.tar.xz 3520 BLAKE2B 1ca10c5902ece4657c6a9a03fe28c80a364d999e181cc46fc52d7dac0f0272faca6d6b19cb12d126bb0f4f6014b8c391b2b0f82ca016625410287fcc0c240778 SHA512 33b14fa1ce5526be88d6d5b72b5c86c68c37f565074a764b9d7a65f5c0a39e3d81533f9923087add71783556c1e51e816b674ce46d2800eb678846f65226fb69
2183 DIST virtualbox-6.1.0_rc1-patches-01.tar.xz 2152 BLAKE2B 5ca1aa008d0a4bd2d8ff4e8b02e506f2bdd68d41b1ae6a733362925b12a82e4f26b4040817800342c69be8e1eec73477d1731e05eb677d09948ed59881be190c SHA512 31f5b77cc86e7fe83e08df956639f50b9936aeab32d98d8f8800c4fa762245a7e6784189409006f82f8ed4bbdadbad7249e2663063448f3f0b0e157acfba6c42
2184
2185 diff --git a/app-emulation/virtualbox/virtualbox-5.2.34.ebuild b/app-emulation/virtualbox/virtualbox-5.2.34.ebuild
2186 deleted file mode 100644
2187 index 99e428abb93..00000000000
2188 --- a/app-emulation/virtualbox/virtualbox-5.2.34.ebuild
2189 +++ /dev/null
2190 @@ -1,496 +0,0 @@
2191 -# Copyright 1999-2019 Gentoo Authors
2192 -# Distributed under the terms of the GNU General Public License v2
2193 -
2194 -EAPI=6
2195 -
2196 -PYTHON_COMPAT=( python2_7 )
2197 -inherit flag-o-matic gnome2-utils java-pkg-opt-2 linux-info pax-utils python-single-r1 tmpfiles toolchain-funcs udev xdg-utils
2198 -
2199 -MY_PV="${PV/beta/BETA}"
2200 -MY_PV="${MY_PV/rc/RC}"
2201 -MY_P=VirtualBox-${MY_PV}
2202 -
2203 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
2204 -HOMEPAGE="https://www.virtualbox.org/"
2205 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
2206 - https://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-5.2.34-patches-01.tar.xz"
2207 -
2208 -LICENSE="GPL-2 dtrace? ( CDDL )"
2209 -SLOT="0"
2210 -KEYWORDS="~amd64 ~x86"
2211 -IUSE="alsa debug doc dtrace headless java libressl lvm pam pax_kernel pulseaudio +opengl python +qt5 +sdk +udev vboxwebsrv vnc"
2212 -
2213 -RDEPEND="!app-emulation/virtualbox-bin
2214 - ~app-emulation/virtualbox-modules-${PV}
2215 - dev-libs/libIDL
2216 - >=dev-libs/libxslt-1.1.19
2217 - net-misc/curl
2218 - dev-libs/libxml2
2219 - media-libs/libpng:0=
2220 - media-libs/libvpx:0=
2221 - media-libs/opus
2222 - sys-libs/zlib:=
2223 - !headless? (
2224 - media-libs/libsdl:0[X,video]
2225 - x11-libs/libX11
2226 - x11-libs/libxcb:=
2227 - x11-libs/libXcursor
2228 - x11-libs/libXext
2229 - x11-libs/libXmu
2230 - x11-libs/libXt
2231 - opengl? ( virtual/opengl media-libs/freeglut )
2232 - qt5? (
2233 - dev-qt/qtcore:5
2234 - dev-qt/qtgui:5
2235 - dev-qt/qtprintsupport:5
2236 - dev-qt/qtwidgets:5
2237 - dev-qt/qtx11extras:5
2238 - opengl? ( dev-qt/qtopengl:5 )
2239 - x11-libs/libXinerama
2240 - )
2241 - )
2242 - libressl? ( dev-libs/libressl:= )
2243 - !libressl? ( dev-libs/openssl:0= )
2244 - lvm? ( sys-fs/lvm2 )
2245 - udev? ( >=virtual/udev-171 )
2246 - vnc? ( >=net-libs/libvncserver-0.9.9 )
2247 - ${PYTHON_DEPS}"
2248 -DEPEND="${RDEPEND}
2249 - >=dev-util/kbuild-0.1.9998.3127
2250 - >=dev-lang/yasm-0.6.2
2251 - sys-devel/bin86
2252 - sys-libs/libcap
2253 - sys-power/iasl
2254 - virtual/pkgconfig
2255 - alsa? ( >=media-libs/alsa-lib-1.0.13 )
2256 - doc? (
2257 - app-text/docbook-sgml-dtd:4.4
2258 - dev-texlive/texlive-basic
2259 - dev-texlive/texlive-latex
2260 - dev-texlive/texlive-latexrecommended
2261 - dev-texlive/texlive-latexextra
2262 - dev-texlive/texlive-fontsrecommended
2263 - dev-texlive/texlive-fontsextra
2264 - )
2265 - !headless? ( x11-libs/libXinerama )
2266 - java? ( >=virtual/jdk-1.6 )
2267 - pam? ( sys-libs/pam )
2268 - pax_kernel? ( sys-apps/elfix )
2269 - pulseaudio? ( media-sound/pulseaudio )
2270 - qt5? ( dev-qt/linguist-tools:5 )
2271 - vboxwebsrv? ( net-libs/gsoap[-gnutls(-)] )
2272 - ${PYTHON_DEPS}"
2273 -RDEPEND="${RDEPEND}
2274 - java? ( >=virtual/jre-1.6 )"
2275 -
2276 -QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
2277 - usr/lib/virtualbox/VBoxSDL.so
2278 - usr/lib/virtualbox/VBoxSharedFolders.so
2279 - usr/lib/virtualbox/VBoxDD2.so
2280 - usr/lib/virtualbox/VBoxOGLrenderspu.so
2281 - usr/lib/virtualbox/VBoxPython.so
2282 - usr/lib/virtualbox/VBoxDD.so
2283 - usr/lib/virtualbox/VBoxDDU.so
2284 - usr/lib/virtualbox/VBoxREM64.so
2285 - usr/lib/virtualbox/VBoxSharedClipboard.so
2286 - usr/lib/virtualbox/VBoxHeadless.so
2287 - usr/lib/virtualbox/VBoxRT.so
2288 - usr/lib/virtualbox/VBoxREM.so
2289 - usr/lib/virtualbox/VBoxSettings.so
2290 - usr/lib/virtualbox/VBoxKeyboard.so
2291 - usr/lib/virtualbox/VBoxSharedCrOpenGL.so
2292 - usr/lib/virtualbox/VBoxVMM.so
2293 - usr/lib/virtualbox/VirtualBox.so
2294 - usr/lib/virtualbox/VBoxOGLhosterrorspu.so
2295 - usr/lib/virtualbox/components/VBoxC.so
2296 - usr/lib/virtualbox/components/VBoxSVCM.so
2297 - usr/lib/virtualbox/components/VBoxDDU.so
2298 - usr/lib/virtualbox/components/VBoxRT.so
2299 - usr/lib/virtualbox/components/VBoxREM.so
2300 - usr/lib/virtualbox/components/VBoxVMM.so
2301 - usr/lib/virtualbox/VBoxREM32.so
2302 - usr/lib/virtualbox/VBoxPython2_7.so
2303 - usr/lib/virtualbox/VBoxXPCOMC.so
2304 - usr/lib/virtualbox/VBoxOGLhostcrutil.so
2305 - usr/lib/virtualbox/VBoxNetDHCP.so
2306 - usr/lib/virtualbox/VBoxNetNAT.so"
2307 -
2308 -S="${WORKDIR}/${MY_P}"
2309 -
2310 -REQUIRED_USE="
2311 - java? ( sdk )
2312 - python? ( sdk )
2313 - vboxwebsrv? ( java )
2314 - ${PYTHON_REQUIRED_USE}
2315 -"
2316 -
2317 -pkg_pretend() {
2318 - if ! use headless && ! use qt5 ; then
2319 - einfo "No USE=\"qt5\" selected, this build will not include any Qt frontend."
2320 - elif use headless && use qt5 ; then
2321 - einfo "You selected USE=\"headless qt5\", defaulting to"
2322 - einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
2323 - fi
2324 -
2325 - if ! use opengl ; then
2326 - einfo "No USE=\"opengl\" selected, this build will lack"
2327 - einfo "the OpenGL feature."
2328 - fi
2329 - if ! use python ; then
2330 - einfo "You have disabled the \"python\" USE flag. This will only"
2331 - einfo "disable the python bindings being installed."
2332 - fi
2333 -}
2334 -
2335 -pkg_setup() {
2336 - java-pkg-opt-2_pkg_setup
2337 - python-single-r1_pkg_setup
2338 -
2339 - tc-ld-disable-gold #bug 488176
2340 - tc-export CC CXX LD AR RANLIB
2341 - export HOST_CC="$(tc-getBUILD_CC)"
2342 -}
2343 -
2344 -src_prepare() {
2345 - # Remove shipped binaries (kBuild,yasm), see bug #232775
2346 - rm -r kBuild/bin tools || die
2347 -
2348 - # Replace pointless GCC version check with something less stupid.
2349 - # This is needed for the qt5 version check.
2350 - sed -e 's@^check_gcc$@cc_maj="$(gcc -dumpversion | cut -d. -f1)" ; cc_min="$(gcc -dumpversion | cut -d. -f2)"@' \
2351 - -i configure || die
2352 -
2353 - # Disable things unused or split into separate ebuilds
2354 - sed -e "s@MY_LIBDIR@$(get_libdir)@" \
2355 - "${FILESDIR}"/${PN}-5-localconfig > LocalConfig.kmk || die
2356 -
2357 - # Respect LDFLAGS
2358 - sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
2359 - -i Config.kmk src/libs/xpcom18a4/Config.kmk || die
2360 -
2361 - # Do not use hard-coded ld (related to bug #488176)
2362 - sed -e '/QUIET)ld /s@ld @$(LD) @' \
2363 - -i src/VBox/Devices/PC/ipxe/Makefile.kmk || die
2364 -
2365 - # Use PAM only when pam USE flag is enbaled (bug #376531)
2366 - if ! use pam ; then
2367 - elog "Disabling PAM removes the possibility to use the VRDP features."
2368 - sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die
2369 - sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \
2370 - src/VBox/HostServices/Makefile.kmk || die
2371 - fi
2372 -
2373 - # add correct java path
2374 - if use java ; then
2375 - sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \
2376 - -i "${S}"/Config.kmk || die
2377 - java-pkg-opt-2_src_prepare
2378 - fi
2379 -
2380 - # Only add nopie patch when we're on hardened
2381 - if gcc-specs-pie ; then
2382 - eapply "${FILESDIR}/050_virtualbox-5.2.8-nopie.patch"
2383 - fi
2384 -
2385 - # Only add paxmark patch when we're on pax_kernel
2386 - if use pax_kernel ; then
2387 - eapply "${FILESDIR}"/virtualbox-5.2.8-paxmark-bldprogs.patch
2388 - fi
2389 -
2390 - rm "${WORKDIR}/patches/008_virtualbox-4.3.14-missing_define.patch" || die
2391 - eapply "${WORKDIR}/patches"
2392 -
2393 - eapply_user
2394 -}
2395 -
2396 -doecho() {
2397 - echo "$@"
2398 - "$@" || die
2399 -}
2400 -
2401 -src_configure() {
2402 - local myconf=(
2403 - --with-gcc="$(tc-getCC)"
2404 - --with-g++="$(tc-getCXX)"
2405 - --disable-dbus
2406 - --disable-kmods
2407 - $(usex alsa '' --disable-alsa)
2408 - $(usex debug --build-debug '')
2409 - $(usex doc '' --disable-docs)
2410 - $(usex java '' --disable-java)
2411 - $(usex lvm '' --disable-devmapper)
2412 - $(usex pulseaudio '' --disable-pulse)
2413 - $(usex python '' --disable-python)
2414 - $(usex vboxwebsrv --enable-webservice '')
2415 - $(usex vnc --enable-vnc '')
2416 - )
2417 - if ! use headless ; then
2418 - myconf+=(
2419 - $(usex opengl '' --disable-opengl)
2420 - $(usex qt5 '' --disable-qt)
2421 - )
2422 - else
2423 - myconf+=(
2424 - --build-headless
2425 - --disable-opengl
2426 - )
2427 - fi
2428 - if use amd64 && ! has_multilib_profile ; then
2429 - myconf+=( --disable-vmmraw )
2430 - fi
2431 - # not an autoconf script
2432 - doecho ./configure ${myconf[@]}
2433 -}
2434 -
2435 -src_compile() {
2436 - source ./env.sh || die
2437 -
2438 - # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
2439 - MAKEJOBS=$(grep -Eo '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
2440 - MAKELOAD=$(grep -Eo '(\-l|\-\-load-average)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
2441 - MAKEOPTS="${MAKEJOBS} ${MAKELOAD}"
2442 - MAKE="kmk" emake \
2443 - VBOX_BUILD_PUBLISHER=_Gentoo \
2444 - TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
2445 - TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
2446 - TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
2447 - TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
2448 - VBOX_GCC_OPT="${CXXFLAGS}" \
2449 - TOOL_YASM_AS=yasm KBUILD_VERBOSE=2 \
2450 - all
2451 -}
2452 -
2453 -src_install() {
2454 - local binpath="release"
2455 - use debug && binpath="debug"
2456 - cd "${S}"/out/linux.${ARCH}/${binpath}/bin || die
2457 -
2458 - local vbox_inst_path="/usr/$(get_libdir)/${PN}" each fwfile size ico icofile
2459 -
2460 - vbox_inst() {
2461 - local binary="${1}"
2462 - local perms="${2:-0750}"
2463 - local path="${3:-${vbox_inst_path}}"
2464 -
2465 - [[ -n "${binary}" ]] || die "vbox_inst: No binray given!"
2466 - [[ ${perms} =~ ^[[:digit:]]+{4}$ ]] || die "vbox_inst: perms must consist of four digits."
2467 -
2468 - insinto ${path}
2469 - doins ${binary}
2470 - fowners root:vboxusers ${path}/${binary}
2471 - fperms ${perms} ${path}/${binary}
2472 - }
2473 -
2474 - # Create configuration files
2475 - insinto /etc/vbox
2476 - newins "${FILESDIR}/${PN}-4-config" vbox.cfg
2477 -
2478 - # Set the correct libdir
2479 - sed \
2480 - -e "s@MY_LIBDIR@$(get_libdir)@" \
2481 - -i "${ED%/}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
2482 -
2483 - # Install the wrapper script
2484 - exeinto ${vbox_inst_path}
2485 - newexe "${FILESDIR}/${PN}-ose-5-wrapper" "VBox"
2486 - fowners root:vboxusers ${vbox_inst_path}/VBox
2487 - fperms 0750 ${vbox_inst_path}/VBox
2488 -
2489 - # Install binaries and libraries
2490 - insinto ${vbox_inst_path}
2491 - doins -r components
2492 -
2493 - # *.rc files for x86_64 are only available on multilib systems
2494 - local rcfiles="*.rc"
2495 - if use amd64 && ! has_multilib_profile ; then
2496 - rcfiles=""
2497 - fi
2498 - for each in VBox{ExtPackHelperApp,Manage,SVC,Tunctl,XPCOMIPCD} *so *r0 ${rcfiles} ; do
2499 - vbox_inst ${each}
2500 - done
2501 -
2502 - # These binaries need to be suid root.
2503 - for each in VBox{Headless,Net{AdpCtl,DHCP,NAT}} ; do
2504 - vbox_inst ${each} 4750
2505 - done
2506 -
2507 - # Install EFI Firmware files (bug #320757)
2508 - pushd "${S}"/src/VBox/Devices/EFI/FirmwareBin &>/dev/null || die
2509 - for fwfile in VBoxEFI{32,64}.fd ; do
2510 - vbox_inst ${fwfile} 0644
2511 - done
2512 - popd &>/dev/null || die
2513 -
2514 - # VBoxSVC and VBoxManage need to be pax-marked (bug #403453)
2515 - # VBoxXPCOMIPCD (bug #524202)
2516 - for each in VBox{Headless,Manage,SVC,XPCOMIPCD} ; do
2517 - pax-mark -m "${ED%/}"${vbox_inst_path}/${each}
2518 - done
2519 -
2520 - # Symlink binaries to the shipped wrapper
2521 - for each in vbox{headless,manage} VBox{Headless,Manage,VRDP} ; do
2522 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
2523 - done
2524 - dosym ${vbox_inst_path}/VBoxTunctl /usr/bin/VBoxTunctl
2525 -
2526 - if use pam ; then
2527 - # VRDPAuth only works with this (bug #351949)
2528 - dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so
2529 - fi
2530 -
2531 - # set an env-variable for 3rd party tools
2532 - echo -n "VBOX_APP_HOME=${vbox_inst_path}" > "${T}/90virtualbox"
2533 - doenvd "${T}/90virtualbox"
2534 -
2535 - if ! use headless ; then
2536 - vbox_inst VBoxSDL 4750
2537 - pax-mark -m "${ED%/}"${vbox_inst_path}/VBoxSDL
2538 -
2539 - for each in vboxsdl VBoxSDL ; do
2540 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
2541 - done
2542 -
2543 - if use qt5 ; then
2544 - vbox_inst VirtualBox 4750
2545 - pax-mark -m "${ED%/}"${vbox_inst_path}/VirtualBox
2546 -
2547 - if use opengl ; then
2548 - vbox_inst VBoxTestOGL
2549 - pax-mark -m "${ED%/}"${vbox_inst_path}/VBoxTestOGL
2550 - fi
2551 -
2552 - for each in virtualbox VirtualBox ; do
2553 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
2554 - done
2555 -
2556 - insinto /usr/share/${PN}
2557 - doins -r nls
2558 - doins -r UnattendedTemplates
2559 -
2560 - newmenu "${FILESDIR}"/${PN}-ose.desktop-2 ${PN}.desktop
2561 - fi
2562 -
2563 - pushd "${S}"/src/VBox/Artwork/OSE &>/dev/null || die
2564 - for size in 16 32 48 64 128 ; do
2565 - newicon -s ${size} ${PN}-${size}px.png ${PN}.png
2566 - done
2567 - newicon ${PN}-48px.png ${PN}.png
2568 - doicon -s scalable ${PN}.svg
2569 - popd &>/dev/null || die
2570 - pushd "${S}"/src/VBox/Artwork/other &>/dev/null || die
2571 - for size in 16 24 32 48 64 72 96 128 256 512 ; do
2572 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
2573 - icofile="${PN}-${ico}-${size}px.png"
2574 - if [[ -f "${icofile}" ]] ; then
2575 - newicon -s ${size} ${icofile} ${PN}-${ico}.png
2576 - fi
2577 - done
2578 - done
2579 - popd &>/dev/null || die
2580 - fi
2581 -
2582 - if use lvm ; then
2583 - vbox_inst VBoxVolInfo 4750
2584 - dosym ${vbox_inst_path}/VBoxVolInfo /usr/bin/VBoxVolInfo
2585 - fi
2586 -
2587 - if use sdk ; then
2588 - insinto ${vbox_inst_path}
2589 - doins -r sdk
2590 -
2591 - if use java ; then
2592 - java-pkg_regjar "${ED%/}/${vbox_inst_path}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
2593 - java-pkg_regso "${ED%/}/${vbox_inst_path}/libvboxjxpcom.so"
2594 - fi
2595 - fi
2596 -
2597 - if use udev ; then
2598 - # New way of handling USB device nodes for VBox (bug #356215)
2599 - local udevdir="$(get_udevdir)"
2600 - insinto ${udevdir}
2601 - doins VBoxCreateUSBNode.sh
2602 - fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
2603 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
2604 - insinto ${udevdir}/rules.d
2605 - sed "s@%UDEVDIR%@${udevdir}@" "${FILESDIR}"/10-virtualbox.rules \
2606 - > "${T}"/10-virtualbox.rules || die
2607 - doins "${T}"/10-virtualbox.rules
2608 - fi
2609 -
2610 - if use vboxwebsrv ; then
2611 - vbox_inst vboxwebsrv
2612 - dosym ${vbox_inst_path}/VBox /usr/bin/vboxwebsrv
2613 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
2614 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
2615 - fi
2616 -
2617 - # Fix version string in extensions or else they don't get accepted
2618 - # by the virtualbox host process (see bug #438930)
2619 - find ExtensionPacks -type f -name "ExtPack.xml" -print0 \
2620 - | xargs --no-run-if-empty --null sed -i '/Version/s@_Gentoo@@' \
2621 - || die
2622 -
2623 - if use vnc ; then
2624 - insinto ${vbox_inst_path}/ExtensionPacks
2625 - doins -r ExtensionPacks/VNC
2626 - fi
2627 -
2628 - if use dtrace ; then
2629 - insinto ${vbox_inst_path}/ExtensionPacks
2630 - doins -r ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack
2631 - fi
2632 -
2633 - if use doc ; then
2634 - dodoc UserManual.pdf
2635 - fi
2636 -
2637 - newtmpfiles "${FILESDIR}"/${PN}-vboxusb_tmpfilesd ${PN}-vboxusb.conf
2638 -}
2639 -
2640 -pkg_postinst() {
2641 - gnome2_icon_cache_update
2642 - xdg_desktop_database_update
2643 -
2644 - if use udev ; then
2645 - udevadm control --reload-rules \
2646 - && udevadm trigger --subsystem-match=usb
2647 - fi
2648 -
2649 - tmpfiles_process /usr/lib/tmpfiles.d/virtualbox-vboxusb.conf
2650 -
2651 - if ! use headless && use qt5 ; then
2652 - elog "To launch VirtualBox just type: \"virtualbox\"."
2653 - fi
2654 - elog "You must be in the vboxusers group to use VirtualBox."
2655 - elog ""
2656 - elog "The latest user manual is available for download at:"
2657 - elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
2658 - elog ""
2659 - elog "For advanced networking setups you should emerge:"
2660 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
2661 - elog ""
2662 - elog "Starting with version 4.0.0, ${PN} has USB-1 support."
2663 - elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
2664 - elog " app-emulation/virtualbox-extpack-oracle"
2665 - elog "package."
2666 - elog "Starting with version 5.0.0, ${PN} no longer has the \"additions\" and"
2667 - elog "the \"extension\" USE flag. For installation of the guest additions ISO"
2668 - elog "image, please emerge"
2669 - elog " app-emulation/virtualbox-additions"
2670 - elog "and for the USB2, USB3, VRDP and PXE boot ROM modules, please emerge"
2671 - elog " app-emulation/virtualbox-extpack-oracle"
2672 - if ! use udev ; then
2673 - elog ""
2674 - elog "WARNING!"
2675 - elog "Without USE=udev, USB devices will likely not work in ${PN}."
2676 - elif [ -e "${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
2677 - elog ""
2678 - elog "Please remove \"${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules\""
2679 - elog "or else USB in ${PN} won't work."
2680 - fi
2681 -}
2682 -
2683 -pkg_postrm() {
2684 - gnome2_icon_cache_update
2685 - xdg_desktop_database_update
2686 -}
2687
2688 diff --git a/app-emulation/virtualbox/virtualbox-6.0.14.ebuild b/app-emulation/virtualbox/virtualbox-6.0.14.ebuild
2689 deleted file mode 100644
2690 index 0f494bcecb2..00000000000
2691 --- a/app-emulation/virtualbox/virtualbox-6.0.14.ebuild
2692 +++ /dev/null
2693 @@ -1,510 +0,0 @@
2694 -# Copyright 1999-2020 Gentoo Authors
2695 -# Distributed under the terms of the GNU General Public License v2
2696 -
2697 -EAPI=7
2698 -
2699 -PYTHON_COMPAT=( python{2_7,3_{6,7}} )
2700 -inherit desktop flag-o-matic java-pkg-opt-2 linux-info pax-utils python-single-r1 tmpfiles toolchain-funcs udev xdg
2701 -
2702 -MY_PV="${PV/beta/BETA}"
2703 -MY_PV="${MY_PV/rc/RC}"
2704 -MY_P=VirtualBox-${MY_PV}
2705 -
2706 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
2707 -HOMEPAGE="https://www.virtualbox.org/"
2708 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
2709 - https://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-6.0.14-patches-01.tar.xz"
2710 -
2711 -LICENSE="GPL-2 dtrace? ( CDDL )"
2712 -SLOT="0"
2713 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
2714 -KEYWORDS="~amd64 ~x86"
2715 -IUSE="alsa debug doc dtrace headless java libressl lvm +opus pam pax_kernel pulseaudio +opengl python +qt5 +sdk +udev vboxwebsrv vnc"
2716 -
2717 -CDEPEND="
2718 - ${PYTHON_DEPS}
2719 - !app-emulation/virtualbox-bin
2720 - ~app-emulation/virtualbox-modules-${PV}
2721 - dev-libs/libIDL
2722 - >=dev-libs/libxslt-1.1.19
2723 - net-misc/curl
2724 - dev-libs/libxml2
2725 - media-libs/libpng:0=
2726 - media-libs/libvpx:0=
2727 - sys-libs/zlib:=
2728 - !headless? (
2729 - media-libs/libsdl:0[X,video]
2730 - x11-libs/libX11
2731 - x11-libs/libxcb:=
2732 - x11-libs/libXcursor
2733 - x11-libs/libXext
2734 - x11-libs/libXmu
2735 - x11-libs/libXt
2736 - opengl? ( virtual/opengl media-libs/freeglut )
2737 - qt5? (
2738 - dev-qt/qtcore:5
2739 - dev-qt/qtgui:5
2740 - dev-qt/qtprintsupport:5
2741 - dev-qt/qtwidgets:5
2742 - dev-qt/qtx11extras:5
2743 - opengl? ( dev-qt/qtopengl:5 )
2744 - x11-libs/libXinerama
2745 - )
2746 - )
2747 - libressl? ( dev-libs/libressl:= )
2748 - !libressl? ( dev-libs/openssl:0= )
2749 - lvm? ( sys-fs/lvm2 )
2750 - opus? ( media-libs/opus )
2751 - udev? ( >=virtual/udev-171 )
2752 - vnc? ( >=net-libs/libvncserver-0.9.9 )
2753 -"
2754 -DEPEND="
2755 - ${CDEPEND}
2756 - alsa? ( >=media-libs/alsa-lib-1.0.13 )
2757 - !headless? ( x11-libs/libXinerama )
2758 - pam? ( sys-libs/pam )
2759 - pax_kernel? ( sys-apps/elfix )
2760 - pulseaudio? ( media-sound/pulseaudio )
2761 - qt5? ( dev-qt/linguist-tools:5 )
2762 - vboxwebsrv? ( net-libs/gsoap[-gnutls(-)] )
2763 -"
2764 -BDEPEND="
2765 - ${PYTHON_DEPS}
2766 - >=dev-util/kbuild-0.1.9998.3127
2767 - >=dev-lang/yasm-0.6.2
2768 - sys-devel/bin86
2769 - sys-libs/libcap
2770 - sys-power/iasl
2771 - virtual/pkgconfig
2772 - doc? (
2773 - app-text/docbook-sgml-dtd:4.4
2774 - dev-texlive/texlive-basic
2775 - dev-texlive/texlive-latex
2776 - dev-texlive/texlive-latexrecommended
2777 - dev-texlive/texlive-latexextra
2778 - dev-texlive/texlive-fontsrecommended
2779 - dev-texlive/texlive-fontsextra
2780 - )
2781 - java? ( >=virtual/jdk-1.6 )
2782 -"
2783 -RDEPEND="
2784 - ${CDEPEND}
2785 - java? ( >=virtual/jre-1.6 )
2786 -"
2787 -
2788 -QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
2789 - usr/lib/virtualbox/VBoxSDL.so
2790 - usr/lib/virtualbox/VBoxSharedFolders.so
2791 - usr/lib/virtualbox/VBoxDD2.so
2792 - usr/lib/virtualbox/VBoxOGLrenderspu.so
2793 - usr/lib/virtualbox/VBoxPython.so
2794 - usr/lib/virtualbox/VBoxDD.so
2795 - usr/lib/virtualbox/VBoxDDU.so
2796 - usr/lib/virtualbox/VBoxREM64.so
2797 - usr/lib/virtualbox/VBoxSharedClipboard.so
2798 - usr/lib/virtualbox/VBoxHeadless.so
2799 - usr/lib/virtualbox/VBoxRT.so
2800 - usr/lib/virtualbox/VBoxREM.so
2801 - usr/lib/virtualbox/VBoxSettings.so
2802 - usr/lib/virtualbox/VBoxKeyboard.so
2803 - usr/lib/virtualbox/VBoxSharedCrOpenGL.so
2804 - usr/lib/virtualbox/VBoxVMM.so
2805 - usr/lib/virtualbox/VirtualBox.so
2806 - usr/lib/virtualbox/VBoxOGLhosterrorspu.so
2807 - usr/lib/virtualbox/components/VBoxC.so
2808 - usr/lib/virtualbox/components/VBoxSVCM.so
2809 - usr/lib/virtualbox/components/VBoxDDU.so
2810 - usr/lib/virtualbox/components/VBoxRT.so
2811 - usr/lib/virtualbox/components/VBoxREM.so
2812 - usr/lib/virtualbox/components/VBoxVMM.so
2813 - usr/lib/virtualbox/VBoxREM32.so
2814 - usr/lib/virtualbox/VBoxPython2_7.so
2815 - usr/lib/virtualbox/VBoxXPCOMC.so
2816 - usr/lib/virtualbox/VBoxOGLhostcrutil.so
2817 - usr/lib/virtualbox/VBoxNetDHCP.so
2818 - usr/lib/virtualbox/VBoxNetNAT.so"
2819 -
2820 -S="${WORKDIR}/${MY_P}"
2821 -
2822 -REQUIRED_USE="
2823 - java? ( sdk )
2824 - python? ( sdk )
2825 - vboxwebsrv? ( java )
2826 - ${PYTHON_REQUIRED_USE}
2827 -"
2828 -
2829 -pkg_pretend() {
2830 - if ! use headless && ! use qt5 ; then
2831 - einfo "No USE=\"qt5\" selected, this build will not include any Qt frontend."
2832 - elif use headless && use qt5 ; then
2833 - einfo "You selected USE=\"headless qt5\", defaulting to"
2834 - einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
2835 - fi
2836 -
2837 - if ! use opengl ; then
2838 - einfo "No USE=\"opengl\" selected, this build will lack"
2839 - einfo "the OpenGL feature."
2840 - fi
2841 - if ! use python ; then
2842 - einfo "You have disabled the \"python\" USE flag. This will only"
2843 - einfo "disable the python bindings being installed."
2844 - fi
2845 -}
2846 -
2847 -pkg_setup() {
2848 - java-pkg-opt-2_pkg_setup
2849 - python-single-r1_pkg_setup
2850 -
2851 - tc-ld-disable-gold #bug 488176
2852 - tc-export CC CXX LD AR RANLIB
2853 - export HOST_CC="$(tc-getBUILD_CC)"
2854 -}
2855 -
2856 -src_prepare() {
2857 - # Remove shipped binaries (kBuild,yasm), see bug #232775
2858 - rm -r kBuild/bin tools || die
2859 -
2860 - # Replace pointless GCC version check with something less stupid.
2861 - # This is needed for the qt5 version check.
2862 - sed -e 's@^check_gcc$@cc_maj="$(gcc -dumpversion | cut -d. -f1)" ; cc_min="$(gcc -dumpversion | cut -d. -f2)"@' \
2863 - -i configure || die
2864 -
2865 - # Disable things unused or split into separate ebuilds
2866 - sed -e "s@MY_LIBDIR@$(get_libdir)@" \
2867 - "${FILESDIR}"/${PN}-5-localconfig > LocalConfig.kmk || die
2868 -
2869 - # Respect LDFLAGS
2870 - sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
2871 - -i Config.kmk src/libs/xpcom18a4/Config.kmk || die
2872 -
2873 - # Do not use hard-coded ld (related to bug #488176)
2874 - sed -e '/QUIET)ld /s@ld @$(LD) @' \
2875 - -i src/VBox/Devices/PC/ipxe/Makefile.kmk || die
2876 -
2877 - # Use PAM only when pam USE flag is enbaled (bug #376531)
2878 - if ! use pam ; then
2879 - elog "Disabling PAM removes the possibility to use the VRDP features."
2880 - sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die
2881 - sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \
2882 - src/VBox/HostServices/Makefile.kmk || die
2883 - fi
2884 -
2885 - # add correct java path
2886 - if use java ; then
2887 - sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \
2888 - -i "${S}"/Config.kmk || die
2889 - java-pkg-opt-2_src_prepare
2890 - fi
2891 -
2892 - # Only add nopie patch when we're on hardened
2893 - if gcc-specs-pie ; then
2894 - eapply "${FILESDIR}/050_virtualbox-5.2.8-nopie.patch"
2895 - fi
2896 -
2897 - # Only add paxmark patch when we're on pax_kernel
2898 - if use pax_kernel ; then
2899 - eapply "${FILESDIR}"/virtualbox-5.2.8-paxmark-bldprogs.patch
2900 - fi
2901 -
2902 - rm "${WORKDIR}/patches/010_virtualbox-5.2.12-qt511.patch" || die
2903 - eapply "${WORKDIR}/patches"
2904 -
2905 - eapply_user
2906 -}
2907 -
2908 -doecho() {
2909 - echo "$@"
2910 - "$@" || die
2911 -}
2912 -
2913 -src_configure() {
2914 - local myconf=(
2915 - --with-gcc="$(tc-getCC)"
2916 - --with-g++="$(tc-getCXX)"
2917 - --disable-dbus
2918 - --disable-kmods
2919 - $(usex alsa '' --disable-alsa)
2920 - $(usex debug --build-debug '')
2921 - $(usex doc '' --disable-docs)
2922 - $(usex java '' --disable-java)
2923 - $(usex lvm '' --disable-devmapper)
2924 - $(usex opus '' --disable-libopus)
2925 - $(usex pulseaudio '' --disable-pulse)
2926 - $(usex python '' --disable-python)
2927 - $(usex vboxwebsrv --enable-webservice '')
2928 - $(usex vnc --enable-vnc '')
2929 - )
2930 - if ! use headless ; then
2931 - myconf+=(
2932 - $(usex opengl '' --disable-opengl)
2933 - $(usex qt5 '' --disable-qt)
2934 - )
2935 - else
2936 - myconf+=(
2937 - --build-headless
2938 - --disable-opengl
2939 - )
2940 - fi
2941 - if use amd64 && ! has_multilib_profile ; then
2942 - myconf+=( --disable-vmmraw )
2943 - fi
2944 - # not an autoconf script
2945 - doecho ./configure ${myconf[@]}
2946 -}
2947 -
2948 -src_compile() {
2949 - source ./env.sh || die
2950 -
2951 - # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
2952 - MAKEJOBS=$(grep -Eo '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
2953 - MAKELOAD=$(grep -Eo '(\-l|\-\-load-average)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
2954 - MAKEOPTS="${MAKEJOBS} ${MAKELOAD}"
2955 - MAKE="kmk" emake \
2956 - VBOX_BUILD_PUBLISHER=_Gentoo \
2957 - TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
2958 - TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
2959 - TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
2960 - TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
2961 - VBOX_GCC_OPT="${CXXFLAGS}" \
2962 - TOOL_YASM_AS=yasm KBUILD_VERBOSE=2 \
2963 - all
2964 -}
2965 -
2966 -src_install() {
2967 - cd "${S}"/out/linux.${ARCH}/$(usex debug debug release)/bin || die
2968 -
2969 - local vbox_inst_path="/usr/$(get_libdir)/${PN}" each size ico icofile
2970 -
2971 - vbox_inst() {
2972 - local binary="${1}"
2973 - local perms="${2:-0750}"
2974 - local path="${3:-${vbox_inst_path}}"
2975 -
2976 - [[ -n "${binary}" ]] || die "vbox_inst: No binary given!"
2977 - [[ ${perms} =~ ^[[:digit:]]+{4}$ ]] || die "vbox_inst: perms must consist of four digits."
2978 -
2979 - insinto ${path}
2980 - doins ${binary}
2981 - fowners root:vboxusers ${path}/${binary}
2982 - fperms ${perms} ${path}/${binary}
2983 - }
2984 -
2985 - # Create configuration files
2986 - insinto /etc/vbox
2987 - newins "${FILESDIR}/${PN}-4-config" vbox.cfg
2988 -
2989 - # Set the correct libdir
2990 - sed \
2991 - -e "s@MY_LIBDIR@$(get_libdir)@" \
2992 - -i "${ED}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
2993 -
2994 - # Install the wrapper script
2995 - exeinto ${vbox_inst_path}
2996 - newexe "${FILESDIR}/${PN}-ose-6-wrapper" "VBox"
2997 - fowners root:vboxusers ${vbox_inst_path}/VBox
2998 - fperms 0750 ${vbox_inst_path}/VBox
2999 -
3000 - # Install binaries and libraries
3001 - insinto ${vbox_inst_path}
3002 - doins -r components
3003 -
3004 - # *.rc files for x86_64 are only available on multilib systems
3005 - local rcfiles="*.rc"
3006 - if use amd64 && ! has_multilib_profile ; then
3007 - rcfiles=""
3008 - fi
3009 - for each in VBox{Autostart,BalloonCtrl,BugReport,CpuReport,ExtPackHelperApp,Manage,SVC,Tunctl,VMMPreload,XPCOMIPCD} *so *r0 ${rcfiles} iPxeBaseBin ; do
3010 - vbox_inst ${each}
3011 - done
3012 -
3013 - # These binaries need to be suid root.
3014 - for each in VBox{Headless,Net{AdpCtl,DHCP,NAT}} ; do
3015 - vbox_inst ${each} 4750
3016 - done
3017 -
3018 - # Install EFI Firmware files (bug #320757)
3019 - for each in VBoxEFI{32,64}.fd ; do
3020 - vbox_inst ${each} 0644
3021 - done
3022 -
3023 - # VBoxSVC and VBoxManage need to be pax-marked (bug #403453)
3024 - # VBoxXPCOMIPCD (bug #524202)
3025 - for each in VBox{Headless,Manage,SVC,XPCOMIPCD} ; do
3026 - pax-mark -m "${ED}"${vbox_inst_path}/${each}
3027 - done
3028 -
3029 - # Symlink binaries to the shipped wrapper
3030 - for each in vbox{autostart,balloonctrl,bugreport,headless,manage} VBox{Autostart,BalloonCtrl,BugReport,Headless,Manage,VRDP} ; do
3031 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
3032 - done
3033 - dosym ${vbox_inst_path}/VBoxTunctl /usr/bin/VBoxTunctl
3034 -
3035 - if use pam ; then
3036 - # VRDPAuth only works with this (bug #351949)
3037 - dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so
3038 - fi
3039 -
3040 - # set an env-variable for 3rd party tools
3041 - echo -n "VBOX_APP_HOME=${vbox_inst_path}" > "${T}/90virtualbox"
3042 - doenvd "${T}/90virtualbox"
3043 -
3044 - if ! use headless ; then
3045 - vbox_inst rdesktop-vrdp
3046 - vbox_inst VBoxSDL 4750
3047 - pax-mark -m "${ED}"${vbox_inst_path}/VBoxSDL
3048 -
3049 - for each in vboxsdl VBoxSDL ; do
3050 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
3051 - done
3052 -
3053 - if use qt5 ; then
3054 - vbox_inst VirtualBox
3055 - vbox_inst VirtualBoxVM 4750
3056 - for each in VirtualBox{,VM} ; do
3057 - pax-mark -m "${ED}"${vbox_inst_path}/${each}
3058 - done
3059 -
3060 - if use opengl ; then
3061 - vbox_inst VBoxTestOGL
3062 - pax-mark -m "${ED}"${vbox_inst_path}/VBoxTestOGL
3063 - fi
3064 -
3065 - for each in virtualbox{,vm} VirtualBox{,VM} ; do
3066 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
3067 - done
3068 -
3069 - insinto /usr/share/${PN}
3070 - doins -r nls
3071 - doins -r UnattendedTemplates
3072 -
3073 - domenu ${PN}.desktop
3074 - fi
3075 -
3076 - pushd "${S}"/src/VBox/Artwork/OSE &>/dev/null || die
3077 - for size in 16 32 48 64 128 ; do
3078 - newicon -s ${size} ${PN}-${size}px.png ${PN}.png
3079 - done
3080 - newicon ${PN}-48px.png ${PN}.png
3081 - doicon -s scalable ${PN}.svg
3082 - popd &>/dev/null || die
3083 - pushd "${S}"/src/VBox/Artwork/other &>/dev/null || die
3084 - for size in 16 24 32 48 64 72 96 128 256 512 ; do
3085 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
3086 - icofile="${PN}-${ico}-${size}px.png"
3087 - if [[ -f "${icofile}" ]] ; then
3088 - newicon -s ${size} ${icofile} ${PN}-${ico}.png
3089 - fi
3090 - done
3091 - done
3092 - popd &>/dev/null || die
3093 - fi
3094 -
3095 - if use lvm ; then
3096 - vbox_inst VBoxVolInfo 4750
3097 - dosym ${vbox_inst_path}/VBoxVolInfo /usr/bin/VBoxVolInfo
3098 - fi
3099 -
3100 - if use sdk ; then
3101 - insinto ${vbox_inst_path}
3102 - doins -r sdk
3103 -
3104 - if use java ; then
3105 - java-pkg_regjar "${ED}/${vbox_inst_path}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
3106 - java-pkg_regso "${ED}/${vbox_inst_path}/libvboxjxpcom.so"
3107 - fi
3108 - fi
3109 -
3110 - if use udev ; then
3111 - # New way of handling USB device nodes for VBox (bug #356215)
3112 - local udevdir="$(get_udevdir)"
3113 - insinto ${udevdir}
3114 - doins VBoxCreateUSBNode.sh
3115 - fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
3116 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
3117 - insinto ${udevdir}/rules.d
3118 - sed "s@%UDEVDIR%@${udevdir}@" "${FILESDIR}"/10-virtualbox.rules \
3119 - > "${T}"/10-virtualbox.rules || die
3120 - doins "${T}"/10-virtualbox.rules
3121 - fi
3122 -
3123 - if use vboxwebsrv ; then
3124 - vbox_inst vboxwebsrv
3125 - dosym ${vbox_inst_path}/VBox /usr/bin/vboxwebsrv
3126 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
3127 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
3128 - fi
3129 -
3130 - # Fix version string in extensions or else they don't get accepted
3131 - # by the virtualbox host process (see bug #438930)
3132 - find ExtensionPacks -type f -name "ExtPack.xml" -print0 \
3133 - | xargs --no-run-if-empty --null sed -i '/Version/s@_Gentoo@@' \
3134 - || die
3135 -
3136 - local extensions_dir="${vbox_inst_path}/ExtensionPacks"
3137 -
3138 - if use vnc ; then
3139 - insinto ${extensions_dir}
3140 - doins -r ExtensionPacks/VNC
3141 - fi
3142 -
3143 - if use dtrace ; then
3144 - insinto ${extensions_dir}
3145 - doins -r ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack
3146 - fi
3147 -
3148 - if use doc ; then
3149 - dodoc UserManual.pdf
3150 - fi
3151 -
3152 - newtmpfiles "${FILESDIR}"/${PN}-vboxusb_tmpfilesd ${PN}-vboxusb.conf
3153 -}
3154 -
3155 -pkg_preinst() {
3156 - xdg_pkg_preinst
3157 -}
3158 -
3159 -pkg_postinst() {
3160 - xdg_pkg_postinst
3161 -
3162 - if use udev ; then
3163 - udevadm control --reload-rules \
3164 - && udevadm trigger --subsystem-match=usb
3165 - fi
3166 -
3167 - tmpfiles_process /usr/lib/tmpfiles.d/virtualbox-vboxusb.conf
3168 -
3169 - if ! use headless && use qt5 ; then
3170 - elog "To launch VirtualBox just type: \"virtualbox\"."
3171 - fi
3172 - elog "You must be in the vboxusers group to use VirtualBox."
3173 - elog ""
3174 - elog "The latest user manual is available for download at:"
3175 - elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
3176 - elog ""
3177 - elog "For advanced networking setups you should emerge:"
3178 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
3179 - elog ""
3180 - elog "Starting with version 4.0.0, ${PN} has USB-1 support."
3181 - elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
3182 - elog " app-emulation/virtualbox-extpack-oracle"
3183 - elog "package."
3184 - elog "Starting with version 5.0.0, ${PN} no longer has the \"additions\" and"
3185 - elog "the \"extension\" USE flag. For installation of the guest additions ISO"
3186 - elog "image, please emerge"
3187 - elog " app-emulation/virtualbox-additions"
3188 - elog "and for the USB2, USB3, VRDP and PXE boot ROM modules, please emerge"
3189 - elog " app-emulation/virtualbox-extpack-oracle"
3190 - if ! use udev ; then
3191 - elog ""
3192 - elog "WARNING!"
3193 - elog "Without USE=udev, USB devices will likely not work in ${PN}."
3194 - elif [[ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ]] ; then
3195 - elog ""
3196 - elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
3197 - elog "or else USB in ${PN} won't work."
3198 - fi
3199 -}
3200 -
3201 -pkg_postrm() {
3202 - xdg_pkg_postrm
3203 -}
3204
3205 diff --git a/app-emulation/virtualbox/virtualbox-6.1.0.ebuild b/app-emulation/virtualbox/virtualbox-6.1.0.ebuild
3206 deleted file mode 100644
3207 index fb112b9e937..00000000000
3208 --- a/app-emulation/virtualbox/virtualbox-6.1.0.ebuild
3209 +++ /dev/null
3210 @@ -1,504 +0,0 @@
3211 -# Copyright 1999-2020 Gentoo Authors
3212 -# Distributed under the terms of the GNU General Public License v2
3213 -
3214 -EAPI=7
3215 -
3216 -PYTHON_COMPAT=( python{2_7,3_{6,7,8}} )
3217 -inherit desktop flag-o-matic java-pkg-opt-2 linux-info pax-utils python-single-r1 tmpfiles toolchain-funcs udev xdg
3218 -
3219 -MY_PV="${PV/beta/BETA}"
3220 -MY_PV="${MY_PV/rc/RC}"
3221 -MY_P=VirtualBox-${MY_PV}
3222 -
3223 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
3224 -HOMEPAGE="https://www.virtualbox.org/"
3225 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
3226 - https://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-6.1.0_rc1-patches-01.tar.xz"
3227 -
3228 -LICENSE="GPL-2 dtrace? ( CDDL )"
3229 -SLOT="0"
3230 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
3231 -KEYWORDS="~amd64"
3232 -IUSE="alsa debug doc dtrace headless java libressl lvm +opus pam pax_kernel pulseaudio +opengl python +qt5 +sdk +udev vboxwebsrv vnc"
3233 -
3234 -CDEPEND="
3235 - ${PYTHON_DEPS}
3236 - !app-emulation/virtualbox-bin
3237 - ~app-emulation/virtualbox-modules-${PV}
3238 - dev-libs/libIDL
3239 - >=dev-libs/libxslt-1.1.19
3240 - net-misc/curl
3241 - dev-libs/libxml2
3242 - media-libs/libpng:0=
3243 - media-libs/libvpx:0=
3244 - sys-libs/zlib:=
3245 - !headless? (
3246 - media-libs/libsdl:0[X,video]
3247 - x11-libs/libX11
3248 - x11-libs/libxcb:=
3249 - x11-libs/libXcursor
3250 - x11-libs/libXext
3251 - x11-libs/libXmu
3252 - x11-libs/libXt
3253 - opengl? ( virtual/opengl media-libs/freeglut )
3254 - qt5? (
3255 - dev-qt/qtcore:5
3256 - dev-qt/qtgui:5
3257 - dev-qt/qtprintsupport:5
3258 - dev-qt/qtwidgets:5
3259 - dev-qt/qtx11extras:5
3260 - opengl? ( dev-qt/qtopengl:5 )
3261 - x11-libs/libXinerama
3262 - )
3263 - )
3264 - libressl? ( dev-libs/libressl:= )
3265 - !libressl? ( dev-libs/openssl:0= )
3266 - lvm? ( sys-fs/lvm2 )
3267 - opus? ( media-libs/opus )
3268 - udev? ( >=virtual/udev-171 )
3269 - vnc? ( >=net-libs/libvncserver-0.9.9 )
3270 -"
3271 -DEPEND="
3272 - ${CDEPEND}
3273 - alsa? ( >=media-libs/alsa-lib-1.0.13 )
3274 - !headless? ( x11-libs/libXinerama )
3275 - pam? ( sys-libs/pam )
3276 - pax_kernel? ( sys-apps/elfix )
3277 - pulseaudio? ( media-sound/pulseaudio )
3278 - qt5? ( dev-qt/linguist-tools:5 )
3279 - vboxwebsrv? ( net-libs/gsoap[-gnutls(-)] )
3280 -"
3281 -BDEPEND="
3282 - ${PYTHON_DEPS}
3283 - >=dev-util/kbuild-0.1.9998.3127
3284 - >=dev-lang/yasm-0.6.2
3285 - sys-devel/bin86
3286 - sys-libs/libcap
3287 - sys-power/iasl
3288 - virtual/pkgconfig
3289 - doc? (
3290 - app-text/docbook-sgml-dtd:4.4
3291 - dev-texlive/texlive-basic
3292 - dev-texlive/texlive-latex
3293 - dev-texlive/texlive-latexrecommended
3294 - dev-texlive/texlive-latexextra
3295 - dev-texlive/texlive-fontsrecommended
3296 - dev-texlive/texlive-fontsextra
3297 - )
3298 - java? ( >=virtual/jdk-1.6 )
3299 -"
3300 -RDEPEND="
3301 - ${CDEPEND}
3302 - java? ( >=virtual/jre-1.6 )
3303 -"
3304 -
3305 -QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
3306 - usr/lib/virtualbox/VBoxSDL.so
3307 - usr/lib/virtualbox/VBoxSharedFolders.so
3308 - usr/lib/virtualbox/VBoxDD2.so
3309 - usr/lib/virtualbox/VBoxOGLrenderspu.so
3310 - usr/lib/virtualbox/VBoxPython.so
3311 - usr/lib/virtualbox/VBoxDD.so
3312 - usr/lib/virtualbox/VBoxDDU.so
3313 - usr/lib/virtualbox/VBoxREM64.so
3314 - usr/lib/virtualbox/VBoxSharedClipboard.so
3315 - usr/lib/virtualbox/VBoxHeadless.so
3316 - usr/lib/virtualbox/VBoxRT.so
3317 - usr/lib/virtualbox/VBoxREM.so
3318 - usr/lib/virtualbox/VBoxSettings.so
3319 - usr/lib/virtualbox/VBoxKeyboard.so
3320 - usr/lib/virtualbox/VBoxSharedCrOpenGL.so
3321 - usr/lib/virtualbox/VBoxVMM.so
3322 - usr/lib/virtualbox/VirtualBox.so
3323 - usr/lib/virtualbox/VBoxOGLhosterrorspu.so
3324 - usr/lib/virtualbox/components/VBoxC.so
3325 - usr/lib/virtualbox/components/VBoxSVCM.so
3326 - usr/lib/virtualbox/components/VBoxDDU.so
3327 - usr/lib/virtualbox/components/VBoxRT.so
3328 - usr/lib/virtualbox/components/VBoxREM.so
3329 - usr/lib/virtualbox/components/VBoxVMM.so
3330 - usr/lib/virtualbox/VBoxREM32.so
3331 - usr/lib/virtualbox/VBoxPython2_7.so
3332 - usr/lib/virtualbox/VBoxXPCOMC.so
3333 - usr/lib/virtualbox/VBoxOGLhostcrutil.so
3334 - usr/lib/virtualbox/VBoxNetDHCP.so
3335 - usr/lib/virtualbox/VBoxNetNAT.so"
3336 -
3337 -S="${WORKDIR}/${MY_P}"
3338 -
3339 -REQUIRED_USE="
3340 - java? ( sdk )
3341 - python? ( sdk )
3342 - vboxwebsrv? ( java )
3343 - ${PYTHON_REQUIRED_USE}
3344 -"
3345 -
3346 -pkg_pretend() {
3347 - if ! use headless && ! use qt5 ; then
3348 - einfo "No USE=\"qt5\" selected, this build will not include any Qt frontend."
3349 - elif use headless && use qt5 ; then
3350 - einfo "You selected USE=\"headless qt5\", defaulting to"
3351 - einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
3352 - fi
3353 -
3354 - if ! use opengl ; then
3355 - einfo "No USE=\"opengl\" selected, this build will lack"
3356 - einfo "the OpenGL feature."
3357 - fi
3358 - if ! use python ; then
3359 - einfo "You have disabled the \"python\" USE flag. This will only"
3360 - einfo "disable the python bindings being installed."
3361 - fi
3362 -}
3363 -
3364 -pkg_setup() {
3365 - java-pkg-opt-2_pkg_setup
3366 - python-single-r1_pkg_setup
3367 -
3368 - tc-ld-disable-gold #bug 488176
3369 - tc-export CC CXX LD AR RANLIB
3370 - export HOST_CC="$(tc-getBUILD_CC)"
3371 -}
3372 -
3373 -src_prepare() {
3374 - # Remove shipped binaries (kBuild,yasm), see bug #232775
3375 - rm -r kBuild/bin tools || die
3376 -
3377 - # Replace pointless GCC version check with something less stupid.
3378 - # This is needed for the qt5 version check.
3379 - sed -e 's@^check_gcc$@cc_maj="$(${CC} -dumpversion | cut -d. -f1)" ; cc_min="$(${CC} -dumpversion | cut -d. -f2)"@' \
3380 - -i configure || die
3381 -
3382 - # Disable things unused or split into separate ebuilds
3383 - sed -e "s@MY_LIBDIR@$(get_libdir)@" \
3384 - "${FILESDIR}"/${PN}-5-localconfig > LocalConfig.kmk || die
3385 -
3386 - # Respect LDFLAGS
3387 - sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
3388 - -i Config.kmk src/libs/xpcom18a4/Config.kmk || die
3389 -
3390 - # Do not use hard-coded ld (related to bug #488176)
3391 - sed -e '/QUIET)ld /s@ld @$(LD) @' \
3392 - -i src/VBox/Devices/PC/ipxe/Makefile.kmk || die
3393 -
3394 - # Use PAM only when pam USE flag is enbaled (bug #376531)
3395 - if ! use pam ; then
3396 - elog "Disabling PAM removes the possibility to use the VRDP features."
3397 - sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die
3398 - sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \
3399 - src/VBox/HostServices/Makefile.kmk || die
3400 - fi
3401 -
3402 - # add correct java path
3403 - if use java ; then
3404 - sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \
3405 - -i "${S}"/Config.kmk || die
3406 - java-pkg-opt-2_src_prepare
3407 - fi
3408 -
3409 - # Only add nopie patch when we're on hardened
3410 - if gcc-specs-pie ; then
3411 - eapply "${FILESDIR}/050_virtualbox-5.2.8-nopie.patch"
3412 - fi
3413 -
3414 - # Only add paxmark patch when we're on pax_kernel
3415 - if use pax_kernel ; then
3416 - eapply "${FILESDIR}"/virtualbox-5.2.8-paxmark-bldprogs.patch
3417 - fi
3418 -
3419 - eapply "${WORKDIR}/patches"
3420 -
3421 - eapply_user
3422 -}
3423 -
3424 -doecho() {
3425 - echo "$@"
3426 - "$@" || die
3427 -}
3428 -
3429 -src_configure() {
3430 - local myconf=(
3431 - --with-gcc="$(tc-getCC)"
3432 - --with-g++="$(tc-getCXX)"
3433 - --disable-dbus
3434 - --disable-kmods
3435 - $(usex alsa '' --disable-alsa)
3436 - $(usex debug --build-debug '')
3437 - $(usex doc '' --disable-docs)
3438 - $(usex java '' --disable-java)
3439 - $(usex lvm '' --disable-devmapper)
3440 - $(usex opus '' --disable-libopus)
3441 - $(usex pulseaudio '' --disable-pulse)
3442 - $(usex python '' --disable-python)
3443 - $(usex vboxwebsrv --enable-webservice '')
3444 - $(usex vnc --enable-vnc '')
3445 - )
3446 - if ! use headless ; then
3447 - myconf+=(
3448 - $(usex opengl '' --disable-opengl)
3449 - $(usex qt5 '' --disable-qt)
3450 - )
3451 - else
3452 - myconf+=(
3453 - --build-headless
3454 - --disable-opengl
3455 - )
3456 - fi
3457 - if use amd64 && ! has_multilib_profile ; then
3458 - myconf+=( --disable-vmmraw )
3459 - fi
3460 - # not an autoconf script
3461 - doecho ./configure ${myconf[@]}
3462 -}
3463 -
3464 -src_compile() {
3465 - source ./env.sh || die
3466 -
3467 - # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
3468 - MAKEJOBS=$(grep -Eo '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
3469 - MAKELOAD=$(grep -Eo '(\-l|\-\-load-average)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
3470 - MAKEOPTS="${MAKEJOBS} ${MAKELOAD}"
3471 - MAKE="kmk" emake \
3472 - VBOX_BUILD_PUBLISHER=_Gentoo \
3473 - TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
3474 - TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
3475 - TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
3476 - TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
3477 - VBOX_GCC_OPT="${CXXFLAGS}" \
3478 - TOOL_YASM_AS=yasm KBUILD_VERBOSE=2 \
3479 - all
3480 -}
3481 -
3482 -src_install() {
3483 - cd "${S}"/out/linux.${ARCH}/$(usex debug debug release)/bin || die
3484 -
3485 - local vbox_inst_path="/usr/$(get_libdir)/${PN}" each size ico icofile
3486 -
3487 - vbox_inst() {
3488 - local binary="${1}"
3489 - local perms="${2:-0750}"
3490 - local path="${3:-${vbox_inst_path}}"
3491 -
3492 - [[ -n "${binary}" ]] || die "vbox_inst: No binary given!"
3493 - [[ ${perms} =~ ^[[:digit:]]+{4}$ ]] || die "vbox_inst: perms must consist of four digits."
3494 -
3495 - insinto ${path}
3496 - doins ${binary}
3497 - fowners root:vboxusers ${path}/${binary}
3498 - fperms ${perms} ${path}/${binary}
3499 - }
3500 -
3501 - # Create configuration files
3502 - insinto /etc/vbox
3503 - newins "${FILESDIR}/${PN}-4-config" vbox.cfg
3504 -
3505 - # Set the correct libdir
3506 - sed \
3507 - -e "s@MY_LIBDIR@$(get_libdir)@" \
3508 - -i "${ED}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
3509 -
3510 - # Install the wrapper script
3511 - exeinto ${vbox_inst_path}
3512 - newexe "${FILESDIR}/${PN}-ose-6-wrapper" "VBox"
3513 - fowners root:vboxusers ${vbox_inst_path}/VBox
3514 - fperms 0750 ${vbox_inst_path}/VBox
3515 -
3516 - # Install binaries and libraries
3517 - insinto ${vbox_inst_path}
3518 - doins -r components
3519 -
3520 - for each in VBox{Autostart,BalloonCtrl,BugReport,CpuReport,ExtPackHelperApp,Manage,SVC,Tunctl,VMMPreload,XPCOMIPCD} *so *r0 iPxeBaseBin ; do
3521 - vbox_inst ${each}
3522 - done
3523 -
3524 - # These binaries need to be suid root.
3525 - for each in VBox{Headless,Net{AdpCtl,DHCP,NAT}} ; do
3526 - vbox_inst ${each} 4750
3527 - done
3528 -
3529 - # Install EFI Firmware files (bug #320757)
3530 - for each in VBoxEFI{32,64}.fd ; do
3531 - vbox_inst ${each} 0644
3532 - done
3533 -
3534 - # VBoxSVC and VBoxManage need to be pax-marked (bug #403453)
3535 - # VBoxXPCOMIPCD (bug #524202)
3536 - for each in VBox{Headless,Manage,SVC,XPCOMIPCD} ; do
3537 - pax-mark -m "${ED}"${vbox_inst_path}/${each}
3538 - done
3539 -
3540 - # Symlink binaries to the shipped wrapper
3541 - for each in vbox{autostart,balloonctrl,bugreport,headless,manage} VBox{Autostart,BalloonCtrl,BugReport,Headless,Manage,VRDP} ; do
3542 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
3543 - done
3544 - dosym ${vbox_inst_path}/VBoxTunctl /usr/bin/VBoxTunctl
3545 -
3546 - if use pam ; then
3547 - # VRDPAuth only works with this (bug #351949)
3548 - dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so
3549 - fi
3550 -
3551 - # set an env-variable for 3rd party tools
3552 - echo -n "VBOX_APP_HOME=${vbox_inst_path}" > "${T}/90virtualbox"
3553 - doenvd "${T}/90virtualbox"
3554 -
3555 - if ! use headless ; then
3556 - vbox_inst rdesktop-vrdp
3557 - vbox_inst VBoxSDL 4750
3558 - pax-mark -m "${ED}"${vbox_inst_path}/VBoxSDL
3559 -
3560 - for each in vboxsdl VBoxSDL ; do
3561 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
3562 - done
3563 -
3564 - if use qt5 ; then
3565 - vbox_inst VirtualBox
3566 - vbox_inst VirtualBoxVM 4750
3567 - for each in VirtualBox{,VM} ; do
3568 - pax-mark -m "${ED}"${vbox_inst_path}/${each}
3569 - done
3570 -
3571 - if use opengl ; then
3572 - vbox_inst VBoxTestOGL
3573 - pax-mark -m "${ED}"${vbox_inst_path}/VBoxTestOGL
3574 - fi
3575 -
3576 - for each in virtualbox{,vm} VirtualBox{,VM} ; do
3577 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
3578 - done
3579 -
3580 - insinto /usr/share/${PN}
3581 - doins -r nls
3582 - doins -r UnattendedTemplates
3583 -
3584 - domenu ${PN}.desktop
3585 - fi
3586 -
3587 - pushd "${S}"/src/VBox/Artwork/OSE &>/dev/null || die
3588 - for size in 16 32 48 64 128 ; do
3589 - newicon -s ${size} ${PN}-${size}px.png ${PN}.png
3590 - done
3591 - newicon ${PN}-48px.png ${PN}.png
3592 - doicon -s scalable ${PN}.svg
3593 - popd &>/dev/null || die
3594 - pushd "${S}"/src/VBox/Artwork/other &>/dev/null || die
3595 - for size in 16 24 32 48 64 72 96 128 256 512 ; do
3596 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
3597 - icofile="${PN}-${ico}-${size}px.png"
3598 - if [[ -f "${icofile}" ]] ; then
3599 - newicon -s ${size} ${icofile} ${PN}-${ico}.png
3600 - fi
3601 - done
3602 - done
3603 - popd &>/dev/null || die
3604 - fi
3605 -
3606 - if use lvm ; then
3607 - vbox_inst VBoxVolInfo 4750
3608 - dosym ${vbox_inst_path}/VBoxVolInfo /usr/bin/VBoxVolInfo
3609 - fi
3610 -
3611 - if use sdk ; then
3612 - insinto ${vbox_inst_path}
3613 - doins -r sdk
3614 -
3615 - if use java ; then
3616 - java-pkg_regjar "${ED}/${vbox_inst_path}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
3617 - java-pkg_regso "${ED}/${vbox_inst_path}/libvboxjxpcom.so"
3618 - fi
3619 - fi
3620 -
3621 - if use udev ; then
3622 - # New way of handling USB device nodes for VBox (bug #356215)
3623 - local udevdir="$(get_udevdir)"
3624 - insinto ${udevdir}
3625 - doins VBoxCreateUSBNode.sh
3626 - fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
3627 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
3628 - insinto ${udevdir}/rules.d
3629 - sed "s@%UDEVDIR%@${udevdir}@" "${FILESDIR}"/10-virtualbox.rules \
3630 - > "${T}"/10-virtualbox.rules || die
3631 - doins "${T}"/10-virtualbox.rules
3632 - fi
3633 -
3634 - if use vboxwebsrv ; then
3635 - vbox_inst vboxwebsrv
3636 - dosym ${vbox_inst_path}/VBox /usr/bin/vboxwebsrv
3637 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
3638 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
3639 - fi
3640 -
3641 - # Fix version string in extensions or else they don't get accepted
3642 - # by the virtualbox host process (see bug #438930)
3643 - find ExtensionPacks -type f -name "ExtPack.xml" -print0 \
3644 - | xargs --no-run-if-empty --null sed -i '/Version/s@_Gentoo@@' \
3645 - || die
3646 -
3647 - local extensions_dir="${vbox_inst_path}/ExtensionPacks"
3648 -
3649 - if use vnc ; then
3650 - insinto ${extensions_dir}
3651 - doins -r ExtensionPacks/VNC
3652 - fi
3653 -
3654 - if use dtrace ; then
3655 - insinto ${extensions_dir}
3656 - doins -r ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack
3657 - fi
3658 -
3659 - if use doc ; then
3660 - dodoc UserManual.pdf
3661 - fi
3662 -
3663 - newtmpfiles "${FILESDIR}"/${PN}-vboxusb_tmpfilesd ${PN}-vboxusb.conf
3664 -}
3665 -
3666 -pkg_preinst() {
3667 - xdg_pkg_preinst
3668 -}
3669 -
3670 -pkg_postinst() {
3671 - xdg_pkg_postinst
3672 -
3673 - if use udev ; then
3674 - udevadm control --reload-rules \
3675 - && udevadm trigger --subsystem-match=usb
3676 - fi
3677 -
3678 - tmpfiles_process /usr/lib/tmpfiles.d/virtualbox-vboxusb.conf
3679 -
3680 - if ! use headless && use qt5 ; then
3681 - elog "To launch VirtualBox just type: \"virtualbox\"."
3682 - fi
3683 - elog "You must be in the vboxusers group to use VirtualBox."
3684 - elog ""
3685 - elog "The latest user manual is available for download at:"
3686 - elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
3687 - elog ""
3688 - elog "For advanced networking setups you should emerge:"
3689 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
3690 - elog ""
3691 - elog "Starting with version 4.0.0, ${PN} has USB-1 support."
3692 - elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
3693 - elog " app-emulation/virtualbox-extpack-oracle"
3694 - elog "package."
3695 - elog "Starting with version 5.0.0, ${PN} no longer has the \"additions\" and"
3696 - elog "the \"extension\" USE flag. For installation of the guest additions ISO"
3697 - elog "image, please emerge"
3698 - elog " app-emulation/virtualbox-additions"
3699 - elog "and for the USB2, USB3, VRDP and PXE boot ROM modules, please emerge"
3700 - elog " app-emulation/virtualbox-extpack-oracle"
3701 - if ! use udev ; then
3702 - elog ""
3703 - elog "WARNING!"
3704 - elog "Without USE=udev, USB devices will likely not work in ${PN}."
3705 - elif [[ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ]] ; then
3706 - elog ""
3707 - elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
3708 - elog "or else USB in ${PN} won't work."
3709 - fi
3710 -}
3711 -
3712 -pkg_postrm() {
3713 - xdg_pkg_postrm
3714 -}