From 4c9dc467b7005f3d4fd59e98924b6a4d1d50d416 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Wed, 24 Nov 2010 18:34:02 -0600 Subject: system/virtualbox-ose-addons: Updated for version 3.2.10. Signed-off-by: Robby Workman --- system/virtualbox-ose-addons/rc.vboxadd.diff | 70 ++++++++++++---------- .../virtualbox-ose-addons.SlackBuild | 2 +- .../virtualbox-ose-addons.info | 6 +- 3 files changed, 42 insertions(+), 36 deletions(-) (limited to 'system') diff --git a/system/virtualbox-ose-addons/rc.vboxadd.diff b/system/virtualbox-ose-addons/rc.vboxadd.diff index 189123c454..0357890d70 100644 --- a/system/virtualbox-ose-addons/rc.vboxadd.diff +++ b/system/virtualbox-ose-addons/rc.vboxadd.diff @@ -1,10 +1,13 @@ ---- tmp/vboxadd.sh 2010-06-25 16:24:10.000000000 +0200 -+++ mnt/progs/slack/test/VirtualBox-3.2.6_OSE/src/VBox/Additions/linux/installer/vboxadd.sh 2010-07-07 15:59:28.710046357 +0200 -@@ -307,152 +307,13 @@ +--- vboxadd.sh 2010-10-08 22:09:05.000000000 +0200 ++++ vboxadd.sh 2010-10-30 16:14:18.420000058 +0200 +@@ -308,158 +308,13 @@ # setup_script setup() { - # don't stop the old modules here -- they might be in use +- begin "Uninstalling old VirtualBox DKMS kernel modules" +- $DODKMS uninstall > $LOG +- succ_msg - if find /lib/modules/`uname -r` -name "vboxvideo\.*" 2>/dev/null|grep -q vboxvideo; then - begin "Removing old VirtualBox vboxvideo kernel module" - find /lib/modules/`uname -r` -name "vboxvideo\.*" 2>/dev/null|xargs rm -f 2>/dev/null @@ -21,8 +24,9 @@ - succ_msg - fi - begin "Building the VirtualBox Guest Additions kernel modules" +- - if ! sh /usr/share/$PACKAGE/test/build_in_tmp \ -- --no-dkms --no-print-directory > $LOG 2>&1; then +- --no-print-directory >> $LOG 2>&1; then - fail_msg - printf "Your system does not seem to be set up to build kernel modules.\nLook at $LOG to find out what went wrong. Once you have corrected it, you can\nrun\n\n /etc/init.d/vboxadd setup\n\nto build them." - BUILDVBOXGUEST="" @@ -30,40 +34,42 @@ - BUILDVBOXVIDEO="" - else - if ! sh /usr/share/$PACKAGE/test_drm/build_in_tmp \ -- --no-dkms --no-print-directory >> $LOG 2>&1; then +- --no-print-directory >> $LOG 2>&1; then - printf "\nYour guest system does not seem to have sufficient OpenGL support to enable\naccelerated 3D effects (this requires Linux 2.6.27 or later in the guest\nsystem). This Guest Additions feature will be disabled.\n\n" - BUILDVBOXVIDEO="" - fi - fi - echo -- if [ -n "$BUILDVBOXGUEST" ]; then -- begin "Building the main Guest Additions module" -- if ! $BUILDVBOXGUEST \ -- --save-module-symvers /tmp/vboxguest-Module.symvers \ -- --no-print-directory install >> $LOG 2>&1; then -- fail "Look at $LOG to find out what went wrong" +- if ! $DODKMS install >> $LOG 2>&1; then +- if [ -n "$BUILDVBOXGUEST" ]; then +- begin "Building the main Guest Additions module" +- if ! $BUILDVBOXGUEST \ +- --save-module-symvers /tmp/vboxguest-Module.symvers \ +- --no-print-directory install >> $LOG 2>&1; then +- fail "Look at $LOG to find out what went wrong" +- fi +- succ_msg - fi -- succ_msg -- fi -- if [ -n "$BUILDVBOXSF" ]; then -- begin "Building the shared folder support module" -- if ! $BUILDVBOXSF \ -- --use-module-symvers /tmp/vboxguest-Module.symvers \ -- --no-print-directory install >> $LOG 2>&1; then -- fail "Look at $LOG to find out what went wrong" +- if [ -n "$BUILDVBOXSF" ]; then +- begin "Building the shared folder support module" +- if ! $BUILDVBOXSF \ +- --use-module-symvers /tmp/vboxguest-Module.symvers \ +- --no-print-directory install >> $LOG 2>&1; then +- fail "Look at $LOG to find out what went wrong" +- fi +- succ_msg - fi -- succ_msg -- fi -- if [ -n "$BUILDVBOXVIDEO" ]; then -- begin "Building the OpenGL support module" -- if ! $BUILDVBOXVIDEO \ -- --use-module-symvers /tmp/vboxguest-Module.symvers \ -- --no-print-directory install >> $LOG 2>&1; then -- fail "Look at $LOG to find out what went wrong" +- if [ -n "$BUILDVBOXVIDEO" ]; then +- begin "Building the OpenGL support module" +- if ! $BUILDVBOXVIDEO \ +- --use-module-symvers /tmp/vboxguest-Module.symvers \ +- --no-print-directory install >> $LOG 2>&1; then +- fail "Look at $LOG to find out what went wrong" +- fi +- succ_msg - fi -- succ_msg +- depmod - fi -- depmod - - begin "Doing non-kernel setup of the Guest Additions" - echo "Creating user for the Guest Additions." >> $LOG @@ -113,9 +119,9 @@ - start - fi - fi -+ echo "Not implemented! Please use the virtualbox-kernel-addons.SlackBuild available at SlackBuilds.org instead." ++ echo "Not implemented! Please use the virtualbox-{ose,kernel}-addons.SlackBuild available at SlackBuilds.org instead." } - + # cleanup_script cleanup() { @@ -153,5 +159,5 @@ - rm /etc/udev/rules.d/60-vboxadd.rules 2>/dev/null + echo "Not implemented! Please use removepkg or pkgtool to remove virtualbox-{ose,kernel}-addons instead." } - + dmnstatus() diff --git a/system/virtualbox-ose-addons/virtualbox-ose-addons.SlackBuild b/system/virtualbox-ose-addons/virtualbox-ose-addons.SlackBuild index 76e16d1aff..650c421206 100644 --- a/system/virtualbox-ose-addons/virtualbox-ose-addons.SlackBuild +++ b/system/virtualbox-ose-addons/virtualbox-ose-addons.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=virtualbox-ose-addons SRCNAM=VirtualBox -VERSION=3.2.6 +VERSION=3.2.10 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/system/virtualbox-ose-addons/virtualbox-ose-addons.info b/system/virtualbox-ose-addons/virtualbox-ose-addons.info index b79d625f7b..95fc3c5314 100644 --- a/system/virtualbox-ose-addons/virtualbox-ose-addons.info +++ b/system/virtualbox-ose-addons/virtualbox-ose-addons.info @@ -1,8 +1,8 @@ PRGNAM="virtualbox-ose-addons" -VERSION="3.2.6" +VERSION="3.2.10" HOMEPAGE="http://www.virtualbox.org" -DOWNLOAD="http://213.239.192.22/download/3.2.6/VirtualBox-3.2.6-OSE.tar.bz2" -MD5SUM="65b822ab3c08ff882d9621101996dc14" +DOWNLOAD="http://download.virtualbox.org/virtualbox/3.2.10/VirtualBox-3.2.10-OSE.tar.bz2" +MD5SUM="5aad764cd4e886f9d80d7bde42163c7a" DOWNLOAD_x86_64="UNTESTED" MD5SUM_x86_64="" MAINTAINER="Heinz Wiesinger" -- cgit v1.2.3