aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-12 17:46:15 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:46:15 +0200
commit696c0a54dd8b92223108bb205b023beb14e9aca1 (patch)
treeb0064370d2d1263a38f63ae8d857b8ef58380ad8 /system
parentdd0a17bd96dae232242cafc00c1df394b6b223d0 (diff)
system/virtualbox-kernel-addons: Updated for version 2.1.4
Diffstat (limited to 'system')
-rw-r--r--system/virtualbox-kernel-addons/README2
-rw-r--r--system/virtualbox-kernel-addons/doinst.sh2
-rw-r--r--system/virtualbox-kernel-addons/virtualbox-kernel-addons.SlackBuild16
-rw-r--r--system/virtualbox-kernel-addons/virtualbox-kernel-addons.info8
4 files changed, 14 insertions, 14 deletions
diff --git a/system/virtualbox-kernel-addons/README b/system/virtualbox-kernel-addons/README
index 58a5f3a32325..51e00a447daa 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.7 ./virtualbox-kernel.SlackBuild
+ KERNEL=2.6.27.15 ./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/doinst.sh b/system/virtualbox-kernel-addons/doinst.sh
index 22dbe825ead4..03d260b752d7 100644
--- a/system/virtualbox-kernel-addons/doinst.sh
+++ b/system/virtualbox-kernel-addons/doinst.sh
@@ -1 +1 @@
-chroot . /sbin/depmod -ae
+chroot . /sbin/depmod -ae @KERNEL@
diff --git a/system/virtualbox-kernel-addons/virtualbox-kernel-addons.SlackBuild b/system/virtualbox-kernel-addons/virtualbox-kernel-addons.SlackBuild
index 5db1f6d80b2a..fab84ef9e15e 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 Heinz Wiesinger <pprkut@liwjatan.at>
+# Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,14 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=virtualbox-kernel-addons
-VERSION=2.0.6
+VERSION=2.1.4
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-KERNELVERSION=${KERNELVERSION:-$(uname -r)}
-KERNELPATH=${KERNELPATH:-/lib/modules/$KERNELVERSION/build}
-PKG_VERS=${VERSION}_$(echo $KERNELVERSION | tr - _)
+KERNEL=${KERNEL:-$(uname -r)}
+KERNELPATH=${KERNELPATH:-/lib/modules/$KERNEL/build}
+PKG_VERS=${VERSION}_$(echo $KERNEL| tr - _)
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -48,12 +48,12 @@ cd $PRGNAM
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-mkdir -p $PKG/lib/modules/$KERNELVERSION/misc
+mkdir -p $PKG/lib/modules/$KERNEL/misc
for i in vboxadd vboxvfs; do
cd $i
make KERN_DIR=$KERNELPATH
- install -m 0644 $i.ko $PKG/lib/modules/$KERNELVERSION/misc/
+ install -m 0644 $i.ko $PKG/lib/modules/$KERNEL/misc/
cd -
done
@@ -65,7 +65,7 @@ chown -R root:root $PKG/usr/doc
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
+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
diff --git a/system/virtualbox-kernel-addons/virtualbox-kernel-addons.info b/system/virtualbox-kernel-addons/virtualbox-kernel-addons.info
index 9d8902984b74..150d95dcce49 100644
--- a/system/virtualbox-kernel-addons/virtualbox-kernel-addons.info
+++ b/system/virtualbox-kernel-addons/virtualbox-kernel-addons.info
@@ -1,8 +1,8 @@
PRGNAM="virtualbox-kernel-addons"
-VERSION="2.0.6"
+VERSION="2.1.4"
HOMEPAGE="http://www.virtualbox.org"
-DOWNLOAD="http://slackbuilds.org/sources/12.1/virtualbox-kernel-addons-2.0.6.tar.bz2"
-MD5SUM="21d7491f5cf19bd87320fa80e16903c0"
+DOWNLOAD="http://slackbuilds.org/sources/12.2/virtualbox-kernel-addons-2.1.4.tar.bz2"
+MD5SUM="237c3460d1a00e96b166f8584b5b1f27"
MAINTAINER="ppr:kut"
EMAIL="pprkut@liwjatan.at"
-APPROVED="dsomero"
+APPROVED="rworkman"