system/virtualbox-kernel-addons: Updated for version 3.1.2

This commit is contained in:
Heinz Wiesinger 2010-05-13 00:42:16 +02:00 committed by Robby Workman
parent 8d1d8aa9a5
commit c79e0b03e6
5 changed files with 27 additions and 19 deletions

View file

@ -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"

View file

@ -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:

View file

@ -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"

View file

@ -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}

View file

@ -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"