summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2014-01-17 07:11:21 +0000
committerLars Wendler <polynomial-c@gentoo.org>2014-01-17 07:11:21 +0000
commit839e7a69710b15c6ae3eba8f6b142e6a1d734b23 (patch)
tree0decd39aa697132ef8c8185d39cad1c2188c7c5d /app-emulation/virtualbox
parentdrop old version, update maintainer email (diff)
downloadhistorical-839e7a69710b15c6ae3eba8f6b142e6a1d734b23.tar.gz
historical-839e7a69710b15c6ae3eba8f6b142e6a1d734b23.tar.bz2
historical-839e7a69710b15c6ae3eba8f6b142e6a1d734b23.zip
Security cleanup
Package-Manager: portage-2.2.8/cvs/Linux x86_64 Manifest-Sign-Key: 0x981CA6FC
Diffstat (limited to 'app-emulation/virtualbox')
-rw-r--r--app-emulation/virtualbox/ChangeLog7
-rw-r--r--app-emulation/virtualbox/Manifest34
-rw-r--r--app-emulation/virtualbox/virtualbox-4.2.18.ebuild396
-rw-r--r--app-emulation/virtualbox/virtualbox-4.2.20.ebuild396
-rw-r--r--app-emulation/virtualbox/virtualbox-4.3.4.ebuild407
5 files changed, 20 insertions, 1220 deletions
diff --git a/app-emulation/virtualbox/ChangeLog b/app-emulation/virtualbox/ChangeLog
index ff57c7db5e4e..5e1b94cdb19c 100644
--- a/app-emulation/virtualbox/ChangeLog
+++ b/app-emulation/virtualbox/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/virtualbox
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/ChangeLog,v 1.173 2014/01/16 20:28:44 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/ChangeLog,v 1.174 2014/01/17 07:09:31 polynomial-c Exp $
+
+ 17 Jan 2014; Lars Wendler <polynomial-c@gentoo.org>
+ -virtualbox-4.2.18.ebuild, -virtualbox-4.2.20.ebuild,
+ -virtualbox-4.3.4.ebuild:
+ Security cleanup.
16 Jan 2014; Agostino Sarubbo <ago@gentoo.org> virtualbox-4.2.22.ebuild:
Stable for x86, wrt bug #498166
diff --git a/app-emulation/virtualbox/Manifest b/app-emulation/virtualbox/Manifest
index 0225dab912a3..8f381e8588b7 100644
--- a/app-emulation/virtualbox/Manifest
+++ b/app-emulation/virtualbox/Manifest
@@ -9,35 +9,29 @@ AUX virtualbox-4-localconfig 1434 SHA256 e7d23a6c15b5982f7132c38ee5d660bae111a46
AUX virtualbox-ose-3-config 38 SHA256 cc3cd896be49a421b06665683a22edb0fe17d6588fc259140b139c3d8a8581b5 SHA512 5455b70b8ac6f25365bae776b78c3ef5710ae2d5a9e939c7013d72c35f65f178268966ebd291a42666913e45f43c7196f8953331be0b0cc88eba66df39205b08 WHIRLPOOL c7f76904207198a77703c0a3866e10b1c646cf8b802ce2e01fc194f076d8ddcbe9862f55c376a385e6d81fa467fa867c08e1619046d27aa78fecf35398ce6db2
AUX virtualbox-ose-3-wrapper 2931 SHA256 7ed4834ece201cb6a9da57e36a1a9b47bd054057d2ac4a46343a9966ff460644 SHA512 adb6ba2b3252b19b4c0331c10a025d05fd2399642530ba9aec2efa2dc8dbea4188a95806935532ad8229db29f0767c3098ef7646204f5e540e291ceb350b76ac WHIRLPOOL b7d7e454cd5642e59bdf973bbfb7f7d52597b32b440630ec4ba08b8b89f91e4e5296a723429e1c9c5c72e6760264d0477e1232559631e54c85c98351cf170db5
AUX virtualbox-ose.desktop-2 201 SHA256 fa7fc3dae940e768560559db944289c578acb691db2dcb51c8c85bfaf3298a25 SHA512 a678e237ad0451e8785f242ebf822b4f3b03d2e2280a62f71728f79bdcfc84d3465ee60cad90db75e64b2c89a1b0b224de00519728fb605df67ca7c9aee0874c WHIRLPOOL 080fc09f951f621976499e7721e1edaa6e89d6a3632c63d14806a23d1369ce1a7d3408a6375f8658f00603fccf69cef3b2f587e1861b02a09646262f365aee2c
-DIST VirtualBox-4.2.18.tar.bz2 76893031 SHA256 9dbddf393b029c549249f627d12040c1d257972bc09292969b8819a31ab78d74 SHA512 c267cef156476992773135b5a154164f30841c4f2d4afa5e6c7c74a320384f621d141bff5f7164968767c3d86035befcb59e34b7a912a8a5ae3bede2d24e9c60 WHIRLPOOL 665e4895db5c0fd623fd08c6b9f4df69e5e5d27ebd3063a4216721460782691d2936567be68a4af7bed57b88fd5b2a41805df76551b1aac200ccff0101055a56
-DIST VirtualBox-4.2.20.tar.bz2 77050211 SHA256 193aa3ce7c0e700fe6a12b64bf462ce633a856f1e831ee4a337cc3439b21df61 SHA512 53cd847490e74ed7255a63a0e15b5de424d10c32934212b9aa50ef5beae69194895195991f4c58a5baf4ad9645bf90473e0474c287c395c3c064fc217ea7957e WHIRLPOOL 0177201a63978fdd75ebe65a8567d561bcb12609d936c8e9f98fef61ecafd2630235d988e17a38c82d39de9a729a32d5b0c493833cf88a35f88b3f8b7e558498
DIST VirtualBox-4.2.22.tar.bz2 77039185 SHA256 4a017ec5fa0e0cfa830ae6c2b9d680c9b108e5fb96348e1397a7d0ea051f8bc1 SHA512 136b3f3ea9a79493aecd86883c619d10934d80c391ce88985501736fc95d7066e0e31d02e7867974f9077eae5a431519d0c1001fc781d240f0578a1c63c29ee6 WHIRLPOOL e6ea0768587ee152463c3388476199333cf39f56f7bda43094ad98ea2179b8f0e81819004c6433133a68d7ede9606d2aaa4ee2aa96ad05bda06a7706f4e079cc
-DIST VirtualBox-4.3.4.tar.bz2 89614288 SHA256 d2b9020d088c08cbf3d2dfb05eaa0922e2c91b46c9767911796b785a9ccb2e1f SHA512 b8cc6bb6af62d279d76ff1bbc16763f9dd9a577a55a2ef77683d995a229bb8c1b73ab548cca85ccb97bdf021cc8a6aaf3cb2dc4bf7e57b00e3f94cd05986e2e0 WHIRLPOOL 2ffe8fdbb0fc96c7bf2ed4314278ec78b8fd0e5f05bda572841b788a275dc263a364ecf8e1e0a691da505383bdd09ad483f34abcd3f7baea89373ee161822f8d
DIST VirtualBox-4.3.6.tar.bz2 89609199 SHA256 c547e1e32e0b06fba9ee4ca7842f8ddee8e94c64aab17c2b0d0793f0caccbb27 SHA512 8cb540a825afa5f6069ad2bb155e825af4a222f6d20c5e653bf6bbbb07dfbc4d122640da5f249b72f1aa34f8afd92ef41c525911db30090a2d108b9609da4a38 WHIRLPOOL 12fd27c9499d9fac0283c01a276e02ac3c10c72c66e0ffea8db49beefa66b44f6b4c8fb727da5d74cc0ed2feb00531a67b65f52a5f55ceef2a8db64868cfc89a
DIST virtualbox-4.2.18-patches-01.tar.xz 3788 SHA256 9a147e3a3da7e1e07b70aed67042c822897c7874ccaa3690c9497862373d8222 SHA512 021f8a566ede223ead5a2605bff3917195165c543f760ee7af004ab97d5dcf0771e6ccb62148d7986a34872ea8c35db952286fb8534b1f69804e192701bd8108 WHIRLPOOL 9818df1703636fecfbda1bbeb4d167d845701fe9de2827a97573a26ffb3cb9feaa22ee2849c45d3ea700a9c305185eb404b15572b0f4e666f8a8e6158a48b9eb
DIST virtualbox-4.3.4-patches-01.tar.xz 3512 SHA256 92602471590278f42db4e13aeb3975620ce0b8f1f883b82a534b6998bb4fc2e3 SHA512 3a487283066b96fb8abc765d446dbc3d3b34ed93a12d932e843b7ecdf644a02fc185f47764cfb3e4b996e104da8e1fc07432892ea126229c174e00f748468496 WHIRLPOOL 19b344f784e866b87c1f7583081746776da5203737bbb284a32b8bcb48a8546286cd209b6749c6c77c08ee02039afcf3838d49d179ae4cc1592ca1fbd5fd5b12
-EBUILD virtualbox-4.2.18.ebuild 12230 SHA256 e1dba520cc551870f7c26eb3c09955a85cd6d20d118dde8e51a0cea23d505b91 SHA512 237b2e6a60729eeba668058846d18616727ddadf5f1b645a5f5e3dc84edb3efc4b820977e040b7208f74fe846e09659e4ae2ce1e0646989cf91c9c278fa172c5 WHIRLPOOL 0d3b071cc538d7899c8e9e28b772db22f87ebbdff006b3741083ffdef91e60fa375150ddae8ab47758bac983721142e7301b51f5e7a8f8fa21a5cfa81732bf70
-EBUILD virtualbox-4.2.20.ebuild 12239 SHA256 cf43aeba7d6fd54948a11691fffbf893bb46a6f696918b369d5d7bbdf45cfbba SHA512 e1430917b6ff9babf229d6998e268f59dea6f95d592fe34196bda18a8834e82e3480cd5b5b47befcef8364a3006420c911acdbab4f20d5200a65fa3da3c71534 WHIRLPOOL d3c65ad36328cdeef10aa6f121f14e2dc6a7ff3f15046cf0b80939c04c3a9458e265667b6a8e9043ca300cf1a304401c6c66bec5f5a3ec414495e8e816fbd936
EBUILD virtualbox-4.2.22.ebuild 12228 SHA256 28f003aff87ca7803ef355f4ba94efc0e0fa2a065eb9e972ca4eba6a3d6b64e7 SHA512 55cec4c12a9b6705a68050fc63064a937e6fac5e52d5f37822c48a2cd38bde727c71efe457d2cf93fd0709fe71f58448d6525b20e8f878ea3872c2f6ad203803 WHIRLPOOL aa46113886b731af8be14ef02d1b47c73c3c03d05363fde5ad85d0b7e68bc16f67c7ff366c057d658c0742469ed374fd0543c94ea6cc3f04c342b95a9daf22de
-EBUILD virtualbox-4.3.4.ebuild 12513 SHA256 4bdf2bcb63d5625832efb471f8c81429027ec519c910f7087a63c2985feb620b SHA512 666c4eab093d3bd5e27469d5029af09991ea4f958ccc473711d31f0bf7f274d70458bc13b92c9268a0611b4caa1a22386fadbd440828a86b6a4bdd5eb03afb6e WHIRLPOOL 5d122074e3c4879e3a515facfe0f7ecc9bf0551698e748f4656389e5a1cc071699979bc71ff6a018433c42952890e6198eb3b6f4a8295d37cc56ca39e31429bc
EBUILD virtualbox-4.3.6.ebuild 12513 SHA256 5faba0167cd9a0e5a2848b5a5dc9654eef45b430784524bc1439482845dad559 SHA512 70a30e496e874941a1f8d338f30dbd5a1885accd5759ffc5d8bae323e82f3db2bd61395f74c3a0d3389510a522fdde026dc33d31a387c29aab6e9a65fbc0d213 WHIRLPOOL e4650a8fc386e1f40502c9d3e0bf3c42b208332a3901776bb14f458b20f42934b19b38a26c891adadb6639fbd46ca3f5f9500f5ae6fdd6963c96fff9cc8c2a34
EBUILD virtualbox-9999.ebuild 5123 SHA256 8cd24ad4cc1fab5562d58ebcf531b3131796eb24c40489d98bfb2078cd0b3803 SHA512 3c4658a749419a64f7ed8636e62f385db059639d58a2152ac1b136f54f8577407ba0553f612511ea7819eb4e26727ab516f62b11faac5d2e4b6de73892206430 WHIRLPOOL 317967e118951cda333e6db60a6e8f37df7a53599d752271d8f29873caa1e9bb22774963e8972989516031516b293c5b8dd9f7f5e680ac785d7f16437bf8c2ca
-MISC ChangeLog 25268 SHA256 e2a74c5d9e9e120aa9ae5d6b1a2a9c757e09beff7dc9b02003a515c242ac5722 SHA512 3e2273393278a38adb9b64eee7999670f2946267510025efc0a1e2341657ecef49fa25e71d00f38861d0115bbe2535fe55ef649b859fefb566a9eb4d9aeabc2c WHIRLPOOL d7b7e60e5cd26dee5b21e046a9e5977b80ea54c52829d013da4b8956b106a6b0835362fbe4514b1561b680ee9b4b125acb2e8c061211c6baa756a3cd2e4f3a49
+MISC ChangeLog 25436 SHA256 ec7847ca58a979b90b4a700734abd44d35794bc72192bd5a5ea4847292b0b1a1 SHA512 ed327ac91168f73b4a76879d5edfa8b5a7200f57cb5d232daf21dacd36f07566c6ee83e9d943e0f4497c5236b3ed6273db902d1b931059f9f62173d8324d6a0e WHIRLPOOL 4994a7d2fd075807832fcf46958e4e89dc5770ec2d2bcfcb9d065b9bee1ab2ab9efe09cfe4af6de9078d973bcb431e20aa02c9a8412e275865f97125f3d4b822
MISC metadata.xml 673 SHA256 5cf3053a2f23eff40c24dfdb7af90d4bf905df95a7406f6298ae9e5e547cbe79 SHA512 79b4b7477041212815e0b509016b692ac719625534ba93540ac5afe655e47ed2ed27d7ba51b494a49a6ac603733ba0b66a2a517f27e4d0e6b7563eb7d4e640ec WHIRLPOOL 6bcb7711e01036fa3ff064ffdc5021da6fca464d4da77d8e93d033304c7c1d3ed105723d5d5e7fa3328daec929c7c7a90c9c82572bb082765f286b53c3feb688
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJS2ED9AAoJELp701BxlEWfe/sP/jqyVCLlj4vcohVJF9GoxaFa
-izur+p8Mrrd5Ob8PFerHyO8BvVJG9UvElnCw9ul3rpozHMx2wkVJO0owt+IStqjf
-d1Bgeg0ORlwpAu3AR/4eI/7DOdUuFQLr2Tdu4aFpaYpUpEa3gdgpH3B4LSjte6gm
-L775wa7DKnCLEnF/hoJCAgDafd+nTwyoyLdooljQhlaFmipCDnZP5ESOULae4uYs
-1i5eV7/id9Vhji4UMUQLujToAYHkCf6qVRX3Mp4ss3aW51jjg7uM6VM42MoxabUA
-AW3EbrttbMaHWpt2H88iKmvKvAm+9+uX05JHyeIfXQYHPdstrikD5Up432zxlrCJ
-K5s+r4DKnRow6kkfPqYrxfdLGWG9tAnd3bioAF2GnPqcA8w6XikCI+EerzRxPnQo
-7Dqa281rDKWA87igPppe1xoLArwbi2RwePKzwQbogR3f0BDUodRLLEVKOuOC0ARy
-aUhQ8RixzQVlwA9cecGUEQ4+laOBdQv64NtxFVNoBwH76ND7TSywwqC4UGudQTdI
-Fe8R3aTxCJMQ0pTkNvNxftH4TCEUn8sjq+0CkF01IBg9G2X6wz0gQIS05iUb6fX5
-nhHPZMyUK7P8DZ7TfUmA/4SDFqIH2B2N9oqGj1EzO+aEJfJEVJknaXW4d86qUx1a
-LMU6kecmBy97D0EUGnBS
-=nbG9
+iQIcBAEBCAAGBQJS2NcsAAoJEPiazRVxLXTFTh8QALwGMh9MR3UkgNclwgqoMefE
+Vq9YdlBo9gi7qyXOvVUPM+UgeB6q3ljEqBNA6MPQPZ2YoDN60igfzuVMyJFO4k7R
+iwL+2hRQ3d/2H0jUTRDU1pPMWVgwFvuAiSYwvj7bmr5qvtCkkzdLHoc5H3HOpfZU
+ijqcWkIDBNX5s2x4Qj/8yquWXaCdYNmRqYfeL/vygXkHXJCTwBKuz+ZwwgRuqTPX
+XOcUetfHr9TyJqIBbg0gH/UgjAwALCqwVmJzT0J7+JKy81pqjWNxJRjT+KoMwl1s
+kO4M9Zk50LExLQJIZtE81NRhze7+1tL3UgghTqGG5bXU6ZyQCRNXari1Y/n42Hbm
+2vBCA9GzB1lWJcibXoW3sik6mpYkZ96ljq4fHwECWoFtLiGKbKE4mTeAdgB+yFYR
+85ZivoqSWV2nyE6Ho/yBV91K1raUBjVk0tT+hWY/X9/jEAtK/huwOZwdImNWirIC
+1V+Bm9TtUwWjoPumyaOnGPMPaVoJDoZVn7tyl9D/q7mp6gGw/loScbnxq143PYkw
+TG+79SZn1St1meDNihxQQ9XjY/ZrJdroSv8APCqRyQ/VRzgAkDevwXw4MO2TB2+g
+wh2XDJ+kj5icBy1dfGv/1ooAwGfCDTx369InAMl/FmZWraSJ7JjkTHWfmswwqNwl
+Nz0RxjfhmykS/sSQQLAY
+=McXd
-----END PGP SIGNATURE-----
diff --git a/app-emulation/virtualbox/virtualbox-4.2.18.ebuild b/app-emulation/virtualbox/virtualbox-4.2.18.ebuild
deleted file mode 100644
index 165d8ace4ee5..000000000000
--- a/app-emulation/virtualbox/virtualbox-4.2.18.ebuild
+++ /dev/null
@@ -1,396 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.2.18.ebuild,v 1.6 2013/12/07 14:34:18 pacho Exp $
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-inherit eutils fdo-mime flag-o-matic linux-info multilib pax-utils python-single-r1 qt4-r2 toolchain-funcs java-pkg-opt-2 udev
-
-MY_PV="${PV/beta/BETA}"
-MY_PV="${MY_PV/rc/RC}"
-MY_P=VirtualBox-${MY_PV}
-SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
- http://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-4.2.18-patches-01.tar.xz"
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="Family of powerful x86 virtualization products for enterprise as well as home use"
-HOMEPAGE="http://www.virtualbox.org/"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="+additions alsa doc extensions headless java pam pulseaudio +opengl python +qt4 +sdk vboxwebsrv vnc"
-
-RDEPEND="!app-emulation/virtualbox-bin
- ~app-emulation/virtualbox-modules-${PV}
- dev-libs/libIDL
- >=dev-libs/libxslt-1.1.19
- net-misc/curl
- dev-libs/openssl
- dev-libs/libxml2
- media-libs/libpng
- sys-libs/zlib
- >=virtual/udev-171
- !headless? (
- qt4? (
- dev-qt/qtgui:4
- dev-qt/qtcore:4
- opengl? ( dev-qt/qtopengl:4 )
- x11-libs/libXinerama
- )
- opengl? ( virtual/opengl media-libs/freeglut )
- x11-libs/libX11
- x11-libs/libXcursor
- x11-libs/libXext
- x11-libs/libXmu
- x11-libs/libXt
- media-libs/libsdl:0[X,video]
- )
- vnc? ( >=net-libs/libvncserver-0.9.9 )
- java? ( || ( virtual/jre:1.7 virtual/jre:1.6 ) )"
-DEPEND="${RDEPEND}
- >=dev-util/kbuild-0.1.9998_pre20120806
- >=dev-lang/yasm-0.6.2
- sys-devel/bin86
- sys-power/iasl
- pam? ( sys-libs/pam )
- sys-libs/libcap
- doc? (
- dev-texlive/texlive-basic
- dev-texlive/texlive-latex
- dev-texlive/texlive-latexrecommended
- dev-texlive/texlive-latexextra
- dev-texlive/texlive-fontsrecommended
- dev-texlive/texlive-fontsextra
- )
- java? ( || ( virtual/jdk:1.7 virtual/jdk:1.6 ) )
- virtual/pkgconfig
- alsa? ( >=media-libs/alsa-lib-1.0.13 )
- !headless? ( x11-libs/libXinerama )
- pulseaudio? ( media-sound/pulseaudio )
- vboxwebsrv? ( <net-libs/gsoap-2.8.13 )
- ${PYTHON_DEPS}"
-PDEPEND="additions? ( ~app-emulation/virtualbox-additions-${PV} )
- extensions? ( ~app-emulation/virtualbox-extpack-oracle-${PV} )"
-
-QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
- usr/lib/virtualbox/VBoxSDL.so
- usr/lib/virtualbox/VBoxSharedFolders.so
- usr/lib/virtualbox/VBoxDD2.so
- usr/lib/virtualbox/VBoxOGLrenderspu.so
- usr/lib/virtualbox/VBoxPython.so
- usr/lib/virtualbox/VBoxDD.so
- usr/lib/virtualbox/VBoxDDU.so
- usr/lib/virtualbox/VBoxREM64.so
- usr/lib/virtualbox/VBoxSharedClipboard.so
- usr/lib/virtualbox/VBoxHeadless.so
- usr/lib/virtualbox/VBoxRT.so
- usr/lib/virtualbox/VBoxREM.so
- usr/lib/virtualbox/VBoxSettings.so
- usr/lib/virtualbox/VBoxKeyboard.so
- usr/lib/virtualbox/VBoxSharedCrOpenGL.so
- usr/lib/virtualbox/VBoxVMM.so
- usr/lib/virtualbox/VirtualBox.so
- usr/lib/virtualbox/VBoxOGLhosterrorspu.so
- usr/lib/virtualbox/components/VBoxC.so
- usr/lib/virtualbox/components/VBoxSVCM.so
- usr/lib/virtualbox/components/VBoxDDU.so
- usr/lib/virtualbox/components/VBoxRT.so
- usr/lib/virtualbox/components/VBoxREM.so
- usr/lib/virtualbox/components/VBoxVMM.so
- usr/lib/virtualbox/VBoxREM32.so
- usr/lib/virtualbox/VBoxPython2_4.so
- usr/lib/virtualbox/VBoxPython2_5.so
- usr/lib/virtualbox/VBoxPython2_6.so
- usr/lib/virtualbox/VBoxPython2_7.so
- usr/lib/virtualbox/VBoxXPCOMC.so
- usr/lib/virtualbox/VBoxOGLhostcrutil.so
- usr/lib/virtualbox/VBoxNetDHCP.so"
-
-REQUIRED_USE="
- java? ( sdk )
- python? (
- ( sdk )
- )
- vboxwebsrv? ( java )
- ${PYTHON_REQUIRED_USE}
-"
-
-pkg_setup() {
- if ! use headless && ! use qt4 ; then
- einfo "No USE=\"qt4\" selected, this build will not include"
- einfo "any Qt frontend."
- elif use headless && use qt4 ; then
- einfo "You selected USE=\"headless qt4\", defaulting to"
- einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
- fi
-
- if ! use opengl ; then
- einfo "No USE=\"opengl\" selected, this build will lack"
- einfo "the OpenGL feature."
- fi
- if ! use python ; then
- einfo "You have disabled the \"python\" USE flag. This will only"
- einfo "disable the python bindings being installed."
- fi
- java-pkg-opt-2_pkg_setup
- python-single-r1_pkg_setup
-}
-
-src_prepare() {
- # Remove shipped binaries (kBuild,yasm), see bug #232775
- rm -rf kBuild/bin tools
-
- # Disable things unused or split into separate ebuilds
- sed -e "s@MY_LIBDIR@$(get_libdir)@" \
- "${FILESDIR}"/${PN}-4-localconfig > LocalConfig.kmk || die
-
- # Respect LDFLAGS
- sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
- -i Config.kmk src/libs/xpcom18a4/Config.kmk || die
-
- # Use PAM only when pam USE flag is enbaled (bug #376531)
- if ! use pam ; then
- elog "Disabling PAM removes the possibility to use the VRDP features."
- sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die
- sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \
- src/VBox/HostServices/Makefile.kmk || die
- fi
-
- # add correct java path
- if use java ; then
- sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \
- -i "${S}"/Config.kmk || die
- java-pkg-opt-2_src_prepare
- fi
-
- if ! gcc-specs-pie ; then
- EPATCH_EXCLUDE="050_${PN}-4.2.0-nopie.patch"
- fi
-
- EPATCH_SUFFIX="patch" \
- EPATCH_FORCE="yes" \
- epatch "${WORKDIR}/patches"
-
- epatch_user
-
- # fix location of ifconfig binary (bug #455902)
- local ifcfg="$(type -p ifconfig)"
- if [ "${ifcfg}" != "/sbin/ifconfig" ] ; then
- sed "/VBOXADPCTL_IFCONFIG_PATH/s@/sbin/ifconfig@${ifcfg}@" \
- -i "${S}"/src/apps/adpctl/VBoxNetAdpCtl.cpp \
- || die
- fi
-}
-
-src_configure() {
- local myconf
- use alsa || myconf+=" --disable-alsa"
- use opengl || myconf+=" --disable-opengl"
- use pulseaudio || myconf+=" --disable-pulse"
- use python || myconf+=" --disable-python"
- use java || myconf+=" --disable-java"
- use vboxwebsrv && myconf+=" --enable-webservice"
- use vnc && myconf+=" --enable-vnc"
- use doc || myconf+=" --disable-docs"
- if ! use headless ; then
- use qt4 || myconf+=" --disable-qt4"
- else
- myconf+=" --build-headless --disable-opengl"
- fi
- # not an autoconf script
- ./configure \
- --with-gcc="$(tc-getCC)" \
- --with-g++="$(tc-getCXX)" \
- --disable-kmods \
- --disable-dbus \
- --disable-devmapper \
- ${myconf} \
- || die "configure failed"
-}
-
-src_compile() {
- source ./env.sh
-
- # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
- # and strip all flags
- # strip-flags
-
- MAKE="kmk" emake \
- VBOX_BUILD_PUBLISHER=_Gentoo \
- TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
- TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
- TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
- TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
- VBOX_GCC_OPT="${CXXFLAGS}" \
- TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" \
- KBUILD_VERBOSE=2 \
- all
-}
-
-src_install() {
- cd "${S}"/out/linux.${ARCH}/release/bin || die
-
- # Create configuration files
- insinto /etc/vbox
- newins "${FILESDIR}/${PN}-4-config" vbox.cfg
-
- # Set the right libdir
- sed -i \
- -e "s@MY_LIBDIR@$(get_libdir)@" \
- "${D}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
-
- # Symlink binaries to the shipped wrapper
- exeinto /usr/$(get_libdir)/${PN}
- newexe "${FILESDIR}/${PN}-ose-3-wrapper" "VBox"
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBox
- fperms 0750 /usr/$(get_libdir)/${PN}/VBox
-
- dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxManage
- dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxVRDP
- dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxHeadless
- dosym /usr/$(get_libdir)/${PN}/VBoxTunctl /usr/bin/VBoxTunctl
-
- # Install binaries and libraries
- insinto /usr/$(get_libdir)/${PN}
- doins -r components
-
- if use sdk ; then
- doins -r sdk
- fi
-
- if use vboxwebsrv ; then
- doins vboxwebsrv
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/vboxwebsrv
- fperms 0750 /usr/$(get_libdir)/${PN}/vboxwebsrv
- dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/vboxwebsrv
- newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
- newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
- fi
-
- for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,ExtPackHelperApp} *so *r0 *gc ; do
- doins $each
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
- fperms 0750 /usr/$(get_libdir)/${PN}/${each}
- done
- # VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
- fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetAdpCtl
- fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetDHCP
-
- # VBoxSVC needs to be pax-marked (bug #403453)
- pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxSVC || die
-
- if ! use headless ; then
- for each in VBox{SDL,Headless} ; do
- doins $each
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
- fperms 4750 /usr/$(get_libdir)/${PN}/${each}
- pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/${each}
- done
-
- if use opengl && use qt4 ; then
- doins VBoxTestOGL
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxTestOGL
- fperms 0750 /usr/$(get_libdir)/${PN}/VBoxTestOGL
- fi
-
- dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxSDL
-
- if use qt4 ; then
- doins VirtualBox
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/VirtualBox
- fperms 4750 /usr/$(get_libdir)/${PN}/VirtualBox
- pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VirtualBox
-
- dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VirtualBox
-
- newmenu "${FILESDIR}"/${PN}-ose.desktop-2 ${PN}.desktop
- fi
-
- pushd "${S}"/src/VBox/Resources/OSE &>/dev/null || die
- for size in 16 32 48 64 128 ; do
- newicon -s ${size} ${PN}-${size}px.png ${PN}.png
- done
- newicon ${PN}-48px.png ${PN}.png
- popd &>/dev/null || die
- else
- doins VBoxHeadless
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxHeadless
- fperms 4750 /usr/$(get_libdir)/${PN}/VBoxHeadless
- pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxHeadless
- fi
-
- insinto /usr/$(get_libdir)/${PN}
- # Install EFI Firmware files (bug #320757)
- pushd "${S}"/src/VBox/Devices/EFI/FirmwareBin &>/dev/null || die
- for fwfile in VBoxEFI{32,64}.fd ; do
- doins ${fwfile}
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/${fwfile}
- done
- popd &>/dev/null || die
-
- # New way of handling USB device nodes for VBox (bug #356215)
- local udevdir="$(udev_get_udevdir)"
- insinto ${udevdir}
- doins VBoxCreateUSBNode.sh
- fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
- fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
- insinto ${udevdir}/rules.d
- doins "${FILESDIR}"/10-virtualbox.rules
- sed "s@%UDEVDIR%@${udevdir}@" \
- -i "${D}"${udevdir}/rules.d/10-virtualbox.rules || die
-
- insinto /usr/share/${PN}
- if ! use headless && use qt4 ; then
- doins -r nls
- fi
-
- # VRDPAuth only works with this (bug #351949)
- dosym VBoxAuth.so /usr/$(get_libdir)/${PN}/VRDPAuth.so
-
- # set an env-variable for 3rd party tools
- echo -n "VBOX_APP_HOME=/usr/$(get_libdir)/${PN}" > "${T}/90virtualbox"
- doenvd "${T}/90virtualbox"
-
- if use java ; then
- java-pkg_regjar "${D}/usr/$(get_libdir)/${PN}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
- java-pkg_regso "${D}/usr/$(get_libdir)/${PN}/libvboxjxpcom.so"
- fi
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
-
- udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
-
- if ! use headless && use qt4 ; then
- elog "To launch VirtualBox just type: \"VirtualBox\"."
- fi
- elog "You must be in the vboxusers group to use VirtualBox."
- elog ""
- elog "The latest user manual is available for download at:"
- elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
- elog ""
- elog "For advanced networking setups you should emerge:"
- elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
- elog ""
- elog "IMPORTANT!"
- elog "If you upgrade from app-emulation/virtualbox-ose make sure to run"
- elog "\"env-update\" as root and logout and relogin as the user you wish"
- elog "to run ${PN} as."
- elog ""
- elog "Starting with version 4.0.0, ${PN} has USB-1 support."
- elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
- elog " app-emulation/virtualbox-extpack-oracle"
- elog "package."
- if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
- elog ""
- elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
- elog "or else USB in ${PN} won't work."
- fi
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
-}
diff --git a/app-emulation/virtualbox/virtualbox-4.2.20.ebuild b/app-emulation/virtualbox/virtualbox-4.2.20.ebuild
deleted file mode 100644
index 105f423bb5a9..000000000000
--- a/app-emulation/virtualbox/virtualbox-4.2.20.ebuild
+++ /dev/null
@@ -1,396 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.2.20.ebuild,v 1.2 2013/12/06 14:39:14 polynomial-c Exp $
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-inherit eutils fdo-mime flag-o-matic linux-info multilib pax-utils python-single-r1 qt4-r2 toolchain-funcs java-pkg-opt-2 udev
-
-MY_PV="${PV/beta/BETA}"
-MY_PV="${MY_PV/rc/RC}"
-MY_P=VirtualBox-${MY_PV}
-SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
- http://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-4.2.18-patches-01.tar.xz"
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="Family of powerful x86 virtualization products for enterprise as well as home use"
-HOMEPAGE="http://www.virtualbox.org/"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+additions alsa doc extensions headless java pam pulseaudio +opengl python +qt4 +sdk vboxwebsrv vnc"
-
-RDEPEND="!app-emulation/virtualbox-bin
- ~app-emulation/virtualbox-modules-${PV}
- dev-libs/libIDL
- >=dev-libs/libxslt-1.1.19
- net-misc/curl
- dev-libs/openssl
- dev-libs/libxml2
- media-libs/libpng
- sys-libs/zlib
- >=virtual/udev-171
- !headless? (
- qt4? (
- dev-qt/qtgui:4
- dev-qt/qtcore:4
- opengl? ( dev-qt/qtopengl:4 )
- x11-libs/libXinerama
- )
- opengl? ( virtual/opengl media-libs/freeglut )
- x11-libs/libX11
- x11-libs/libXcursor
- x11-libs/libXext
- x11-libs/libXmu
- x11-libs/libXt
- media-libs/libsdl:0[X,video]
- )
- vnc? ( >=net-libs/libvncserver-0.9.9 )
- java? ( || ( virtual/jre:1.7 virtual/jre:1.6 ) )"
-DEPEND="${RDEPEND}
- >=dev-util/kbuild-0.1.9998_pre20120806
- >=dev-lang/yasm-0.6.2
- sys-devel/bin86
- sys-power/iasl
- pam? ( sys-libs/pam )
- sys-libs/libcap
- doc? (
- dev-texlive/texlive-basic
- dev-texlive/texlive-latex
- dev-texlive/texlive-latexrecommended
- dev-texlive/texlive-latexextra
- dev-texlive/texlive-fontsrecommended
- dev-texlive/texlive-fontsextra
- )
- java? ( || ( virtual/jdk:1.7 virtual/jdk:1.6 ) )
- virtual/pkgconfig
- alsa? ( >=media-libs/alsa-lib-1.0.13 )
- !headless? ( x11-libs/libXinerama )
- pulseaudio? ( media-sound/pulseaudio )
- vboxwebsrv? ( <net-libs/gsoap-2.8.13 )
- ${PYTHON_DEPS}"
-PDEPEND="additions? ( ~app-emulation/virtualbox-additions-${PV} )
- extensions? ( ~app-emulation/virtualbox-extpack-oracle-${PV} )"
-
-QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
- usr/lib/virtualbox/VBoxSDL.so
- usr/lib/virtualbox/VBoxSharedFolders.so
- usr/lib/virtualbox/VBoxDD2.so
- usr/lib/virtualbox/VBoxOGLrenderspu.so
- usr/lib/virtualbox/VBoxPython.so
- usr/lib/virtualbox/VBoxDD.so
- usr/lib/virtualbox/VBoxDDU.so
- usr/lib/virtualbox/VBoxREM64.so
- usr/lib/virtualbox/VBoxSharedClipboard.so
- usr/lib/virtualbox/VBoxHeadless.so
- usr/lib/virtualbox/VBoxRT.so
- usr/lib/virtualbox/VBoxREM.so
- usr/lib/virtualbox/VBoxSettings.so
- usr/lib/virtualbox/VBoxKeyboard.so
- usr/lib/virtualbox/VBoxSharedCrOpenGL.so
- usr/lib/virtualbox/VBoxVMM.so
- usr/lib/virtualbox/VirtualBox.so
- usr/lib/virtualbox/VBoxOGLhosterrorspu.so
- usr/lib/virtualbox/components/VBoxC.so
- usr/lib/virtualbox/components/VBoxSVCM.so
- usr/lib/virtualbox/components/VBoxDDU.so
- usr/lib/virtualbox/components/VBoxRT.so
- usr/lib/virtualbox/components/VBoxREM.so
- usr/lib/virtualbox/components/VBoxVMM.so
- usr/lib/virtualbox/VBoxREM32.so
- usr/lib/virtualbox/VBoxPython2_4.so
- usr/lib/virtualbox/VBoxPython2_5.so
- usr/lib/virtualbox/VBoxPython2_6.so
- usr/lib/virtualbox/VBoxPython2_7.so
- usr/lib/virtualbox/VBoxXPCOMC.so
- usr/lib/virtualbox/VBoxOGLhostcrutil.so
- usr/lib/virtualbox/VBoxNetDHCP.so"
-
-REQUIRED_USE="
- java? ( sdk )
- python? (
- ( sdk )
- )
- vboxwebsrv? ( java )
- ${PYTHON_REQUIRED_USE}
-"
-
-pkg_setup() {
- if ! use headless && ! use qt4 ; then
- einfo "No USE=\"qt4\" selected, this build will not include"
- einfo "any Qt frontend."
- elif use headless && use qt4 ; then
- einfo "You selected USE=\"headless qt4\", defaulting to"
- einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
- fi
-
- if ! use opengl ; then
- einfo "No USE=\"opengl\" selected, this build will lack"
- einfo "the OpenGL feature."
- fi
- if ! use python ; then
- einfo "You have disabled the \"python\" USE flag. This will only"
- einfo "disable the python bindings being installed."
- fi
- java-pkg-opt-2_pkg_setup
- python-single-r1_pkg_setup
-}
-
-src_prepare() {
- # Remove shipped binaries (kBuild,yasm), see bug #232775
- rm -rf kBuild/bin tools
-
- # Disable things unused or split into separate ebuilds
- sed -e "s@MY_LIBDIR@$(get_libdir)@" \
- "${FILESDIR}"/${PN}-4-localconfig > LocalConfig.kmk || die
-
- # Respect LDFLAGS
- sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
- -i Config.kmk src/libs/xpcom18a4/Config.kmk || die
-
- # Use PAM only when pam USE flag is enbaled (bug #376531)
- if ! use pam ; then
- elog "Disabling PAM removes the possibility to use the VRDP features."
- sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die
- sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \
- src/VBox/HostServices/Makefile.kmk || die
- fi
-
- # add correct java path
- if use java ; then
- sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \
- -i "${S}"/Config.kmk || die
- java-pkg-opt-2_src_prepare
- fi
-
- if ! gcc-specs-pie ; then
- EPATCH_EXCLUDE="050_${PN}-4.2.0-nopie.patch"
- fi
-
- EPATCH_SUFFIX="patch" \
- EPATCH_FORCE="yes" \
- epatch "${WORKDIR}/patches"
-
- epatch_user
-
- # fix location of ifconfig binary (bug #455902)
- local ifcfg="$(type -p ifconfig)"
- if [ "${ifcfg}" != "/sbin/ifconfig" ] ; then
- sed "/VBOXADPCTL_IFCONFIG_PATH/s@/sbin/ifconfig@${ifcfg}@" \
- -i "${S}"/src/apps/adpctl/VBoxNetAdpCtl.cpp \
- || die
- fi
-}
-
-src_configure() {
- local myconf
- use alsa || myconf+=" --disable-alsa"
- use opengl || myconf+=" --disable-opengl"
- use pulseaudio || myconf+=" --disable-pulse"
- use python || myconf+=" --disable-python"
- use java || myconf+=" --disable-java"
- use vboxwebsrv && myconf+=" --enable-webservice"
- use vnc && myconf+=" --enable-vnc"
- use doc || myconf+=" --disable-docs"
- if ! use headless ; then
- use qt4 || myconf+=" --disable-qt4"
- else
- myconf+=" --build-headless --disable-opengl"
- fi
- # not an autoconf script
- ./configure \
- --with-gcc="$(tc-getCC)" \
- --with-g++="$(tc-getCXX)" \
- --disable-kmods \
- --disable-dbus \
- --disable-devmapper \
- ${myconf} \
- || die "configure failed"
-}
-
-src_compile() {
- source ./env.sh
-
- # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
- # and strip all flags
- # strip-flags
-
- MAKE="kmk" emake \
- VBOX_BUILD_PUBLISHER=_Gentoo \
- TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
- TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
- TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
- TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
- VBOX_GCC_OPT="${CXXFLAGS}" \
- TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" \
- KBUILD_VERBOSE=2 \
- all
-}
-
-src_install() {
- cd "${S}"/out/linux.${ARCH}/release/bin || die
-
- # Create configuration files
- insinto /etc/vbox
- newins "${FILESDIR}/${PN}-4-config" vbox.cfg
-
- # Set the right libdir
- sed -i \
- -e "s@MY_LIBDIR@$(get_libdir)@" \
- "${D}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
-
- # Symlink binaries to the shipped wrapper
- exeinto /usr/$(get_libdir)/${PN}
- newexe "${FILESDIR}/${PN}-ose-3-wrapper" "VBox"
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBox
- fperms 0750 /usr/$(get_libdir)/${PN}/VBox
-
- dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxManage
- dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxVRDP
- dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxHeadless
- dosym /usr/$(get_libdir)/${PN}/VBoxTunctl /usr/bin/VBoxTunctl
-
- # Install binaries and libraries
- insinto /usr/$(get_libdir)/${PN}
- doins -r components
-
- if use sdk ; then
- doins -r sdk
- fi
-
- if use vboxwebsrv ; then
- doins vboxwebsrv
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/vboxwebsrv
- fperms 0750 /usr/$(get_libdir)/${PN}/vboxwebsrv
- dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/vboxwebsrv
- newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
- newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
- fi
-
- for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,ExtPackHelperApp} *so *r0 *gc ; do
- doins $each
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
- fperms 0750 /usr/$(get_libdir)/${PN}/${each}
- done
- # VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
- fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetAdpCtl
- fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetDHCP
-
- # VBoxSVC needs to be pax-marked (bug #403453)
- pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxSVC || die
-
- if ! use headless ; then
- for each in VBox{SDL,Headless} ; do
- doins $each
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
- fperms 4750 /usr/$(get_libdir)/${PN}/${each}
- pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/${each}
- done
-
- if use opengl && use qt4 ; then
- doins VBoxTestOGL
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxTestOGL
- fperms 0750 /usr/$(get_libdir)/${PN}/VBoxTestOGL
- fi
-
- dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxSDL
-
- if use qt4 ; then
- doins VirtualBox
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/VirtualBox
- fperms 4750 /usr/$(get_libdir)/${PN}/VirtualBox
- pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VirtualBox
-
- dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VirtualBox
-
- newmenu "${FILESDIR}"/${PN}-ose.desktop-2 ${PN}.desktop
- fi
-
- pushd "${S}"/src/VBox/Resources/OSE &>/dev/null || die
- for size in 16 32 48 64 128 ; do
- newicon -s ${size} ${PN}-${size}px.png ${PN}.png
- done
- newicon ${PN}-48px.png ${PN}.png
- popd &>/dev/null || die
- else
- doins VBoxHeadless
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxHeadless
- fperms 4750 /usr/$(get_libdir)/${PN}/VBoxHeadless
- pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxHeadless
- fi
-
- insinto /usr/$(get_libdir)/${PN}
- # Install EFI Firmware files (bug #320757)
- pushd "${S}"/src/VBox/Devices/EFI/FirmwareBin &>/dev/null || die
- for fwfile in VBoxEFI{32,64}.fd ; do
- doins ${fwfile}
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/${fwfile}
- done
- popd &>/dev/null || die
-
- # New way of handling USB device nodes for VBox (bug #356215)
- local udevdir="$(udev_get_udevdir)"
- insinto ${udevdir}
- doins VBoxCreateUSBNode.sh
- fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
- fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
- insinto ${udevdir}/rules.d
- doins "${FILESDIR}"/10-virtualbox.rules
- sed "s@%UDEVDIR%@${udevdir}@" \
- -i "${D}"${udevdir}/rules.d/10-virtualbox.rules || die
-
- insinto /usr/share/${PN}
- if ! use headless && use qt4 ; then
- doins -r nls
- fi
-
- # VRDPAuth only works with this (bug #351949)
- dosym VBoxAuth.so /usr/$(get_libdir)/${PN}/VRDPAuth.so
-
- # set an env-variable for 3rd party tools
- echo -n "VBOX_APP_HOME=/usr/$(get_libdir)/${PN}" > "${T}/90virtualbox"
- doenvd "${T}/90virtualbox"
-
- if use java ; then
- java-pkg_regjar "${D}/usr/$(get_libdir)/${PN}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
- java-pkg_regso "${D}/usr/$(get_libdir)/${PN}/libvboxjxpcom.so"
- fi
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
-
- udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
-
- if ! use headless && use qt4 ; then
- elog "To launch VirtualBox just type: \"VirtualBox\"."
- fi
- elog "You must be in the vboxusers group to use VirtualBox."
- elog ""
- elog "The latest user manual is available for download at:"
- elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
- elog ""
- elog "For advanced networking setups you should emerge:"
- elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
- elog ""
- elog "IMPORTANT!"
- elog "If you upgrade from app-emulation/virtualbox-ose make sure to run"
- elog "\"env-update\" as root and logout and relogin as the user you wish"
- elog "to run ${PN} as."
- elog ""
- elog "Starting with version 4.0.0, ${PN} has USB-1 support."
- elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
- elog " app-emulation/virtualbox-extpack-oracle"
- elog "package."
- if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
- elog ""
- elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
- elog "or else USB in ${PN} won't work."
- fi
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
-}
diff --git a/app-emulation/virtualbox/virtualbox-4.3.4.ebuild b/app-emulation/virtualbox/virtualbox-4.3.4.ebuild
deleted file mode 100644
index ec04f530942d..000000000000
--- a/app-emulation/virtualbox/virtualbox-4.3.4.ebuild
+++ /dev/null
@@ -1,407 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.3.4.ebuild,v 1.3 2013/12/06 14:39:14 polynomial-c Exp $
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-inherit eutils fdo-mime flag-o-matic linux-info multilib pax-utils python-single-r1 qt4-r2 toolchain-funcs java-pkg-opt-2 udev
-
-MY_PV="${PV/beta/BETA}"
-MY_PV="${MY_PV/rc/RC}"
-MY_P=VirtualBox-${MY_PV}
-SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
- http://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-4.3.4-patches-01.tar.xz"
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="Family of powerful x86 virtualization products for enterprise as well as home use"
-HOMEPAGE="http://www.virtualbox.org/"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+additions alsa doc extensions headless java multilib pam pulseaudio +opengl python +qt4 +sdk vboxwebsrv vnc"
-
-RDEPEND="!app-emulation/virtualbox-bin
- ~app-emulation/virtualbox-modules-${PV}
- dev-libs/libIDL
- >=dev-libs/libxslt-1.1.19
- net-misc/curl
- dev-libs/openssl
- dev-libs/libxml2
- media-libs/libpng
- media-libs/libvpx
- sys-libs/zlib
- >=virtual/udev-171
- !headless? (
- qt4? (
- dev-qt/qtgui:4
- dev-qt/qtcore:4
- opengl? ( dev-qt/qtopengl:4 )
- x11-libs/libXinerama
- )
- opengl? ( virtual/opengl media-libs/freeglut )
- x11-libs/libX11
- x11-libs/libXcursor
- x11-libs/libXext
- x11-libs/libXmu
- x11-libs/libXt
- media-libs/libsdl:0[X,video]
- )
- vnc? ( >=net-libs/libvncserver-0.9.9 )
- java? ( || ( virtual/jre:1.7 virtual/jre:1.6 ) )"
-DEPEND="${RDEPEND}
- >=dev-util/kbuild-0.1.9998_pre20131130
- >=dev-lang/yasm-0.6.2
- sys-devel/bin86
- sys-power/iasl
- pam? ( sys-libs/pam )
- sys-libs/libcap
- doc? (
- dev-texlive/texlive-basic
- dev-texlive/texlive-latex
- dev-texlive/texlive-latexrecommended
- dev-texlive/texlive-latexextra
- dev-texlive/texlive-fontsrecommended
- dev-texlive/texlive-fontsextra
- )
- java? ( || ( virtual/jdk:1.7 virtual/jdk:1.6 ) )
- virtual/pkgconfig
- alsa? ( >=media-libs/alsa-lib-1.0.13 )
- !headless? ( x11-libs/libXinerama )
- pulseaudio? ( media-sound/pulseaudio )
- vboxwebsrv? ( <net-libs/gsoap-2.8.13 )
- ${PYTHON_DEPS}"
-PDEPEND="additions? ( ~app-emulation/virtualbox-additions-${PV} )
- extensions? ( ~app-emulation/virtualbox-extpack-oracle-${PV} )"
-
-QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
- usr/lib/virtualbox/VBoxSDL.so
- usr/lib/virtualbox/VBoxSharedFolders.so
- usr/lib/virtualbox/VBoxDD2.so
- usr/lib/virtualbox/VBoxOGLrenderspu.so
- usr/lib/virtualbox/VBoxPython.so
- usr/lib/virtualbox/VBoxDD.so
- usr/lib/virtualbox/VBoxDDU.so
- usr/lib/virtualbox/VBoxREM64.so
- usr/lib/virtualbox/VBoxSharedClipboard.so
- usr/lib/virtualbox/VBoxHeadless.so
- usr/lib/virtualbox/VBoxRT.so
- usr/lib/virtualbox/VBoxREM.so
- usr/lib/virtualbox/VBoxSettings.so
- usr/lib/virtualbox/VBoxKeyboard.so
- usr/lib/virtualbox/VBoxSharedCrOpenGL.so
- usr/lib/virtualbox/VBoxVMM.so
- usr/lib/virtualbox/VirtualBox.so
- usr/lib/virtualbox/VBoxOGLhosterrorspu.so
- usr/lib/virtualbox/components/VBoxC.so
- usr/lib/virtualbox/components/VBoxSVCM.so
- usr/lib/virtualbox/components/VBoxDDU.so
- usr/lib/virtualbox/components/VBoxRT.so
- usr/lib/virtualbox/components/VBoxREM.so
- usr/lib/virtualbox/components/VBoxVMM.so
- usr/lib/virtualbox/VBoxREM32.so
- usr/lib/virtualbox/VBoxPython2_4.so
- usr/lib/virtualbox/VBoxPython2_5.so
- usr/lib/virtualbox/VBoxPython2_6.so
- usr/lib/virtualbox/VBoxPython2_7.so
- usr/lib/virtualbox/VBoxXPCOMC.so
- usr/lib/virtualbox/VBoxOGLhostcrutil.so
- usr/lib/virtualbox/VBoxNetDHCP.so
- usr/lib/virtualbox/VBoxNetNAT.so"
-
-REQUIRED_USE="
- java? ( sdk )
- python? (
- ( sdk )
- )
- vboxwebsrv? ( java )
- ${PYTHON_REQUIRED_USE}
-"
-
-pkg_setup() {
- if ! use headless && ! use qt4 ; then
- einfo "No USE=\"qt4\" selected, this build will not include"
- einfo "any Qt frontend."
- elif use headless && use qt4 ; then
- einfo "You selected USE=\"headless qt4\", defaulting to"
- einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
- fi
-
- if ! use opengl ; then
- einfo "No USE=\"opengl\" selected, this build will lack"
- einfo "the OpenGL feature."
- fi
- if ! use python ; then
- einfo "You have disabled the \"python\" USE flag. This will only"
- einfo "disable the python bindings being installed."
- fi
- java-pkg-opt-2_pkg_setup
- python-single-r1_pkg_setup
-}
-
-src_prepare() {
- # Remove shipped binaries (kBuild,yasm), see bug #232775
- rm -rf kBuild/bin tools
-
- # Disable things unused or split into separate ebuilds
- sed -e "s@MY_LIBDIR@$(get_libdir)@" \
- "${FILESDIR}"/${PN}-4-localconfig > LocalConfig.kmk || die
-
- # Respect LDFLAGS
- sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
- -i Config.kmk src/libs/xpcom18a4/Config.kmk || die
-
- # Use PAM only when pam USE flag is enbaled (bug #376531)
- if ! use pam ; then
- elog "Disabling PAM removes the possibility to use the VRDP features."
- sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die
- sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \
- src/VBox/HostServices/Makefile.kmk || die
- fi
-
- # add correct java path
- if use java ; then
- sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \
- -i "${S}"/Config.kmk || die
- java-pkg-opt-2_src_prepare
- fi
-
- if ! gcc-specs-pie ; then
- EPATCH_EXCLUDE="050_${PN}-4.3.4-nopie.patch"
- fi
-
- EPATCH_SUFFIX="patch" \
- EPATCH_FORCE="yes" \
- epatch "${WORKDIR}/patches"
-
- epatch_user
-
- # fix location of ifconfig binary (bug #455902)
- local ifcfg="$(type -p ifconfig)"
- if [ "${ifcfg}" != "/sbin/ifconfig" ] ; then
- sed "/VBOXADPCTL_IFCONFIG_PATH/s@/sbin/ifconfig@${ifcfg}@" \
- -i "${S}"/src/apps/adpctl/VBoxNetAdpCtl.cpp \
- || die
- fi
-}
-
-src_configure() {
- local myconf
- use alsa || myconf+=" --disable-alsa"
- use doc || myconf+=" --disable-docs"
- use java || myconf+=" --disable-java"
- use opengl || myconf+=" --disable-opengl"
- use pulseaudio || myconf+=" --disable-pulse"
- use python || myconf+=" --disable-python"
- use vboxwebsrv && myconf+=" --enable-webservice"
- use vnc && myconf+=" --enable-vnc"
- if ! use headless ; then
- use qt4 || myconf+=" --disable-qt4"
- else
- myconf+=" --build-headless --disable-opengl"
- fi
- if use amd64 && ! use multilib ; then
- myconf+=" --disable-vmmraw"
- fi
- # not an autoconf script
- ./configure \
- --with-gcc="$(tc-getCC)" \
- --with-g++="$(tc-getCXX)" \
- --disable-kmods \
- --disable-dbus \
- --disable-devmapper \
- ${myconf} \
- || die "configure failed"
-}
-
-src_compile() {
- source ./env.sh
-
- # Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
- # and strip all flags
- # strip-flags
-
- MAKE="kmk" emake \
- VBOX_BUILD_PUBLISHER=_Gentoo \
- TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
- TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
- TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
- TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
- VBOX_GCC_OPT="${CXXFLAGS}" \
- TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" \
- KBUILD_VERBOSE=2 \
- all
-}
-
-src_install() {
- cd "${S}"/out/linux.${ARCH}/release/bin || die
-
- # Create configuration files
- insinto /etc/vbox
- newins "${FILESDIR}/${PN}-4-config" vbox.cfg
-
- # Set the right libdir
- sed -i \
- -e "s@MY_LIBDIR@$(get_libdir)@" \
- "${D}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
-
- # Symlink binaries to the shipped wrapper
- exeinto /usr/$(get_libdir)/${PN}
- newexe "${FILESDIR}/${PN}-ose-3-wrapper" "VBox"
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBox
- fperms 0750 /usr/$(get_libdir)/${PN}/VBox
-
- dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxManage
- dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxVRDP
- dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxHeadless
- dosym /usr/$(get_libdir)/${PN}/VBoxTunctl /usr/bin/VBoxTunctl
-
- # Install binaries and libraries
- insinto /usr/$(get_libdir)/${PN}
- doins -r components
-
- if use sdk ; then
- doins -r sdk
- fi
-
- if use vboxwebsrv ; then
- doins vboxwebsrv
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/vboxwebsrv
- fperms 0750 /usr/$(get_libdir)/${PN}/vboxwebsrv
- dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/vboxwebsrv
- newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
- newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
- fi
-
- local gcfiles="*gc"
- if use amd64 && ! use multilib ; then
- gcfiles=""
- fi
-
- for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,NetNAT,ExtPackHelperApp} *so *r0 ${gcfiles} ; do
- doins $each
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
- fperms 0750 /usr/$(get_libdir)/${PN}/${each}
- done
- # VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
- fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetAdpCtl
- fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetDHCP
- fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetNAT
-
- # VBoxSVC needs to be pax-marked (bug #403453)
- pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxSVC || die
-
- if ! use headless ; then
- for each in VBox{SDL,Headless} ; do
- doins $each
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
- fperms 4750 /usr/$(get_libdir)/${PN}/${each}
- pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/${each}
- done
-
- if use opengl && use qt4 ; then
- doins VBoxTestOGL
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxTestOGL
- fperms 0750 /usr/$(get_libdir)/${PN}/VBoxTestOGL
- fi
-
- dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxSDL
-
- if use qt4 ; then
- doins VirtualBox
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/VirtualBox
- fperms 4750 /usr/$(get_libdir)/${PN}/VirtualBox
- pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VirtualBox
-
- dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VirtualBox
-
- newmenu "${FILESDIR}"/${PN}-ose.desktop-2 ${PN}.desktop
- fi
-
- pushd "${S}"/src/VBox/Resources/OSE &>/dev/null || die
- for size in 16 32 48 64 128 ; do
- newicon -s ${size} ${PN}-${size}px.png ${PN}.png
- done
- newicon ${PN}-48px.png ${PN}.png
- popd &>/dev/null || die
- else
- doins VBoxHeadless
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxHeadless
- fperms 4750 /usr/$(get_libdir)/${PN}/VBoxHeadless
- pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxHeadless
- fi
-
- insinto /usr/$(get_libdir)/${PN}
- # Install EFI Firmware files (bug #320757)
- pushd "${S}"/src/VBox/Devices/EFI/FirmwareBin &>/dev/null || die
- for fwfile in VBoxEFI{32,64}.fd ; do
- doins ${fwfile}
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/${fwfile}
- done
- popd &>/dev/null || die
-
- # New way of handling USB device nodes for VBox (bug #356215)
- local udevdir="$(udev_get_udevdir)"
- insinto ${udevdir}
- doins VBoxCreateUSBNode.sh
- fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
- fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
- insinto ${udevdir}/rules.d
- doins "${FILESDIR}"/10-virtualbox.rules
- sed "s@%UDEVDIR%@${udevdir}@" \
- -i "${D}"${udevdir}/rules.d/10-virtualbox.rules || die
-
- insinto /usr/share/${PN}
- if ! use headless && use qt4 ; then
- doins -r nls
- fi
-
- # VRDPAuth only works with this (bug #351949)
- dosym VBoxAuth.so /usr/$(get_libdir)/${PN}/VRDPAuth.so
-
- # set an env-variable for 3rd party tools
- echo -n "VBOX_APP_HOME=/usr/$(get_libdir)/${PN}" > "${T}/90virtualbox"
- doenvd "${T}/90virtualbox"
-
- if use java ; then
- java-pkg_regjar "${D}/usr/$(get_libdir)/${PN}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
- java-pkg_regso "${D}/usr/$(get_libdir)/${PN}/libvboxjxpcom.so"
- fi
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
-
- udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
-
- if ! use headless && use qt4 ; then
- elog "To launch VirtualBox just type: \"VirtualBox\"."
- fi
- elog "You must be in the vboxusers group to use VirtualBox."
- elog ""
- elog "The latest user manual is available for download at:"
- elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
- elog ""
- elog "For advanced networking setups you should emerge:"
- elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
- elog ""
- elog "IMPORTANT!"
- elog "If you upgrade from app-emulation/virtualbox-ose make sure to run"
- elog "\"env-update\" as root and logout and relogin as the user you wish"
- elog "to run ${PN} as."
- elog ""
- elog "Starting with version 4.0.0, ${PN} has USB-1 support."
- elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
- elog " app-emulation/virtualbox-extpack-oracle"
- elog "package."
- if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
- elog ""
- elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
- elog "or else USB in ${PN} won't work."
- fi
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
-}