aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/virtualbox-addons/LocalConfig.kmk3
-rw-r--r--system/virtualbox-addons/vbox-uninstall-guest-additions10
-rw-r--r--system/virtualbox-addons/virtualbox-addons.SlackBuild6
-rw-r--r--system/virtualbox-addons/virtualbox-addons.info6
4 files changed, 20 insertions, 5 deletions
diff --git a/system/virtualbox-addons/LocalConfig.kmk b/system/virtualbox-addons/LocalConfig.kmk
index 2051b447551de..3a2f6880d3f21 100644
--- a/system/virtualbox-addons/LocalConfig.kmk
+++ b/system/virtualbox-addons/LocalConfig.kmk
@@ -8,3 +8,6 @@ KBUILD_MSG_STYLE := brief
VBOX_OSE := 1
VBOX_WITH_PAM =
+
+# do not fail on warning
+VBOX_WITH_WARNINGS_AS_ERRORS :=
diff --git a/system/virtualbox-addons/vbox-uninstall-guest-additions b/system/virtualbox-addons/vbox-uninstall-guest-additions
new file mode 100644
index 0000000000000..afa4e98ccdc71
--- /dev/null
+++ b/system/virtualbox-addons/vbox-uninstall-guest-additions
@@ -0,0 +1,10 @@
+#!/bin/sh
+# This executable provides a well-known way to uninstall VirtualBox Guest
+# Additions in order to re-install them from a different source. A common case
+# is uninstalling distribution-provide Additions to install the version provided
+# by VirtualBox. Distributions should put the right command in here to do the
+# removal, e.g. "dnf remove VirtualBox-guest-additions". Leaving kernel modules
+# provided by the distribution kernel package in place is acceptable if the
+# location does not clash with the VirtualBox-provided module location (misc).
+
+/sbin/removepkg virtualbox-addons virtualbox-kernel-addons
diff --git a/system/virtualbox-addons/virtualbox-addons.SlackBuild b/system/virtualbox-addons/virtualbox-addons.SlackBuild
index 6720dfb9412b2..063fa718445d3 100644
--- a/system/virtualbox-addons/virtualbox-addons.SlackBuild
+++ b/system/virtualbox-addons/virtualbox-addons.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for virtualbox-addons
-# Copyright 2008-2016 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2008-2017 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=virtualbox-addons
SRCNAM=VirtualBox
-VERSION=${VERSION:-5.0.30}
+VERSION=${VERSION:-5.0.40}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -146,6 +146,8 @@ cd out/linux.$TARGET/release/bin/additions
install -m 644 VBoxOGLpassthroughspu.so $PKG/usr/lib$LIBDIRSUFFIX
install -m 644 VBoxOGL.so $PKG/usr/lib$LIBDIRSUFFIX
+ install -m 755 $CWD/vbox-uninstall-guest-additions $PKG/usr/sbin/
+
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/xorg/modules/dri
ln -s /usr/lib$LIBDIRSUFFIX/VBoxOGL.so \
$PKG/usr/lib$LIBDIRSUFFIX/xorg/modules/dri/vboxvideo_dri.so
diff --git a/system/virtualbox-addons/virtualbox-addons.info b/system/virtualbox-addons/virtualbox-addons.info
index 0e481970265ce..bf313e7e8def5 100644
--- a/system/virtualbox-addons/virtualbox-addons.info
+++ b/system/virtualbox-addons/virtualbox-addons.info
@@ -1,8 +1,8 @@
PRGNAM="virtualbox-addons"
-VERSION="5.0.30"
+VERSION="5.0.40"
HOMEPAGE="https://www.virtualbox.org"
-DOWNLOAD="http://download.virtualbox.org/virtualbox/5.0.30/VirtualBox-5.0.30.tar.bz2"
-MD5SUM="9ba8ff724dadfb7327dc4c6401afb7a8"
+DOWNLOAD="http://download.virtualbox.org/virtualbox/5.0.40/VirtualBox-5.0.40.tar.bz2"
+MD5SUM="53b259e48a137b0185c169590e2dcb77"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""