diff options
Diffstat (limited to 'app-emulation/virtualbox-bin')
-rw-r--r-- | app-emulation/virtualbox-bin/ChangeLog | 128 | ||||
-rw-r--r-- | app-emulation/virtualbox-bin/Manifest | 9 | ||||
-rw-r--r-- | app-emulation/virtualbox-bin/files/virtualbox-bin-config | 1 | ||||
-rw-r--r-- | app-emulation/virtualbox-bin/files/virtualbox-bin-interfaces | 4 | ||||
-rw-r--r-- | app-emulation/virtualbox-bin/files/virtualbox-bin-wrapper | 119 | ||||
-rw-r--r-- | app-emulation/virtualbox-bin/files/virtualbox-bin.desktop | 8 | ||||
-rw-r--r-- | app-emulation/virtualbox-bin/metadata.xml | 13 | ||||
-rw-r--r-- | app-emulation/virtualbox-bin/virtualbox-bin-1.6.0.ebuild | 138 |
8 files changed, 420 insertions, 0 deletions
diff --git a/app-emulation/virtualbox-bin/ChangeLog b/app-emulation/virtualbox-bin/ChangeLog new file mode 100644 index 0000000..f073cba --- /dev/null +++ b/app-emulation/virtualbox-bin/ChangeLog @@ -0,0 +1,128 @@ +# ChangeLog for app-emulation/virtualbox-bin +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/ChangeLog,v 1.24 2008/05/02 12:54:31 nyhm Exp $ + + 02 May 2008; Tristan Heaven <nyhm@gentoo.org> virtualbox-bin-1.5.6.ebuild: + Fix virtualbox-modules dependency so 1.5.7 can be installed, bug #218198 + + 06 Mar 2008; Christoph Mende <angelos@gentoo.org> + virtualbox-bin-1.5.4.ebuild: + Stable on amd64, bug #208905 + + 04 Mar 2008; Markus Ullmann <jokey@gentoo.org> + virtualbox-bin-1.5.4.ebuild: + Stable on x86 wrt bug #208905 + +*virtualbox-bin-1.5.6 (25 Feb 2008) + + 25 Feb 2008; Diego Pettenò <flameeyes@gentoo.org> + +virtualbox-bin-1.5.6.ebuild: + Version bump, as requested by the proxy-maintainer Alessio Cassibba. + +*virtualbox-bin-1.5.4 (05 Jan 2008) + + 05 Jan 2008; Markus Ullmann <jokey@gentoo.org> + +files/virtualbox-bin.desktop, +virtualbox-bin-1.5.4.ebuild: + Version bump wrt bug #203893 thanks to x-drum + + 03 Nov 2007; Markus Ullmann <jokey@gentoo.org> + files/virtualbox-bin-wrapper, -virtualbox-bin-1.4.0.ebuild, + -virtualbox-bin-1.5.2.ebuild, +virtualbox-bin-1.5.2-r1.ebuild: + Some minor cosmetics in the wrapper, fix desktop entry + + 29 Oct 2007; Markus Meier <maekke@gentoo.org> virtualbox-bin-1.5.2.ebuild: + x86 stable + + 22 Oct 2007; Markus Ullmann <jokey@gentoo.org> + +files/virtualbox-bin-config, +files/virtualbox-bin-interfaces, + files/virtualbox-bin-wrapper, -virtualbox-bin-1.4.0-r1.ebuild, + -virtualbox-bin-1.5.0-r1.ebuild: + Drop old and add new-style wrapper + +*virtualbox-bin-1.5.2 (22 Oct 2007) + + 22 Oct 2007; Markus Ullmann <jokey@gentoo.org> + +virtualbox-bin-1.5.2.ebuild: + Version bump wrt bug #196424 thanks to Alessio for the ebuilds + + 07 Oct 2007; Markus Ullmann <jokey@gentoo.org> + files/virtualbox-bin-wrapper, virtualbox-bin-1.5.0-r1.ebuild: + add blockers for virtualbox-additions bug #194183, thanks to Alessio + +*virtualbox-bin-1.5.0-r1 (17 Sep 2007) + + 17 Sep 2007; Markus Ullmann <jokey@gentoo.org> + -virtualbox-bin-1.5.0.ebuild, +virtualbox-bin-1.5.0-r1.ebuild: + Revbump to fix HAL mess, bug #191473 + +*virtualbox-bin-1.5.0 (04 Sep 2007) + + 04 Sep 2007; Markus Ullmann <jokey@gentoo.org> + -virtualbox-bin-1.3.8-r1.ebuild, +virtualbox-bin-1.5.0.ebuild: + Version bump wrt bug #191142 + + 23 Jun 2007; Charlie Shepherd <masterdriverz@gentoo.org> + virtualbox-bin-1.3.8-r1.ebuild, virtualbox-bin-1.4.0.ebuild, + virtualbox-bin-1.4.0-r1.ebuild: + Fix headers, thanks to x-drum + +*virtualbox-bin-1.4.0-r1 (22 Jun 2007) + + 22 Jun 2007; Charlie Shepherd <masterdriverz@gentoo.org> + virtualbox-bin-1.4.0.ebuild, +virtualbox-bin-1.4.0-r1.ebuild: + Port changes from jokey's overlay; thanks to x-drum: minor changes to + desktop entry; libstdc++-3.3 is only needed for x86 binaries, adjusted perms + for executables, removed unneeded files; fixed SRC_URI (bug 181161) + +*virtualbox-bin-1.4.0 (06 Jun 2007) + + 06 Jun 2007; Markus Ullmann <jokey@gentoo.org> + +virtualbox-bin-1.4.0.ebuild: + Version bump, thanks to Alessio + + 13 May 2007; Markus Ullmann <jokey@gentoo.org> + virtualbox-bin-1.3.8-r1.ebuild: + Fix for sdl useflag bug #177335 + + 21 Apr 2007; Raúl Porcel <armin76@gentoo.org> + virtualbox-bin-1.3.8-r1.ebuild: + x86 stable + +*virtualbox-bin-1.3.8-r1 (21 Apr 2007) + + 21 Apr 2007; Markus Ullmann <jokey@gentoo.org> + -virtualbox-bin-1.3.6.ebuild, -virtualbox-bin-1.3.8.ebuild, + +virtualbox-bin-1.3.8-r1.ebuild: + PaXify bins to make hardened people happy + +*virtualbox-bin-1.3.8 (16 Mar 2007) + + 16 Mar 2007; Markus Ullmann <jokey@gentoo.org> + -files/virtualbox-bin-1.3.6-wrapper, +files/virtualbox-bin-wrapper, + -virtualbox-bin-1.3.4.ebuild, virtualbox-bin-1.3.6.ebuild, + +virtualbox-bin-1.3.8.ebuild: + Version bump + + 03 Mar 2007; Markus Ullmann <jokey@gentoo.org> + files/digest-virtualbox-bin-1.3.6, Manifest: + Better checksums + +*virtualbox-bin-1.3.6 (28 Feb 2007) + + 28 Feb 2007; Markus Ullmann <jokey@gentoo.org> + +files/virtualbox-bin-1.3.6-wrapper, +virtualbox-bin-1.3.6.ebuild: + Version bump, thanks to x-drum for the hard work + + 25 Feb 2007; <genstef@gentoo.org> virtualbox-bin-1.3.4.ebuild: + use KV_DIR only after linux-mod_pkg_setup, bug 168051 + + 16 Feb 2007; Markus Ullmann <jokey@gentoo.org> + virtualbox-bin-1.3.4.ebuild: + Fix ROOT + +*virtualbox-bin-1.3.4 (15 Feb 2007) + + 15 Feb 2007; Markus Ullmann <jokey@gentoo.org> +metadata.xml, + +virtualbox-bin-1.3.4.ebuild: + Initial version, thanks to Alessio Cassibba + diff --git a/app-emulation/virtualbox-bin/Manifest b/app-emulation/virtualbox-bin/Manifest new file mode 100644 index 0000000..d32ad1a --- /dev/null +++ b/app-emulation/virtualbox-bin/Manifest @@ -0,0 +1,9 @@ +AUX virtualbox-bin-config 28 RMD160 c03986f0a6ecc77c2d15382d965952bb209ae534 SHA1 43b5fd213ae08bb390ec1962ee2776d4f7fe45fd SHA256 5326f7abdd1a7c8a8a44fd4ab269977ec115286059fc8a4c2fde6805c381236f +AUX virtualbox-bin-interfaces 218 RMD160 4639b9848cf44ac59cd12585a3c56ef53d72a6d9 SHA1 3268e5759286bdff1c5242598266e6c2a5b17e5d SHA256 50ddbfedce3afd41aad45163eb799fce0956d815948ad9da842f09163aaafd52 +AUX virtualbox-bin-wrapper 3429 RMD160 86ae316c2a4168662bfdac07eb233f4eae9d365a SHA1 3efc2c2995501ead856284399c584da5e66383b9 SHA256 b2cca8636c6b0f2489b973e656dcfeb863159479e9eac798362c90380275d304 +AUX virtualbox-bin.desktop 198 RMD160 01b0abb36ce82508acbc3b99f3a999bb5d2eed65 SHA1 fd79617d2fdfe5e2fbbb304eac2a8cf076eb4808 SHA256 0e65e53250960a39fbaaaf42d44e49464d9a949cd0015bf2e3cb5abbe633c63a +DIST VirtualBox-1.6.0-Linux_amd64.run 18154043 RMD160 c60430e25c8fc7b2cd5e5e91c8bef11c035ae820 SHA1 d07520bff19e6ebe1a57b73be7084d721f8aea9b SHA256 7e9a075c2913ca0b6044187623eaf3044fb5abf39852ec88ef45f2c96ed047db +DIST VirtualBox-1.6.0-Linux_x86.run 20806176 RMD160 1be4bf97e8acd72f4d0f4ea3bb6c62e01a492323 SHA1 a20c6e7389494d38f6570dadbd67f2f186e2ca43 SHA256 a719121b7b4a32498d6b70f7dae7e352019b3e815f8c902272be1d72385021ca +EBUILD virtualbox-bin-1.6.0.ebuild 3823 RMD160 624aabd667e965d9347511026c01b63291422f00 SHA1 3e314f11881894d9613309c4c3bdd5ec8352e2c1 SHA256 d3995566ac627ebcd3b2279bc5a61af2f7133476346d716bfedcb36d1b3bf565 +MISC ChangeLog 4480 RMD160 165bd53386e97e3f7883a1c53c86f293bdf00eab SHA1 8a120362c2478189c0ecc750b019b0b57153cfbe SHA256 fa78352ebca7514d05d4f010cd9d208448abbfdc11a5086160adf1947e987102 +MISC metadata.xml 344 RMD160 12935d5b21be85bc4222fd06371c93dcbf6f534e SHA1 68b99919921f246738cce4350b77d895e7c78106 SHA256 fff5aeb6f453d2e137765ca5016e81344cb0cd0cecd51d81bbb889cb1d7a5ba9 diff --git a/app-emulation/virtualbox-bin/files/virtualbox-bin-config b/app-emulation/virtualbox-bin/files/virtualbox-bin-config new file mode 100644 index 0000000..f69e73e --- /dev/null +++ b/app-emulation/virtualbox-bin/files/virtualbox-bin-config @@ -0,0 +1 @@ +INSTALL_DIR=/opt/VirtualBox diff --git a/app-emulation/virtualbox-bin/files/virtualbox-bin-interfaces b/app-emulation/virtualbox-bin/files/virtualbox-bin-interfaces new file mode 100644 index 0000000..ce2606b --- /dev/null +++ b/app-emulation/virtualbox-bin/files/virtualbox-bin-interfaces @@ -0,0 +1,4 @@ +# This file is for registering VirtualBox permanent host networking interfaces +# and optionally adding them to network bridges on the host. +# Each line should be of the format <interface name> <user name> [<bridge>]. + diff --git a/app-emulation/virtualbox-bin/files/virtualbox-bin-wrapper b/app-emulation/virtualbox-bin/files/virtualbox-bin-wrapper new file mode 100644 index 0000000..147edc4 --- /dev/null +++ b/app-emulation/virtualbox-bin/files/virtualbox-bin-wrapper @@ -0,0 +1,119 @@ +#!/bin/sh +# +# innotek VirtualBox +# +# Copyright (C) 2006-2007 innotek GmbH +# +# This file is part of VirtualBox Open Source Edition (OSE), as +# available from http://www.virtualbox.org. This file is free software; +# you can redistribute it and/or modify it under the terms of the GNU +# General Public License as published by the Free Software Foundation, +# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE +# distribution. VirtualBox OSE is distributed in the hope that it will +# be useful, but WITHOUT ANY WARRANTY of any kind. + +PATH="/usr/bin:/bin:/usr/sbin:/sbin" +CONFIG="/etc/vbox/vbox.cfg" + +if [ ! -r "$CONFIG" ]; then + echo "Could not find VirtualBox installation. Please reinstall." + exit 1 +fi + +. "$CONFIG" + +# Note: This script must not fail if the module was not successfully installed +# because the user might not want to run a VM but only change VM params! + +if [ "$1" = "shutdown" ]; then + SHUTDOWN="true" +elif [ ! -e /lib/modules/`uname -r`/misc/vboxdrv.ko ]; then + cat << EOF +WARNING: There is no module available for the current kernel (`uname -r`). + Please recompile the kernel module and install it by: + + sudo emerge -1 app-emulation/virtualbox-modules + + You will not be able to start VMs until this problem is fixed. +EOF +elif ! lsmod|grep -q vboxdrv; then + cat << EOF +WARNING: The vboxdrv kernel module is not loaded. + Please load the kernel module by: + + sudo modprobe vboxdrv + + You will not be able to start VMs until this problem is fixed. +EOF +elif [ ! -c /dev/vboxdrv ]; then + cat << EOF +WARNING: The character device /dev/vboxdrv does not exist. + Please try to reload the kernel module by: + + sudo rmmod vboxdrv; sleep 2; sudo modprobe vboxdrv + + and if that is not successful, try to re-install the package by: + + sudo emerge -1 app-emulation/virtualbox-modules + + You will not be able to start VMs until this problem is fixed. +EOF +elif [ ! -w /dev/vboxdrv ]; then + if [ "`id | grep vboxusers`" = "" ]; then + cat << EOF +WARNING: You are not a member of the "vboxusers" group. + Please add yourself to this group before starting VirtualBox. + + You will not be able to start VMs until this problem is fixed. +EOF + else + cat << EOF +WARNING: /dev/vboxdrv not writable for some reason. + If you recently added the current user to the "vboxusers" group + then you have to logout and re-login to take the change effect. + + You will not be able to start VMs until this problem is fixed. +EOF + fi +fi + +export LD_LIBRARY_PATH="$INSTALL_DIR${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" + +SERVER_PID=`ps -U \`whoami\` | grep VBoxSVC | awk '{ print $1 }'` +if [ -z "$SERVER_PID" ]; then + # Server not running yet/anymore, cleanup socket path. + # See IPC_GetDefaultSocketPath()! + if [ -n "$LOGNAME" ]; then + rm -rf /tmp/.vbox-$LOGNAME-ipc > /dev/null 2>&1 + else + rm -rf /tmp/.vbox-$USER-ipc > /dev/null 2>&1 + fi +fi + +if [ "$SHUTDOWN" = "true" ]; then + if [ -n "$SERVER_PID" ]; then + kill -TERM $SERVER_PID + sleep 2 + fi + exit 0 +fi + +APP=`which $0` +APP=${APP##/*/} +case "$APP" in + VirtualBox) + exec "$INSTALL_DIR/VirtualBox" "$@" + ;; + VBoxManage) + exec "$INSTALL_DIR/VBoxManage" "$@" + ;; + VBoxSDL) + exec "$INSTALL_DIR/VBoxSDL" "$@" + ;; + VBoxVRDP) + exec "$INSTALL_DIR/VBoxVRDP" "$@" + ;; + *) + echo "Unknown application - $APP" + ;; +esac diff --git a/app-emulation/virtualbox-bin/files/virtualbox-bin.desktop b/app-emulation/virtualbox-bin/files/virtualbox-bin.desktop new file mode 100644 index 0000000..1f009e9 --- /dev/null +++ b/app-emulation/virtualbox-bin/files/virtualbox-bin.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Innotek VirtualBox +Type=Application +Comment=Run several virtual systems on a single host computer +Exec=VirtualBox +TryExec=VirtualBox +Icon=virtualbox +Categories=System;Emulator; diff --git a/app-emulation/virtualbox-bin/metadata.xml b/app-emulation/virtualbox-bin/metadata.xml new file mode 100644 index 0000000..76eddd3 --- /dev/null +++ b/app-emulation/virtualbox-bin/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>jokey@gentoo.org</email> + <name>Markus Ullmann</name> +</maintainer> +<maintainer> + <email>swapon@gmail.com</email> + <name>Alessio Cassibba</name> +</maintainer> +</pkgmetadata> diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-1.6.0.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-1.6.0.ebuild new file mode 100644 index 0000000..fc81c16 --- /dev/null +++ b/app-emulation/virtualbox-bin/virtualbox-bin-1.6.0.ebuild @@ -0,0 +1,138 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-1.5.6.ebuild,v 1.2 2008/05/02 12:54:31 nyhm Exp $ + +inherit eutils fdo-mime qt3 pax-utils + +MY_P=VirtualBox-${PV}-Linux + +DESCRIPTION="Softwarefamily of powerful x86 virtualization" +HOMEPAGE="http://www.virtualbox.org/" +SRC_URI="amd64? ( http://www.virtualbox.org/download/${PV}/${MY_P}_amd64.run ) + x86? ( http://www.virtualbox.org/download/${PV}/${MY_P}_x86.run )" + +LICENSE="PUEL" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="additions chm sdk" + +RDEPEND="!app-emulation/virtualbox + !app-emulation/virtualbox-additions + >=app-emulation/virtualbox-modules-${PV} + virtual/xft + x11-libs/libXi + x11-libs/libX11 + x11-libs/libXft + x11-libs/libXtst + x11-libs/libXext + x11-libs/libXt + x11-libs/libICE + x11-libs/libSM + x11-libs/libXrender + x11-libs/libXrandr + x11-libs/libXau + x11-libs/libXcursor + x11-libs/libXdmcp + x11-libs/libXfixes + dev-libs/libxml2 + media-libs/libsdl + media-libs/libmng + media-libs/jpeg + media-libs/libpng + media-libs/freetype + media-libs/fontconfig + $(qt_min_version 3.3.5) + sys-apps/usermode-utilities + net-misc/bridge-utils + x86? ( =virtual/libstdc++-3.3 ) + sdk? ( dev-libs/libIDL ) + chm? ( app-doc/kchmviewer )" + +S=${WORKDIR} + +RESTRICT="primaryuri" + +pkg_setup() { + # The VBoxSDL frontend needs media-libs/libsdl compiled + # with USE flag X enabled (bug #177335) + if ! built_with_use media-libs/libsdl X; then + eerror "media-libs/libsdl was compiled without the \"X\" USE flag enabled." + eerror "Please re-emerge media-libs/libsdl with USE=\"X\"." + die "media-libs/libsdl should be compiled with the \"X\" USE flag." + fi + + check_license +} + +src_unpack() { + sh "${DISTDIR}/${A}" --keep --noexec + unpack ./install/VirtualBox.tar.bz2 +} + +src_install() { + + # desktop entry + newicon VBox.png virtualbox.png + newmenu "${FILESDIR}"/${PN}.desktop virtualbox.desktop + + # create virtualbox configurations files + insinto /etc/vbox + newins "${FILESDIR}/${PN}-config" vbox.cfg + newins "${FILESDIR}/${PN}-interfaces" interfaces + + insinto /opt/VirtualBox + doins UserManual.pdf + + if use additions; then + doins -r additions + fi + if use sdk; then + doins -r sdk + fowners root:vboxusers /opt/VirtualBox/sdk/bin/xpidl + fperms 0750 /opt/VirtualBox/sdk/bin/xpidl + pax-mark -m "${D}"/opt/VirtualBox/sdk/bin/xpidl + fi + if use chm; then + doins *.chm + dosym /usr/bin/kchmviewer /opt/VirtualBox/kchmviewer + fi + + rm -rf src sdk tst* rdesktop-vrdp.tar.gz deffiles install.sh routines.sh \ + runlevel.sh vboxdrv.sh VBox.sh VBox.png kchmviewer additions VirtualBox.desktop \ + VirtualBox.tar.bz2 vboxnet.sh LICENSE VirtualBox.chm VirtualBoxAPI.chm \ + VBoxSysInfo.sh + + doins -r * + for each in VBox{Manage,SDL,SVC,XPCOMIPCD,VRDP,Tunctl} VirtualBox ; do + fowners root:vboxusers /opt/VirtualBox/${each} + fperms 0750 /opt/VirtualBox/${each} + pax-mark -m "${D}"/opt/VirtualBox/${each} + done + + exeinto /opt/VirtualBox + newexe "${FILESDIR}/${PN}-wrapper" "VBox.sh" || die + fowners root:vboxusers /opt/VirtualBox/VBox.sh + fperms 0750 /opt/VirtualBox/VBox.sh + fowners root:vboxusers /opt/VirtualBox/VBoxAddIF.sh + fperms 0750 /opt/VirtualBox/VBoxAddIF.sh + + dosym /opt/VirtualBox/VBox.sh /usr/bin/VirtualBox + dosym /opt/VirtualBox/VBox.sh /usr/bin/VBoxManage + dosym /opt/VirtualBox/VBox.sh /usr/bin/VBoxSDL + dosym /opt/VirtualBox/VBox.sh /usr/bin/VBoxVRDP + dosym /opt/VirtualBox/VBoxTunctl /usr/bin/VBoxTunctl + dosym /opt/VirtualBox/VBoxAddIF.sh /usr/bin/VBoxAddIF + dosym /opt/VirtualBox/VBoxAddIF.sh /usr/bin/VBoxDeleteIF +} + +pkg_postinst() { + fdo-mime_desktop_database_update + elog "" + elog "To launch VirtualBox just type: \"VirtualBox\"" + elog "You must be in the vboxusers group to use VirtualBox" + elog "" +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} |