From 7cee74805454e90cc7c68f0b4d7e3044cde6bc1c13efcb6cf03e52150df2269b Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Tue, 3 Jul 2018 01:22:43 +0000 Subject: [PATCH] - Version update to 5.2.14 (released July 02 2018 by Oracle) This is a maintenance release. The following items were fixed and/or added: User interface: fixed a segmentation fault when accessing the interface through VNC (bug #16348) User interface: X11: handle repeating keys on the host system correctly (bug #1296, previously fixed, 5.1.0 regression) VMM: Fixed emulation of the undocumented SALC instruction VMM: Fixed emulation of so-called "huge unreal mode" (bug #17744); this in practice only affected Intel CPUs with VT-x without unrestricted execution. Keyboard: The PS/2 keyboard emulation has been corrected to not queue partial scan code sequences (bug #17709); this problem was likely only visible on Linux hosts due to losing the fix for bug #1296 Storage: Fixed CUE file support to correct REM keyword parsing (bug #17783) USB: Fixed a problem where the emulated xHCI device under very rare circumstances failed to report an empty isochronous transfer ring error, causing the transfers on the corresponding endpoint to stop. Audio: fixed Linux kernel log flooding (bug #17759) Apple hosts: make kernel driver load with Mac OS Mojave pre-release (bug #17805). Linux guests: made vboxvideo driver build with kernel 4.17 (bug #17801) and with pre-3.14 and EL 7.1 kernels (bug #17771) Removed "fixes_for_4.17.patch" - fixes merged upstream. OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=437 --- UserManual.pdf | 4 +- VirtualBox-5.2.12-patched.tar.bz2 | 3 -- VirtualBox-5.2.14-patched.tar.bz2 | 3 ++ fixes_for_4.17.patch | 56 ------------------------ fixes_for_Qt5.11.patch | 16 +++---- vbox-vboxadd-init-script.diff | 72 ++++++++++++++----------------- vbox-vboxdrv-init-script.diff | 38 ++++++++++------ virtualbox-sed-params.patch | 18 ++++---- virtualbox.changes | 20 +++++++++ virtualbox.spec | 5 +-- 10 files changed, 100 insertions(+), 135 deletions(-) delete mode 100644 VirtualBox-5.2.12-patched.tar.bz2 create mode 100644 VirtualBox-5.2.14-patched.tar.bz2 delete mode 100644 fixes_for_4.17.patch diff --git a/UserManual.pdf b/UserManual.pdf index cb9c77c..bbdece8 100644 --- a/UserManual.pdf +++ b/UserManual.pdf @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:60867bb1ccbf0acfc83c717061815da22f2bea316c23f40e2193b557dd887d54 -size 4440198 +oid sha256:6b7c3072c6cec2491c4465b8463a1c0266a5a2c65c62181e76f9f244f4450b70 +size 4441987 diff --git a/VirtualBox-5.2.12-patched.tar.bz2 b/VirtualBox-5.2.12-patched.tar.bz2 deleted file mode 100644 index ca20cca..0000000 --- a/VirtualBox-5.2.12-patched.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d960a40bb60635a9a00742fab7cafbd58b0281bc9109f8474fc317755faf78f9 -size 83428187 diff --git a/VirtualBox-5.2.14-patched.tar.bz2 b/VirtualBox-5.2.14-patched.tar.bz2 new file mode 100644 index 0000000..03dddab --- /dev/null +++ b/VirtualBox-5.2.14-patched.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fcc07cd3cf1b881964de18b45ac059d4eed3ee13eac6f28cb39f130f180a7f3b +size 83307632 diff --git a/fixes_for_4.17.patch b/fixes_for_4.17.patch deleted file mode 100644 index 33943b7..0000000 --- a/fixes_for_4.17.patch +++ /dev/null @@ -1,56 +0,0 @@ -In kernel 4.17, pci_get_bus_and_slot() has been removed in favor of -pci_get_domain_bus_and_slot(). It appears that VirtualBox only uses -domain number 0, thus pci_get_domain_bus_and_slot(0, bus, devfn) -is a suitable replacement for pci_get_bus_and_slot(bus, devfn). - -The resulting code compiles; however, I do not use PCI passthru, which -I think means that I have not actually tested the code. - -This patch released under a combined MIT/GPLv2 license. - -Signed-off-by: Larry Finger - -Index: VirtualBox-5.2.12/src/VBox/Additions/linux/drm/vbox_ttm.c -=================================================================== ---- VirtualBox-5.2.12.orig/src/VBox/Additions/linux/drm/vbox_ttm.c -+++ VirtualBox-5.2.12/src/VBox/Additions/linux/drm/vbox_ttm.c -@@ -208,10 +208,15 @@ static struct ttm_backend_func vbox_tt_b - .destroy = &vbox_ttm_backend_destroy, - }; - -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 17, 0) -+static struct ttm_tt *vbox_ttm_tt_create(struct ttm_buffer_object *bo, -+ u32 page_flags) -+#else - static struct ttm_tt *vbox_ttm_tt_create(struct ttm_bo_device *bdev, - unsigned long size, - u32 page_flags, - struct page *dummy_read_page) -+#endif - { - struct ttm_tt *tt; - -@@ -220,7 +225,11 @@ static struct ttm_tt *vbox_ttm_tt_create - return NULL; - - tt->func = &vbox_tt_backend_func; -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 17, 0) -+ if (ttm_tt_init(tt, bo, page_flags)) { -+#else - if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) { -+#endif - kfree(tt); - return NULL; - } -@@ -401,7 +410,11 @@ int vbox_bo_create(struct drm_device *de - - ret = ttm_bo_init(&vbox->ttm.bdev, &vboxbo->bo, size, - ttm_bo_type_device, &vboxbo->placement, -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 17, 0) -+ align >> PAGE_SHIFT, false, acc_size, -+#else - align >> PAGE_SHIFT, false, NULL, acc_size, -+#endif - #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0) || defined(RHEL_73) - NULL, - #endif diff --git a/fixes_for_Qt5.11.patch b/fixes_for_Qt5.11.patch index 2e4a629..0977285 100644 --- a/fixes_for_Qt5.11.patch +++ b/fixes_for_Qt5.11.patch @@ -1,7 +1,7 @@ -Index: VirtualBox-5.2.12/src/VBox/Frontends/VirtualBox/src/precomp_vcc.h +Index: VirtualBox-5.2.14/src/VBox/Frontends/VirtualBox/src/precomp_vcc.h =================================================================== ---- VirtualBox-5.2.12.orig/src/VBox/Frontends/VirtualBox/src/precomp_vcc.h -+++ VirtualBox-5.2.12/src/VBox/Frontends/VirtualBox/src/precomp_vcc.h +--- VirtualBox-5.2.14.orig/src/VBox/Frontends/VirtualBox/src/precomp_vcc.h ++++ VirtualBox-5.2.14/src/VBox/Frontends/VirtualBox/src/precomp_vcc.h @@ -83,6 +83,7 @@ #include #include @@ -10,13 +10,13 @@ Index: VirtualBox-5.2.12/src/VBox/Frontends/VirtualBox/src/precomp_vcc.h #include #include #include -Index: VirtualBox-5.2.12/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsProxy.cpp +Index: VirtualBox-5.2.14/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsProxy.cpp =================================================================== ---- VirtualBox-5.2.12.orig/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsProxy.cpp -+++ VirtualBox-5.2.12/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsProxy.cpp -@@ -21,6 +21,7 @@ - +--- VirtualBox-5.2.14.orig/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsProxy.cpp ++++ VirtualBox-5.2.14/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsProxy.cpp +@@ -22,6 +22,7 @@ /* Qt includes: */ + # include # include +#include diff --git a/vbox-vboxadd-init-script.diff b/vbox-vboxadd-init-script.diff index 99f10e7..86aed93 100644 --- a/vbox-vboxadd-init-script.diff +++ b/vbox-vboxadd-init-script.diff @@ -1,7 +1,7 @@ -Index: VirtualBox-5.2.8/src/VBox/Additions/linux/installer/vboxadd.sh +Index: VirtualBox-5.2.14/src/VBox/Additions/linux/installer/vboxadd.sh =================================================================== ---- VirtualBox-5.2.8.orig/src/VBox/Additions/linux/installer/vboxadd.sh -+++ VirtualBox-5.2.8/src/VBox/Additions/linux/installer/vboxadd.sh +--- VirtualBox-5.2.14.orig/src/VBox/Additions/linux/installer/vboxadd.sh ++++ VirtualBox-5.2.14/src/VBox/Additions/linux/installer/vboxadd.sh @@ -26,11 +26,14 @@ # Provides: vboxadd # Required-Start: @@ -18,7 +18,7 @@ Index: VirtualBox-5.2.8/src/VBox/Additions/linux/installer/vboxadd.sh ### END INIT INFO ## @todo This file duplicates a lot of script with vboxdrv.sh. When making -@@ -130,18 +133,9 @@ log() +@@ -138,18 +141,9 @@ module_build_log() dev=/dev/vboxguest userdev=/dev/vboxuser @@ -37,7 +37,7 @@ Index: VirtualBox-5.2.8/src/VBox/Additions/linux/installer/vboxadd.sh running_vboxguest() { lsmod | grep -q "vboxguest[^_-]" -@@ -184,12 +178,6 @@ do_vboxguest_non_udev() +@@ -192,12 +186,6 @@ do_vboxguest_non_udev() fail "Cannot create device $dev with major $maj and minor $min" } fi @@ -50,7 +50,7 @@ Index: VirtualBox-5.2.8/src/VBox/Additions/linux/installer/vboxadd.sh if [ ! -c $userdev ]; then maj=10 -@@ -200,12 +188,6 @@ do_vboxguest_non_udev() +@@ -208,12 +196,6 @@ do_vboxguest_non_udev() rmmod vboxguest 2>/dev/null fail "Cannot create device $userdev with major $maj and minor $min" } @@ -63,7 +63,7 @@ Index: VirtualBox-5.2.8/src/VBox/Additions/linux/installer/vboxadd.sh fi fi } -@@ -215,9 +197,8 @@ start() +@@ -223,9 +205,8 @@ start() begin "Starting." # If we got this far assume that the slow set-up has been done. QUICKSETUP=yes @@ -75,7 +75,7 @@ Index: VirtualBox-5.2.8/src/VBox/Additions/linux/installer/vboxadd.sh no_udev=1 running_vboxguest || { rm -f $dev || { -@@ -230,7 +211,7 @@ start() +@@ -238,7 +219,7 @@ start() $MODPROBE vboxguest >/dev/null 2>&1 || { setup @@ -84,15 +84,7 @@ Index: VirtualBox-5.2.8/src/VBox/Additions/linux/installer/vboxadd.sh fail "modprobe vboxguest failed" } case "$no_udev" in 1) -@@ -253,14 +234,15 @@ start() - fi # INSTALL_NO_MODULE_BUILDS - - # Put the X.Org driver in place. This is harmless if it is not needed. -- "${INSTALL_DIR}/init/vboxadd-x11" setup 2>> "${LOG}" -+ #/sbin/rcvboxadd-x11 setup - # Install the guest OpenGL drivers. For now we don't support - # multi-architecture installations - rm -f /etc/ld.so.conf.d/00vboxvideo.conf +@@ -269,7 +250,8 @@ start() rm -Rf /var/lib/VBoxGuestAdditions/lib if /usr/bin/VBoxClient --check3d 2>/dev/null; then mkdir -p /var/lib/VBoxGuestAdditions/lib @@ -102,7 +94,7 @@ Index: VirtualBox-5.2.8/src/VBox/Additions/linux/installer/vboxadd.sh # SELinux for the OpenGL libraries, so that gdm can load them during the # acceleration support check. This prevents an "Oh no, something has gone # wrong!" error when starting EL7 guests. -@@ -271,6 +253,15 @@ start() +@@ -280,6 +262,15 @@ start() chcon -h -t lib_t "/var/lib/VBoxGuestAdditions/lib/libGL.so.1" fi echo "/var/lib/VBoxGuestAdditions/lib" > /etc/ld.so.conf.d/00vboxvideo.conf @@ -118,7 +110,7 @@ Index: VirtualBox-5.2.8/src/VBox/Additions/linux/installer/vboxadd.sh fi ldconfig -@@ -403,9 +394,9 @@ create_udev_rule() +@@ -414,9 +405,9 @@ create_udev_rule() echo "KERNEL=${udev_fix}\"vboxuser\", NAME=\"vboxuser\", OWNER=\"vboxadd\", MODE=\"0666\"" >> /etc/udev/rules.d/60-vboxadd.rules fi } @@ -131,7 +123,7 @@ Index: VirtualBox-5.2.8/src/VBox/Additions/linux/installer/vboxadd.sh # And a post-installation script for rebuilding modules when a new kernel # is installed. mkdir -p /etc/kernel/postinst.d /etc/kernel/prerm.d -@@ -435,45 +426,21 @@ shared_folder_setup() +@@ -446,45 +437,21 @@ shared_folder_setup() ## @todo It would be nicer if the kernel module just parsed parameters # itself instead of needing a separate binary to do that. ln -sf "${INSTALL_DIR}/other/mount.vboxsf" /sbin @@ -182,11 +174,11 @@ Index: VirtualBox-5.2.8/src/VBox/Additions/linux/installer/vboxadd.sh depmod # Remove old module sources -@@ -483,13 +450,14 @@ cleanup() +@@ -494,13 +461,14 @@ cleanup() fi # Clean-up X11-related bits -- "${INSTALL_DIR}/init/vboxadd-x11" cleanup 2>> "${LOG}" +- "${INSTALL_DIR}/init/vboxadd-x11" cleanup + #/sbin/rcvboxadd-x11 cleanup # Remove other files @@ -201,10 +193,10 @@ Index: VirtualBox-5.2.8/src/VBox/Additions/linux/installer/vboxadd.sh fi rm /etc/udev/rules.d/60-vboxadd.rules 2>/dev/null } -Index: VirtualBox-5.2.8/src/VBox/Additions/linux/installer/vboxadd-service.sh +Index: VirtualBox-5.2.14/src/VBox/Additions/linux/installer/vboxadd-service.sh =================================================================== ---- VirtualBox-5.2.8.orig/src/VBox/Additions/linux/installer/vboxadd-service.sh -+++ VirtualBox-5.2.8/src/VBox/Additions/linux/installer/vboxadd-service.sh +--- VirtualBox-5.2.14.orig/src/VBox/Additions/linux/installer/vboxadd-service.sh ++++ VirtualBox-5.2.14/src/VBox/Additions/linux/installer/vboxadd-service.sh @@ -26,7 +26,7 @@ # Provides: vboxadd-service # Required-Start: vboxadd @@ -214,10 +206,10 @@ Index: VirtualBox-5.2.8/src/VBox/Additions/linux/installer/vboxadd-service.sh # Default-Stop: 0 1 6 # X-Conflicts-With: systemd-timesyncd.service # Description: VirtualBox Additions Service -Index: VirtualBox-5.2.8/src/VBox/Installer/linux/vboxautostart-service.sh +Index: VirtualBox-5.2.14/src/VBox/Installer/linux/vboxautostart-service.sh =================================================================== ---- VirtualBox-5.2.8.orig/src/VBox/Installer/linux/vboxautostart-service.sh -+++ VirtualBox-5.2.8/src/VBox/Installer/linux/vboxautostart-service.sh +--- VirtualBox-5.2.14.orig/src/VBox/Installer/linux/vboxautostart-service.sh ++++ VirtualBox-5.2.14/src/VBox/Installer/linux/vboxautostart-service.sh @@ -23,7 +23,7 @@ # Provides: vboxautostart-service # Required-Start: vboxdrv @@ -227,10 +219,10 @@ Index: VirtualBox-5.2.8/src/VBox/Installer/linux/vboxautostart-service.sh # Default-Stop: 0 1 6 # Description: VirtualBox autostart service ### END INIT INFO -Index: VirtualBox-5.2.8/src/VBox/Installer/linux/vboxballoonctrl-service.sh +Index: VirtualBox-5.2.14/src/VBox/Installer/linux/vboxballoonctrl-service.sh =================================================================== ---- VirtualBox-5.2.8.orig/src/VBox/Installer/linux/vboxballoonctrl-service.sh -+++ VirtualBox-5.2.8/src/VBox/Installer/linux/vboxballoonctrl-service.sh +--- VirtualBox-5.2.14.orig/src/VBox/Installer/linux/vboxballoonctrl-service.sh ++++ VirtualBox-5.2.14/src/VBox/Installer/linux/vboxballoonctrl-service.sh @@ -23,7 +23,7 @@ # Provides: vboxballoonctrl-service # Required-Start: vboxdrv @@ -240,10 +232,10 @@ Index: VirtualBox-5.2.8/src/VBox/Installer/linux/vboxballoonctrl-service.sh # Default-Stop: 0 1 6 # Description: VirtualBox watchdog daemon ### END INIT INFO -Index: VirtualBox-5.2.8/src/VBox/ValidationKit/testboxscript/linux/testboxscript-service.sh +Index: VirtualBox-5.2.14/src/VBox/ValidationKit/testboxscript/linux/testboxscript-service.sh =================================================================== ---- VirtualBox-5.2.8.orig/src/VBox/ValidationKit/testboxscript/linux/testboxscript-service.sh -+++ VirtualBox-5.2.8/src/VBox/ValidationKit/testboxscript/linux/testboxscript-service.sh +--- VirtualBox-5.2.14.orig/src/VBox/ValidationKit/testboxscript/linux/testboxscript-service.sh ++++ VirtualBox-5.2.14/src/VBox/ValidationKit/testboxscript/linux/testboxscript-service.sh @@ -31,7 +31,7 @@ # Provides: testboxscript-service # Required-Start: $network @@ -253,10 +245,10 @@ Index: VirtualBox-5.2.8/src/VBox/ValidationKit/testboxscript/linux/testboxscript # Default-Stop: 0 1 6 # Description: TestBoxScript service ### END INIT INFO -Index: VirtualBox-5.2.8/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs-nat.sh +Index: VirtualBox-5.2.14/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs-nat.sh =================================================================== ---- VirtualBox-5.2.8.orig/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs-nat.sh -+++ VirtualBox-5.2.8/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs-nat.sh +--- VirtualBox-5.2.14.orig/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs-nat.sh ++++ VirtualBox-5.2.14/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs-nat.sh @@ -31,7 +31,7 @@ # Provides: vboxtxs # Required-Start: $network @@ -266,10 +258,10 @@ Index: VirtualBox-5.2.8/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs- # Default-Stop: 0 1 6 # Description: VirtualBox Test Execution Service ### END INIT INFO -Index: VirtualBox-5.2.8/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs.sh +Index: VirtualBox-5.2.14/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs.sh =================================================================== ---- VirtualBox-5.2.8.orig/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs.sh -+++ VirtualBox-5.2.8/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs.sh +--- VirtualBox-5.2.14.orig/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs.sh ++++ VirtualBox-5.2.14/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs.sh @@ -31,7 +31,7 @@ # Provides: vboxtxs # Required-Start: $network diff --git a/vbox-vboxdrv-init-script.diff b/vbox-vboxdrv-init-script.diff index 42d8a4e..5a3f4e0 100644 --- a/vbox-vboxdrv-init-script.diff +++ b/vbox-vboxdrv-init-script.diff @@ -1,7 +1,7 @@ -Index: VirtualBox-5.2.0/src/VBox/Installer/linux/vboxdrv.sh +Index: VirtualBox-5.2.14/src/VBox/Installer/linux/vboxdrv.sh =================================================================== ---- VirtualBox-5.2.0.orig/src/VBox/Installer/linux/vboxdrv.sh -+++ VirtualBox-5.2.0/src/VBox/Installer/linux/vboxdrv.sh +--- VirtualBox-5.2.14.orig/src/VBox/Installer/linux/vboxdrv.sh ++++ VirtualBox-5.2.14/src/VBox/Installer/linux/vboxdrv.sh @@ -19,11 +19,12 @@ # ### BEGIN INIT INFO @@ -19,7 +19,7 @@ Index: VirtualBox-5.2.0/src/VBox/Installer/linux/vboxdrv.sh ### END INIT INFO ## @todo This file duplicates a lot of script with vboxadd.sh. When making -@@ -261,13 +262,6 @@ start() +@@ -285,13 +286,6 @@ start() fi fi # ensure permissions @@ -33,34 +33,46 @@ Index: VirtualBox-5.2.0/src/VBox/Installer/linux/vboxdrv.sh if ! $MODPROBE vboxnetflt > /dev/null 2>&1; then failure "modprobe vboxnetflt failed. Please use 'dmesg' to find out why" fi -@@ -396,35 +390,8 @@ cleanup() +@@ -420,47 +414,8 @@ cleanup() # setup_script setup() { - begin_msg "Building VirtualBox kernel modules" console -- if ! $BUILDINTMP \ +- log "Building the main VirtualBox module." +- if ! myerr=`$BUILDINTMP \ - --save-module-symvers /tmp/vboxdrv-Module.symvers \ - --module-source "$MODULE_SRC/vboxdrv" \ -- --no-print-directory install >> $LOG 2>&1; then +- --no-print-directory install 2>&1`; then - "${INSTALL_DIR}/check_module_dependencies.sh" || exit 1 +- log "Error building the module:" +- module_build_log "$myerr" - failure "Look at $LOG to find out what went wrong" - fi -- if ! $BUILDINTMP \ +- log "Building the net filter module." +- if ! myerr=`$BUILDINTMP \ - --use-module-symvers /tmp/vboxdrv-Module.symvers \ - --module-source "$MODULE_SRC/vboxnetflt" \ -- --no-print-directory install >> $LOG 2>&1; then +- --no-print-directory install 2>&1`; then +- log "Error building the module:" +- module_build_log "$myerr" - failure "Look at $LOG to find out what went wrong" - fi -- if ! $BUILDINTMP \ +- log "Building the net adaptor module." +- if ! myerr=`$BUILDINTMP \ - --use-module-symvers /tmp/vboxdrv-Module.symvers \ - --module-source "$MODULE_SRC/vboxnetadp" \ -- --no-print-directory install >> $LOG 2>&1; then +- --no-print-directory install 2>&1`; then +- log "Error building the module:" +- module_build_log "$myerr" - failure "Look at $LOG to find out what went wrong" - fi -- if ! $BUILDINTMP \ +- log "Building the PCI pass-through module." +- if ! myerr=`$BUILDINTMP \ - --use-module-symvers /tmp/vboxdrv-Module.symvers \ - --module-source "$MODULE_SRC/vboxpci" \ -- --no-print-directory install >> $LOG 2>&1; then +- --no-print-directory install 2>&1`; then +- log "Error building the module:" +- module_build_log "$myerr" - failure "Look at $LOG to find out what went wrong" - fi - rm -f /etc/vbox/module_not_compiled diff --git a/virtualbox-sed-params.patch b/virtualbox-sed-params.patch index 97d8ee1..9730da3 100644 --- a/virtualbox-sed-params.patch +++ b/virtualbox-sed-params.patch @@ -1,8 +1,8 @@ -Index: VirtualBox-5.2.0/src/VBox/Main/Makefile.kmk +Index: VirtualBox-5.2.14/src/VBox/Main/Makefile.kmk =================================================================== ---- VirtualBox-5.2.0.orig/src/VBox/Main/Makefile.kmk -+++ VirtualBox-5.2.0/src/VBox/Main/Makefile.kmk -@@ -1521,7 +1521,7 @@ $(VBoxAPIWrap_0_OUTDIR)/VBoxAPI.d.ts \ +--- VirtualBox-5.2.14.orig/src/VBox/Main/Makefile.kmk ++++ VirtualBox-5.2.14/src/VBox/Main/Makefile.kmk +@@ -1523,7 +1523,7 @@ $(VBoxAPIWrap_0_OUTDIR)/VBoxAPI.d.ts \ $(QUIET)$(VBOX_XSLTPROC) --stringparam KBUILD_HOST $(KBUILD_HOST) \ --stringparam generating "dtrace-probes" \ -o "$@" $(VBoxAPIWrap_VBOX_XSLT) $(VBOX_XIDL_FILE) @@ -11,11 +11,11 @@ Index: VirtualBox-5.2.0/src/VBox/Main/Makefile.kmk "$(VBOX_PATH_MAIN_SRC)/src-all/VBoxAPI-start.d" \ "$@" \ "$(VBOX_PATH_MAIN_SRC)/src-all/VBoxAPI-end.d" -Index: VirtualBox-5.2.0/src/VBox/Devices/Makefile.kmk +Index: VirtualBox-5.2.14/src/VBox/Devices/Makefile.kmk =================================================================== ---- VirtualBox-5.2.0.orig/src/VBox/Devices/Makefile.kmk -+++ VirtualBox-5.2.0/src/VBox/Devices/Makefile.kmk -@@ -892,8 +892,7 @@ if !defined(VBOX_ONLY_EXTPACKS) +--- VirtualBox-5.2.14.orig/src/VBox/Devices/Makefile.kmk ++++ VirtualBox-5.2.14/src/VBox/Devices/Makefile.kmk +@@ -854,8 +854,7 @@ if !defined(VBOX_ONLY_EXTPACKS) $(call MSG_TOOL,iasl,VBoxDD,$<,$@) $(QUIET)$(RM) -f $@ $@.tmp $@.pre $(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -E -P -x c -o $@.pre $< @@ -24,4 +24,4 @@ Index: VirtualBox-5.2.0/src/VBox/Devices/Makefile.kmk + $(QUIET)$(SED) -e "s//\n/g" $@.pre > $@.pre1 $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ $@.pre1 $(QUIET)$(MV) -f $@ $@.tmp - $(QUIET)$(SED) -e "s/AmlCode/AmlCodeSsdtCpuHotPlug/g" \ + $(QUIET)$(SED) -e "s/AmlCode\|vboxssdt_cpuhotplug_aml_code/AmlCodeSsdtCpuHotPlug/g" \ diff --git a/virtualbox.changes b/virtualbox.changes index 21bdf0e..6b1bba9 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Tue Jul 3 01:17:37 UTC 2018 - Larry.Finger@gmail.com + +- Version update to 5.2.14 (released July 02 2018 by Oracle) + +This is a maintenance release. The following items were fixed and/or added: + +User interface: fixed a segmentation fault when accessing the interface through VNC (bug #16348) +User interface: X11: handle repeating keys on the host system correctly (bug #1296, previously fixed, 5.1.0 regression) +VMM: Fixed emulation of the undocumented SALC instruction +VMM: Fixed emulation of so-called "huge unreal mode" (bug #17744); this in practice only affected Intel CPUs with VT-x without unrestricted execution. +Keyboard: The PS/2 keyboard emulation has been corrected to not queue partial scan code sequences (bug #17709); this problem was likely only visible on Linux hosts due to losing the fix for bug #1296 +Storage: Fixed CUE file support to correct REM keyword parsing (bug #17783) +USB: Fixed a problem where the emulated xHCI device under very rare circumstances failed to report an empty isochronous transfer ring error, causing the transfers on the corresponding endpoint to stop. +Audio: fixed Linux kernel log flooding (bug #17759) +Apple hosts: make kernel driver load with Mac OS Mojave pre-release (bug #17805). +Linux guests: made vboxvideo driver build with kernel 4.17 (bug #17801) and with pre-3.14 and EL 7.1 kernels (bug #17771) + +Removed "fixes_for_4.17.patch" - fixes merged upstream. + ------------------------------------------------------------------- Tue Jun 26 15:11:29 UTC 2018 - Larry.Finger@gmail.com diff --git a/virtualbox.spec b/virtualbox.spec index 5fa1d97..42daff8 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -40,7 +40,7 @@ python3 -O -c "import sys, os, compileall; br='%{buildroot}'; compileall.compile %define _udevrulesdir %{_sysconfdir}/udev/rules.d Name: virtualbox # ********* If the VB version exceeds 5.2.x, notify the libvirt maintainer!! -Version: 5.2.12 +Version: 5.2.14 Release: 0 Summary: VirtualBox is an Emulator License: GPL-2.0-or-later @@ -127,8 +127,6 @@ Patch119: fixes_for_leap15.patch Patch120: fixes_for_python.patch # Remove vboxvideo from build Patch121: remove_vbox_video_build.patch -# Fix build for kernel 4.17 -Patch123: fixes_for_4.17.patch Patch124: gcc8-configure.patch # Fix build for Qt 5.11 Patch125: fixes_for_Qt5.11.patch @@ -432,7 +430,6 @@ as an "extpack" for VirtualBox. The implementation is licensed under GPL. %endif %patch120 -p1 %patch121 -p1 -%patch123 -p1 %patch124 -p1 %patch125 -p1 %patch126 -p1