summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2013-02-10 18:11:20 +0000
committerLars Wendler <polynomial-c@gentoo.org>2013-02-10 18:11:20 +0000
commit517e95d22286be6533805417aaab9b4799eea860 (patch)
treedf6f1eb378aab6c7d2d852832bf7f983d786cef4 /app-emulation
parentEnable python3.1. The test failure does not seem important enough to disable it. (diff)
downloadhistorical-517e95d22286be6533805417aaab9b4799eea860.tar.gz
historical-517e95d22286be6533805417aaab9b4799eea860.tar.bz2
historical-517e95d22286be6533805417aaab9b4799eea860.zip
Depend on sys-apps/dbus (bug #450020). Rewritten init script
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64 Manifest-Sign-Key: 0x981CA6FC
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/virtualbox-guest-additions/ChangeLog11
-rw-r--r--app-emulation/virtualbox-guest-additions/Manifest30
-rw-r--r--app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions-8.initd26
-rw-r--r--app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.2.6-r1.ebuild201
4 files changed, 252 insertions, 16 deletions
diff --git a/app-emulation/virtualbox-guest-additions/ChangeLog b/app-emulation/virtualbox-guest-additions/ChangeLog
index 787dc753bc41..3b6adaed1392 100644
--- a/app-emulation/virtualbox-guest-additions/ChangeLog
+++ b/app-emulation/virtualbox-guest-additions/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-emulation/virtualbox-guest-additions
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog,v 1.110 2012/12/22 12:28:08 polynomial-c Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/ChangeLog,v 1.111 2013/02/10 18:11:16 polynomial-c Exp $
+
+*virtualbox-guest-additions-4.2.6-r1 (10 Feb 2013)
+
+ 10 Feb 2013; Lars Wendler <polynomial-c@gentoo.org>
+ +virtualbox-guest-additions-4.2.6-r1.ebuild,
+ +files/virtualbox-guest-additions-8.initd:
+ Depend on sys-apps/dbus (bug #450020). Rewritten init script.
*virtualbox-guest-additions-4.2.6 (22 Dec 2012)
*virtualbox-guest-additions-4.1.24 (22 Dec 2012)
diff --git a/app-emulation/virtualbox-guest-additions/Manifest b/app-emulation/virtualbox-guest-additions/Manifest
index c22614c4b520..85ac8e031fcc 100644
--- a/app-emulation/virtualbox-guest-additions/Manifest
+++ b/app-emulation/virtualbox-guest-additions/Manifest
@@ -6,6 +6,7 @@ AUX vboxguest-4.1.0-log-use-c99.patch 389 SHA256 9a7d87f9a00586251b9ba24e598946f
AUX vboxguest-log-use-c99.patch 562 SHA256 76e830ce0aae1b9afe84516907e5668c6012aea25377bda4c2de1967857b1c82 SHA512 9c4b840a3aa719121b869e201f90d44269dbd2c804e8b1b6dd92c38b0e86f22affc47dc1fadb52e88d241be532d26353a9c42a804f105f7d17e52a270b6f4066 WHIRLPOOL f7d1cead682e06818525a7efac39be207530e8f953d2fe4f2ae22b19d288131cf19b462275e9155188e4d6d1610bfe560778e2b6c0a17014527eb8a4f28f8ca0
AUX virtualbox-guest-additions-3-localconfig 937 SHA256 477e3d4556a2b12c3c6125c4fecc63092b1f7879756941e53832d04a7c1eb682 SHA512 2105f997a2aced3a6a7f0abd3727c6d18a5d7e6b68fbaa0706b9cf1e09af413a1c5026abeb8f72427c31f2b271408d3e55ae0d17b903052772cb070d37b6e71d WHIRLPOOL cd472e0073d822a0b71b8d272ec9f3590650150ca910ba193a567d0c59f949d645d9cae31853e955cbcc0408e90acff47a974bad2e89bed9b2089965c5066f83
AUX virtualbox-guest-additions-7.initd 1123 SHA256 5cbeeac4b59f8187d8da20afcf52d09e6bdf3cb32ec35413d7316b2fa16d43da SHA512 890894c64d560b9ceedaa63f2d04e956739c95d456ca7a02b0fbd115827e072a8f7b20849724418b6d57225fad0a41ed55f8987da09538392e811c8c2149f927 WHIRLPOOL 713ba370c1239fbd7138524ca7448ccdcf3781483fbb0620667cf59c2e3e2a2f2ad32254b09c163d2455cab1a0728c586e3badaf27e49db824b21f42097502fc
+AUX virtualbox-guest-additions-8.initd 779 SHA256 88a2b37780571f3b060f4d807fe1f367c6cdf3fcad95e649be4eb30bc66193f9 SHA512 fe84fd480f9b1aa9442fb09b22b4d435a05a2ae6541c1e24cdb1b60a109436760a4fd73f387a62d482d14443f58cb3491a13362f2f2a0f17868306f3091fc1b0 WHIRLPOOL 192cacc79f6bb7d21f1276e1e285bee6ce95344075b338e6516effdb1e67f92193e86806bdb50be8d9b848641cef8ba4713badf5f645f6b75da086a28503a5b2
AUX xorg.conf.vbox 274 SHA256 69475950240533abd2824a30ff08cc7d3ea246d9601ff7163115f8fc100612fb SHA512 ac2b14970dc6667ceec2dbdae52bc92cbad4aff020898ede156454e8a8a703354f15c7e19cfbd2bdd15e251493fd05cacfe814cabee0f9b4cf155e44860ed4c9 WHIRLPOOL 6bd0dba97e442c831451d58f85e5ce3bdf37fc90254db54cffbdbafe1521464e0e4aed89dd610d432c8b26dc48b98f120fd81594bded2dbb10c5eb7d7b26f938
DIST VirtualBox-4.1.22.tar.bz2 73385514 SHA256 7abb506203dd0d69b4b408fd999b5b9a479a9adce5f80e9b5569641c053dd153 SHA512 1bc2e33f6ce1ab417887241ee95bc3042b5c6072b3babc221c349b36b923f0655e776e98468cc63f65662e5ae3819c974bc8b5c97bae531a2c4a0ebb1c1ebba6 WHIRLPOOL e52ee58fdf1b3d1e1323cb26df1791dbc4c9375061467191a73f12071ac99a5c2791ddb65eeff9af5a645ba39fe88d4f7bc4362c919c9c14ba10a99d1b6c3776
DIST VirtualBox-4.1.24.tar.bz2 74612732 SHA256 74008b8e8942045668c1b7d06b0a4bb5fe8464066e343e3a2e1ba30b94ce8a7f SHA512 b4967621f848ff50d23e5f1afa63c2109cd10a602e6c742966ae7eef882417808cdc93edad67f55a0005fe3e4905034b08a1d21dcf242a9cc1e653ebef459174 WHIRLPOOL 0544cd637bfcc6cf7a502aa6fe27cb697ba4d570400ee2f7055406fca6deaed1b4b31e80de8e7d09a15152bfabe311d56a4ff256ae8f8f2940aa842c1701f941
@@ -14,23 +15,24 @@ DIST VirtualBox-4.2.6.tar.bz2 76291326 SHA256 54526091bc2aa66b88ca878dd9ecc4466f
EBUILD virtualbox-guest-additions-4.1.22.ebuild 5552 SHA256 8b4f0e857f596138232b22b96ad49ba1e85d2fff5daebb2ee3f9bbdc656cf77d SHA512 5382ab5eb5e858ea2a51230f41bf1ab5d1b1d9b82c25b1d295f2910592c8d59b1755b353038a8cd2f37b6c62eea258eb2470399137e00f13846af3341a672877 WHIRLPOOL 51c58d3b40fe27cb43e327f1a513ebad4138ce21ffd96e91c858130bd7327d4cb46dd148ef9969cdce584ed1b0933830f49b645efa62eb60be5da8903d721ea5
EBUILD virtualbox-guest-additions-4.1.24.ebuild 5554 SHA256 b0826e679f91e5f55016f37a3fa9bb86671b24b005f0b1e86df1c9d6371e0ae1 SHA512 50fbf92b7ea2be50a03e21dff6533aa2d30b923359287dbaafbfa7a72a84a785f90a4eb88a6c3343a5897d9492a0ef1b2159a588b2079686a4aca1951b982121 WHIRLPOOL 73398a4cac8d379bc408bae037c2c629b0c716efa8a0195b394b339db13b4e9edd5a04ec9bc320b834056ab51059761e2370f76958469167fa7f904c7e22b073
EBUILD virtualbox-guest-additions-4.2.4.ebuild 5598 SHA256 94818a4ebf68f30948246bbdf78e327e0f627c1ff8a6131439c46a0d87770531 SHA512 75db3a9b2bfe65a2073671e16270243821f0845e45f3acd8ff9bba1a7edb999fd78ab3140f93053ba0d0df955c684c997fc8bf2881bfc8bd477bf2b6a6fb49b8 WHIRLPOOL e9918330b4a51c1e4633b35315f2557583bf7ea9c8a531188e1a6eb2440c49516781f4d9551dda7f8416ae228f2adb524883fa33a4f2b39588985a819b6614a9
+EBUILD virtualbox-guest-additions-4.2.6-r1.ebuild 5616 SHA256 47d80ed23c0642afe193934131485fb9a66f8291f7ac841520f15b15e2b63427 SHA512 63f98ad12de0d8972dadbc4021fa96e440b7b392d742a2f4e63c76c3c2a3a4f5b6832afec5fb3731745695e45715e969c8b89b7705107ca308f823a5b5ba0d32 WHIRLPOOL 6de00f3f0ca5302c25e104d3a4f24dbe9fcdf67ef811706b9b76dbb52975e8be0b17c59c788f4e0d3b3e95de93675c5f64bb0eb0215ebcfa4028180cdf44f50e
EBUILD virtualbox-guest-additions-4.2.6.ebuild 5598 SHA256 b768a9604d90b2e32e46b79117a0104fa309f37ca96a2970eb8c37eb2fa9d775 SHA512 61126e44e3943b730c7972882191e196d6fad9ff5e1241bfed408c2597e4dd62de1bc38873e61d6c907cc93c1e079dfe3cf0aef9d169e34b8767251c0f1fd06f WHIRLPOOL f60fb5272b850b78b284fd97ed4fa2d6ea572f60da5d4ab63430cff410c4410f07b8f9ac479950de1294347b69412e83079daea148d493cb41f3c3c94c4ef431
-MISC ChangeLog 29000 SHA256 cc3fa7766e981781f6f6058fe06bc86e7fc18fc2300a183612ff1bc182b06a71 SHA512 b451612571bf24872d2eda06688e3d8e474af88916864bae11233f3917d4714972777b6b96873aa47dd29f1c191cc39c9e0bcde64a6dacd19e52191011e94f89 WHIRLPOOL 8e9deb320ada15ea54be2b6b6970aea33e510ee2012c34a0a15b1888ba50f3d46409eaf688f12388a4520e6be489388587ad7fa352cc014497004c7e2c25ff40
+MISC ChangeLog 29263 SHA256 b369f5a84424fe45463fa3bf7dc22fab28b11442aa33f2385ccd7edb1ae39e1c SHA512 d8fddb63ab092ce570da9cf3bb4af0416cb0a852e645e6d74e7884700f6671103e24e739d10e041b0c8c051803cbf073419ba194380160ccbf9c1932ee78850c WHIRLPOOL d612f1fc04ca0bb99c370a038ec488014e1a272068a3581fca34d26aa3635e464cf598b2df97b72715aeba734e756ebb2dfcc2e1706d1c547837ce36bd767b9b
MISC metadata.xml 436 SHA256 28f6b6d6d45da1824764ab2cf255e7d209c9d3d72cf668cfe799a95d2433f5e7 SHA512 068442fbbcf834c6735619b7cb9be3a61c682814cad55c8f9016e83a4a0fac4acfcbc7a1779df80dbb70a3d225600e56393e5ddec2b54ef583f5cc95ebdc1def WHIRLPOOL c8ccca088e780c49a9e7406196bf0b60d9cbbedd99e80ae81b99ec40d303473c35f9e260983160f29b7228947041d4b34a96f7cc9b910b77b614494344e99d49
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQIcBAEBCAAGBQJQ1adZAAoJEPiazRVxLXTFkg0P/AoVI72Y94mCor3CYddPaVjI
-ssu4WEZHjAsLlASIo6N+/tmhsvkdHn+4k6e4WJhkSBIk2+VMRN2xYuC/mDwQxOBs
-Z/z47tWviWKg4fGZTWghauIzOZAjKWeEaBkafF6qLcE9zXeMKksghg+2gtyknZB4
-mLgtZBzf5Q2NYlm7bZl/O0G+KE1YFt1z9X7VESW8jslUOndh3q1Y3fV5yrykwFvL
-hfACqNpwgG8gqyvi+tQTsl0WHeCxJJeTvKgRQpexkutZRdLRF6tzugeROVmgfYJ0
-quPpd3pO53x+iIBQXJtsTrZEFpnMWpDdXFxQdOUXHbLQqQAchJalkYjoPGjriD1s
-GM4KmtVlmJIemx9fRJlW+VSVb0xJpzGBs4V2/fb7A0Sf83Bxv8SJXr2hMXmBDKK+
-40MdxoAtt8jguhBUUS1paYe/IuzKaKBLlb4mUMynN9dGFTQI+udsd6oRMno291Uf
-l50isdt4USoNriu1W7VwhNi5J3WCMt5B0JXouybGEIJlNTKhGHkwofSHPBpzlQBv
-9+TN6ew1rwr4FTQQRPkb4MPDQO8qB8RHAiCVKrNuuTHTH7g7SmAUH/jsCjqWkduY
-WBkUutJeW4ncAhcoHwAdn/MAPKJ3q58f3/J7iiHlwf/CtvDWwWqcJvDj64qfePCq
-6ZAhRzAeaJCs706v+s57
-=CfWP
+iQIcBAEBCAAGBQJRF+LGAAoJEPiazRVxLXTFI14QALZCEsDEANU0nczurCTFtaMv
+bOLhmAsB8W0zrcraBvVh56bkt8iM6sAZkydkXz9V2eEIQnWXagv83GE5n4YClig/
+ETNoclyEb+uCzteUkCuRTYd9LrNzOIEbCtP8kRP/vpU8cm1hLhw0F7TZwchBTCdQ
++e48a+G4nG5WxjccvsTJr7GEdR2ZSUJC7YT3ImWpB9d0gxFknKaaBDDVul4mURxx
+tCdFGYy9A4buqy/FQpm4mBwzWZs/WH9lzgLU4NRneHggd05ubrxgA0poBeYRefUq
+7GxJtjCS3RwbYBTjCXkv8c1UbpnN0flcXxKkjRHVATiosaf/Z+ueVfraPffO7uan
+NGAME2gK/ZmLh60B3C0eAqfsFr02D0vlUglxsL26/Xrol0191POHxYMVa8H8nOLO
+GUdthwdENj8pePQcHRhOiTvWhV2VvToH67Q3Dn3Rp/plYMQ7ofGhylPJfe210X+7
+I46HM6/nMNNJYY5SQbnRxpg9RjO7QdwVxAW8B/wnkEEjtb2vI4eahSqBMwTIiYQ0
+xAKKe0AnLbbfr+etd24A5cBwd6cVY7yOCYMldSE1wv6hSTm6VBaOlWl1PHAJsOS1
++Bb/eDZUd7dzBjvkMQGkIGh1ELY/bNMnTUSp1ZoAPn8OM4O0IoNLxC8woG7ei7iP
+jfj0Ukjw+EPyxRBzsfkV
+=av25
-----END PGP SIGNATURE-----
diff --git a/app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions-8.initd b/app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions-8.initd
new file mode 100644
index 000000000000..3e7a722d7759
--- /dev/null
+++ b/app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions-8.initd
@@ -0,0 +1,26 @@
+#!/sbin/runscript
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions-8.initd,v 1.1 2013/02/10 18:11:16 polynomial-c Exp $
+
+pidfile="/var/run/vboxguest-service.pid"
+command="/usr/sbin/vboxguest-service"
+command_args="--foreground"
+start_stop_daemon_args="--make-pidfile --pidfile ${pidfile} --background"
+
+depend() {
+ need dbus localmount
+ before xdm
+}
+
+start_pre() {
+ einfo "Loading kernel modules"
+ /sbin/modprobe vboxguest &> /dev/null
+ /sbin/modprobe vboxsf &> /dev/null
+}
+
+stop_post() {
+ einfo "Removing kernel modules"
+ /sbin/modprobe -r vboxsf &> /dev/null
+ /sbin/modprobe -r vboxguest &> /dev/null
+}
diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.2.6-r1.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.2.6-r1.ebuild
new file mode 100644
index 000000000000..1b621d22186a
--- /dev/null
+++ b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.2.6-r1.ebuild
@@ -0,0 +1,201 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.2.6-r1.ebuild,v 1.1 2013/02/10 18:11:16 polynomial-c Exp $
+
+EAPI=2
+
+inherit eutils linux-mod user
+
+MY_PV="${PV/beta/BETA}"
+MY_PV="${PV/rc/RC}"
+MY_P=VirtualBox-${MY_PV}
+DESCRIPTION="VirtualBox kernel modules and user-space tools for Linux guests"
+HOMEPAGE="http://www.virtualbox.org/"
+SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="X"
+
+RDEPEND="X? ( ~x11-drivers/xf86-video-virtualbox-${PV}
+ x11-apps/xrandr
+ x11-apps/xrefresh
+ x11-libs/libXmu
+ x11-libs/libX11
+ x11-libs/libXt
+ x11-libs/libXext
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libSM
+ x11-libs/libICE )
+ sys-apps/dbus
+ !!x11-drivers/xf86-input-virtualbox"
+DEPEND="${RDEPEND}
+ >=dev-util/kbuild-0.1.9998_pre20120806
+ >=dev-lang/yasm-0.6.2
+ sys-devel/bin86
+ sys-libs/pam
+ sys-power/iasl
+ X? ( x11-proto/renderproto )
+ !X? ( x11-proto/xproto )"
+
+BUILD_TARGETS="all"
+BUILD_TARGET_ARCH="${ARCH}"
+MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
+ vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+ BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
+ enewgroup vboxguest
+ enewuser vboxguest -1 /bin/sh /dev/null vboxguest
+}
+
+src_unpack() {
+ unpack ${A}
+
+ # Create and unpack a tarball with the sources of the Linux guest
+ # kernel modules, to include all the needed files
+ "${S}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz"
+ unpack ./vbox-kmod.tar.gz
+
+ # Remove shipped binaries (kBuild,yasm), see bug #232775
+ cd "${S}"
+ rm -rf kBuild/bin tools
+}
+
+src_prepare() {
+ # PaX fixes (see bug #298988)
+ pushd "${WORKDIR}" &>/dev/null || die
+ epatch "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch
+ popd &>/dev/null || die
+
+ # Disable things unused or splitted into separate ebuilds
+ cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk
+
+ # stupid new header references...
+ for vboxheader in {product,revision}-generated.h ; do
+ for mdir in vbox{guest,sf} ; do
+ ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
+ "${WORKDIR}/${mdir}/${vboxheader}"
+ done
+ done
+}
+
+src_configure() {
+ # build the user-space tools, warnings are harmless
+ ./configure --nofatal \
+ --disable-xpcom \
+ --disable-sdl-ttf \
+ --disable-pulse \
+ --disable-alsa \
+ --build-headless || die "configure failed"
+}
+
+src_compile() {
+ source ./env.sh
+
+ for each in /src/VBox/{Runtime,Additions/common} \
+ /src/VBox/Additions/linux/{sharedfolders,daemon} ; do
+ cd "${S}"${each}
+ MAKE="kmk" emake TOOL_YASM_AS=yasm \
+ KBUILD_PATH="${S}/kBuild" \
+ || die "kmk VBoxControl failed"
+ done
+
+ if use X; then
+ cd "${S}"/src/VBox/Additions/x11/VBoxClient
+ MAKE="kmk" emake TOOL_YASM_AS=yasm \
+ KBUILD_PATH="${S}/kBuild" \
+ || die "kmk VBoxClient failed"
+ fi
+
+ # Now creating the kernel modules. We must do this _after_
+ # we compiled the user-space tools as we need two of the
+ # automatically generated header files. (>=3.2.0)
+ linux-mod_src_compile
+}
+
+src_install() {
+ linux-mod_src_install
+
+ cd "${S}"/out/linux.${ARCH}/release/bin/additions
+
+ insinto /sbin
+ newins mount.vboxsf mount.vboxsf
+ fperms 4755 /sbin/mount.vboxsf
+
+ newinitd "${FILESDIR}"/${PN}-8.initd ${PN}
+
+ insinto /usr/sbin/
+ newins VBoxService vboxguest-service
+ fperms 0755 /usr/sbin/vboxguest-service
+
+ insinto /usr/bin
+ doins VBoxControl
+ fperms 0755 /usr/bin/VBoxControl
+
+ # VBoxClient user service and xrandr wrapper
+ if use X; then
+ doins VBoxClient
+ fperms 0755 /usr/bin/VBoxClient
+
+ cd "${S}"/src/VBox/Additions/x11/Installer
+ newins 98vboxadd-xclient VBoxClient-all
+ fperms 0755 /usr/bin/VBoxClient-all
+ fi
+
+ # udev rule for vboxdrv
+ dodir /lib/udev/rules.d
+ echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
+ >> "${D}/lib/udev/rules.d/60-virtualbox-guest-additions.rules" \
+ || die
+ echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
+ >> "${D}/lib/udev/rules.d/60-virtualbox-guest-additions.rules" \
+ || die
+
+ # VBoxClient autostart file
+ insinto /etc/xdg/autostart
+ doins "${FILESDIR}"/vboxclient.desktop
+
+ # sample xorg.conf
+ insinto /usr/share/doc/${PF}
+ doins "${FILESDIR}"/xorg.conf.vbox
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+ if ! use X ; then
+ elog "use flag X is off, enable it to install the"
+ elog "X Window System video driver."
+ fi
+ elog ""
+ elog "Please add users to the \"vboxguest\" group so they can"
+ elog "benefit from seamless mode, auto-resize and clipboard."
+ elog ""
+ elog "Please add:"
+ elog "/etc/init.d/${PN}"
+ elog "to the default runlevel in order to start"
+ elog "needed services."
+ elog "To use the VirtualBox X driver, use the following"
+ elog "file as your /etc/X11/xorg.conf:"
+ elog " /usr/share/doc/${PF}/xorg.conf.vbox"
+ elog ""
+ elog "Also make sure you use the Mesa library for OpenGL:"
+ elog " eselect opengl set xorg-x11"
+ elog ""
+ elog "An autostart .desktop file has been installed to start"
+ elog "VBoxClient in desktop sessions."
+ elog ""
+ elog "You can mount shared folders with:"
+ elog " mount -t vboxsf <shared_folder_name> <mount_point>"
+ elog ""
+ elog "Warning:"
+ elog "this ebuild is only needed if you are running gentoo"
+ elog "inside a VirtualBox Virtual Machine, you don't need"
+ elog "it to run VirtualBox itself."
+ elog ""
+}