diff options
author | Markus Ullmann <jokey@gentoo.org> | 2007-02-28 20:04:57 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2007-02-28 20:04:57 +0000 |
commit | 6bfeff9bc3d2b7fc6d760b5bfa96701f77379f00 (patch) | |
tree | de3c6471c4b9311625582189fe6d6493e79358f3 /app-emulation/virtualbox | |
parent | Add various app-emulation/virtualbox* useflags (diff) | |
download | gentoo-2-6bfeff9bc3d2b7fc6d760b5bfa96701f77379f00.tar.gz gentoo-2-6bfeff9bc3d2b7fc6d760b5bfa96701f77379f00.tar.bz2 gentoo-2-6bfeff9bc3d2b7fc6d760b5bfa96701f77379f00.zip |
Version bump, thanks to x-drum for the hard work
(Portage version: 2.1.2-r12)
Diffstat (limited to 'app-emulation/virtualbox')
-rw-r--r-- | app-emulation/virtualbox/ChangeLog | 11 | ||||
-rw-r--r-- | app-emulation/virtualbox/files/digest-virtualbox-1.3.4-r2 | 3 | ||||
-rw-r--r-- | app-emulation/virtualbox/files/digest-virtualbox-1.3.6 | 3 | ||||
-rw-r--r-- | app-emulation/virtualbox/files/virtualbox-1.3.6-remove-alsa.patch | 22 | ||||
-rw-r--r-- | app-emulation/virtualbox/files/virtualbox-1.3.6-wrapper | 57 | ||||
-rw-r--r-- | app-emulation/virtualbox/virtualbox-1.3.4-r1.ebuild | 14 | ||||
-rw-r--r-- | app-emulation/virtualbox/virtualbox-1.3.4-r2.ebuild | 112 | ||||
-rw-r--r-- | app-emulation/virtualbox/virtualbox-1.3.6.ebuild | 116 | ||||
-rw-r--r-- | app-emulation/virtualbox/virtualbox-9999.ebuild | 68 |
9 files changed, 374 insertions, 32 deletions
diff --git a/app-emulation/virtualbox/ChangeLog b/app-emulation/virtualbox/ChangeLog index b5b6aeb47f23..2db86790d532 100644 --- a/app-emulation/virtualbox/ChangeLog +++ b/app-emulation/virtualbox/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for app-emulation/virtualbox # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/ChangeLog,v 1.10 2007/02/25 09:30:56 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/ChangeLog,v 1.11 2007/02/28 20:04:57 jokey Exp $ + +*virtualbox-1.3.6 (28 Feb 2007) +*virtualbox-1.3.4-r2 (28 Feb 2007) + + 28 Feb 2007; Markus Ullmann <jokey@gentoo.org> + +files/virtualbox-1.3.6-remove-alsa.patch, + +files/virtualbox-1.3.6-wrapper, +virtualbox-1.3.4-r2.ebuild, + +virtualbox-1.3.6.ebuild, virtualbox-9999.ebuild: + Version bump, thanks to x-drum for the hard work 25 Feb 2007; <genstef@gentoo.org> virtualbox-1.3.4-r1.ebuild, virtualbox-9999.ebuild: diff --git a/app-emulation/virtualbox/files/digest-virtualbox-1.3.4-r2 b/app-emulation/virtualbox/files/digest-virtualbox-1.3.4-r2 new file mode 100644 index 000000000000..d3662f648fa4 --- /dev/null +++ b/app-emulation/virtualbox/files/digest-virtualbox-1.3.4-r2 @@ -0,0 +1,3 @@ +MD5 67853add4afc2eace5d8f45cfe9a32c5 VirtualBox-OSE-1.3.4.tar.bz2 17491150 +RMD160 32bd5f5e9bbf19bf59ffa93ccf6013496b40e318 VirtualBox-OSE-1.3.4.tar.bz2 17491150 +SHA256 c7d756645c96d202b8e88924f2b4da414c6d02775d3224739b21cdda064bbeee VirtualBox-OSE-1.3.4.tar.bz2 17491150 diff --git a/app-emulation/virtualbox/files/digest-virtualbox-1.3.6 b/app-emulation/virtualbox/files/digest-virtualbox-1.3.6 new file mode 100644 index 000000000000..ec272bc5bd57 --- /dev/null +++ b/app-emulation/virtualbox/files/digest-virtualbox-1.3.6 @@ -0,0 +1,3 @@ +MD5 70c24ccee8b5778efd8d22f9996fbec9 VirtualBox-OSE-1.3.6.tar.bz2 17458095 +RMD160 f082f6397ceec0d0d543b155821592e6032affc3 VirtualBox-OSE-1.3.6.tar.bz2 17458095 +SHA256 e249c6f4792291e56e026cf9d807d355809283538cfa296b4e72f9ec1c71cdae VirtualBox-OSE-1.3.6.tar.bz2 17458095 diff --git a/app-emulation/virtualbox/files/virtualbox-1.3.6-remove-alsa.patch b/app-emulation/virtualbox/files/virtualbox-1.3.6-remove-alsa.patch new file mode 100644 index 000000000000..6327af12343d --- /dev/null +++ b/app-emulation/virtualbox/files/virtualbox-1.3.6-remove-alsa.patch @@ -0,0 +1,22 @@ +--- Config.kmk.orig 2007-02-26 23:37:44.000000000 +0100 ++++ Config.kmk 2007-02-26 23:38:56.000000000 +0100 +@@ -160,8 +160,6 @@ + VBOX_WITH_USB = 1 + # Enable the ISCSI feature. + VBOX_WITH_ISCSI = 1 +-# Disable ALSA support for Linux (currently broken). +-VBOX_WITH_ALSA = 1 + # Enable the kchmviewer + VBOX_WITH_KCHMVIEWER = 1 + # Build the testsuite. +--- configure.orig 2007-02-26 23:37:49.000000000 +0100 ++++ configure 2007-02-26 23:38:40.000000000 +0100 +@@ -1196,7 +1196,7 @@ + (($OSE==0)) && check_pam + [ "$OS" != "darwin" ] && check_sdl + (($OSE==0)) && check_sdl_ttf +-[ "$OS" != "darwin" ] && check_alsa ++[ "$OS" != "darwin" ] + [ "$OS" != "darwin" ] && check_x + [ "$OS" != "darwin" ] && check_xcursor + (($XPCOM==1)) && check_qt diff --git a/app-emulation/virtualbox/files/virtualbox-1.3.6-wrapper b/app-emulation/virtualbox/files/virtualbox-1.3.6-wrapper new file mode 100644 index 000000000000..a1cea843f9fb --- /dev/null +++ b/app-emulation/virtualbox/files/virtualbox-1.3.6-wrapper @@ -0,0 +1,57 @@ +#!/bin/sh + +INSTALL_DIR=/opt/VirtualBox +USER=$( whoami ) + +SERVER_PID=$( ps -U $USER | grep VBoxSVC | awk '{ print $1 }' ) + +if [ "$1" = shutdown ]; then + if [ "$SERVER_PID" != "" ]; then + kill -TERM $SERVER_PID + sleep 2 + fi + exit 0 +fi + +[ "$VBOX_USER_HOME" = "" ] && VBOX_USER_HOME="$HOME/.VirtualBox" + +mkdir -p "$VBOX_USER_HOME" +LOG="$VBOX_USER_HOME/VBoxSVC.log" + +if [[ -e /proc/modules && ! -e /dev/vboxdrv ]] ; then + echo "Error: vboxdrv kernel module is not loaded..." + echo "Please load the module before starting VirtualBox." + exit 1 +elif [ ! -w /dev/vboxdrv ]; then + if [ "`id | grep vboxusers`" = "" ]; then + echo "Error: You are not a member of the \"vboxusers\" group..." + echo "Please add yourself to this group before starting VirtualBox." + else + echo "Error: /dev/vboxdrv is not writable for some reason..." + echo "If you recently added the current user to the vboxusers group," + echo "then you have to logout and re-login to take the change effect." + fi + exit 1 +fi + +export LD_LIBRARY_PATH="$INSTALL_DIR" + +if [ "$SERVER_PID" = "" ]; then + rm -rf /tmp/.vbox-$USER-ipc + [ -f "$LOG.1" ] && mv "$LOG.1" "$LOG.2" + [ -f "$LOG.0" ] && mv "$LOG.0" "$LOG.1" + [ -f "$LOG" ] && mv "$LOG" "$LOG.0" + /opt/VirtualBox/VBoxSVC --daemonize >"$LOG" 2>&1 +fi + +APP=$( which $0 ) +APP=${APP##/*/} +case "$APP" in + VirtualBox|VBoxManage|VBoxSDL) + exec "$INSTALL_DIR/$APP" "$@" + ;; + *) + echo "Error: Unknown application - $APP" + exit 1 + ;; +esac diff --git a/app-emulation/virtualbox/virtualbox-1.3.4-r1.ebuild b/app-emulation/virtualbox/virtualbox-1.3.4-r1.ebuild index 6261f5a13e9a..1b3d576a6544 100644 --- a/app-emulation/virtualbox/virtualbox-1.3.4-r1.ebuild +++ b/app-emulation/virtualbox/virtualbox-1.3.4-r1.ebuild @@ -55,9 +55,9 @@ src_install() { insinto /opt/VirtualBox if use sdk; then - doins -r sdk - make_wrapper xpidl "sdk/bin/xpidl" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" - fperms 0755 /opt/VirtualBox/sdk/bin/xpidl + doins -r sdk + make_wrapper xpidl "sdk/bin/xpidl" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + fperms 0755 /opt/VirtualBox/sdk/bin/xpidl fi rm -rf sdk src tst* testcase additions vboxdrv.ko SUPInstall SUPUninstall @@ -89,10 +89,10 @@ pkg_preinst() { pkg_postinst() { if use amd64; then - elog "" - elog "To avoid the nmi_watchdog bug and load the vboxdrv module" - elog "you may need to update your bootloader configuration and pass the option:" - elog "nmi_watchdog=0" + elog "" + elog "To avoid the nmi_watchdog bug and load the vboxdrv module" + elog "you may need to update your bootloader configuration and pass the option:" + elog "nmi_watchdog=0" fi elog "" elog "In order to launch VirtualBox you need to start VBoxSVC first," diff --git a/app-emulation/virtualbox/virtualbox-1.3.4-r2.ebuild b/app-emulation/virtualbox/virtualbox-1.3.4-r2.ebuild new file mode 100644 index 000000000000..6fa326d53a91 --- /dev/null +++ b/app-emulation/virtualbox/virtualbox-1.3.4-r2.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header $ + +inherit eutils linux-mod qt3 + +MY_P=VirtualBox-OSE-${PV} +DESCRIPTION="Softwarefamily of powerful x86 virtualization" +HOMEPAGE="http://www.virtualbox.org/" +SRC_URI="http://www.virtualbox.org/download/${PV}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="additions sdk vditool" + +RDEPEND="!app-emulation/virtualbox-bin + dev-libs/libIDL + >=dev-libs/libxslt-1.1.19 + dev-libs/xalan-c + dev-libs/xerces-c + media-libs/libsdl + x11-libs/libXcursor + $(qt_min_version 3.3.5) + =virtual/libstdc++-3.3" +DEPEND="${RDEPEND} + sys-devel/bin86 + sys-devel/dev86 + sys-power/iasl" +RDEPEND="${RDEPEND} + additions? ( =app-emulation/virtualbox-additions-${PV} )" + +S=${WORKDIR}/${MY_P} + +BUILD_TARGETS="all" +MODULE_NAMES="vboxdrv(misc:${S}/out/linux.${ARCH}/release/bin/src:${S}/out/linux.${ARCH}/release/bin/src)" + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" +} + +src_compile() { + cd "${S}" + ./configure || die "configure failed" + source ./env.sh + kmk all || die "kmk failed" + linux-mod_src_compile +} + +src_install() { + linux-mod_src_install + + cd "${S}"/out/linux.${ARCH}/release/bin + + insinto /opt/VirtualBox + if use sdk; then + doins -r sdk + make_wrapper xpidl "sdk/bin/xpidl" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + fperms 0755 /opt/VirtualBox/sdk/bin/xpidl + fi + if use vditool; then + doins vditool + make_wrapper vditool "./vditool" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + fperms 0755 /opt/VirtualBox/vditool + fi + + rm -rf sdk src tst* testcase additions vditool vboxdrv.ko xpidl SUPInstall SUPUninstall + + doins -r * + for each in VBox{BFE,Manage,SDL,SVC,XPCOMIPCD} VirtualBox ; do + fperms 0755 /opt/VirtualBox/${each} + done + make_wrapper vboxsvc "./VBoxSVC" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + make_wrapper virtualbox "./VirtualBox" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + make_wrapper vboxmanage "./VBoxManage" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + make_wrapper vboxsdl "./VBoxSDL" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + make_wrapper vboxvrdp "./VBoxVRDP" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + + # udev rule for vboxdrv + dodir /etc/udev/rules.d + echo 'KERNEL=="vboxdrv", GROUP="vboxusers" MODE=660' >> "${D}/etc/udev/rules.d/60-virtualbox.rules" + + # desktop entry + insinto /usr/share/pixmaps + newins "${S}"/src/VBox/Frontends/VirtualBox/images/ico32x01.png ${PN}.png + insinto /usr/share/applications + doins "${FILESDIR}"/${PN}.desktop +} + +pkg_preinst() { + enewgroup vboxusers +} + +pkg_postinst() { + if use amd64; then + elog "" + elog "To avoid the nmi_watchdog bug and load the vboxdrv module" + elog "you may need to update your bootloader configuration and pass the option:" + elog "nmi_watchdog=0" + fi + elog "" + elog "In order to launch VirtualBox you need to start VBoxSVC first," + elog "this can be done with:" + elog "vboxsvc --daemonize && virtualbox" + elog "" + elog "You must be in the vboxusers group to use VirtualBox." + elog "" + elog "The last user manual is available for download at:" + elog "http://www.virtualbox.org/download/UserManual.pdf" + elog "" +} diff --git a/app-emulation/virtualbox/virtualbox-1.3.6.ebuild b/app-emulation/virtualbox/virtualbox-1.3.6.ebuild new file mode 100644 index 000000000000..93fe9e27278e --- /dev/null +++ b/app-emulation/virtualbox/virtualbox-1.3.6.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header $ + +inherit eutils qt3 + +MY_P=VirtualBox-OSE-${PV} +DESCRIPTION="Softwarefamily of powerful x86 virtualization" +HOMEPAGE="http://www.virtualbox.org/" +SRC_URI="http://www.virtualbox.org/download/${PV}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-amd64 ~x86" +IUSE="additions alsa sdk vboxbfe vditool wrapper" + +RDEPEND="!app-emulation/virtualbox-bin + =app-emulation/virtualbox-modules-${PV} + dev-libs/libIDL + >=dev-libs/libxslt-1.1.19 + dev-libs/xalan-c + dev-libs/xerces-c + media-libs/libsdl + x11-libs/libXcursor + $(qt_min_version 3.3.5) + =virtual/libstdc++-3.3" +DEPEND="${RDEPEND} + sys-devel/bin86 + sys-devel/dev86 + sys-power/iasl + alsa? ( >=media-libs/alsa-lib-1.0.13 )" +RDEPEND="${RDEPEND} + additions? ( =app-emulation/virtualbox-additions-${PV} )" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + + # Remove Alsa checks in configure and don't build the Alsa audio driver, when Alsa is not selected + use alsa || epatch "${FILESDIR}/${P}-remove-alsa.patch" +} + +src_compile() { + cd "${S}" + ./configure || die "configure failed" + source ./env.sh + kmk all || die "kmk failed" +} + +src_install() { + cd "${S}"/out/linux.${ARCH}/release/bin + + insinto /opt/VirtualBox + if use sdk; then + doins -r sdk + make_wrapper xpidl "sdk/bin/xpidl" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + fperms 0755 /opt/VirtualBox/sdk/bin/xpidl + fi + if use vditool; then + doins vditool + make_wrapper vditool "./vditool" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + fperms 0755 /opt/VirtualBox/vditool + fi + if use vboxbfe; then + doins VBoxBFE + fperms 0755 /opt/VirtualBox/VBoxBFE + + if use wrapper ; then + dosym /opt/VirtualBox/wrapper.sh /usr/bin/VBoxBFE + else + make_wrapper vboxbfe "./VBoxBFE" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + fi + fi + + rm -rf sdk src tst* testcase additions VBoxBFE vditool vboxdrv.ko xpidl SUPInstall SUPUninstall + + doins -r * + for each in VBox{Manage,SDL,SVC,XPCOMIPCD} VirtualBox ; do + fperms 0755 /opt/VirtualBox/${each} + done + + if use wrapper ; then + exeinto /opt/VirtualBox + newexe "${FILESDIR}/${P}-wrapper" "wrapper.sh" + dosym /opt/VirtualBox/wrapper.sh /usr/bin/VirtualBox + dosym /opt/VirtualBox/wrapper.sh /usr/bin/VBoxManage + dosym /opt/VirtualBox/wrapper.sh /usr/bin/VBoxSDL + else + make_wrapper vboxsvc "./VBoxSVC" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + make_wrapper virtualbox "./VirtualBox" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + make_wrapper vboxmanage "./VBoxManage" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + make_wrapper vboxsdl "./VBoxSDL" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + fi + + # desktop entry + insinto /usr/share/pixmaps + newins "${S}"/src/VBox/Frontends/VirtualBox/images/ico32x01.png ${PN}.png + insinto /usr/share/applications + doins "${FILESDIR}"/${PN}.desktop +} + +pkg_postinst() { + elog "" + elog "In order to launch VirtualBox you need to start VBoxSVC first, with:" + elog "vboxsvc --daemonize && virtualbox" + elog "" + elog "If you selected the useflag \"wrapper\" just type \"VirtualBox\" instead." + elog "" + elog "You must be in the vboxusers group to use VirtualBox." + elog "" + elog "The last user manual is available for download at:" + elog "http://www.virtualbox.org/download/UserManual.pdf" + elog "" +} diff --git a/app-emulation/virtualbox/virtualbox-9999.ebuild b/app-emulation/virtualbox/virtualbox-9999.ebuild index 9d66566b6033..cf93f7a0c70b 100644 --- a/app-emulation/virtualbox/virtualbox-9999.ebuild +++ b/app-emulation/virtualbox/virtualbox-9999.ebuild @@ -11,7 +11,7 @@ ESVN_REPO_URI="http://virtualbox.org/svn/vbox/trunk" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="additions sdk" +IUSE="additions sdk vboxbfe vditool wrapper" RDEPEND="!app-emulation/virtualbox-bin dev-libs/libIDL @@ -25,18 +25,15 @@ RDEPEND="!app-emulation/virtualbox-bin DEPEND="${RDEPEND} sys-devel/bin86 sys-devel/dev86 - sys-power/iasl" + sys-power/iasl + alsa? ( >=media-libs/alsa-lib-1.0.13 )" RDEPEND="${RDEPEND} - additions? ( =app-emulation/virtualbox-additions-1.3.4 )" + additions? ( app-emulation/virtualbox-additions )" +BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" BUILD_TARGETS="all" MODULE_NAMES="vboxdrv(misc:${S}/out/linux.${ARCH}/release/bin/src:${S}/out/linux.${ARCH}/release/bin/src)" -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" -} - src_compile() { cd "${S}" ./configure || die "configure failed" @@ -52,22 +49,44 @@ src_install() { insinto /opt/VirtualBox if use sdk; then - doins -r sdk - make_wrapper xpidl "sdk/bin/xpidl" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" - fperms 0755 /opt/VirtualBox/sdk/bin/xpidl + doins -r sdk + make_wrapper xpidl "sdk/bin/xpidl" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + fperms 0755 /opt/VirtualBox/sdk/bin/xpidl + fi + if use vditool; then + doins vditool + make_wrapper vditool "./vditool" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + fperms 0755 /opt/VirtualBox/vditool + fi + if use vboxbfe; then + doins VBoxBFE + fperms 0755 /opt/VirtualBox/VBoxBFE + if use wrapper ; then + dosym /opt/VirtualBox/wrapper.sh /usr/bin/VBoxBFE + else + make_wrapper vboxbfe "./VBoxBFE" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + fi fi - rm -rf sdk src tst* testcase additions vboxdrv.ko SUPInstall SUPUninstall + rm -rf sdk src tst* testcase additions VBoxBFE vditool vboxdrv.ko xpidl SUPInstall SUPUninstall doins -r * - for each in VBox{BFE,Manage,SDL,SVC,XPCOMIPCD} VirtualBox vditool xpidl ; do + for each in VBox{Manage,SDL,SVC,XPCOMIPCD} VirtualBox ; do fperms 0755 /opt/VirtualBox/${each} done - make_wrapper vboxsvc "./VBoxSVC" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" - make_wrapper virtualbox "./VirtualBox" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" - make_wrapper vboxmanage "./VBoxManage" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" - make_wrapper vboxsdl "./VBoxSDL" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" - make_wrapper vboxvrdp "./VBoxVRDP" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + + if use wrapper ; then + exeinto /opt/VirtualBox + newexe "${FILESDIR}/${PN}-1.3.6-wrapper" "wrapper.sh" + dosym /opt/VirtualBox/wrapper.sh /usr/bin/VirtualBox + dosym /opt/VirtualBox/wrapper.sh /usr/bin/VBoxManage + dosym /opt/VirtualBox/wrapper.sh /usr/bin/VBoxSDL + else + make_wrapper vboxsvc "./VBoxSVC" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + make_wrapper virtualbox "./VirtualBox" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + make_wrapper vboxmanage "./VBoxManage" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + make_wrapper vboxsdl "./VBoxSDL" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin" + fi # udev rule for vboxdrv dodir /etc/udev/rules.d @@ -86,16 +105,17 @@ pkg_preinst() { pkg_postinst() { if use amd64; then - elog "" - elog "To avoid the nmi_watchdog bug and load the vboxdrv module" - elog "you may need to update your bootloader configuration and pass the option:" - elog "nmi_watchdog=0" + elog "" + elog "To avoid the nmi_watchdog bug and load the vboxdrv module" + elog "you may need to update your bootloader configuration and pass the option:" + elog "nmi_watchdog=0" fi elog "" - elog "In order to launch VirtualBox you need to start VBoxSVC first," - elog "this can be done with:" + elog "In order to launch VirtualBox you need to start VBoxSVC first, with:" elog "vboxsvc --daemonize && virtualbox" elog "" + elog "If you selected the useflag \"wrapper\" just type \"VirtualBox\" instead." + elog "" elog "You must be in the vboxusers group to use VirtualBox." elog "" elog "The last user manual is available for download at:" |