Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox-guest-additions/, app-emulation/virtualbox-bin/, ...
Date: Wed, 17 Apr 2019 12:20:36
Message-Id: 1555503624.77ba062a8350c3579f8e392352d332566f2f5377.polynomial-c@gentoo
1 commit: 77ba062a8350c3579f8e392352d332566f2f5377
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 17 12:13:22 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 17 12:20:24 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77ba062a
7
8 virtualbox packages: Removed old.
9
10 Package-Manager: Portage-2.3.63, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 app-emulation/virtualbox-additions/Manifest | 2 -
14 .../virtualbox-additions-5.2.24.ebuild | 33 --
15 .../virtualbox-additions-6.0.2.ebuild | 34 --
16 app-emulation/virtualbox-bin/Manifest | 7 -
17 .../virtualbox-bin-5.2.24.128163.ebuild | 287 ------------
18 .../virtualbox-bin-6.0.2.128162.ebuild | 289 ------------
19 app-emulation/virtualbox-extpack-oracle/Manifest | 2 -
20 .../virtualbox-extpack-oracle-5.2.24.128163.ebuild | 42 --
21 .../virtualbox-extpack-oracle-6.0.2.128162.ebuild | 43 --
22 app-emulation/virtualbox-guest-additions/Manifest | 2 -
23 .../virtualbox-guest-additions-5.2.24.ebuild | 228 ----------
24 .../virtualbox-guest-additions-6.0.2.ebuild | 229 ----------
25 app-emulation/virtualbox-modules/Manifest | 2 -
26 .../virtualbox-modules-5.2.24.ebuild | 51 ---
27 .../virtualbox-modules-6.0.2.ebuild | 52 ---
28 app-emulation/virtualbox/Manifest | 2 -
29 app-emulation/virtualbox/virtualbox-5.2.24.ebuild | 480 --------------------
30 app-emulation/virtualbox/virtualbox-6.0.2.ebuild | 485 ---------------------
31 18 files changed, 2270 deletions(-)
32
33 diff --git a/app-emulation/virtualbox-additions/Manifest b/app-emulation/virtualbox-additions/Manifest
34 index d4d35d2f3b1..c616f041432 100644
35 --- a/app-emulation/virtualbox-additions/Manifest
36 +++ b/app-emulation/virtualbox-additions/Manifest
37 @@ -1,7 +1,5 @@
38 DIST VBoxGuestAdditions_5.2.22.iso 58013696 BLAKE2B 196f0048b685200328bcf753f3df23eac6477ce863885e93a54951795368bf62bdaa497589001ec203d75809b1f74ebbaa80419406d26bc7db43a131f5b9d698 SHA512 b320174b2f2ef796ac2c9c920579be38f0cedaa037d21992863ac355ecf6e99ae2aea56c70fb2034e9e03afac2cd7297f7717b447a6981701755593110164d37
39 -DIST VBoxGuestAdditions_5.2.24.iso 58429440 BLAKE2B ee5b2751238da4372c4164c02e96c5bc6a1dbfb6670f7cd8912415680e99118e65c8f4c765c7d5f9dcf521644a011540e289357fe38e715d6264fa84b5d7ef1b SHA512 e05f75f3a5974efba6f64606d255a03ddf104deec3c300a9369c06d603aa3cbf70b73cdfeda2ce1fcd1c36da472bc190da0ed4e908bd6dbcf857104c99a61b05
40 DIST VBoxGuestAdditions_5.2.26.iso 58433536 BLAKE2B 1d7bae647923a57cdcee38a1609a07cd081d593a0852dcf67b549ed178508e93f7ee4d076ac700ab7e7ec828e660eb09cc8a55a0f2400b1ff0912cc2fafdff7f SHA512 fea91c442d3f05a35435155d3a3890e2c29e2523f1106cc8c7fb6513826263ff450e72b393796e0dff99b3bd85d85d8d55309e81f68ddfd39689df8f54bca1fe
41 DIST VBoxGuestAdditions_5.2.28.iso 58568704 BLAKE2B cc7f0f0c18823f8c7dcae945d0e73b4b8c7d151a07be23bd8d21c44aa555f7964949857af817a9bc4e04d773a18cdc369dcbd8aadffe846ff7200477118aada8 SHA512 ccfdb2705a6c7daa79108fdb3bc6e6070e8de3f45eea308f821a0194e77c092b029119739239a2ccf9c5cb89045e919ba57950994668bc879443a55b53407c9c
42 -DIST VBoxGuestAdditions_6.0.2.iso 85905408 BLAKE2B c5ce6d2cc3c15032f5d6733df72f938f2e5b0e996d467464e0229cfd8b8a2ba57f4f3878d94f769f0dfda48b14e426815925d883add6934a2c3f72ac1a41d6cb SHA512 53e82fbec7f1e04f473f0add3a0e03e2abfb9e88b57d7501d28310c36ae26af835d52a76104b31a8a4dc69ff31b6826c7c391622cdf3977df7ab7c4181d0e7dd
43 DIST VBoxGuestAdditions_6.0.4.iso 85917696 BLAKE2B 2fa419ef8524b46afb327bd1f5e53bec6df7fa53d6608bb25e5d986d8be9eaf2e0e7a37523beb56981380e8f4ad41ae48eb5ec23505a382c57fda737ec999caf SHA512 ad9afd9941cac771a156071df3a054225643e39059c84abc0c0c2525d0fa32d5bc5a144b1fef367f92e0216f8f9fc73ef961eeead648421ea30465650516bc88
44 DIST VBoxGuestAdditions_6.0.6.iso 86321152 BLAKE2B d186d6c14500376b1721e084d9a4859bcbe3c64bfc22835a8e4b4425eee4a3a21c8dc4d48bfb072a793a8f2fb0d7f6ef83f53b1ebedbfb38c2e3fffbe3611d55 SHA512 ced893f8384b0ad74cce77f6d6f74fd748acf3acd18843a08c1b433b40ee73ce4c10d16ab8893aabba7fb3aac57e6faea599ed5733d4e91895bb78e7cf34c7ac
45
46 diff --git a/app-emulation/virtualbox-additions/virtualbox-additions-5.2.24.ebuild b/app-emulation/virtualbox-additions/virtualbox-additions-5.2.24.ebuild
47 deleted file mode 100644
48 index 6faf7e7e8a0..00000000000
49 --- a/app-emulation/virtualbox-additions/virtualbox-additions-5.2.24.ebuild
50 +++ /dev/null
51 @@ -1,33 +0,0 @@
52 -# Copyright 1999-2019 Gentoo Authors
53 -# Distributed under the terms of the GNU General Public License v2
54 -
55 -EAPI=7
56 -
57 -MY_PN=VBoxGuestAdditions
58 -MY_PV="${PV/beta/BETA}"
59 -MY_PV="${MY_PV/rc/RC}"
60 -MY_P=${MY_PN}_${MY_PV}
61 -
62 -DESCRIPTION="CD image containing guest additions for VirtualBox"
63 -HOMEPAGE="https://www.virtualbox.org/"
64 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.iso"
65 -
66 -LICENSE="GPL-2+ LGPL-2.1+ MIT SGI-B-2.0 CDDL"
67 -SLOT="0"
68 -KEYWORDS="~amd64 ~x86"
69 -IUSE=""
70 -RESTRICT="mirror"
71 -
72 -RDEPEND="!app-emulation/virtualbox-bin
73 - !=app-emulation/virtualbox-9999"
74 -
75 -S="${WORKDIR}"
76 -
77 -src_unpack() {
78 - return 0
79 -}
80 -
81 -src_install() {
82 - insinto /usr/share/${PN/-additions}
83 - newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
84 -}
85
86 diff --git a/app-emulation/virtualbox-additions/virtualbox-additions-6.0.2.ebuild b/app-emulation/virtualbox-additions/virtualbox-additions-6.0.2.ebuild
87 deleted file mode 100644
88 index 5124a818a15..00000000000
89 --- a/app-emulation/virtualbox-additions/virtualbox-additions-6.0.2.ebuild
90 +++ /dev/null
91 @@ -1,34 +0,0 @@
92 -# Copyright 1999-2019 Gentoo Authors
93 -# Distributed under the terms of the GNU General Public License v2
94 -
95 -EAPI=7
96 -
97 -MY_PN=VBoxGuestAdditions
98 -MY_PV="${PV/beta/BETA}"
99 -MY_PV="${MY_PV/rc/RC}"
100 -MY_P=${MY_PN}_${MY_PV}
101 -
102 -DESCRIPTION="CD image containing guest additions for VirtualBox"
103 -HOMEPAGE="https://www.virtualbox.org/"
104 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.iso"
105 -
106 -LICENSE="GPL-2+ LGPL-2.1+ MIT SGI-B-2.0 CDDL"
107 -SLOT="0"
108 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
109 -KEYWORDS="~amd64 ~x86"
110 -IUSE=""
111 -RESTRICT="mirror"
112 -
113 -RDEPEND="!app-emulation/virtualbox-bin
114 - !=app-emulation/virtualbox-9999"
115 -
116 -S="${WORKDIR}"
117 -
118 -src_unpack() {
119 - return 0
120 -}
121 -
122 -src_install() {
123 - insinto /usr/share/${PN/-additions}
124 - newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
125 -}
126
127 diff --git a/app-emulation/virtualbox-bin/Manifest b/app-emulation/virtualbox-bin/Manifest
128 index c8eafe2d03c..852f5e7fcae 100644
129 --- a/app-emulation/virtualbox-bin/Manifest
130 +++ b/app-emulation/virtualbox-bin/Manifest
131 @@ -1,25 +1,18 @@
132 DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.22-126460.tar.gz 19640932 BLAKE2B 162ab40da6b2cd30d00e020666a1f4fb026e29af2ca9d6c36c294e5fa299b61ab8fd147f24d2b500426c768808db2c7693c30e88519e695d7759f8eedf1c52c5 SHA512 85b8552668b6580bea24f051ad861c82b9ba32177fb7fa37fe2980d8bab32a84325d02bfa9c8f55c2021a4000ef2546d8996ca8b99ca7fc19f8281a92108dfb0
133 -DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.24-128163.tar.gz 19683939 BLAKE2B ce05e159172e34e1d520b3783d77db06aa8f91067cc743beb1eeafaf01508e830f5fe9501cb1f3a6d99492e3046ec2dd2fec94ffd39a237ef4679352492aaa1a SHA512 035103e420d773201ad24093910d7175a5d548f19de4a58900e78e2ebfac711851c99375977ba9fd47fced234346437164d226592b7070a867a1d13fd534a3b5
134 DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.26-128414.tar.gz 19684009 BLAKE2B 81787dcf3b70211fa9c84a40c668100eda0dfd2ce3e1d35c226cb6913ef74027f3444be93069a5e881d8e60905477460a180cb98919050286978edf9c1edcdf3 SHA512 deb4c62d58e2071f4413f0ff769e9ecd756362920b29482a6a3d77566c327b075cb5ecafdc65985305b8b798dc56ca2104a0f8244651fca89c4e15ef879c121e
135 DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.28-130011.tar.gz 19719444 BLAKE2B 4b70bb91f4309efbc9a3127e85aaab2175dee1bd3535dce17f3e36747c60ea4b2951958020c3b922b3f832e5cc2a40785ec7fdbe9be6af8a93513ac3d8012d20 SHA512 9da57baaa508cd86663e57b9c545532207fd8460bddb9fd92c3a0058da05cd81e782f99f7c6cc3bbbe1811ebff67e9e7455ccf4a7851d2c3025c4d4d98acf10d
136 -DIST Oracle_VM_VirtualBox_Extension_Pack-6.0.2-128162.tar.gz 23289693 BLAKE2B 13e1ad30b40676ed2e11cf26957377696a9f30a7a92bda0ca5f69039ffebe4abf3bb0224844609a29ac217b227e4d1906c70cd404d3967a26dc0ace3bf4d2ccd SHA512 29b682bf8130f73b25a82e97053847077d9eb48f0510db7fb0cf2e817e1e6b9a6e7ded54ede7447c56aa7b219d32a2d6ee19cb0efbe5c7e0a984c5e137fada51
137 DIST Oracle_VM_VirtualBox_Extension_Pack-6.0.4-128413.tar.gz 23290549 BLAKE2B f9ac1a560d5e8b9b73efa21e3623c9f6f0d7769eb4cad7b01d8f68a135a74573659a0a9b092f7ab35beb348ed2722fcf7862aa66e47987b33038f488b88b1129 SHA512 ee54cbdf58de8d37ba84fffd2baec2c9d3915feeab715767515fd6d6ec3032dad2f02509b08cea24754cfce0974a7c1b29c6050bff466af53c1ac6589f4c0215
138 DIST Oracle_VM_VirtualBox_Extension_Pack-6.0.6-130049.tar.gz 23309541 BLAKE2B 550dcee0893c820e3113344f5990528ec2ade766f0a3ff1efc0965c555f820224070bec1f4b4b8b835b2150a7279d1bf9b247433a42658f0e179326c7d78eb0c SHA512 e0b0061137f2e5db1cba0aaf287be2f06cc5379e8f9b562a661beae1f2cc8855f0a78e173473bf44906ca84d6a09c0afa82e0f4026cfb5fb64f9fe6267ab3044
139 DIST VirtualBox-5.2.22-126460-Linux_amd64.run 88821201 BLAKE2B 1b0433844247ee9531af915dcbb740183fa29fb296f8c78b4165cc3b48300da71f7d329026983da581ffff0d7b8976a2e5e32d5e948861a557ddfa2437813ea0 SHA512 22b20a68884a114818fcdfe9a459a7c3b1b3598526a74cc66407f5bcdc6eb6bcbe022b820477ccdc081e22349777b73fac9d6126585ee3c8fa0d3d24624006f3
140 DIST VirtualBox-5.2.22-126460-Linux_x86.run 87817677 BLAKE2B 5f11e5f92386c9524869082cf1a5af413c69fe5b36b1ace58887076000c7b928267eb7c3be22282885d6871ccdcee981ec79a526c71f281f0e8ada5858194851 SHA512 32d44b6d691e33a1ee1426cb7a3cb3648722709c588d177951b8be802546faadfd612567981bbbfed3d782b18260e6e638e7879813f3b06bb5a8387b052b0227
141 -DIST VirtualBox-5.2.24-128163-Linux_amd64.run 89282001 BLAKE2B affd8768878cf25209b7a53dc024ff1798d2c2e007031d40b39c5245df608cc09fdb19c216075b0ec7a4fd63ff580731b1b04838d5d6dc81bd126fed005ea355 SHA512 f22e3c71e5c3f923edc14fbae0191a5d1262426166984e19c784e2b0a332296f949d2a9eeca6972c1f16a0f9573c1f9807c556d4dab2bd500d5b73e22485c7e1
142 -DIST VirtualBox-5.2.24-128163-Linux_x86.run 88391118 BLAKE2B ffc44c55f664e4bc2c2e8bf09d95fda3631541b4b4b1dca7735dd5fcbf12da8258065fa13466ce23229126fb84b0193eee7cd794cf09f631ce124c4fd6558f16 SHA512 a7350a8266c6b3522be91158d765ce31b69acbfd67b6056a96361e0cb48926cee115c8f3df4d1965fd7b082d3f487f9f655253620a8357dbfadfbd2320ad6a3b
143 DIST VirtualBox-5.2.26-128414-Linux_amd64.run 89220562 BLAKE2B d937e3a8f622ed1afc8ab7d2479401c6b41f6b1404197b2d86933d741a209071b1bc98de14ea4f25b2b0f2a22a328393908f85955f8879dbf8b28e2b981e4d04 SHA512 c8d7741408d234e7c05709dd0ed66d30b427b0f39976f232b1fe8a17160d36c4dda7d3adda46a38cbdd6626d34570805f582ac0aae2a975385a1f1d06e97f354
144 DIST VirtualBox-5.2.26-128414-Linux_x86.run 88339918 BLAKE2B 0fe177a8d9ab4c4cb894151a00f9554713dee27af1fe3036591a0e7865c8869eef17368ab42270d5a9081c849e6550ebef809c3f8f09a9238e2f5a5f0c9e76e5 SHA512 6a809cf29a2cd70bddeca0443955ea10044553ef85744949b604f92a8bca96b9deb1c37f723388d1f27f903c9469e7cb853a0bf7d6928bb18ba61cb19b216fba
145 DIST VirtualBox-5.2.28-130011-Linux_amd64.run 89445843 BLAKE2B c5a91dad470ec1bf9c9bc6ff2e8197bb05e16098e8e9c8168d41c8657d0acf8556d77446d3ffbdeee054874b70c744644a00b3a6eb0bb0b6fb51bfc6bdeec367 SHA512 0f4f5ab8248ee65894609a63138b5001d04e1475f3ecd5f38a85f33be5b12eebdd2ab8a2bfeae6a99ba30c2c304b51e2466560316e634d82f47fa99e895e8b43
146 DIST VirtualBox-5.2.28-130011-Linux_x86.run 88544719 BLAKE2B ed76962b9ddcd27136a4ced260cad88825542e690b633bd54a4aa8e877f47560ca93401ec67bb75224cd2a7247d5a477d7d532f78f11d341e69cab03240cbe9d SHA512 7c8292b898f7f701eeeeb7a27112f1350b7a255aaa095a7fb3a3037205d30948033acc368a28eeac70e9bd841f1032b946f802a7c9ab47b88105bbf343a14bb9
147 -DIST VirtualBox-6.0.2-128162-Linux_amd64.run 155114954 BLAKE2B 0159383d2bd3ed0e454e03db61d7466e06b63222da364ae8c8964ac418c2a5de6b78c320c989bc497e6fc98051434d3e480d1bd16e0f92f8ac2fde8a60af088e SHA512 10b0971b81158f80de918f5ae9e0261eaec23ac7b5b3a8117c7d757a3044559648860b70d5688b58bcda1d0bdd36b1df70d5d0c8c1a65c53e1a65112beba1fff
148 DIST VirtualBox-6.0.4-128413-Linux_amd64.run 154920406 BLAKE2B 518ef3ee6a5b8d066b9238ea3660cce5898b15471805cdcc508471a8a7b1003d5b4d894a8de5be4e70a67abe77dd05ce7d463603081749836d1e6b58aa43aa04 SHA512 a35cbc5d726acde31939d8729695cb041c8e962af3f4894153e5779af4efa1b260f0f021de9c5a3edc651271e7adfa1818d6b9c1e081155f483cb148555e52b5
149 DIST VirtualBox-6.0.6-130049-Linux_amd64.run 132914648 BLAKE2B 720d98a3d271a545e1ff3357731c44d592c2f1e3a5c685f68b1daeecd9880c784f19de905c5ca73fa6a7be77ecc550e97f672b08198f90ead13c059edb4c59d1 SHA512 ee1156e940b1c1c2e4c82d77148f56495845731d73ef68f4a5da9c19f008c978c6ef3e7693b70e7d16ebf44202deeba30928674a26ad3090dad7f5ae2a242a88
150 DIST VirtualBoxSDK-5.2.22-126460.zip 10154660 BLAKE2B e0a0106f695ca7198d4b2ac5c62bb435fe7934858115dcb3aed57b40d82655bd54cbbae63b279132c23762a227c53affe68131a0bf9452c69dcaf2162b1e4ebf SHA512 1d34b8f7f32602b5656fdb6184e6c35cc54d6ecb36bc41d7df3e154f18c27ea5938635969feb69defe86a53897eee87792514967f15810224ee89e8e523d2b29
151 -DIST VirtualBoxSDK-5.2.24-128163.zip 10153218 BLAKE2B e0a86462396eaa3fb9aa475ab40ee810874f61d3e9f37050b4aba36e6b5150e3699303b7f9989e32e794b9f67de4340ff008fa67339a3c45678005d126a17c27 SHA512 fbc12076ee968a6066f6ac81ff1555e10710d10d7821be24a4b4371a4f4b0409bed2d209904daa2b3f98a7998357558ca158bd76b87c5449815843312b669627
152 DIST VirtualBoxSDK-5.2.26-128414.zip 10159276 BLAKE2B 32a9e0a70cc63c8e0daa7080f8e10ac8a514837be98a66b00161cd0c9bf2cc42ef0a11f3a69a742a2f6745b4c8b8fe9e946e18f81cd5ef3ab2f68d5e3c95c568 SHA512 f3d1cc622734ecb0f56fcdf5728fcc747e3b084cb2358d420c55c1acd98d2f24870f0fd18cea430f118f34bca10199526ba195a314d6ce7fb6c4bc8281d89f09
153 DIST VirtualBoxSDK-5.2.28-130011.zip 10157910 BLAKE2B 793918a663027a1396706b3aa0573679526b9c02aaaaadfe7cf4448744fc3ee6ea0484cdd01b07cb03169583b91fb1567d9c2f30046fc4bcb113d709aed30242 SHA512 90b25a1dddc50efe29cc1bd70819ca945be5f474c89e9fea90b0aa2f3ace448ec961ee749b6e3f41f763c05edd824d4a5e3c1c227db8e9a59267f91b87c24770
154 -DIST VirtualBoxSDK-6.0.2-128162.zip 10753904 BLAKE2B 52824830e3d816df57932d8812a959dc3590eeabe8b7ba1dc8927d7eac7bea0c4584e0f2d62b405fdb8d5833fc93792dfcd7c2cfc2714237ecb8dbf26be36f11 SHA512 d7d1d60c7ffc4022de16dccc7786bbc4d481cef26e105932158955cc4350d65a6ac5bffa01a319baee5a64f4ae7d016ba50f82128bef6e11e54e72e82e73c168
155 DIST VirtualBoxSDK-6.0.4-128413.zip 10755635 BLAKE2B 60333b130adbacc85a84c65ee638effcb6d1a226957c48907df342853b0a9ba4d5632d93858e539fafe2ec28befaa7de584538b46ee83a05789b065a05c3107c SHA512 de2c3e979fe35cda8b433c27f4ce52d5c86e7c0bdfb061a758fce642d4aab908c7c6808c3110ec81d4967977768de95ee8be5cd330d634d3dc9711dd77f17867
156 DIST VirtualBoxSDK-6.0.6-130049.zip 10759233 BLAKE2B f5fbcdeacfa3d4843b62728ecd2406785355eecd396292502ae2ebdadcdb38c24d0565a1304e935a1b3cc390880c443f9e8e490ab18adcc13f4b461c9750441a SHA512 45c5450249ab5ac43eb5dbc4d6e2b61cd4cd5a22005f38fd019d909f9d4b98147b959ff836ea05cceb7d730196a14763472ac6fe4113d1de7c11fad76300ac82
157
158 diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-5.2.24.128163.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-5.2.24.128163.ebuild
159 deleted file mode 100644
160 index e4f534871c4..00000000000
161 --- a/app-emulation/virtualbox-bin/virtualbox-bin-5.2.24.128163.ebuild
162 +++ /dev/null
163 @@ -1,287 +0,0 @@
164 -# Copyright 1999-2019 Gentoo Authors
165 -# Distributed under the terms of the GNU General Public License v2
166 -
167 -EAPI=6
168 -
169 -PYTHON_COMPAT=( python2_7 )
170 -
171 -inherit xdg-utils gnome2 pax-utils python-r1 udev unpacker eapi7-ver
172 -
173 -MAIN_PV="$(ver_cut 1-3)"
174 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
175 - MY_PV="${MAIN_PV}_$(ver_cut 5)"
176 - MY_PV="${MY_PV/beta/BETA}"
177 - MY_PV="${MY_PV/rc/RC}"
178 -else
179 - MY_PV="${MAIN_PV}"
180 -fi
181 -VBOX_BUILD_ID="$(ver_cut 4)"
182 -VBOX_PV="${MY_PV}-${VBOX_BUILD_ID}"
183 -MY_P="VirtualBox-${VBOX_PV}-Linux"
184 -# needed as sometimes the extpack gets another build ID
185 -EXTP_PV="${VBOX_PV}"
186 -EXTP_PN="Oracle_VM_VirtualBox_Extension_Pack"
187 -EXTP_P="${EXTP_PN}-${EXTP_PV}"
188 -# needed as sometimes the SDK gets another build ID
189 -SDK_PV="${VBOX_PV}"
190 -SDK_P="VirtualBoxSDK-${SDK_PV}"
191 -
192 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
193 -HOMEPAGE="https://www.virtualbox.org/"
194 -SRC_URI="amd64? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_amd64.run )
195 - x86? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_x86.run )
196 - https://download.virtualbox.org/virtualbox/${MY_PV}/${EXTP_P}.vbox-extpack -> ${EXTP_P}.tar.gz"
197 -
198 -LICENSE="GPL-2 PUEL"
199 -SLOT="0"
200 -KEYWORDS="~amd64 ~x86"
201 -IUSE="+additions +chm headless python vboxwebsrv rdesktop-vrdp"
202 -RESTRICT="mirror"
203 -
204 -if [[ "${PV}" != *beta* ]] ; then
205 - SRC_URI+="
206 - sdk? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${SDK_P}.zip )"
207 - IUSE+=" sdk"
208 -fi
209 -
210 -DEPEND="app-arch/unzip
211 - ${PYTHON_DEPS}"
212 -
213 -RDEPEND="!!app-emulation/virtualbox
214 - !app-emulation/virtualbox-additions
215 - ~app-emulation/virtualbox-modules-${MAIN_PV}
216 - !headless? (
217 - dev-libs/glib
218 - media-libs/fontconfig
219 - media-libs/freetype
220 - media-libs/libpng
221 - media-libs/libsdl[X]
222 - x11-libs/libXcursor
223 - x11-libs/libXext
224 - x11-libs/libXfixes
225 - x11-libs/libXft
226 - x11-libs/libXi
227 - x11-libs/libXinerama
228 - x11-libs/libXrandr
229 - x11-libs/libXrender
230 - chm? ( dev-libs/expat )
231 - )
232 - dev-libs/libxml2
233 - sys-fs/lvm2
234 - x11-libs/libXau
235 - x11-libs/libX11
236 - x11-libs/libXt
237 - x11-libs/libXmu
238 - x11-libs/libSM
239 - x11-libs/libICE
240 - x11-libs/libXdmcp
241 - ${PYTHON_DEPS}"
242 -
243 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
244 -S="${WORKDIR}"
245 -
246 -QA_PREBUILT="opt/VirtualBox/*"
247 -
248 -PYTHON_UPDATER_IGNORE="1"
249 -
250 -src_unpack() {
251 - unpack_makeself ${MY_P}_${ARCH}.run
252 - unpack ./VirtualBox.tar.bz2
253 -
254 - mkdir "${S}"/${EXTP_PN} || die
255 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
256 - unpack ${EXTP_P}.tar.gz
257 - popd &>/dev/null || die
258 -
259 - if [[ "${PV}" != *beta* ]] && use sdk ; then
260 - unpack VirtualBoxSDK-${SDK_PV}.zip
261 - fi
262 -}
263 -
264 -src_configure() {
265 - :;
266 -}
267 -
268 -src_compile() {
269 - :;
270 -}
271 -
272 -src_install() {
273 - # create virtualbox configurations files
274 - insinto /etc/vbox
275 - newins "${FILESDIR}/${PN}-config" vbox.cfg
276 -
277 - if ! use headless ; then
278 - newmenu "${FILESDIR}"/${PN}.desktop-2 ${PN}.desktop
279 -
280 - # set up symlinks (bug #572012)
281 - dosym ../../../../opt/VirtualBox/virtualbox.xml /usr/share/mime/packages/virtualbox.xml
282 -
283 - local size ico icofile
284 - for size in 16 24 32 48 64 72 96 128 256 ; do
285 - pushd "${S}"/icons/${size}x${size} &>/dev/null || die
286 - if [[ -f "virtualbox.png" ]] ; then
287 - doicon -s ${size} virtualbox.png
288 - fi
289 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
290 - icofile="virtualbox-${ico}.png"
291 - if [[ -f "${icofile}" ]] ; then
292 - doicon -s ${size} ${icofile}
293 - fi
294 - done
295 - popd &>/dev/null || die
296 - done
297 - doicon -s scalable "${S}"/icons/scalable/virtualbox.svg
298 - insinto /usr/share/pixmaps
299 - newins "${S}"/icons/48x48/virtualbox.png ${PN}.png
300 - fi
301 -
302 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
303 - insinto /opt/VirtualBox/ExtensionPacks/${EXTP_PN}
304 - doins -r linux.${ARCH}
305 - doins ExtPack* PXE-Intel.rom
306 - popd &>/dev/null || die
307 - rm -rf "${S}"/${EXTP_PN}
308 -
309 - insinto /opt/VirtualBox
310 - dodir /opt/bin
311 -
312 - doins UserManual.pdf
313 -
314 - if [[ "${PV}" != *beta* ]] && use sdk ; then
315 - doins -r sdk
316 - fi
317 -
318 - if use additions; then
319 - doins -r additions
320 - fi
321 -
322 - if use vboxwebsrv; then
323 - doins vboxwebsrv
324 - fowners root:vboxusers /opt/VirtualBox/vboxwebsrv
325 - fperms 0750 /opt/VirtualBox/vboxwebsrv
326 - dosym ../../opt/VirtualBox/VBox.sh /opt/bin/vboxwebsrv
327 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
328 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
329 - fi
330 -
331 - if use rdesktop-vrdp; then
332 - doins rdesktop-vrdp
333 - doins -r rdesktop-vrdp-keymaps
334 - fperms 0750 /opt/VirtualBox/rdesktop-vrdp
335 - dosym ../../opt/VirtualBox/rdesktop-vrdp /opt/bin/rdesktop-vrdp
336 - fi
337 -
338 - if ! use headless && use chm; then
339 - doins kchmviewer VirtualBox.chm
340 - fowners root:vboxusers /opt/VirtualBox/kchmviewer
341 - fperms 0750 /opt/VirtualBox/kchmviewer
342 - fi
343 -
344 - # This ebuild / package supports only py2.7. When py3 comes is unknown.
345 - # The compile phase makes VBoxPython2_7.so.
346 - # py3 support would presumably require a binary pre-compiled by py3.
347 - use python && doins VBoxPython.so VBoxPython2_7.so
348 -
349 - rm -rf src rdesktop* deffiles install* routines.sh runlevel.sh \
350 - vboxdrv.sh VBox.sh VBox.png vboxnet.sh additions VirtualBox.desktop \
351 - VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \
352 - webtest kchmviewer VirtualBox.chm vbox-create-usb-node.sh \
353 - 90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py \
354 - VBoxPython?_*.so
355 -
356 - if use headless ; then
357 - rm -rf VBoxSDL VirtualBox VBoxKeyboard.so
358 - fi
359 -
360 - doins -r * || die
361 -
362 - # create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
363 - dosym ../VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
364 - dosym ../VBoxREM.so /opt/VirtualBox/components/VBoxREM.so
365 - dosym ../VBoxRT.so /opt/VirtualBox/components/VBoxRT.so
366 - dosym ../VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so
367 - dosym ../VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
368 -
369 - local each
370 - for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,NetNAT,TestOGL,ExtPackHelperApp}; do
371 - fowners root:vboxusers /opt/VirtualBox/${each}
372 - fperms 0750 /opt/VirtualBox/${each}
373 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
374 - done
375 - # VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
376 - fperms 4750 /opt/VirtualBox/VBoxNetAdpCtl
377 - fperms 4750 /opt/VirtualBox/VBoxNetDHCP
378 - fperms 4750 /opt/VirtualBox/VBoxNetNAT
379 -
380 - if ! use headless ; then
381 - # Hardened build: Mark selected binaries set-user-ID-on-execution
382 - for each in VBox{SDL,Headless} VirtualBox; do
383 - fowners root:vboxusers /opt/VirtualBox/${each}
384 - fperms 4510 /opt/VirtualBox/${each}
385 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
386 - done
387 -
388 - dosym ../VirtualBox/VBox.sh /opt/bin/VirtualBox
389 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxSDL
390 - else
391 - # Hardened build: Mark selected binaries set-user-ID-on-execution
392 - fowners root:vboxusers /opt/VirtualBox/VBoxHeadless
393 - fperms 4510 /opt/VirtualBox/VBoxHeadless
394 - pax-mark -m "${ED%/}"/opt/VirtualBox/VBoxHeadless
395 - fi
396 -
397 - exeinto /opt/VirtualBox
398 - newexe "${FILESDIR}/${PN}-3-wrapper" "VBox.sh"
399 - fowners root:vboxusers /opt/VirtualBox/VBox.sh
400 - fperms 0750 /opt/VirtualBox/VBox.sh
401 -
402 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxManage
403 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxVRDP
404 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxHeadless
405 - dosym ../VirtualBox/VBoxTunctl /opt/bin/VBoxTunctl
406 -
407 - # set an env-variable for 3rd party tools
408 - echo -n "VBOX_APP_HOME=/opt/VirtualBox" > "${T}/90virtualbox"
409 - doenvd "${T}/90virtualbox"
410 -
411 - local udevdir="$(get_udevdir)"
412 - insinto ${udevdir}/rules.d
413 - doins "${FILESDIR}"/10-virtualbox.rules
414 - sed "s@%UDEVDIR%@${udevdir}@" \
415 - -i "${ED%/}"${udevdir}/rules.d/10-virtualbox.rules || die
416 - # move udev scripts into ${udevdir} (bug #372491)
417 - mv "${ED%/}"/opt/VirtualBox/VBoxCreateUSBNode.sh "${ED%/}"${udevdir} || die
418 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
419 -}
420 -
421 -pkg_postinst() {
422 - xdg_desktop_database_update
423 -
424 - gnome2_icon_cache_update
425 -
426 - udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
427 -
428 - elog ""
429 - if ! use headless ; then
430 - elog "To launch VirtualBox just type: \"VirtualBox\""
431 - elog ""
432 - fi
433 - elog "You must be in the vboxusers group to use VirtualBox."
434 - elog ""
435 - elog "For advanced networking setups you should emerge:"
436 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
437 - elog ""
438 - elog "Please visit http://www.virtualbox.org/wiki/Editions for"
439 - elog "an overview about the different features of ${PN}"
440 - elog "and virtualbox-ose"
441 - if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
442 - elog ""
443 - elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
444 - elog "or else USB in ${PN} won't work."
445 - fi
446 -}
447 -
448 -pkg_postrm() {
449 - xdg_desktop_database_update
450 -}
451
452 diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-6.0.2.128162.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-6.0.2.128162.ebuild
453 deleted file mode 100644
454 index d3ff954fe25..00000000000
455 --- a/app-emulation/virtualbox-bin/virtualbox-bin-6.0.2.128162.ebuild
456 +++ /dev/null
457 @@ -1,289 +0,0 @@
458 -# Copyright 1999-2019 Gentoo Authors
459 -# Distributed under the terms of the GNU General Public License v2
460 -
461 -EAPI=6
462 -
463 -PYTHON_COMPAT=( python2_7 )
464 -
465 -inherit xdg-utils gnome2 pax-utils python-r1 udev unpacker eapi7-ver
466 -
467 -MAIN_PV="$(ver_cut 1-3)"
468 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
469 - MY_PV="${MAIN_PV}_$(ver_cut 5-6)"
470 - MY_PV="${MY_PV/beta/BETA}"
471 - MY_PV="${MY_PV/rc/RC}"
472 -else
473 - MY_PV="${MAIN_PV}"
474 - KEYWORDS="~amd64" #~x86
475 -fi
476 -VBOX_BUILD_ID="$(ver_cut 4)"
477 -VBOX_PV="${MY_PV}-${VBOX_BUILD_ID}"
478 -MY_P="VirtualBox-${VBOX_PV}-Linux"
479 -# needed as sometimes the extpack gets another build ID
480 -EXTP_PV="${VBOX_PV}"
481 -EXTP_PN="Oracle_VM_VirtualBox_Extension_Pack"
482 -EXTP_P="${EXTP_PN}-${EXTP_PV}"
483 -# needed as sometimes the SDK gets another build ID
484 -SDK_PV="${VBOX_PV}"
485 -SDK_P="VirtualBoxSDK-${SDK_PV}"
486 -
487 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
488 -HOMEPAGE="https://www.virtualbox.org/"
489 -SRC_URI="amd64? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_amd64.run )
490 - https://download.virtualbox.org/virtualbox/${MY_PV}/${EXTP_P}.vbox-extpack -> ${EXTP_P}.tar.gz"
491 - #x86? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_x86.run )
492 -
493 -LICENSE="GPL-2 PUEL"
494 -SLOT="0"
495 -IUSE="+additions +chm headless python vboxwebsrv rdesktop-vrdp"
496 -RESTRICT="mirror"
497 -
498 -if [[ "${PV}" != *beta* ]] ; then
499 - SRC_URI+="
500 - sdk? ( https://download.virtualbox.org/virtualbox/${MY_PV}/${SDK_P}.zip )"
501 - IUSE+=" sdk"
502 -fi
503 -
504 -DEPEND="app-arch/unzip
505 - ${PYTHON_DEPS}"
506 -
507 -RDEPEND="!!app-emulation/virtualbox
508 - !app-emulation/virtualbox-additions
509 - ~app-emulation/virtualbox-modules-${MAIN_PV}
510 - !headless? (
511 - dev-libs/glib
512 - media-libs/fontconfig
513 - media-libs/freetype
514 - media-libs/libpng
515 - media-libs/libsdl[X]
516 - x11-libs/libXcursor
517 - x11-libs/libXext
518 - x11-libs/libXfixes
519 - x11-libs/libXft
520 - x11-libs/libXi
521 - x11-libs/libXinerama
522 - x11-libs/libXrandr
523 - x11-libs/libXrender
524 - chm? ( dev-libs/expat )
525 - )
526 - dev-libs/libxml2
527 - sys-fs/lvm2
528 - x11-libs/libXau
529 - x11-libs/libX11
530 - x11-libs/libXt
531 - x11-libs/libXmu
532 - x11-libs/libSM
533 - x11-libs/libICE
534 - x11-libs/libXdmcp
535 - ${PYTHON_DEPS}"
536 -
537 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
538 -S="${WORKDIR}"
539 -
540 -QA_PREBUILT="opt/VirtualBox/*"
541 -
542 -PYTHON_UPDATER_IGNORE="1"
543 -
544 -src_unpack() {
545 - unpack_makeself ${MY_P}_${ARCH}.run
546 - unpack ./VirtualBox.tar.bz2
547 -
548 - mkdir "${S}"/${EXTP_PN} || die
549 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
550 - unpack ${EXTP_P}.tar.gz
551 - popd &>/dev/null || die
552 -
553 - if [[ "${PV}" != *beta* ]] && use sdk ; then
554 - unpack VirtualBoxSDK-${SDK_PV}.zip
555 - fi
556 -}
557 -
558 -src_configure() {
559 - :;
560 -}
561 -
562 -src_compile() {
563 - :;
564 -}
565 -
566 -src_install() {
567 - # create virtualbox configurations files
568 - insinto /etc/vbox
569 - newins "${FILESDIR}/${PN}-config" vbox.cfg
570 -
571 - if ! use headless ; then
572 - newmenu "${FILESDIR}"/${PN}.desktop-2 ${PN}.desktop
573 -
574 - # set up symlinks (bug #572012)
575 - dosym ../../../../opt/VirtualBox/virtualbox.xml /usr/share/mime/packages/virtualbox.xml
576 -
577 - local size ico icofile
578 - for size in 16 24 32 48 64 72 96 128 256 ; do
579 - pushd "${S}"/icons/${size}x${size} &>/dev/null || die
580 - if [[ -f "virtualbox.png" ]] ; then
581 - doicon -s ${size} virtualbox.png
582 - fi
583 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
584 - icofile="virtualbox-${ico}.png"
585 - if [[ -f "${icofile}" ]] ; then
586 - doicon -s ${size} ${icofile}
587 - fi
588 - done
589 - popd &>/dev/null || die
590 - done
591 - doicon -s scalable "${S}"/icons/scalable/virtualbox.svg
592 - insinto /usr/share/pixmaps
593 - newins "${S}"/icons/48x48/virtualbox.png ${PN}.png
594 - fi
595 -
596 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
597 - insinto /opt/VirtualBox/ExtensionPacks/${EXTP_PN}
598 - doins -r linux.${ARCH}
599 - doins ExtPack* PXE-Intel.rom
600 - popd &>/dev/null || die
601 - rm -rf "${S}"/${EXTP_PN}
602 -
603 - insinto /opt/VirtualBox
604 - dodir /opt/bin
605 -
606 - doins UserManual.pdf
607 -
608 - if [[ "${PV}" != *beta* ]] && use sdk ; then
609 - doins -r sdk
610 - fi
611 -
612 - if use additions; then
613 - doins -r additions
614 - fi
615 -
616 - if use vboxwebsrv; then
617 - doins vboxwebsrv
618 - fowners root:vboxusers /opt/VirtualBox/vboxwebsrv
619 - fperms 0750 /opt/VirtualBox/vboxwebsrv
620 - dosym ../../opt/VirtualBox/VBox.sh /opt/bin/vboxwebsrv
621 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
622 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
623 - fi
624 -
625 - if use rdesktop-vrdp; then
626 - doins rdesktop-vrdp
627 - doins -r rdesktop-vrdp-keymaps
628 - fperms 0750 /opt/VirtualBox/rdesktop-vrdp
629 - dosym ../../opt/VirtualBox/rdesktop-vrdp /opt/bin/rdesktop-vrdp
630 - fi
631 -
632 - if ! use headless && use chm; then
633 - doins kchmviewer VirtualBox.chm
634 - fowners root:vboxusers /opt/VirtualBox/kchmviewer
635 - fperms 0750 /opt/VirtualBox/kchmviewer
636 - fi
637 -
638 - # This ebuild / package supports only py2.7. When py3 comes is unknown.
639 - # The compile phase makes VBoxPython2_7.so.
640 - # py3 support would presumably require a binary pre-compiled by py3.
641 - use python && doins VBoxPython.so
642 -
643 - rm -rf src rdesktop* deffiles install* routines.sh runlevel.sh \
644 - vboxdrv.sh VBox.sh VBox.png vboxnet.sh additions VirtualBox.desktop \
645 - VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \
646 - webtest kchmviewer VirtualBox.chm vbox-create-usb-node.sh \
647 - 90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py \
648 - VBoxPython?_*.so
649 -
650 - if use headless ; then
651 - rm -rf VBoxSDL VirtualBox{,VM} VBoxKeyboard.so
652 - fi
653 -
654 - doins -r * || die
655 -
656 - # create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
657 - dosym ../VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
658 - dosym ../VBoxREM.so /opt/VirtualBox/components/VBoxREM.so
659 - dosym ../VBoxRT.so /opt/VirtualBox/components/VBoxRT.so
660 - dosym ../VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so
661 - dosym ../VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
662 -
663 - local each
664 - for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,TestOGL,ExtPackHelperApp} $(usex headless '' VirtualBox) ; do
665 - fowners root:vboxusers /opt/VirtualBox/${each}
666 - fperms 0750 /opt/VirtualBox/${each}
667 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
668 - done
669 - # VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
670 - for each in VBoxNet{AdpCtl,DHCP,NAT} $(usex headless '' VirtualBoxVM) ; do
671 - fowners root:vboxusers /opt/VirtualBox/${each}
672 - fperms 4750 /opt/VirtualBox/${each}
673 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
674 - done
675 -
676 - if ! use headless ; then
677 - # Hardened build: Mark selected binaries set-user-ID-on-execution
678 - for each in VBox{SDL,Headless} ; do
679 - fowners root:vboxusers /opt/VirtualBox/${each}
680 - fperms 4510 /opt/VirtualBox/${each}
681 - pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
682 - done
683 -
684 - dosym ../VirtualBox/VBox.sh /opt/bin/VirtualBox
685 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxSDL
686 - else
687 - # Hardened build: Mark selected binaries set-user-ID-on-execution
688 - fowners root:vboxusers /opt/VirtualBox/VBoxHeadless
689 - fperms 4510 /opt/VirtualBox/VBoxHeadless
690 - pax-mark -m "${ED%/}"/opt/VirtualBox/VBoxHeadless
691 - fi
692 -
693 - exeinto /opt/VirtualBox
694 - newexe "${FILESDIR}/${PN}-3-wrapper" "VBox.sh"
695 - fowners root:vboxusers /opt/VirtualBox/VBox.sh
696 - fperms 0750 /opt/VirtualBox/VBox.sh
697 -
698 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxManage
699 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxVRDP
700 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxHeadless
701 - dosym ../VirtualBox/VBoxTunctl /opt/bin/VBoxTunctl
702 -
703 - # set an env-variable for 3rd party tools
704 - echo -n "VBOX_APP_HOME=/opt/VirtualBox" > "${T}/90virtualbox"
705 - doenvd "${T}/90virtualbox"
706 -
707 - local udevdir="$(get_udevdir)"
708 - insinto ${udevdir}/rules.d
709 - doins "${FILESDIR}"/10-virtualbox.rules
710 - sed "s@%UDEVDIR%@${udevdir}@" \
711 - -i "${ED%/}"${udevdir}/rules.d/10-virtualbox.rules || die
712 - # move udev scripts into ${udevdir} (bug #372491)
713 - mv "${ED%/}"/opt/VirtualBox/VBoxCreateUSBNode.sh "${ED%/}"${udevdir} || die
714 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
715 -}
716 -
717 -pkg_postinst() {
718 - xdg_desktop_database_update
719 -
720 - gnome2_icon_cache_update
721 -
722 - udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
723 -
724 - elog ""
725 - if ! use headless ; then
726 - elog "To launch VirtualBox just type: \"VirtualBox\""
727 - elog ""
728 - fi
729 - elog "You must be in the vboxusers group to use VirtualBox."
730 - elog ""
731 - elog "For advanced networking setups you should emerge:"
732 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
733 - elog ""
734 - elog "Please visit http://www.virtualbox.org/wiki/Editions for"
735 - elog "an overview about the different features of ${PN}"
736 - elog "and virtualbox-ose"
737 - if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
738 - elog ""
739 - elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
740 - elog "or else USB in ${PN} won't work."
741 - fi
742 -}
743 -
744 -pkg_postrm() {
745 - xdg_desktop_database_update
746 -}
747
748 diff --git a/app-emulation/virtualbox-extpack-oracle/Manifest b/app-emulation/virtualbox-extpack-oracle/Manifest
749 index 4fc4c1d3c20..802f5db446a 100644
750 --- a/app-emulation/virtualbox-extpack-oracle/Manifest
751 +++ b/app-emulation/virtualbox-extpack-oracle/Manifest
752 @@ -1,7 +1,5 @@
753 DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.22-126460.tar.gz 19640932 BLAKE2B 162ab40da6b2cd30d00e020666a1f4fb026e29af2ca9d6c36c294e5fa299b61ab8fd147f24d2b500426c768808db2c7693c30e88519e695d7759f8eedf1c52c5 SHA512 85b8552668b6580bea24f051ad861c82b9ba32177fb7fa37fe2980d8bab32a84325d02bfa9c8f55c2021a4000ef2546d8996ca8b99ca7fc19f8281a92108dfb0
754 -DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.24-128163.tar.gz 19683939 BLAKE2B ce05e159172e34e1d520b3783d77db06aa8f91067cc743beb1eeafaf01508e830f5fe9501cb1f3a6d99492e3046ec2dd2fec94ffd39a237ef4679352492aaa1a SHA512 035103e420d773201ad24093910d7175a5d548f19de4a58900e78e2ebfac711851c99375977ba9fd47fced234346437164d226592b7070a867a1d13fd534a3b5
755 DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.26-128414.tar.gz 19684009 BLAKE2B 81787dcf3b70211fa9c84a40c668100eda0dfd2ce3e1d35c226cb6913ef74027f3444be93069a5e881d8e60905477460a180cb98919050286978edf9c1edcdf3 SHA512 deb4c62d58e2071f4413f0ff769e9ecd756362920b29482a6a3d77566c327b075cb5ecafdc65985305b8b798dc56ca2104a0f8244651fca89c4e15ef879c121e
756 DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.28-130011.tar.gz 19719444 BLAKE2B 4b70bb91f4309efbc9a3127e85aaab2175dee1bd3535dce17f3e36747c60ea4b2951958020c3b922b3f832e5cc2a40785ec7fdbe9be6af8a93513ac3d8012d20 SHA512 9da57baaa508cd86663e57b9c545532207fd8460bddb9fd92c3a0058da05cd81e782f99f7c6cc3bbbe1811ebff67e9e7455ccf4a7851d2c3025c4d4d98acf10d
757 -DIST Oracle_VM_VirtualBox_Extension_Pack-6.0.2-128162.tar.gz 23289693 BLAKE2B 13e1ad30b40676ed2e11cf26957377696a9f30a7a92bda0ca5f69039ffebe4abf3bb0224844609a29ac217b227e4d1906c70cd404d3967a26dc0ace3bf4d2ccd SHA512 29b682bf8130f73b25a82e97053847077d9eb48f0510db7fb0cf2e817e1e6b9a6e7ded54ede7447c56aa7b219d32a2d6ee19cb0efbe5c7e0a984c5e137fada51
758 DIST Oracle_VM_VirtualBox_Extension_Pack-6.0.4-128413.tar.gz 23290549 BLAKE2B f9ac1a560d5e8b9b73efa21e3623c9f6f0d7769eb4cad7b01d8f68a135a74573659a0a9b092f7ab35beb348ed2722fcf7862aa66e47987b33038f488b88b1129 SHA512 ee54cbdf58de8d37ba84fffd2baec2c9d3915feeab715767515fd6d6ec3032dad2f02509b08cea24754cfce0974a7c1b29c6050bff466af53c1ac6589f4c0215
759 DIST Oracle_VM_VirtualBox_Extension_Pack-6.0.6-130049.tar.gz 23309541 BLAKE2B 550dcee0893c820e3113344f5990528ec2ade766f0a3ff1efc0965c555f820224070bec1f4b4b8b835b2150a7279d1bf9b247433a42658f0e179326c7d78eb0c SHA512 e0b0061137f2e5db1cba0aaf287be2f06cc5379e8f9b562a661beae1f2cc8855f0a78e173473bf44906ca84d6a09c0afa82e0f4026cfb5fb64f9fe6267ab3044
760
761 diff --git a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.2.24.128163.ebuild b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.2.24.128163.ebuild
762 deleted file mode 100644
763 index e598ba63811..00000000000
764 --- a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.2.24.128163.ebuild
765 +++ /dev/null
766 @@ -1,42 +0,0 @@
767 -# Copyright 1999-2019 Gentoo Authors
768 -# Distributed under the terms of the GNU General Public License v2
769 -
770 -EAPI=7
771 -
772 -inherit multilib
773 -
774 -MAIN_PV="$(ver_cut 1-3)"
775 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
776 - MY_PV="${MAIN_PV}_$(ver_cut 5)"
777 - DEP_PV="${MY_PV}"
778 - MY_PV="${MY_PV/beta/BETA}"
779 - MY_PV="${MY_PV/rc/RC}"
780 -else
781 - MY_PV="${MAIN_PV}"
782 - DEP_PV="${MAIN_PV}"
783 -fi
784 -VBOX_BUILD_ID="$(ver_cut 4)"
785 -MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
786 -MY_P="${MY_PN}-${MY_PV}-${VBOX_BUILD_ID}"
787 -
788 -DESCRIPTION="PUEL extensions for VirtualBox"
789 -HOMEPAGE="https://www.virtualbox.org/"
790 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.vbox-extpack -> ${MY_P}.tar.gz"
791 -
792 -LICENSE="PUEL"
793 -SLOT="0"
794 -KEYWORDS="~amd64 ~x86"
795 -IUSE=""
796 -RESTRICT="mirror strip"
797 -
798 -RDEPEND="~app-emulation/virtualbox-${DEP_PV}"
799 -
800 -S="${WORKDIR}"
801 -
802 -QA_PREBUILT="/usr/lib*/virtualbox/ExtensionPacks/${MY_PN}/.*"
803 -
804 -src_install() {
805 - insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}
806 - doins -r linux.${ARCH}
807 - doins ExtPack* PXE-Intel.rom
808 -}
809
810 diff --git a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-6.0.2.128162.ebuild b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-6.0.2.128162.ebuild
811 deleted file mode 100644
812 index a260ead1a63..00000000000
813 --- a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-6.0.2.128162.ebuild
814 +++ /dev/null
815 @@ -1,43 +0,0 @@
816 -# Copyright 1999-2019 Gentoo Authors
817 -# Distributed under the terms of the GNU General Public License v2
818 -
819 -EAPI=7
820 -
821 -inherit multilib
822 -
823 -MAIN_PV="$(ver_cut 1-3)"
824 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
825 - MY_PV="${MAIN_PV}_$(ver_cut 5-6)"
826 - DEP_PV="${MY_PV}"
827 - MY_PV="${MY_PV/beta/BETA}"
828 - MY_PV="${MY_PV/rc/RC}"
829 -else
830 - MY_PV="${MAIN_PV}"
831 - DEP_PV="${MAIN_PV}"
832 -fi
833 -VBOX_BUILD_ID="$(ver_cut 4)"
834 -MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
835 -MY_P="${MY_PN}-${MY_PV}-${VBOX_BUILD_ID}"
836 -
837 -DESCRIPTION="PUEL extensions for VirtualBox"
838 -HOMEPAGE="https://www.virtualbox.org/"
839 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.vbox-extpack -> ${MY_P}.tar.gz"
840 -
841 -LICENSE="PUEL"
842 -SLOT="0"
843 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
844 -KEYWORDS="~amd64 ~x86"
845 -IUSE=""
846 -RESTRICT="mirror strip"
847 -
848 -RDEPEND="~app-emulation/virtualbox-${DEP_PV}"
849 -
850 -S="${WORKDIR}"
851 -
852 -QA_PREBUILT="/usr/lib*/virtualbox/ExtensionPacks/${MY_PN}/.*"
853 -
854 -src_install() {
855 - insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}
856 - doins -r linux.${ARCH}
857 - doins ExtPack* PXE-Intel.rom
858 -}
859
860 diff --git a/app-emulation/virtualbox-guest-additions/Manifest b/app-emulation/virtualbox-guest-additions/Manifest
861 index 4c3917d2a58..e15d3cc0fa4 100644
862 --- a/app-emulation/virtualbox-guest-additions/Manifest
863 +++ b/app-emulation/virtualbox-guest-additions/Manifest
864 @@ -1,8 +1,6 @@
865 DIST VirtualBox-5.2.22.tar.bz2 118757134 BLAKE2B be795cdbfb09d3d443f63e190b63898239622f5a57aefdd90f382d9a849d09cc1abc2624071fbc60b2c04a12f33376184540cc362c19225733f99a3bcc8ff6a3 SHA512 4f6c4611a3114778f45419587dc1519ca07410c1ea6474cdb18ecd3b068639a4fdac3f25146fe9b8e006e30f19eba134ce9f665182008b033f6f78497e1ea722
866 -DIST VirtualBox-5.2.24.tar.bz2 118369194 BLAKE2B 2073ec85a641ae80113d41e8363401da5afaf6ea442c2a3c537341f39e06a03a7175463605133e642988f72c4adde4f987905c08f4ba58460953af7169cb4ca0 SHA512 2de5a19ff6aff56a4f7e7b9d7d39b3e787d2ac30d448e3313e915b1cde4b2eedccab44c7a195412efb9e9a6de3c1fb3ee96bde57af93f9ef8f317ffa8b7d4410
867 DIST VirtualBox-5.2.26.tar.bz2 118371765 BLAKE2B 32413b72e33f2f63835a2eb2d47dc75a7b63121934bdffd51ff58e9d63d68b77b4f8dac4605916ba8bd6896240d00024ccc3d7d002d4f6f92d6d9b1dc35995e3 SHA512 aee334c74bd02772ac5e0528d84d31661f61c775d0993c00febe125810efc78a2f779db41bf66283be51b19a35540fee14445bada59a8d3b7affa6ef6645005f
868 DIST VirtualBox-5.2.28.tar.bz2 118655475 BLAKE2B 4e4e75b78de3cb3b6dc2fe2c2f306487cb924bf9ca2d1b0ffc6fc349774d3fa38886d386277a32067daaabfad6e8cd58ea058a78a70d16761d76f6ebed035d16 SHA512 085cfcab82851f98c757ea109ba420335d891a99df52a811e19815b3e55a92894cfb7b6fd4a5aaf15def71811f14e21527625adf885a394144cb5f971eb57782
869 -DIST VirtualBox-6.0.2.tar.bz2 155125777 BLAKE2B 2d902fd1963305883eebba85daa03bd17fe8a9ba20e7a6482508879068a809ee80c4a5caffeb26acd0fd4ad29f6f60cf963e1d314e4b01f137ede5b589a74cb9 SHA512 9cfc03eae073ada47c050d2a5eeefa6f724ad2094f2bc3717aa010553ab0dd5af0ed0860bf120727491c7798cdff9219e53cdc3d629f61e3cd12c55068e7401b
870 DIST VirtualBox-6.0.4.tar.bz2 155233564 BLAKE2B 6bc4d450e275e8aac5dc62ab05d9ba1450e13965f3eba64819315d121bd0e515319be2ad92ab429f2e598e157e89660561de69a2aac87e14792284669bcec7e8 SHA512 c2e5418bafd5d50b46e1bc70280753c2fdfbf7248d782fc398771839950fb575eaea437e9699d56f4d8c92ea4dc9ba8bed74379565dac6114f7e9c45aecc9fdb
871 DIST VirtualBox-6.0.6.tar.bz2 155297550 BLAKE2B a886ed99da3aee7a52d8c0654c33e50ae4155077e3d5061e1888a0cb5760b12dd63fb1205b75ec04419d50261f81e56036bdba79d20b57c836f073af232c913a SHA512 eb71ca94220680ac6cba7af13eb9eef132c21e57b1b27d6bc3c564bba58b000e682d19e36b63660bfa4f4471cd0632d365659ef8c4e3e526931622901a432d1b
872 DIST virtualbox-5.2.16-patches-02.tar.xz 3152 BLAKE2B c8d8f3872f544a465c7d1aa07291599307120ac9eabfb299ddd788a11f85ca6c2d84b8e7306ee4ad436270dad0dd39f101ee68a549eac15afd1e3cdc03f23c6c SHA512 85ee8c4045de562d71ab2d761695ea48b6726a6f0c4bcaa2562bb0d147542d3f1a1b5b47cf593a7f22dac1b86f87b59a56bef421dce3e1fa8e5260cd41998450
873
874 diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.24.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.24.ebuild
875 deleted file mode 100644
876 index 5780804c8c4..00000000000
877 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.2.24.ebuild
878 +++ /dev/null
879 @@ -1,228 +0,0 @@
880 -# Copyright 1999-2019 Gentoo Authors
881 -# Distributed under the terms of the GNU General Public License v2
882 -
883 -EAPI=7
884 -
885 -inherit linux-mod systemd user toolchain-funcs
886 -
887 -MY_PV="${PV/beta/BETA}"
888 -MY_PV="${MY_PV/rc/RC}"
889 -MY_P="VirtualBox-${MY_PV}"
890 -DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
891 -HOMEPAGE="https://www.virtualbox.org/"
892 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
893 - https://dev.gentoo.org/~polynomial-c/virtualbox/patchsets/virtualbox-5.2.16-patches-02.tar.xz"
894 -
895 -LICENSE="GPL-2"
896 -SLOT="0"
897 -KEYWORDS="~amd64 ~x86"
898 -IUSE="X"
899 -
900 -RDEPEND="
901 - X? ( x11-apps/xrandr
902 - x11-apps/xrefresh
903 - x11-libs/libXmu
904 - x11-libs/libX11
905 - x11-libs/libXt
906 - x11-libs/libXext
907 - x11-libs/libXau
908 - x11-libs/libXdmcp
909 - x11-libs/libSM
910 - x11-libs/libICE )
911 - sys-apps/dbus
912 -"
913 -DEPEND="
914 - ${RDEPEND}
915 - >=dev-util/kbuild-0.1.9998.3127
916 - >=dev-lang/yasm-0.6.2
917 - sys-devel/bin86
918 - sys-libs/pam
919 - sys-power/iasl
920 - x11-base/xorg-proto
921 -"
922 -PDEPEND="
923 - X? ( x11-drivers/xf86-video-vboxvideo )
924 -"
925 -BUILD_TARGETS="all"
926 -BUILD_TARGET_ARCH="${ARCH}"
927 -
928 -S="${WORKDIR}/${MY_P}"
929 -
930 -pkg_setup() {
931 - MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
932 - vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)"
933 - use X && MODULE_NAMES+=" vboxvideo(misc:${WORKDIR}/vboxvideo::${WORKDIR}/vboxvideo)"
934 -
935 - linux-mod_pkg_setup
936 - BUILD_PARAMS="KERN_DIR=/lib/modules/${KV_FULL}/build KERNOUT=${KV_OUT_DIR}"
937 -}
938 -
939 -src_unpack() {
940 - unpack ${A}
941 -
942 - # Create and unpack a tarball with the sources of the Linux guest
943 - # kernel modules, to include all the needed files
944 - "${S}"/src/VBox/Additions/linux/export_modules.sh "${WORKDIR}/vbox-kmod.tar.gz"
945 - unpack ./vbox-kmod.tar.gz
946 -
947 - # Remove shipped binaries (kBuild,yasm), see bug #232775
948 - cd "${S}"
949 - rm -rf kBuild/bin tools
950 -}
951 -
952 -src_prepare() {
953 - # PaX fixes (see bug #298988)
954 - pushd "${WORKDIR}" &>/dev/null || die
955 - eapply "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch
956 - popd &>/dev/null || die
957 -
958 - # Disable things unused or splitted into separate ebuilds
959 - cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die
960 - use X || echo "VBOX_WITH_X11_ADDITIONS :=" >> LocalConfig.kmk
961 -
962 - # stupid new header references...
963 - local vboxheader mdir
964 - for vboxheader in {product,revision,version}-generated.h ; do
965 - for mdir in vbox{guest,sf} ; do
966 - ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
967 - "${WORKDIR}/${mdir}/${vboxheader}"
968 - done
969 - done
970 -
971 - # Remove pointless GCC version check
972 - sed -e '/^check_gcc$/d' -i configure || die
973 -
974 - rm "${WORKDIR}/patches/008_virtualbox-4.3.14-missing_define.patch" || die
975 - eapply "${WORKDIR}/patches"
976 -
977 - eapply_user
978 -}
979 -
980 -src_configure() {
981 - # build the user-space tools, warnings are harmless
982 - local cmd=(
983 - ./configure
984 - --nofatal
985 - --disable-xpcom
986 - --disable-sdl-ttf
987 - --disable-pulse
988 - --disable-alsa
989 - --with-gcc="$(tc-getCC)"
990 - --with-g++="$(tc-getCXX)"
991 - --target-arch=${ARCH}
992 - --with-linux="${KV_OUT_DIR}"
993 - --build-headless
994 - )
995 - echo "${cmd[@]}"
996 - "${cmd[@]}" || die "configure failed"
997 - source ./env.sh
998 - export VBOX_GCC_OPT="${CFLAGS} ${CPPFLAGS}"
999 -}
1000 -
1001 -src_compile() {
1002 - MAKE="kmk" \
1003 - emake TOOL_YASM_AS=yasm \
1004 - VBOX_ONLY_ADDITIONS=1 \
1005 - KBUILD_VERBOSE=2
1006 -
1007 - # Now creating the kernel modules. We must do this _after_
1008 - # we compiled the user-space tools as we need two of the
1009 - # automatically generated header files. (>=3.2.0)
1010 - linux-mod_src_compile
1011 -}
1012 -
1013 -src_install() {
1014 - linux-mod_src_install
1015 -
1016 - cd "${S}"/out/linux.${ARCH}/release/bin/additions || die
1017 -
1018 - insinto /sbin
1019 - newins mount.vboxsf mount.vboxsf
1020 - fperms 4755 /sbin/mount.vboxsf
1021 -
1022 - newinitd "${FILESDIR}"/${PN}-8.initd ${PN}
1023 -
1024 - insinto /usr/sbin/
1025 - newins VBoxService vboxguest-service
1026 - fperms 0755 /usr/sbin/vboxguest-service
1027 -
1028 - insinto /usr/bin
1029 - doins VBoxControl
1030 - fperms 0755 /usr/bin/VBoxControl
1031 -
1032 - # VBoxClient user service and xrandr wrapper
1033 - if use X ; then
1034 - doins VBoxClient
1035 - fperms 0755 /usr/bin/VBoxClient
1036 -
1037 - pushd "${S}"/src/VBox/Additions/x11/Installer &>/dev/null \
1038 - || die
1039 - newins 98vboxadd-xclient VBoxClient-all
1040 - fperms 0755 /usr/bin/VBoxClient-all
1041 - popd &>/dev/null || die
1042 - fi
1043 -
1044 - # udev rule for vboxdrv
1045 - local udev_rules_dir="/lib/udev/rules.d"
1046 - dodir ${udev_rules_dir}
1047 - echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
1048 - >> "${ED%/}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
1049 - || die
1050 - echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
1051 - >> "${ED%/}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
1052 - || die
1053 -
1054 - # VBoxClient autostart file
1055 - insinto /etc/xdg/autostart
1056 - doins "${FILESDIR}"/vboxclient.desktop
1057 -
1058 - # sample xorg.conf
1059 - insinto /usr/share/doc/${PF}
1060 - doins "${FILESDIR}"/xorg.conf.vbox
1061 -
1062 - systemd_dounit "${FILESDIR}/${PN}.service"
1063 -}
1064 -
1065 -pkg_preinst() {
1066 - enewgroup vboxguest
1067 - enewuser vboxguest -1 /bin/sh /dev/null vboxguest
1068 - # automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist
1069 - enewgroup vboxsf
1070 -}
1071 -
1072 -pkg_postinst() {
1073 - linux-mod_pkg_postinst
1074 - if ! use X ; then
1075 - elog "use flag X is off, enable it to install the"
1076 - elog "X Window System video driver."
1077 - fi
1078 - elog ""
1079 - elog "Please add users to the \"vboxguest\" group so they can"
1080 - elog "benefit from seamless mode, auto-resize and clipboard."
1081 - elog ""
1082 - elog "The vboxsf group has been added to make automount services work."
1083 - elog "These services are part of the shared folders support."
1084 - elog ""
1085 - elog "Please add:"
1086 - elog "/etc/init.d/${PN}"
1087 - elog "to the default runlevel in order to start"
1088 - elog "needed services."
1089 - elog "To use the VirtualBox X driver, use the following"
1090 - elog "file as your /etc/X11/xorg.conf:"
1091 - elog " /usr/share/doc/${PF}/xorg.conf.vbox"
1092 - elog ""
1093 - elog "Also make sure you use the Mesa library for OpenGL:"
1094 - elog " eselect opengl set xorg-x11"
1095 - elog ""
1096 - elog "An autostart .desktop file has been installed to start"
1097 - elog "VBoxClient in desktop sessions."
1098 - elog ""
1099 - elog "You can mount shared folders with:"
1100 - elog " mount -t vboxsf <shared_folder_name> <mount_point>"
1101 - elog ""
1102 - elog "Warning:"
1103 - elog "this ebuild is only needed if you are running gentoo"
1104 - elog "inside a VirtualBox Virtual Machine, you don't need"
1105 - elog "it to run VirtualBox itself."
1106 - elog ""
1107 -}
1108
1109 diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.0.2.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.0.2.ebuild
1110 deleted file mode 100644
1111 index 1cda2a1f29f..00000000000
1112 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.0.2.ebuild
1113 +++ /dev/null
1114 @@ -1,229 +0,0 @@
1115 -# Copyright 1999-2019 Gentoo Authors
1116 -# Distributed under the terms of the GNU General Public License v2
1117 -
1118 -EAPI=7
1119 -
1120 -inherit linux-mod systemd user toolchain-funcs
1121 -
1122 -MY_PV="${PV/beta/BETA}"
1123 -MY_PV="${MY_PV/rc/RC}"
1124 -MY_P="VirtualBox-${MY_PV}"
1125 -DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
1126 -HOMEPAGE="https://www.virtualbox.org/"
1127 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
1128 - https://dev.gentoo.org/~polynomial-c/virtualbox/patchsets/virtualbox-6.0.0_beta2-patches-01.tar.xz"
1129 -
1130 -LICENSE="GPL-2"
1131 -SLOT="0"
1132 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
1133 -KEYWORDS="~amd64 ~x86"
1134 -IUSE="X"
1135 -
1136 -RDEPEND="
1137 - X? ( x11-apps/xrandr
1138 - x11-apps/xrefresh
1139 - x11-libs/libXmu
1140 - x11-libs/libX11
1141 - x11-libs/libXt
1142 - x11-libs/libXext
1143 - x11-libs/libXau
1144 - x11-libs/libXdmcp
1145 - x11-libs/libSM
1146 - x11-libs/libICE )
1147 - sys-apps/dbus
1148 -"
1149 -DEPEND="
1150 - ${RDEPEND}
1151 - >=dev-util/kbuild-0.1.9998.3127
1152 - >=dev-lang/yasm-0.6.2
1153 - sys-devel/bin86
1154 - sys-libs/pam
1155 - sys-power/iasl
1156 - x11-base/xorg-proto
1157 -"
1158 -PDEPEND="
1159 - X? ( x11-drivers/xf86-video-vboxvideo )
1160 -"
1161 -BUILD_TARGETS="all"
1162 -BUILD_TARGET_ARCH="${ARCH}"
1163 -
1164 -S="${WORKDIR}/${MY_P}"
1165 -
1166 -pkg_setup() {
1167 - MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
1168 - vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)"
1169 - use X && MODULE_NAMES+=" vboxvideo(misc:${WORKDIR}/vboxvideo::${WORKDIR}/vboxvideo)"
1170 -
1171 - linux-mod_pkg_setup
1172 - BUILD_PARAMS="KERN_DIR=/lib/modules/${KV_FULL}/build KERNOUT=${KV_OUT_DIR}"
1173 -}
1174 -
1175 -src_unpack() {
1176 - unpack ${A}
1177 -
1178 - # Create and unpack a tarball with the sources of the Linux guest
1179 - # kernel modules, to include all the needed files
1180 - "${S}"/src/VBox/Additions/linux/export_modules.sh "${WORKDIR}/vbox-kmod.tar.gz"
1181 - unpack ./vbox-kmod.tar.gz
1182 -
1183 - # Remove shipped binaries (kBuild,yasm), see bug #232775
1184 - cd "${S}"
1185 - rm -rf kBuild/bin tools
1186 -}
1187 -
1188 -src_prepare() {
1189 - # PaX fixes (see bug #298988)
1190 - pushd "${WORKDIR}" &>/dev/null || die
1191 - eapply "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch
1192 - popd &>/dev/null || die
1193 -
1194 - # Disable things unused or splitted into separate ebuilds
1195 - cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die
1196 - use X || echo "VBOX_WITH_X11_ADDITIONS :=" >> LocalConfig.kmk
1197 -
1198 - # stupid new header references...
1199 - local vboxheader mdir
1200 - for vboxheader in {product,revision,version}-generated.h ; do
1201 - for mdir in vbox{guest,sf} ; do
1202 - ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
1203 - "${WORKDIR}/${mdir}/${vboxheader}"
1204 - done
1205 - done
1206 -
1207 - # Remove pointless GCC version check
1208 - sed -e '/^check_gcc$/d' -i configure || die
1209 -
1210 - rm "${WORKDIR}/patches/010_virtualbox-5.2.12-qt511.patch" || die
1211 - eapply "${WORKDIR}/patches"
1212 -
1213 - eapply_user
1214 -}
1215 -
1216 -src_configure() {
1217 - # build the user-space tools, warnings are harmless
1218 - local cmd=(
1219 - ./configure
1220 - --nofatal
1221 - --disable-xpcom
1222 - --disable-sdl-ttf
1223 - --disable-pulse
1224 - --disable-alsa
1225 - --with-gcc="$(tc-getCC)"
1226 - --with-g++="$(tc-getCXX)"
1227 - --target-arch=${ARCH}
1228 - --with-linux="${KV_OUT_DIR}"
1229 - --build-headless
1230 - )
1231 - echo "${cmd[@]}"
1232 - "${cmd[@]}" || die "configure failed"
1233 - source ./env.sh
1234 - export VBOX_GCC_OPT="${CFLAGS} ${CPPFLAGS}"
1235 -}
1236 -
1237 -src_compile() {
1238 - MAKE="kmk" \
1239 - emake TOOL_YASM_AS=yasm \
1240 - VBOX_ONLY_ADDITIONS=1 \
1241 - KBUILD_VERBOSE=2
1242 -
1243 - # Now creating the kernel modules. We must do this _after_
1244 - # we compiled the user-space tools as we need two of the
1245 - # automatically generated header files. (>=3.2.0)
1246 - linux-mod_src_compile
1247 -}
1248 -
1249 -src_install() {
1250 - linux-mod_src_install
1251 -
1252 - cd "${S}"/out/linux.${ARCH}/release/bin/additions || die
1253 -
1254 - insinto /sbin
1255 - newins mount.vboxsf mount.vboxsf
1256 - fperms 4755 /sbin/mount.vboxsf
1257 -
1258 - newinitd "${FILESDIR}"/${PN}-8.initd ${PN}
1259 -
1260 - insinto /usr/sbin/
1261 - newins VBoxService vboxguest-service
1262 - fperms 0755 /usr/sbin/vboxguest-service
1263 -
1264 - insinto /usr/bin
1265 - doins VBoxControl
1266 - fperms 0755 /usr/bin/VBoxControl
1267 -
1268 - # VBoxClient user service and xrandr wrapper
1269 - if use X ; then
1270 - doins VBoxClient
1271 - fperms 0755 /usr/bin/VBoxClient
1272 -
1273 - pushd "${S}"/src/VBox/Additions/x11/Installer &>/dev/null \
1274 - || die
1275 - newins 98vboxadd-xclient VBoxClient-all
1276 - fperms 0755 /usr/bin/VBoxClient-all
1277 - popd &>/dev/null || die
1278 - fi
1279 -
1280 - # udev rule for vboxdrv
1281 - local udev_rules_dir="/lib/udev/rules.d"
1282 - dodir ${udev_rules_dir}
1283 - echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
1284 - >> "${ED%/}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
1285 - || die
1286 - echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
1287 - >> "${ED%/}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
1288 - || die
1289 -
1290 - # VBoxClient autostart file
1291 - insinto /etc/xdg/autostart
1292 - doins "${FILESDIR}"/vboxclient.desktop
1293 -
1294 - # sample xorg.conf
1295 - insinto /usr/share/doc/${PF}
1296 - doins "${FILESDIR}"/xorg.conf.vbox
1297 -
1298 - systemd_dounit "${FILESDIR}/${PN}.service"
1299 -}
1300 -
1301 -pkg_preinst() {
1302 - enewgroup vboxguest
1303 - enewuser vboxguest -1 /bin/sh /dev/null vboxguest
1304 - # automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist
1305 - enewgroup vboxsf
1306 -}
1307 -
1308 -pkg_postinst() {
1309 - linux-mod_pkg_postinst
1310 - if ! use X ; then
1311 - elog "use flag X is off, enable it to install the"
1312 - elog "X Window System video driver."
1313 - fi
1314 - elog ""
1315 - elog "Please add users to the \"vboxguest\" group so they can"
1316 - elog "benefit from seamless mode, auto-resize and clipboard."
1317 - elog ""
1318 - elog "The vboxsf group has been added to make automount services work."
1319 - elog "These services are part of the shared folders support."
1320 - elog ""
1321 - elog "Please add:"
1322 - elog "/etc/init.d/${PN}"
1323 - elog "to the default runlevel in order to start"
1324 - elog "needed services."
1325 - elog "To use the VirtualBox X driver, use the following"
1326 - elog "file as your /etc/X11/xorg.conf:"
1327 - elog " /usr/share/doc/${PF}/xorg.conf.vbox"
1328 - elog ""
1329 - elog "Also make sure you use the Mesa library for OpenGL:"
1330 - elog " eselect opengl set xorg-x11"
1331 - elog ""
1332 - elog "An autostart .desktop file has been installed to start"
1333 - elog "VBoxClient in desktop sessions."
1334 - elog ""
1335 - elog "You can mount shared folders with:"
1336 - elog " mount -t vboxsf <shared_folder_name> <mount_point>"
1337 - elog ""
1338 - elog "Warning:"
1339 - elog "this ebuild is only needed if you are running gentoo"
1340 - elog "inside a VirtualBox Virtual Machine, you don't need"
1341 - elog "it to run VirtualBox itself."
1342 - elog ""
1343 -}
1344
1345 diff --git a/app-emulation/virtualbox-modules/Manifest b/app-emulation/virtualbox-modules/Manifest
1346 index 7520c1ec60a..9097823c8a2 100644
1347 --- a/app-emulation/virtualbox-modules/Manifest
1348 +++ b/app-emulation/virtualbox-modules/Manifest
1349 @@ -1,7 +1,5 @@
1350 DIST vbox-kernel-module-src-5.2.22.tar.xz 638492 BLAKE2B 71aba29b056bb3dfeffbf4632fbf7f15d89b988267ba24c766b78b1d9c50a4d27fb1b8e699108b973af68024f9f77ca0a8ad787355d7342fe1400f14189487ff SHA512 3361bb536af8e8d490377be04d1b1b9af478538e23ec409d3e0205ad930c16e5228c57ae7d92d214ac533ae64298d9eaff3c9284ff9bb308108d1ad7d69fb507
1351 -DIST vbox-kernel-module-src-5.2.24.tar.xz 642124 BLAKE2B fbf077b1d94f0b2f6ccb1a9a9f2e9b6f2b02153659f60a28bf3905bbd9aca762bcdbbe1a96ff602048a4d43eb61b8195c1c511bea7248d0593efd7972a17fc5b SHA512 ba0dc0ba4964eb17c421f624e321369a96564f08daa7e6949db9cbde2a182cd29a51f7b0a3215938789bb61e2427cbd38e318e5d909fd54d243ef764f51eb0e4
1352 DIST vbox-kernel-module-src-5.2.26.tar.xz 642096 BLAKE2B fa908b8dda4c49e880005f22d4ec159ba4e84b20d3cf8f514ec5ad0ea556499b0df25fb714bb5f9a3474e6fc1cba67f6d56fddaee748b9561bbe31a003dd0657 SHA512 7f37be1b35772d59cd3df9b61dec436450de3c038faf2cd22fb891fee7270aa7f87f146f72497ffeb63dfe869cccd3f2788562d23fc51afd83ca19159f2a6810
1353 DIST vbox-kernel-module-src-5.2.28.tar.xz 642000 BLAKE2B 65ffe2345e978e0afba079e9291d55dc0419853718831d4c47e8e3e4f9fa194957342683aec0f362aa3f3924dca90d73ac30d947dec69ff54106d8e229510889 SHA512 bef0601b295d1a5cc0387262a6c75ec33777edaeaa543218bc7ddea5ced3995511978abfb624d2547fc6339c41e638054fb173ee7e0aeb46c7356a24834b3d83
1354 -DIST vbox-kernel-module-src-6.0.2.tar.xz 665352 BLAKE2B 703291334afb8662211dfc5223d66dafa496612ca917637b2d34f6d38475287a1eed00e484965c670da236fdfcc558e0c7ebd081be1f6674603af2c0b6bda549 SHA512 c05f3e89b2fc5a504e77f0617dbe9ccde8de6d9b06e4c2f6d59d90f362b2d5a8207d64b16a8c767e63066a04236934664dfd452b23f4c5a2c4a3b301e07212c9
1355 DIST vbox-kernel-module-src-6.0.4.tar.xz 666200 BLAKE2B b7a6911a8534ae9e7db5a90fecfaf58394bf61ff1ee925302fdea46443e603535d1508b638c7c3f2440c0fe1176ca85d2f063f99632eb1a9093a9367f2e49fdc SHA512 565d635683f8a5f32c18b1bbf41b38bcab549a019cf0977c8dfbb53310494fb261e485ac11eb48e546c3c4b6ed13b3fb1628013dbc101f042ee9a61b8168122a
1356 DIST vbox-kernel-module-src-6.0.6.tar.xz 667936 BLAKE2B 5eca0167ad6c624bb56978c07c0184ef39d789ca5752fee3fcb00a2f5a7af4d20a69dde4288fc5233111ea821eab69d6970a86861459d09d6050d93f09f8f2ef SHA512 aff4b1f200abfdb7e249e6c725ab9c2a4c83010bd0c7b6d2d6595ae7d7bc6b2bd291f77c1597b3fb2c39de61867447c18e06d865a50565ccb07120de2c34d141
1357
1358 diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.2.24.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.2.24.ebuild
1359 deleted file mode 100644
1360 index c4b01a1b3f9..00000000000
1361 --- a/app-emulation/virtualbox-modules/virtualbox-modules-5.2.24.ebuild
1362 +++ /dev/null
1363 @@ -1,51 +0,0 @@
1364 -# Copyright 1999-2019 Gentoo Authors
1365 -# Distributed under the terms of the GNU General Public License v2
1366 -
1367 -# XXX: the tarball here is just the kernel modules split out of the binary
1368 -# package that comes from virtualbox-bin
1369 -
1370 -EAPI=7
1371 -
1372 -inherit linux-mod user
1373 -
1374 -MY_P="vbox-kernel-module-src-${PV}"
1375 -DESCRIPTION="Kernel Modules for Virtualbox"
1376 -HOMEPAGE="https://www.virtualbox.org/"
1377 -SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
1378 -
1379 -LICENSE="GPL-2"
1380 -SLOT="0"
1381 -KEYWORDS="~amd64 ~x86"
1382 -IUSE="pax_kernel"
1383 -
1384 -RDEPEND="!=app-emulation/virtualbox-9999"
1385 -
1386 -S="${WORKDIR}"
1387 -
1388 -BUILD_TARGETS="all"
1389 -BUILD_TARGET_ARCH="${ARCH}"
1390 -MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})"
1391 -
1392 -pkg_setup() {
1393 - enewgroup vboxusers
1394 - linux-mod_pkg_setup
1395 - BUILD_PARAMS="CC=$(tc-getBUILD_CC) KERN_DIR=${KV_DIR} KERN_VER=${KV_FULL} O=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1"
1396 -}
1397 -
1398 -src_prepare() {
1399 - if use pax_kernel && kernel_is -ge 3 0 0 ; then
1400 - eapply -p0 "${FILESDIR}"/${PN}-5.2.8-pax-const.patch
1401 - fi
1402 -
1403 - default
1404 -}
1405 -
1406 -src_install() {
1407 - linux-mod_src_install
1408 - insinto /usr/lib/modules-load.d/
1409 - doins "${FILESDIR}"/virtualbox.conf
1410 -}
1411 -
1412 -pkg_postinst() {
1413 - linux-mod_pkg_postinst
1414 -}
1415
1416 diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-6.0.2.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-6.0.2.ebuild
1417 deleted file mode 100644
1418 index 7257cb3b581..00000000000
1419 --- a/app-emulation/virtualbox-modules/virtualbox-modules-6.0.2.ebuild
1420 +++ /dev/null
1421 @@ -1,52 +0,0 @@
1422 -# Copyright 1999-2019 Gentoo Authors
1423 -# Distributed under the terms of the GNU General Public License v2
1424 -
1425 -# XXX: the tarball here is just the kernel modules split out of the binary
1426 -# package that comes from virtualbox-bin
1427 -
1428 -EAPI=7
1429 -
1430 -inherit linux-mod user
1431 -
1432 -MY_P="vbox-kernel-module-src-${PV}"
1433 -DESCRIPTION="Kernel Modules for Virtualbox"
1434 -HOMEPAGE="https://www.virtualbox.org/"
1435 -SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
1436 -
1437 -LICENSE="GPL-2"
1438 -SLOT="0"
1439 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
1440 -KEYWORDS="~amd64 ~x86"
1441 -IUSE="pax_kernel"
1442 -
1443 -RDEPEND="!=app-emulation/virtualbox-9999"
1444 -
1445 -S="${WORKDIR}"
1446 -
1447 -BUILD_TARGETS="all"
1448 -BUILD_TARGET_ARCH="${ARCH}"
1449 -MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})"
1450 -
1451 -pkg_setup() {
1452 - enewgroup vboxusers
1453 - linux-mod_pkg_setup
1454 - BUILD_PARAMS="CC=$(tc-getBUILD_CC) KERN_DIR=${KV_DIR} KERN_VER=${KV_FULL} O=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1"
1455 -}
1456 -
1457 -src_prepare() {
1458 - if use pax_kernel && kernel_is -ge 3 0 0 ; then
1459 - eapply -p0 "${FILESDIR}"/${PN}-5.2.8-pax-const.patch
1460 - fi
1461 -
1462 - default
1463 -}
1464 -
1465 -src_install() {
1466 - linux-mod_src_install
1467 - insinto /usr/lib/modules-load.d/
1468 - doins "${FILESDIR}"/virtualbox.conf
1469 -}
1470 -
1471 -pkg_postinst() {
1472 - linux-mod_pkg_postinst
1473 -}
1474
1475 diff --git a/app-emulation/virtualbox/Manifest b/app-emulation/virtualbox/Manifest
1476 index 4c3917d2a58..e15d3cc0fa4 100644
1477 --- a/app-emulation/virtualbox/Manifest
1478 +++ b/app-emulation/virtualbox/Manifest
1479 @@ -1,8 +1,6 @@
1480 DIST VirtualBox-5.2.22.tar.bz2 118757134 BLAKE2B be795cdbfb09d3d443f63e190b63898239622f5a57aefdd90f382d9a849d09cc1abc2624071fbc60b2c04a12f33376184540cc362c19225733f99a3bcc8ff6a3 SHA512 4f6c4611a3114778f45419587dc1519ca07410c1ea6474cdb18ecd3b068639a4fdac3f25146fe9b8e006e30f19eba134ce9f665182008b033f6f78497e1ea722
1481 -DIST VirtualBox-5.2.24.tar.bz2 118369194 BLAKE2B 2073ec85a641ae80113d41e8363401da5afaf6ea442c2a3c537341f39e06a03a7175463605133e642988f72c4adde4f987905c08f4ba58460953af7169cb4ca0 SHA512 2de5a19ff6aff56a4f7e7b9d7d39b3e787d2ac30d448e3313e915b1cde4b2eedccab44c7a195412efb9e9a6de3c1fb3ee96bde57af93f9ef8f317ffa8b7d4410
1482 DIST VirtualBox-5.2.26.tar.bz2 118371765 BLAKE2B 32413b72e33f2f63835a2eb2d47dc75a7b63121934bdffd51ff58e9d63d68b77b4f8dac4605916ba8bd6896240d00024ccc3d7d002d4f6f92d6d9b1dc35995e3 SHA512 aee334c74bd02772ac5e0528d84d31661f61c775d0993c00febe125810efc78a2f779db41bf66283be51b19a35540fee14445bada59a8d3b7affa6ef6645005f
1483 DIST VirtualBox-5.2.28.tar.bz2 118655475 BLAKE2B 4e4e75b78de3cb3b6dc2fe2c2f306487cb924bf9ca2d1b0ffc6fc349774d3fa38886d386277a32067daaabfad6e8cd58ea058a78a70d16761d76f6ebed035d16 SHA512 085cfcab82851f98c757ea109ba420335d891a99df52a811e19815b3e55a92894cfb7b6fd4a5aaf15def71811f14e21527625adf885a394144cb5f971eb57782
1484 -DIST VirtualBox-6.0.2.tar.bz2 155125777 BLAKE2B 2d902fd1963305883eebba85daa03bd17fe8a9ba20e7a6482508879068a809ee80c4a5caffeb26acd0fd4ad29f6f60cf963e1d314e4b01f137ede5b589a74cb9 SHA512 9cfc03eae073ada47c050d2a5eeefa6f724ad2094f2bc3717aa010553ab0dd5af0ed0860bf120727491c7798cdff9219e53cdc3d629f61e3cd12c55068e7401b
1485 DIST VirtualBox-6.0.4.tar.bz2 155233564 BLAKE2B 6bc4d450e275e8aac5dc62ab05d9ba1450e13965f3eba64819315d121bd0e515319be2ad92ab429f2e598e157e89660561de69a2aac87e14792284669bcec7e8 SHA512 c2e5418bafd5d50b46e1bc70280753c2fdfbf7248d782fc398771839950fb575eaea437e9699d56f4d8c92ea4dc9ba8bed74379565dac6114f7e9c45aecc9fdb
1486 DIST VirtualBox-6.0.6.tar.bz2 155297550 BLAKE2B a886ed99da3aee7a52d8c0654c33e50ae4155077e3d5061e1888a0cb5760b12dd63fb1205b75ec04419d50261f81e56036bdba79d20b57c836f073af232c913a SHA512 eb71ca94220680ac6cba7af13eb9eef132c21e57b1b27d6bc3c564bba58b000e682d19e36b63660bfa4f4471cd0632d365659ef8c4e3e526931622901a432d1b
1487 DIST virtualbox-5.2.16-patches-02.tar.xz 3152 BLAKE2B c8d8f3872f544a465c7d1aa07291599307120ac9eabfb299ddd788a11f85ca6c2d84b8e7306ee4ad436270dad0dd39f101ee68a549eac15afd1e3cdc03f23c6c SHA512 85ee8c4045de562d71ab2d761695ea48b6726a6f0c4bcaa2562bb0d147542d3f1a1b5b47cf593a7f22dac1b86f87b59a56bef421dce3e1fa8e5260cd41998450
1488
1489 diff --git a/app-emulation/virtualbox/virtualbox-5.2.24.ebuild b/app-emulation/virtualbox/virtualbox-5.2.24.ebuild
1490 deleted file mode 100644
1491 index 4464ccc84a0..00000000000
1492 --- a/app-emulation/virtualbox/virtualbox-5.2.24.ebuild
1493 +++ /dev/null
1494 @@ -1,480 +0,0 @@
1495 -# Copyright 1999-2019 Gentoo Authors
1496 -# Distributed under the terms of the GNU General Public License v2
1497 -
1498 -EAPI=6
1499 -
1500 -PYTHON_COMPAT=( python2_7 )
1501 -inherit flag-o-matic gnome2-utils java-pkg-opt-2 linux-info pax-utils python-single-r1 tmpfiles toolchain-funcs udev xdg-utils
1502 -
1503 -MY_PV="${PV/beta/BETA}"
1504 -MY_PV="${MY_PV/rc/RC}"
1505 -MY_P=VirtualBox-${MY_PV}
1506 -
1507 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
1508 -HOMEPAGE="https://www.virtualbox.org/"
1509 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
1510 - https://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-5.2.16-patches-02.tar.xz"
1511 -
1512 -LICENSE="GPL-2"
1513 -SLOT="0"
1514 -KEYWORDS="~amd64 ~x86"
1515 -IUSE="alsa debug doc headless java libressl lvm +opus pam pax_kernel pulseaudio +opengl python +qt5 +sdk +udev vboxwebsrv vnc"
1516 -
1517 -RDEPEND="!app-emulation/virtualbox-bin
1518 - ~app-emulation/virtualbox-modules-${PV}
1519 - dev-libs/libIDL
1520 - >=dev-libs/libxslt-1.1.19
1521 - net-misc/curl
1522 - dev-libs/libxml2
1523 - media-libs/libpng:0=
1524 - media-libs/libvpx:0=
1525 - sys-libs/zlib:=
1526 - !headless? (
1527 - media-libs/libsdl:0[X,video]
1528 - x11-libs/libX11
1529 - x11-libs/libxcb:=
1530 - x11-libs/libXcursor
1531 - x11-libs/libXext
1532 - x11-libs/libXmu
1533 - x11-libs/libXt
1534 - opengl? ( virtual/opengl media-libs/freeglut )
1535 - qt5? (
1536 - dev-qt/qtcore:5
1537 - dev-qt/qtgui:5
1538 - dev-qt/qtprintsupport:5
1539 - dev-qt/qtwidgets:5
1540 - dev-qt/qtx11extras:5
1541 - opengl? ( dev-qt/qtopengl:5 )
1542 - x11-libs/libXinerama
1543 - )
1544 - )
1545 - libressl? ( dev-libs/libressl:= )
1546 - !libressl? ( dev-libs/openssl:0= )
1547 - lvm? ( sys-fs/lvm2 )
1548 - opus? ( media-libs/opus )
1549 - udev? ( >=virtual/udev-171 )
1550 - vnc? ( >=net-libs/libvncserver-0.9.9 )"
1551 -DEPEND="${RDEPEND}
1552 - >=dev-util/kbuild-0.1.9998.3127
1553 - >=dev-lang/yasm-0.6.2
1554 - sys-devel/bin86
1555 - sys-libs/libcap
1556 - sys-power/iasl
1557 - virtual/pkgconfig
1558 - alsa? ( >=media-libs/alsa-lib-1.0.13 )
1559 - doc? (
1560 - app-text/docbook-sgml-dtd:4.4
1561 - dev-texlive/texlive-basic
1562 - dev-texlive/texlive-latex
1563 - dev-texlive/texlive-latexrecommended
1564 - dev-texlive/texlive-latexextra
1565 - dev-texlive/texlive-fontsrecommended
1566 - dev-texlive/texlive-fontsextra
1567 - )
1568 - !headless? ( x11-libs/libXinerama )
1569 - java? ( >=virtual/jdk-1.6 )
1570 - pam? ( sys-libs/pam )
1571 - pax_kernel? ( sys-apps/elfix )
1572 - pulseaudio? ( media-sound/pulseaudio )
1573 - qt5? ( dev-qt/linguist-tools:5 )
1574 - vboxwebsrv? ( net-libs/gsoap[-gnutls(-)] )
1575 - ${PYTHON_DEPS}"
1576 -RDEPEND="${RDEPEND}
1577 - java? ( >=virtual/jre-1.6 )"
1578 -
1579 -QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
1580 - usr/lib/virtualbox/VBoxSDL.so
1581 - usr/lib/virtualbox/VBoxSharedFolders.so
1582 - usr/lib/virtualbox/VBoxDD2.so
1583 - usr/lib/virtualbox/VBoxOGLrenderspu.so
1584 - usr/lib/virtualbox/VBoxPython.so
1585 - usr/lib/virtualbox/VBoxDD.so
1586 - usr/lib/virtualbox/VBoxDDU.so
1587 - usr/lib/virtualbox/VBoxREM64.so
1588 - usr/lib/virtualbox/VBoxSharedClipboard.so
1589 - usr/lib/virtualbox/VBoxHeadless.so
1590 - usr/lib/virtualbox/VBoxRT.so
1591 - usr/lib/virtualbox/VBoxREM.so
1592 - usr/lib/virtualbox/VBoxSettings.so
1593 - usr/lib/virtualbox/VBoxKeyboard.so
1594 - usr/lib/virtualbox/VBoxSharedCrOpenGL.so
1595 - usr/lib/virtualbox/VBoxVMM.so
1596 - usr/lib/virtualbox/VirtualBox.so
1597 - usr/lib/virtualbox/VBoxOGLhosterrorspu.so
1598 - usr/lib/virtualbox/components/VBoxC.so
1599 - usr/lib/virtualbox/components/VBoxSVCM.so
1600 - usr/lib/virtualbox/components/VBoxDDU.so
1601 - usr/lib/virtualbox/components/VBoxRT.so
1602 - usr/lib/virtualbox/components/VBoxREM.so
1603 - usr/lib/virtualbox/components/VBoxVMM.so
1604 - usr/lib/virtualbox/VBoxREM32.so
1605 - usr/lib/virtualbox/VBoxPython2_7.so
1606 - usr/lib/virtualbox/VBoxXPCOMC.so
1607 - usr/lib/virtualbox/VBoxOGLhostcrutil.so
1608 - usr/lib/virtualbox/VBoxNetDHCP.so
1609 - usr/lib/virtualbox/VBoxNetNAT.so"
1610 -
1611 -S="${WORKDIR}/${MY_P}"
1612 -
1613 -REQUIRED_USE="
1614 - java? ( sdk )
1615 - python? ( sdk )
1616 - vboxwebsrv? ( java )
1617 - ${PYTHON_REQUIRED_USE}
1618 -"
1619 -
1620 -pkg_pretend() {
1621 - if ! use headless && ! use qt5 ; then
1622 - einfo "No USE=\"qt5\" selected, this build will not include any Qt frontend."
1623 - elif use headless && use qt5 ; then
1624 - einfo "You selected USE=\"headless qt5\", defaulting to"
1625 - einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
1626 - fi
1627 -
1628 - if ! use opengl ; then
1629 - einfo "No USE=\"opengl\" selected, this build will lack"
1630 - einfo "the OpenGL feature."
1631 - fi
1632 - if ! use python ; then
1633 - einfo "You have disabled the \"python\" USE flag. This will only"
1634 - einfo "disable the python bindings being installed."
1635 - fi
1636 -}
1637 -
1638 -pkg_setup() {
1639 - java-pkg-opt-2_pkg_setup
1640 - python-single-r1_pkg_setup
1641 -
1642 - tc-ld-disable-gold #bug 488176
1643 - tc-export CC CXX LD AR RANLIB
1644 - export HOST_CC="$(tc-getBUILD_CC)"
1645 -}
1646 -
1647 -src_prepare() {
1648 - # Remove shipped binaries (kBuild,yasm), see bug #232775
1649 - rm -r kBuild/bin tools || die
1650 -
1651 - # Replace pointless GCC version check with something less stupid.
1652 - # This is needed for the qt5 version check.
1653 - sed -e 's@^check_gcc$@cc_maj="$(gcc -dumpversion | cut -d. -f1)" ; cc_min="$(gcc -dumpversion | cut -d. -f2)"@' \
1654 - -i configure || die
1655 -
1656 - # Disable things unused or split into separate ebuilds
1657 - sed -e "s@MY_LIBDIR@$(get_libdir)@" \
1658 - "${FILESDIR}"/${PN}-5-localconfig > LocalConfig.kmk || die
1659 -
1660 - # Respect LDFLAGS
1661 - sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
1662 - -i Config.kmk src/libs/xpcom18a4/Config.kmk || die
1663 -
1664 - # Do not use hard-coded ld (related to bug #488176)
1665 - sed -e '/QUIET)ld /s@ld @$(LD) @' \
1666 - -i src/VBox/Devices/PC/ipxe/Makefile.kmk || die
1667 -
1668 - # Use PAM only when pam USE flag is enbaled (bug #376531)
1669 - if ! use pam ; then
1670 - elog "Disabling PAM removes the possibility to use the VRDP features."
1671 - sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die
1672 - sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \
1673 - src/VBox/HostServices/Makefile.kmk || die
1674 - fi
1675 -
1676 - # add correct java path
1677 - if use java ; then
1678 - sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \
1679 - -i "${S}"/Config.kmk || die
1680 - java-pkg-opt-2_src_prepare
1681 - fi
1682 -
1683 - # Only add nopie patch when we're on hardened
1684 - if gcc-specs-pie ; then
1685 - eapply "${FILESDIR}/050_virtualbox-5.2.8-nopie.patch"
1686 - fi
1687 -
1688 - # Only add paxmark patch when we're on pax_kernel
1689 - if use pax_kernel ; then
1690 - eapply "${FILESDIR}"/virtualbox-5.2.8-paxmark-bldprogs.patch
1691 - fi
1692 -
1693 - rm "${WORKDIR}/patches/008_virtualbox-4.3.14-missing_define.patch" || die
1694 - eapply "${WORKDIR}/patches"
1695 -
1696 - eapply_user
1697 -}
1698 -
1699 -doecho() {
1700 - echo "$@"
1701 - "$@" || die
1702 -}
1703 -
1704 -src_configure() {
1705 - local myconf=(
1706 - --with-gcc="$(tc-getCC)"
1707 - --with-g++="$(tc-getCXX)"
1708 - --disable-dbus
1709 - --disable-kmods
1710 - $(usex alsa '' --disable-alsa)
1711 - $(usex debug --build-debug '')
1712 - $(usex doc '' --disable-docs)
1713 - $(usex java '' --disable-java)
1714 - $(usex lvm '' --disable-devmapper)
1715 - $(usex opus --build-libopus '')
1716 - $(usex pulseaudio '' --disable-pulse)
1717 - $(usex python '' --disable-python)
1718 - $(usex vboxwebsrv --enable-webservice '')
1719 - $(usex vnc --enable-vnc '')
1720 - )
1721 - if ! use headless ; then
1722 - myconf+=(
1723 - $(usex opengl '' --disable-opengl)
1724 - $(usex qt5 '' --disable-qt)
1725 - )
1726 - else
1727 - myconf+=(
1728 - --build-headless
1729 - --disable-opengl
1730 - )
1731 - fi
1732 - if use amd64 && ! has_multilib_profile ; then
1733 - myconf+=( --disable-vmmraw )
1734 - fi
1735 - # not an autoconf script
1736 - doecho ./configure ${myconf[@]}
1737 -}
1738 -
1739 -src_compile() {
1740 - source ./env.sh || die
1741 -
1742 - # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
1743 - MAKEJOBS=$(grep -Eo '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
1744 - MAKELOAD=$(grep -Eo '(\-l|\-\-load-average)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
1745 - MAKEOPTS="${MAKEJOBS} ${MAKELOAD}"
1746 - MAKE="kmk" emake \
1747 - VBOX_BUILD_PUBLISHER=_Gentoo \
1748 - TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
1749 - TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
1750 - TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
1751 - TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
1752 - VBOX_GCC_OPT="${CXXFLAGS}" \
1753 - TOOL_YASM_AS=yasm KBUILD_VERBOSE=2 \
1754 - all
1755 -}
1756 -
1757 -src_install() {
1758 - local binpath="release"
1759 - use debug && binpath="debug"
1760 - cd "${S}"/out/linux.${ARCH}/${binpath}/bin || die
1761 -
1762 - local vbox_inst_path="/usr/$(get_libdir)/${PN}" each fwfile size ico icofile
1763 -
1764 - vbox_inst() {
1765 - local binary="${1}"
1766 - local perms="${2:-0750}"
1767 - local path="${3:-${vbox_inst_path}}"
1768 -
1769 - [[ -n "${binary}" ]] || die "vbox_inst: No binray given!"
1770 - [[ ${perms} =~ ^[[:digit:]]+{4}$ ]] || die "vbox_inst: perms must consist of four digits."
1771 -
1772 - insinto ${path}
1773 - doins ${binary}
1774 - fowners root:vboxusers ${path}/${binary}
1775 - fperms ${perms} ${path}/${binary}
1776 - }
1777 -
1778 - # Create configuration files
1779 - insinto /etc/vbox
1780 - newins "${FILESDIR}/${PN}-4-config" vbox.cfg
1781 -
1782 - # Set the correct libdir
1783 - sed \
1784 - -e "s@MY_LIBDIR@$(get_libdir)@" \
1785 - -i "${ED%/}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
1786 -
1787 - # Install the wrapper script
1788 - exeinto ${vbox_inst_path}
1789 - newexe "${FILESDIR}/${PN}-ose-5-wrapper" "VBox"
1790 - fowners root:vboxusers ${vbox_inst_path}/VBox
1791 - fperms 0750 ${vbox_inst_path}/VBox
1792 -
1793 - # Install binaries and libraries
1794 - insinto ${vbox_inst_path}
1795 - doins -r components
1796 -
1797 - # *.rc files for x86_64 are only available on multilib systems
1798 - local rcfiles="*.rc"
1799 - if use amd64 && ! has_multilib_profile ; then
1800 - rcfiles=""
1801 - fi
1802 - for each in VBox{ExtPackHelperApp,Manage,SVC,Tunctl,XPCOMIPCD} *so *r0 ${rcfiles} ; do
1803 - vbox_inst ${each}
1804 - done
1805 -
1806 - # These binaries need to be suid root.
1807 - for each in VBox{Headless,Net{AdpCtl,DHCP,NAT}} ; do
1808 - vbox_inst ${each} 4750
1809 - done
1810 -
1811 - # Install EFI Firmware files (bug #320757)
1812 - pushd "${S}"/src/VBox/Devices/EFI/FirmwareBin &>/dev/null || die
1813 - for fwfile in VBoxEFI{32,64}.fd ; do
1814 - vbox_inst ${fwfile} 0644
1815 - done
1816 - popd &>/dev/null || die
1817 -
1818 - # VBoxSVC and VBoxManage need to be pax-marked (bug #403453)
1819 - # VBoxXPCOMIPCD (bug #524202)
1820 - for each in VBox{Headless,Manage,SVC,XPCOMIPCD} ; do
1821 - pax-mark -m "${ED%/}"${vbox_inst_path}/${each}
1822 - done
1823 -
1824 - # Symlink binaries to the shipped wrapper
1825 - for each in vbox{headless,manage} VBox{Headless,Manage,VRDP} ; do
1826 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
1827 - done
1828 - dosym ${vbox_inst_path}/VBoxTunctl /usr/bin/VBoxTunctl
1829 -
1830 - if use pam ; then
1831 - # VRDPAuth only works with this (bug #351949)
1832 - dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so
1833 - fi
1834 -
1835 - # set an env-variable for 3rd party tools
1836 - echo -n "VBOX_APP_HOME=${vbox_inst_path}" > "${T}/90virtualbox"
1837 - doenvd "${T}/90virtualbox"
1838 -
1839 - if ! use headless ; then
1840 - vbox_inst VBoxSDL 4750
1841 - pax-mark -m "${ED%/}"${vbox_inst_path}/VBoxSDL
1842 -
1843 - for each in vboxsdl VBoxSDL ; do
1844 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
1845 - done
1846 -
1847 - if use qt5 ; then
1848 - vbox_inst VirtualBox 4750
1849 - pax-mark -m "${ED%/}"${vbox_inst_path}/VirtualBox
1850 -
1851 - if use opengl ; then
1852 - vbox_inst VBoxTestOGL
1853 - pax-mark -m "${ED%/}"${vbox_inst_path}/VBoxTestOGL
1854 - fi
1855 -
1856 - for each in virtualbox VirtualBox ; do
1857 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
1858 - done
1859 -
1860 - insinto /usr/share/${PN}
1861 - doins -r nls
1862 - doins -r UnattendedTemplates
1863 -
1864 - newmenu "${FILESDIR}"/${PN}-ose.desktop-2 ${PN}.desktop
1865 - fi
1866 -
1867 - pushd "${S}"/src/VBox/Artwork/OSE &>/dev/null || die
1868 - for size in 16 32 48 64 128 ; do
1869 - newicon -s ${size} ${PN}-${size}px.png ${PN}.png
1870 - done
1871 - newicon ${PN}-48px.png ${PN}.png
1872 - doicon -s scalable ${PN}.svg
1873 - popd &>/dev/null || die
1874 - pushd "${S}"/src/VBox/Artwork/other &>/dev/null || die
1875 - for size in 16 24 32 48 64 72 96 128 256 512 ; do
1876 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
1877 - icofile="${PN}-${ico}-${size}px.png"
1878 - if [[ -f "${icofile}" ]] ; then
1879 - newicon -s ${size} ${icofile} ${PN}-${ico}.png
1880 - fi
1881 - done
1882 - done
1883 - popd &>/dev/null || die
1884 - fi
1885 -
1886 - if use lvm ; then
1887 - vbox_inst VBoxVolInfo 4750
1888 - dosym ${vbox_inst_path}/VBoxVolInfo /usr/bin/VBoxVolInfo
1889 - fi
1890 -
1891 - if use sdk ; then
1892 - insinto ${vbox_inst_path}
1893 - doins -r sdk
1894 -
1895 - if use java ; then
1896 - java-pkg_regjar "${ED%/}/${vbox_inst_path}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
1897 - java-pkg_regso "${ED%/}/${vbox_inst_path}/libvboxjxpcom.so"
1898 - fi
1899 - fi
1900 -
1901 - if use udev ; then
1902 - # New way of handling USB device nodes for VBox (bug #356215)
1903 - local udevdir="$(get_udevdir)"
1904 - insinto ${udevdir}
1905 - doins VBoxCreateUSBNode.sh
1906 - fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
1907 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
1908 - insinto ${udevdir}/rules.d
1909 - sed "s@%UDEVDIR%@${udevdir}@" "${FILESDIR}"/10-virtualbox.rules \
1910 - > "${T}"/10-virtualbox.rules || die
1911 - doins "${T}"/10-virtualbox.rules
1912 - fi
1913 -
1914 - if use vboxwebsrv ; then
1915 - vbox_inst vboxwebsrv
1916 - dosym ${vbox_inst_path}/VBox /usr/bin/vboxwebsrv
1917 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
1918 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
1919 - fi
1920 -
1921 - if use doc ; then
1922 - dodoc UserManual.pdf
1923 - fi
1924 -
1925 - newtmpfiles "${FILESDIR}"/${PN}-vboxusb_tmpfilesd ${PN}-vboxusb.conf
1926 -}
1927 -
1928 -pkg_postinst() {
1929 - gnome2_icon_cache_update
1930 - xdg_desktop_database_update
1931 -
1932 - if use udev ; then
1933 - udevadm control --reload-rules \
1934 - && udevadm trigger --subsystem-match=usb
1935 - fi
1936 -
1937 - tmpfiles_process /usr/lib/tmpfiles.d/virtualbox-vboxusb.conf
1938 -
1939 - if ! use headless && use qt5 ; then
1940 - elog "To launch VirtualBox just type: \"virtualbox\"."
1941 - fi
1942 - elog "You must be in the vboxusers group to use VirtualBox."
1943 - elog ""
1944 - elog "The latest user manual is available for download at:"
1945 - elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
1946 - elog ""
1947 - elog "For advanced networking setups you should emerge:"
1948 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
1949 - elog ""
1950 - elog "Starting with version 4.0.0, ${PN} has USB-1 support."
1951 - elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
1952 - elog " app-emulation/virtualbox-extpack-oracle"
1953 - elog "package."
1954 - elog "Starting with version 5.0.0, ${PN} no longer has the \"additions\" and"
1955 - elog "the \"extension\" USE flag. For installation of the guest additions ISO"
1956 - elog "image, please emerge"
1957 - elog " app-emulation/virtualbox-additions"
1958 - elog "and for the USB2, USB3, VRDP and PXE boot ROM modules, please emerge"
1959 - elog " app-emulation/virtualbox-extpack-oracle"
1960 - if ! use udev ; then
1961 - elog ""
1962 - elog "WARNING!"
1963 - elog "Without USE=udev, USB devices will likely not work in ${PN}."
1964 - elif [ -e "${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
1965 - elog ""
1966 - elog "Please remove \"${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules\""
1967 - elog "or else USB in ${PN} won't work."
1968 - fi
1969 -}
1970 -
1971 -pkg_postrm() {
1972 - gnome2_icon_cache_update
1973 - xdg_desktop_database_update
1974 -}
1975
1976 diff --git a/app-emulation/virtualbox/virtualbox-6.0.2.ebuild b/app-emulation/virtualbox/virtualbox-6.0.2.ebuild
1977 deleted file mode 100644
1978 index 32183eb05b9..00000000000
1979 --- a/app-emulation/virtualbox/virtualbox-6.0.2.ebuild
1980 +++ /dev/null
1981 @@ -1,485 +0,0 @@
1982 -# Copyright 1999-2019 Gentoo Authors
1983 -# Distributed under the terms of the GNU General Public License v2
1984 -
1985 -EAPI=6
1986 -
1987 -PYTHON_COMPAT=( python2_7 )
1988 -inherit flag-o-matic gnome2-utils java-pkg-opt-2 linux-info pax-utils python-single-r1 tmpfiles toolchain-funcs udev xdg-utils
1989 -
1990 -MY_PV="${PV/beta/BETA}"
1991 -MY_PV="${MY_PV/rc/RC}"
1992 -MY_P=VirtualBox-${MY_PV}
1993 -
1994 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
1995 -HOMEPAGE="https://www.virtualbox.org/"
1996 -SRC_URI="https://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
1997 - https://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-6.0.0_beta2-patches-01.tar.xz"
1998 -
1999 -LICENSE="GPL-2"
2000 -SLOT="0"
2001 -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \
2002 -KEYWORDS="~amd64 ~x86"
2003 -IUSE="alsa debug doc headless java libressl lvm +opus pam pax_kernel pulseaudio +opengl python +qt5 +sdk +udev vboxwebsrv vnc"
2004 -
2005 -RDEPEND="!app-emulation/virtualbox-bin
2006 - ~app-emulation/virtualbox-modules-${PV}
2007 - dev-libs/libIDL
2008 - >=dev-libs/libxslt-1.1.19
2009 - net-misc/curl
2010 - dev-libs/libxml2
2011 - media-libs/libpng:0=
2012 - media-libs/libvpx:0=
2013 - sys-libs/zlib:=
2014 - !headless? (
2015 - media-libs/libsdl:0[X,video]
2016 - x11-libs/libX11
2017 - x11-libs/libxcb:=
2018 - x11-libs/libXcursor
2019 - x11-libs/libXext
2020 - x11-libs/libXmu
2021 - x11-libs/libXt
2022 - opengl? ( virtual/opengl media-libs/freeglut )
2023 - qt5? (
2024 - dev-qt/qtcore:5
2025 - dev-qt/qtgui:5
2026 - dev-qt/qtprintsupport:5
2027 - dev-qt/qtwidgets:5
2028 - dev-qt/qtx11extras:5
2029 - opengl? ( dev-qt/qtopengl:5 )
2030 - x11-libs/libXinerama
2031 - )
2032 - )
2033 - libressl? ( dev-libs/libressl:= )
2034 - !libressl? ( dev-libs/openssl:0= )
2035 - lvm? ( sys-fs/lvm2 )
2036 - opus? ( media-libs/opus )
2037 - udev? ( >=virtual/udev-171 )
2038 - vnc? ( >=net-libs/libvncserver-0.9.9 )"
2039 -DEPEND="${RDEPEND}
2040 - >=dev-util/kbuild-0.1.9998.3127
2041 - >=dev-lang/yasm-0.6.2
2042 - sys-devel/bin86
2043 - sys-libs/libcap
2044 - sys-power/iasl
2045 - virtual/pkgconfig
2046 - alsa? ( >=media-libs/alsa-lib-1.0.13 )
2047 - doc? (
2048 - app-text/docbook-sgml-dtd:4.4
2049 - dev-texlive/texlive-basic
2050 - dev-texlive/texlive-latex
2051 - dev-texlive/texlive-latexrecommended
2052 - dev-texlive/texlive-latexextra
2053 - dev-texlive/texlive-fontsrecommended
2054 - dev-texlive/texlive-fontsextra
2055 - )
2056 - !headless? ( x11-libs/libXinerama )
2057 - java? ( >=virtual/jdk-1.6 )
2058 - pam? ( sys-libs/pam )
2059 - pax_kernel? ( sys-apps/elfix )
2060 - pulseaudio? ( media-sound/pulseaudio )
2061 - qt5? ( dev-qt/linguist-tools:5 )
2062 - vboxwebsrv? ( net-libs/gsoap[-gnutls(-)] )
2063 - ${PYTHON_DEPS}"
2064 -RDEPEND="${RDEPEND}
2065 - java? ( >=virtual/jre-1.6 )"
2066 -
2067 -QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
2068 - usr/lib/virtualbox/VBoxSDL.so
2069 - usr/lib/virtualbox/VBoxSharedFolders.so
2070 - usr/lib/virtualbox/VBoxDD2.so
2071 - usr/lib/virtualbox/VBoxOGLrenderspu.so
2072 - usr/lib/virtualbox/VBoxPython.so
2073 - usr/lib/virtualbox/VBoxDD.so
2074 - usr/lib/virtualbox/VBoxDDU.so
2075 - usr/lib/virtualbox/VBoxREM64.so
2076 - usr/lib/virtualbox/VBoxSharedClipboard.so
2077 - usr/lib/virtualbox/VBoxHeadless.so
2078 - usr/lib/virtualbox/VBoxRT.so
2079 - usr/lib/virtualbox/VBoxREM.so
2080 - usr/lib/virtualbox/VBoxSettings.so
2081 - usr/lib/virtualbox/VBoxKeyboard.so
2082 - usr/lib/virtualbox/VBoxSharedCrOpenGL.so
2083 - usr/lib/virtualbox/VBoxVMM.so
2084 - usr/lib/virtualbox/VirtualBox.so
2085 - usr/lib/virtualbox/VBoxOGLhosterrorspu.so
2086 - usr/lib/virtualbox/components/VBoxC.so
2087 - usr/lib/virtualbox/components/VBoxSVCM.so
2088 - usr/lib/virtualbox/components/VBoxDDU.so
2089 - usr/lib/virtualbox/components/VBoxRT.so
2090 - usr/lib/virtualbox/components/VBoxREM.so
2091 - usr/lib/virtualbox/components/VBoxVMM.so
2092 - usr/lib/virtualbox/VBoxREM32.so
2093 - usr/lib/virtualbox/VBoxPython2_7.so
2094 - usr/lib/virtualbox/VBoxXPCOMC.so
2095 - usr/lib/virtualbox/VBoxOGLhostcrutil.so
2096 - usr/lib/virtualbox/VBoxNetDHCP.so
2097 - usr/lib/virtualbox/VBoxNetNAT.so"
2098 -
2099 -S="${WORKDIR}/${MY_P}"
2100 -
2101 -REQUIRED_USE="
2102 - java? ( sdk )
2103 - python? ( sdk )
2104 - vboxwebsrv? ( java )
2105 - ${PYTHON_REQUIRED_USE}
2106 -"
2107 -
2108 -pkg_pretend() {
2109 - if ! use headless && ! use qt5 ; then
2110 - einfo "No USE=\"qt5\" selected, this build will not include any Qt frontend."
2111 - elif use headless && use qt5 ; then
2112 - einfo "You selected USE=\"headless qt5\", defaulting to"
2113 - einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
2114 - fi
2115 -
2116 - if ! use opengl ; then
2117 - einfo "No USE=\"opengl\" selected, this build will lack"
2118 - einfo "the OpenGL feature."
2119 - fi
2120 - if ! use python ; then
2121 - einfo "You have disabled the \"python\" USE flag. This will only"
2122 - einfo "disable the python bindings being installed."
2123 - fi
2124 -}
2125 -
2126 -pkg_setup() {
2127 - java-pkg-opt-2_pkg_setup
2128 - python-single-r1_pkg_setup
2129 -
2130 - tc-ld-disable-gold #bug 488176
2131 - tc-export CC CXX LD AR RANLIB
2132 - export HOST_CC="$(tc-getBUILD_CC)"
2133 -}
2134 -
2135 -src_prepare() {
2136 - # Remove shipped binaries (kBuild,yasm), see bug #232775
2137 - rm -r kBuild/bin tools || die
2138 -
2139 - # Replace pointless GCC version check with something less stupid.
2140 - # This is needed for the qt5 version check.
2141 - sed -e 's@^check_gcc$@cc_maj="$(gcc -dumpversion | cut -d. -f1)" ; cc_min="$(gcc -dumpversion | cut -d. -f2)"@' \
2142 - -i configure || die
2143 -
2144 - # Disable things unused or split into separate ebuilds
2145 - sed -e "s@MY_LIBDIR@$(get_libdir)@" \
2146 - "${FILESDIR}"/${PN}-5-localconfig > LocalConfig.kmk || die
2147 -
2148 - # Respect LDFLAGS
2149 - sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
2150 - -i Config.kmk src/libs/xpcom18a4/Config.kmk || die
2151 -
2152 - # Do not use hard-coded ld (related to bug #488176)
2153 - sed -e '/QUIET)ld /s@ld @$(LD) @' \
2154 - -i src/VBox/Devices/PC/ipxe/Makefile.kmk || die
2155 -
2156 - # Use PAM only when pam USE flag is enbaled (bug #376531)
2157 - if ! use pam ; then
2158 - elog "Disabling PAM removes the possibility to use the VRDP features."
2159 - sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die
2160 - sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \
2161 - src/VBox/HostServices/Makefile.kmk || die
2162 - fi
2163 -
2164 - # add correct java path
2165 - if use java ; then
2166 - sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \
2167 - -i "${S}"/Config.kmk || die
2168 - java-pkg-opt-2_src_prepare
2169 - fi
2170 -
2171 - # Only add nopie patch when we're on hardened
2172 - if gcc-specs-pie ; then
2173 - eapply "${FILESDIR}/050_virtualbox-5.2.8-nopie.patch"
2174 - fi
2175 -
2176 - # Only add paxmark patch when we're on pax_kernel
2177 - if use pax_kernel ; then
2178 - eapply "${FILESDIR}"/virtualbox-5.2.8-paxmark-bldprogs.patch
2179 - fi
2180 -
2181 - rm "${WORKDIR}/patches/010_virtualbox-5.2.12-qt511.patch" || die
2182 - eapply "${WORKDIR}/patches"
2183 - eapply "${FILESDIR}"/${PN}-6.0.0-libressl.patch #673800
2184 -
2185 - eapply_user
2186 -}
2187 -
2188 -doecho() {
2189 - echo "$@"
2190 - "$@" || die
2191 -}
2192 -
2193 -src_configure() {
2194 - local myconf=(
2195 - --with-gcc="$(tc-getCC)"
2196 - --with-g++="$(tc-getCXX)"
2197 - --disable-dbus
2198 - --disable-kmods
2199 - $(usex alsa '' --disable-alsa)
2200 - $(usex debug --build-debug '')
2201 - $(usex doc '' --disable-docs)
2202 - $(usex java '' --disable-java)
2203 - $(usex lvm '' --disable-devmapper)
2204 - $(usex opus '' --disable-libopus)
2205 - $(usex pulseaudio '' --disable-pulse)
2206 - $(usex python '' --disable-python)
2207 - $(usex vboxwebsrv --enable-webservice '')
2208 - $(usex vnc --enable-vnc '')
2209 - )
2210 - if ! use headless ; then
2211 - myconf+=(
2212 - $(usex opengl '' --disable-opengl)
2213 - $(usex qt5 '' --disable-qt)
2214 - )
2215 - else
2216 - myconf+=(
2217 - --build-headless
2218 - --disable-opengl
2219 - )
2220 - fi
2221 - if use amd64 && ! has_multilib_profile ; then
2222 - myconf+=( --disable-vmmraw )
2223 - fi
2224 - # not an autoconf script
2225 - doecho ./configure ${myconf[@]}
2226 -}
2227 -
2228 -src_compile() {
2229 - source ./env.sh || die
2230 -
2231 - # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
2232 - MAKEJOBS=$(grep -Eo '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
2233 - MAKELOAD=$(grep -Eo '(\-l|\-\-load-average)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
2234 - MAKEOPTS="${MAKEJOBS} ${MAKELOAD}"
2235 - MAKE="kmk" emake \
2236 - VBOX_BUILD_PUBLISHER=_Gentoo \
2237 - TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
2238 - TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
2239 - TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
2240 - TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
2241 - VBOX_GCC_OPT="${CXXFLAGS}" \
2242 - TOOL_YASM_AS=yasm KBUILD_VERBOSE=2 \
2243 - all
2244 -}
2245 -
2246 -src_install() {
2247 - local binpath="release"
2248 - use debug && binpath="debug"
2249 - cd "${S}"/out/linux.${ARCH}/${binpath}/bin || die
2250 -
2251 - local vbox_inst_path="/usr/$(get_libdir)/${PN}" each size ico icofile
2252 -
2253 - vbox_inst() {
2254 - local binary="${1}"
2255 - local perms="${2:-0750}"
2256 - local path="${3:-${vbox_inst_path}}"
2257 -
2258 - [[ -n "${binary}" ]] || die "vbox_inst: No binary given!"
2259 - [[ ${perms} =~ ^[[:digit:]]+{4}$ ]] || die "vbox_inst: perms must consist of four digits."
2260 -
2261 - insinto ${path}
2262 - doins ${binary}
2263 - fowners root:vboxusers ${path}/${binary}
2264 - fperms ${perms} ${path}/${binary}
2265 - }
2266 -
2267 - # Create configuration files
2268 - insinto /etc/vbox
2269 - newins "${FILESDIR}/${PN}-4-config" vbox.cfg
2270 -
2271 - # Set the correct libdir
2272 - sed \
2273 - -e "s@MY_LIBDIR@$(get_libdir)@" \
2274 - -i "${ED%/}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
2275 -
2276 - # Install the wrapper script
2277 - exeinto ${vbox_inst_path}
2278 - newexe "${FILESDIR}/${PN}-ose-6-wrapper" "VBox"
2279 - fowners root:vboxusers ${vbox_inst_path}/VBox
2280 - fperms 0750 ${vbox_inst_path}/VBox
2281 -
2282 - # Install binaries and libraries
2283 - insinto ${vbox_inst_path}
2284 - doins -r components
2285 -
2286 - # *.rc files for x86_64 are only available on multilib systems
2287 - local rcfiles="*.rc"
2288 - if use amd64 && ! has_multilib_profile ; then
2289 - rcfiles=""
2290 - fi
2291 - for each in VBox{Autostart,BalloonCtrl,BugReport,CpuReport,ExtPackHelperApp,Manage,SVC,Tunctl,VMMPreload,XPCOMIPCD} *so *r0 ${rcfiles} iPxeBaseBin ; do
2292 - vbox_inst ${each}
2293 - done
2294 -
2295 - # These binaries need to be suid root.
2296 - for each in VBox{Headless,Net{AdpCtl,DHCP,NAT}} ; do
2297 - vbox_inst ${each} 4750
2298 - done
2299 -
2300 - # Install EFI Firmware files (bug #320757)
2301 - for each in VBoxEFI{32,64}.fd ; do
2302 - vbox_inst ${each} 0644
2303 - done
2304 -
2305 - # VBoxSVC and VBoxManage need to be pax-marked (bug #403453)
2306 - # VBoxXPCOMIPCD (bug #524202)
2307 - for each in VBox{Headless,Manage,SVC,XPCOMIPCD} ; do
2308 - pax-mark -m "${ED%/}"${vbox_inst_path}/${each}
2309 - done
2310 -
2311 - # Symlink binaries to the shipped wrapper
2312 - for each in vbox{autostart,balloonctrl,bugreport,headless,manage} VBox{Autostart,BalloonCtrl,BugReport,Headless,Manage,VRDP} ; do
2313 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
2314 - done
2315 - dosym ${vbox_inst_path}/VBoxTunctl /usr/bin/VBoxTunctl
2316 -
2317 - if use pam ; then
2318 - # VRDPAuth only works with this (bug #351949)
2319 - dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so
2320 - fi
2321 -
2322 - # set an env-variable for 3rd party tools
2323 - echo -n "VBOX_APP_HOME=${vbox_inst_path}" > "${T}/90virtualbox"
2324 - doenvd "${T}/90virtualbox"
2325 -
2326 - if ! use headless ; then
2327 - vbox_inst rdesktop-vrdp
2328 - vbox_inst VBoxSDL 4750
2329 - pax-mark -m "${ED%/}"${vbox_inst_path}/VBoxSDL
2330 -
2331 - for each in vboxsdl VBoxSDL ; do
2332 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
2333 - done
2334 -
2335 - if use qt5 ; then
2336 - vbox_inst VirtualBox
2337 - vbox_inst VirtualBoxVM 4750
2338 - for each in VirtualBox{,VM} ; do
2339 - pax-mark -m "${ED%/}"${vbox_inst_path}/${each}
2340 - done
2341 -
2342 - if use opengl ; then
2343 - vbox_inst VBoxTestOGL
2344 - pax-mark -m "${ED%/}"${vbox_inst_path}/VBoxTestOGL
2345 - fi
2346 -
2347 - #for each in virtualbox{,vm} VirtualBox{,VM} ; do
2348 - for each in virtualbox VirtualBox ; do
2349 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
2350 - done
2351 -
2352 - insinto /usr/share/${PN}
2353 - doins -r nls
2354 - doins -r UnattendedTemplates
2355 -
2356 - domenu ${PN}.desktop
2357 - fi
2358 -
2359 - pushd "${S}"/src/VBox/Artwork/OSE &>/dev/null || die
2360 - for size in 16 32 48 64 128 ; do
2361 - newicon -s ${size} ${PN}-${size}px.png ${PN}.png
2362 - done
2363 - newicon ${PN}-48px.png ${PN}.png
2364 - doicon -s scalable ${PN}.svg
2365 - popd &>/dev/null || die
2366 - pushd "${S}"/src/VBox/Artwork/other &>/dev/null || die
2367 - for size in 16 24 32 48 64 72 96 128 256 512 ; do
2368 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
2369 - icofile="${PN}-${ico}-${size}px.png"
2370 - if [[ -f "${icofile}" ]] ; then
2371 - newicon -s ${size} ${icofile} ${PN}-${ico}.png
2372 - fi
2373 - done
2374 - done
2375 - popd &>/dev/null || die
2376 - fi
2377 -
2378 - if use lvm ; then
2379 - vbox_inst VBoxVolInfo 4750
2380 - dosym ${vbox_inst_path}/VBoxVolInfo /usr/bin/VBoxVolInfo
2381 - fi
2382 -
2383 - if use sdk ; then
2384 - insinto ${vbox_inst_path}
2385 - doins -r sdk
2386 -
2387 - if use java ; then
2388 - java-pkg_regjar "${ED%/}/${vbox_inst_path}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
2389 - java-pkg_regso "${ED%/}/${vbox_inst_path}/libvboxjxpcom.so"
2390 - fi
2391 - fi
2392 -
2393 - if use udev ; then
2394 - # New way of handling USB device nodes for VBox (bug #356215)
2395 - local udevdir="$(get_udevdir)"
2396 - insinto ${udevdir}
2397 - doins VBoxCreateUSBNode.sh
2398 - fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
2399 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
2400 - insinto ${udevdir}/rules.d
2401 - sed "s@%UDEVDIR%@${udevdir}@" "${FILESDIR}"/10-virtualbox.rules \
2402 - > "${T}"/10-virtualbox.rules || die
2403 - doins "${T}"/10-virtualbox.rules
2404 - fi
2405 -
2406 - if use vboxwebsrv ; then
2407 - vbox_inst vboxwebsrv
2408 - dosym ${vbox_inst_path}/VBox /usr/bin/vboxwebsrv
2409 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
2410 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
2411 - fi
2412 -
2413 - if use doc ; then
2414 - dodoc UserManual.pdf
2415 - fi
2416 -
2417 - newtmpfiles "${FILESDIR}"/${PN}-vboxusb_tmpfilesd ${PN}-vboxusb.conf
2418 -}
2419 -
2420 -pkg_postinst() {
2421 - gnome2_icon_cache_update
2422 - xdg_desktop_database_update
2423 -
2424 - if use udev ; then
2425 - udevadm control --reload-rules \
2426 - && udevadm trigger --subsystem-match=usb
2427 - fi
2428 -
2429 - tmpfiles_process /usr/lib/tmpfiles.d/virtualbox-vboxusb.conf
2430 -
2431 - if ! use headless && use qt5 ; then
2432 - elog "To launch VirtualBox just type: \"virtualbox\"."
2433 - fi
2434 - elog "You must be in the vboxusers group to use VirtualBox."
2435 - elog ""
2436 - elog "The latest user manual is available for download at:"
2437 - elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
2438 - elog ""
2439 - elog "For advanced networking setups you should emerge:"
2440 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
2441 - elog ""
2442 - elog "Starting with version 4.0.0, ${PN} has USB-1 support."
2443 - elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
2444 - elog " app-emulation/virtualbox-extpack-oracle"
2445 - elog "package."
2446 - elog "Starting with version 5.0.0, ${PN} no longer has the \"additions\" and"
2447 - elog "the \"extension\" USE flag. For installation of the guest additions ISO"
2448 - elog "image, please emerge"
2449 - elog " app-emulation/virtualbox-additions"
2450 - elog "and for the USB2, USB3, VRDP and PXE boot ROM modules, please emerge"
2451 - elog " app-emulation/virtualbox-extpack-oracle"
2452 - if ! use udev ; then
2453 - elog ""
2454 - elog "WARNING!"
2455 - elog "Without USE=udev, USB devices will likely not work in ${PN}."
2456 - elif [ -e "${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
2457 - elog ""
2458 - elog "Please remove \"${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules\""
2459 - elog "or else USB in ${PN} won't work."
2460 - fi
2461 -}
2462 -
2463 -pkg_postrm() {
2464 - gnome2_icon_cache_update
2465 - xdg_desktop_database_update
2466 -}