summaryrefslogtreecommitdiff
path: root/system/virtualbox-kernel
diff options
context:
space:
mode:
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"