diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2020-05-25 18:08:32 +0200 |
---|---|---|
committer | Matteo Bernardini <ponce@slackbuilds.org> | 2021-04-18 13:46:48 +0200 |
commit | e8e049b5d3d8f60f30d20b8f1d3c71583456eb3d (patch) | |
tree | 90fa3f824e2ed43c992c9d7b223c072752a0eddf /system | |
parent | a1c09f19febb42a50e7c3baf8b6be0cb9fe4e224 (diff) |
system/virtualbox-kernel: Updated for version 6.1.8.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/virtualbox-kernel/virtualbox-kernel.SlackBuild | 21 | ||||
-rw-r--r-- | system/virtualbox-kernel/virtualbox-kernel.info | 6 |
2 files changed, 6 insertions, 21 deletions
diff --git a/system/virtualbox-kernel/virtualbox-kernel.SlackBuild b/system/virtualbox-kernel/virtualbox-kernel.SlackBuild index d87968680206..cc023d9a1f05 100644 --- a/system/virtualbox-kernel/virtualbox-kernel.SlackBuild +++ b/system/virtualbox-kernel/virtualbox-kernel.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for virtualbox-kernel -# Copyright 2008-2019 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2008-2020 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,8 +25,8 @@ # Modified by SlackBuilds.org PRGNAM=virtualbox-kernel -VERSION=${VERSION:-5.0.40} -BUILD=${BUILD:-2} +VERSION=${VERSION:-6.1.8} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} KERNEL=${KERNEL:-$(uname -r)} @@ -70,27 +70,12 @@ if ! [ "${HARDENING:-yes}" = "yes" ]; then {vboxdrv,vboxnetadp,vboxnetflt,vboxpci}/Makefile fi -KERNEL_LOCALVERSION=$(zgrep "CONFIG_LOCALVERSION=" /proc/config.gz | cut -d '"' -f 2) -if [ -z "$KERNEL_LOCALVERSION" ]; then - KERNEL_MINOR=$(echo $KERNEL | cut -d "." -f 2) - KERNEL_PATCH=$(echo $KERNEL | cut -d "." -f 3) -else - KERNEL_MINOR=$(echo $KERNEL | sed "s|$KERNEL_LOCALVERSION||" | cut -d "." -f 2) - KERNEL_PATCH=$(echo $KERNEL | sed "s|$KERNEL_LOCALVERSION||" | cut -d "." -f 3) -fi - -# Work around API break introduced in kernel 4.4.168 -if [ "$KERNEL_MINOR" = 4 -a "$KERNEL_PATCH" -ge 168 ]; then - sed -i "s|KERNEL_VERSION(4, 9, 0)|KERNEL_VERSION(4, 4, 168)|" vboxdrv/r0drv/linux/memobj-r0drv-linux.c -fi - make KERN_DIR=${KERNELPATH} mkdir -p $PKG/lib/modules/$KERNEL/misc install -m 0644 vboxdrv.ko $PKG/lib/modules/$KERNEL/misc/ install -m 0644 vboxnetflt.ko $PKG/lib/modules/$KERNEL/misc/ install -m 0644 vboxnetadp.ko $PKG/lib/modules/$KERNEL/misc/ -install -m 0644 vboxpci.ko $PKG/lib/modules/$KERNEL/misc/ mkdir -p $PKG/usr/doc/$PRGNAM-$PKG_VERS cat $CWD/COPYING > $PKG/usr/doc/$PRGNAM-$PKG_VERS/COPYING diff --git a/system/virtualbox-kernel/virtualbox-kernel.info b/system/virtualbox-kernel/virtualbox-kernel.info index deded0026e61..e961923d2afd 100644 --- a/system/virtualbox-kernel/virtualbox-kernel.info +++ b/system/virtualbox-kernel/virtualbox-kernel.info @@ -1,8 +1,8 @@ PRGNAM="virtualbox-kernel" -VERSION="5.0.40" +VERSION="6.1.8" HOMEPAGE="https://www.virtualbox.org" -DOWNLOAD="http://www.liwjatan.at/files/src/virtualbox-kernel/virtualbox-kernel-5.0.40.tar.xz" -MD5SUM="475de2d0a915ce7c0c623ac50696bb79" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/virtualbox-kernel-6.1.8.tar.xz" +MD5SUM="5453b9a00b064229cc1295d3d9e5bde4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |