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/, x11-drivers/xf86-video-virtualbox/, ...
Date: Tue, 02 Jan 2018 16:33:59
Message-Id: 1514910825.b9fbf27b66a5f2fc216e7bcdec230dc5c36b7b7d.polynomial-c@gentoo
1 commit: b9fbf27b66a5f2fc216e7bcdec230dc5c36b7b7d
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 2 16:33:26 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 2 16:33:45 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9fbf27b
7
8 virtualbox packages: Removed old.
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 app-emulation/virtualbox-additions/Manifest | 1 -
13 .../virtualbox-additions-5.1.26.ebuild | 35 --
14 app-emulation/virtualbox-bin/Manifest | 4 -
15 .../virtualbox-bin-5.1.26.117224.ebuild | 287 -------------
16 app-emulation/virtualbox-extpack-oracle/Manifest | 1 -
17 .../virtualbox-extpack-oracle-5.1.26.117224.ebuild | 42 --
18 app-emulation/virtualbox-guest-additions/Manifest | 2 -
19 .../virtualbox-guest-additions-5.1.26.ebuild | 221 ----------
20 app-emulation/virtualbox-modules/Manifest | 1 -
21 .../virtualbox-modules-5.1.26.ebuild | 64 ---
22 app-emulation/virtualbox/Manifest | 2 -
23 app-emulation/virtualbox/virtualbox-5.1.26.ebuild | 459 ---------------------
24 x11-drivers/xf86-video-virtualbox/Manifest | 1 -
25 .../xf86-video-virtualbox-5.1.26.ebuild | 195 ---------
26 14 files changed, 1315 deletions(-)
27
28 diff --git a/app-emulation/virtualbox-additions/Manifest b/app-emulation/virtualbox-additions/Manifest
29 index 1752e6a8183..8e625de6ccc 100644
30 --- a/app-emulation/virtualbox-additions/Manifest
31 +++ b/app-emulation/virtualbox-additions/Manifest
32 @@ -1,4 +1,3 @@
33 -DIST VBoxGuestAdditions_5.1.26.iso 59496448 BLAKE2B c2ea9dac192b09efb41daf57fd12541fc86ae13a21eb5650e2b2bb2256c13b3cfd00f0020d12d92eaa3dead9b3a7928cf766be7d58e2e2b7d5116d5b0d7d7c9c SHA512 5329ce9bb787efed088a9f89412974cef3a982a351c0053b3daf15a9c95c55f99556e2b86cdcd39c168042503eb00eaa83fb99f8f5c4c97d177dd2b61bb33f5d
34 DIST VBoxGuestAdditions_5.1.30.iso 59494400 BLAKE2B 37f70eb8dd17e0492a106fa5e2cea1ed93b0a0a955e75a3a32d5bd45c447c6c4ff8e78e13b19922a34e8e982d1de5bbf0815a8e81c2a8ea2596477318d7acbf5 SHA512 3205444339a0c85a3b234ba462add21033b5b3eee18eecc15b150b21f5f9f1aadb92b7049bef6be1201e1acfd1edd6f2924c38d56a52770113c8401bcca9abcb
35 DIST VBoxGuestAdditions_5.2.2.iso 60481536 BLAKE2B 560dc43a901cfaad4d9d6ca6f065614751765de7d78575c0dfe7d8ebcb0bf828a2b676ae91f6b346f179065e0f093e54742821c8a60765ec347d07288ae7b9fe SHA512 3c75468821287e4abe80e319ea8d4cd66c3075061610f74619c474b8c5bd8542ab55fe8747cb710e34863fcbc056b03c9256ad7d4b32fe9b0b56d74c4d93f3b5
36 DIST VBoxGuestAdditions_5.2.4.iso 57868288 BLAKE2B 8affaa8a4bfdc434081e62a194b751fc143f748995b769cf565497751787a15fafc627b994ef8d30ea98275039cf8d85e6e5cdc3a7d806961f063c9c6fd1423d SHA512 51445f43ed337f7ea850b599c7dc80837e697de0ef1eb33e79b2dccadda50c1cb1fd37e98387648564cb47c4d593f7138e68410033c83ec0a4a65f04a057723d
37
38 diff --git a/app-emulation/virtualbox-additions/virtualbox-additions-5.1.26.ebuild b/app-emulation/virtualbox-additions/virtualbox-additions-5.1.26.ebuild
39 deleted file mode 100644
40 index 4fd01d14b29..00000000000
41 --- a/app-emulation/virtualbox-additions/virtualbox-additions-5.1.26.ebuild
42 +++ /dev/null
43 @@ -1,35 +0,0 @@
44 -# Copyright 1999-2017 Gentoo Foundation
45 -# Distributed under the terms of the GNU General Public License v2
46 -
47 -EAPI=6
48 -
49 -inherit eutils
50 -
51 -MY_PN=VBoxGuestAdditions
52 -MY_PV="${PV/beta/BETA}"
53 -MY_PV="${MY_PV/rc/RC}"
54 -MY_P=${MY_PN}_${MY_PV}
55 -
56 -DESCRIPTION="CD image containing guest additions for VirtualBox"
57 -HOMEPAGE="http://www.virtualbox.org/"
58 -SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.iso"
59 -
60 -LICENSE="GPL-2+ LGPL-2.1+ MIT SGI-B-2.0 CDDL"
61 -SLOT="0"
62 -KEYWORDS="amd64 x86"
63 -IUSE=""
64 -RESTRICT="mirror"
65 -
66 -RDEPEND="!app-emulation/virtualbox-bin
67 - !=app-emulation/virtualbox-9999"
68 -
69 -S="${WORKDIR}"
70 -
71 -src_unpack() {
72 - return 0
73 -}
74 -
75 -src_install() {
76 - insinto /usr/share/${PN/-additions}
77 - newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
78 -}
79
80 diff --git a/app-emulation/virtualbox-bin/Manifest b/app-emulation/virtualbox-bin/Manifest
81 index 17b9cd2a8fd..ab8acd9f497 100644
82 --- a/app-emulation/virtualbox-bin/Manifest
83 +++ b/app-emulation/virtualbox-bin/Manifest
84 @@ -1,16 +1,12 @@
85 -DIST Oracle_VM_VirtualBox_Extension_Pack-5.1.26-117224.tar.gz 19624237 BLAKE2B 593d70c49e47b49cc64d1c4c8f78703e6cd608f4ef6ab836492822429d213c1b70323cfe7847a206d284821572431423a841e8d802a3f47519818906cee63e39 SHA512 c6e31e8fb26b8ca32c423d14e85e15f6372a030ec40e9f06ce1e1234913d3586cc58d46819684c99cf3ced37f35d0a964339199cad5cf43580c88bf1afa63ef6
86 DIST Oracle_VM_VirtualBox_Extension_Pack-5.1.30-118389.tar.gz 19624724 BLAKE2B de52acef8ad0785e576b361721d3a2f0b3d7e3820964d7e47fb6ffa7fd33bc4126f0e496396a412994e5eadc17fbd72699295865aa520f5e4b7a8ca53007e905 SHA512 6b468879f0fb6d6f916c40fb60f418457c526c20ebb1a6253bfc38392e0ae965e3b54590173b0d974070ced1646db82035950fb7dd54b22e20f4ad29850d6cf4
87 DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.2-119230.tar.gz 19504049 BLAKE2B ff3be5b81c409c33d7c831e2bba6df7d7ab87e6422d8cc4cbc3599f75c84100fceec5547b8f9b44d204941b48102a23a4c2183340ec017159ae7c37e07d21813 SHA512 cf3f08f7ee966b5a991fe029b3d4014f333678f0fddb9d75589695811dc4d780651a6dbdddf55a6466631bf8a9dce099256468490847229ac2c26dba9fc57d27
88 DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.4-119785.tar.gz 19465971 BLAKE2B eb37636ba0c856654ee0a06fb09fea848cef834cf75dcabf92d2a52994b0e2add74539213d9c3f7793496ffeaa35e623ebd9068e5dd5c7cfa8944e6a14ad2448 SHA512 97f496c9e3ef63a513c6fc31127459136b2bbef885a277d30c832831f079e3fbe8c6900b1799db1a4497a32b116cafb2fe982bd28a201da8d6f4222f70c548d8
89 -DIST VirtualBox-5.1.26-117224-Linux_amd64.run 87981522 BLAKE2B a1067daca90eb45509aa314d8e346f565cca845c8ec2fdbe6d27ec6d12e4cf6a288638a083295da62858bcda44b2f97720475b246e9e03013ab68c9c5e191720 SHA512 9b486fd52918469fdffaa39bbef234d22fad9d3b562fa04443bf6c1040e744db6dc9bd103ead299127b82c5d4bc96c1e05f677cacd623affa6569408c8d26df5
90 -DIST VirtualBox-5.1.26-117224-Linux_x86.run 87090639 BLAKE2B 89ec5ed5a9c0a5c16fbe4e3bbab5035c027d1c24ca561536a9c7e1924a5b7b5ddd180aa798212a3dc213439dc844761b73212d7fb1ed7611b0a91b078e96c950 SHA512 3aafad5374dc79c0fdd9bf1da6708ae4ce2f43d9fce3222326424bf03d6b73a7283ba5ebeb01a9ab6b24eeb8a8ec7c23af84e40f3edeb512c2101c329f4091e7
91 DIST VirtualBox-5.1.30-118389-Linux_amd64.run 88186323 BLAKE2B 4700613906658a223134130e99eb4f669ffc875e732e9b43d237926b9a33d385d6056240ae5f498d13b6a0cf26c600b293657fc64c838db498bd3935fa23a8e4 SHA512 b6312abbf5c0e4bf22aca50a81d297a0ed21d5b4b72242e21750ac088c56817dc90ac1ae068dd9006f4f736130510f26f55793b8c09999c590da09908e304280
92 DIST VirtualBox-5.1.30-118389-Linux_x86.run 87397839 BLAKE2B cc0fb245f98883dc19cfc9a64d8c7a9593d8ae784895a9a8224c146779ab65901052ba5d62f57c9cd5bc46d23e208cc97046fd6641eb8848e90c4828bd745813 SHA512 643ef90453e3a6a6d3fbb365176a72de1743230a58ee45f1cb22fd8bb57c9cfe6013ec1ffdb0076a248d1987a1e3fea13ca71ef9ca983cb8e6378d30c76451fb
93 DIST VirtualBox-5.2.2-119230-Linux_amd64.run 90346949 BLAKE2B f6ae64b7b9b5ad41865a12792bd611d05c8899250c1740fcfabc0c6c07ce495e143b29c8bc8b5b2c2dbe690076c8593c030de4374af9d31a82e99dc9c58fec40 SHA512 a99d0922b341b821976bc944a5882d2804ca7ceb565a9512ce86c3968fb0d27dc533009dde51bea4881d729c97277597d329927183be4ffd081b5ed73c8f5ec3
94 DIST VirtualBox-5.2.2-119230-Linux_x86.run 89548224 BLAKE2B de4cfd7a21caa49bc5752bfe097e99ec5e55eb9abcfafc34eb9f74e88c12fb6d0af1754e88180daf7f420ca3b968a25a3a0d6b878ebe6f7eb51c543ed24fbb1d SHA512 cd83828fdde57ac6c9b1bed58a8500c7ad2d2e83b83a4ffe304addd1d5df277dbddebc1e9c779030e5352b66b6a7505309fb0b5cfbbb575f122a7f126c397591
95 DIST VirtualBox-5.2.4-119785-Linux_amd64.run 88575441 BLAKE2B c0cdf3cb1c17f1de000926e0b1db9902c965040723a62de95ef518bd4180ce95d4c2c5830abbdbf65823447af22d71f574b85e8ccc322ddc05137556f4381401 SHA512 f5741e29348a7a307146b8f34e0e9c4bccd8368879ba7c4e3836de21ad014f31ecf1bb7033173f8651483d4a11ffca7c8b475f9149474533cd7ab8c31ba8cbb9
96 DIST VirtualBox-5.2.4-119785-Linux_x86.run 87653837 BLAKE2B 069005e59da03e9cc6d8ef3cc296c192095c4b37bc17de5e768d13f46e1d8bdd7573e6b1a2b359cee5a37c2a2bb9808707317c07b4dd3d76cbbc0ed0824f55bb SHA512 245a90b8312988d6b19765ecd404bc569b370c400353294a564dde4ab57a006fda3e24dd423d7ba3afdfcd20484b95adc86d598ebbd640f1742d9c92ed010021
97 -DIST VirtualBoxSDK-5.1.26-117224.zip 9860247 BLAKE2B 6525792471a71aca9824e2fa9a0c9b722f248bf4873f3f683a04ab335bb06257fd051e1baeb2c106d663c09e805f88784bb01614042660949566766002183b4e SHA512 d2bef837d61bfb35ba550f004345c2c412c2f62da23ffded6dff8aa33281fdce7c0a8f6b70c131b35e04c34ca0a4221bf97a78e65a470c657980572ebedb0774
98 DIST VirtualBoxSDK-5.1.30-118389.zip 9861374 BLAKE2B 4890a76c5bdf6ec8215095ce3246ee518a6cf527136fd896bec3503175115de05e52f946b5c44fa82ecb087900a5eb4f2bbd0cfa79a4eba94ba4d48f757f9604 SHA512 89d3407860f202329e5958e724b848884a9047f01000090d1000bce22005311b3650c1ef1fb1fc998c29cc77887af856b64a5ac76154408cae7b921860d8a9f1
99 DIST VirtualBoxSDK-5.2.2-119230.zip 10146673 BLAKE2B 8bdb6ffcd9e0a59c5a27676a9cd71c402b6a8dd7c03fc7e543e620e3f96b02f252e46432b3724fad508953636a9643731fe60c7cad2ef79a107d83ea154aca3b SHA512 2bfd6e391af3ad55dfced0dcf551112c364317b226bdc29bab42420055c2dc6053f9ab5ce28eace15bb9c7680ddc83c0bc77c53938d05d507cdd51a6c781a27f
100 DIST VirtualBoxSDK-5.2.4-119785.zip 10150272 BLAKE2B 58b16d12f6d2939ef0a45e0bf627f7977740ef9c3f277935c624f6b226cfa84390ea3d74a840c9da85bfc392b60ecebb2a8bc1dae51db92848bea42deaaea536 SHA512 b23637d9eb086c999733a5a0725a8a97ade5af11ccb7fa6e74bd20281270333d551ea22ae404f462726a2250593b624cbbb8169af9d16a07bd2383bdc74da92e
101
102 diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-5.1.26.117224.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-5.1.26.117224.ebuild
103 deleted file mode 100644
104 index fa2dda552ac..00000000000
105 --- a/app-emulation/virtualbox-bin/virtualbox-bin-5.1.26.117224.ebuild
106 +++ /dev/null
107 @@ -1,287 +0,0 @@
108 -# Copyright 1999-2017 Gentoo Foundation
109 -# Distributed under the terms of the GNU General Public License v2
110 -
111 -EAPI=5
112 -
113 -PYTHON_COMPAT=( python2_7 )
114 -
115 -inherit eutils xdg-utils gnome2 pax-utils python-r1 udev unpacker versionator
116 -
117 -MAIN_PV="$(get_version_component_range 1-3)"
118 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
119 - MY_PV="${MAIN_PV}_$(get_version_component_range 5)"
120 - MY_PV="${MY_PV/beta/BETA}"
121 - MY_PV="${MY_PV/rc/RC}"
122 -else
123 - MY_PV="${MAIN_PV}"
124 -fi
125 -VBOX_BUILD_ID="$(get_version_component_range 4)"
126 -VBOX_PV="${MY_PV}-${VBOX_BUILD_ID}"
127 -MY_P="VirtualBox-${VBOX_PV}-Linux"
128 -# needed as sometimes the extpack gets another build ID
129 -EXTP_PV="${VBOX_PV}"
130 -EXTP_PN="Oracle_VM_VirtualBox_Extension_Pack"
131 -EXTP_P="${EXTP_PN}-${EXTP_PV}"
132 -# needed as sometimes the SDK gets another build ID
133 -SDK_PV="${VBOX_PV}"
134 -SDK_P="VirtualBoxSDK-${SDK_PV}"
135 -
136 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
137 -HOMEPAGE="http://www.virtualbox.org/"
138 -SRC_URI="amd64? ( http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_amd64.run )
139 - x86? ( http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_x86.run )
140 - http://download.virtualbox.org/virtualbox/${MY_PV}/${EXTP_P}.vbox-extpack -> ${EXTP_P}.tar.gz"
141 -
142 -LICENSE="GPL-2 PUEL"
143 -SLOT="0"
144 -KEYWORDS="amd64 x86"
145 -IUSE="+additions +chm headless python vboxwebsrv rdesktop-vrdp"
146 -RESTRICT="mirror"
147 -
148 -if [[ "${PV}" != *beta* ]] ; then
149 - SRC_URI+="
150 - sdk? ( http://download.virtualbox.org/virtualbox/${MY_PV}/${SDK_P}.zip )"
151 - IUSE+=" sdk"
152 -fi
153 -
154 -DEPEND="app-arch/unzip
155 - ${PYTHON_DEPS}"
156 -
157 -RDEPEND="!!app-emulation/virtualbox
158 - !app-emulation/virtualbox-additions
159 - ~app-emulation/virtualbox-modules-${MAIN_PV}
160 - !headless? (
161 - dev-libs/glib
162 - media-libs/fontconfig
163 - media-libs/freetype
164 - media-libs/libpng
165 - media-libs/libsdl[X]
166 - x11-libs/libXcursor
167 - x11-libs/libXext
168 - x11-libs/libXfixes
169 - x11-libs/libXft
170 - x11-libs/libXi
171 - x11-libs/libXinerama
172 - x11-libs/libXrandr
173 - x11-libs/libXrender
174 - chm? ( dev-libs/expat )
175 - )
176 - dev-libs/libxml2
177 - sys-fs/lvm2
178 - x11-libs/libXau
179 - x11-libs/libX11
180 - x11-libs/libXt
181 - x11-libs/libXmu
182 - x11-libs/libSM
183 - x11-libs/libICE
184 - x11-libs/libXdmcp
185 - ${PYTHON_DEPS}"
186 -
187 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
188 -S=${WORKDIR}
189 -
190 -QA_PREBUILT="opt/VirtualBox/*"
191 -
192 -PYTHON_UPDATER_IGNORE="1"
193 -
194 -src_unpack() {
195 - unpack_makeself ${MY_P}_${ARCH}.run
196 - unpack ./VirtualBox.tar.bz2
197 -
198 - mkdir "${S}"/${EXTP_PN} || die
199 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
200 - unpack ${EXTP_P}.tar.gz
201 - popd &>/dev/null || die
202 -
203 - if [[ "${PV}" != *beta* ]] && use sdk ; then
204 - unpack VirtualBoxSDK-${SDK_PV}.zip
205 - fi
206 -}
207 -
208 -src_configure() {
209 - :;
210 -}
211 -
212 -src_compile() {
213 - :;
214 -}
215 -
216 -src_install() {
217 - # create virtualbox configurations files
218 - insinto /etc/vbox
219 - newins "${FILESDIR}/${PN}-config" vbox.cfg
220 -
221 - if ! use headless ; then
222 - newmenu "${FILESDIR}"/${PN}.desktop-2 ${PN}.desktop
223 -
224 - # set up symlinks (bug #572012)
225 - dosym ../../../../opt/VirtualBox/virtualbox.xml /usr/share/mime/packages/virtualbox.xml
226 -
227 - local size ico icofile
228 - for size in 16 24 32 48 64 72 96 128 256 ; do
229 - pushd "${S}"/icons/${size}x${size} &>/dev/null || die
230 - if [[ -f "virtualbox.png" ]] ; then
231 - doicon -s ${size} virtualbox.png
232 - fi
233 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
234 - icofile="virtualbox-${ico}.png"
235 - if [[ -f "${icofile}" ]] ; then
236 - doicon -s ${size} ${icofile}
237 - fi
238 - done
239 - popd &>/dev/null || die
240 - done
241 - doicon -s scalable "${S}"/icons/scalable/virtualbox.svg
242 - insinto /usr/share/pixmaps
243 - newins "${S}"/icons/48x48/virtualbox.png ${PN}.png
244 - fi
245 -
246 - pushd "${S}"/${EXTP_PN} &>/dev/null || die
247 - insinto /opt/VirtualBox/ExtensionPacks/${EXTP_PN}
248 - doins -r linux.${ARCH}
249 - doins ExtPack* PXE-Intel.rom
250 - popd &>/dev/null || die
251 - rm -rf "${S}"/${EXTP_PN}
252 -
253 - insinto /opt/VirtualBox
254 - dodir /opt/bin
255 -
256 - doins UserManual.pdf
257 -
258 - if [[ "${PV}" != *beta* ]] && use sdk ; then
259 - doins -r sdk
260 - fi
261 -
262 - if use additions; then
263 - doins -r additions
264 - fi
265 -
266 - if use vboxwebsrv; then
267 - doins vboxwebsrv
268 - fowners root:vboxusers /opt/VirtualBox/vboxwebsrv
269 - fperms 0750 /opt/VirtualBox/vboxwebsrv
270 - dosym ../../opt/VirtualBox/VBox.sh /opt/bin/vboxwebsrv
271 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
272 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
273 - fi
274 -
275 - if use rdesktop-vrdp; then
276 - doins rdesktop-vrdp
277 - doins -r rdesktop-vrdp-keymaps
278 - fperms 0750 /opt/VirtualBox/rdesktop-vrdp
279 - dosym ../../opt/VirtualBox/rdesktop-vrdp /opt/bin/rdesktop-vrdp
280 - fi
281 -
282 - if ! use headless && use chm; then
283 - doins kchmviewer VirtualBox.chm
284 - fowners root:vboxusers /opt/VirtualBox/kchmviewer
285 - fperms 0750 /opt/VirtualBox/kchmviewer
286 - fi
287 -
288 - # This ebuild / package supports only py2.7. When py3 comes is unknown.
289 - # The compile phase makes VBoxPython2_7.so.
290 - # py3 support would presumably require a binary pre-compiled by py3.
291 - use python && doins VBoxPython.so VBoxPython2_7.so
292 -
293 - rm -rf src rdesktop* deffiles install* routines.sh runlevel.sh \
294 - vboxdrv.sh VBox.sh VBox.png vboxnet.sh additions VirtualBox.desktop \
295 - VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \
296 - webtest kchmviewer VirtualBox.chm vbox-create-usb-node.sh \
297 - 90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py \
298 - VBoxPython?_*.so
299 -
300 - if use headless ; then
301 - rm -rf VBoxSDL VirtualBox VBoxKeyboard.so
302 - fi
303 -
304 - doins -r * || die
305 -
306 - # create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
307 - dosym ../VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
308 - dosym ../VBoxREM.so /opt/VirtualBox/components/VBoxREM.so
309 - dosym ../VBoxRT.so /opt/VirtualBox/components/VBoxRT.so
310 - dosym ../VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so
311 - dosym ../VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
312 -
313 - local each
314 - for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,NetNAT,TestOGL,ExtPackHelperApp}; do
315 - fowners root:vboxusers /opt/VirtualBox/${each}
316 - fperms 0750 /opt/VirtualBox/${each}
317 - pax-mark -m "${D}"/opt/VirtualBox/${each}
318 - done
319 - # VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
320 - fperms 4750 /opt/VirtualBox/VBoxNetAdpCtl
321 - fperms 4750 /opt/VirtualBox/VBoxNetDHCP
322 - fperms 4750 /opt/VirtualBox/VBoxNetNAT
323 -
324 - if ! use headless ; then
325 - # Hardened build: Mark selected binaries set-user-ID-on-execution
326 - for each in VBox{SDL,Headless} VirtualBox; do
327 - fowners root:vboxusers /opt/VirtualBox/${each}
328 - fperms 4510 /opt/VirtualBox/${each}
329 - pax-mark -m "${D}"/opt/VirtualBox/${each}
330 - done
331 -
332 - dosym ../VirtualBox/VBox.sh /opt/bin/VirtualBox
333 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxSDL
334 - else
335 - # Hardened build: Mark selected binaries set-user-ID-on-execution
336 - fowners root:vboxusers /opt/VirtualBox/VBoxHeadless
337 - fperms 4510 /opt/VirtualBox/VBoxHeadless
338 - pax-mark -m "${D}"/opt/VirtualBox/VBoxHeadless
339 - fi
340 -
341 - exeinto /opt/VirtualBox
342 - newexe "${FILESDIR}/${PN}-3-wrapper" "VBox.sh"
343 - fowners root:vboxusers /opt/VirtualBox/VBox.sh
344 - fperms 0750 /opt/VirtualBox/VBox.sh
345 -
346 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxManage
347 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxVRDP
348 - dosym ../VirtualBox/VBox.sh /opt/bin/VBoxHeadless
349 - dosym ../VirtualBox/VBoxTunctl /opt/bin/VBoxTunctl
350 -
351 - # set an env-variable for 3rd party tools
352 - echo -n "VBOX_APP_HOME=/opt/VirtualBox" > "${T}/90virtualbox"
353 - doenvd "${T}/90virtualbox"
354 -
355 - local udevdir="$(get_udevdir)"
356 - insinto ${udevdir}/rules.d
357 - doins "${FILESDIR}"/10-virtualbox.rules
358 - sed "s@%UDEVDIR%@${udevdir}@" \
359 - -i "${D}"${udevdir}/rules.d/10-virtualbox.rules || die
360 - # move udev scripts into ${udevdir} (bug #372491)
361 - mv "${D}"/opt/VirtualBox/VBoxCreateUSBNode.sh "${D}"${udevdir} || die
362 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
363 -}
364 -
365 -pkg_postinst() {
366 - xdg_desktop_database_update
367 -
368 - gnome2_icon_cache_update
369 -
370 - udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
371 -
372 - elog ""
373 - if ! use headless ; then
374 - elog "To launch VirtualBox just type: \"VirtualBox\""
375 - elog ""
376 - fi
377 - elog "You must be in the vboxusers group to use VirtualBox."
378 - elog ""
379 - elog "For advanced networking setups you should emerge:"
380 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
381 - elog ""
382 - elog "Please visit http://www.virtualbox.org/wiki/Editions for"
383 - elog "an overview about the different features of ${PN}"
384 - elog "and virtualbox-ose"
385 - if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
386 - elog ""
387 - elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
388 - elog "or else USB in ${PN} won't work."
389 - fi
390 -}
391 -
392 -pkg_postrm() {
393 - xdg_desktop_database_update
394 -}
395
396 diff --git a/app-emulation/virtualbox-extpack-oracle/Manifest b/app-emulation/virtualbox-extpack-oracle/Manifest
397 index 7e8455c20bc..be7b6590262 100644
398 --- a/app-emulation/virtualbox-extpack-oracle/Manifest
399 +++ b/app-emulation/virtualbox-extpack-oracle/Manifest
400 @@ -1,4 +1,3 @@
401 -DIST Oracle_VM_VirtualBox_Extension_Pack-5.1.26-117224.tar.gz 19624237 BLAKE2B 593d70c49e47b49cc64d1c4c8f78703e6cd608f4ef6ab836492822429d213c1b70323cfe7847a206d284821572431423a841e8d802a3f47519818906cee63e39 SHA512 c6e31e8fb26b8ca32c423d14e85e15f6372a030ec40e9f06ce1e1234913d3586cc58d46819684c99cf3ced37f35d0a964339199cad5cf43580c88bf1afa63ef6
402 DIST Oracle_VM_VirtualBox_Extension_Pack-5.1.30-118389.tar.gz 19624724 BLAKE2B de52acef8ad0785e576b361721d3a2f0b3d7e3820964d7e47fb6ffa7fd33bc4126f0e496396a412994e5eadc17fbd72699295865aa520f5e4b7a8ca53007e905 SHA512 6b468879f0fb6d6f916c40fb60f418457c526c20ebb1a6253bfc38392e0ae965e3b54590173b0d974070ced1646db82035950fb7dd54b22e20f4ad29850d6cf4
403 DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.2-119230.tar.gz 19504049 BLAKE2B ff3be5b81c409c33d7c831e2bba6df7d7ab87e6422d8cc4cbc3599f75c84100fceec5547b8f9b44d204941b48102a23a4c2183340ec017159ae7c37e07d21813 SHA512 cf3f08f7ee966b5a991fe029b3d4014f333678f0fddb9d75589695811dc4d780651a6dbdddf55a6466631bf8a9dce099256468490847229ac2c26dba9fc57d27
404 DIST Oracle_VM_VirtualBox_Extension_Pack-5.2.4-119785.tar.gz 19465971 BLAKE2B eb37636ba0c856654ee0a06fb09fea848cef834cf75dcabf92d2a52994b0e2add74539213d9c3f7793496ffeaa35e623ebd9068e5dd5c7cfa8944e6a14ad2448 SHA512 97f496c9e3ef63a513c6fc31127459136b2bbef885a277d30c832831f079e3fbe8c6900b1799db1a4497a32b116cafb2fe982bd28a201da8d6f4222f70c548d8
405
406 diff --git a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.1.26.117224.ebuild b/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.1.26.117224.ebuild
407 deleted file mode 100644
408 index 3c6c739d35e..00000000000
409 --- a/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-5.1.26.117224.ebuild
410 +++ /dev/null
411 @@ -1,42 +0,0 @@
412 -# Copyright 1999-2017 Gentoo Foundation
413 -# Distributed under the terms of the GNU General Public License v2
414 -
415 -EAPI=6
416 -
417 -inherit eutils multilib versionator
418 -
419 -MAIN_PV="$(get_version_component_range 1-3)"
420 -if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
421 - MY_PV="${MAIN_PV}_$(get_version_component_range 5)"
422 - DEP_PV="${MY_PV}"
423 - MY_PV="${MY_PV/beta/BETA}"
424 - MY_PV="${MY_PV/rc/RC}"
425 -else
426 - MY_PV="${MAIN_PV}"
427 - DEP_PV="${MAIN_PV}"
428 -fi
429 -VBOX_BUILD_ID="$(get_version_component_range 4)"
430 -MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
431 -MY_P="${MY_PN}-${MY_PV}-${VBOX_BUILD_ID}"
432 -
433 -DESCRIPTION="PUEL extensions for VirtualBox"
434 -HOMEPAGE="http://www.virtualbox.org/"
435 -SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.vbox-extpack -> ${MY_P}.tar.gz"
436 -
437 -LICENSE="PUEL"
438 -SLOT="0"
439 -KEYWORDS="amd64 x86"
440 -IUSE=""
441 -RESTRICT="mirror strip"
442 -
443 -RDEPEND="~app-emulation/virtualbox-${DEP_PV}"
444 -
445 -S="${WORKDIR}"
446 -
447 -QA_PREBUILT="/usr/lib*/virtualbox/ExtensionPacks/${MY_PN}/.*"
448 -
449 -src_install() {
450 - insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}
451 - doins -r linux.${ARCH}
452 - doins ExtPack* PXE-Intel.rom
453 -}
454
455 diff --git a/app-emulation/virtualbox-guest-additions/Manifest b/app-emulation/virtualbox-guest-additions/Manifest
456 index 774382693bf..a1a0aee3c75 100644
457 --- a/app-emulation/virtualbox-guest-additions/Manifest
458 +++ b/app-emulation/virtualbox-guest-additions/Manifest
459 @@ -1,6 +1,4 @@
460 -DIST VirtualBox-5.1.26.tar.bz2 115915813 BLAKE2B c770420804fd0bcbe5582fccfefc55b6d69a603a99cc9ba26e72f6c1947a3e2bcbc5e9e1aa0185d544fb37b10db8233aa4c5cd14777138f63c2959a3ca5e6954 SHA512 680e9646a51a0a5923b3ded10007ee1c1e2a41c6d8a961d2b2540db6578bed2847154f4cac87e3cfe1118a62595b47c7df99da854f6c340e173b9eb8cacf2add
461 DIST VirtualBox-5.1.30.tar.bz2 116510730 BLAKE2B fe1d9ea37aa33a6aa6a78aebb469e267b9412e96cadc0a5287c263e8be21fdd0c9035a03e31ca954bef99eb5c05416de2bdfde5a657daa9a61eb795815d33542 SHA512 6c44d9593f4815644a484b306e621fe7eca224002f85d89c00f2470300f2c78dbfe50ffda61d2c2465df14ca77c70a2ab86f1a05116feeee9f5833857eb18dee
462 DIST VirtualBox-5.2.2.tar.bz2 118424845 BLAKE2B c918ff1d3989d2d94cec807b596b5daceece6388575f40c70b3581288be664e39cd0f0dae974516d1122110d5660185bac7bcf336418d8f44455290cafb52a7d SHA512 415956cfe987a20eb0a372288c29f0e388bd706a3b94ff69b92ef5bbf2e9aecd75761a56f5421ef97d165f756cd7fd46b9eaf16b74b7d2460b831d7f03aae7dc
463 DIST VirtualBox-5.2.4.tar.bz2 118481693 BLAKE2B 874f5e65d97befaf72767626a1f3271a0b7c30f8dc998dc10aee9478039cecd14ce11c9c624ba596c09641aae9a41ca91ae33e5a82218bc8acd8cd32ebb727e1 SHA512 19cb168393098fd28ab2017a27d09a558721d57b31c5d3610deb68a17dfa7fd7ffe9ad7be18714a314724ab5ecb54e7ab5fb76183e8e89afbed2da79649e2798
464 -DIST virtualbox-5.1.24-patches-01.tar.xz 2708 BLAKE2B 6779a7ad1b013cf2e735817eae9785451c6a91e4a61558a650cfdc67d80b63db0eb33992a3207b0acc1e80b75caef14d9d291705ca7b3c96c4185c31e585e92d SHA512 0028e593818013f809831ac5a73eec63988c0aefb4b309fb3c928efbea8db8b8f46bd7c82f156396adc704f0567474df262dfe9bb6e09af0b2c23528fe2c6e2d
465 DIST virtualbox-5.1.30-patches-02.tar.xz 2608 BLAKE2B 08b05a26622a7acec455f6d0dc72858f5f2758488e50d219f83c3d12606419d48e9d99302cde5a275929fe79af900c1b3ea3957fe9dfdaa952aaa0da9933291a SHA512 8a490f7cc44e40262fc47819736251c177adb635256794e9500f52729197c85211d5b0c0d000268089953a4c185872a8ba03c5d42df6b80f05eac8b81335320a
466
467 diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.1.26.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.1.26.ebuild
468 deleted file mode 100644
469 index 6d9fa5fc7d0..00000000000
470 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.1.26.ebuild
471 +++ /dev/null
472 @@ -1,221 +0,0 @@
473 -# Copyright 1999-2017 Gentoo Foundation
474 -# Distributed under the terms of the GNU General Public License v2
475 -
476 -EAPI=6
477 -
478 -inherit eutils linux-mod systemd user toolchain-funcs
479 -
480 -MY_PV="${PV/beta/BETA}"
481 -MY_PV="${MY_PV/rc/RC}"
482 -MY_P=VirtualBox-${MY_PV}
483 -DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
484 -HOMEPAGE="http://www.virtualbox.org/"
485 -SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
486 - https://dev.gentoo.org/~polynomial-c/virtualbox/patchsets/virtualbox-5.1.24-patches-01.tar.xz"
487 -
488 -LICENSE="GPL-2"
489 -SLOT="0"
490 -KEYWORDS="amd64 x86"
491 -IUSE="X"
492 -
493 -RDEPEND="X? ( x11-apps/xrandr
494 - x11-apps/xrefresh
495 - x11-libs/libXmu
496 - x11-libs/libX11
497 - x11-libs/libXt
498 - x11-libs/libXext
499 - x11-libs/libXau
500 - x11-libs/libXdmcp
501 - x11-libs/libSM
502 - x11-libs/libICE
503 - x11-proto/glproto )
504 - sys-apps/dbus
505 - !!x11-drivers/xf86-input-virtualbox"
506 -DEPEND="${RDEPEND}
507 - >=dev-util/kbuild-0.1.9998_pre20131130
508 - >=dev-lang/yasm-0.6.2
509 - sys-devel/bin86
510 - sys-libs/pam
511 - sys-power/iasl
512 - X? ( x11-proto/renderproto )
513 - !X? ( x11-proto/xproto )"
514 -PDEPEND="X? ( ~x11-drivers/xf86-video-virtualbox-${PV} )"
515 -
516 -BUILD_TARGETS="all"
517 -BUILD_TARGET_ARCH="${ARCH}"
518 -
519 -S="${WORKDIR}/${MY_P}"
520 -
521 -pkg_setup() {
522 - MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
523 - vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)"
524 - use X && MODULE_NAMES+=" vboxvideo(misc:${WORKDIR}/vboxvideo::${WORKDIR}/vboxvideo)"
525 -
526 - linux-mod_pkg_setup
527 - BUILD_PARAMS="KERN_DIR=${KV_OUT_DIR} KERNOUT=${KV_OUT_DIR}"
528 - enewgroup vboxguest
529 - enewuser vboxguest -1 /bin/sh /dev/null vboxguest
530 - # automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist
531 - enewgroup vboxsf
532 -}
533 -
534 -src_unpack() {
535 - unpack ${A}
536 -
537 - # Create and unpack a tarball with the sources of the Linux guest
538 - # kernel modules, to include all the needed files
539 - "${S}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz"
540 - unpack ./vbox-kmod.tar.gz
541 -
542 - # Remove shipped binaries (kBuild,yasm), see bug #232775
543 - cd "${S}"
544 - rm -rf kBuild/bin tools
545 -}
546 -
547 -src_prepare() {
548 - # PaX fixes (see bug #298988)
549 - pushd "${WORKDIR}" &>/dev/null || die
550 - eapply "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch
551 - popd &>/dev/null || die
552 -
553 - # Disable things unused or splitted into separate ebuilds
554 - cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die
555 - use X || echo "VBOX_WITH_X11_ADDITIONS :=" >> LocalConfig.kmk
556 -
557 - # stupid new header references...
558 - for vboxheader in {product,revision,version}-generated.h ; do
559 - for mdir in vbox{guest,sf} ; do
560 - ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
561 - "${WORKDIR}/${mdir}/${vboxheader}"
562 - done
563 - done
564 -
565 - # Remove pointless GCC version check
566 - sed -e '/^check_gcc$/d' -i configure || die
567 -
568 - eapply "${WORKDIR}/patches"
569 -
570 - eapply_user
571 -}
572 -
573 -src_configure() {
574 - # build the user-space tools, warnings are harmless
575 - local cmd=(
576 - ./configure
577 - --nofatal
578 - --disable-xpcom
579 - --disable-sdl-ttf
580 - --disable-pulse
581 - --disable-alsa
582 - --with-gcc="$(tc-getCC)"
583 - --with-g++="$(tc-getCXX)"
584 - --target-arch=${ARCH}
585 - --with-linux="${KV_OUT_DIR}"
586 - --build-headless
587 - )
588 - echo "${cmd[@]}"
589 - "${cmd[@]}" || die "configure failed"
590 - source ./env.sh
591 - export VBOX_GCC_OPT="${CFLAGS} ${CPPFLAGS}"
592 -}
593 -
594 -src_compile() {
595 - MAKE="kmk" \
596 - emake TOOL_YASM_AS=yasm \
597 - VBOX_ONLY_ADDITIONS=1 \
598 - KBUILD_VERBOSE=2
599 -
600 - # Now creating the kernel modules. We must do this _after_
601 - # we compiled the user-space tools as we need two of the
602 - # automatically generated header files. (>=3.2.0)
603 - linux-mod_src_compile
604 -}
605 -
606 -src_install() {
607 - linux-mod_src_install
608 -
609 - cd "${S}"/out/linux.${ARCH}/release/bin/additions || die
610 -
611 - insinto /sbin
612 - newins mount.vboxsf mount.vboxsf
613 - fperms 4755 /sbin/mount.vboxsf
614 -
615 - newinitd "${FILESDIR}"/${PN}-8.initd ${PN}
616 -
617 - insinto /usr/sbin/
618 - newins VBoxService vboxguest-service
619 - fperms 0755 /usr/sbin/vboxguest-service
620 -
621 - insinto /usr/bin
622 - doins VBoxControl
623 - fperms 0755 /usr/bin/VBoxControl
624 -
625 - # VBoxClient user service and xrandr wrapper
626 - if use X ; then
627 - doins VBoxClient
628 - fperms 0755 /usr/bin/VBoxClient
629 -
630 - pushd "${S}"/src/VBox/Additions/x11/Installer &>/dev/null \
631 - || die
632 - newins 98vboxadd-xclient VBoxClient-all
633 - fperms 0755 /usr/bin/VBoxClient-all
634 - popd &>/dev/null || die
635 - fi
636 -
637 - # udev rule for vboxdrv
638 - local udev_rules_dir="/lib/udev/rules.d"
639 - dodir ${udev_rules_dir}
640 - echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
641 - >> "${D}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
642 - || die
643 - echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
644 - >> "${D}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
645 - || die
646 -
647 - # VBoxClient autostart file
648 - insinto /etc/xdg/autostart
649 - doins "${FILESDIR}"/vboxclient.desktop
650 -
651 - # sample xorg.conf
652 - insinto /usr/share/doc/${PF}
653 - doins "${FILESDIR}"/xorg.conf.vbox
654 -
655 - systemd_dounit "${FILESDIR}/${PN}.service"
656 -}
657 -
658 -pkg_postinst() {
659 - linux-mod_pkg_postinst
660 - if ! use X ; then
661 - elog "use flag X is off, enable it to install the"
662 - elog "X Window System video driver."
663 - fi
664 - elog ""
665 - elog "Please add users to the \"vboxguest\" group so they can"
666 - elog "benefit from seamless mode, auto-resize and clipboard."
667 - elog ""
668 - elog "The vboxsf group has been added to make automount services work."
669 - elog "These services are part of the shared folders support."
670 - elog ""
671 - elog "Please add:"
672 - elog "/etc/init.d/${PN}"
673 - elog "to the default runlevel in order to start"
674 - elog "needed services."
675 - elog "To use the VirtualBox X driver, use the following"
676 - elog "file as your /etc/X11/xorg.conf:"
677 - elog " /usr/share/doc/${PF}/xorg.conf.vbox"
678 - elog ""
679 - elog "Also make sure you use the Mesa library for OpenGL:"
680 - elog " eselect opengl set xorg-x11"
681 - elog ""
682 - elog "An autostart .desktop file has been installed to start"
683 - elog "VBoxClient in desktop sessions."
684 - elog ""
685 - elog "You can mount shared folders with:"
686 - elog " mount -t vboxsf <shared_folder_name> <mount_point>"
687 - elog ""
688 - elog "Warning:"
689 - elog "this ebuild is only needed if you are running gentoo"
690 - elog "inside a VirtualBox Virtual Machine, you don't need"
691 - elog "it to run VirtualBox itself."
692 - elog ""
693 -}
694
695 diff --git a/app-emulation/virtualbox-modules/Manifest b/app-emulation/virtualbox-modules/Manifest
696 index cd5418fad2a..c55f45ebe17 100644
697 --- a/app-emulation/virtualbox-modules/Manifest
698 +++ b/app-emulation/virtualbox-modules/Manifest
699 @@ -1,4 +1,3 @@
700 -DIST vbox-kernel-module-src-5.1.26.tar.xz 625384 BLAKE2B f3f0676854e7c597281c4937e2753a117844f584248c824bce2f931adb3f1ee234b71b60f701da7043916fe716c3973ede0f39d6614c60a483fedf34cc70d49e SHA512 c77e0d8dfade2abac95162e7e7a424be4875e44d43bcf2a13e0e50caa69f5fd0d21c77f03bb2cd4cbd5df4ab31e9fbd49ecd9220a49af8cd10081b960e014010
701 DIST vbox-kernel-module-src-5.1.30.tar.xz 625424 BLAKE2B 00d33cad237af1f0d5b4dbea38f84e0327d10d97fc309a8c7536433cb4fddf3614e6de160646077040b4fdc6dd126cfa2250081084ca0243cc572d9f5e9d5dfd SHA512 8e2113584e63e2ace71b708dc77428fd09167a1bded12b47312a5a8f85ef448e17f76b4300dba4c8ec99d7f8cb278cef039c6282c676e35b8f200bafb5c4770a
702 DIST vbox-kernel-module-src-5.2.2.tar.xz 633924 BLAKE2B 85307332f3b0eaea1832b357c4f44a90c38165caaf3dae5d073a92f04f7d1ddf440e8a53fecf2dab4f0179002051382fa4fe1af8be12279bfc921f578c1743a1 SHA512 ec513912567bf58f367f08e212a5d3b82e7caae5fec6985f2253ee9405907b567c8cbd2dea277ddef1344711927eb75525f95d6204ef07cb1325d22185ccb5a4
703 DIST vbox-kernel-module-src-5.2.4.tar.xz 634212 BLAKE2B d8be416f958f672c2ab50b5197f708bc1febca292d5262eec710c07561be7de810fb1dfd5961ef9367c91e0ac1b6033419f85444471e8d40406d4ab860de2a23 SHA512 3c2113a8781cde1a44954267ee469db91c843305a5b1468b1fd346af3f3626a3d98c8a958ec0e255401f569f75e652dbbb1a85fd6cc6b203cf170745c630cee1
704
705 diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.1.26.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.1.26.ebuild
706 deleted file mode 100644
707 index fc282ccbb37..00000000000
708 --- a/app-emulation/virtualbox-modules/virtualbox-modules-5.1.26.ebuild
709 +++ /dev/null
710 @@ -1,64 +0,0 @@
711 -# Copyright 1999-2017 Gentoo Foundation
712 -# Distributed under the terms of the GNU General Public License v2
713 -
714 -# XXX: the tarball here is just the kernel modules split out of the binary
715 -# package that comes from virtualbox-bin
716 -
717 -EAPI=6
718 -
719 -inherit eutils linux-mod user
720 -
721 -MY_P=vbox-kernel-module-src-${PV}
722 -DESCRIPTION="Kernel Modules for Virtualbox"
723 -HOMEPAGE="http://www.virtualbox.org/"
724 -SRC_URI="https://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
725 -
726 -LICENSE="GPL-2"
727 -SLOT="0"
728 -KEYWORDS="amd64 x86"
729 -IUSE="pax_kernel"
730 -
731 -RDEPEND="!=app-emulation/virtualbox-9999"
732 -
733 -S=${WORKDIR}
734 -
735 -BUILD_TARGETS="all"
736 -BUILD_TARGET_ARCH="${ARCH}"
737 -MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})"
738 -
739 -pkg_setup() {
740 - enewgroup vboxusers
741 -
742 - CONFIG_CHECK="!TRIM_UNUSED_KSYMS"
743 - ERROR_TRIM_UNUSED_KSYMS="The kernel option CONFIG_TRIM_UNUSED_KSYMS removed kernel symbols that are needed by ${PN} to load correctly."
744 -
745 - linux-mod_pkg_setup
746 -
747 - BUILD_PARAMS="KERN_DIR=${KV_DIR} O=${KV_OUT_DIR} V=1 KBUILD_VERBOSE=1"
748 -}
749 -
750 -src_prepare() {
751 - if kernel_is -ge 2 6 33 ; then
752 - # evil patch for new kernels - header moved
753 - grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:'
754 - fi
755 -
756 - if use pax_kernel && kernel_is -ge 3 0 0 ; then
757 - epatch "${FILESDIR}"/${PN}-4.1.4-pax-const.patch
758 - fi
759 -
760 - default
761 -}
762 -
763 -src_install() {
764 - linux-mod_src_install
765 - insinto /usr/lib/modules-load.d/
766 - doins "${FILESDIR}"/virtualbox.conf
767 -}
768 -
769 -pkg_postinst() {
770 - linux-mod_pkg_postinst
771 - elog "If you are using sys-apps/openrc, please add \"vboxdrv\", \"vboxnetflt\","
772 - elog "\"vboxnetadp\" and \"vboxpci\" to:"
773 - elog " /etc/conf.d/modules"
774 -}
775
776 diff --git a/app-emulation/virtualbox/Manifest b/app-emulation/virtualbox/Manifest
777 index 48d4569de5f..4f4540aef00 100644
778 --- a/app-emulation/virtualbox/Manifest
779 +++ b/app-emulation/virtualbox/Manifest
780 @@ -1,7 +1,5 @@
781 -DIST VirtualBox-5.1.26.tar.bz2 115915813 BLAKE2B c770420804fd0bcbe5582fccfefc55b6d69a603a99cc9ba26e72f6c1947a3e2bcbc5e9e1aa0185d544fb37b10db8233aa4c5cd14777138f63c2959a3ca5e6954 SHA512 680e9646a51a0a5923b3ded10007ee1c1e2a41c6d8a961d2b2540db6578bed2847154f4cac87e3cfe1118a62595b47c7df99da854f6c340e173b9eb8cacf2add
782 DIST VirtualBox-5.1.30.tar.bz2 116510730 BLAKE2B fe1d9ea37aa33a6aa6a78aebb469e267b9412e96cadc0a5287c263e8be21fdd0c9035a03e31ca954bef99eb5c05416de2bdfde5a657daa9a61eb795815d33542 SHA512 6c44d9593f4815644a484b306e621fe7eca224002f85d89c00f2470300f2c78dbfe50ffda61d2c2465df14ca77c70a2ab86f1a05116feeee9f5833857eb18dee
783 DIST VirtualBox-5.2.2.tar.bz2 118424845 BLAKE2B c918ff1d3989d2d94cec807b596b5daceece6388575f40c70b3581288be664e39cd0f0dae974516d1122110d5660185bac7bcf336418d8f44455290cafb52a7d SHA512 415956cfe987a20eb0a372288c29f0e388bd706a3b94ff69b92ef5bbf2e9aecd75761a56f5421ef97d165f756cd7fd46b9eaf16b74b7d2460b831d7f03aae7dc
784 DIST VirtualBox-5.2.4.tar.bz2 118481693 BLAKE2B 874f5e65d97befaf72767626a1f3271a0b7c30f8dc998dc10aee9478039cecd14ce11c9c624ba596c09641aae9a41ca91ae33e5a82218bc8acd8cd32ebb727e1 SHA512 19cb168393098fd28ab2017a27d09a558721d57b31c5d3610deb68a17dfa7fd7ffe9ad7be18714a314724ab5ecb54e7ab5fb76183e8e89afbed2da79649e2798
785 -DIST virtualbox-5.1.24-patches-01.tar.xz 2708 BLAKE2B 6779a7ad1b013cf2e735817eae9785451c6a91e4a61558a650cfdc67d80b63db0eb33992a3207b0acc1e80b75caef14d9d291705ca7b3c96c4185c31e585e92d SHA512 0028e593818013f809831ac5a73eec63988c0aefb4b309fb3c928efbea8db8b8f46bd7c82f156396adc704f0567474df262dfe9bb6e09af0b2c23528fe2c6e2d
786 DIST virtualbox-5.1.30-patches-02.tar.xz 2608 BLAKE2B 08b05a26622a7acec455f6d0dc72858f5f2758488e50d219f83c3d12606419d48e9d99302cde5a275929fe79af900c1b3ea3957fe9dfdaa952aaa0da9933291a SHA512 8a490f7cc44e40262fc47819736251c177adb635256794e9500f52729197c85211d5b0c0d000268089953a4c185872a8ba03c5d42df6b80f05eac8b81335320a
787 DIST virtualbox-5.2.0-patches-01.tar.xz 2460 BLAKE2B d3f973dc7ee0557c360f801c3bf84065a7e7bc9960984398b8f86d71fab32c59774e970c6cf873be07bcb9666af168570e8a78705a5999b1fc5d863dbbc6e538 SHA512 b91278dd81a50e412f5a281c72949f591a1c53303080549b74b28763cab9e3948948afb0256e0453d17736683cca3372a8e9c6d63f02f3eff3ef92c2a1ea332b
788
789 diff --git a/app-emulation/virtualbox/virtualbox-5.1.26.ebuild b/app-emulation/virtualbox/virtualbox-5.1.26.ebuild
790 deleted file mode 100644
791 index 40f87adb01d..00000000000
792 --- a/app-emulation/virtualbox/virtualbox-5.1.26.ebuild
793 +++ /dev/null
794 @@ -1,459 +0,0 @@
795 -# Copyright 1999-2017 Gentoo Foundation
796 -# Distributed under the terms of the GNU General Public License v2
797 -
798 -EAPI=6
799 -
800 -PYTHON_COMPAT=( python2_7 )
801 -inherit eutils flag-o-matic java-pkg-opt-2 linux-info multilib pax-utils python-single-r1 toolchain-funcs udev xdg-utils
802 -
803 -MY_PV="${PV/beta/BETA}"
804 -MY_PV="${MY_PV/rc/RC}"
805 -MY_P=VirtualBox-${MY_PV}
806 -SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
807 - https://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-5.1.24-patches-01.tar.xz"
808 -S="${WORKDIR}/${MY_P}"
809 -
810 -DESCRIPTION="Family of powerful x86 virtualization products for enterprise and home use"
811 -HOMEPAGE="http://www.virtualbox.org/"
812 -
813 -LICENSE="GPL-2"
814 -SLOT="0"
815 -KEYWORDS="amd64 x86"
816 -IUSE="alsa debug doc headless java libressl lvm pam pax_kernel pulseaudio +opengl python +qt5 +sdk +udev vboxwebsrv vnc"
817 -
818 -RDEPEND="!app-emulation/virtualbox-bin
819 - ~app-emulation/virtualbox-modules-${PV}
820 - dev-libs/libIDL
821 - >=dev-libs/libxslt-1.1.19
822 - net-misc/curl
823 - dev-libs/libxml2
824 - media-libs/libpng:0=
825 - media-libs/libvpx:0=
826 - sys-libs/zlib
827 - !headless? (
828 - media-libs/libsdl:0[X,video]
829 - x11-libs/libX11
830 - x11-libs/libXcursor
831 - x11-libs/libXext
832 - x11-libs/libXmu
833 - x11-libs/libXt
834 - opengl? ( virtual/opengl media-libs/freeglut )
835 - qt5? (
836 - dev-qt/qtcore:5
837 - dev-qt/qtgui:5
838 - dev-qt/qtprintsupport:5
839 - dev-qt/qtwidgets:5
840 - dev-qt/qtx11extras:5
841 - opengl? ( dev-qt/qtopengl:5 )
842 - x11-libs/libXinerama
843 - )
844 - )
845 - java? ( >=virtual/jre-1.6:= )
846 - libressl? ( dev-libs/libressl:= )
847 - !libressl? ( dev-libs/openssl:0= )
848 - lvm? ( sys-fs/lvm2 )
849 - udev? ( >=virtual/udev-171 )
850 - vnc? ( >=net-libs/libvncserver-0.9.9 )"
851 -DEPEND="${RDEPEND}
852 - >=dev-util/kbuild-0.1.9998_pre20131130-r1
853 - >=dev-lang/yasm-0.6.2
854 - sys-devel/bin86
855 - sys-libs/libcap
856 - sys-power/iasl
857 - virtual/pkgconfig
858 - alsa? ( >=media-libs/alsa-lib-1.0.13 )
859 - doc? (
860 - app-text/docbook-sgml-dtd:4.4
861 - dev-texlive/texlive-basic
862 - dev-texlive/texlive-latex
863 - dev-texlive/texlive-latexrecommended
864 - dev-texlive/texlive-latexextra
865 - dev-texlive/texlive-fontsrecommended
866 - dev-texlive/texlive-fontsextra
867 - )
868 - !headless? ( x11-libs/libXinerama )
869 - java? ( >=virtual/jre-1.6:= )
870 - pam? ( sys-libs/pam )
871 - pax_kernel? ( sys-apps/elfix )
872 - pulseaudio? ( media-sound/pulseaudio )
873 - qt5? ( dev-qt/linguist-tools:5 )
874 - vboxwebsrv? ( net-libs/gsoap[-gnutls(-)] )
875 - ${PYTHON_DEPS}"
876 -
877 -QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
878 - usr/lib/virtualbox/VBoxSDL.so
879 - usr/lib/virtualbox/VBoxSharedFolders.so
880 - usr/lib/virtualbox/VBoxDD2.so
881 - usr/lib/virtualbox/VBoxOGLrenderspu.so
882 - usr/lib/virtualbox/VBoxPython.so
883 - usr/lib/virtualbox/VBoxDD.so
884 - usr/lib/virtualbox/VBoxDDU.so
885 - usr/lib/virtualbox/VBoxREM64.so
886 - usr/lib/virtualbox/VBoxSharedClipboard.so
887 - usr/lib/virtualbox/VBoxHeadless.so
888 - usr/lib/virtualbox/VBoxRT.so
889 - usr/lib/virtualbox/VBoxREM.so
890 - usr/lib/virtualbox/VBoxSettings.so
891 - usr/lib/virtualbox/VBoxKeyboard.so
892 - usr/lib/virtualbox/VBoxSharedCrOpenGL.so
893 - usr/lib/virtualbox/VBoxVMM.so
894 - usr/lib/virtualbox/VirtualBox.so
895 - usr/lib/virtualbox/VBoxOGLhosterrorspu.so
896 - usr/lib/virtualbox/components/VBoxC.so
897 - usr/lib/virtualbox/components/VBoxSVCM.so
898 - usr/lib/virtualbox/components/VBoxDDU.so
899 - usr/lib/virtualbox/components/VBoxRT.so
900 - usr/lib/virtualbox/components/VBoxREM.so
901 - usr/lib/virtualbox/components/VBoxVMM.so
902 - usr/lib/virtualbox/VBoxREM32.so
903 - usr/lib/virtualbox/VBoxPython2_7.so
904 - usr/lib/virtualbox/VBoxXPCOMC.so
905 - usr/lib/virtualbox/VBoxOGLhostcrutil.so
906 - usr/lib/virtualbox/VBoxNetDHCP.so
907 - usr/lib/virtualbox/VBoxNetNAT.so"
908 -
909 -REQUIRED_USE="
910 - java? ( sdk )
911 - python? ( sdk )
912 - vboxwebsrv? ( java )
913 - ${PYTHON_REQUIRED_USE}
914 -"
915 -
916 -pkg_setup() {
917 - if ! use headless && ! use qt5 ; then
918 - einfo "No USE=\"qt5\" selected, this build will not include any Qt frontend."
919 - elif use headless && use qt5 ; then
920 - einfo "You selected USE=\"headless qt5\", defaulting to"
921 - einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
922 - fi
923 -
924 - if ! use opengl ; then
925 - einfo "No USE=\"opengl\" selected, this build will lack"
926 - einfo "the OpenGL feature."
927 - fi
928 - if ! use python ; then
929 - einfo "You have disabled the \"python\" USE flag. This will only"
930 - einfo "disable the python bindings being installed."
931 - fi
932 - java-pkg-opt-2_pkg_setup
933 - python-single-r1_pkg_setup
934 -
935 - tc-ld-disable-gold #bug 488176
936 - tc-export CC CXX LD AR RANLIB
937 - export HOST_CC="$(tc-getBUILD_CC)"
938 -}
939 -
940 -src_prepare() {
941 - # Remove shipped binaries (kBuild,yasm), see bug #232775
942 - rm -r kBuild/bin tools || die
943 -
944 - # Replace pointless GCC version check with something less stupid.
945 - # This is needed for the qt5 version check.
946 - sed -e 's@^check_gcc$@cc_maj="$(gcc -dumpversion | cut -d. -f1)" ; cc_min="$(gcc -dumpversion | cut -d. -f2)"@' -i configure || die
947 -
948 - # Don't use "echo -n"
949 - sed 's@ECHO_N="echo -n"@ECHO_N="printf"@' -i configure || die
950 -
951 - # Disable things unused or split into separate ebuilds
952 - sed -e "s@MY_LIBDIR@$(get_libdir)@" \
953 - "${FILESDIR}"/${PN}-5-localconfig > LocalConfig.kmk || die
954 -
955 - # Respect LDFLAGS
956 - sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
957 - -i Config.kmk src/libs/xpcom18a4/Config.kmk || die
958 -
959 - # Do not use hard-coded ld (related to bug #488176)
960 - sed -e '/QUIET)ld /s@ld @$(LD) @' \
961 - -i src/VBox/Devices/PC/ipxe/Makefile.kmk || die
962 -
963 - # Use PAM only when pam USE flag is enbaled (bug #376531)
964 - if ! use pam ; then
965 - elog "Disabling PAM removes the possibility to use the VRDP features."
966 - sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die
967 - sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \
968 - src/VBox/HostServices/Makefile.kmk || die
969 - fi
970 -
971 - # add correct java path
972 - if use java ; then
973 - sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \
974 - -i "${S}"/Config.kmk || die
975 - java-pkg-opt-2_src_prepare
976 - fi
977 -
978 - # Only add nopie patch when we're on hardened
979 - if gcc-specs-pie ; then
980 - eapply "${FILESDIR}/050_virtualbox-5.1.24-nopie.patch"
981 - fi
982 -
983 - # Only add paxmark patch when we're on pax_kernel
984 - if use pax_kernel ; then
985 - eapply "${FILESDIR}"/virtualbox-5.1.4-paxmark-bldprogs.patch
986 - fi
987 -
988 - eapply "${WORKDIR}/patches"
989 -
990 - eapply_user
991 -}
992 -
993 -src_configure() {
994 - local myconf=(
995 - --with-gcc="$(tc-getCC)"
996 - --with-g++="$(tc-getCXX)"
997 - --disable-dbus
998 - --disable-kmods
999 - )
1000 - use alsa || myconf+=( --disable-alsa )
1001 - use debug && myconf+=( --build-debug )
1002 - use doc || myconf+=( --disable-docs )
1003 - use java || myconf+=( --disable-java )
1004 - use lvm || myconf+=( --disable-devmapper )
1005 - use opengl || myconf+=( --disable-opengl )
1006 - use pulseaudio || myconf+=( --disable-pulse )
1007 - use python || myconf+=( --disable-python )
1008 - use vboxwebsrv && myconf+=( --enable-webservice )
1009 - use vnc && myconf+=( --enable-vnc )
1010 - if ! use headless ; then
1011 - use qt5 || myconf+=( --disable-qt )
1012 - else
1013 - myconf+=( --build-headless --disable-opengl )
1014 - fi
1015 - if use amd64 && ! has_multilib_profile ; then
1016 - myconf+=( --disable-vmmraw )
1017 - fi
1018 - # not an autoconf script
1019 - ./configure ${myconf[@]} || die "configure failed"
1020 -}
1021 -
1022 -src_compile() {
1023 - source ./env.sh || die
1024 -
1025 - # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
1026 - MAKEJOBS=$(grep -Eo '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
1027 - MAKELOAD=$(grep -Eo '(\-l|\-\-load-average)(=?|[[:space:]]*)[[:digit:]]+' <<< ${MAKEOPTS}) #'
1028 - MAKEOPTS="${MAKEJOBS} ${MAKELOAD}"
1029 - MAKE="kmk" emake \
1030 - VBOX_BUILD_PUBLISHER=_Gentoo \
1031 - TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
1032 - TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
1033 - TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
1034 - TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
1035 - VBOX_GCC_OPT="${CXXFLAGS}" \
1036 - TOOL_YASM_AS=yasm KBUILD_VERBOSE=2 \
1037 - all
1038 -}
1039 -
1040 -src_install() {
1041 - local binpath="release"
1042 - use debug && binpath="debug"
1043 - cd "${S}"/out/linux.${ARCH}/${binpath}/bin || die
1044 -
1045 - local vbox_inst_path="/usr/$(get_libdir)/${PN}" each fwfile size ico icofile
1046 -
1047 - vbox_inst() {
1048 - local binary="${1}"
1049 - local perms="${2:-0750}"
1050 - local path="${3:-${vbox_inst_path}}"
1051 -
1052 - [[ -n "${binary}" ]] || die "vbox_inst: No binray given!"
1053 - [[ ${perms} =~ ^[[:digit:]]+{4}$ ]] || die "vbox_inst: perms must consist of four digits."
1054 -
1055 - insinto ${path}
1056 - doins ${binary}
1057 - fowners root:vboxusers ${path}/${binary}
1058 - fperms ${perms} ${path}/${binary}
1059 - }
1060 -
1061 - # Create configuration files
1062 - insinto /etc/vbox
1063 - newins "${FILESDIR}/${PN}-4-config" vbox.cfg
1064 -
1065 - # Set the correct libdir
1066 - sed \
1067 - -e "s@MY_LIBDIR@$(get_libdir)@" \
1068 - -i "${D}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
1069 -
1070 - # Install the wrapper script
1071 - exeinto ${vbox_inst_path}
1072 - newexe "${FILESDIR}/${PN}-ose-5-wrapper" "VBox"
1073 - fowners root:vboxusers ${vbox_inst_path}/VBox
1074 - fperms 0750 ${vbox_inst_path}/VBox
1075 -
1076 - # Install binaries and libraries
1077 - insinto ${vbox_inst_path}
1078 - doins -r components
1079 -
1080 - # *.rc files for x86_64 are only available on multilib systems
1081 - local rcfiles="*.rc"
1082 - if use amd64 && ! has_multilib_profile ; then
1083 - rcfiles=""
1084 - fi
1085 - for each in VBox{ExtPackHelperApp,Manage,SVC,Tunctl,XPCOMIPCD} *so *r0 ${rcfiles} ; do
1086 - vbox_inst ${each}
1087 - done
1088 -
1089 - # These binaries need to be suid root.
1090 - for each in VBox{Headless,Net{AdpCtl,DHCP,NAT}} ; do
1091 - vbox_inst ${each} 4750
1092 - done
1093 -
1094 - # Install EFI Firmware files (bug #320757)
1095 - pushd "${S}"/src/VBox/Devices/EFI/FirmwareBin &>/dev/null || die
1096 - for fwfile in VBoxEFI{32,64}.fd ; do
1097 - vbox_inst ${fwfile} 0644
1098 - done
1099 - popd &>/dev/null || die
1100 -
1101 - # VBoxSVC and VBoxManage need to be pax-marked (bug #403453)
1102 - # VBoxXPCOMIPCD (bug #524202)
1103 - for each in VBox{Headless,Manage,SVC,XPCOMIPCD} ; do
1104 - pax-mark -m "${D}"${vbox_inst_path}/${each}
1105 - done
1106 -
1107 - # Symlink binaries to the shipped wrapper
1108 - for each in vbox{headless,manage} VBox{Headless,Manage,VRDP} ; do
1109 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
1110 - done
1111 - dosym ${vbox_inst_path}/VBoxTunctl /usr/bin/VBoxTunctl
1112 -
1113 - # VRDPAuth only works with this (bug #351949)
1114 - dosym VBoxAuth.so ${vbox_inst_path}/VRDPAuth.so
1115 -
1116 - # set an env-variable for 3rd party tools
1117 - echo -n "VBOX_APP_HOME=${vbox_inst_path}" > "${T}/90virtualbox"
1118 - doenvd "${T}/90virtualbox"
1119 -
1120 - if ! use headless ; then
1121 - vbox_inst VBoxSDL 4750
1122 - pax-mark -m "${D}"${vbox_inst_path}/VBoxSDL
1123 -
1124 - for each in vboxsdl VBoxSDL ; do
1125 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
1126 - done
1127 -
1128 - if use qt5 ; then
1129 - vbox_inst VirtualBox 4750
1130 - pax-mark -m "${D}"${vbox_inst_path}/VirtualBox
1131 -
1132 - if use opengl ; then
1133 - vbox_inst VBoxTestOGL
1134 - pax-mark -m "${D}"${vbox_inst_path}/VBoxTestOGL
1135 - fi
1136 -
1137 - for each in virtualbox VirtualBox ; do
1138 - dosym ${vbox_inst_path}/VBox /usr/bin/${each}
1139 - done
1140 -
1141 - insinto /usr/share/${PN}
1142 - doins -r nls
1143 -
1144 - newmenu "${FILESDIR}"/${PN}-ose.desktop-2 ${PN}.desktop
1145 - fi
1146 -
1147 - pushd "${S}"/src/VBox/Artwork/OSE &>/dev/null || die
1148 - for size in 16 32 48 64 128 ; do
1149 - newicon -s ${size} ${PN}-${size}px.png ${PN}.png
1150 - done
1151 - newicon ${PN}-48px.png ${PN}.png
1152 - doicon -s scalable ${PN}.svg
1153 - popd &>/dev/null || die
1154 - pushd "${S}"/src/VBox/Artwork/other &>/dev/null || die
1155 - for size in 16 24 32 48 64 72 96 128 256 512 ; do
1156 - for ico in hdd ova ovf vbox{,-extpack} vdi vdh vmdk ; do
1157 - icofile="${PN}-${ico}-${size}px.png"
1158 - if [[ -f "${icofile}" ]] ; then
1159 - newicon -s ${size} ${icofile} ${PN}-${ico}.png
1160 - fi
1161 - done
1162 - done
1163 - popd &>/dev/null || die
1164 - fi
1165 -
1166 - if use lvm ; then
1167 - vbox_inst VBoxVolInfo 4750
1168 - dosym ${vbox_inst_path}/VBoxVolInfo /usr/bin/VBoxVolInfo
1169 - fi
1170 -
1171 - if use sdk ; then
1172 - insinto ${vbox_inst_path}
1173 - doins -r sdk
1174 -
1175 - if use java ; then
1176 - java-pkg_regjar "${D}${vbox_inst_path}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
1177 - java-pkg_regso "${D}${vbox_inst_path}/libvboxjxpcom.so"
1178 - fi
1179 - fi
1180 -
1181 - if use udev ; then
1182 - # New way of handling USB device nodes for VBox (bug #356215)
1183 - local udevdir="$(get_udevdir)"
1184 - insinto ${udevdir}
1185 - doins VBoxCreateUSBNode.sh
1186 - fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
1187 - fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
1188 - insinto ${udevdir}/rules.d
1189 - sed "s@%UDEVDIR%@${udevdir}@" "${FILESDIR}"/10-virtualbox.rules \
1190 - > "${T}"/10-virtualbox.rules || die
1191 - doins "${T}"/10-virtualbox.rules
1192 - fi
1193 -
1194 - if use vboxwebsrv ; then
1195 - vbox_inst vboxwebsrv
1196 - dosym ${vbox_inst_path}/VBox /usr/bin/vboxwebsrv
1197 - newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
1198 - newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
1199 - fi
1200 -
1201 - if use doc ; then
1202 - dodoc UserManual.pdf
1203 - fi
1204 -}
1205 -
1206 -pkg_postinst() {
1207 - xdg_desktop_database_update
1208 -
1209 - if use udev ; then
1210 - udevadm control --reload-rules \
1211 - && udevadm trigger --subsystem-match=usb
1212 - fi
1213 -
1214 - if ! use headless && use qt5 ; then
1215 - elog "To launch VirtualBox just type: \"virtualbox\"."
1216 - fi
1217 - elog "You must be in the vboxusers group to use VirtualBox."
1218 - elog ""
1219 - elog "The latest user manual is available for download at:"
1220 - elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
1221 - elog ""
1222 - elog "For advanced networking setups you should emerge:"
1223 - elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
1224 - elog ""
1225 - elog "IMPORTANT!"
1226 - elog "If you upgrade from app-emulation/virtualbox-ose make sure to run"
1227 - elog "\"env-update\" as root and logout and relogin as the user you wish"
1228 - elog "to run ${PN} as."
1229 - elog ""
1230 - elog "Starting with version 4.0.0, ${PN} has USB-1 support."
1231 - elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
1232 - elog " app-emulation/virtualbox-extpack-oracle"
1233 - elog "package."
1234 - elog "Starting with version 5.0.0, ${PN} no longer has the \"additions\" and"
1235 - elog "the \"extension\" USE flag. For installation of the guest additions ISO"
1236 - elog "image, please emerge"
1237 - elog " app-emulation/virtualbox-additions"
1238 - elog "and for the USB2, USB3, VRDP and PXE boot ROM modules, please emerge"
1239 - elog " app-emulation/virtualbox-extpack-oracle"
1240 - if ! use udev ; then
1241 - elog ""
1242 - elog "WARNING!"
1243 - elog "Without USE=udev, USB devices will likely not work in ${PN}."
1244 - elif [ -e "${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
1245 - elog ""
1246 - elog "Please remove \"${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules\""
1247 - elog "or else USB in ${PN} won't work."
1248 - fi
1249 -}
1250 -
1251 -pkg_postrm() {
1252 - xdg_desktop_database_update
1253 -}
1254
1255 diff --git a/x11-drivers/xf86-video-virtualbox/Manifest b/x11-drivers/xf86-video-virtualbox/Manifest
1256 index 513f5f57343..bc61973eae9 100644
1257 --- a/x11-drivers/xf86-video-virtualbox/Manifest
1258 +++ b/x11-drivers/xf86-video-virtualbox/Manifest
1259 @@ -1,2 +1 @@
1260 -DIST VirtualBox-5.1.26.tar.bz2 115915813 BLAKE2B c770420804fd0bcbe5582fccfefc55b6d69a603a99cc9ba26e72f6c1947a3e2bcbc5e9e1aa0185d544fb37b10db8233aa4c5cd14777138f63c2959a3ca5e6954 SHA512 680e9646a51a0a5923b3ded10007ee1c1e2a41c6d8a961d2b2540db6578bed2847154f4cac87e3cfe1118a62595b47c7df99da854f6c340e173b9eb8cacf2add
1261 DIST VirtualBox-5.1.30.tar.bz2 116510730 BLAKE2B fe1d9ea37aa33a6aa6a78aebb469e267b9412e96cadc0a5287c263e8be21fdd0c9035a03e31ca954bef99eb5c05416de2bdfde5a657daa9a61eb795815d33542 SHA512 6c44d9593f4815644a484b306e621fe7eca224002f85d89c00f2470300f2c78dbfe50ffda61d2c2465df14ca77c70a2ab86f1a05116feeee9f5833857eb18dee
1262
1263 diff --git a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.26.ebuild b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.26.ebuild
1264 deleted file mode 100644
1265 index 58947da27bc..00000000000
1266 --- a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.1.26.ebuild
1267 +++ /dev/null
1268 @@ -1,195 +0,0 @@
1269 -# Copyright 1999-2017 Gentoo Foundation
1270 -# Distributed under the terms of the GNU General Public License v2
1271 -
1272 -EAPI=6
1273 -
1274 -PYTHON_COMPAT=( python2_7 )
1275 -inherit eutils multilib python-single-r1 versionator toolchain-funcs
1276 -
1277 -MY_PV="${PV/beta/BETA}"
1278 -MY_PV="${MY_PV/rc/RC}"
1279 -MY_P=VirtualBox-${MY_PV}
1280 -DESCRIPTION="VirtualBox X11 video driver for Gentoo guest"
1281 -HOMEPAGE="http://www.virtualbox.org/"
1282 -SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2"
1283 -
1284 -LICENSE="GPL-2"
1285 -SLOT="0"
1286 -KEYWORDS="amd64 x86"
1287 -IUSE="dri"
1288 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
1289 -
1290 -RDEPEND="
1291 - >=x11-base/xorg-server-1.7:=[-minimal]
1292 - x11-libs/libXcomposite
1293 - ${PYTHON_DEPS}"
1294 -DEPEND="${RDEPEND}
1295 - >=dev-lang/yasm-0.6.2
1296 - >=dev-util/kbuild-0.1.9998_pre20131130
1297 - sys-power/iasl
1298 - x11-proto/fontsproto
1299 - x11-proto/randrproto
1300 - x11-proto/renderproto
1301 - x11-proto/resourceproto
1302 - x11-proto/scrnsaverproto
1303 - x11-proto/xextproto
1304 - x11-proto/xineramaproto
1305 - x11-proto/xproto
1306 - x11-libs/libXdmcp
1307 - x11-libs/libXau
1308 - x11-libs/libX11
1309 - x11-libs/libXfixes
1310 - x11-libs/libXext
1311 - dri? ( x11-proto/xf86driproto
1312 - >=x11-libs/libdrm-2.4.5 )"
1313 -PDEPEND="dri? ( ~app-emulation/virtualbox-guest-additions-${PV} )"
1314 -
1315 -BUILD_TARGETS="all"
1316 -BUILD_TARGET_ARCH="${ARCH}"
1317 -S="${WORKDIR}/${MY_P}"
1318 -MODULES_SRC_DIR="${S}/src/VBox/Additions/linux/drm"
1319 -
1320 -PATCHES=(
1321 - # Ugly hack to build the opengl part of the video driver
1322 - "${FILESDIR}/${PN}-2.2.0-enable-opengl.patch"
1323 -
1324 - # unset useless/problematic checks in configure
1325 - "${FILESDIR}/${PN}-5.0.0_beta3-configure_checks.patch"
1326 -
1327 - # xorg-1.19 patch from opensuse (bug #602784)
1328 - "${FILESDIR}/${PN}-5.1.10-xorg119.patch"
1329 -
1330 - # fix bug #579946
1331 - "${FILESDIR}/${PN}-5.1.22-sysmacros.patch"
1332 -)
1333 -
1334 -QA_TEXTRELS_x86="usr/lib/VBoxOGL.so"
1335 -
1336 -pkg_setup() {
1337 - if [ "${MERGE_TYPE}" != "binary" ]; then
1338 - version_is_at_least 4.9 $(gcc-version) || die "Please set gcc 4.9 or higher as active in gcc-config to build ${PN}"
1339 - fi
1340 -
1341 - python-single-r1_pkg_setup
1342 -}
1343 -
1344 -src_prepare() {
1345 - # Prepare the vboxvideo_drm Makefiles and build dir
1346 - eapply "${FILESDIR}"/${PN}-5.1.24-Makefile.module.kms.patch
1347 -
1348 - # Remove shipped binaries (kBuild,yasm), see bug #232775
1349 - rm -r kBuild/bin tools || die
1350 -
1351 - # Disable things unused or splitted into separate ebuilds
1352 - cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die
1353 -
1354 - # Remove pointless GCC version check
1355 - sed -e '/^check_gcc$/d' -i configure || die
1356 -
1357 - default
1358 -
1359 - # link with lazy on hardened #394757
1360 - sed '/^TEMPLATE_VBOXR3EXE_LDFLAGS.linux/s/$/ -Wl,-z,lazy/' \
1361 - -i Config.kmk || die
1362 -}
1363 -
1364 -src_configure() {
1365 - # build the user-space tools, warnings are harmless
1366 - local cmd=(
1367 - ./configure
1368 - --nofatal
1369 - --disable-xpcom
1370 - --disable-sdl-ttf
1371 - --disable-pulse
1372 - --disable-alsa
1373 - --with-gcc="$(tc-getCC)"
1374 - --with-g++="$(tc-getCXX)"
1375 - --target-arch=${ARCH}
1376 - --with-linux="${KV_OUT_DIR}"
1377 - --build-headless
1378 - )
1379 - echo "${cmd[@]}"
1380 - "${cmd[@]}" || die "configure failed"
1381 - source ./env.sh
1382 - export VBOX_GCC_OPT="${CFLAGS} ${CPPFLAGS}"
1383 -}
1384 -
1385 -src_compile() {
1386 - local each targets=(
1387 - Runtime
1388 - Additions/common/VBoxGuestLib
1389 - GuestHost/OpenGL
1390 - Additions/x11/x11stubs
1391 - Additions/common/crOpenGL
1392 - Additions/x11/vboxvideo
1393 - )
1394 -
1395 - # need to use the upstream build system to create necessary objects properly
1396 - use dri && targets+=( Additions/linux/drm )
1397 -
1398 - for each in ${targets[@]} ; do
1399 - pushd "${S}"/src/VBox/${each} &>/dev/null || die
1400 - MAKE="kmk" \
1401 - emake TOOL_YASM_AS=yasm \
1402 - VBOX_USE_SYSTEM_XORG_HEADERS=1 \
1403 - KBUILD_PATH="${S}/kBuild" \
1404 - KBUILD_VERBOSE=2
1405 - popd &>/dev/null || die
1406 - done
1407 -
1408 - if use dri; then
1409 - local objdir="out/linux.${ARCH}/release/obj/vboxvideo_drm"
1410 - # We need a Makefile, so use Makefile.module.kms
1411 - ln -s Makefile.module.kms "${MODULES_SRC_DIR}"/Makefile || die
1412 - # All of these are expected to be in $(KBUILD_EXTMOD)/ so symlink them into place
1413 - targets=(
1414 - include
1415 - src/VBox/Runtime/r0drv
1416 - src/VBox/Installer/linux/Makefile.include.{head,foot}er
1417 - out/linux.${ARCH}/release/{product,version,revision}-generated.h
1418 - )
1419 - for each in ${targets[@]} ; do
1420 - ln -s "${S}"/${each} \
1421 - "${MODULES_SRC_DIR}"/${each##*/} || die
1422 - done
1423 - # see the vboxvideo_drm_SOURCES list in Makefile.kmk for the below,
1424 - # and replace '..' with 'dt'
1425 - targets=(
1426 - dt/dt/common/VBoxVideo/HGSMIBase.o
1427 - dt/dt/common/VBoxVideo/Modesetting.o
1428 - dt/dt/common/VBoxVideo/VBVABase.o
1429 - dt/dt/dt/GuestHost/HGSMI/HGSMICommon.o
1430 - dt/dt/dt/GuestHost/HGSMI/HGSMIMemAlloc.o
1431 - dt/dt/dt/Runtime/common/alloc/heapoffset.o
1432 - )
1433 - for each in ${targets[@]} ; do
1434 - ln -s "${S}"/${objdir}/${each} \
1435 - "${MODULES_SRC_DIR}" || die
1436 - ln -s "${S}"/${objdir}/${each}.dep \
1437 - "${MODULES_SRC_DIR}" || die
1438 - done
1439 - fi
1440 -}
1441 -
1442 -src_install() {
1443 - cd "${S}/out/linux.${ARCH}/release/bin/additions" || die
1444 - insinto /usr/$(get_libdir)/xorg/modules/drivers
1445 - newins vboxvideo_drv_system.so vboxvideo_drv.so
1446 -
1447 - # Guest OpenGL driver
1448 - insinto /usr/$(get_libdir)
1449 - doins -r VBoxOGL*
1450 -
1451 - if use dri ; then
1452 - dosym /usr/$(get_libdir)/VBoxOGL.so \
1453 - /usr/$(get_libdir)/dri/vboxvideo_dri.so
1454 - fi
1455 -}
1456 -
1457 -pkg_postinst() {
1458 - elog "You need to edit the file /etc/X11/xorg.conf and set:"
1459 - elog ""
1460 - elog " Driver \"vboxvideo\""
1461 - elog ""
1462 - elog "in the Graphics device section (Section \"Device\")"
1463 -}