virtualbox+guest: Update to new version 4.3.28.
Contains quite a lot of fixes, so for information and details about them, please have a look at https://www.virtualbox.org/wiki/Changelog. We also needed to drop the hunk about NATNetworkServiceRunner.cpp in the hardened.patch, because the file was unused and thus has been removed from upstream in r54821: https://www.virtualbox.org/changeset?reponame=vbox&new=54821 Tested successfully against nixos/tests/virtualbox.nix. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
946e7dca61
commit
1e517dbd45
@ -14,7 +14,7 @@ with stdenv.lib;
|
|||||||
let
|
let
|
||||||
buildType = "release";
|
buildType = "release";
|
||||||
|
|
||||||
version = "4.3.26"; # changes ./guest-additions as well
|
version = "4.3.28"; # changes ./guest-additions as well
|
||||||
|
|
||||||
forEachModule = action: ''
|
forEachModule = action: ''
|
||||||
for mod in \
|
for mod in \
|
||||||
@ -35,13 +35,13 @@ let
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
# See https://github.com/NixOS/nixpkgs/issues/672 for details
|
# See https://github.com/NixOS/nixpkgs/issues/672 for details
|
||||||
extpackRevision = "98988";
|
extpackRevision = "100309";
|
||||||
extensionPack = requireFile rec {
|
extensionPack = requireFile rec {
|
||||||
name = "Oracle_VM_VirtualBox_Extension_Pack-${version}-${extpackRevision}.vbox-extpack";
|
name = "Oracle_VM_VirtualBox_Extension_Pack-${version}-${extpackRevision}.vbox-extpack";
|
||||||
# IMPORTANT: Hash must be base16 encoded because it's used as an input to
|
# IMPORTANT: Hash must be base16 encoded because it's used as an input to
|
||||||
# VBoxExtPackHelperApp!
|
# VBoxExtPackHelperApp!
|
||||||
# Tip: see http://dlc.sun.com.edgesuite.net/virtualbox/4.3.10/SHA256SUMS
|
# Tip: see http://dlc.sun.com.edgesuite.net/virtualbox/4.3.10/SHA256SUMS
|
||||||
sha256 = "4e39a6d0da23799a31c3f6a4022b144ef3ddfe30c523e51b21bf7d9ebade62ce";
|
sha256 = "72e101d9dc5eabeb76d1ab5bd6d2f817a11c89adfe8bb72cc5d614a2eef532d1";
|
||||||
message = ''
|
message = ''
|
||||||
In order to use the extension pack, you need to comply with the VirtualBox Personal Use
|
In order to use the extension pack, you need to comply with the VirtualBox Personal Use
|
||||||
and Evaluation License (PUEL) by downloading the related binaries from:
|
and Evaluation License (PUEL) by downloading the related binaries from:
|
||||||
@ -60,7 +60,7 @@ in stdenv.mkDerivation {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.virtualbox.org/virtualbox/${version}/VirtualBox-${version}.tar.bz2";
|
url = "http://download.virtualbox.org/virtualbox/${version}/VirtualBox-${version}.tar.bz2";
|
||||||
sha256 = "e2949c250a1de30997e658de9e3d8545e71318a9844d80536137d76db4f08961";
|
sha256 = "e157ab76d1958ae2c56b2a3875194fbff3de82486ad0e30032fd5bd772297c31";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.virtualbox.org/virtualbox/${version}/VBoxGuestAdditions_${version}.iso";
|
url = "http://download.virtualbox.org/virtualbox/${version}/VBoxGuestAdditions_${version}.iso";
|
||||||
sha256 = "c5e46533a6ff8df177ed5c9098624f6cec46ca392bab16de2017195580088670";
|
sha256 = "9f52e186d6c9407b2676d4b2ed1cdf96940ec129cc2bd92e54b24526271a9733";
|
||||||
};
|
};
|
||||||
|
|
||||||
KERN_DIR = "${kernel.dev}/lib/modules/*/build";
|
KERN_DIR = "${kernel.dev}/lib/modules/*/build";
|
||||||
|
@ -100,19 +100,6 @@ index 95dc9a7..39170bc 100644
|
|||||||
size_t cchBufLeft = strlen(szPath);
|
size_t cchBufLeft = strlen(szPath);
|
||||||
szPath[cchBufLeft++] = RTPATH_DELIMITER;
|
szPath[cchBufLeft++] = RTPATH_DELIMITER;
|
||||||
szPath[cchBufLeft] = 0;
|
szPath[cchBufLeft] = 0;
|
||||||
diff --git a/src/VBox/Main/src-server/NATNetworkServiceRunner.cpp b/src/VBox/Main/src-server/NATNetworkServiceRunner.cpp
|
|
||||||
index 090018e..7dcfc7a 100644
|
|
||||||
--- a/src/VBox/Main/src-server/NATNetworkServiceRunner.cpp
|
|
||||||
+++ b/src/VBox/Main/src-server/NATNetworkServiceRunner.cpp
|
|
||||||
@@ -75,7 +75,7 @@ int NATNetworkServiceRunner::start()
|
|
||||||
|
|
||||||
/* get the path to the executable */
|
|
||||||
char exePathBuf[RTPATH_MAX];
|
|
||||||
- const char *exePath = RTProcGetExecutablePath(exePathBuf, RTPATH_MAX);
|
|
||||||
+ const char *exePath = RTProcGetSuidPath(exePathBuf, RTPATH_MAX);
|
|
||||||
char *substrSl = strrchr(exePathBuf, '/');
|
|
||||||
char *substrBs = strrchr(exePathBuf, '\\');
|
|
||||||
char *suffix = substrSl ? substrSl : substrBs;
|
|
||||||
diff --git a/src/VBox/Main/src-server/NetworkServiceRunner.cpp b/src/VBox/Main/src-server/NetworkServiceRunner.cpp
|
diff --git a/src/VBox/Main/src-server/NetworkServiceRunner.cpp b/src/VBox/Main/src-server/NetworkServiceRunner.cpp
|
||||||
index e9e1ba62..4d1c1e1 100644
|
index e9e1ba62..4d1c1e1 100644
|
||||||
--- a/src/VBox/Main/src-server/NetworkServiceRunner.cpp
|
--- a/src/VBox/Main/src-server/NetworkServiceRunner.cpp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user