system/virtualbox-kernel-addons: Updated for version 5.2.8.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Heinz Wiesinger 2019-03-16 09:06:31 +01:00 committed by Robby Workman
parent 14f2c05c47
commit d9bde60fd9
2 changed files with 21 additions and 7 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for virtualbox-kernel-addons
# Copyright 2008-2019 Heinz Wiesinger, Amsterdam, The Netherlands
# Copyright 2008-2018 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=virtualbox-kernel-addons
VERSION=${VERSION:-5.0.40}
BUILD=${BUILD:-2}
VERSION=${VERSION:-5.2.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
KERNEL=${KERNEL:-$(uname -r)}
@ -79,7 +79,21 @@ if [ "$KERNEL_MINOR" = 4 -a "$KERNEL_PATCH" -ge 168 ]; then
sed -i "s|KERNEL_VERSION(4, 9, 0)|KERNEL_VERSION(4, 4, 168)|" vboxguest/r0drv/linux/memobj-r0drv-linux.c
fi
for i in vboxguest vboxsf vboxvideo; do
MODULES=""
if ! [ -e /lib/modules/$KERNEL/kernel/drivers/staging/vboxvideo ]; then
MODULES="$MODULES vboxvideo"
fi
if ! [ -e /lib/modules/$KERNEL/kernel/virt/vboxguest ]; then
MODULES="$MODULES vboxguest"
fi
if ! [ -e /lib/modules/$KERNEL/kernel/fs/vboxsf ]; then
MODULES="$MODULES vboxsf"
fi
for i in $MODULES; do
cd $i
make KERN_DIR=$KERNELPATH
install -m 0644 $i.ko $PKG/lib/modules/$KERNEL/misc/

View File

@ -1,8 +1,8 @@
PRGNAM="virtualbox-kernel-addons"
VERSION="5.0.40"
VERSION="5.2.8"
HOMEPAGE="https://www.virtualbox.org"
DOWNLOAD="http://www.liwjatan.at/files/src/virtualbox-kernel-addons/virtualbox-kernel-addons-5.0.40.tar.xz"
MD5SUM="6146afd44b37c65bd7acc01e067b6e86"
DOWNLOAD="http://www.liwjatan.at/files/src/virtualbox-kernel-addons/virtualbox-kernel-addons-5.2.8.tar.xz"
MD5SUM="e4202f46e4adeb1da588a86fe51d58d5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""