summaryrefslogtreecommitdiff
path: root/system/virtualbox-kernel
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2011-06-19 22:38:36 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-06-19 22:38:36 -0500
commit7140e0194dbfeb36d8ffcbd7f0edab2760ad73d4 (patch)
tree7d9afe9007c992c613112a04991e3ee996d7a427 /system/virtualbox-kernel
parent3313f5ee24fd63bda0a91aa8afb654834d5b4ed4 (diff)
downloadslackbuilds-7140e0194dbfeb36d8ffcbd7f0edab2760ad73d4.tar.gz
system/virtualbox-kernel: Updated for version 4.0.8.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/virtualbox-kernel')
-rw-r--r--system/virtualbox-kernel/README7
-rw-r--r--system/virtualbox-kernel/virtualbox-kernel.SlackBuild7
-rw-r--r--system/virtualbox-kernel/virtualbox-kernel.info6
3 files changed, 14 insertions, 6 deletions
diff --git a/system/virtualbox-kernel/README b/system/virtualbox-kernel/README
index ebb7a51ec1..bf8579d62e 100644
--- a/system/virtualbox-kernel/README
+++ b/system/virtualbox-kernel/README
@@ -1,9 +1,12 @@
-This is the suplementary kernel driver for the VirtualBox
+This is the supplementary kernel driver for the VirtualBox
virtualisation environment.
To build the package for a kernel different from the running one,
start the script setting the KERNEL variable as in
- KERNEL=2.6.29.6 ./virtualbox-kernel.SlackBuild
+ KERNEL=2.6.38.8 ./virtualbox-kernel.SlackBuild
+
+Note that if you have built virtualbox with HARDENING=no, then you
+have to do the same for virtualbox-kernel.
If you want to build a kernel module for an other virtualbox version
you can use the included "virtualbox-kernel-mksrctarball.sh" which will
diff --git a/system/virtualbox-kernel/virtualbox-kernel.SlackBuild b/system/virtualbox-kernel/virtualbox-kernel.SlackBuild
index 4986c9e36f..0f73f1d7fb 100644
--- a/system/virtualbox-kernel/virtualbox-kernel.SlackBuild
+++ b/system/virtualbox-kernel/virtualbox-kernel.SlackBuild
@@ -25,7 +25,7 @@
# Modified by SlackBuilds.org
PRGNAM=virtualbox-kernel
-VERSION=${VERSION:-4.0.4}
+VERSION=${VERSION:-4.0.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,6 +61,11 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+if ! [ "${HARDENING:-yes}" = "yes" ]; then
+ sed -i "s/ -DVBOX_WITH_HARDENING//g" \
+ {vboxdrv,vboxnetadp,vboxnetflt}/Makefile
+fi
+
make KERN_DIR=${KERNELPATH}
mkdir -p $PKG/lib/modules/$KERNEL/misc
diff --git a/system/virtualbox-kernel/virtualbox-kernel.info b/system/virtualbox-kernel/virtualbox-kernel.info
index bacaa14503..e680a828e4 100644
--- a/system/virtualbox-kernel/virtualbox-kernel.info
+++ b/system/virtualbox-kernel/virtualbox-kernel.info
@@ -1,8 +1,8 @@
PRGNAM="virtualbox-kernel"
-VERSION="4.0.4"
+VERSION="4.0.8"
HOMEPAGE="http://www.virtualbox.org"
-DOWNLOAD="http://www.liwjatan.at/files/src/virtualbox-kernel/virtualbox-kernel-4.0.4.tar.xz"
-MD5SUM="6bedb65e185a930c70eec58ed54691d1"
+DOWNLOAD="http://www.liwjatan.at/files/src/virtualbox-kernel/virtualbox-kernel-4.0.8.tar.xz"
+MD5SUM="5daaeff325185a4108970e7efc0d9d89"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Heinz Wiesinger"