summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2017-06-01 21:45:24 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-06 07:56:50 +0700
commitce5e6e592e42d0d90025cdba9fca319fcb314f8f (patch)
tree382e0c8fe5c5c7b89f53f0f81c5b7a1956dc517c
parentbd384996b24c8f62017fd7ad8c079a175d75af19 (diff)
downloadslackbuilds-ce5e6e592e42d0d90025cdba9fca319fcb314f8f.tar.gz
system/virtualbox-addons: Updated for version 5.0.40.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
-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 2051b44755..3a2f6880d3 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 0000000000..afa4e98ccd
--- /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 6720dfb941..063fa71844 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 0e48197026..bf313e7e8d 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=""