diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2010-05-13 00:42:16 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:42:16 +0200 |
commit | c79e0b03e6ca32ec7fefab7a37a7fee37dfe20f4 (patch) | |
tree | 862a721392fe3c17de483369dc5532a6fae72698 /system | |
parent | 8d1d8aa9a5801d5e80fb6e1a2d0fcadc8db90865 (diff) |
system/virtualbox-kernel-addons: Updated for version 3.1.2
Diffstat (limited to 'system')
5 files changed, 27 insertions, 19 deletions
diff --git a/system/virtualbox-kernel-addons/README b/system/virtualbox-kernel-addons/README index 51e00a447daa..71e9cd785517 100644 --- a/system/virtualbox-kernel-addons/README +++ b/system/virtualbox-kernel-addons/README @@ -3,7 +3,7 @@ virtualization environment to be used within a guest. To build the package for a kernel different from the running one, start the script setting the KERNEL variable as in - KERNEL=2.6.27.15 ./virtualbox-kernel.SlackBuild + KERNEL=2.6.29.6 ./virtualbox-kernel.SlackBuild If you want to build a kernel module for an other virtualbox version you can use the included "virtualbox-kernel-addons-mksrctarball.sh" diff --git a/system/virtualbox-kernel-addons/slack-desc b/system/virtualbox-kernel-addons/slack-desc index 5b1a76e329dc..d78d63e17331 100644 --- a/system/virtualbox-kernel-addons/slack-desc +++ b/system/virtualbox-kernel-addons/slack-desc @@ -5,13 +5,15 @@ # make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':'. - |-----handy-ruler------------------------------------| -virtualbox-kernel-addons: virtualbox-kernel-addons (VirtualBox guest modules) + |-----handy-ruler-------------------------------------------------------| +virtualbox-kernel-addons: virtualbox-kernel-addons (VirtualBox guest additions - kernel modules) virtualbox-kernel-addons: -virtualbox-kernel-addons: This are the suplementary kernel drivers for the -virtualbox-kernel-addons: VirtualBox virtualisation environment, to be used -virtualbox-kernel-addons: within in a guest. +virtualbox-kernel-addons: This are the suplementary kernel drivers for the VirtualBox +virtualbox-kernel-addons: virtualisation environment, to be used within in a guest. virtualbox-kernel-addons: virtualbox-kernel-addons: Homepage: http://www.virtualbox.org virtualbox-kernel-addons: virtualbox-kernel-addons: +virtualbox-kernel-addons: +virtualbox-kernel-addons: +virtualbox-kernel-addons: diff --git a/system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh b/system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh index 5b0843bc6ea2..738df1deff52 100644 --- a/system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh +++ b/system/virtualbox-kernel-addons/virtualbox-kernel-addons-mksrctarball.sh @@ -14,13 +14,14 @@ VERSION=$(VBoxControl --help 2>/dev/null | grep OSE | cut -d " " -f 9 | cut -d " mkdir $PRGNAM echo "--> Copying sourcecode from /usr/src" -cp -rf /usr/src/vboxadd-$VERSION $PRGNAM/vboxadd +cp -rf /usr/src/vboxguest-$VERSION $PRGNAM/vboxguest cp -rf /usr/src/vboxvfs-$VERSION $PRGNAM/vboxvfs +cp -rf /usr/src/vboxvideo-$VERSION $PRGNAM/vboxvideo -echo "--> Making the sourcecode tarball: $PRGNAM-src-$VERSION.tar.bz2 " -tar -c $PRGNAM/ | bzip2 > $PRGNAM-$VERSION.tar.bz2 +echo "--> Making the sourcecode tarball: $PRGNAM-src-$VERSION.tar.xz" +tar -cJf $PRGNAM-$VERSION.tar.xz $PRGNAM echo "--> Erasing the sourcecode directory: $PRGNAM/" rm -rf $PRGNAM/ -echo "--> Sourcecode tarball for $PRGNAM: $PRGNAM-$VERSION.tar.bz2" +echo "--> Sourcecode tarball for $PRGNAM: $PRGNAM-$VERSION.tar.xz" diff --git a/system/virtualbox-kernel-addons/virtualbox-kernel-addons.SlackBuild b/system/virtualbox-kernel-addons/virtualbox-kernel-addons.SlackBuild index fab84ef9e15e..c9b0a99c7212 100644 --- a/system/virtualbox-kernel-addons/virtualbox-kernel-addons.SlackBuild +++ b/system/virtualbox-kernel-addons/virtualbox-kernel-addons.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for virtualbox-kernel -# Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at> +# Copyright 2008-2009 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=virtualbox-kernel-addons -VERSION=2.1.4 +VERSION=3.1.2 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -31,6 +31,9 @@ TAG=${TAG:-_SBo} KERNEL=${KERNEL:-$(uname -r)} KERNELPATH=${KERNELPATH:-/lib/modules/$KERNEL/build} PKG_VERS=${VERSION}_$(echo $KERNEL| tr - _) +PKG_ARCH=$ARCH + +unset ARCH CWD=$(pwd) TMP=${TMP:-/tmp/SBo} @@ -43,14 +46,14 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM chown -R root:root . chmod -R u+w,go+r-w,a-s . mkdir -p $PKG/lib/modules/$KERNEL/misc -for i in vboxadd vboxvfs; do +for i in vboxguest vboxvfs vboxvideo; do cd $i make KERN_DIR=$KERNELPATH install -m 0644 $i.ko $PKG/lib/modules/$KERNEL/misc/ @@ -68,4 +71,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc sed "s%@KERNEL@%$KERNEL%" $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKG_VERS-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKG_VERS-$PKG_ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/system/virtualbox-kernel-addons/virtualbox-kernel-addons.info b/system/virtualbox-kernel-addons/virtualbox-kernel-addons.info index 150d95dcce49..31b2c246f1d7 100644 --- a/system/virtualbox-kernel-addons/virtualbox-kernel-addons.info +++ b/system/virtualbox-kernel-addons/virtualbox-kernel-addons.info @@ -1,8 +1,10 @@ PRGNAM="virtualbox-kernel-addons" -VERSION="2.1.4" +VERSION="3.1.2" HOMEPAGE="http://www.virtualbox.org" -DOWNLOAD="http://slackbuilds.org/sources/12.2/virtualbox-kernel-addons-2.1.4.tar.bz2" -MD5SUM="237c3460d1a00e96b166f8584b5b1f27" -MAINTAINER="ppr:kut" +DOWNLOAD="http://slackbuilds.org/sources/13.0/virtualbox-kernel-addons-3.1.2.tar.xz" +MD5SUM="7a1a336c85532e6c67cb468068d62008" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Heinz Wiesinger" EMAIL="pprkut@liwjatan.at" APPROVED="rworkman" |