Version bump, thanks to x-drum for the hard work
authorMarkus Ullmann <jokey@gentoo.org>
Wed, 28 Feb 2007 19:48:59 +0000 (19:48 +0000)
committerMarkus Ullmann <jokey@gentoo.org>
Wed, 28 Feb 2007 19:48:59 +0000 (19:48 +0000)
Package-Manager: portage-2.1.2-r12

app-emulation/virtualbox-bin/ChangeLog
app-emulation/virtualbox-bin/Manifest
app-emulation/virtualbox-bin/files/digest-virtualbox-bin-1.3.6 [new file with mode: 0644]
app-emulation/virtualbox-bin/files/virtualbox-bin-1.3.6-wrapper [new file with mode: 0644]
app-emulation/virtualbox-bin/virtualbox-bin-1.3.6.ebuild [new file with mode: 0644]

index 193e3f21d5590181f250440e19e4f30babc5df16..4da1a9ecb137bb5f5246c7bc4b943acc55c11ad0 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for app-emulation/virtualbox-bin
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/ChangeLog,v 1.3 2007/02/25 09:33:32 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/ChangeLog,v 1.4 2007/02/28 19:48:59 jokey Exp $
+
+*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
index 716004c7162fb286598e5ce91ab0bcee87f77f54..775855ccb16934aaa57edd1703216f8726339e5f 100644 (file)
@@ -1,12 +1,25 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX virtualbox-bin-1.3.6-wrapper 1472 RMD160 c6f190c5c83bcabafb35a466e679a72937c2a697 SHA1 d8985fe6a8160c0e3c8f262ae4266c36811bc64f SHA256 83058158882692987153668dd01dfe9fa0ac3de29d4f317c2ef9f007a6f98b6d
+MD5 078b53999a0ab2db8765b08f08f7cf58 files/virtualbox-bin-1.3.6-wrapper 1472
+RMD160 c6f190c5c83bcabafb35a466e679a72937c2a697 files/virtualbox-bin-1.3.6-wrapper 1472
+SHA256 83058158882692987153668dd01dfe9fa0ac3de29d4f317c2ef9f007a6f98b6d files/virtualbox-bin-1.3.6-wrapper 1472
 DIST VirtualBox_1.3.4_Linux_x86.run 9835033 RMD160 571a315f3d22c6a01cf05921f28c34491f2ca313 SHA1 1a077cde3199ad2266d6da580f05911431c5a5a4 SHA256 c695fb4ad5d8bfcc804283839362364f9393713f4a1bcf1e06953222861e096d
+DIST VirtualBox_1.3.6_Linux_x86.run 240088 RMD160 b6d247733e6b352ef8562a6218aa11de52e40204 SHA1 53857d4fa01b0e4fc74daea14655ab1ac1294c86 SHA256 f614a317f399ec12e8cf92cd0a3f75be3e80252986cad672c9c6a31272ff42e2
+DIST vditool 20884 RMD160 3315e99113be34913790cb2d04956e29494d8551 SHA1 fc175c5177f764ffca47d18d22708d69279fac98 SHA256 7612930d3a21e7b5b25ed0f6464dca3691e5d958f17df864e9f57f85c9ad966d
 EBUILD virtualbox-bin-1.3.4.ebuild 3180 RMD160 681473f6ff2ded9078736d80acb0a5446bb775fe SHA1 5431142ba0275af60469e86cf93154f807088427 SHA256 c404c2965b8853959296fb6175b4fdc5a9f3b24313cd15dbfbbe2896c9e9d407
 MD5 8a3adad6b1862e4cff5b38648779de4e virtualbox-bin-1.3.4.ebuild 3180
 RMD160 681473f6ff2ded9078736d80acb0a5446bb775fe virtualbox-bin-1.3.4.ebuild 3180
 SHA256 c404c2965b8853959296fb6175b4fdc5a9f3b24313cd15dbfbbe2896c9e9d407 virtualbox-bin-1.3.4.ebuild 3180
