diff options
author | Markus Ullmann <jokey@gentoo.org> | 2008-03-27 01:20:14 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2008-03-27 01:20:14 +0000 |
commit | cfa722d87710872d74726826db5127488183dbb6 (patch) | |
tree | 15d0a44a09bbce93a675614a4d427921c2bd8068 /app-emulation/virtualbox-bin | |
parent | dev-perl/IO-BufferedSelect in portage (diff) | |
download | jokey-cfa722d87710872d74726826db5127488183dbb6.tar.gz jokey-cfa722d87710872d74726826db5127488183dbb6.tar.bz2 jokey-cfa722d87710872d74726826db5127488183dbb6.zip |
virtualbox stuff in portage
svn path=/trunk/; revision=389
Diffstat (limited to 'app-emulation/virtualbox-bin')
-rw-r--r-- | app-emulation/virtualbox-bin/ChangeLog | 126 | ||||
-rw-r--r-- | app-emulation/virtualbox-bin/Manifest | 12 | ||||
-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.5.4.ebuild | 138 | ||||
-rw-r--r-- | app-emulation/virtualbox-bin/virtualbox-bin-1.5.6.ebuild | 138 |
9 files changed, 0 insertions, 559 deletions
diff --git a/app-emulation/virtualbox-bin/ChangeLog b/app-emulation/virtualbox-bin/ChangeLog deleted file mode 100644 index b546404..0000000 --- a/app-emulation/virtualbox-bin/ChangeLog +++ /dev/null @@ -1,126 +0,0 @@ -# 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.19 2007/11/03 15:17:28 jokey Exp $ - - 21 Feb 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com> - +virtualbox-bin-1.5.6.ebuild: - version bump - - 03 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com> - virtualbox-bin-1.5.4.ebuild: - fix desktop entry name - - 03 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com> - virtualbox-bin-1.5.4.ebuild: - remove redundant cd statement - - 02 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com> - virtualbox-bin-1.5.4.ebuild: - add chm use flag to support the online MS HTML Help files (.chm) - - 02 Jan 2008; Alessio Cassibba (X-Drum) <swapon@gmail.com> - -virtualbox-bin-1.5.2.ebuild, +virtualbox-bin-1.5.4.ebuild, - +files/virtualbox-bin.desktop: - version bump; fix desktop entry - - 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 deleted file mode 100644 index 20f1a91..0000000 --- a/app-emulation/virtualbox-bin/Manifest +++ /dev/null @@ -1,12 +0,0 @@ -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.5.4_Linux_amd64.run 17118151 RMD160 49e688315ab7f4964eb22720f21fed7f72f68a59 SHA1 d42e591feb19685b3e84fb19b842c10a91c48bd2 SHA256 db3b64235dd90a7853ad73be788e418a91c353b247ba3608807d4a281cae0361 -DIST VirtualBox_1.5.4_Linux_x86.run 16018644 RMD160 701a5e5e4fb910c51dae81cd9071a1189d261213 SHA1 7b96967c3cd21962d40b54df2e1ffdafa51c024c SHA256 9f8fae10b60aec8812fceb27bed5e550b24abd4a42b787a1e2ce397a402fbf08 -DIST VirtualBox_1.5.6-1_Linux_amd64.run 17162248 RMD160 2478e2fad0fe6529d1eff5ac1d6698ec8f477f94 SHA1 128136e651fc104682185366d142cfc71f8dd4ff SHA256 d82a4d7986d77376c4a95adb5ce500e17214e89592e4cf92a5870104835f2f69 -DIST VirtualBox_1.5.6-1_Linux_x86.run 16469455 RMD160 a81057243c1f480f39b8778261028fd5b55cd3f0 SHA1 a43c52a95854804029683a2897b318c6ec686f63 SHA256 90b04d49eadbeb8a42c739491df6ea5280a88139fe2155f2b4ef61395bd405cc -EBUILD virtualbox-bin-1.5.4.ebuild 3727 RMD160 5392361ef97a591cd479ce67f511327ba1f11d5a SHA1 8b353a5ccdf127459d56fea2dd1af833cd3e6d5d SHA256 275f5be8216694356345dd583c0b774206564ffe0a04161a8a0fbb006a578d12 -EBUILD virtualbox-bin-1.5.6.ebuild 3733 RMD160 d64dfd22423abeb893cec1b25447eb663e7e0800 SHA1 80e9a688441422e0c85b53e88f7e45bc9c858a6d SHA256 8a5108a9ab2521b514ce78f0384fd7ce9dae08c56dc36f4fbe78379bb42047b7 -MISC ChangeLog 4406 RMD160 9177634199b0c9e1781d4b1b3f475eb3b9986f41 SHA1 550eae5c72f7b0f1b8bfd03034c26d61d7351aa4 SHA256 6e9fcb07e7e64d32da550890f7b7b9b9d22ee0eb25e4fe4e700682526bc6c219 -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 deleted file mode 100644 index f69e73e..0000000 --- a/app-emulation/virtualbox-bin/files/virtualbox-bin-config +++ /dev/null @@ -1 +0,0 @@ -INSTALL_DIR=/opt/VirtualBox diff --git a/app-emulation/virtualbox-bin/files/virtualbox-bin-interfaces b/app-emulation/virtualbox-bin/files/virtualbox-bin-interfaces deleted file mode 100644 index ce2606b..0000000 --- a/app-emulation/virtualbox-bin/files/virtualbox-bin-interfaces +++ /dev/null @@ -1,4 +0,0 @@ -# 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 deleted file mode 100644 index 147edc4..0000000 --- a/app-emulation/virtualbox-bin/files/virtualbox-bin-wrapper +++ /dev/null @@ -1,119 +0,0 @@ -#!/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 deleted file mode 100644 index 1f009e9..0000000 --- a/app-emulation/virtualbox-bin/files/virtualbox-bin.desktop +++ /dev/null @@ -1,8 +0,0 @@ -[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 deleted file mode 100644 index 76eddd3..0000000 --- a/app-emulation/virtualbox-bin/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?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.5.4.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-1.5.4.ebuild deleted file mode 100644 index c3dd363..0000000 --- a/app-emulation/virtualbox-bin/virtualbox-bin-1.5.4.ebuild +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils fdo-mime qt3 pax-utils - -MY_P=VirtualBox_${PV}_Linux_${ARCH}.run - -DESCRIPTION="Softwarefamily of powerful x86 virtualization" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="amd64? ( http://www.virtualbox.org/download/${PV}/VirtualBox_${PV}_Linux_amd64.run ) - x86? ( http://www.virtualbox.org/download/${PV}/VirtualBox_${PV}_Linux_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() { - unpack_makeself ${MY_P} - unpack ./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 -} diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-1.5.6.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-1.5.6.ebuild deleted file mode 100644 index 46d6e2a..0000000 --- a/app-emulation/virtualbox-bin/virtualbox-bin-1.5.6.ebuild +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils fdo-mime qt3 pax-utils - -MY_P=VirtualBox_${PV}-1_Linux_${ARCH}.run - -DESCRIPTION="Softwarefamily of powerful x86 virtualization" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="amd64? ( http://www.virtualbox.org/download/${PV}/VirtualBox_${PV}-1_Linux_amd64.run ) - x86? ( http://www.virtualbox.org/download/${PV}/VirtualBox_${PV}-1_Linux_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() { - unpack_makeself ${MY_P} - unpack ./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 -} |