From a3af852450c7d3ce042f9fd9a3c6905c1bf602d9ddd2db441958efc2b6773e89 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Wed, 15 Aug 2018 17:12:44 +0000 Subject: [PATCH 1/3] -VirtualBox 5.2.18 (released August 14 2018) This is a maintenance release. The following items were fixed and/or added: VMM: See user manual. VMM: fix loading with recent binutils and self-built versions of VirtualBox (bug #17851) NAT: fix --nataliasmode sameports which is a valid setting (bug #13000) VRDP: fixed VM process termination on RDP client disconnect if 3D is enabled for the virtual machine OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=441 --- UserManual.pdf | 4 ++-- VirtualBox-5.2.16-patched.tar.bz2 | 3 --- VirtualBox-5.2.18-patched.tar.bz2 | 3 +++ virtualbox.changes | 12 ++++++++++++ virtualbox.spec | 2 +- 5 files changed, 18 insertions(+), 6 deletions(-) delete mode 100644 VirtualBox-5.2.16-patched.tar.bz2 create mode 100644 VirtualBox-5.2.18-patched.tar.bz2 diff --git a/UserManual.pdf b/UserManual.pdf index c84c8c0..961a097 100644 --- a/UserManual.pdf +++ b/UserManual.pdf @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:323dd5790a2d2e03a9ab8523332b3166084a8ffbe67dbeafa95bc500974b2a9e -size 4442634 +oid sha256:dcf37730537c761fbe96fb063015d8126055a635bc531cb2ecdfb56aa0f1913c +size 4454881 diff --git a/VirtualBox-5.2.16-patched.tar.bz2 b/VirtualBox-5.2.16-patched.tar.bz2 deleted file mode 100644 index 5512126..0000000 --- a/VirtualBox-5.2.16-patched.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:087e20460ea01c9d529cbcec2ea229c2c7b743a0d1b3b41ee55a607da46263ba -size 83360299 diff --git a/VirtualBox-5.2.18-patched.tar.bz2 b/VirtualBox-5.2.18-patched.tar.bz2 new file mode 100644 index 0000000..ba8e4be --- /dev/null +++ b/VirtualBox-5.2.18-patched.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:240cec92e7198d2f55f68943f8440567c5f416ad88d16008d26f796b0263a623 +size 83375805 diff --git a/virtualbox.changes b/virtualbox.changes index 948ab97..ae1a48a 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Aug 15 16:06:01 UTC 2018 - Larry.Finger@gmail.com + +-VirtualBox 5.2.18 (released August 14 2018) + +This is a maintenance release. The following items were fixed and/or added: + +VMM: See user manual. +VMM: fix loading with recent binutils and self-built versions of VirtualBox (bug #17851) +NAT: fix --nataliasmode sameports which is a valid setting (bug #13000) +VRDP: fixed VM process termination on RDP client disconnect if 3D is enabled for the virtual machine + ------------------------------------------------------------------- Sat Aug 4 14:48:02 UTC 2018 - Larry.Finger@gmail.com diff --git a/virtualbox.spec b/virtualbox.spec index 24edfe4..8a537af 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.16 +Version: 5.2.18 Release: 0 Summary: VirtualBox is an Emulator License: GPL-2.0-or-later From fbf48998d6efadd80df4f73beda024aac5d8ed0537bf712b656b720b5fe0f4d2 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Thu, 30 Aug 2018 15:11:52 +0000 Subject: [PATCH 2/3] - Fix builds for kernel 4.19-rc1. File "fixes_for_4.19.patch" is added. OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=442 --- fixes_for_4.19.patch | 16 ++++++++++++++++ virtualbox.changes | 5 +++++ virtualbox.spec | 3 +++ 3 files changed, 24 insertions(+) create mode 100644 fixes_for_4.19.patch diff --git a/fixes_for_4.19.patch b/fixes_for_4.19.patch new file mode 100644 index 0000000..3c47a0a --- /dev/null +++ b/fixes_for_4.19.patch @@ -0,0 +1,16 @@ +Index: VirtualBox-5.2.18/src/VBox/Additions/linux/drm/vbox_mode.c +=================================================================== +--- VirtualBox-5.2.18.orig/src/VBox/Additions/linux/drm/vbox_mode.c ++++ VirtualBox-5.2.18/src/VBox/Additions/linux/drm/vbox_mode.c +@@ -703,7 +703,11 @@ static int vbox_connector_init(struct dr + drm_connector_register(connector); + #endif + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0) ++ drm_connector_attach_encoder(connector, encoder); ++#else + drm_mode_connector_attach_encoder(connector, encoder); ++#endif + + return 0; + } diff --git a/virtualbox.changes b/virtualbox.changes index ae1a48a..5079f5b 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 30 15:11:17 UTC 2018 - Larry Finger + +- Fix builds for kernel 4.19-rc1. File "fixes_for_4.19.patch" is added. + ------------------------------------------------------------------- Wed Aug 15 16:06:01 UTC 2018 - Larry.Finger@gmail.com diff --git a/virtualbox.spec b/virtualbox.spec index 8a537af..c9fd420 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -134,6 +134,8 @@ Patch125: fixes_for_Qt5.11.patch Patch126: switch_to_python3.6.patch # Fix 32-bit builds Patch127: fix_32_bit_builds.patch +# Fix API changes for kernel 4.19+ +Patch128: fixes_for_4.19.patch # BuildRequires: LibVNCServer-devel BuildRequires: SDL-devel @@ -435,6 +437,7 @@ as an "extpack" for VirtualBox. The implementation is licensed under GPL. %patch125 -p1 %patch126 -p1 %patch127 -p1 +%patch128 -p1 #copy user manual cp %{SOURCE1} UserManual.pdf From 0947a127a542bae78cbe1fbf28a035342d6c868980b70b613e0bc3e59015decb Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Thu, 30 Aug 2018 16:55:18 +0000 Subject: [PATCH 3/3] - Fix 2 API changes for kernel 4.19-rc1. File "fixes_for_4.19.patch" is added. OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=443 --- fixes_for_4.19.patch | 14 +++++++++++++- virtualbox.changes | 4 ++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/fixes_for_4.19.patch b/fixes_for_4.19.patch index 3c47a0a..bc175dd 100644 --- a/fixes_for_4.19.patch +++ b/fixes_for_4.19.patch @@ -2,7 +2,19 @@ Index: VirtualBox-5.2.18/src/VBox/Additions/linux/drm/vbox_mode.c =================================================================== --- VirtualBox-5.2.18.orig/src/VBox/Additions/linux/drm/vbox_mode.c +++ VirtualBox-5.2.18/src/VBox/Additions/linux/drm/vbox_mode.c -@@ -703,7 +703,11 @@ static int vbox_connector_init(struct dr +@@ -536,7 +536,11 @@ static void vbox_set_edid(struct drm_con + for (i = 0; i < EDID_SIZE - 1; ++i) + sum += edid[i]; + edid[EDID_SIZE - 1] = (0x100 - (sum & 0xFF)) & 0xFF; ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0) ++ drm_connector_update_edid_property(connector, (struct edid *)edid); ++#else + drm_mode_connector_update_edid_property(connector, (struct edid *)edid); ++#endif + } + + static int vbox_get_modes(struct drm_connector *connector) +@@ -703,7 +707,11 @@ static int vbox_connector_init(struct dr drm_connector_register(connector); #endif diff --git a/virtualbox.changes b/virtualbox.changes index 5079f5b..e03294e 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- -Thu Aug 30 15:11:17 UTC 2018 - Larry Finger +Thu Aug 30 16:54:26 UTC 2018 - Larry Finger -- Fix builds for kernel 4.19-rc1. File "fixes_for_4.19.patch" is added. +- Fix 2 API changes for kernel 4.19-rc1. File "fixes_for_4.19.patch" is added. ------------------------------------------------------------------- Wed Aug 15 16:06:01 UTC 2018 - Larry.Finger@gmail.com