-MISC ChangeLog 624 RMD160 7ad56b49c27fafa219a2efa9ddfd1f0b0447cec1 SHA1 c0b5b7be8499c984ed475135328bc24e7f4b80e2 SHA256 386953cbc619ecacc188f10f6ebfd2c6b42b4731245e892e220dd80f24c61b7e
-MD5 595f99d747f861774547551a16ad6cd7 ChangeLog 624
-RMD160 7ad56b49c27fafa219a2efa9ddfd1f0b0447cec1 ChangeLog 624
-SHA256 386953cbc619ecacc188f10f6ebfd2c6b42b4731245e892e220dd80f24c61b7e ChangeLog 624
+EBUILD virtualbox-bin-1.3.6.ebuild 3539 RMD160 219d0a590688a8d6309192ed85b3c1cb4278156e SHA1 d4692eb936d6b411d8ed233cb1a0ee368dc21f8f SHA256 d6838c7ec50d115139b1fa4bcfbdb4df93adc5a7e706e23ae6a1141c5efadfba
+MD5 78946bb91d917f6d0f8adaecf85475a6 virtualbox-bin-1.3.6.ebuild 3539
+RMD160 219d0a590688a8d6309192ed85b3c1cb4278156e virtualbox-bin-1.3.6.ebuild 3539
+SHA256 d6838c7ec50d115139b1fa4bcfbdb4df93adc5a7e706e23ae6a1141c5efadfba virtualbox-bin-1.3.6.ebuild 3539
+MISC ChangeLog 829 RMD160 2ce24171bdb7c2a57ca12ab0dafcb3ad3c8ec5fe SHA1 1d70e1c3dce0a6d3822d9c2d7f068761daa3fe75 SHA256 97050151e9a77f02038c74703dd73c801b6d1460595a764a2558b77a80b67826
+MD5 546b12dc83372656d3938fbd9e15f256 ChangeLog 829
+RMD160 2ce24171bdb7c2a57ca12ab0dafcb3ad3c8ec5fe ChangeLog 829
+SHA256 97050151e9a77f02038c74703dd73c801b6d1460595a764a2558b77a80b67826 ChangeLog 829
 MISC metadata.xml 344 RMD160 12935d5b21be85bc4222fd06371c93dcbf6f534e SHA1 68b99919921f246738cce4350b77d895e7c78106 SHA256 fff5aeb6f453d2e137765ca5016e81344cb0cd0cecd51d81bbb889cb1d7a5ba9
 MD5 688de6c9943189afc4fa3ab510813dbd metadata.xml 344
 RMD160 12935d5b21be85bc4222fd06371c93dcbf6f534e metadata.xml 344
@@ -14,3 +27,13 @@ SHA256 fff5aeb6f453d2e137765ca5016e81344cb0cd0cecd51d81bbb889cb1d7a5ba9 metadata
 MD5 a5653cf2dad530a06d2fbee1586ed2f7 files/digest-virtualbox-bin-1.3.4 274
 RMD160 06d376ac58b3d6ffcedcde87ca4351e88f30a664 files/digest-virtualbox-bin-1.3.4 274
 SHA256 5129f448b55275504da55f10cbd7b1eae8d79db825ac3360dd6903f75fe95890 files/digest-virtualbox-bin-1.3.4 274
