summaryrefslogtreecommitdiffstats
path: root/system/virtualbox-kernel/virtualbox-kernel.SlackBuild
diff options
context:
space:
mode:
author Heinz Wiesinger2011-06-20 05:38:36 +0200
committer Robby Workman2011-06-20 05:38:36 +0200
commit7140e0194dbfeb36d8ffcbd7f0edab2760ad73d4 (patch)
tree7d9afe9007c992c613112a04991e3ee996d7a427 /system/virtualbox-kernel/virtualbox-kernel.SlackBuild
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/virtualbox-kernel.SlackBuild')
-rw-r--r--system/virtualbox-kernel/virtualbox-kernel.SlackBuild7
1 files changed, 6 insertions, 1 deletions
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