summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Heinz Wiesinger2022-07-03 15:47:08 +0200
committer Willy Sudiarto Raharjo2022-07-09 05:06:21 +0200
commit39a47007383ae4c3a8b9ba92006298e5157c4c3b (patch)
tree27a05fc054f3f811ac84a991f11e8255c65a4aa5
parentf03433e18cb39913a9451d9d202c185a6485d1de (diff)
downloadslackbuilds-39a47007383ae4c3a8b9ba92006298e5157c4c3b.tar.gz
system/virtualbox-kernel: Updated for version 6.1.34
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/virtualbox-kernel/virtualbox-kernel.SlackBuild7
-rw-r--r--system/virtualbox-kernel/virtualbox-kernel.info6
2 files changed, 9 insertions, 4 deletions
diff --git a/system/virtualbox-kernel/virtualbox-kernel.SlackBuild b/system/virtualbox-kernel/virtualbox-kernel.SlackBuild
index acd6cba0ea..62547db5cb 100644
--- a/system/virtualbox-kernel/virtualbox-kernel.SlackBuild
+++ b/system/virtualbox-kernel/virtualbox-kernel.SlackBuild
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=virtualbox-kernel
-VERSION=${VERSION:-6.1.32}
+VERSION=${VERSION:-6.1.34}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -75,6 +75,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Fix compatibility with 5.18.x
+sed -i "s|netif_rx_ni|netif_rx|g" vboxnetflt/linux/VBoxNetFlt-linux.c
+
make KERN_DIR=${KERNELPATH}
mkdir -p $PKG/lib/modules/$KERNEL/misc
@@ -82,6 +85,8 @@ 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/
+find $PKG -name "*.ko" -exec strip --strip-debug "{}" \;
+
mkdir -p $PKG/usr/doc/$PRGNAM-$PKG_VERS
cat $CWD/COPYING > $PKG/usr/doc/$PRGNAM-$PKG_VERS/COPYING
cat $CWD/COPYING.CDDL > $PKG/usr/doc/$PRGNAM-$PKG_VERS/COPYING.CDDL
diff --git a/system/virtualbox-kernel/virtualbox-kernel.info b/system/virtualbox-kernel/virtualbox-kernel.info
index 83a66ef84a..de0a482cdb 100644
--- a/system/virtualbox-kernel/virtualbox-kernel.info
+++ b/system/virtualbox-kernel/virtualbox-kernel.info
@@ -1,10 +1,10 @@
PRGNAM="virtualbox-kernel"
-VERSION="6.1.32"
+VERSION="6.1.34"
HOMEPAGE="https://www.virtualbox.org"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://sources.liwjatan.org/virtualbox-kernel/virtualbox-kernel-6.1.32.tar.xz"
-MD5SUM_x86_64="03bd7cd5a647f7798972691e2336c729"
+DOWNLOAD_x86_64="https://sources.liwjatan.org/virtualbox-kernel/virtualbox-kernel-6.1.34.tar.xz"
+MD5SUM_x86_64="d0df15115a163ec658497c537a792350"
REQUIRES=""
MAINTAINER="Heinz Wiesinger"
EMAIL="pprkut@slackbuilds.org"