+MD5 c1d44170c7352457858b222033608e23 files/digest-virtualbox-bin-1.3.6 470
+RMD160 774b813f1925571067bcfb254b9486424f9a92b1 files/digest-virtualbox-bin-1.3.6 470
+SHA256 f9c489c19c501c710b0936ca8591042871f72778c11e6d1342103039a0bf2f5c files/digest-virtualbox-bin-1.3.6 470
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.1 (GNU/Linux)
+
+iD8DBQFF5dydz974XjDVpbkRAl5PAJ4rdIvduNp9sNnqRRHsEZsihhhUvACffzhD
+LlIaqfrbo1YORFMLji0v08o=
+=aphr
+-----END PGP SIGNATURE-----
diff --git a/app-emulation/virtualbox-bin/files/digest-virtualbox-bin-1.3.6 b/app-emulation/virtualbox-bin/files/digest-virtualbox-bin-1.3.6
new file mode 100644 (file)
index 0000000..43d885a
--- /dev/null
@@ -0,0 +1,6 @@
+MD5 b774be7f9b40a5ba0a9b33506a439b0f VirtualBox_1.3.6_Linux_x86.run 240088
+RMD160 b6d247733e6b352ef8562a6218aa11de52e40204 VirtualBox_1.3.6_Linux_x86.run 240088
+SHA256 f614a317f399ec12e8cf92cd0a3f75be3e80252986cad672c9c6a31272ff42e2 VirtualBox_1.3.6_Linux_x86.run 240088
+MD5 1396c7f206f7c6a69f183a0b32c07671 vditool 20884
+RMD160 3315e99113be34913790cb2d04956e29494d8551 vditool 20884
+SHA256 7612930d3a21e7b5b25ed0f6464dca3691e5d958f17df864e9f57f85c9ad966d vditool 20884
diff --git a/app-emulation/virtualbox-bin/files/virtualbox-bin-1.3.6-wrapper b/app-emulation/virtualbox-bin/files/virtualbox-bin-1.3.6-wrapper
new file mode 100644 (file)
index 0000000..1d8c3b2
--- /dev/null
@@ -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|VBoxVRDP)
+               exec "$INSTALL_DIR/$APP" "$@"
+               ;;
+       *)
+               echo "Error: Unknown application - $APP"
+               exit 1
+               ;;
+esac
diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-1.3.6.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-1.3.6.ebuild
new file mode 100644 (file)
index 0000000..abfb4ba
--- /dev/null
@@ -0,0 +1,120 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header $
+
+inherit eutils qt3
+
+MY_P=VirtualBox_${PV}_Linux_x86.run
+
+DESCRIPTION="Softwarefamily of powerful x86 virtualization"
+HOMEPAGE="http://www.virtualbox.org/"
+SRC_URI="http://www.virtualbox.org/download/${PV}/${MY_P}
+       vditool? ( http://www.virtualbox.org/download/testcase/vditool )"
+
+LICENSE="PUEL"
+SLOT="0"
+KEYWORDS="-amd64 ~x86"
+IUSE="additions sdk vditool wrapper"
+
+DEPEND=">=sys-libs/glibc-2.3.5"
+RDEPEND="!app-emulation/virtualbox
+       =app-emulation/virtualbox-modules-${PV}
+       sdk? ( dev-libs/libIDL )
+       amd64? (
+               >=app-emulation/emul-linux-x86-baselibs-2.5.5-r3
+               >=app-emulation/emul-linux-x86-qtlibs-3.4.4
+               app-emulation/emul-linux-x86-compat
+               app-emulation/emul-linux-x86-xlibs
+               app-emulation/emul-linux-x86-sdl )
+       x86? (
+               virtual/xft
+               x11-libs/libX11
+               x11-libs/libXtst
+               x11-libs/libXext
+               x11-libs/libXt
+               x11-libs/libICE
+               x11-libs/libSM
+               x11-libs/libXrender
+               =virtual/libstdc++-3.3
+               x11-libs/libXcursor
+               media-libs/libsdl
+               $(qt_min_version 3.3.5) )"
+
+S=${WORKDIR}
+
+RESTRICT="primaryuri"
+
+pkg_setup() {
+       check_license
+}
+
+src_unpack() {
+       unpack_makeself ${MY_P}
+       unpack ./VirtualBox.tar.bz2
+}
+
+src_install() {
+       cd "${S}"
+
+       # desktop entry
+       insinto /usr/share/pixmaps
+       newins VBox.png virtualbox.png
+       insinto /usr/share/applications
+       newins VirtualBox.desktop virtualbox.desktop
+       dosed -e "10d" /usr/share/applications/virtualbox.desktop
+       dosed -e "5d" /usr/share/applications/virtualbox.desktop
+       dosed -e "s/VirtualBox/virtualbox/" /usr/share/applications/virtualbox.desktop
+       dosed -e "s/VBox.png/virtualbox.png/" /usr/share/applications/virtualbox.desktop
+
+       insinto /opt/VirtualBox
+       doins UserManual.pdf
+       if use additions; then
+               doins -r additions
+       fi
+       if use sdk; then
+               doins -r sdk
+               fperms 0755 /opt/VirtualBox/sdk/bin/xpidl
+               make_wrapper xpidl "sdk/bin/xpidl" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin"
+       fi
+       if use vditool; then
+               doins "${DISTDIR}"/vditool
+               fperms 0755 /opt/VirtualBox/vditool
+               make_wrapper vditool "./vditool" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin"
+       fi
+
+       rm -rf src sdk tst* UserManual.pdf rdesktop-vrdp.tar.gz deffiles install.sh \
+       routines.sh runlevel.sh vboxdrv.sh VBox.sh VBox.png kchmviewer additions \
+       VirtualBox.desktop VirtualBox.chm VirtualBox.tar.bz2 LICENSE
+
+       doins -r *
+       for each in VBox{Manage,SDL,SVC,XPCOMIPCD,VRDP} 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
+               dosym /opt/VirtualBox/wrapper.sh /usr/bin/VBoxVRDP
+       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"
+               make_wrapper vboxvrdp "./VBoxVRDP" "/opt/VirtualBox" "/opt/VirtualBox" "/usr/bin"
+       fi
+
+}
+
+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 ""
+}