commit virtualbox for openSUSE:Factory

2020-09-21 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2020-09-21 17:11:52

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.4249 (New)


Package is "virtualbox"

Mon Sep 21 17:11:52 2020 rev:205 rq:835469 version:6.1.14

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2020-09-14 
12:04:50.679719421 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.4249/virtualbox.changes  
2020-09-21 17:15:57.755583335 +0200
@@ -1,0 +2,14 @@
+Fri Sep 18 16:36:31 UTC 2020 - Larry Finger 
+
+- %service_del_postun_without_restart is not yet available in Leap 15.{1,2} of 
SLE15_SP1.
+  For that reason, a workaround is added. 
+
+---
+Fri Sep 11 17:58:07 UTC 2020 - Franck Bui 
+
+- Make use of %service_del_postun_without_restart
+
+  And stop using DISABLE_RESTART_ON_UPDATE as this interface is
+  obsolete.
+
+---



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.sr6Y9K/_old  2020-09-21 17:16:00.815585696 +0200
+++ /var/tmp/diff_new_pack.sr6Y9K/_new  2020-09-21 17:16:00.819585700 +0200
@@ -543,7 +543,7 @@
 # fix build of vboxvideo kernel module: replace relative drm include path with 
absolute include path
 sed -i 's:include/drm:/usr/src/linux/include/drm:' 
src/VBox/Additions/linux/drm/Makefile.module.kms
 
-### %build, %install, and %file sections for virtualbox ###
+### %%build, %%install, and %%file sections for virtualbox ###
 %if %{main_package}
 %build
 # Disable LTO - Link Time Optimization
@@ -899,9 +899,14 @@
 %restart_on_update vboxdrv
 %restart_on_update vboxautostart
 # immediately restarting virtualbox may not work. As such wait for the next 
reboot to restart
+%if ! %{defined service_del_postun_without_restart}
 export DISABLE_RESTART_ON_UPDATE=yes
 %service_del_postun vboxautostart.service
 %service_del_postun vboxdrv.service
+%else
+%service_del_postun_without_restart vboxautostart.service
+%service_del_postun_without_restart vboxdrv.service
+%endif
 
 %postun guest-tools
 %restart_on_update vboxadd
@@ -990,7 +995,7 @@
 %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxSUIDMessage
 %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxUSB_DevRules
 %attr(0755,root,vboxusers) %{_vbox_instdir}/VirtualBox6
-%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VirtualBoxVM
+%verify(not mode) %attr(0750,root,vboxusers) %{_vbox_instdir}/VirtualBoxVM
 %verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxSDL
 %{_vbox_instdir}/VirtualBox
 #wrapper script is in bindir
@@ -1092,7 +1097,7 @@
 # main_package
 %endif
 
-### %build and %install sections of virtualbox-kmp ### 
+### %%build and %%install sections of virtualbox-kmp ### 
 %if %{kmp_package}
 %build
 # Disable LTO - Link Time Optimization





commit virtualbox for openSUSE:Factory

2020-09-14 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2020-09-14 12:03:17

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.4249 (New)


Package is "virtualbox"

Mon Sep 14 12:03:17 2020 rev:204 rq:833533 version:6.1.14

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2020-09-01 
20:04:34.940514237 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.4249/virtualbox.changes  
2020-09-14 12:04:50.679719421 +0200
@@ -1,0 +2,24 @@
+Thu Sep 10 16:12:11 UTC 2020 - Larry Finger 
+
+- Update to Oracle version 6.1.14a. This minor update enables the building of 
libvirt again.
+  File "fix_virtio_build.patch" is removed.
+
+---
+Tue Sep  8 02:20:35 UTC 2020 - Larry Finger 
+
+- Remove symbols that forced rebuild of initrd
+
+- Version update to 6.1.14 (released September 04 2020 by Oracle)
+  File "fix_virtio_build.patch" is added to fix a build problem.
+
+  This is a maintenance release. The following items were fixed and/or added:
+
+  GUI: Fixes file name changes in the File location field when creating 
Virtual Hard Disk (bug #19286)
+  VMM: Fixed running VMs which failed to start with 
VERR_NEM_MISSING_KERNEL_API_2 when Hyper-V is used (bug #19779 and #19804)
+  Audio: fix regression in HDA emulation introduced in 6.1.0
+  Shared Clipboard: Fixed a potential crash when copying HTML data (6.1.2 
regression; bug #19226)
+  Linux host and guest: Linux kernel version 5.8 support
+  EFI: Fixed reading ISO9660 filesystems on attached media (6.1.0 regression; 
bug #19682)
+  EFI: Support booting from drives attached to the LsiLogic SCSI and SAS 
controller emulations
+
+---

Old:

  VirtualBox-6.1.13-patched.tar.bz2

New:

  VirtualBox-6.1.14-patched.tar.bz2



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.WN1ZO1/_old  2020-09-14 12:04:55.295724166 +0200
+++ /var/tmp/diff_new_pack.WN1ZO1/_new  2020-09-14 12:04:55.299724170 +0200
@@ -66,7 +66,7 @@
 
 # * If the VB version exceeds 6.1.x, notify the libvirt maintainer!!
 Name:   virtualbox%{?dash}%{?name_suffix}
-Version:6.1.13
+Version:6.1.14
 Release:0
 Summary:%{package_summary}
 License:GPL-2.0-or-later
@@ -680,6 +680,7 @@
 install -m 755 VBoxSysInfo.sh  %{buildroot}%{_vbox_instdir}
 install -m 644 *.so%{buildroot}%{_vbox_instdir}
 install -m 644 *.r0%{buildroot}%{_vbox_instdir}
+rm components/VBoxREM.so
 install -m 644 components/*
%{buildroot}%{_vbox_instdir}/components/
 # install languages
 install -m 644 nls/*   
%{buildroot}%{_datadir}/virtualbox/nls/
@@ -1212,9 +1213,6 @@
 %install
 export INSTALL_MOD_PATH=%{buildroot}
 export INSTALL_MOD_DIR=extra
-#Keep the install process from calling mkinitrd. The VB kernel modules are not 
in initrd. bsc#1052428
-export INITRD_IN_POSTTRANS=1
-export KMP_NEEDS_MKINITRD=0
 #to install modules we use here similar steps like in build phase, go through 
all the modules :
 for module_name in vbox{drv,netflt,netadp,guest,sf,video}
 do

++ UserManual.pdf ++
(binary differes)

++ VirtualBox-6.1.13-patched.tar.bz2 -> VirtualBox-6.1.14-patched.tar.bz2 
++
/work/SRC/openSUSE:Factory/virtualbox/VirtualBox-6.1.13-patched.tar.bz2 
/work/SRC/openSUSE:Factory/.virtualbox.new.4249/VirtualBox-6.1.14-patched.tar.bz2
 differ: char 11, line 1

++ fix_lib_search.patch ++
--- /var/tmp/diff_new_pack.WN1ZO1/_old  2020-09-14 12:04:55.411724285 +0200
+++ /var/tmp/diff_new_pack.WN1ZO1/_new  2020-09-14 12:04:55.411724285 +0200
@@ -1,8 +1,8 @@
-Index: VirtualBox-6.0.12/configure
+Index: VirtualBox-6.1.14/configure
 ===
 VirtualBox-6.0.12.orig/configure
-+++ VirtualBox-6.0.12/configure
-@@ -1546,14 +1546,14 @@ EOF
+--- VirtualBox-6.1.14.orig/configure
 VirtualBox-6.1.14/configure
+@@ -1588,14 +1588,14 @@ EOF
  INCQT5="$q/include $q/include/QtCore"
  FLGQT5="-DQT_SHARED"
  I_INCQT5=`prefix_I "$INCQT5"`

++ fixes_for_5.9.patch ++
--- /var/tmp/diff_new_pack.WN1ZO1/_old  2020-09-14 12:04:55.427724302 +0200
+++ /var/tmp/diff_new_pack.WN1ZO1/_new  2020-09-14 12:04:55.427724302 +0200
@@ -1,44 +1,54 @@
-Index: VirtualBox-6.1.12/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
+This patch file contains the changes needed to compile the VirtualBox
+modules for kernel 5.9.0+.
+
+The changes are as follows:
+1. The kernel headers no 

commit virtualbox for openSUSE:Factory

2020-09-01 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2020-09-01 20:03:12

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.3399 (New)


Package is "virtualbox"

Tue Sep  1 20:03:12 2020 rev:203 rq:830509 version:6.1.13

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2020-07-17 
20:47:52.604733382 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.3399/virtualbox.changes  
2020-09-01 20:04:34.940514237 +0200
@@ -1,0 +2,34 @@
+Fri Aug 28 20:56:29 UTC 2020 - Larry Finger 
+
+- Pseudo version bump to 6.1.13, which is NOT an Oracle release.
+
+  Update VB sources to run under kernel 5.8.0+ with no modifications to the
+  kernel. These sources are derived from r85883 of the Oracle svn repository.
+  For operations with USB{2,3}, the extension pack for revision 140056 must
+  be installed. Once Oracle releases 6.1.14, then the extension pack and
+  VB itself will have the same revision number.
+
+  File "fixes_for_5.8.patch" is removed as that part was fixed upstream.
+  Fixes boo#1175201.
+
+---
+Thu Aug 20 16:40:59 UTC 2020 - Larry Finger 
+
+- Modify fixes_for_5.9.patch.
+
+---
+Thu Aug 20 05:09:36 UTC 2020 - Larry Finger 
+
+- Fix build for kernel 5.9. File "fixes_for_5.9.patch" is added.
+
+---
+Sat Aug  8 01:14:12 UTC 2020 - Larry Finger 
+
+- Delete temporary USBpassthru test patch.
+
+---
+Fri Aug  7 22:19:20 UTC 2020 - Larry Finger 
+
+- Apply Oracle changes for kernel 5.8.
+
+---

Old:

  VirtualBox-6.1.12-patched.tar.bz2
  fixes_for_5.8.patch

New:

  VirtualBox-6.1.13-patched.tar.bz2
  fixes_for_5.9.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.DIhDuN/_old  2020-09-01 20:04:37.252515318 +0200
+++ /var/tmp/diff_new_pack.DIhDuN/_new  2020-09-01 20:04:37.256515320 +0200
@@ -66,7 +66,7 @@
 
 # * If the VB version exceeds 6.1.x, notify the libvirt maintainer!!
 Name:   virtualbox%{?dash}%{?name_suffix}
-Version:6.1.12
+Version:6.1.13
 Release:0
 Summary:%{package_summary}
 License:GPL-2.0-or-later
@@ -179,8 +179,8 @@
 Patch136:   fixes_for_gcc10.patch
 # Fix for changes in GSOAP 2.8.103
 Patch137:   handle_gsoap_208103.patch
-# Fixes for kernel 5.8
-Patch138:   fixes_for_5.8.patch
+# Fixes for kernel 5.9
+Patch138:   fixes_for_5.9.patch
 Patch999:   virtualbox-fix-ui-background-color.patch
 #
 
@@ -282,7 +282,8 @@
 #rename from ose version:
 Provides:   %{name}-ose = %{version}
 Obsoletes:  %{name}-ose < %{version}
-%endif # main_package
+# end of main_package
+%endif
 
 ### Requirements for virtualbox-kmp ###
 %if %{kmp_package}
@@ -291,7 +292,8 @@
 %kernel_module_package -t %{_builddir}/virtualbox-kmp-template -p %{SOURCE7} 
-n virtualbox -f %{SOURCE5} -x kdump um xen pae xenpae pv
 Obsoletes:  virtualbox-guest-kmp
 Obsoletes:  virtualbox-host-kmp
-%endif # kmp_package
+# end of kmp_package
+%endif
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  x86_64
@@ -446,13 +448,15 @@
 protocol (RFB) to remotely control another computer. When this optional 
feature is desired, it is installed
 as an "extpack" for VirtualBox. The implementation is licensed under GPL.
 ###
-%endif # main_package
+# main_package
+%endif
 
 ### Description of virtualbox-kmp ###
 %if %{kmp_package}
 %description
 This package contains the kernel-modules that VirtualBox uses to create or run 
virtual machines.
-%endif # kmp_package
+# kmp_package
+%endif
 
 %prep
 %setup -q -n VirtualBox-%{version}
@@ -514,7 +518,8 @@
 cp %{SOURCE10} LocalConfig.kmk
 #copy autostart doc
 cp %{SOURCE20} README.autostart
-%endif # main_package
+# main_package
+%endif
 
 #
 ##
@@ -675,7 +680,6 @@
 install -m 755 VBoxSysInfo.sh  %{buildroot}%{_vbox_instdir}
 install -m 644 *.so%{buildroot}%{_vbox_instdir}
 install -m 644 *.r0%{buildroot}%{_vbox_instdir}
-rm components/VBoxREM.so
 install -m 644 components/*
%{buildroot}%{_vbox_instdir}/components/
 # install languages
 install -m 644 nls/*   
%{buildroot}%{_datadir}/virtualbox/nls/
@@ -1084,7 +1088,8 @@
 %dir %{_datadir}/licenses
 %{_datadir}/licenses/LICENSE.vnc
 
-%endif # 

commit virtualbox for openSUSE:Factory

2020-07-17 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2020-07-17 20:46:56

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.3592 (New)


Package is "virtualbox"

Fri Jul 17 20:46:56 2020 rev:202 rq:821172 version:6.1.12

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2020-07-14 
07:45:04.831032359 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.3592/virtualbox.changes  
2020-07-17 20:47:52.604733382 +0200
@@ -1,0 +2,37 @@
+Wed Jul 15 18:52:28 UTC 2020 - Larry Finger 
+
+- Version bump to 6.1.12 (released July 14 2020 by Oracle)
+
+  This is a maintenance release. The following items were fixed and/or added:
+
+  File "turn_off_cloud_net.patch" added.
+  Fixes for CVE-2020-14628, CVE-2020-14646, CVE-2020-14647, CVE-2020-14649 
 
+CVE-2020-14713, CVE-2020-14674, CVE-2020-14675, CVE-2020-14676 
 
+CVE-2020-14677, CVE-2020-14699, CVE-2020-14711, CVE-2020-14629 
 
+CVE-2020-14703, CVE-2020-14704, CVE-2020-14648, CVE-2020-14650 
+CVE-2020-14673, CVE-2020-14694, CVE-2020-14695, CVE-2020-14698 
 
+CVE-2020-14700, CVE-2020-14712, CVE-2020-14707, CVE-2020-14714 
 
+CVE-2020-14715 bsc#1174159.
+
+  UI: Fixes for Log-Viewer search-backward icon
+  Devices: Fixes and improvements for the BusLogic SCSI controller emulation
+  Serial Port: Regression fixes in FIFO data handling
+  Oracle Cloud Infrastructure integration: Experimental new type of network 
attachment, allowing local VM to act as if it was run in cloud
+  API: improved resource management in the guest control functionality
+  VBoxManage: fixed command option parsing for the "snapshot edit" sub-command
+  VBoxManage: Fix crash of 'VBoxManage internalcommands repairhd' when 
processing invalid input (bug #19579)
+  Guest Additions, 3D: New experimental GLX graphics output
+  Guest Additions, 3D: Fixed releasing texture objects, which could cause 
guest crashes
+  Guest Additions: Fixed writes to a file on a shared folder not being 
reflected on the host when the file is mmap'ed and the used Linux kernel is 
between version 4.10.0 and 4.11.x
+  Guest Additions: Fixed the shared folder driver on 32bit Windows 8 and newer 
returning an error when flushing writes to a file which is mapped into memory 
under rare circumstances
+  Guest Additions: Improve resize coverage for VMSVGA graphics controller
+  Guest Additions: Fix issues detecting guest additions ISO at runtime
+  Guest Additions: Fixed German translation encoding for Windows GA installer
+
+---
+Tue Jul 14 10:37:53 UTC 2020 - Callum Farmer 
+
+- More fixes for %_libexecdir changing to /usr/libexec(bsc#1174075)
+  - Previous fixes accidentally removed from changelog after conflict
+
+---

Old:

  VirtualBox-6.1.10-patched.tar.bz2

New:

  VirtualBox-6.1.12-patched.tar.bz2
  turn_off_cloud_net.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.WtSO6y/_old  2020-07-17 20:47:55.232736183 +0200
+++ /var/tmp/diff_new_pack.WtSO6y/_new  2020-07-17 20:47:55.236736187 +0200
@@ -66,7 +66,7 @@
 
 # * If the VB version exceeds 6.1.x, notify the libvirt maintainer!!
 Name:   virtualbox%{?dash}%{?name_suffix}
-Version:6.1.10
+Version:6.1.12
 Release:0
 Summary:%{package_summary}
 License:GPL-2.0-or-later
@@ -147,6 +147,8 @@
 Patch112:   modify_for_4_8_bo_move.patch
 # Remove all mention of _smp_mflags
 Patch113:   vbox_remove_smp_mflags.patch
+# Disable experimental and incomplete CLOUD_NET
+Patch114:   turn_off_cloud_net.patch
 # Fix for missing include needed for server 1.19
 Patch116:   Fix_for_server_1.19.patch
 # Fix invalid use of internal headers
@@ -285,7 +287,7 @@
 ### Requirements for virtualbox-kmp ###
 %if %{kmp_package}
 BuildRequires:  libxml2-devel
-%(sed -e '/^Provides: multiversion(kernel)/d' 
%{_libexecdir}/rpm/kernel-module-subpackage > 
%{_builddir}/virtualbox-kmp-template)
+%(sed -e '/^Provides: multiversion(kernel)/d' 
%{_prefix}/lib/rpm/kernel-module-subpackage > 
%{_builddir}/virtualbox-kmp-template)
 %kernel_module_package -t %{_builddir}/virtualbox-kmp-template -p %{SOURCE7} 
-n virtualbox -f %{SOURCE5} -x kdump um xen pae xenpae pv
 Obsoletes:  virtualbox-guest-kmp
 Obsoletes:  virtualbox-host-kmp
@@ -475,6 +477,7 @@
 %patch111 -p1
 %patch112 -p1
 %patch113 -p1
+%patch114 -p1
 %patch116 -p1
 %patch118 -p1
 %patch120 -p1

++ UserManual.pdf 

commit virtualbox for openSUSE:Factory

2020-07-13 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2020-07-14 07:44:10

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.3060 (New)


Package is "virtualbox"

Tue Jul 14 07:44:10 2020 rev:201 rq:820056 version:6.1.10

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2020-06-22 
17:41:14.744948121 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.3060/virtualbox.changes  
2020-07-14 07:45:04.831032359 +0200
@@ -1,0 +2,18 @@
+Fri Jul 10 01:38:55 UTC 2020 - Gary Ching-Pang Lin 
+
+- Switch to multibuild to so that we can maintain one spec file
+  for both virtualbox and virtualbox-kmp and build them separately.
+  (bsc#1114605)
+  + Add file "_multibuild" to specify the additional "kmp" build
+flavor.
+  + Merge "virtualbox-kmp.spec" into "virtualbox.spec"
+  + Drop file "virtualbox-kmp.changes".
+  + Add file "fixes_for_sle12.patch"
+
+---
+Tue Jun 23 06:10:10 UTC 2020 - Gary Ching-Pang Lin 
+
+- Split virtualbox-kmp from virtualbox.spec (bsc#1114605)
+  Adds files "virtualbox-kmp.spec" and "virtualbox-kmp.changes".
+
+---

New:

  _multibuild
  fixes_for_sle12.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.8tdeeG/_old  2020-07-14 07:45:07.371040560 +0200
+++ /var/tmp/diff_new_pack.8tdeeG/_new  2020-07-14 07:45:07.375040573 +0200
@@ -16,6 +16,23 @@
 #
 
 
+%if "@BUILD_FLAVOR@" == "kmp"
+### macros for virtualbox-kmp ###
+%define main_package 0
+%define kmp_package 1
+
+%define name_suffix kmp
+%define dash -
+%define package_summary Kernel modules for VirtualBox
+%define package_group System/Kernel
+%else
+### macros for virtualbox main package ###
+%define main_package 1
+%define kmp_package 0
+
+%define package_summary VirtualBox is an Emulator
+%define package_group System/Emulators/PC
+
 %define qt5ver %(rpm -q --queryformat %%{version} libQt5Core5|perl -ne 
'/(\\d+)\\.(\\d+)\\.(\\d+)?/& "%%d%%02d%%02d\\n",$1,$2,$3')
 
 #Compat macro for new _fillupdir macro introduced in Nov 2017
@@ -43,15 +60,17 @@
 # For the above reasons, limit the number of jobs to 2.
 %define _smp_mflags -j2
 
-%define _vbox_instdir  %{_libexecdir}/virtualbox
+%define _vbox_instdir  %{_prefix}/lib/virtualbox
 %define _udevrulesdir /usr/lib/udev/rules.d
-Name:   virtualbox
+%endif 
+
 # * If the VB version exceeds 6.1.x, notify the libvirt maintainer!!
+Name:   virtualbox%{?dash}%{?name_suffix}
 Version:6.1.10
 Release:0
-Summary:VirtualBox is an Emulator
+Summary:%{package_summary}
 License:GPL-2.0-or-later
-Group:  System/Emulators/PC
+Group:  %{package_group}
 URL:http://www.virtualbox.org/
 #
 # so you don't need to repack virtualbox by hand, just add new release of 
VirtualBox-x.x.x.tar.bz2 and line below with
@@ -63,14 +82,14 @@
 %if 0%{?sle_version} != 120300 
 Source2:VirtualBox.appdata.xml
 %endif
-Source3:%{name}-60-vboxguest.rules
-Source4:%{name}-default.virtualbox
-Source5:%{name}-kmp-files
-Source7:%{name}-kmp-preamble
+Source3:virtualbox-60-vboxguest.rules
+Source4:virtualbox-default.virtualbox
+Source5:virtualbox-kmp-files
+Source7:virtualbox-kmp-preamble
 Source8:update-extpack.sh
-Source9:%{name}-wrapper.sh
-Source10:   %{name}-LocalConfig.kmk
-Source11:   %{name}-60-vboxdrv.rules
+Source9:virtualbox-wrapper.sh
+Source10:   virtualbox-LocalConfig.kmk
+Source11:   virtualbox-60-vboxdrv.rules
 Source14:   vboxdrv.service
 Source15:   vboxadd-service.service
 Source16:   vboxconfig.sh
@@ -83,8 +102,8 @@
 Source23:   vboxautostart.service
 Source24:   vboxautostart.sh
 Source97:   README.build
-Source98:   %{name}-rpmlintrc
-Source99:   %{name}-patch-source.sh
+Source98:   virtualbox-rpmlintrc
+Source99:   virtualbox-patch-source.sh
 #rework init scripts to fit suse needs
 Patch1: vbox-vboxdrv-init-script.diff
 Patch2: vbox-vboxadd-init-script.diff
@@ -144,6 +163,8 @@
 Patch128:   fix_lib_search.patch
 # Fixes for modified kernel in Leap 42.3
 Patch130:   fixes_for_Leap42.3.patch
+# Fixes for SLE12
+Patch131:   fixes_for_sle12.patch
 # Fixes for Qt5.13 on 32-bit systems
 Patch132:   fixes_for_qt5.13.patch
 # Fixes for openSUSE Leap 15.2
@@ -160,6 +181,22 @@
 Patch138:   fixes_for_5.8.patch
 Patch999:   virtualbox-fix-ui-background-color.patch
 #
+
+# Common BuildRequires for both virtualbox 

commit virtualbox for openSUSE:Factory

2020-06-22 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2020-06-22 17:41:10

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.2956 (New)


Package is "virtualbox"

Mon Jun 22 17:41:10 2020 rev:200 rq:814599 version:6.1.10

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2020-06-11 
14:42:27.424947719 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.2956/virtualbox.changes  
2020-06-22 17:41:14.744948121 +0200
@@ -1,0 +2,8 @@
+Sat Jun 13 18:42:48 UTC 2020 - Larry Finger 
+
+- Add fixes to build with kernel 5.8. File "fixes_for_5.8.patch" is added.
+- Remove file "fixes_for_5.5.patch". Fixed upstream.
+-`Add file "fixes_for_makefile.patch" to clean up the Makefile used from the
+  vboxdrv service routine when modules are not available.
+
+---

Old:

  fixes_for_5.5.patch

New:

  fixes_for_5.8.patch
  fixes_for_makefile.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.BTCtqi/_old  2020-06-22 17:41:19.960965373 +0200
+++ /var/tmp/diff_new_pack.BTCtqi/_new  2020-06-22 17:41:19.964965386 +0200
@@ -148,14 +148,16 @@
 Patch132:   fixes_for_qt5.13.patch
 # Fixes for openSUSE Leap 15.2
 Patch133:   fixes_for_leap15.2.patch
-# Fixes for API changes in kernel 5.6
-Patch134:   fixes_for_5.5.patch
+# Fixes for kernel modules Makefile used at boot time
+Patch134:   fixes_for_makefile.patch
 # Fix build for Qt 5.15
 Patch135:   fix-missing-includes-with-qt-5.15.patch
 # Fix builds with GCC10
 Patch136:   fixes_for_gcc10.patch
-# Fix for chanes in GSOAP 2.8.103
+# Fix for changes in GSOAP 2.8.103
 Patch137:   handle_gsoap_208103.patch
+# Fixes for kernel 5.8
+Patch138:   fixes_for_5.8.patch
 Patch999:   virtualbox-fix-ui-background-color.patch
 #
 BuildRequires:  LibVNCServer-devel
@@ -461,6 +463,7 @@
 %patch135 -p1
 %patch136 -p1
 %patch137 -p1
+%patch138 -p1
 # make VB UI background colors look sane again
 %patch999 -p1
 

++ fixes_for_5.5.patch -> fixes_for_5.8.patch ++
 1021 lines (skipped)
 between /work/SRC/openSUSE:Factory/virtualbox/fixes_for_5.5.patch
 and /work/SRC/openSUSE:Factory/.virtualbox.new.2956/fixes_for_5.8.patch

++ fixes_for_makefile.patch ++
 795 lines (skipped)





commit virtualbox for openSUSE:Factory

2020-06-11 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2020-06-11 14:41:55

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.3606 (New)


Package is "virtualbox"

Thu Jun 11 14:41:55 2020 rev:199 rq:811977 version:6.1.10

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2020-05-19 
14:43:55.075484965 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.3606/virtualbox.changes  
2020-06-11 14:42:27.424947719 +0200
@@ -1,0 +2,24 @@
+Fri Jun  5 20:42:04 UTC 2020 - Larry Finger 
+
+- Version bump to 6.1.10 (released June 05 2020 by Oracle)
+
+  This is a maintenance release. The following items were fixed and/or added:
+
+  GUI: Fixed crash when using Qt on Xwayland sessions (bug #19583)
+  GUI: Fixed mouse pointer doesn't work properly in Windows guests when 
scaling is on (bug #19597)
+  VBoxManage: Fixed crash of 'VBoxManage internalcommands repairhd' when 
processing invalid input (bug #19579)
+  Settings: disable audio input and audio output by default for new VMs (bug 
#19527)
+  Guest Additions: Fixed resizing and multi monitor handling for Wayland 
guests. (bug #19496)
+  Guest Additions: Fixed VBoxClient error: The parent session seems to be 
non-X11. (bug #19590)
+  Linux host and guest: Linux kernel version 5.7 support. (bug #19516
+
+  File "fix_wayland_crash.patch" is removed - fixed upstream.
+
+---
+Fri May 29 14:59:11 UTC 2020 - Larry Finger 
+
+- Gsoap 2.8.103 changes the way that "soap_socket_errno" is handled.
+  File "handle_gsoap_208103.patch" is added.
+  Handle case where Wayland chooses wrong video. File 
"fix_wayland_crash.patch" is added. 
+
+---

Old:

  VirtualBox-6.1.8-patched.tar.bz2

New:

  VirtualBox-6.1.10-patched.tar.bz2
  handle_gsoap_208103.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.F67EHH/_old  2020-06-11 14:42:29.192954531 +0200
+++ /var/tmp/diff_new_pack.F67EHH/_new  2020-06-11 14:42:29.196954546 +0200
@@ -47,7 +47,7 @@
 %define _udevrulesdir /usr/lib/udev/rules.d
 Name:   virtualbox
 # * If the VB version exceeds 6.1.x, notify the libvirt maintainer!!
-Version:6.1.8
+Version:6.1.10
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0-or-later
@@ -154,6 +154,8 @@
 Patch135:   fix-missing-includes-with-qt-5.15.patch
 # Fix builds with GCC10
 Patch136:   fixes_for_gcc10.patch
+# Fix for chanes in GSOAP 2.8.103
+Patch137:   handle_gsoap_208103.patch
 Patch999:   virtualbox-fix-ui-background-color.patch
 #
 BuildRequires:  LibVNCServer-devel
@@ -458,6 +460,7 @@
 %patch134 -p1
 %patch135 -p1
 %patch136 -p1
+%patch137 -p1
 # make VB UI background colors look sane again
 %patch999 -p1
 

++ UserManual.pdf ++
(binary differes)

++ VirtualBox-6.1.8-patched.tar.bz2 -> VirtualBox-6.1.10-patched.tar.bz2 
++
/work/SRC/openSUSE:Factory/virtualbox/VirtualBox-6.1.8-patched.tar.bz2 
/work/SRC/openSUSE:Factory/.virtualbox.new.3606/VirtualBox-6.1.10-patched.tar.bz2
 differ: char 11, line 1

++ fixes_for_gcc10.patch ++
--- /var/tmp/diff_new_pack.F67EHH/_old  2020-06-11 14:42:29.308954977 +0200
+++ /var/tmp/diff_new_pack.F67EHH/_new  2020-06-11 14:42:29.308954977 +0200
@@ -1,7 +1,7 @@
-Index: VirtualBox-6.1.8/Config.kmk
+Index: VirtualBox-6.1.10/Config.kmk
 ===
 VirtualBox-6.1.8.orig/Config.kmk
-+++ VirtualBox-6.1.8/Config.kmk
+--- VirtualBox-6.1.10.orig/Config.kmk
 VirtualBox-6.1.10/Config.kmk
 @@ -2684,8 +2684,16 @@ else
   # The reason for this hack is that the windows kmk_ash cannot deal with 
$((1+1)).
   # Some versions of gcc (e.g. openSUSE11) return only major.minor on `gcc 
-dumpversion`.
@@ -21,13 +21,13 @@
  endif
  
  # YASM macros
-Index: VirtualBox-6.1.8/src/VBox/Debugger/DBGCDumpImage.cpp
+Index: VirtualBox-6.1.10/src/VBox/Debugger/DBGCDumpImage.cpp
 ===
 VirtualBox-6.1.8.orig/src/VBox/Debugger/DBGCDumpImage.cpp
-+++ VirtualBox-6.1.8/src/VBox/Debugger/DBGCDumpImage.cpp
-@@ -468,7 +468,7 @@ static const char *dbgcMachoCpuType(uint
+--- VirtualBox-6.1.10.orig/src/VBox/Debugger/DBGCDumpImage.cpp
 VirtualBox-6.1.10/src/VBox/Debugger/DBGCDumpImage.cpp
+@@ -468,7 +468,7 @@ static const char *dbgcMachoCpuType(int3
  {
- switch (uType)
+ switch (iType)
  {
 -case CPU_TYPE_ANY:  return "CPU_TYPE_ANY";
 +default:  return "CPU_TYPE_ANY";


commit virtualbox for openSUSE:Factory

2020-05-19 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2020-05-19 14:43:31

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.2738 (New)


Package is "virtualbox"

Tue May 19 14:43:31 2020 rev:198 rq:806046 version:6.1.8

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2020-04-18 
00:28:49.293852424 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.2738/virtualbox.changes  
2020-05-19 14:43:55.075484965 +0200
@@ -1,0 +2,20 @@
+Sat May 16 00:52:34 UTC 2020 - Larry Finger 
+
+- Version bump to 6.1.8 (released May 15 2020 by Oracle)
+
+  This is a maintenance release. The following items were fixed and/or added:
+
+  File "fixes_for_5.7.patch" is removed as the issue was fixed upstream.
+
+  GUI: Fix several layout and mouse position handling bugs with soft keyboard
+  GUI: Fixed crash on last VM removed (6.1.4 regression; bug #19568, #19525, 
#19506, #19490, #19481, #19397)
+  GUI and API: Allow renaming VMs which are in saved state
+  Serial: Fixed slow guest output when using the TCP server mode without 
anyone being connected
+  Guest Additions: Restored 'VBoxClient--checkhostversion' functionality 
(6.1.0 regression; bug #19470)
+  Guest Additions: Fixed resizing and multi monitor handling for X11 guests. 
(6.1.0 regression; bug #19496)
+  Guest Additions: Build problems fix with Oracle Linux 8.2 (Red Hat 
compatible kernel) / Red Hat Enterprise Linux 8.2 / CentOS 8.2 (bug #19391)
+  Guest Control/VBoxManage: Fixed handling of multiple environment variables 
supplied to 'VBoxManage guestcontrol VM run' (6.1.6/6.0.20 regression; bug 
#19518)
+  Guest Control: Implemented support for long(er) command lines
+  Guest Control: Various stability improvements
+
+---

Old:

  VirtualBox-6.1.6-patched.tar.bz2
  fixes_for_5.7.patch

New:

  VirtualBox-6.1.8-patched.tar.bz2



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.xNfm9C/_old  2020-05-19 14:43:57.047489178 +0200
+++ /var/tmp/diff_new_pack.xNfm9C/_new  2020-05-19 14:43:57.051489187 +0200
@@ -47,7 +47,7 @@
 %define _udevrulesdir /usr/lib/udev/rules.d
 Name:   virtualbox
 # * If the VB version exceeds 6.1.x, notify the libvirt maintainer!!
-Version:6.1.6
+Version:6.1.8
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0-or-later
@@ -154,8 +154,6 @@
 Patch135:   fix-missing-includes-with-qt-5.15.patch
 # Fix builds with GCC10
 Patch136:   fixes_for_gcc10.patch
-# Fix build for kernel 5.7
-Patch137:   fixes_for_5.7.patch
 Patch999:   virtualbox-fix-ui-background-color.patch
 #
 BuildRequires:  LibVNCServer-devel
@@ -460,7 +458,6 @@
 %patch134 -p1
 %patch135 -p1
 %patch136 -p1
-%patch137 -p1
 # make VB UI background colors look sane again
 %patch999 -p1
 

++ UserManual.pdf ++
(binary differes)

++ VirtualBox-6.1.6-patched.tar.bz2 -> VirtualBox-6.1.8-patched.tar.bz2 
++
/work/SRC/openSUSE:Factory/virtualbox/VirtualBox-6.1.6-patched.tar.bz2 
/work/SRC/openSUSE:Factory/.virtualbox.new.2738/VirtualBox-6.1.8-patched.tar.bz2
 differ: char 11, line 1

++ fixes_for_gcc10.patch ++
--- /var/tmp/diff_new_pack.xNfm9C/_old  2020-05-19 14:43:57.163489425 +0200
+++ /var/tmp/diff_new_pack.xNfm9C/_new  2020-05-19 14:43:57.167489434 +0200
@@ -1,13 +1,13 @@
-Index: VirtualBox-6.1.4/Config.kmk
+Index: VirtualBox-6.1.8/Config.kmk
 ===
 VirtualBox-6.1.4.orig/Config.kmk
-+++ VirtualBox-6.1.4/Config.kmk
+--- VirtualBox-6.1.8.orig/Config.kmk
 VirtualBox-6.1.8/Config.kmk
 @@ -2684,8 +2684,16 @@ else
   # The reason for this hack is that the windows kmk_ash cannot deal with 
$((1+1)).
   # Some versions of gcc (e.g. openSUSE11) return only major.minor on `gcc 
-dumpversion`.
   # gcc-5 of openSUSE42.1 only returns the major version on `gcc -dumpversion`!
 - VBOX_GCC_VERSION = $(shell ($(1) -dumpfullversion 2>/dev/null || $(1) 
-dumpversion) | \
--$(SED_EXT) 
's|\([0-9]\)\.\{0,1\}\([0-9]\{0,1\}\)\.\{0,1\}\([0-9]\{0,1\}\).*|$$(int-add 
$$(int-mul 1, \1), $$(int-mul 100, $$(firstword \2 0)), $$(firstword \3 
0))|' )
+-$(SED_EXT) 
's|\([0-9][0-9]*\)\.\{0,1\}\([0-9]\{0,\}\)\.\{0,1\}\([0-9]\{0,\}\).*|$$(int-add 
$$(int-mul 1, \1), $$(int-mul 100, $$(firstword \2 0)), $$(firstword \3 
0))|' )
 + #
 + # Check to make sure that the compiler has either  -dumpfullversion or 
-dumpversion. gcc-10 has neither
 + RC = $(shell ($(1) -dumpfullversion 2>/dev/null || $(1) -dumpversion 
2>/dev/null) ; echo $$?)
@@ -16,15 +16,15 @@
 +

commit virtualbox for openSUSE:Factory

2020-04-17 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2020-04-18 00:27:47

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.2738 (New)


Package is "virtualbox"

Sat Apr 18 00:27:47 2020 rev:197 rq:794398 version:6.1.6

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2020-04-15 
20:08:06.678171109 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.2738/virtualbox.changes  
2020-04-18 00:28:49.293852424 +0200
@@ -1,0 +2,33 @@
+Wed Apr 15 17:40:41 UTC 2020 - Larry Finger 
+
+- Version bump to 6.1.6 (released April 14 2020 by Oracle)
+
+  This version fixes bsc#1169249, bsc#1169202, and bsc#1166782.
+
+  This is a maintenance release. The following items were fixed and/or added:
+
+  GUI: Multiple enhancements including visual elements updates
+  Graphics: Fixed monitor resizing and multi-monitor handling bugs on X11 
guests with VMSVGA graphics adapter
+  Graphics: Enhancements in 2D and 3D acceleration and rendering
+  USB: Multiple enhancements improving prformance and stability
+  Serial port: Improve error handling and fix hang when host port disappears
+  VBoxManage: Multiple fixes for guestcontrol operations
+  API: Fix for exception handling bug in Python bindings
+  Shared clipboard: Multiple fixes including possible crash and HTML data 
support
+  Linux host and guest: Support Linux kernel 5.6 (bug #19312)
+
+  File "VirtualBox-6.1.4-VBoxClient-vmsvga-x11-crash.patch" removed - fixed 
upstream.
+  File "fixes_for_5.6.patch" removed - fixed upstream.
+  File "change_default_display.patch" removed - fixed upstream.
+
+---
+Mon Apr 13 18:02:12 UTC 2020 - Larry Finger 
+
+- Fix bug that deletes everything in ~/.vbox/
+
+---
+Mon Apr 13 17:22:38 UTC 2020 - Larry Finger 
+
+- Fix builds for kernel 5.7. File "fixes_for_5.7.patch" is added.
+
+---

Old:

  VirtualBox-6.1.4-VBoxClient-vmsvga-x11-crash.patch
  VirtualBox-6.1.4-patched.tar.bz2
  change_default_display.patch
  fixes_for_5.6.patch

New:

  VirtualBox-6.1.6-patched.tar.bz2
  fixes_for_5.7.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.q0FBVr/_old  2020-04-18 00:28:52.765859614 +0200
+++ /var/tmp/diff_new_pack.q0FBVr/_new  2020-04-18 00:28:52.765859614 +0200
@@ -47,7 +47,7 @@
 %define _udevrulesdir /usr/lib/udev/rules.d
 Name:   virtualbox
 # * If the VB version exceeds 6.1.x, notify the libvirt maintainer!!
-Version:6.1.4
+Version:6.1.6
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0-or-later
@@ -150,16 +150,12 @@
 Patch133:   fixes_for_leap15.2.patch
 # Fixes for API changes in kernel 5.6
 Patch134:   fixes_for_5.5.patch
-# Fixes for API changes in kernel 5.6
-Patch135:   fixes_for_5.6.patch
-# Fis VBoxClient Crashes
-Patch136:   VirtualBox-6.1.4-VBoxClient-vmsvga-x11-crash.patch
 # Fix build for Qt 5.15
-Patch137:   fix-missing-includes-with-qt-5.15.patch
+Patch135:   fix-missing-includes-with-qt-5.15.patch
 # Fix builds with GCC10
-Patch138:   fixes_for_gcc10.patch
-# Change default display type
-Patch139:   change_default_display.patch
+Patch136:   fixes_for_gcc10.patch
+# Fix build for kernel 5.7
+Patch137:   fixes_for_5.7.patch
 Patch999:   virtualbox-fix-ui-background-color.patch
 #
 BuildRequires:  LibVNCServer-devel
@@ -465,8 +461,6 @@
 %patch135 -p1
 %patch136 -p1
 %patch137 -p1
-%patch138 -p1
-%patch139 -p1
 # make VB UI background colors look sane again
 %patch999 -p1
 

++ UserManual.pdf ++
(binary differes)

++ VirtualBox-6.1.4-patched.tar.bz2 -> VirtualBox-6.1.6-patched.tar.bz2 
++
/work/SRC/openSUSE:Factory/virtualbox/VirtualBox-6.1.4-patched.tar.bz2 
/work/SRC/openSUSE:Factory/.virtualbox.new.2738/VirtualBox-6.1.6-patched.tar.bz2
 differ: char 11, line 1

++ fixes_for_5.6.patch -> fixes_for_5.7.patch ++
--- /work/SRC/openSUSE:Factory/virtualbox/fixes_for_5.6.patch   2020-04-15 
20:08:06.506170992 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.2738/fixes_for_5.7.patch 
2020-04-18 00:28:49.245852325 +0200
@@ -1,106 +1,36 @@
-Index: VirtualBox-6.1.2/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
+Index: VirtualBox-6.1.4/src/VBox/Additions/linux/drm/vbox_fb.c
 ===
 VirtualBox-6.1.2.orig/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
-+++ VirtualBox-6.1.2/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c

commit virtualbox for openSUSE:Factory

2020-04-15 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2020-04-15 20:06:44

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.2738 (New)


Package is "virtualbox"

Wed Apr 15 20:06:44 2020 rev:196 rq:793674 version:6.1.4

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2020-03-31 
17:32:31.744270457 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.2738/virtualbox.changes  
2020-04-15 20:08:06.678171109 +0200
@@ -1,0 +2,18 @@
+Thu Apr  9 21:49:36 UTC 2020 - Larry Finger 
+
+- Change default display type for openSUSE virtual machines. The default type
+  has been VMSVGA; however, this display type fails to utilize driver 
vboxvideo.
+  thus the display size is fixed. This problem is under investigation, but
+  until a fix is found, the default is changed to VBoxVGA with file
+  "add change_default_display.patch".
+- Makefile in the kernel-host-source package has a typo bug fixed (boo#1168910)
+  and a large number of warnings are fixed.
+
+---
+Sun Apr  5 18:05:53 UTC 2020 - Hans-Peter Jansen 
+
+- apply fixes for kernel 5.6 unconditionally
+- adjust fixes_for_5.6.patch in such a way, it can be applied unconditionally
+  (in order to support builds for newer kernel with older distributions)
+
+---

New:

  change_default_display.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.3V7EJe/_old  2020-04-15 20:08:09.522173044 +0200
+++ /var/tmp/diff_new_pack.3V7EJe/_new  2020-04-15 20:08:09.526173047 +0200
@@ -158,6 +158,8 @@
 Patch137:   fix-missing-includes-with-qt-5.15.patch
 # Fix builds with GCC10
 Patch138:   fixes_for_gcc10.patch
+# Change default display type
+Patch139:   change_default_display.patch
 Patch999:   virtualbox-fix-ui-background-color.patch
 #
 BuildRequires:  LibVNCServer-devel
@@ -460,12 +462,11 @@
 %endif
 %patch133 -p1
 %patch134 -p1
-%if 0%{?suse_version} > 1500
 %patch135 -p1
-%endif
 %patch136 -p1
 %patch137 -p1
 %patch138 -p1
+%patch139 -p1
 # make VB UI background colors look sane again
 %patch999 -p1
 

++ change_default_display.patch ++
Index: VirtualBox-6.1.4/src/VBox/Main/src-all/Global.cpp
===
--- VirtualBox-6.1.4.orig/src/VBox/Main/src-all/Global.cpp
+++ VirtualBox-6.1.4/src/VBox/Main/src-all/Global.cpp
@@ -284,13 +284,13 @@ const Global::OSType Global::sOSTypes[]
 
 { "Linux",   "Linux", "OpenSUSE",   "openSUSE 
(32-bit)",
   VBOXOSTYPE_OpenSUSE,VBOXOSHINT_RTCUTC | VBOXOSHINT_USBTABLET | 
VBOXOSHINT_X2APIC,
-  1024,  16,  8 * _1G64, GraphicsControllerType_VMSVGA, 
NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
+  1024,  16,  8 * _1G64, GraphicsControllerType_VBoxVGA, 
NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, 
AudioControllerType_AC97, AudioCodecType_AD1980  },
 
 { "Linux",   "Linux", "OpenSUSE_64","openSUSE 
(64-bit)",
   VBOXOSTYPE_OpenSUSE_x64,VBOXOSHINT_64BIT | VBOXOSHINT_HWVIRTEX | 
VBOXOSHINT_IOAPIC | VBOXOSHINT_RTCUTC
 | VBOXOSHINT_USBTABLET | VBOXOSHINT_X2APIC,
-  1024,  16,  8 * _1G64, GraphicsControllerType_VMSVGA, 
NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
+  1024,  16,  8 * _1G64, GraphicsControllerType_VBoxVGA, 
NetworkAdapterType_I82540EM, 0, StorageControllerType_PIIX4, StorageBus_IDE,
 StorageControllerType_IntelAhci, StorageBus_SATA, ChipsetType_PIIX3, 
AudioControllerType_AC97, AudioCodecType_AD1980  },
 
 { "Linux",   "Linux", "Turbolinux", "Turbolinux 
(32-bit)",
++ fixes_for_5.5.patch ++
 701 lines (skipped)
 between /work/SRC/openSUSE:Factory/virtualbox/fixes_for_5.5.patch
 and /work/SRC/openSUSE:Factory/.virtualbox.new.2738/fixes_for_5.5.patch

++ fixes_for_5.6.patch ++
--- /var/tmp/diff_new_pack.3V7EJe/_old  2020-04-15 20:08:09.638173123 +0200
+++ /var/tmp/diff_new_pack.3V7EJe/_new  2020-04-15 20:08:09.638173123 +0200
@@ -49,11 +49,11 @@
 + * time handling macros were hidden. Thus, user- and kernel-space
 + * names are different.
 + */
-+#include 
 +#include 
 +#include 
 +#include 
 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
++#include 
 +#define timespec __kernel_old_timespec
 +#define ktime_get_ts ktime_get_ts64
 +#undef time_t

++ fixes_for_gcc10.patch ++
--- 

commit virtualbox for openSUSE:Factory

2020-03-31 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2020-03-31 17:32:13

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.3160 (New)


Package is "virtualbox"

Tue Mar 31 17:32:13 2020 rev:195 rq:789605 version:6.1.4

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2020-03-24 
22:29:57.197017277 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.3160/virtualbox.changes  
2020-03-31 17:32:31.744270457 +0200
@@ -1,0 +2,14 @@
+Sun Mar 29 19:20:48 UTC 2020 - Larry Finger 
+
+- Fix build errors for gcc-10 (boo#1167897). File "fixes_for_gcc10.patch" is
+  added.
+- Convert /usr/bin/VirtualBox to use "~/.config/VirtualBox" instead "~/.vbox".
+  This change was requested in boo#1167660.
+
+---
+Fri Mar 27 09:32:21 UTC 2020 - Antonio Larrosa 
+
+- Add patch to fix missing include with Qt 5.15:
+  * fix-missing-includes-with-qt-5.15.patch
+
+---

New:

  fix-missing-includes-with-qt-5.15.patch
  fixes_for_gcc10.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.PVbndO/_old  2020-03-31 17:32:36.096273006 +0200
+++ /var/tmp/diff_new_pack.PVbndO/_new  2020-03-31 17:32:36.100273008 +0200
@@ -154,6 +154,10 @@
 Patch135:   fixes_for_5.6.patch
 # Fis VBoxClient Crashes
 Patch136:   VirtualBox-6.1.4-VBoxClient-vmsvga-x11-crash.patch
+# Fix build for Qt 5.15
+Patch137:   fix-missing-includes-with-qt-5.15.patch
+# Fix builds with GCC10
+Patch138:   fixes_for_gcc10.patch
 Patch999:   virtualbox-fix-ui-background-color.patch
 #
 BuildRequires:  LibVNCServer-devel
@@ -460,6 +464,8 @@
 %patch135 -p1
 %endif
 %patch136 -p1
+%patch137 -p1
+%patch138 -p1
 # make VB UI background colors look sane again
 %patch999 -p1
 

++ VirtualBox-6.1.4-VBoxClient-vmsvga-x11-crash.patch ++
--- /var/tmp/diff_new_pack.PVbndO/_old  2020-03-31 17:32:36.140273032 +0200
+++ /var/tmp/diff_new_pack.PVbndO/_new  2020-03-31 17:32:36.140273032 +0200
@@ -63,3 +63,4 @@
  
  #ifdef VBOX_WITH_SHARED_CLIPBOARD_FUSE
  int rc2 = vboxClipboardFUSEStop();
+

++ fix-missing-includes-with-qt-5.15.patch ++
Index: 
VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/globals/UIImageTools.cpp
===
--- 
VirtualBox-6.1.4.orig/src/VBox/Frontends/VirtualBox/src/globals/UIImageTools.cpp
+++ VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/globals/UIImageTools.cpp
@@ -17,6 +17,7 @@
 
 /* Qt includes: */
 #include 
+#include 
 
 /* GUI include */
 #include "UIImageTools.h"
Index: VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.cpp
===
--- 
VirtualBox-6.1.4.orig/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.cpp
+++ VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.cpp
@@ -19,6 +19,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
Index: VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.h
===
--- VirtualBox-6.1.4.orig/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.h
+++ VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.h
@@ -24,6 +24,7 @@
 /* Qt includes: */
 #include 
 #include 
+#include 
 
 /* GUI includes: */
 #include "UILibraryDefs.h"
@@ -34,7 +35,6 @@ class QIcon;
 class QLabel;
 class QMouseEvent;
 class QObject;
-class QPainterPath;
 class QPaintEvent;
 class QResizeEvent;
 class QString;
Index: 
VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/widgets/UIMiniToolBar.cpp
===
--- 
VirtualBox-6.1.4.orig/src/VBox/Frontends/VirtualBox/src/widgets/UIMiniToolBar.cpp
+++ VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/widgets/UIMiniToolBar.cpp
@@ -21,6 +21,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
Index: 
VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/widgets/UIMenuToolBar.cpp
===
--- 
VirtualBox-6.1.4.orig/src/VBox/Frontends/VirtualBox/src/widgets/UIMenuToolBar.cpp
+++ VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/widgets/UIMenuToolBar.cpp
@@ -19,6 +19,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 
++ fixes_for_gcc10.patch ++
Index: VirtualBox-6.1.4/Config.kmk
===
--- VirtualBox-6.1.4.orig/Config.kmk
+++ 

commit virtualbox for openSUSE:Factory

2020-03-24 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2020-03-24 22:29:46

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.3160 (New)


Package is "virtualbox"

Tue Mar 24 22:29:46 2020 rev:194 rq:787618 version:6.1.4

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2020-03-19 
19:50:24.940188140 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.3160/virtualbox.changes  
2020-03-24 22:29:57.197017277 +0100
@@ -1,0 +2,19 @@
+Tue Mar 24 01:51:36 UTC 2020 - Larry Finger 
+
+- With version 6.1.4 of VB, the bidirectional clipboard part of VBoxClient
+  for guest systems is failing. A patch is provided at
+  https://www.virtualbox.org/ticket/19336. These changes have been added
+  to file "VirtualBox-6.1.4-VBoxClient-vmsvga-x11-crash.patch". This
+  fixes boo #1167403 "VBoxClient --clipboard dies".
+
+---
+Sun Mar 22 20:36:40 UTC 2020 - Larry Finger 
+
+- Update the wrapper that starts the UI for VirtualBox to check the
+  version of the extpack that is installed. If no pack is installed
+  or if the license is not current, the new code does nothing. If there
+  is a current license and the installed pack does not match the
+  running version of VB, then the script downloads and installs the
+  new version. File "update-extpack.sh" is added.
+
+---

New:

  update-extpack.sh



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.pgq00A/_old  2020-03-24 22:30:04.001020695 +0100
+++ /var/tmp/diff_new_pack.pgq00A/_new  2020-03-24 22:30:04.009020699 +0100
@@ -67,6 +67,7 @@
 Source4:%{name}-default.virtualbox
 Source5:%{name}-kmp-files
 Source7:%{name}-kmp-preamble
+Source8:update-extpack.sh
 Source9:%{name}-wrapper.sh
 Source10:   %{name}-LocalConfig.kmk
 Source11:   %{name}-60-vboxdrv.rules
@@ -717,7 +718,7 @@
 install -m 644 %{SOURCE4}  
%{buildroot}%{_sysconfdir}/default/virtualbox
 #install wrapper script
 install -m 644 %{SOURCE9}  
%{buildroot}%{_bindir}/VirtualBox
-
+install -m 644 %{SOURCE8}  
%{buildroot}%{_bindir}/update-extpack.sh
 # Service files to load kernel modules on boot
 install -m 0644 %{SOURCE14}
%{buildroot}%{_unitdir}/vboxdrv.service
 ln -s -f %{_sbindir}/service   
%{buildroot}%{_sbindir}/rcvboxdrv
@@ -1004,6 +1005,7 @@
 %{_vbox_instdir}/VirtualBox
 #wrapper script is in bindir
 %attr(0755,root,root) %{_bindir}/VirtualBox
+%attr(0755,root,root) %{_bindir}/update-extpack.sh
 #rules fixing script is in /sbin
 %attr(0755,root,root) /sbin/vbox-fix-usb-rules.sh
 #ldd shows libQt* dependency

++ VirtualBox-6.1.4-VBoxClient-vmsvga-x11-crash.patch ++
--- /var/tmp/diff_new_pack.pgq00A/_old  2020-03-24 22:30:04.165020778 +0100
+++ /var/tmp/diff_new_pack.pgq00A/_new  2020-03-24 22:30:04.169020779 +0100
@@ -1,6 +1,7 @@
-diff -up 
VirtualBox-6.1.4/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp~ 
VirtualBox-6.1.4/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp
 VirtualBox-6.1.4/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp~   
2020-02-18 18:13:08.0 +0100
-+++ VirtualBox-6.1.4/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp
2020-03-03 16:27:49.947341705 +0100
+Index: VirtualBox-6.1.4/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp
+===
+--- 
VirtualBox-6.1.4.orig/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp
 VirtualBox-6.1.4/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp
 @@ -100,16 +100,19 @@ static void x11Connect(struct X11CONTEXT
  {
  XCloseDisplay(pContext->pDisplay);
@@ -21,3 +22,44 @@
  }
  pContext->rootWindow = DefaultRootWindow(pContext->pDisplay);
  }
+Index: VirtualBox-6.1.4/src/VBox/Additions/x11/VBoxClient/clipboard.cpp
+===
+--- VirtualBox-6.1.4.orig/src/VBox/Additions/x11/VBoxClient/clipboard.cpp
 VirtualBox-6.1.4/src/VBox/Additions/x11/VBoxClient/clipboard.cpp
+@@ -215,7 +215,6 @@ DECLCALLBACK(void) ShClX11RequestFromX11
+  *
+  * @returns VBox status code.
+  */
+-#if 0
+ static int vboxClipboardConnect(void)
+ {
+ LogFlowFuncEnter();
+@@ -245,7 +244,6 @@ static int vboxClipboardConnect(void)
+ LogFlowFuncLeaveRC(rc);
+ return rc;
+ }
+-#endif
+ 
+ /**
+  * The main loop of our clipboard reader.
+@@ -469,7 +467,7 @@ static int run(struct VBCLSERVICE **ppIn
+ 

commit virtualbox for openSUSE:Factory

2020-03-19 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2020-03-19 19:47:18

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.3160 (New)


Package is "virtualbox"

Thu Mar 19 19:47:18 2020 rev:193 rq:785717 version:6.1.4

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2020-03-16 
10:17:26.099565159 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.3160/virtualbox.changes  
2020-03-19 19:50:24.940188140 +0100
@@ -1,0 +2,8 @@
+Mon Mar 16 21:32:05 UTC 2020 - Larry Finger 
+
+- A fix for boo #1166782 ("VirtualBox Guest 6.1.4 for OpenSUSE 15.1 constant
+  segfault in libX11.so.6.3 every 5 seconds") is fixed.
+  File "VirtualBox-6.1.4-VBoxClient-vmsvga-x11-crash.patch", published in
+  https://www.virtualbox.org/ticket/19357, fixes the problem.
+
+---

New:

  VirtualBox-6.1.4-VBoxClient-vmsvga-x11-crash.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.s7Ry8a/_old  2020-03-19 19:50:27.768189773 +0100
+++ /var/tmp/diff_new_pack.s7Ry8a/_new  2020-03-19 19:50:27.768189773 +0100
@@ -151,6 +151,8 @@
 Patch134:   fixes_for_5.5.patch
 # Fixes for API changes in kernel 5.6
 Patch135:   fixes_for_5.6.patch
+# Fis VBoxClient Crashes
+Patch136:   VirtualBox-6.1.4-VBoxClient-vmsvga-x11-crash.patch
 Patch999:   virtualbox-fix-ui-background-color.patch
 #
 BuildRequires:  LibVNCServer-devel
@@ -456,6 +458,7 @@
 %if 0%{?suse_version} > 1500
 %patch135 -p1
 %endif
+%patch136 -p1
 # make VB UI background colors look sane again
 %patch999 -p1
 

++ VirtualBox-6.1.4-VBoxClient-vmsvga-x11-crash.patch ++
diff -up 
VirtualBox-6.1.4/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp~ 
VirtualBox-6.1.4/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp
--- VirtualBox-6.1.4/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp~
2020-02-18 18:13:08.0 +0100
+++ VirtualBox-6.1.4/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp 
2020-03-03 16:27:49.947341705 +0100
@@ -100,16 +100,19 @@ static void x11Connect(struct X11CONTEXT
 {
 XCloseDisplay(pContext->pDisplay);
 pContext->pDisplay = NULL;
+return;
 }
 if (!XRRQueryExtension(pContext->pDisplay, >hRandREventBase, 
>hRandRErrorBase))
 {
 XCloseDisplay(pContext->pDisplay);
 pContext->pDisplay = NULL;
+return;
 }
 if (!XRRQueryVersion(pContext->pDisplay, >hRandRMajor, 
>hRandRMinor))
 {
 XCloseDisplay(pContext->pDisplay);
 pContext->pDisplay = NULL;
+return;
 }
 pContext->rootWindow = DefaultRootWindow(pContext->pDisplay);
 }




commit virtualbox for openSUSE:Factory

2020-03-16 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2020-03-16 10:16:34

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.3160 (New)


Package is "virtualbox"

Mon Mar 16 10:16:34 2020 rev:192 rq:784696 version:6.1.4

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2020-03-03 
10:14:03.418379323 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.3160/virtualbox.changes  
2020-03-16 10:17:26.099565159 +0100
@@ -1,0 +2,20 @@
+Wed Mar 11 20:10:36 UTC 2020 - Larry Finger 
+
+- Version bump to 6.1.4 (released February 19 2020 by Oracle)
+
+  This is a maintenance release. The following items were fixed and/or added:
+
+  Virtualization core: Fixed a rare issue with ICEBP instruction causing guru 
meditations on Intel hosts (6.1.0 regression; bug #19171)
+  Virtualization core: Fixed macOS Catalina guests failing to boot after 
upgrading to 10.15.2 onwards (bug #19188)
+  GUI: recent NLS integration and bug fixes for GUI and Qt translation tags
+  USB: Fix isochronous transfers to the VM for xHCI
+  Serial: Fix buffer handling, avoiding receiving stale data when the receive 
queue is flushed (bug #18671)
+  Serial: Improve host serial port passthrough handling on Windows host
+  VBoxManage: Restore old --clipboard option for modifyvm command
+  Linux guest: Support Linux 5.5 (bug #19145)
+  Linux guest: Shared folder fix for loopback mounting of images
+  BIOS: Always report non-ATA disks as ready
+  BIOS: Report EFI support through DMI table (bug 19144)
+  VGA BIOS: Reduce stack space usage for INT 10h handlers
+
+---

Old:

  VirtualBox-6.1.2-patched.tar.bz2

New:

  VirtualBox-6.1.4-patched.tar.bz2



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.jvtlSJ/_old  2020-03-16 10:17:32.431567738 +0100
+++ /var/tmp/diff_new_pack.jvtlSJ/_new  2020-03-16 10:17:32.435567740 +0100
@@ -47,7 +47,7 @@
 %define _udevrulesdir /usr/lib/udev/rules.d
 Name:   virtualbox
 # * If the VB version exceeds 6.1.x, notify the libvirt maintainer!!
-Version:6.1.2
+Version:6.1.4
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0-or-later
@@ -147,7 +147,7 @@
 Patch132:   fixes_for_qt5.13.patch
 # Fixes for openSUSE Leap 15.2
 Patch133:   fixes_for_leap15.2.patch
-# Fixes for API changes in kernel 5.5
+# Fixes for API changes in kernel 5.6
 Patch134:   fixes_for_5.5.patch
 # Fixes for API changes in kernel 5.6
 Patch135:   fixes_for_5.6.patch

++ UserManual.pdf ++
(binary differes)

++ VirtualBox-6.1.2-patched.tar.bz2 -> VirtualBox-6.1.4-patched.tar.bz2 
++
/work/SRC/openSUSE:Factory/virtualbox/VirtualBox-6.1.2-patched.tar.bz2 
/work/SRC/openSUSE:Factory/.virtualbox.new.3160/VirtualBox-6.1.4-patched.tar.bz2
 differ: char 11, line 1

++ fixes_for_5.5.patch ++
--- /var/tmp/diff_new_pack.jvtlSJ/_old  2020-03-16 10:17:32.543567784 +0100
+++ /var/tmp/diff_new_pack.jvtlSJ/_new  2020-03-16 10:17:32.547567786 +0100
@@ -1,7 +1,7 @@
-Index: VirtualBox-6.1.2/src/VBox/HostDrivers/linux/Makefile
+Index: VirtualBox-6.1.4/src/VBox/HostDrivers/linux/Makefile
 ===
 VirtualBox-6.1.2.orig/src/VBox/HostDrivers/linux/Makefile
-+++ VirtualBox-6.1.2/src/VBox/HostDrivers/linux/Makefile
+--- VirtualBox-6.1.4.orig/src/VBox/HostDrivers/linux/Makefile
 VirtualBox-6.1.4/src/VBox/HostDrivers/linux/Makefile
 @@ -35,9 +35,6 @@ endif
  ifneq ($(wildcard $(CURDIR)/vboxnetadp/Makefile),)
   obj-m += vboxnetadp/
@@ -33,7 +33,7 @@
fi; \
 +  export KBUILD_EXTRA_SYMBOLS=${PWD}/vboxnetflt/Module.symvers; \
echo "=== Building 'vboxnetflt' module ==="; \
-   $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxnetflt || exit 1; \
+   $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) 
KBUILD_EXTRA_SYMBOLS=$(abspath vboxnetflt/Module.symvers) -C vboxnetflt || exit 
1; \
cp vboxnetflt/vboxnetflt.ko .; \
 @@ -75,41 +74,29 @@ vboxnetadp: vboxdrv
if [ -f vboxdrv/Module.symvers ]; then \
@@ -41,8 +41,8 @@
fi; \
 +  export KBUILD_EXTRA_SYMBOLS=${PWD}/vboxnetadp/Module.symvers; \
echo "=== Building 'vboxnetadp' module ==="; \
--  $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxnetadp || exit 1; \
-+$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxnetadp || exit 1; 
\
+-  $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) 
KBUILD_EXTRA_SYMBOLS=$(abspath vboxnetadp/Module.symvers) -C vboxnetadp || exit 
1; \
++$(MAKE) 

commit virtualbox for openSUSE:Factory

2020-03-03 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2020-03-03 10:13:56

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.26092 (New)


Package is "virtualbox"

Tue Mar  3 10:13:56 2020 rev:191 rq:780346 version:6.1.2

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2020-02-19 
12:40:56.627671216 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.26092/virtualbox.changes 
2020-03-03 10:14:03.418379323 +0100
@@ -1,0 +2,6 @@
+Thu Feb 27 18:38:46 UTC 2020 - Larry Finger 
+
+- Kernel 5.6.0-rc3 introduced some fixes for the Y2038 problem. File 
"fixes_for_5.6"
+  has been modified to handle these changes.
+
+---



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.K1nROH/_old  2020-03-03 10:14:08.850390562 +0100
+++ /var/tmp/diff_new_pack.K1nROH/_new  2020-03-03 10:14:08.850390562 +0100
@@ -453,8 +453,9 @@
 %endif
 %patch133 -p1
 %patch134 -p1
+%if 0%{?suse_version} > 1500
 %patch135 -p1
-
+%endif
 # make VB UI background colors look sane again
 %patch999 -p1
 

++ fixes_for_5.6.patch ++
--- /var/tmp/diff_new_pack.K1nROH/_old  2020-03-03 10:14:09.014390901 +0100
+++ /var/tmp/diff_new_pack.K1nROH/_new  2020-03-03 10:14:09.014390901 +0100
@@ -35,3 +35,72 @@
  if (pMemLnx->Core.pv)
  {
  /** @todo fix protection. */
+Index: VirtualBox-6.1.2/include/iprt/time.h
+===
+--- VirtualBox-6.1.2.orig/include/iprt/time.h
 VirtualBox-6.1.2/include/iprt/time.h
+@@ -32,6 +32,24 @@
+ #include 
+ #include 
+ #include 
++#ifdef __KERNEL__
++/* This header is used for both kernel- and user-space code. Beginning
++ * with v5.6.0-rc3 as part of the Y2038 conversion, several of the
++ * time handling macros were hidden. Thus, user- and kernel-space
++ * names are different.
++ */
++#include 
++#include 
++#include 
++#include 
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
++#define timespec __kernel_old_timespec
++#define ktime_get_ts ktime_get_ts64
++#undef time_t
++#define time_t ktime_t
++#define timeval __kernel_old_timeval
++#endif /* kernel version >= 5.6.0 */
++#endif /* __KERNEL__ */
+ 
+ RT_C_DECLS_BEGIN
+ 
+@@ -433,12 +451,6 @@ DECLINLINE(PRTTIMESPEC) RTTimeSpecSetTim
+ }
+ 
+ 
+-# ifdef _LINUX_TIME64_H
+-DECLINLINE(PRTTIMESPEC) RTTimeSpecSetTimespec64(PRTTIMESPEC pTime, const 
struct timespec64 *pTimeval)
+-{
+-return RTTimeSpecAddNano(RTTimeSpecSetSeconds(pTime, pTimeval->tv_sec), 
pTimeval->tv_nsec);
+-}
+-# endif
+ #endif /* various ways of detecting struct timespec */
+ 
+ 
+Index: VirtualBox-6.1.2/src/VBox/Runtime/r0drv/linux/time-r0drv-linux.c
+===
+--- VirtualBox-6.1.2.orig/src/VBox/Runtime/r0drv/linux/time-r0drv-linux.c
 VirtualBox-6.1.2/src/VBox/Runtime/r0drv/linux/time-r0drv-linux.c
+@@ -35,6 +35,10 @@
+ #include 
+ 
+ 
++DECLINLINE(PRTTIMESPEC) RTTimeSpecSetTimespec64(PRTTIMESPEC pTime, const 
struct timespec64 *pTimeval)
++{
++return RTTimeSpecAddNano(RTTimeSpecSetSeconds(pTime, pTimeval->tv_sec), 
pTimeval->tv_nsec);
++}
+ 
+ DECLINLINE(uint64_t) rtTimeGetSystemNanoTS(void)
+ {
+@@ -43,7 +47,11 @@ DECLINLINE(uint64_t) rtTimeGetSystemNano
+  * Use ktime_get_ts, this is also what clock_gettime(CLOCK_MONOTONIC,) is 
using.
+  */
+ uint64_t u64;
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
++struct timespec64 Ts;
++#else
+ struct timespec Ts;
++#endif
+ ktime_get_ts();
+ u64 = Ts.tv_sec * RT_NS_1SEC_64 + Ts.tv_nsec;
+ return u64;





commit virtualbox for openSUSE:Factory

2020-02-19 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2020-02-19 12:40:44

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.26092 (New)


Package is "virtualbox"

Wed Feb 19 12:40:44 2020 rev:190 rq:774577 version:6.1.2

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2020-01-30 
09:30:47.477149440 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.26092/virtualbox.changes 
2020-02-19 12:40:56.627671216 +0100
@@ -1,0 +2,10 @@
+Sat Feb 15 02:32:06 UTC 2020 - Larry Finger 
+
+- Update patches for v5.5 to handle errors in vboxvideo. boo#1163337.
+
+---
+Wed Feb 12 03:35:20 UTC 2020 - Larry Finger 
+
+- Add file "fixes_for_5.6.patch" to handle API changes.
+
+---

New:

  fixes_for_5.6.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.ThlXrK/_old  2020-02-19 12:40:59.623676985 +0100
+++ /var/tmp/diff_new_pack.ThlXrK/_new  2020-02-19 12:40:59.627676993 +0100
@@ -149,6 +149,8 @@
 Patch133:   fixes_for_leap15.2.patch
 # Fixes for API changes in kernel 5.5
 Patch134:   fixes_for_5.5.patch
+# Fixes for API changes in kernel 5.6
+Patch135:   fixes_for_5.6.patch
 Patch999:   virtualbox-fix-ui-background-color.patch
 #
 BuildRequires:  LibVNCServer-devel
@@ -451,6 +453,7 @@
 %endif
 %patch133 -p1
 %patch134 -p1
+%patch135 -p1
 
 # make VB UI background colors look sane again
 %patch999 -p1

++ fixes_for_5.5.patch ++
--- /var/tmp/diff_new_pack.ThlXrK/_old  2020-02-19 12:40:59.707677147 +0100
+++ /var/tmp/diff_new_pack.ThlXrK/_new  2020-02-19 12:40:59.707677147 +0100
@@ -270,7 +270,53 @@
  
  #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 18, 0) && !defined(RHEL_72)
  #define PLACEMENT_FLAGS(placement) (placement)
-@@ -310,11 +314,12 @@ int vbox_mm_init(struct vbox_private *vb
+@@ -102,8 +106,16 @@ static int vbox_ttm_global_init(struct v
+  */
+ static void vbox_ttm_global_release(struct vbox_private *vbox)
+ {
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0)
++  struct ttm_bo_device *bdev = >ttm.bdev;
++#endif
+   drm_global_item_unref(>ttm.bo_global_ref.ref);
+   drm_global_item_unref(>ttm.mem_global_ref);
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0)
++  drm_vma_offset_manager_destroy(bdev->vma_manager);
++  kfree(bdev->vma_offset_manager);
++  bdev->vma_offset_manager = NULL;
++#endif
+ }
+ #endif
+ 
+@@ -296,11 +308,27 @@ int vbox_mm_init(struct vbox_private *vb
+   int ret;
+   struct drm_device *dev = vbox->dev;
+   struct ttm_bo_device *bdev = >ttm.bdev;
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0)
++  struct drm_vma_offset_manager *vma_manager;
+ 
++  vma_manager = kzalloc(sizeof(*vma_manager), GFP_KERNEL);
++  if (!vma_manager)
++  return -ENOMEM;
++#endif
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 0, 0) && !defined(RHEL_77) && 
!defined(RHEL_81)
+   ret = vbox_ttm_global_init(vbox);
+-  if (ret)
++  if (ret) {
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0)
++  kfree(vma_manager);
++#endif
+   return ret;
++  }
++#endif
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0)
++  bdev->vma_manager = vma_manager;
++  drm_vma_offset_manager_init(bdev->vma_manager,
++  DRM_FILE_PAGE_OFFSET_START,
++  DRM_FILE_PAGE_OFFSET_SIZE);
+ #endif
+   ret = ttm_bo_device_init(>ttm.bdev,
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 0, 0) && !defined(RHEL_77) && 
!defined(RHEL_81)
+@@ -310,11 +338,12 @@ int vbox_mm_init(struct vbox_private *vb
  #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0) || defined(RHEL_71)
 dev->anon_inode->i_mapping,
  #endif

++ fixes_for_5.6.patch ++
Index: VirtualBox-6.1.2/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
===
--- VirtualBox-6.1.2.orig/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
+++ VirtualBox-6.1.2/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
@@ -843,9 +843,13 @@ DECLHIDDEN(int) vboxPciOsDevMapRegion(PV
 if (!rcLnx)
 {
 /* For now no caching, try to optimize later. */
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
+RTR0PTR R0PtrMapping = ioremap(pci_resource_start(pPciDev, 
iRegion),
+   pci_resource_len(pPciDev, iRegion));
+#else
 RTR0PTR R0PtrMapping = ioremap_nocache(pci_resource_start(pPciDev, 
iRegion),
   

commit virtualbox for openSUSE:Factory

2020-01-30 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2020-01-30 09:30:26

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.26092 (New)


Package is "virtualbox"

Thu Jan 30 09:30:26 2020 rev:189 rq:766683 version:6.1.2

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2019-12-23 
22:42:28.381951218 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.26092/virtualbox.changes 
2020-01-30 09:30:47.477149440 +0100
@@ -1,0 +2,129 @@
+Fri Jan 17 22:56:58 UTC 2020 - Larry Finger 
+
+- Version update to 6.1.2 (released January 14 2020i by Oracle)
+
+  18 Vulnerabilities fixed: CVE-2020-2674 CVE-2020-2682 CVE-2020-2698 
CVE-2020-2701 CVE-2020-2702 CVE-2020-2726
+   CVE-2020-2681 CVE-2020-2689 CVE-2020-2690 
CVE-2020-2691 CVE-2020-2692 CVE-2020-2703
+   CVE-2020-2704 CVE-2020-2705 CVE-2020-2725 
CVE-2020-2678 CVE-2020-2727 CVE-2020-2693
+   See bsc#1161050
+  File "fixes_for_leap15.2.patch" added to fix build for Leap 15.2.
+  File "vbox_fix_for_gcc7.patch" is deleted - fixed upstream.
+  File "fixes_for_5.4.patch" is deleted - fixed upstream.
+  Exclude 32-bit builds
+  Update so the openSUSE Leap 42.3 builds OK.
+
+  As announced earlier by Oracle, 32-bit builds are no longer supported.
+
+  This is a maintenance release. The following items were fixed and/or added:
+
+  Virtualization core: fixed performance issue observed with Windows XP guests 
on AMD hosts (6.0.0 regression; bug #19152)
+  Virtualization core: consistent IBRS/IBPB CPUID feature reporting, avoids 
crash of NetBSD 9.0 RC1 installer (bug #19146)
+  GUI: fixed updating of runtime info
+  GUI: in Display settings, do not show "2D video acceleration" checkbox if it 
is meaningless for the selected graphics adapter
+  Audio: fixed audio input handling when VRDE is enabled
+  Audio: fixed crash in the HDA emulation when using multi-speaker 
configurations
+  Storage: fixed use of encrypted disks with snapshots involved (6.1.0 
regression; bug #19160)
+  Storage: improve performance of virtio-scsi
+  Storage: read-only support for compressed clusters in QCOW2 images
+  Linux host: Support Linux 5.5 (guest additions not yet)
+  Windows guest: accelerate 2D video decoding (scaling and color space 
conversion) if the VM is configured to use VBoxSVGA with 3D enabled
+  Windows guest: fix guest additions installer to upgrade the mouse filter 
driver reliably
+  Windows guest: when uninstalling older Guest Additions with old 3D support 
enabled try restoring original Direct3D files
+  Linux guest: improve resize and multi-monitor handling for VMs using VMSVGA 
(known remaining issue: do not disable a monitor "in the middle", causes 
confusion)
+
+---
+Tue Dec 24 21:59:07 UTC 2019 - Larry Finger 
+
+- Version update to 6.1.0 (released December 10 2019 by Oracle)
+  - Fixes bsc#1132102.
+  - Removed file "set_graphics_type.patch" as the problem is fixed upstream.
+
+  This is a major update. The following major new features were added:
+
+  - Implemented support for importing a virtual machine from Oracle Cloud 
Infrastructure
+  - Extended support for exporting a virtual machine to Oracle Cloud 
Infrastructure, allowing the creation
+   of multiple virtual machines without re-uploading. Also added option to 
export a VM to the cloud using the more efficient
+   variant "paravirtialized", and to specify free-form tags for cloud 
images
+  - Virtualization core: Support for nested hardware-virtualization on Intel 
CPUs (starting with 5th generation Core i,
+   codename Broadwell), so far tested only with guest running VirtualBox
+  - Graphics: New style 3D support (with VBoxSVGA and VMSVGA) remains, old 
style 3D support (with VBoxVGA) has been completely removed
+  - Shared Clipboard: Implemented experimental support for file transfers 
(Windows hosts/guests only at the moment).
+   Needs to be enabled via VBoxManage (disabled by default). In addition, 
the following items were fixed and/or added:
+
+  In addition, the following items were fixed and/or added:
+
+  - Virtualization core: Drop recompiler, i.e. running VMs now needs a CPU 
supporting hardware virtualization
+  - Runtime: Works now on hosts with many CPUs (limit now 1024)
+  - Appliance and Cloud Import: Add field for defining firmware type (not part 
of OVF spec and thus manual in the Appliance case,
+   for OCI it is automatically taken from the instance information)
+  - GUI: Improved the VISO creation and file manager dialogs
+  - GUI: Virtual machine list of VirtualBox Manager was improved. Machine 
groups are now more obvious visually and VM
+   

commit virtualbox for openSUSE:Factory

2019-12-23 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2019-12-23 22:39:38

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.6675 (New)


Package is "virtualbox"

Mon Dec 23 22:39:38 2019 rev:188 rq:758050 version:6.0.14

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2019-12-11 
12:00:49.340848949 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.6675/virtualbox.changes  
2019-12-23 22:42:28.381951218 +0100
@@ -1,0 +2,5 @@
+Wed Dec 18 19:47:16 UTC 2019 - Larry Finger 
+
+- Fix build for kernel 5.5. Added file "fixes_for_5.5.patch".
+
+---

New:

  fixes_for_5.5.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.4k5gNi/_old  2019-12-23 22:42:30.377952083 +0100
+++ /var/tmp/diff_new_pack.4k5gNi/_new  2019-12-23 22:42:30.381952085 +0100
@@ -152,6 +152,8 @@
 #endif
 # Fixes for API changes in kernel 5.4
 Patch133:   fixes_for_5.4.patch
+# Fixes for API changes in kernel 5.5
+Patch134:   fixes_for_5.5.patch
 Patch999:   virtualbox-fix-ui-background-color.patch
 #
 BuildRequires:  %{python_module devel}
@@ -458,6 +460,7 @@
 %patch132 -p1
 %endif
 %patch133 -p1
+%patch134 -p1
 
 # make VB UI background colors look sane again
 %patch999 -p1
@@ -546,11 +549,7 @@
 echo "build kernel modules"
 #%if 0%{?suse_version} < 1550
 for vbox_module in out/linux.*/release/bin/src/vbox{drv,netflt,netadp,pci} \
-   out/linux.*/release/bin/additions/src/vbox{guest,sf,video}; do
-#%else
-#for vbox_module in out/linux.*/release/bin/src/vbox{drv,netflt,netadp,pci} \
-#  out/linux.*/release/bin/additions/src/vbox{guest,sf}; do
-#%endif
+   out/linux.*/release/bin/additions/src/vbox{guest,sf}; do
 #get the module name from path
 module_name=$(basename "$vbox_module")
 
@@ -559,6 +558,10 @@
# delete old build dir for sure
rm -rf modules_build_dir/${module_name}_${flavor}
 
+   if [ "$module_name" = "vboxdrv" -o \
+"$module_name" = "vboxguest" ] ; then
+   SYMBOLS=""
+   fi
# create build directory for specific flavor
 mkdir -p modules_build_dir/$flavor
 
@@ -571,16 +574,18 @@
 "$module_name" = "vboxpci" ] ; then
cp $PWD/modules_build_dir/$flavor/vboxdrv/Module.symvers\
  $PWD/modules_build_dir/$flavor/$module_name
+   SYMBOLS="$PWD/modules_build_dir/$flavor/vboxdrv/Module.symvers"
fi
-   # copy vboxguest (for guest) module symbols which are used by vboxsf 
and vboxvideo km's:
+   # copy vboxguest (for guest) module symbols which are used by vboxsf km:
if [ "$module_name" = "vboxsf" -o \
"$module_name" = "vboxvideo" ] ; then
cp $PWD/modules_build_dir/$flavor/vboxguest/Module.symvers \
  $PWD/modules_build_dir/$flavor/$module_name
+   SYMBOLS="$PWD/modules_build_dir/$flavor/vboxguest/Module.symvers"
fi
# build the module for the specific flavor
make -j2 -C %{_prefix}/src/linux-obj/%{_target_cpu}/$flavor 
%{?linux_make_arch} modules \
-   M=$PWD/modules_build_dir/$flavor/$module_name V=1
+   M=$PWD/modules_build_dir/$flavor/$module_name 
KBUILD_EXTRA_SYMBOLS="$SYMBOLS" V=1
 done
 done
 

++ fixes_for_5.4.patch ++
--- /var/tmp/diff_new_pack.4k5gNi/_old  2019-12-23 22:42:30.461952120 +0100
+++ /var/tmp/diff_new_pack.4k5gNi/_new  2019-12-23 22:42:30.461952120 +0100
@@ -6,7 +6,7 @@
  #define VBOXNETFLT_OS_SPECFIC 1
  #include "../VBoxNetFltInternal.h"
  
-+# if CONFIG_SUSE_VERSION == 15 && CONFIG_SUSE_PATCHLEVEL == 2
++# if defined(CONFIG_SUSE_VERSION) && CONFIG_SUSE_VERSION == 15 && 
CONFIG_SUSE_PATCHLEVEL == 2
 +#  define OPENSUSE_152
 +# endif
 +

++ fixes_for_5.5.patch ++
Index: VirtualBox-6.0.14/src/VBox/HostDrivers/linux/Makefile
===
--- VirtualBox-6.0.14.orig/src/VBox/HostDrivers/linux/Makefile
+++ VirtualBox-6.0.14/src/VBox/HostDrivers/linux/Makefile
@@ -45,6 +45,8 @@ else # ! KERNELRELEASE
 
 KBUILD_VERBOSE ?=
 KERN_VER ?= $(shell uname -r)
+PWD ?= $(shell pwd)
+
 .PHONY: all install clean check unload load vboxdrv vboxnetflt vboxnetadp \
 vboxpci
 
@@ -64,6 +66,7 @@ vboxnetflt: vboxdrv
if [ -f vboxdrv/Module.symvers ]; then \
cp vboxdrv/Module.symvers vboxnetflt; \
fi; \
+   export KBUILD_EXTRA_SYMBOLS=${PWD}/vboxnetflt/Module.symvers; \
echo "=== Building 'vboxnetflt' module ==="; \
$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C 

commit virtualbox for openSUSE:Factory

2019-12-11 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2019-12-11 12:00:21

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.4691 (New)


Package is "virtualbox"

Wed Dec 11 12:00:21 2019 rev:187 rq:754102 version:6.0.14

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2019-11-06 
13:48:39.355671848 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.4691/virtualbox.changes  
2019-12-11 12:00:49.340848949 +0100
@@ -1,0 +2,5 @@
+Wed Dec  4 16:33:09 UTC 2019 - Larry Finger 
+
+- Update file "switch_to_python3.4+.patch" to handle Python 3.8. (bsc#1158288) 
+
+---



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.bqSSXi/_old  2019-12-11 12:00:53.232847312 +0100
+++ /var/tmp/diff_new_pack.bqSSXi/_new  2019-12-11 12:00:53.240847308 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package virtualbox
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -52,7 +52,7 @@
 Summary:VirtualBox is an Emulator
 License:GPL-2.0-or-later
 Group:  System/Emulators/PC
-Url:http://www.virtualbox.org/
+URL:http://www.virtualbox.org/
 #
 # so you don't need to repack virtualbox by hand, just add new release of 
VirtualBox-x.x.x.tar.bz2 and line below with
 # script virtualbox-patch-source.sh will do the job :)
@@ -154,6 +154,7 @@
 Patch133:   fixes_for_5.4.patch
 Patch999:   virtualbox-fix-ui-background-color.patch
 #
+BuildRequires:  %{python_module devel}
 BuildRequires:  LibVNCServer-devel
 BuildRequires:  SDL-devel
 BuildRequires:  acpica
@@ -460,6 +461,7 @@
 
 # make VB UI background colors look sane again
 %patch999 -p1
+echo "sle_version $(0%{?sle_version})" 
 
 #copy user manual
 cp %{SOURCE1} UserManual.pdf

++ switch_to_python3.4+.patch ++
--- /var/tmp/diff_new_pack.bqSSXi/_old  2019-12-11 12:00:53.416847234 +0100
+++ /var/tmp/diff_new_pack.bqSSXi/_new  2019-12-11 12:00:53.416847234 +0100
@@ -19,7 +19,7 @@
  EOF
found=
 -  SUPPYTHONLIBS="python2.7 python2.6 python3.1 python3.2 python3.3 python3.4 
python3.4m python3.5 python3.5m python3.6 python3.6m"
-+  SUPPYTHONLIBS="python3.4 python3.4m python3.5 python3.5m python3.6m 
python3.6 python3.7m python3.7"
++  SUPPYTHONLIBS="python3.4 python3.4m python3.5 python3.5m python3.6m 
python3.6 python3.7m python3.7 python3.8m python3.8"
for p in $PYTHONDIR; do
  for d in $SUPPYTHONLIBS; do
for b in lib/x86_64-linux-gnu lib/i386-linux-gnu lib64 lib/64 lib; do
@@ -176,3 +176,82 @@
if (iid.Equals(NS_GET_IID(nsISupports)))
return (nsISupports *)(nsIInternalPython *)this;
if (iid.Equals(NS_GET_IID(nsISupportsWeakReference)))
+Index: VirtualBox-6.0.14/src/libs/xpcom18a4/python/Makefile.kmk
+===
+--- VirtualBox-6.0.14.orig/src/libs/xpcom18a4/python/Makefile.kmk
 VirtualBox-6.0.14/src/libs/xpcom18a4/python/Makefile.kmk
+@@ -26,7 +26,7 @@ endif
+ 
+ #
+ # List of supported Python versions, defining a number of
+-# 
VBOX_PYTHON[26|27|31|32|32M|33|33M|34|34M|35|35M|36|36M|37|37M|DEF]_[INC|LIB] 
variables
++# 
VBOX_PYTHON[26|27|31|32|32M|33|33M|34|34M|35|35M|36|36M|37|37M|38|38M|DEF]_[INC|LIB]
 variables
+ # which get picked up below.
+ #
+ ifeq ($(KBUILD_TARGET),darwin) # Relatively predictable, don't script.
+@@ -486,6 +486,52 @@ VBoxPython3_7m_x86_LIBS   = $(VBOX_P
+   endif
+  endif
+ endif
++
++ifdef VBOX_PYTHON38_INC
++#
++# Python 3.8 version
++#
++DLLS += VBoxPython3_8
++VBoxPython3_8_EXTENDS= VBoxPythonBase
++VBoxPython3_8_EXTENDS_BY = appending
++VBoxPython3_8_TEMPLATE   = XPCOM
++VBoxPython3_8_INCS   = $(VBOX_PYTHON38_INC)
++VBoxPython3_8_LIBS   = $(VBOX_PYTHON38_LIB)
++
++ ifdef VBOX_WITH_32_ON_64_MAIN_API
++  ifdef VBOX_PYTHON38_LIB_X86
++DLLS += VBoxPython3_8_x86
++VBoxPython3_8_x86_EXTENDS= VBoxPythonBase_x86
++VBoxPython3_8_x86_EXTENDS_BY = appending
++VBoxPython3_8_x86_TEMPLATE   = XPCOM
++VBoxPython3_8_x86_INCS   = $(VBOX_PYTHON38_INC)
++VBoxPython3_8_x86_LIBS   = $(VBOX_PYTHON38_LIB_X86)
++  endif
++ endif
++endif
++
++ifdef VBOX_PYTHON38M_INC
++#
++# Python 3.8 version with pymalloc
++#
++DLLS += VBoxPython3_8m
++VBoxPython3_8m_EXTENDS= VBoxPythonBase_m
++VBoxPython3_8m_EXTENDS_BY = appending
++VBoxPython3_8m_TEMPLATE   = XPCOM
++VBoxPython3_8m_INCS   = $(VBOX_PYTHON38M_INC)
++VBoxPython3_8m_LIBS   = 

commit virtualbox for openSUSE:Factory

2019-11-06 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2019-11-06 13:48:33

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.2990 (New)


Package is "virtualbox"

Wed Nov  6 13:48:33 2019 rev:186 rq:745533 version:6.0.14

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2019-10-25 
18:39:34.775752459 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.2990/virtualbox.changes  
2019-11-06 13:48:39.355671848 +0100
@@ -1,0 +2,15 @@
+Tue Nov  5 14:44:08 UTC 2019 - Larry Finger 
+
+- Try to fix unresolvable kernel version in Leap 15.2.
+
+---
+Sat Nov  2 00:58:22 UTC 2019 - Larry Finger 
+
+- Fix build errors in Leap 42.3
+
+---
+Thu Oct 31 18:55:37 UTC 2019 - Larry Finger 
+
+- Update "fixes_for_5.4.patch" for kernel API backport in openSUSE 15.2 
+
+---



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.CI17vS/_old  2019-11-06 13:48:44.015676900 +0100
+++ /var/tmp/diff_new_pack.CI17vS/_new  2019-11-06 13:48:44.023676909 +0100
@@ -60,7 +60,9 @@
 #%%(bash %%{_sourcedir}/virtualbox-patch-source.sh 
VirtualBox-%%{version}.tar.bz2)
 Source0:VirtualBox-%{version}-patched.tar.bz2
 Source1:UserManual.pdf
+%if 0%{?sle_version} != 120300 
 Source2:VirtualBox.appdata.xml
+%endif
 Source3:%{name}-60-vboxguest.rules
 Source4:%{name}-default.virtualbox
 Source5:%{name}-kmp-files
@@ -176,7 +178,7 @@
 BuildRequires:  gsoap-devel >= 2.8.50
 BuildRequires:  java-devel >= 1.6.0
 BuildRequires:  kbuild >= 0.1.9998svn3101
-#BuildRequires:  kernel-syms
+BuildRequires:  kernel-syms
 BuildRequires:  libcap-devel
 BuildRequires:  libcurl-devel
 BuildRequires:  libelf-devel
@@ -444,6 +446,7 @@
 %patch123 -p1
 %patch125 -p1
 %patch128 -p1
+echo "sle_version " %{?sle_version}", is_opensuse " %{?is_opensuse}", 
suse_version " %{?suse_version}
 # Adjustments that are version dependent
 %if 0%{?sle_version} == 120300 && 0%{?is_opensuse} 
 # Patch for Leap 42.3
@@ -589,7 +592,9 @@
 install -d -m 755 %{buildroot}%{_sbindir}
 install -d -m 755 %{buildroot}%{_datadir}/virtualbox/nls
 install -d -m 755 %{buildroot}%{_datadir}/pixmaps
+%if 0%{?sle_version} != 120300 
 install -d -m 755 %{buildroot}%{_datadir}/metainfo
+%endif
 install -d -m 755 %{buildroot}%{_datadir}/applications
 install -d -m 755 %{buildroot}%{_vbox_instdir}/sdk/bindings/xpcom
 install -d -m 755 %{buildroot}%{_vbox_instdir}/components
@@ -711,9 +716,11 @@
 install -m 644 out/linux.*/release/bin/virtualbox.desktop 
%{buildroot}%{_datadir}/applications/%{name}.desktop
 %suse_update_desktop_file  
%{buildroot}%{_datadir}/applications/%{name}.desktop 'System Emulator'
 
+%if 0%{?sle_version} != 120300 
 # install appstream file
 mkdir -p %{buildroot}%{_datadir}/metainfo
 install -m 644 %{SOURCE2}  
%{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml
+%endif
 
 # create a menu entry
 mkdir -p %{buildroot}%{_datadir}/pixmaps
@@ -1028,7 +1035,9 @@
 %{_vbox_instdir}/VBoxSharedClipboard.so
 %{_datadir}/pixmaps/virtualbox.png
 %{_datadir}/applications/%{name}.desktop
+%if 0%{?sle_version} != 120300 
 %{_datadir}/metainfo/%{name}.appdata.xml
+%endif
 %{_udevrulesdir}/60-vboxdrv.rules
 
 %files guest-x11

++ fixes_for_5.4.patch ++
--- /var/tmp/diff_new_pack.CI17vS/_old  2019-11-06 13:48:44.111677004 +0100
+++ /var/tmp/diff_new_pack.CI17vS/_new  2019-11-06 13:48:44.111677004 +0100
@@ -2,11 +2,22 @@
 ===
 --- 
VirtualBox-6.0.14.orig/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
 +++ VirtualBox-6.0.14/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
-@@ -924,8 +924,13 @@ static void vboxNetFltLinuxSkBufToSG(PVB
+@@ -73,6 +73,10 @@
+ #define VBOXNETFLT_OS_SPECFIC 1
+ #include "../VBoxNetFltInternal.h"
+ 
++# if CONFIG_SUSE_VERSION == 15 && CONFIG_SUSE_PATCHLEVEL == 2
++#  define OPENSUSE_152
++# endif
++
+ typedef struct VBOXNETFLTNOTIFIER {
+ struct notifier_block Notifier;
+ PVBOXNETFLTINS pThis;
+@@ -924,8 +928,13 @@ static void vboxNetFltLinuxSkBufToSG(PVB
  for (i = 0; i < skb_shinfo(pBuf)->nr_frags; i++)
  {
  skb_frag_t *pFrag = _shinfo(pBuf)->frags[i];
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) || defined(OPENSUSE_152)
 +pSG->aSegs[iSeg].cb = pFrag->bv_len;
 +pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + 

commit virtualbox for openSUSE:Factory

2019-10-25 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2019-10-25 18:39:19

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.2990 (New)


Package is "virtualbox"

Fri Oct 25 18:39:19 2019 rev:185 rq:741910 version:6.0.14

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2019-10-21 
12:25:03.491733352 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.2990/virtualbox.changes  
2019-10-25 18:39:34.775752459 +0200
@@ -1,0 +2,42 @@
+Tue Oct 22 06:44:20 UTC 2019 - Larry Finger 
+
+- Tweak file setup for appstream.
+
+---
+Tue Oct 22 00:39:41 UTC 2019 - Larry Finger 
+
+- Add directory %{buildroot}%{_datadir}/metainfo for metafile 
"virtualbox.appdata.xml
+
+---
+Mon Oct 21 18:39:47 UTC 2019 - Stasiek Michalski 
+
+- Add appstream file (boo#1154128)
+
+---
+Wed Oct 16 18:14:41 UTC 2019 - Larry Finger 
+
+- Version bumk to 6.0.14 (released October 15 2019 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+Virtualization core: fixed an invalid-guest state guru meditation in some rare 
circumstances on Intel hosts
+Virtualization core: some fixes for systems with lots of processors
+Audio: relaxed VRM / VRA (variable rate audio) bit checks to provide more 
compatibility for guests running ALSA setups with the AC'97 emulation
+USB: made device capturing for passthrough more accurate and reliable on 
Windows host
+Network: fixed potential issue with interrupt signalling for network adapters 
in UEFI guests
+3D: fixed flicker and redraw issues when using VBoxSVGA or VMSVGA graphics 
adapter (bugs #18562, #18956)
+3D: fixed crash with some applications when using VBoxSVGA or VMSVGA graphics 
adapter (bug #18638)
+macOS host: fix crash of GUI VM process which showed up frequently with 10.15 
Catalina (bug #18990)
+Linux host: support Linux 5.3, thank you Larry Finger (see also bug #18911)
+Linux host: improve python version detection during rpm package creation, can 
change package dependencies and fix some installation problems
+Linux guests: calls to aio_read(3) and aio_write(3) may fail inside shared 
folders (bug #18805)
+Linux guests: fix problem with shared folder unmounting in service script, 
thank you Denis Ryndine (bug #18853)
+Linux guests: VBox 6.0.10 GAs fail to compile on Red Hat/CentOS/Oracle Linux 
7.7 and Red Hat 8.1 Beta (bug #18917)
+
+Fix vulnerabilities CVE-2019-3028 CVE-2019-3017 CVE-2019-2944 CVE-2019-3026 
CVE-2019-3021
+CVE-2019-2984 CVE-2019-3002 CVE-2019-3005 CVE-2019-3031 
CVE-2019-1547
+CVE-2019-2926 (bsc#1154166)
+
+Removed file "fixes_for_5.3.patch" - fixes included upstream.
+
+---

Old:

  VirtualBox-6.0.12-patched.tar.bz2
  fixes_for_5.3.patch

New:

  VirtualBox-6.0.14-patched.tar.bz2
  VirtualBox.appdata.xml



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.m3GHyJ/_old  2019-10-25 18:39:37.255754794 +0200
+++ /var/tmp/diff_new_pack.m3GHyJ/_new  2019-10-25 18:39:37.259754798 +0200
@@ -47,7 +47,7 @@
 %define _udevrulesdir /usr/lib/udev/rules.d
 Name:   virtualbox
 # * If the VB version exceeds 6.0.x, notify the libvirt maintainer!!
-Version:6.0.12
+Version:6.0.14
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0-or-later
@@ -60,6 +60,7 @@
 #%%(bash %%{_sourcedir}/virtualbox-patch-source.sh 
VirtualBox-%%{version}.tar.bz2)
 Source0:VirtualBox-%{version}-patched.tar.bz2
 Source1:UserManual.pdf
+Source2:VirtualBox.appdata.xml
 Source3:%{name}-60-vboxguest.rules
 Source4:%{name}-default.virtualbox
 Source5:%{name}-kmp-files
@@ -144,8 +145,6 @@
 Patch128:   fix_lib_search.patch
 # Fixes for modified kernel in Leap 42.3
 Patch130:   fixes_for_Leap42.3.patch
-# Fixes for API changes in kernel 5.3
-Patch131:   fixes_for_5.3.patch
 # Fixes for Qt5.13 on 32-bit systems
 Patch132:   fixes_for_qt5.13.patch
 #endif
@@ -450,7 +449,6 @@
 # Patch for Leap 42.3
 %patch130 -p1
 %endif
-%patch131 -p1
 # Handle the 32-bit changes needed for Qt 5.13
 %ifarch %ix86 && 0%{?qt5ver} >= 51300
 %patch132 -p1
@@ -591,6 +589,7 @@
 install -d -m 755 %{buildroot}%{_sbindir}
 install -d -m 755 %{buildroot}%{_datadir}/virtualbox/nls
 install -d -m 755 %{buildroot}%{_datadir}/pixmaps
+install -d -m 755 %{buildroot}%{_datadir}/metainfo
 install -d 

commit virtualbox for openSUSE:Factory

2019-10-21 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2019-10-21 12:24:54

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.2352 (New)


Package is "virtualbox"

Mon Oct 21 12:24:54 2019 rev:184 rq:738719 version:6.0.12

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2019-10-10 
11:50:24.615804543 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.2352/virtualbox.changes  
2019-10-21 12:25:03.491733352 +0200
@@ -1,0 +2,6 @@
+Tue Oct 15 20:27:49 UTC 2019 - Larry Finger 
+
+- Kernel 5.4.0-rc3 introduces a change in the way the compiler handles the 
fallthrough
+  attribute leading to build errors. File "fixes_for_5.4.patch" is modified to 
build correctly.
+
+---



Other differences:
--
++ fixes_for_5.4.patch ++
--- /var/tmp/diff_new_pack.RUhHjc/_old  2019-10-21 12:25:08.883739464 +0200
+++ /var/tmp/diff_new_pack.RUhHjc/_new  2019-10-21 12:25:08.883739464 +0200
@@ -105,3 +105,26 @@
  }
  
  int
+Index: VirtualBox-6.0.12/include/iprt/cdefs.h
+===
+--- VirtualBox-6.0.12.orig/include/iprt/cdefs.h
 VirtualBox-6.0.12/include/iprt/cdefs.h
+@@ -1166,14 +1166,15 @@
+  * Tell the compiler that we're falling through to the next case in a switch.
+  * @sa RT_FALL_THRU  */
+ #if RT_GNUC_PREREQ(7, 0)
+-# define RT_FALL_THROUGH()  __attribute__((fallthrough))
++# define FALL_THROUGH __attribute__((__fallthrough__))
+ #else
+-# define RT_FALL_THROUGH()  (void)0
++# define FALL_THROUGH  (void)0
+ #endif
+ /** @def RT_FALL_THRU
+  * Tell the compiler that we're falling thru to the next case in a switch.
+  * @sa RT_FALL_THROUGH */
+-#define RT_FALL_THRU()  RT_FALL_THROUGH()
++#define RT_FALL_THRU()  FALL_THROUGH
++#define RT_FALL_THROUGH() FALL_THROUGH
+ 
+ 
+ /** @def RT_IPRT_FORMAT_ATTR





commit virtualbox for openSUSE:Factory

2019-10-10 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2019-10-10 11:50:15

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.2352 (New)


Package is "virtualbox"

Thu Oct 10 11:50:15 2019 rev:183 rq:736272 version:6.0.12

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2019-09-11 
10:18:03.831528106 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.2352/virtualbox.changes  
2019-10-10 11:50:24.615804543 +0200
@@ -1,0 +2,35 @@
+Tue Oct  8 16:28:12 UTC 2019 - Stefan Dirsch 
+
+- added "BuildRequires: pkgconfig(xdamage)" in order to fix build
+  with upcoming changes in libglvnd/Mesa
+
+---
+Mon Oct  7 14:58:25 UTC 2019 - Larry Finger 
+
+- Rework "fixes_for_5.4.patch" to unconditionally remove set_pages_nx() and
+  set_pages_x() as these changes are backported to Kernel:HEAD:KMP.
+
+---
+Wed Oct  2 19:08:58 UTC 2019 - Larry Finger 
+
+- Update file "fixes_for_5.4.patch" to handle removal of DRIVER_PRIME and 
rework of
+  struct ttm_buffer_object.
+
+---
+Thu Sep 26 14:46:23 UTC 2019 - Larry Finger 
+
+- Remove BuildRequires for device-mapper as workarounds for OBS bugs are not 
allowed.
+
+---
+Wed Sep 25 17:22:31 UTC 2019 - Larry Finger 
+
+- Added file "set_graphics_type.patch" to set graphics adapter type to VBoxVGA 
boo#1151896
+
+---
+Mon Sep 23 17:17:18 UTC 2019 - Larry Finger 
+
+- Add BuildRequires for  device-mapper
+
+- Add file "fixes_for_5.4.patch" to handle API changes in kernel 5.4
+
+---

New:

  fixes_for_5.4.patch
  set_graphics_type.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.aZ9BF4/_old  2019-10-10 11:50:30.211789691 +0200
+++ /var/tmp/diff_new_pack.aZ9BF4/_new  2019-10-10 11:50:30.215789680 +0200
@@ -95,6 +95,8 @@
 #fix failed linking process during build - this patch is just quick workaround
 Patch10:vbox-gsoapssl-deps.diff
 #PATCH-FIX-OPENSUSE implement messagebox (VBoxPermissionMessage app), which is 
displayed, when user
+# Set graphics adapter type to VBoxVGA boo#1151896
+Patch98:set_graphics_type.patch
 #try to start VirtualBox and is not member of vboxusers group
 Patch99:vbox-permissions_warning.diff
 #PATCH-FIX-OPENSUSE Do not include build dates on binaries, makes 
build-compare happier
@@ -147,6 +149,8 @@
 # Fixes for Qt5.13 on 32-bit systems
 Patch132:   fixes_for_qt5.13.patch
 #endif
+# Fixes for API changes in kernel 5.4
+Patch133:   fixes_for_5.4.patch
 Patch999:   virtualbox-fix-ui-background-color.patch
 #
 BuildRequires:  LibVNCServer-devel
@@ -209,6 +213,7 @@
 BuildRequires:  pkgconfig(xau)
 BuildRequires:  pkgconfig(xcomposite)
 BuildRequires:  pkgconfig(xcursor)
+BuildRequires:  pkgconfig(xdamage)
 BuildRequires:  pkgconfig(xdmcp)
 BuildRequires:  pkgconfig(xext)
 BuildRequires:  pkgconfig(xextproto)
@@ -416,6 +421,7 @@
 %patch8 -p1
 %patch9 -p1
 %patch10 -p1
+%patch98 -p1
 %patch99 -p1
 %patch100 -p1
 %patch101 -p1
@@ -449,6 +455,7 @@
 %ifarch %ix86 && 0%{?qt5ver} >= 51300
 %patch132 -p1
 %endif
+%patch133 -p1
 
 # make VB UI background colors look sane again
 %patch999 -p1

++ fixes_for_5.4.patch ++
Index: 
VirtualBox-6.0.12/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
===
--- 
VirtualBox-6.0.12.orig/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
+++ VirtualBox-6.0.12/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
@@ -924,8 +924,13 @@ static void vboxNetFltLinuxSkBufToSG(PVB
 for (i = 0; i < skb_shinfo(pBuf)->nr_frags; i++)
 {
 skb_frag_t *pFrag = _shinfo(pBuf)->frags[i];
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)
+pSG->aSegs[iSeg].cb = pFrag->bv_len;
+pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->bv_offset;
+#else
 pSG->aSegs[iSeg].cb = pFrag->size;
 pSG->aSegs[iSeg].pv = VBOX_SKB_KMAP_FRAG(pFrag) + pFrag->page_offset;
+#endif
 Log6((" %p", pSG->aSegs[iSeg].pv));
 pSG->aSegs[iSeg++].Phys = NIL_RTHCPHYS;
 Assert(iSeg <= pSG->cSegsAlloc);
@@ -940,8 +945,13 @@ static void vboxNetFltLinuxSkBufToSG(PVB
 for (i = 0; i < skb_shinfo(pFragBuf)->nr_frags; i++)
 {
 skb_frag_t *pFrag = _shinfo(pFragBuf)->frags[i];
+#if 

commit virtualbox for openSUSE:Factory

2019-09-11 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2019-09-11 10:17:53

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.7948 (New)


Package is "virtualbox"

Wed Sep 11 10:17:53 2019 rev:182 rq:729137 version:6.0.12

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2019-08-07 
13:58:20.168854894 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.7948/virtualbox.changes  
2019-09-11 10:18:03.831528106 +0200
@@ -1,0 +2,26 @@
+Sat Sep  7 21:28:46 UTC 2019 - Larry Finger 
+
+Added file "README.build" to documentation with instructions for me and any 
eventual successors.
+
+- Version update to 6.0.12 (released September 03 2019 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+OCI export: handle empty disk image correctly
+API: fix potential crash when using the medium I/O functionality
+VBoxManage: fixed documentation of VBoxManage modifyvm uarttype documentation 
(bug #18759)
+Network: scrub inbound TCP URG pointer, working around incorrect OOB handling
+USB: Improved identification of power-saved devices on Windows hosts
+Audio: in the AC97 work around buggy guest drivers which reprogram the 
sampling rate, breaking audio in and/or audio out
+Linux host and guest: fix kernel module build for SLES 12 SP4 kernel
+3D: fixed state saving and loading when the VBoxVGA graphics adapter is used 
with 3D enabled (bug #18802, 6.0.10 regression)
+Windows guests: fixed mouse cursor visibility updating
+Windows guests: fixed graphics corruption in Windows 10 search menu with 
VBoxSVGA adapter
+Windows guests: fixed dwm.exe crashes related to the WDDM driver for VBoxSVGA 
adapter when the VM has lots of RAM
+MacOS Guest Additions fail to start in 6.0.10 (bug #18793)
+Windows guests: fixed crashes when using shared folders (bug #18766)
+Linux guests: unprivileged users unable to create files inside shared folders 
(bug #18737)
+Linux guests: improve compatibility of vboxvideo.ko kernel module build logic 
(bug #18869)
+ 
+
+---

Old:

  VirtualBox-6.0.10-patched.tar.bz2

New:

  README.build
  VirtualBox-6.0.12-patched.tar.bz2



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.yfayUo/_old  2019-09-11 10:18:08.519527524 +0200
+++ /var/tmp/diff_new_pack.yfayUo/_new  2019-09-11 10:18:08.523527524 +0200
@@ -47,7 +47,7 @@
 %define _udevrulesdir /usr/lib/udev/rules.d
 Name:   virtualbox
 # * If the VB version exceeds 6.0.x, notify the libvirt maintainer!!
-Version:6.0.10
+Version:6.0.12
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0-or-later
@@ -78,6 +78,7 @@
 Source22:   vboxweb-service.sh
 Source23:   vboxautostart.service
 Source24:   vboxautostart.sh
+Source97:   README.build
 Source98:   %{name}-rpmlintrc
 Source99:   %{name}-patch-source.sh
 #rework init scripts to fit suse needs
@@ -454,6 +455,8 @@
 
 #copy user manual
 cp %{SOURCE1} UserManual.pdf
+#copy README.build
+cp %{SOURCE97} README.build
 #copy kbuild config
 cp %{SOURCE10} LocalConfig.kmk
 #copy autostart doc
@@ -916,7 +919,7 @@
 
 %files
 %defattr(-, root, root)
-%doc README.autostart UserManual.pdf
+%doc README.autostart UserManual.pdf README.build
 %{_bindir}/VBoxManage
 %{_bindir}/VBoxHeadless
 %{_bindir}/VBoxTunctl

++ README.build ++
Instructions for creating a separate VirtualBox project and building the 
packages

Although it is possible to modify a project at the openSUSE Build System (OBS),
I have found it to be more convenient to use the various osc commands to create 
a
local copy, edit it on my own computer to fix any problems, and then push the 
result
to OBS.

A. Create a new sub-project:
   1. Branch the package:
osc branch Virtualization virtualbox
   2. Checkout the package using the "osc co" command listed

B. Build the project:
   1. Use "osc build" to build. This step is rather compute intensive and
  takes about an hour on my Toshiba laptop with a dual-core Intel Core i7 
CPU
  with hyper-threading, 12 GB RAM, and an SSD.
   2. The build results are stored in the /var/tmp/build-root tree. These files
  can occupy a lot of disc space, particularly when one builds several 
flavors.
  To keep from running out of space on the / partition, I mount /var/tmp on
  a separate partition. At present, I have used about 43 GiB in that 
partition.
   3. Special flavors:
  When a new kernel is released, there may be several API changes that 
affect
  builds of the kernel modules used by 

commit virtualbox for openSUSE:Factory

2019-08-07 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2019-08-07 13:58:05

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.9556 (New)


Package is "virtualbox"

Wed Aug  7 13:58:05 2019 rev:181 rq:720266 version:6.0.10

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2019-07-12 
11:59:01.480174792 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.9556/virtualbox.changes  
2019-08-07 13:58:20.168854894 +0200
@@ -2 +2 @@
-Sat Jul  6 17:06:28 UTC 2019 - Larry Finger 
+Mon Jul 29 06:40:41 UTC 2019 - Larry Finger 
@@ -4 +4,8 @@
-- Correct the logic for SLE15_SP1.
+- Merge host kmp and guest kmp into a single kmp. The existence of two 
different kernel module
+  packages is believed to be the reason that it is possible for a new kernel 
not to include
+  the necessary kernel modules (boo#1142955).
+  Files "virtualbox-host-kmp-files" and "virtualbox-guest-kmp-files" are 
deleted.
+  File "virtualbox-kmp-files" is added.
+  Files "virtualbox-host-preamble" and virtualbox-guest-preamble" are deleted.
+  File "virtualbox-kmp-preamble" is added.
+  File "fix_conflict_between_host_and_guest.patch" is added.
@@ -7 +14 @@
-Sat Jul  6 02:30:18 UTC 2019 - Larry Finger 
+Sat Jul 27 01:53:12 UTC 2019 - Larry Finger 
@@ -9 +16,48 @@
-- Update the patch for SLE15 to handle the changes in SP1.
+- Script vboxdrv.sh, which is called from the systemd service file, 
incorrectly called a routine
+  that does not exist when the kernel modules were not available. This call is 
changed to /sbin/vboxconfig
+  that will build the modules if the requisite packages are available. If that 
is not true, the
+  systemctl status vboxdrv will list the command needed to load the missing 
packages. This change
+  address part of boo#1142995. 
+
+---
+Thu Jul 18 11:48:00 UTC 2019 - Larry Finger 
+
+- Version update to 6.0.10 (released July 16 2019 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+Various vulnerabilities are fixed (bsc#1141801) inclding
+CVE-2019-2859 CVE-2019-2867 CVE-2019-2866 CVE-2019-2864 CVE-2019-2865 
CVE-2019-1543 CVE-2019-2863
+CVE-2019-2848 CVE-2019-2877 CVE-2019-2873 CVE-2019-2874 CVE-2019-2875 
CVE-2019-2876 CVE-2019-2850
+
+User interface: fix issue inputing controller names (bug #11579)
+User interface: fix resize problems with recent Linux hosts (bug #18677)
+Serial: fixed guru meditation when raw mode is enabled (bug #18632)
+Serial: fixed possible VM crash under certain circumstances
+USB: Fixed "unrecoverable error" problems in OHCI emulation (bug #18593, 6.0.6 
regression)
+USB: improve captured device identification
+VBoxManage: fix reversed reporting of audio input and output (thank you 
Socratis Kalogrianitis)
+VBoxManage: fix controlling recording for running machine (bug #18723)
+Guest control service: various fixes
+Linux hosts: kernel module build fixes for various kernels (bug #18316)
+Linux hosts: support UEFI secure boot driver signing on Ubuntu and Debian 
hosts (bug #11577)
+Linux hosts: fix focus grabbing problems with recent Qt versions (builds from 
source only; thank you Fabian Vogt (SUSE) and Larry Finger; bug #18745)
+Windows guests: many shared folders fixes
+Windows guests: fix other services failing if seamless mode was not available
+Linux guests: kernel module build fixes for various kernels (bugs #18677 and 
#18697; fixes by Larry Finger and Gianfranco Costamagna)
+Linux guests: do not try to load old versions of libcrypt on recent guests in 
Guest Additions tools (bug #18682)
+Linux guests: udev rules for guest kernel modules did not always take effect 
in time
+Linux guests/VMSVGA: do not forget the guest screen size after a guest reboot
+OS/2 guests: various shared folder fixes
+
+File "fixes_for_5.2.patch" is deleted - fixed upstream.
+File "fixes_for_5.3.patch" is added to handle API changes in kernel 5.3.
+File "fixes_for_Leap15.1.patch" is deleted - fixed upstream.
+File "fixes_focus_steal.patch" is deleted - fixed upstream.
+
+---
+Mon Jul 15 19:31:05 UTC 2019 - Larry Finger 
+
+- Revise instructions for case when VirtualBoxVM has the wrong privilege.
+  Rework conditional code when applying patch for SLE15_SP1.
+  File "fixes_for_SLE15.patch" deleted.

Old:

  VirtualBox-6.0.8-patched.tar.bz2
  fixes_focus_steal.patch
  fixes_for_5.2.patch
  fixes_for_Leap15.1.patch
  fixes_for_SLE15.patch
  virtualbox-guest-kmp-files
  virtualbox-guest-preamble
  virtualbox-host-kmp-files
  virtualbox-host-preamble

New:

  VirtualBox-6.0.10-patched.tar.bz2
  fix_conflict_between_host_and_guest.patch
  fixes_for_5.3.patch
  

commit virtualbox for openSUSE:Factory

2019-07-12 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2019-07-12 11:59:00

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.4615 (New)


Package is "virtualbox"

Fri Jul 12 11:59:00 2019 rev:180 rq:714454 version:6.0.8

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2019-06-17 
10:30:39.929350320 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.4615/virtualbox.changes  
2019-07-12 11:59:01.480174792 +0200
@@ -1,0 +2,15 @@
+Sat Jul  6 17:06:28 UTC 2019 - Larry Finger 
+
+- Correct the logic for SLE15_SP1.
+
+---
+Sat Jul  6 02:30:18 UTC 2019 - Larry Finger 
+
+- Update the patch for SLE15 to handle the changes in SP1.
+
+---
+Sat Jul  6 02:24:37 UTC 2019 - Larry Finger 
+
+- Fix Virtualbox for problem with stealing focus under Qt 5.13. File 
"fixes_focus_steal.patch" is added.
+
+---

New:

  fixes_focus_steal.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.WtiyJX/_old  2019-07-12 11:59:04.428174014 +0200
+++ /var/tmp/diff_new_pack.WtiyJX/_new  2019-07-12 11:59:04.432174013 +0200
@@ -149,6 +149,8 @@
 Patch132:   fixes_for_5.2.patch
 # Fixes for SLE15
 Patch133:   fixes_for_SLE15.patch
+# Fixes for VB stealing focus under Qt 5.13
+Patch134:   fixes_focus_steal.patch
 #endif
 Patch999:   virtualbox-fix-ui-background-color.patch
 #
@@ -453,8 +455,11 @@
 %if 0%{?suse_version} > 1500 || (0%{?sle_version} >= 150100 && 
0%{?is_opensuse})
 %patch129 -p1
 %else
+%if (0%{?sle_version} == 150100)
+# Patch only for SLE15.1
 %patch133 -p1
 %endif
+%endif
 # Leap 42.3 adjustments
 %if 0%{?sle_version} == 120300 && 0%{?is_opensuse} 
 %patch130 -p1
@@ -464,6 +469,7 @@
 %patch131 -p1
 %endif
 %patch132 -p1
+%patch134 -p1
 # make VB UI background colors look sane again
 %patch999 -p1
 

++ fixes_focus_steal.patch ++
Index: a/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp
===
--- a/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp (revision 
131843)
+++ b/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp
(working copy)
@@ -269,6 +269,14 @@
  * the keyboard before the target window sees the click. (GNOME 
Shell's hot corner has
  * the same problem. At present we just let that problem be.) */

+/* Make sure we really do still have the focus: */
+xcb_get_input_focus_cookie_t xcbFocusCookie = 
xcb_get_input_focus(QX11Info::connection());
+xcb_get_input_focus_reply_t *pFocusReply = 
xcb_get_input_focus_reply(QX11Info::connection(), xcbFocusCookie, 0);
+xcb_window_t xcbFocusWindow = pFocusReply->focus;
+free(pFocusReply);
+if (xcbFocusWindow != m_windows[m_iKeyboardCaptureViewIndex]->winId())
+return true;
+
 /* Grab the mouse button.
  * We do not check for failure as we do not currently implement a 
back-up plan. */
 /* If any previous grab is still in process, release it. */


++ fixes_for_SLE15.patch ++
--- /var/tmp/diff_new_pack.WtiyJX/_old  2019-07-12 11:59:04.524173989 +0200
+++ /var/tmp/diff_new_pack.WtiyJX/_new  2019-07-12 11:59:04.524173989 +0200
@@ -14,3 +14,21 @@
  
.fops = _fops,
.irq_handler = vbox_irq_handler,
+Index: VirtualBox-6.0.8/src/VBox/Additions/linux/drm/vbox_main.c
+===
+--- VirtualBox-6.0.8.orig/src/VBox/Additions/linux/drm/vbox_main.c
 VirtualBox-6.0.8/src/VBox/Additions/linux/drm/vbox_main.c
+@@ -600,13 +600,6 @@ int vbox_dumb_destroy(struct drm_file *f
+ }
+ #endif
+ 
+-#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 19, 0)
+-static void ttm_bo_put(struct ttm_buffer_object *bo)
+-{
+-  ttm_bo_unref();
+-}
+-#endif
+-
+ void vbox_gem_free_object(struct drm_gem_object *obj)
+ {
+   struct vbox_bo *vbox_bo = gem_to_vbox_bo(obj);





commit virtualbox for openSUSE:Factory

2019-06-17 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2019-06-17 10:30:35

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.4811 (New)


Package is "virtualbox"

Mon Jun 17 10:30:35 2019 rev:179 rq:710102 version:6.0.8

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2019-06-04 
12:09:38.883874680 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.4811/virtualbox.changes  
2019-06-17 10:30:39.929350320 +0200
@@ -1,0 +2,5 @@
+Mon Jun 10 18:09:09 UTC 2019 - Larry Finger 
+
+- Fix build for SLE15 SP1 - add file "fixes_for_SLE15.patch"
+
+---

New:

  fixes_for_SLE15.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.rrTztG/_old  2019-06-17 10:30:46.909346468 +0200
+++ /var/tmp/diff_new_pack.rrTztG/_new  2019-06-17 10:30:46.929346457 +0200
@@ -147,6 +147,8 @@
 Patch131:   fixes_for_qt5.13.patch
 # Fixes for kernel 5.2
 Patch132:   fixes_for_5.2.patch
+# Fixes for SLE15
+Patch133:   fixes_for_SLE15.patch
 #endif
 Patch999:   virtualbox-fix-ui-background-color.patch
 #
@@ -450,6 +452,8 @@
 # Tumbleweed, Leap 15.1 and above drm adjustments
 %if 0%{?suse_version} > 1500 || (0%{?sle_version} >= 150100 && 
0%{?is_opensuse})
 %patch129 -p1
+%else
+%patch133 -p1
 %endif
 # Leap 42.3 adjustments
 %if 0%{?sle_version} == 120300 && 0%{?is_opensuse} 

++ fixes_for_5.2.patch ++
--- /var/tmp/diff_new_pack.rrTztG/_old  2019-06-17 10:30:47.237346286 +0200
+++ /var/tmp/diff_new_pack.rrTztG/_new  2019-06-17 10:30:47.237346286 +0200
@@ -1,3 +1,10 @@
+There are two kernel 5.2 API changes that affect VirtualBox:
+
+1. drm_fb_helper_fill_fix() and drm_fb_helper_fill_var() are replaced
+   by drm_fb_helper_fill_info().
+2. The arguments for ttm_bo_device_init() are changed.
+
+
 Index: VirtualBox-6.0.8/src/VBox/Additions/linux/drm/vbox_fb.c
 ===
 --- VirtualBox-6.0.8.orig/src/VBox/Additions/linux/drm/vbox_fb.c

++ fixes_for_SLE15.patch ++
Index: VirtualBox-6.0.8/src/VBox/Additions/linux/drm/vbox_drv.c
===
--- VirtualBox-6.0.8.orig/src/VBox/Additions/linux/drm/vbox_drv.c
+++ VirtualBox-6.0.8/src/VBox/Additions/linux/drm/vbox_drv.c
@@ -283,11 +283,6 @@ static struct drm_driver driver = {
.lastclose = vbox_driver_lastclose,
.master_set = vbox_master_set,
.master_drop = vbox_master_drop,
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0) || defined(RHEL_73)
-# if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0) && !defined(RHEL_75)
-   .set_busid = drm_pci_set_busid,
-# endif
-#endif
 
.fops = _fops,
.irq_handler = vbox_irq_handler,




commit virtualbox for openSUSE:Factory

2019-06-04 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2019-06-04 12:09:17

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.5148 (New)


Package is "virtualbox"

Tue Jun  4 12:09:17 2019 rev:178 rq:706825 version:6.0.8

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2019-05-03 
22:21:33.768603419 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.5148/virtualbox.changes  
2019-06-04 12:09:38.883874680 +0200
@@ -1,0 +2,62 @@
+Thu May 30 02:58:13 UTC 2019 - Larry Finger 
+
+- Kernel 5.2, now in Kernel_HEAD_stardard, has some API changes. These are
+  handled in the new file "fixes_for_5.2.patch".
+
+---
+Tue May 28 03:58:33 UTC 2019 - Larry Finger 
+
+- Unused file "fix_LTO_builds.patch" removed.
+
+---
+Mon May 27 09:07:45 UTC 2019 - Hans-Peter Jansen 
+
+- separate vboxautostart.sh from vboxdrv.sh
+- add vboxautostart.service
+- clean up vboxdrv.sh
+- fix build of vboxvideo kernel module by replacing the relative
+  drm include patch with an absolute include path (with sed)
+- build vboxvideo kernel module for openSUSE >= 15.0
+- apply fixes_for_Leap15.1.patch conditionally only
+- add minimal patch fixes_for_Leap42.3.patch to build for 42.3
+- fix path typo: %{_datadir}/pixmaps/virtalbox
+  -> %{_datadir}/pixmaps/virtualbox
+
+---
+Thu May 16 17:50:44 UTC 2019 - Larry Finger 
+
+- Version bump to 6.0.8 (released May 13 2019 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+Core: fix saved state resume failures (bugs #18265 and #18331)
+User interface: show full file location in New Medium window.
+User interface: fix mouse click pass-through problems in multi-screen virtual 
machines (6.0.6 regression, bug #18567)
+Graphics: fixed a crash when powering off a VM without graphics controller 
(bug #18570)
+API: partial fix for dealing with VM config conflicting with other VMs related 
to medium UUIDs, now correctly flags VM as inaccessible (bug #17908)
+Linux hosts: fix kernel module build breakage in non-default build set-ups 
(bug #18620, thank you Ambroz Bizjak)
+Linux hosts: fix kernel module build breakage in debug build set-ups (bug 
#18621, thank you Ambroz Bizjak)
+Windows guests: notice file size increases in shared folders which were missed 
in certain cases
+Linux guests: make shared folders work with Linux 3.16.35
+Linux guests: fix incorrectly read-only shared folders (bug #18345)
+
+---
+Wed May 15 22:08:58 UTC 2019 - Larry Finger 
+
+- Modify "fixes_for_qt13.1" for i586 builds qith Qt 5.13
+
+---
+Tue Apr 30 22:50:12 UTC 2019 - Larry Finger 
+
+- Limit all architectures to a maxium of 2 jobs. Without this restriction, 
32-bit builds run
+  out of memory, and 64-bit builds get strange crashes.
+
+---
+Mon Apr 29 17:21:00 UTC 2019 - Larry Finger 
+
+- LTO builds still failing. Reset flag to nil. 
+
+- Changed the way that the spec file limits the 32-bit builds to 2 threads. 
boo#1133492.
+  If enough memory were allocated so that the full number of workers were 
allowed, the job would never be scheduled. 
+
+---

Old:

  VirtualBox-6.0.6-patched.tar.bz2

New:

  VirtualBox-6.0.8-patched.tar.bz2
  fixes_for_5.2.patch
  fixes_for_Leap42.3.patch
  vboxautostart.service
  vboxautostart.sh



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.KCqxt3/_old  2019-06-04 12:09:45.655872462 +0200
+++ /var/tmp/diff_new_pack.KCqxt3/_new  2019-06-04 12:09:45.659872461 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -38,11 +38,16 @@
 # Do not provide libGL.so symbols - they are owned by Mesa already and this 
could potentially confuse rpm/zypp
 %global __provides_exclude ^libE?GL.so.1.*$
 
+# With 32-bit builds, the job limit cannot be larger than 2, otherwise the 
build runs out of memory.
+# For 64-bit builds, no memory limit is reached when more jobs are run, but 
the builds crash with strange errors.
+# For the above reasons, limit the number of jobs to 2.
+%define 

commit virtualbox for openSUSE:Factory

2019-05-03 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2019-05-03 22:21:29

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.5148 (New)


Package is "virtualbox"

Fri May  3 22:21:29 2019 rev:177 rq:699509 version:6.0.6

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2019-04-28 
19:59:26.534935343 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.5148/virtualbox.changes  
2019-05-03 22:21:33.768603419 +0200
@@ -11,0 +12,75 @@
+Fri Apr 19 15:45:46 UTC 2019 - Larry Finger 
+
+- Updated file "Fixes_for_Leap15.1.patch" to handle one addition problem due 
to backporting of kernel APIa.
+  Remove "BuildRequires: quilt" - that package is not needed.
+
+  VirtualBox 6.0.6 fixes the following: CVE-2019-2656, CVE-2019-2680, 
CVE-2019-2696, CVE-2019-2703, CVE-2019-2721,
+CVE-2019-2722, CVE-2019-2723, 
CVE-2019-2657, CVE-2019-2690, CVE-2019-2679,
+CVE-2019-2678, and CVE-2019-2574 
boo#1132827.
+
+---
+Thu Apr 18 15:40:18 UTC 2019 - Larry Finger 
+
+- Version bump to 6.0.6 (released April 17 2019 by Oracle)
+
+The following files in the openSUSE implemetation are removed: 
"fix_32_bit_builds.patch", "fixes_for_5.0.patch", and
+"fixes_for_5.1.patch". These issues are fixed upstream.
+
+This is a maintenance release. The following items were fixed and/or added by 
Oracle:
+
+Virtualization core: nested AMD virtualization fixes
+User interface: fixed copying directories in file manager
+User interface: fixed operation progress in file manager when copying content
+User interface: fixed operation progress when deleting snapshots
+User interface: fixed unattended installation of recent Ubuntu guests
+User interface: various additional improvements
+Storage: fixed loading saved states for LsiLogic devices (6.0.0 regression; 
bug #18263)
+Storage: fixed fixed reading certain QCOW2 images and support version 3 of the 
format readonly
+Storage: Improved IDE PCI emulation to allow NetWare IDE drivers to use 
bus-mastering
+Graphics: Improved VMSVGA support to work with old X servers which previously 
showed only a badly scrambled screen
+Graphics: fixed invisible mouse cursor with VMSVGA emulation and without mouse 
integration (bug #18239)
+Graphics: make EFI work with VMSVGA emulation (bug #18282)
+Graphics: remember last guest screen size VMSVGA emulation
+Graphics: fix RDP to guests using VMSVGA emulation
+Graphics: various additional VMSVGA emulation fixes
+Audio: implemented audio device enumeration for the DirectSound backend
+Network: fixed unwanted padding bytes in Windows host adaptor network packets 
(bug #18202 and bug #18355)
+Serial: fixed possible crash on Windows when using a host device (6.0.0 
regression; bug #18319)
+Serial: fixed loopback handling in the emulation causing garbage to be sent 
during boot with Linux guests (6.0.0 regression; bug #18319)
+Shared folders: fixed duplicate folders after restoring a saved state (bug 
#18373 and other)
+Drag and drop: fixed copying files from guest host (bug #18305)
+Recording: fixed modifying settings via VBoxManage (bug #18494)
+VBoxManage: crash fix (bug #18341)
+Fixed hangs during failed virtual machine start-up
+Linux host and guest: support Linux 5.0 and 5.1, thank you Valdis Kletnieks 
(see also bug #18515)
+Linux host: support kernel 4.4.169 (bug #18315)
+Linux host: fix logging when building Linux kernel modules (bug #18226)
+Linux host: clarified building Linux host drivers with secure boot (bug #18312)
+Installers: reduced size of packages
+Web services: work with Java 11
+LibreSSL compilation fix, thank you Stefan Strogin
+Windows guests: fixed running applications which use complex display 
topologies with WDDM driver, fixed Skype for Business hangs (bug #17092)
+Windows guests: fixed an occasional guest crash with WDDM driver and VBoxSVGA 
adapter (bug #18369)
+Windows guests: shared folder file creation detection issue (bug #9276)
+Linux guests: shared folder performance and reliability improvements and 
missing features (bugs #17360, #819)
+OS/2 guests: shared folder fixes (bug #18376 and bug #18379)
+
+---
+Wed Apr 17 12:42:15 UTC 2019 - Larry Finger 
+
+- The VirtualBox packages for both Tumbleweed and Leap 15.1 are now derived 
from the sources in Factory;
+  however, the underlying kernels are very different in that vboxvideo.ko is 
built-into the TW kernel,
+  thus the package did not try to build that module. The result is that Leap 
15.1 guests have only 640x480
+  resolution (boo#1132439). These changes conditionally turn building of the 
kernel 

commit virtualbox for openSUSE:Factory

2019-04-28 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2019-04-28 19:59:23

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.5536 (New)


Package is "virtualbox"

Sun Apr 28 19:59:23 2019 rev:176 rq:698333 version:6.0.4

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2019-04-08 
11:24:33.336228785 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.5536/virtualbox.changes  
2019-04-28 19:59:26.534935343 +0200
@@ -1,0 +2,10 @@
+Fri Apr 26 10:28:40 UTC 2019 - mvet...@suse.com
+
+- bsc#1130588: Require shadow instead of old pwdutils
+
+---
+Wed Apr 24 17:44:06 UTC 2019 - Martin Liška 
+
+- Disable LTO (boo#1133289).
+
+---



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.X5AXMc/_old  2019-04-28 19:59:31.286932476 +0200
+++ /var/tmp/diff_new_pack.X5AXMc/_new  2019-04-28 19:59:31.286932476 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
@@ -219,7 +219,7 @@
 %if ! 0%{?suse_version} > 1325
 Requires(pre):  net-tools-deprecated
 %endif
-Requires(pre):  pwdutils
+Requires(pre):  shadow
 Requires(pre):  %fillup_prereq
 Recommends: %{name}-gui = %{version}
 #rename from ose version:
@@ -476,6 +476,7 @@
 #
 
 %build
+%define _lto_cflags %{nil}
 #ensure we don't ever use them
 rm -rf src/libs/{libpng-*,libxml2-*,libxslt-*,zlib-*,boost-*}
 





commit virtualbox for openSUSE:Factory

2019-04-08 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2019-04-08 11:24:30

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.3908 (New)


Package is "virtualbox"

Mon Apr  8 11:24:30 2019 rev:175 rq:692016 version:6.0.4

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2019-03-22 
14:50:51.298186511 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.3908/virtualbox.changes  
2019-04-08 11:24:33.336228785 +0200
@@ -1,0 +2,29 @@
+Fri Apr  5 22:11:52 UTC 2019 - Larry Finger 
+
+- Fix problems with use of files "virtualbox.permissions" and 
"virtualbox.permissions.paranoid" - they are deleted
+  Removed setBadness line from virtualbox-rpmlinc.
+
+---
+Fri Apr  5 16:11:40 UTC 2019 - Larry Finger 
+
+- Fix file "fixes_for_qt5.13.patch" - macro QT_VERSION_CHECK is not available 
for Qt < 5.13.
+  Substitute the equivalent (qtmajor << 16 + qtminor << 8).
+
+---
+Sun Mar 31 21:02:36 UTC 2019 - Hans-Peter Jansen 
+
+- adjust patch virtualbox-fix-ui-background-color.patch to really
+  fix the background color messing...
+
+---
+Sat Mar 30 18:36:47 UTC 2019 - Hans-Peter Jansen 
+
+- add patch to stop UI messing with Highlight Color for background
+- apply fixes_for_qt5.13.patch for Qt versions >= 5.13.0 only
+
+---
+Thu Mar 28 00:20:43 UTC 2019 - Larry Finger 
+
+- Fix build with the pending Qt 5.13. File "fixes_for_qt5.13.patch" is added. 
bsc#1130503
+
+---
@@ -9,0 +39,17 @@
+
+---
+Tue Feb 12 12:05:48 UTC 2019 - Hans-Peter Jansen 
+
+- Add setBadness('permissions-unauthorized-file',333) to rpmlintrc
+- Remove suid attributes from all files
+- add libgsoap version dependency >= 2.8.50 (recv_maxlength)
+
+---
+Mon Feb 11 12:46:26 UTC 2019 - Hans-Peter Jansen 
+
+- Fix virtualbox wrapper script virtualbox-wrapper.sh to check
+  60-vboxdrv.rules in /usr/lib/udev/rules.d, not /etc/udev/rules.d
+  Logic is still flawed, until it doesn't take both locations into 
+  account
+- Add custom /etc/permission.d/virtualbox{,.paranoid} definitions
+- Add compatibility symlink to keep old desktop links functional

New:

  fixes_for_qt5.13.patch
  virtualbox-fix-ui-background-color.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.yfrGZc/_old  2019-04-08 11:24:36.376229758 +0200
+++ /var/tmp/diff_new_pack.yfrGZc/_new  2019-04-08 11:24:36.380229759 +0200
@@ -16,6 +16,8 @@
 #
 
 
+%define qt5ver %(rpm -q --queryformat %%{version} libQt5Core5|perl -ne 
'/(\\d+)\\.(\\d+)\\.(\\d+)?/& "%%d%%02d%%02d\\n",$1,$2,$3')
+
 #Compat macro for new _fillupdir macro introduced in Nov 2017
 %if ! %{defined _fillupdir}
   %define _fillupdir /var/adm/fillup-templates
@@ -135,7 +137,10 @@
 Patch129:   fixes_for_Leap15.1.patch
 # Fixes for kernel 5.1
 Patch130:   fixes_for_5.1.patch
+# Fixes for Qt5.13
+Patch131:   fixes_for_qt5.13.patch
 #endif
+Patch999:   virtualbox-fix-ui-background-color.patch
 #
 BuildRequires:  LibVNCServer-devel
 BuildRequires:  SDL-devel
@@ -158,7 +163,7 @@
 BuildRequires:  gcc
 BuildRequires:  gcc-c++
 BuildRequires:  glibc-devel-static
-BuildRequires:  gsoap-devel
+BuildRequires:  gsoap-devel >= 2.8.50
 BuildRequires:  java-devel >= 1.6.0
 BuildRequires:  kbuild >= 0.1.9998svn3101
 #BuildRequires:  kernel-syms
@@ -439,6 +444,11 @@
 %patch129 -p1
 %patch130 -p1
 
+%if %{qt5ver} >= 51300
+%patch131 -p1
+%endif
+%patch999 -p1
+
 #copy user manual
 cp %{SOURCE1} UserManual.pdf
 #copy kbuild config
@@ -566,6 +576,7 @@
 install -d -m 755 %{buildroot}%{_libdir}/xorg/modules/drivers
 install -d -m 755 %{buildroot}%{_libdir}/xorg/modules/input
 install -d -m 755 %{buildroot}%{_sysconfdir}/default
+install -d -m 755 %{buildroot}%{_sysconfdir}/init.d
 install -d %{buildroot}%{_unitdir}
 install -d %{buildroot}%{_unitdir}/multi-user.target.wants
 install -d -m 755 %{buildroot}%{_sysconfdir}/vbox
@@ -652,6 +663,8 @@
 install -m 755 VBoxNetAdpCtl   %{buildroot}%{_vbox_instdir}
 install -m 755 VirtualBox  
%{buildroot}%{_vbox_instdir}/VirtualBox6
 install -m 755 VirtualBoxVM%{buildroot}%{_vbox_instdir}
+# compatibility symlink in order to keep old desktop links functional
+ln -s %{_vbox_instdir}/VirtualBoxVM   

commit virtualbox for openSUSE:Factory

2019-03-22 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2019-03-22 14:50:46

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.25356 (New)


Package is "virtualbox"

Fri Mar 22 14:50:46 2019 rev:174 rq:687060 version:6.0.4

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2019-03-01 
16:46:08.597828250 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.25356/virtualbox.changes 
2019-03-22 14:50:51.298186511 +0100
@@ -1,0 +2,5 @@
+Wed Mar 20 19:31:19 UTC 2019 - Larry Finger 
+
+- Fix API changes for kernel 5.1.0 - add file "fixes_for_5.1.patch". 
+
+---

New:

  fixes_for_5.1.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.baNWof/_old  2019-03-22 14:50:55.046184361 +0100
+++ /var/tmp/diff_new_pack.baNWof/_new  2019-03-22 14:50:55.050184360 +0100
@@ -133,6 +133,9 @@
 Patch128:   fix_lib_search.patch
 # Fixes for modified kernel in Leap 15.1
 Patch129:   fixes_for_Leap15.1.patch
+# Fixes for kernel 5.1
+Patch130:   fixes_for_5.1.patch
+#endif
 #
 BuildRequires:  LibVNCServer-devel
 BuildRequires:  SDL-devel
@@ -434,6 +437,7 @@
 %patch126 -p1
 %patch128 -p1
 %patch129 -p1
+%patch130 -p1
 
 #copy user manual
 cp %{SOURCE1} UserManual.pdf

++ fixes_for_5.1.patch ++
Index: VirtualBox-6.0.4/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
===
--- VirtualBox-6.0.4.orig/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
+++ VirtualBox-6.0.4/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
@@ -38,6 +38,9 @@
 #include 
 #include 
 #include "internal/memobj.h"
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0)
+#include 
+#endif
 
 
 
/*
Index: VirtualBox-6.0.4/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
===
--- VirtualBox-6.0.4.orig/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
+++ VirtualBox-6.0.4/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
@@ -372,7 +372,7 @@ static int vboxPciFileWrite(struct file*
 mm_segment_t fs_save;
 
 fs_save = get_fs();
-set_fs(get_ds());
+set_fs(KERNEL_DS);
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0)
 ret = kernel_write(file, data, size, );
 #else
Index: VirtualBox-6.0.4/src/VBox/Additions/linux/sharedfolders/regops.c
===
--- VirtualBox-6.0.4.orig/src/VBox/Additions/linux/sharedfolders/regops.c
+++ VirtualBox-6.0.4/src/VBox/Additions/linux/sharedfolders/regops.c
@@ -588,7 +588,9 @@ static int sf_reg_release(struct inode *
return 0;
 }
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0)
+static vm_fault_t sf_reg_fault(struct vm_fault *vmf)
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
 static int sf_reg_fault(struct vm_fault *vmf)
 #elif LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 25)
 static int sf_reg_fault(struct vm_area_struct *vma, struct vm_fault *vmf)




commit virtualbox for openSUSE:Factory

2019-03-01 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2019-03-01 16:45:46

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.28833 (New)


Package is "virtualbox"

Fri Mar  1 16:45:46 2019 rev:173 rq:677822 version:6.0.4

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2019-01-21 
11:07:17.330741472 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.28833/virtualbox.changes 
2019-03-01 16:46:08.597828250 +0100
@@ -2 +2,135 @@
-Wed Jan 16 18:32:24 UTC 2019 - Larry Finger 
+Wed Feb 20 16:31:23 UTC 2019 - Larry Finger 
+
+- Remove requires on libvncserver for virtualbox-vnc. 
+
+---
+Thu Jan 31 19:31:20 UTC 2019 - Larry Finger 
+
+- Add changes requested by Security - new file "security_fixes.patch"
+  File UserManual.pdf is resent to clear error in build.
+
+---
+Tue Jan 29 15:15:53 UTC 2019 - Larry Finger 
+
+- Part of the API changes for kernel 5.0 are not fixed upstream. Add file 
"fixes_for_5.0" back in.
+
+---
+Mon Jan 28 20:29:22 UTC 2019 - Larry Finger 
+
+- Version bump to 6.0.4 (released January 28 2019 by Oracle)
+
+Files "fixes_for_5.0" and "fixes_for_gcc9" are deleted - the code was fixed 
upstream.
+
+This is a maintenance release. The following items were fixed and/or added:
+
+Virtualization core: support Shanghai/Zhaoxin CPUs.
+User interface: handle command line arguments to VirtualBox correctly (bugs 
#18206 and #18197)
+User interface: improvements to machine manager window, virtual optical disk 
creator, storage selector window and log viewer window
+User interface: various small fixes and improvements
+Audio: implemented time scheduling for the AC'97 device emulation to keep 
audio and video in sync
+Graphics: basic support for VMSVGA graphics device in virtual machines using 
EFI
+Network: fix occasional NATNet crashes (bug #13899)
+Network: worked around problems in certain PCnet drivers on old operating 
systems
+Serial: fixed connecting to pseudo terminals on POSIX hosts (6.0.0 regression; 
bug #18319)
+Linux hosts and guests: fix for building kernel modules against Linux 5.0. 
Thank you Kyle Laker
+
+
+---
+Fri Jan 25 02:17:17 UTC 2019 - Larry Finger 
+
+- Converted vboxwebsrv to a systemd service. Previously, this was started 
through init.d. bsc#1116050
+  Files "vboxweb-service.service" and "vboxweb-service.sh" are added.
+  File "vbox-vboxweb-init-script.diff" is removed.
+
+  File "fixes_for_4.20.patch" is removed - the code was fixed upstream.
+  File "fix_lib_search.patch" is added to fix the build of VBox0GL.
+  File "fixes_for_5.0.patch" is added to compensate for API changes in kernel 
5.0.
+  File "virtualbox-system-x.patch" is removed.
+  File "fixes_for_Leap15.1.patch" is added to fix build errors on Leap 
15.1.
+
+- Version bump to 6.0.2 (released January 15 2019 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+User interface: fixed creation of desktop shortcuts for starting virtual 
machines (bug #18207)
+User interface: allow the first run window to selecting host drives (bug 
#18230)
+User interface: fixed attaching empty host optical drives (bug #18223)
+User interface: implemented a new virtual optical disk creation window
+USB: modified Linux backends to reset USB devices (previously, most guest 
attempts to reset USB devices were ignored)
+PCnet: fixed a regression which caused some PCnet PCI guest drivers to not 
detect the emulated hardware (bug #18286)
+Linux hosts: fixed conflict between Debian and Oracle build desktop files (bug 
#18264)
+Linux and MacOS hosts: VirtualBoxVM command not accessible (bug #18257)
+Windows guests: multiple monitor fixes with VBoxSVGA graphics
+Windows guests: black screen with VBoxSVGA graphics when 3D is disabled (bug 
#18205)
+Linux guests: fixed building drivers on SLES 12.4 (bug #18213)
+Linux guests: fixed building shared folder driver with older kernels (bug 
#18238)
+OS/2 shared folders: fixed write regression introduced in 6.0.0 GA
+
+---
+Thu Jan 17 20:22:24 UTC 2019 - Larry Finger 
+
+-Version bump to 6.0.0 (released December 18 2018 by Oracle)
+
+This is a major update. The following major new features were added:
+
+Implemented support for exporting a virtual machine to Oracle Cloud 
Infrastructure
+User interface: greatly improved HiDPI and scaling support, including better 
detection and per-machine configuration
+Major rework of user interface with simpler and more 

commit virtualbox for openSUSE:Factory

2019-01-21 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2019-01-21 11:07:07

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.28833 (New)


Package is "virtualbox"

Mon Jan 21 11:07:07 2019 rev:172 rq:667009 version:5.2.22

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2019-01-08 
12:19:23.628872259 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.28833/virtualbox.changes 
2019-01-21 11:07:17.330741472 +0100
@@ -1,0 +2,15 @@
+Wed Jan 16 18:32:24 UTC 2019 - Larry Finger 
+
+- Remove test patch "change_default_net_adapter.patch". It was made obsolete 
by upstream changes.
+
+---
+Sun Jan 13 18:31:20 UTC 2019 - Larry Finger 
+
+- Fix for latest gcc8 was incomplete.
+
+---
+Sat Jan 12 18:01:29 UTC 2019 - Larry Finger 
+
+- Fix builds for the latest version of gcc8 and above. File "fixes_for_gcc9" 
is added.
+
+---

Old:

  change_default_net_adapter.patch

New:

  fixes_for_gcc9



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.K4MIek/_old  2019-01-21 11:07:20.146737897 +0100
+++ /var/tmp/diff_new_pack.K4MIek/_new  2019-01-21 11:07:20.150737891 +0100
@@ -129,8 +129,10 @@
 Patch124:   fix_32_bit_builds.patch
 # Fix API changes for kernel 4.20+
 Patch125:   fixes_for_4.20.patch
-# Change default network adapter
-Patch126:   change_default_net_adapter.patch
+# Fix changes for gcc9
+Patch126:   fixes_for_gcc9
+# Fix API changes for kernel 5.0+
+#Patch127:   fixes_for_5.0.patch
 #
 BuildRequires:  LibVNCServer-devel
 BuildRequires:  SDL-devel
@@ -437,6 +439,7 @@
 %patch124 -p1
 %patch125 -p1
 %patch126 -p1
+#%patch127 -p1
 
 #copy user manual
 cp %{SOURCE1} UserManual.pdf

++ fixes_for_gcc9 ++
Index: VirtualBox-5.2.22/src/VBox/Runtime/r3/linux/semevent-linux.cpp
===
--- VirtualBox-5.2.22.orig/src/VBox/Runtime/r3/linux/semevent-linux.cpp
+++ VirtualBox-5.2.22/src/VBox/Runtime/r3/linux/semevent-linux.cpp
@@ -37,7 +37,7 @@
  * against glibc < 2.6.
  */
 #include "../posix/semevent-posix.cpp"
-asm volatile (".global epoll_pwait");
+asm (".global epoll_pwait");
 
 #else /* glibc < 2.6 */
 
Index: VirtualBox-5.2.22/src/VBox/Runtime/r3/linux/semeventmulti-linux.cpp
===
--- VirtualBox-5.2.22.orig/src/VBox/Runtime/r3/linux/semeventmulti-linux.cpp
+++ VirtualBox-5.2.22/src/VBox/Runtime/r3/linux/semeventmulti-linux.cpp
@@ -39,7 +39,7 @@
  * against glibc < 2.6.
  */
 #include "../posix/semeventmulti-posix.cpp"
-asm volatile (".global epoll_pwait");
+asm (".global epoll_pwait");
 
 #else /* glibc < 2.6 */
 




commit virtualbox for openSUSE:Factory

2019-01-08 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2019-01-08 12:19:21

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.28833 (New)


Package is "virtualbox"

Tue Jan  8 12:19:21 2019 rev:171 rq:662944 version:5.2.22

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2018-12-03 
10:05:59.587951751 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.28833/virtualbox.changes 
2019-01-08 12:19:23.628872259 +0100
@@ -1,0 +2,31 @@
+Sat Dec  8 18:10:09 UTC 2018 - Hans-Peter Jansen 
+
+- proper permissions for /etc/vbox/*.cfg
+
+---
+Sat Dec  8 14:17:50 UTC 2018 - Hans-Peter Jansen 
+
+- remove ambiguous labels in vboxdrv: fixes restart and such
+- make autostarting synchronous again
+- improve README.autostart
+- add new autostart variables to the existing /etc/default/virtualbox
+  in %post, if missing
+
+---
+Wed Dec  5 12:10:20 UTC 2018 - Hans-Peter Jansen 
+
+- replace switch_to_python3.6.patch with switch_to_python3.4+.patch
+
+---
+Tue Dec  4 21:43:02 UTC 2018 - Hans-Peter Jansen 
+
+- remove fixes_for_leap15.patch, upstream has incorporated it
+- add conflict with i4l-vbox due to shared /etc/vbox
+- adjust /etc/vbox permissions
+- add /etc/vbox/autostart.cfg 
+- fix vboxdrv.sh: apply new autostart mechanics to stop_vms()
+- remove obsolete shutdown section in /etc/default/virtualbox
+- add VBOXAUTOSTART_{DB,CONFIG} to /etc/default/virtualbox
+- supply README.autostart
+
+---

Old:

  fixes_for_leap15.patch
  switch_to_python3.6.patch

New:

  README.autostart
  switch_to_python3.4+.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.tTrNOM/_old  2019-01-08 12:19:25.588870083 +0100
+++ /var/tmp/diff_new_pack.tTrNOM/_new  2019-01-08 12:19:25.588870083 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package virtualbox
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -68,6 +68,7 @@
 Source17:   vboxguestconfig.sh
 Source18:   fix_usb_rules.sh
 Source19:   vboxdrv.sh
+Source20:   README.autostart
 Source98:   %{name}-rpmlintrc
 Source99:   %{name}-patch-source.sh
 #rework init scripts to fit suse needs
@@ -117,16 +118,14 @@
 Patch116:   Fix_for_server_1.19.patch
 # Fix invalid use of internal headers
 Patch118:   internal-headers.patch
-# Fix kernel API change in Leap 15
-Patch119:   fixes_for_leap15.patch
 # Fix rpmlint error for script /lib/usr/virtualbox/vboxshell.py
 Patch120:   fixes_for_python.patch
 # Remove vboxvideo from build
 Patch121:   remove_vbox_video_build.patch
 # Fix build for Qt 5.11
 Patch122:   fixes_for_Qt5.11.patch
-# Switch to Python 3.6
-Patch123:   switch_to_python3.6.patch
+# Switch to Python 3.4+
+Patch123:   switch_to_python3.4+.patch
 Patch124:   fix_32_bit_builds.patch
 # Fix API changes for kernel 4.20+
 Patch125:   fixes_for_4.20.patch
@@ -229,6 +228,10 @@
 BuildRequires:  xorg-x11-libXt-devel-32bit
 %endif
 %{?systemd_requires}
+# package i4l-vbox from source package i4l-base shares the directory /etc/vbox
+# with us, but with different owner.
+Conflicts:  i4l-vbox
+
 %posttrans
 
 %description
@@ -427,9 +430,6 @@
 %patch115 -p1
 %patch116 -p1
 %patch118 -p1
-%if 0%{suse_version} == 1500
-%patch119 -p1
-%endif
 %patch120 -p1
 %patch121 -p1
 %patch122 -p1
@@ -442,6 +442,8 @@
 cp %{SOURCE1} UserManual.pdf
 #copy kbuild config
 cp %{SOURCE10} LocalConfig.kmk
+#copy autostart doc
+cp %{SOURCE20} README.autostart
 #
 ##
 workaround kmk_sed --v
@@ -690,6 +692,7 @@
 
 # Service files to load kernel modules on boot
 install -m 0644 %{SOURCE14}
%{buildroot}%{_unitdir}/vboxdrv.service
+ln -s -f %{_sbindir}/service   
%{buildroot}%{_sbindir}/rcvboxdrv
 install -m 0644 %{SOURCE15}
%{buildroot}%{_unitdir}/vboxadd-service.service
 install -m 0755 %{SOURCE16}%{buildroot}/sbin/vboxconfig
 install -m 0755 %{SOURCE17}
%{buildroot}/sbin/vboxguestconfig
@@ -703,6 +706,14 @@
 # config file for vboxdrv script and vboxweb
 install -d -m 755 %{buildroot}%{_sysconfdir}/vbox
 echo -e "#settings for 

commit virtualbox for openSUSE:Factory

2018-12-03 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2018-12-03 10:05:26

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new.19453 (New)


Package is "virtualbox"

Mon Dec  3 10:05:26 2018 rev:170 rq:652201 version:5.2.22

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2018-11-10 
16:50:35.276401265 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new.19453/virtualbox.changes 
2018-12-03 10:05:59.587951751 +0100
@@ -1,0 +2,30 @@
+Tue Nov 27 01:04:06 UTC 2018 - Larry Finger 
+
+- Fix the changes for kernel 4.20 API differences. The previous version 
compiled but had an error in logic.
+
+---
+Fri Nov  9 19:30:20 UTC 2018 - Larry Finger 
+
+- Version bump to 5.2.22 (released November 09 2018 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+Audio: fixed a regression in the Core Audio backend causing a hang when 
returning from host sleep when processing input buffers
+Audio: fixed a potential crash in the HDA emulation if a stream has no valid 
mixer sink attached -- thanks to Rink Springer (rink@…)
+Linux Additions: disable 3D for recent guests using Wayland (bug #18116)
+Linux Additions: fix for rebuilding kernel modules for new kernels on RPM 
guests
+Linux Additions: further fixes for Linux 4.19
+Linux Additions: fixed errors rebuilding initrd files with dracut on EL 6 (bug 
18055#)
+Linux Additions: fixed 5.2.20 regression: guests not remembering the screen 
size after shutdown and restart (bug #18078)
+
+Patch file "gcc8-configure.patch" removed. The issue is fixed upstream.
+Patch file "fixes_for_4.19.patch" removed. The issue is fixed upstream.
+Add file "change_default_net_adapter.patch" to set PCnet-FAST III as the 
default adapter. This helps with the vulnerability listed in bsc#1115041.
+---
+Thu Nov  8 19:53:22 UTC 2018 - Larry Finger 
+
+- Update "fixes_for_4.20.patch" for one additional API change so that
+  Kernel_HEAD_standard will build.
+  The description of VB was modified as suggested by Jan Engelhardt.
+
+---

Old:

  VirtualBox-5.2.20-patched.tar.bz2
  fixes_for_4.19.patch
  gcc8-configure.patch

New:

  VirtualBox-5.2.22-patched.tar.bz2
  change_default_net_adapter.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.tlSA6a/_old  2018-12-03 10:06:02.407949168 +0100
+++ /var/tmp/diff_new_pack.tlSA6a/_new  2018-12-03 10:06:02.411949164 +0100
@@ -40,7 +40,7 @@
 %define _udevrulesdir %{_sysconfdir}/udev/rules.d
 Name:   virtualbox
 # * If the VB version exceeds 5.2.x, notify the libvirt maintainer!!
-Version:5.2.20
+Version:5.2.22
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0-or-later
@@ -123,16 +123,15 @@
 Patch120:   fixes_for_python.patch
 # Remove vboxvideo from build
 Patch121:   remove_vbox_video_build.patch
-Patch124:   gcc8-configure.patch
 # Fix build for Qt 5.11
-Patch125:   fixes_for_Qt5.11.patch
+Patch122:   fixes_for_Qt5.11.patch
 # Switch to Python 3.6
-Patch126:   switch_to_python3.6.patch
-Patch127:   fix_32_bit_builds.patch
-# Fix API changes for kernel 4.19+
-Patch128:   fixes_for_4.19.patch
+Patch123:   switch_to_python3.6.patch
+Patch124:   fix_32_bit_builds.patch
 # Fix API changes for kernel 4.20+
-Patch129:   fixes_for_4.20.patch
+Patch125:   fixes_for_4.20.patch
+# Change default network adapter
+Patch126:   change_default_net_adapter.patch
 #
 BuildRequires:  LibVNCServer-devel
 BuildRequires:  SDL-devel
@@ -233,10 +232,12 @@
 %posttrans
 
 %description
-VirtualBox is an extremely feature rich, high performance product
-for enterprise customers, it is also the only professional solution
-that is freely available as Open Source Software under the terms of the
-GNU Public License (GPL).
+VirtualBox is a hosted hypervisor for x86 computers. It supports the
+creation and management of guest virtual machines running versions
+and derivations of Windows, Linux, BSD, OS/2, Solaris, Haiku, OSx86
+and others, and limited virtualization of macOS guests on Apple
+hardware. VirtualBox is freely available as Open Source Software under
+the terms of the GNU Public License (GPL).
 ##
 
 %package qt
@@ -431,12 +432,11 @@
 %endif
 %patch120 -p1
 %patch121 -p1
+%patch122 -p1
+%patch123 -p1
 %patch124 -p1
 %patch125 -p1
 %patch126 -p1
-%patch127 -p1
-%patch128 -p1
-%patch129 

commit virtualbox for openSUSE:Factory

2018-11-10 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2018-11-10 16:49:53

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Sat Nov 10 16:49:53 2018 rev:169 rq:647239 version:5.2.20

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2018-09-05 
13:44:19.949850942 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2018-11-10 16:50:35.276401265 +0100
@@ -1,0 +2,68 @@
+Tue Nov  6 08:47:25 UTC 2018 - Dominique Leuenberger 
+
+- Fix / simplify python3-virtualbox packages files section. Do not
+  rely on --record-rpm for any version of python, since we can't
+  use it across the band.
+
+---
+Mon Nov  5 22:14:57 UTC 2018 - Larry Finger 
+
+- Made changes requested in comments for request 646211.
+  1. Sustituted /usr/lib/python3.7/site-packages/ => %python3_sitelib
+  2. Reverted change that eliminated use of %{_tmppath}/SITE_FILES for Python 
3.6
+  3. As vboxapisetup.py in Python 3.7 no longer accepts the --record-rpm 
switch,
+ SITE_FILES does not exist, and the individual files must still be listed.
+
+---
+Sat Nov  3 04:04:06 UTC 2018 - Larry Finger 
+
+- Make necessary updates so that VirtualBox will build with Python 3.7 - 
boo#1113894
+  Change kernel module code to build against the API changes in kernel 4.20 - 
This change
+  adds file "fixes_for_4.20.patch".
+
+---
+Fri Nov  2 09:48:23 UTC 2018 - Dominique Leuenberger 
+
+- Require(pre) virtualbox by the -qt package: otherewise it might
+  happen that virtualbox-qt is installed before virtualbox, which
+  then results in files being assigned to group 'root' instead of
+  'vboxusers', as the group is only created later.
+
+---
+Mon Oct 29 20:11:57 UTC 2018 - Larry Finger 
+
+- Version bump to 5.2.20 (released October 16 2018 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+VMM: fixed task switches triggered by INTn instruction (bug #17979)
+Storage: fixed connecting to certain iSCSI targets (bug #17507)
+Storage: fixed handling of flush requests when configured to be ignored when 
the host I/O cache is used (bug #17573)
+Drag and drop: implemented support for UNC paths (bug #17146)
+Drag and drop: fixed resuming operation when restoring from a saved state (bug 
#17649)
+Drag and drop: fixed copying files with long file names (> 248 characters) 
from guests to Windows hosts (bug #17447)
+Drag and drop: fixed handling files with Unicode names on Windows guests (bug 
#15501)
+Drag and drop: fixed copying empty (0-byte) files to / from guests (bugs 
#14863 + #17443)
+Drag and drop: fixed copying over files from hosts to Linux guests (bug #16025)
+Networking: restore connectivity for guests bridged to host adapters that were 
unavailable temporarily (Windows hosts, bug #17090)
+Guest Control: fixed hang when using --wait-stdout and/or --wait-stderr (bug 
#17386). Needs updating Guest Additions
+Video recording: fixed starting video recording on VM power up (bug #17307)
+Linux Additions: various build fixes for kernel modules on recent 
distributions, and made sure modules end up in initramfs files
+Linux Additions: build fixes for 4.19, thank you Larry Finger
+Linux Additions: various small fixes for video driver
+
+This version also addresses the following vulnerabilities: CVE-2018-0732, 
CVE-2018-2909, CVE-2018-3287
+CVE-2018-3288, CVE-2018-3289, CVE-2018-3290, CVE-2018-3291, 
CVE-2018-3292, CVE-2018-3293,
+CVE-2018-3294, CVE-2018-3295, CVE-2018-3296, CVE-2018-3297, and 
CVE-2018-3298. bsc#1112097
+
+---
+Thu Sep 20 19:24:48 UTC 2018 - Larry Finger 
+
+- Fix autostart of VMs, which is no longer handled by the vboxes.service.
+  A new routine "start_vms" is added to the start section of vboxdrv.sh,
+  which is called by vboxdrv.service. Files "vboxes.service", "vboxes.sh",
+  and "virtualbox-sysconfig.vbox" are deleted.
+
+  These changes are to satisfy bsc#1107769.
+
+---

Old:

  VirtualBox-5.2.18-patched.tar.bz2
  vboxes.service
  vboxes.sh
  virtualbox-sysconfig.vbox

New:

  VirtualBox-5.2.20-patched.tar.bz2
  fixes_for_4.20.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.rWlrG0/_old  2018-11-10 16:50:38.148397633 +0100
+++ 

commit virtualbox for openSUSE:Factory

2018-08-06 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2018-08-06 11:53:08

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Mon Aug  6 11:53:08 2018 rev:167 rq:627533 version:5.2.16

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2018-07-04 
23:54:39.503923406 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2018-08-06 11:53:12.093132266 +0200
@@ -1,0 +2,14 @@
+Sat Aug  4 14:48:02 UTC 2018 - larry.fin...@gmail.com
+
+- Version bump to 5.2.16 (released July 17 2018 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+OVF: case insensitive comparison of manifest attribute values, to improve 
compatibility (bug #17357)
+Linux: build for openSUSE 15.0 (bug #17554)
+Linux: various build fixes for distribution builds, thank you Gianfranco 
Costamagna
+ 
+This update fixes CVE-2018-3005, CVE-2018-3055, CVE-2018-3085, CVE-2018-3086,
+CVE-2018-3087, CVE-2018-3088, CVE-2018-3089, CVE-2018-3090, and CVE-2018-3091. 
bsc#1101667.
+
+---

Old:

  VirtualBox-5.2.14-patched.tar.bz2

New:

  VirtualBox-5.2.16-patched.tar.bz2



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.1usUpP/_old  2018-08-06 11:53:14.357136195 +0200
+++ /var/tmp/diff_new_pack.1usUpP/_new  2018-08-06 11:53:14.357136195 +0200
@@ -40,7 +40,7 @@
 %define _udevrulesdir %{_sysconfdir}/udev/rules.d
 Name:   virtualbox
 # * If the VB version exceeds 5.2.x, notify the libvirt maintainer!!
-Version:5.2.14
+Version:5.2.16
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0-or-later
@@ -165,6 +165,7 @@
 BuildRequires:  libelf-devel
 BuildRequires:  libidl-devel
 BuildRequires:  libopenssl-devel
+BuildRequires:  libopus-devel
 BuildRequires:  libqt5-linguist
 BuildRequires:  libqt5-qtbase-devel
 BuildRequires:  libqt5-qtx11extras-devel
@@ -474,7 +475,6 @@
 --disable-java \
 --disable-docs \
 --enable-webservice \
---with-mkisofs=/bin/true \
 --with-makeself=/bin/true
 
 # configure actually warns we should source env.sh (which seems like it could 
influence the build...)

++ UserManual.pdf ++
(binary differes)

++ VirtualBox-5.2.14-patched.tar.bz2 -> VirtualBox-5.2.16-patched.tar.bz2 
++
/work/SRC/openSUSE:Factory/virtualbox/VirtualBox-5.2.14-patched.tar.bz2 
/work/SRC/openSUSE:Factory/.virtualbox.new/VirtualBox-5.2.16-patched.tar.bz2 
differ: char 11, line 1

++ switch_to_python3.6.patch ++
--- /var/tmp/diff_new_pack.1usUpP/_old  2018-08-06 11:53:14.441136341 +0200
+++ /var/tmp/diff_new_pack.1usUpP/_new  2018-08-06 11:53:14.445136347 +0200
@@ -1,8 +1,8 @@
-Index: VirtualBox-5.2.12/configure
+Index: VirtualBox-5.2.16/configure
 ===
 VirtualBox-5.2.12.orig/configure
-+++ VirtualBox-5.2.12/configure
-@@ -1953,17 +1953,17 @@ extern "C" int main(void)
+--- VirtualBox-5.2.16.orig/configure
 VirtualBox-5.2.16/configure
+@@ -1959,17 +1959,17 @@ extern "C" int main(void)
  {
Py_Initialize();
printf("found version %s", PY_VERSION);
@@ -18,16 +18,16 @@
  }
  EOF
found=
--  SUPPYTHONLIBS="python2.7 python2.6 python3.1 python3.2 python3.3 python3.4 
python3.4m python3.5 python3.5m"
-+  SUPPYTHONLIBS="python3.6m"
+-  SUPPYTHONLIBS="python2.7 python2.6 python3.1 python3.2 python3.3 python3.4 
python3.4m python3.5 python3.5m python3.6 python3.6m"
++  SUPPYTHONLIBS="python3.6m python3.6 python3.6m"
for p in $PYTHONDIR; do
  for d in $SUPPYTHONLIBS; do
for b in lib/x86_64-linux-gnu lib/i386-linux-gnu lib64 lib/64 lib; do
-Index: VirtualBox-5.2.12/src/VBox/Installer/linux/routines.sh
+Index: VirtualBox-5.2.16/src/VBox/Installer/linux/routines.sh
 ===
 VirtualBox-5.2.12.orig/src/VBox/Installer/linux/routines.sh
-+++ VirtualBox-5.2.12/src/VBox/Installer/linux/routines.sh
-@@ -367,8 +367,8 @@ terminate_proc() {
+--- VirtualBox-5.2.16.orig/src/VBox/Installer/linux/routines.sh
 VirtualBox-5.2.16/src/VBox/Installer/linux/routines.sh
+@@ -375,8 +375,8 @@ terminate_proc() {
  maybe_run_python_bindings_installer() {
  VBOX_INSTALL_PATH="${1}"
  
@@ -38,10 +38,10 @@
  if sys.version_info >= (2, 6):
  print \"test\"' 2> /dev/null`" != "test" ]; then
  echo  1>&2 "Python 2.6 or later not available, skipping bindings 
installation."
-Index: VirtualBox-5.2.12/src/bldprogs/scm.cpp
+Index: VirtualBox-5.2.16/src/bldprogs/scm.cpp

commit virtualbox for openSUSE:Factory

2018-07-04 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2018-07-04 23:53:17

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Wed Jul  4 23:53:17 2018 rev:166 rq:620347 version:5.2.14

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2018-05-29 
10:26:14.213886739 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2018-07-04 23:54:39.503923406 +0200
@@ -1,0 +2,39 @@
+Tue Jul  3 01:17:37 UTC 2018 - larry.fin...@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.fin...@gmail.com
+
+- Fix typo in host KMP line.
+
+---
+Tue Jun 19 17:46:44 UTC 2018 - larry.fin...@gmail.com
+
+- Add file "fix_32_bit_builds.patch" to fix error in 32-bit builds.
+  Add file "switch_to_python3.6.patch" to convert to Python3.
+  Update warning regarding the security hole in USB passthrough. The text no 
longer refers
+  to an old bugzilla entry (bsc#1097248).
+  Script vboxguestconfig.sh is fixed.
+
+---
+Tue Jun 19 07:43:42 UTC 2018 - msucha...@suse.com
+
+- Use %{?linux_make_arch} when building kernel modules (boo#1098050).
+
+---

Old:

  VirtualBox-5.2.12-patched.tar.bz2
  fixes_for_4.17.patch

New:

  VirtualBox-5.2.14-patched.tar.bz2
  fix_32_bit_builds.patch
  switch_to_python3.6.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.PZDDET/_old  2018-07-04 23:54:41.375921341 +0200
+++ /var/tmp/diff_new_pack.PZDDET/_new  2018-07-04 23:54:41.383921331 +0200
@@ -21,6 +21,18 @@
   %define _fillupdir /var/adm/fillup-templates
 %endif
 
+# Use Python3 rather than Python2 by default
+%define __python /usr/bin/python3
+
+# In /usr/lib/rpm/macros, py_compile is hard-wired to use the command 
"python". I think
+# this is a bug for which the work-around is to redefine that macro to use 
python3.
+%define py_compile(O)  \
+find %1 -name '*.pyc' -exec rm -f {} \\; \
+python3 -c "import sys, os, compileall; br='%{buildroot}'; 
compileall.compile_dir(sys.argv[1], ddir=br and 
(sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" %1 \
+%{-O: \
+find %1 -name '*.pyo' -exec rm -f {} \\; \
+python3 -O -c "import sys, os, compileall; br='%{buildroot}'; 
compileall.compile_dir(sys.argv[1], ddir=br and 
(sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" %1 \
+}
 # Do not provide libGL.so symbols - they are owned by Mesa already and this 
could potentially confuse rpm/zypp
 %global __provides_exclude ^libE?GL.so.1.*$
 
@@ -28,7 +40,7 @@
 %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
@@ -115,11 +127,13 @@
 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:   

commit virtualbox for openSUSE:Factory

2018-05-29 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2018-05-29 10:26:10

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Tue May 29 10:26:10 2018 rev:165 rq:612428 version:5.2.12

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2018-05-23 
16:07:21.901798745 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2018-05-29 10:26:14.213886739 +0200
@@ -1,0 +2,5 @@
+Sat May 26 21:24:55 UTC 2018 - larry.fin...@gmail.com
+
+- A second new include was needed for build with Qt5.11 - bsc#1093731.
+
+---



Other differences:
--
++ fixes_for_Qt5.11.patch ++
--- /var/tmp/diff_new_pack.7ZIQrN/_old  2018-05-29 10:26:16.645796873 +0200
+++ /var/tmp/diff_new_pack.7ZIQrN/_new  2018-05-29 10:26:16.649796726 +0200
@@ -10,3 +10,15 @@
  #include 
  #include 
  #include 
+Index: 
VirtualBox-5.2.12/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 @@
+ 
+ /* Qt includes: */
+ # include 
++#include 
+ 
+ /* GUI includes: */
+ # include "QIWidgetValidator.h"





commit virtualbox for openSUSE:Factory

2018-05-23 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2018-05-23 16:07:13

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Wed May 23 16:07:13 2018 rev:164 rq:610170 version:5.2.12

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2018-05-16 
11:22:46.669345045 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2018-05-23 16:07:21.901798745 +0200
@@ -1,0 +2,6 @@
+Thu May 17 23:02:29 UTC 2018 - larry.fin...@gmail.com
+
+- Fix build errors with Qt 5.11 - b.s.c. #1093731.
+  File "fixes_for_Qt5.11.patch" added.
+
+---

New:

  fixes_for_Qt5.11.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.EdvkUG/_old  2018-05-23 16:07:24.809692234 +0200
+++ /var/tmp/diff_new_pack.EdvkUG/_new  2018-05-23 16:07:24.813692087 +0200
@@ -118,6 +118,8 @@
 # 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
 #
 BuildRequires:  LibVNCServer-devel
 BuildRequires:  SDL-devel
@@ -412,6 +414,7 @@
 %patch121 -p1
 %patch123 -p1
 %patch124 -p1
+%patch125 -p1
 
 #copy user manual
 cp %{SOURCE1} UserManual.pdf

++ fixes_for_Qt5.11.patch ++
Index: VirtualBox-5.2.12/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
@@ -83,6 +83,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 




commit virtualbox for openSUSE:Factory

2018-05-16 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2018-05-16 11:22:06

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Wed May 16 11:22:06 2018 rev:163 rq:606518 version:5.2.12

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2018-04-30 
22:48:57.422313323 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2018-05-16 11:22:46.669345045 +0200
@@ -1,0 +2,15 @@
+Fri May 11 14:21:59 UTC 2018 - larry.fin...@lwfinger.net
+
+- Version bump to 5.2.12 (released May 09 2018 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+Serial: fixed possible data corruption when sending data under certain 
circumstances
+Video recording: fixed starting / stopping recording under certain 
circumstances
+Linux hosts: support Linux 4.17 changes. Thank you Larry Finger
+Linux guests: support Linux 4.16 and EL 7.5 kernels (bugs #17676 and 
#17678)
+Linux guests: 3D fixes for recent guests (bug #17623)
+
+File "fixes_for_4.16.patch" is removed - fixed upstream.
+
+---

Old:

  VirtualBox-5.2.10-patched.tar.bz2
  fixes_for_4.16.patch

New:

  VirtualBox-5.2.12-patched.tar.bz2



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.q6dem7/_old  2018-05-16 11:22:49.853229406 +0200
+++ /var/tmp/diff_new_pack.q6dem7/_new  2018-05-16 11:22:49.857229260 +0200
@@ -28,7 +28,7 @@
 %define _udevrulesdir %{_sysconfdir}/udev/rules.d
 Name:   virtualbox
 # * If the VB version exceeds 5.2.x, notify the libvirt maintainer!!
-Version:5.2.10
+Version:5.2.12
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0-or-later
@@ -115,8 +115,6 @@
 Patch120:   fixes_for_python.patch
 # Remove vboxvideo from build
 Patch121:   remove_vbox_video_build.patch
-# Fix build for kernel 4.16
-Patch122:   fixes_for_4.16.patch
 # Fix build for kernel 4.17
 Patch123:   fixes_for_4.17.patch
 Patch124:   gcc8-configure.patch
@@ -412,10 +410,6 @@
 %endif
 %patch120 -p1
 %patch121 -p1
-%if 0%{suse_version} != 1500
-# The patch for kernel 4.16 interferes with Leap 15 fixes
-%patch122 -p1
-%endif
 %patch123 -p1
 %patch124 -p1
 

++ UserManual.pdf ++
(binary differes)

++ VirtualBox-5.2.10-patched.tar.bz2 -> VirtualBox-5.2.12-patched.tar.bz2 
++
/work/SRC/openSUSE:Factory/virtualbox/VirtualBox-5.2.10-patched.tar.bz2 
/work/SRC/openSUSE:Factory/.virtualbox.new/VirtualBox-5.2.12-patched.tar.bz2 
differ: char 11, line 1

++ fixes_for_4.17.patch ++
--- /var/tmp/diff_new_pack.q6dem7/_old  2018-05-16 11:22:49.929226645 +0200
+++ /var/tmp/diff_new_pack.q6dem7/_new  2018-05-16 11:22:49.929226645 +0200
@@ -10,30 +10,11 @@
 
 Signed-off-by: Larry Finger 
 
-Index: VirtualBox-5.2.10/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
+Index: VirtualBox-5.2.12/src/VBox/Additions/linux/drm/vbox_ttm.c
 ===
 VirtualBox-5.2.10.orig/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
-+++ VirtualBox-5.2.10/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
-@@ -89,7 +89,14 @@ MODULE_VERSION(VBOX_VERSION_STRING " r"
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 20)
- # define PCI_DEV_GET(v,d,p)pci_get_device(v,d,p)
- # define PCI_DEV_PUT(x)pci_dev_put(x)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 17, 0)
-+/* assume the domain number to be zero - exactly the same assumption of
-+ * pci_get_bus_and_slot()
-+ */
-+# define PCI_DEV_GET_SLOT(bus, devfn)  pci_get_domain_bus_and_slot(0, bus, 
devfn)
-+#else
- # define PCI_DEV_GET_SLOT(bus, devfn)  pci_get_bus_and_slot(bus, devfn)
-+#endif
- #else
- # define PCI_DEV_GET(v,d,p)pci_find_device(v,d,p)
- # define PCI_DEV_PUT(x)do { } while (0)
-Index: VirtualBox-5.2.10/src/VBox/Additions/linux/drm/vbox_ttm.c
-===
 VirtualBox-5.2.10.orig/src/VBox/Additions/linux/drm/vbox_ttm.c
-+++ VirtualBox-5.2.10/src/VBox/Additions/linux/drm/vbox_ttm.c
-@@ -236,10 +236,15 @@ static struct ttm_backend_func vbox_tt_b
+--- 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 = _ttm_backend_destroy,
  };
  
@@ -49,7 +30,7 @@
  {
struct ttm_tt *tt;
  
-@@ -248,7 +253,11 @@ static struct ttm_tt 

commit virtualbox for openSUSE:Factory

2018-04-30 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2018-04-30 22:48:46

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Mon Apr 30 22:48:46 2018 rev:162 rq:601697 version:5.2.10

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2018-04-26 
13:22:49.685493807 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2018-04-30 22:48:57.422313323 +0200
@@ -1,0 +2,15 @@
+Thu Apr 26 16:27:04 UTC 2018 - larry.fin...@lwfinger.net
+
+- The 3rd time is the charm.
+
+---
+Wed Apr 25 20:14:59 UTC 2018 - larry.fin...@lwfinger.net
+
+- Fix typo that broke builds for kernel 4.16.
+
+---
+Wed Apr 25 15:23:08 UTC 2018 - larry.fin...@lwfinger.net
+
+- Update "fixes_for_4.17.patch" for some additional API changes.
+
+---
@@ -4 +19 @@
-- Add gcc8-configure.patch to fix boo#1090367.
+- Add "gcc8-configure.patch" to fix boo#1090367.



Other differences:
--
++ fixes_for_4.17.patch ++
--- /var/tmp/diff_new_pack.ASyRwg/_old  2018-04-30 22:48:59.942221384 +0200
+++ /var/tmp/diff_new_pack.ASyRwg/_new  2018-04-30 22:48:59.946221238 +0200
@@ -10,10 +10,10 @@
 
 Signed-off-by: Larry Finger 
 
-Index: VirtualBox-5.2.8/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
+Index: VirtualBox-5.2.10/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
 ===
 VirtualBox-5.2.8.orig/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
-+++ VirtualBox-5.2.8/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
+--- VirtualBox-5.2.10.orig/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
 VirtualBox-5.2.10/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
 @@ -89,7 +89,14 @@ MODULE_VERSION(VBOX_VERSION_STRING " r"
  #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 20)
  # define PCI_DEV_GET(v,d,p)pci_get_device(v,d,p)
@@ -29,3 +29,47 @@
  #else
  # define PCI_DEV_GET(v,d,p)pci_find_device(v,d,p)
  # define PCI_DEV_PUT(x)do { } while (0)
+Index: VirtualBox-5.2.10/src/VBox/Additions/linux/drm/vbox_ttm.c
+===
+--- VirtualBox-5.2.10.orig/src/VBox/Additions/linux/drm/vbox_ttm.c
 VirtualBox-5.2.10/src/VBox/Additions/linux/drm/vbox_ttm.c
+@@ -236,10 +236,15 @@ static struct ttm_backend_func vbox_tt_b
+   .destroy = _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;
+ 
+@@ -248,7 +253,11 @@ static struct ttm_tt *vbox_ttm_tt_create
+   return NULL;
+ 
+   tt->func = _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;
+   }
+@@ -450,7 +459,11 @@ int vbox_bo_create(struct drm_device *de
+ 
+   ret = ttm_bo_init(>ttm.bdev, >bo, size,
+ ttm_bo_type_device, >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





commit virtualbox for openSUSE:Factory

2018-04-26 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2018-04-26 13:22:46

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Thu Apr 26 13:22:46 2018 rev:161 rq:600358 version:5.2.10

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2018-04-19 
15:21:21.726851585 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2018-04-26 13:22:49.685493807 +0200
@@ -1,0 +2,5 @@
+Fri Apr 20 12:05:10 UTC 2018 - mli...@suse.cz
+
+- Add gcc8-configure.patch to fix boo#1090367.
+
+---

New:

  gcc8-configure.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.qCmkVe/_old  2018-04-26 13:22:52.077406248 +0200
+++ /var/tmp/diff_new_pack.qCmkVe/_new  2018-04-26 13:22:52.081406101 +0200
@@ -119,6 +119,7 @@
 Patch122:   fixes_for_4.16.patch
 # Fix build for kernel 4.17
 Patch123:   fixes_for_4.17.patch
+Patch124:   gcc8-configure.patch
 #
 BuildRequires:  LibVNCServer-devel
 BuildRequires:  SDL-devel
@@ -416,6 +417,7 @@
 %patch122 -p1
 %endif
 %patch123 -p1
+%patch124 -p1
 
 #copy user manual
 cp %{SOURCE1} UserManual.pdf

++ gcc8-configure.patch ++
--- a/configure 2018-04-20 13:44:45.259234618 +0200
+++ b/configure
@@ -440,7 +445,7 @@
   elif [ $cc_maj -lt 4 \
  -o \( $cc_maj -eq 4 -a $cc_min -lt 4 -a "$OS" != "darwin" \) \
  -o \( $cc_maj -eq 4 -a $cc_min -lt 2 -a "$OS"  = "darwin" \) \
- -o $cc_maj -gt 7 ]; then
+ -o $cc_maj -gt 8 ]; then
 log_failure "gcc version $cc_maj.$cc_min found, expected gcc 4.x...7.x"
 fail really
   else




commit virtualbox for openSUSE:Factory

2018-04-19 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2018-04-19 15:21:17

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Thu Apr 19 15:21:17 2018 rev:160 rq:597873 version:5.2.10

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2018-03-24 
16:08:13.406976663 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2018-04-19 15:21:21.726851585 +0200
@@ -1,0 +2,23 @@
+Wed Apr 18 15:56:20 UTC 2018 - larry.fin...@lwfinger.net
+
+- Version bump to 5.2.10 (released April 17 2018 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+Vulnerabilities CVE-2018-0739, CVE-2018-2830, CVE-2018-2831, 
CVE-2018-2835, CVE-2018-2836, CVE-2018-2837,
+   CVE-2018-2842, CVE-2018-2843, CVE-2018-2844, CVE-2018-2845, and 
CVE-2018-2860
+VMM: Fixed missing NULL pointer check in MMIO code
+Storage: fixed having multiple NVMe controllers with ICH9 enabled (5.2.0 
regression)
+Network: fixed wireless detection regression when bridging to adapters 
with unbound IP protocols (bug #17543)
+Audio: Fixed interrupt storm in FreeBSD guests with HDA (bug #17219)
+Keyboard: Introduced a small delay to fix old software which expects to be 
able to read an incoming scan code more than once (bug #17592)
+NAT: Handle nameserver 0.0.0.0 which is a valid setting (bug #17584)
+BIOS: INT 15h/87h service must disable A20 gate when done
+Linux Guest Additions: fix a hang starting KDE Plasma 
+
+---
+Tue Apr 17 12:57:03 UTC 2018 - larry.fin...@lwfinger.net
+
+- Add file "fixes_for_4.17.patch" to follow API changes in kernel 4.17.
+
+---

Old:

  VirtualBox-5.2.8-patched.tar.bz2

New:

  VirtualBox-5.2.10-patched.tar.bz2
  fixes_for_4.17.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.CB5yKI/_old  2018-04-19 15:21:24.002759998 +0200
+++ /var/tmp/diff_new_pack.CB5yKI/_new  2018-04-19 15:21:24.006759837 +0200
@@ -28,7 +28,7 @@
 %define _udevrulesdir %{_sysconfdir}/udev/rules.d
 Name:   virtualbox
 # * If the VB version exceeds 5.2.x, notify the libvirt maintainer!!
-Version:5.2.8
+Version:5.2.10
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0-or-later
@@ -117,6 +117,8 @@
 Patch121:   remove_vbox_video_build.patch
 # Fix build for kernel 4.16
 Patch122:   fixes_for_4.16.patch
+# Fix build for kernel 4.17
+Patch123:   fixes_for_4.17.patch
 #
 BuildRequires:  LibVNCServer-devel
 BuildRequires:  SDL-devel
@@ -413,6 +415,7 @@
 # The patch for kernel 4.16 interferes with Leap 15 fixes
 %patch122 -p1
 %endif
+%patch123 -p1
 
 #copy user manual
 cp %{SOURCE1} UserManual.pdf

++ UserManual.pdf ++
(binary differes)

++ VirtualBox-5.2.8-patched.tar.bz2 -> VirtualBox-5.2.10-patched.tar.bz2 
++
/work/SRC/openSUSE:Factory/virtualbox/VirtualBox-5.2.8-patched.tar.bz2 
/work/SRC/openSUSE:Factory/.virtualbox.new/VirtualBox-5.2.10-patched.tar.bz2 
differ: char 11, line 1

++ fixes_for_4.17.patch ++
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.8/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
===
--- VirtualBox-5.2.8.orig/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
+++ VirtualBox-5.2.8/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
@@ -89,7 +89,14 @@ MODULE_VERSION(VBOX_VERSION_STRING " r"
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 20)
 # define PCI_DEV_GET(v,d,p)pci_get_device(v,d,p)
 # define PCI_DEV_PUT(x)pci_dev_put(x)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 17, 0)
+/* assume the domain number to be zero - exactly the same assumption of
+ * pci_get_bus_and_slot()
+ */
+# define PCI_DEV_GET_SLOT(bus, devfn)  pci_get_domain_bus_and_slot(0, bus, 
devfn)
+#else
 # define PCI_DEV_GET_SLOT(bus, devfn)  pci_get_bus_and_slot(bus, devfn)
+#endif
 #else
 # define PCI_DEV_GET(v,d,p)

commit virtualbox for openSUSE:Factory

2018-03-24 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2018-03-24 16:08:11

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Sat Mar 24 16:08:11 2018 rev:159 rq:590432 version:5.2.8

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2018-03-13 
10:22:18.789479342 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2018-03-24 16:08:13.406976663 +0100
@@ -1,0 +2,15 @@
+Thu Mar 22 19:32:44 UTC 2018 - larry.fin...@lwfinger.net
+
+- Further updates for Leap 15 kernel API changes.
+
+---
+Wed Mar 21 15:28:52 UTC 2018 - larry.fin...@lwfinger.net
+
+-  Remove extraneouos %posttrans macros
+
+---
+Wed Mar 21 04:06:19 UTC 2018 - larry.fin...@lwfinger.net
+
+-  Update so that the system will build on the new Leap 15 kernel.
+
+---



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.h9G0u7/_old  2018-03-24 16:08:16.954848767 +0100
+++ /var/tmp/diff_new_pack.h9G0u7/_new  2018-03-24 16:08:16.966848334 +0100
@@ -109,7 +109,7 @@
 Patch116:   Fix_for_server_1.19.patch
 # Fix invalid use of internal headers
 Patch118:   internal-headers.patch
-# Fix kernl API change in Leap 15
+# Fix kernel API change in Leap 15
 Patch119:   fixes_for_leap15.patch
 # Fix rpmlint error for script /lib/usr/virtualbox/vboxshell.py
 Patch120:   fixes_for_python.patch
@@ -409,7 +409,10 @@
 %endif
 %patch120 -p1
 %patch121 -p1
+%if 0%{suse_version} != 1500
+# The patch for kernel 4.16 interferes with Leap 15 fixes
 %patch122 -p1
+%endif
 
 #copy user manual
 cp %{SOURCE1} UserManual.pdf

++ fixes_for_leap15.patch ++
--- /var/tmp/diff_new_pack.h9G0u7/_old  2018-03-24 16:08:17.030846028 +0100
+++ /var/tmp/diff_new_pack.h9G0u7/_new  2018-03-24 16:08:17.030846028 +0100
@@ -1,7 +1,7 @@
-Index: VirtualBox-5.2.6/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
+Index: VirtualBox-5.2.8/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
 ===
 VirtualBox-5.2.6.orig/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
-+++ VirtualBox-5.2.6/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
+--- VirtualBox-5.2.8.orig/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
 VirtualBox-5.2.8/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
 @@ -46,7 +46,7 @@
  typedef struct RTR0SEMLNXWAIT
  {
@@ -11,10 +11,10 @@
  wait_queue_entry_t WaitQE;
  #else
  wait_queue_tWaitQE;
-Index: 
VirtualBox-5.2.6/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
+Index: 
VirtualBox-5.2.8/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
 ===
 
VirtualBox-5.2.6.orig/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
-+++ VirtualBox-5.2.6/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
+--- 
VirtualBox-5.2.8.orig/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
 VirtualBox-5.2.8/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
 @@ -150,6 +150,10 @@ typedef struct VBOXNETFLTNOTIFIER *PVBOX
  # endif
  #endif
@@ -26,3 +26,19 @@
  #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 20, 0)
  # define VBOX_HAVE_SKB_VLAN
  #else
+Index: VirtualBox-5.2.8/src/VBox/Additions/linux/drm/vbox_mode.c
+===
+--- VirtualBox-5.2.8.orig/src/VBox/Additions/linux/drm/vbox_mode.c
 VirtualBox-5.2.8/src/VBox/Additions/linux/drm/vbox_mode.c
+@@ -401,11 +401,7 @@ static struct drm_encoder *vbox_best_sin
+ 
+   /* pick the encoder ids */
+   if (enc_id)
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)
+   return drm_encoder_find(connector->dev, NULL, enc_id);
+-#else
+-  return drm_encoder_find(connector->dev, enc_id);
+-#endif
+ 
+   return NULL;
+ }





commit virtualbox for openSUSE:Factory

2018-03-13 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2018-03-13 10:22:13

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Tue Mar 13 10:22:13 2018 rev:158 rq:585355 version:5.2.8

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2018-02-22 
14:57:23.528913493 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2018-03-13 10:22:18.789479342 +0100
@@ -1,0 +2,46 @@
+Sat Mar 10 21:20:15 UTC 2018 - larry.fin...@lwfinger.net
+
+-  Remove version requirement on GLIBC. That was an error.
+
+---
+Fri Mar  9 01:41:56 UTC 2018 - larry.fin...@lwfinger.net
+
+-  Updated the fixes for kernel 4.16.
+
+---
+Sat Mar  3 19:15:12 UTC 2018 - larry.fin...@lwfinger.net
+
+-  Add file "fixes_for_4.16.patch" to handle API changes in kernel 4.16.
+
+---
+Wed Feb 28 20:08:22 UTC 2018 - larry.fin...@lwfinger.net
+
+- File "fixes_for_4.15.patch" removed - fixed upstream. 
+  File "fix_videocapture.patch" removed - fixed upstream.
+  Version bump to 5.2.8 (released 2018-02-27 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+VMM: added support for FSGSBASE, PCID, INVPCID CPU features for guests
+VMM: fixed EMM386 issue with detecting suitable page frame base (bug 
#10022)
+Front end: Linux: prevent VM window from jumping and auto-resizing to tiny 
size after resizing it on HiDPI screen
+Front end: Linux: fixed seamless regression caused by wm_class 
functionality (bugs #12534, #17304)
+Front end: switched to https downloads
+Front end: fixed crash while opening New machine wizard (s.a. forums topic 
86592)
+Audio: added support for distinguishing recording sources in the 
PulseAudio mixer on the host when multiple VMs are running
+Audio: various fixes for the DirectSound backend
+Video recording: added better file seeking support and fixed playback of 
recorded files with certain players (e.g. Firefox)
+Audio: various fixes for Windows guest surround setups
+Audio: various fixes for HDA emulation
+Serial: fixed an issue where the serial port parameters in the emulation 
and host serial port got out of sync (bug #17116)
+Storage: fixed overwriting certain INQUIRY data for the DVD/CD drive 
attached to a AHCI controller
+Storage: fixed handling VMDK images created by Amazon EC2 VM export
+Network: fixed PXE boot regression in e1000
+Network: Added a workaround for older guests which do not enable bus 
mastering for the virtio PCI device
+3D: add environment variable to configure presenting 3D content on main 
thread (see bug #13653)
+Windows hosts: fixed indiscriminate binding of NDIS5 bridged driver, that 
caused PPPOE malfunction (bugs #16407, #17489)
+Windows guests: fixed incorrect function error when using shared folders 
in certain applications (bug #14118)
+Linux guests: Linux 4.15 support (bugs #17311, #17320, #17282)
+Linux guests: fixed black screen when 3D enabled in guests (bug #17463, 
5.2.6 regression)
+Linux guests: suppress setuid and setgid in shared folders 
+---

Old:

  VirtualBox-5.2.6-patched.tar.bz2
  fix_videocapture.patch
  fixes_for_4.15.patch

New:

  VirtualBox-5.2.8-patched.tar.bz2
  fixes_for_4.16.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.J4m8Qg/_old  2018-03-13 10:22:23.069326011 +0100
+++ /var/tmp/diff_new_pack.J4m8Qg/_new  2018-03-13 10:22:23.069326011 +0100
@@ -28,17 +28,17 @@
 %define _udevrulesdir %{_sysconfdir}/udev/rules.d
 Name:   virtualbox
 # * If the VB version exceeds 5.2.x, notify the libvirt maintainer!!
-Version:5.2.6
+Version:5.2.8
 Release:0
 Summary:VirtualBox is an Emulator
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  System/Emulators/PC
 Url:http://www.virtualbox.org/
 #
 # so you don't need to repack virtualbox by hand, just add new release of 
VirtualBox-x.x.x.tar.bz2 and line below with
 # script virtualbox-patch-source.sh will do the job :)
 # WARNING: This is not a comment, but the real command to repack souce
-##\%(bash %{_sourcedir}/virtualbox-patch-source.sh 
VirtualBox-%{version}.tar.bz2)
+#%%(bash %%{_sourcedir}/virtualbox-patch-source.sh 
VirtualBox-%%{version}.tar.bz2)
 Source0:

commit virtualbox for openSUSE:Factory

2018-02-22 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2018-02-22 14:57:22

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Thu Feb 22 14:57:22 2018 rev:157 rq:578824 version:5.2.6

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2018-02-18 
11:40:53.020789910 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2018-02-22 14:57:23.528913493 +0100
@@ -1,0 +2,5 @@
+Wed Feb 21 17:44:07 UTC 2018 - larry.fin...@lwfinger.net
+
+- Modify virtualbox-vnc to require libvncserver0 (bsc#1081856).
+
+---



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.GtyLjL/_old  2018-02-22 14:57:27.284778350 +0100
+++ /var/tmp/diff_new_pack.GtyLjL/_new  2018-02-22 14:57:27.288778206 +0100
@@ -373,6 +373,7 @@
 Summary:VNC desktop sharing
 Group:  System/Emulators/PC
 Requires:   %{name} = %{version}
+Requires:   libvncserver0
 
 %description vnc
 Virtual Network Computing (VNC) is a graphical desktop sharing system that 
uses the Remote Frame Buffer





commit virtualbox for openSUSE:Factory

2018-02-18 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2018-02-18 11:40:13

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Sun Feb 18 11:40:13 2018 rev:156 rq:577317 version:5.2.6

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2018-02-05 
10:44:05.861342294 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2018-02-18 11:40:20.233966864 +0100
@@ -1,0 +2,7 @@
+Fri Feb 16 06:05:07 UTC 2018 - larry.fin...@lwfinger.net
+
+- Fix bug in video capture - boo#1081281.
+  The variable used to store the time code is only 16 bits, but needs to be 
32-bits long.
+  File "fix_videocapture.patch" is added to fix the problem.
+
+---

New:

  fix_videocapture.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.fCfjJa/_old  2018-02-18 11:40:23.937833906 +0100
+++ /var/tmp/diff_new_pack.fCfjJa/_new  2018-02-18 11:40:23.945833618 +0100
@@ -117,6 +117,8 @@
 Patch120:   fixes_for_python.patch
 # Remove vboxvideo from build
 Patch121:   remove_vbox_video_build.patch
+# Fix video capture
+Patch122:   fix_videocapture.patch
 #
 BuildRequires:  LibVNCServer-devel
 BuildRequires:  SDL-devel
@@ -409,6 +411,7 @@
 %endif
 %patch120 -p1
 %patch121 -p1
+%patch122 -p1
 
 #copy user manual
 cp %{SOURCE1} UserManual.pdf

++ fix_videocapture.patch ++
Index: VirtualBox-5.2.6/src/VBox/Main/src-client/WebMWriter.h
===
--- VirtualBox-5.2.6.orig/src/VBox/Main/src-client/WebMWriter.h
+++ VirtualBox-5.2.6/src/VBox/Main/src-client/WebMWriter.h
@@ -91,7 +91,7 @@ class WebMWriter : public EBMLWriter
 public:
 
 /** Defines a WebM timecode. */
-typedef uint16_t WebMTimecode;
+typedef uint32_t WebMTimecode;
 
 /** Defines the WebM block flags data type. */
 typedef uint8_t  WebMBlockFlags;




commit virtualbox for openSUSE:Factory

2018-02-05 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2018-02-05 10:43:57

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Mon Feb  5 10:43:57 2018 rev:155 rq:572356 version:5.2.6

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2018-01-22 
15:56:35.731479622 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2018-02-05 10:44:05.861342294 +0100
@@ -1,0 +2,8 @@
+Sat Feb  3 14:23:26 UTC 2018 - wba...@tmo.at
+
+- Update "fixes_for_4.15.patch": remove useless log statement that
+  broke building the vboxvideo guest kernel module
+- Build and install it again, it's needed for KMS support, i.e. for
+  Xorg's "modesetting" driver to work in the guest (boo#1079221)
+
+---



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.zXu5IA/_old  2018-02-05 10:44:08.305227866 +0100
+++ /var/tmp/diff_new_pack.zXu5IA/_new  2018-02-05 10:44:08.309227679 +0100
@@ -483,10 +483,10 @@
 #
 # build kernel modules for guest and host (check novel-kmp package as example)
 # host  modules : vboxdrv,vboxnetflt,vboxnetadp,vboxpci
-# guest modules : vboxguest,vboxsf
+# guest modules : vboxguest,vboxsf,vboxvideo
 echo "build kernel modules"
 for vbox_module in out/linux.*/release/bin/src/vbox{drv,netflt,netadp,pci} \
-   out/linux.*/release/bin/additions/src/vbox{guest,sf}; do
+   out/linux.*/release/bin/additions/src/vbox{guest,sf,video}; do
 #get the module name from path
 module_name=$(basename "$vbox_module")
 
@@ -514,10 +514,10 @@
  $PWD/modules_build_dir/$flavor/$module_name
fi
# copy vboxguest (for guest) module symbols which are used by vboxvideo 
km:
-#  if [ "$module_name" = "vboxvideo" ]; then
-#  cp $PWD/modules_build_dir/$flavor/vboxguest/Module.symvers \
-#$PWD/modules_build_dir/$flavor/$module_name
-#  fi
+   if [ "$module_name" = "vboxvideo" ]; then
+   cp $PWD/modules_build_dir/$flavor/vboxguest/Module.symvers \
+ $PWD/modules_build_dir/$flavor/$module_name
+   fi
# build the module for the specific flavor
make -j2 -C %{_prefix}/src/linux-obj/%{_target_cpu}/$flavor modules \
M=$PWD/modules_build_dir/$flavor/$module_name
@@ -556,7 +556,7 @@
 export INITRD_IN_POSTTRANS=1
 export KMP_NEEDS_MKINITRD=0
 #to install modules we use here similar steps like in build phase, go through 
all the modules :
-for module_name in vbox{drv,netflt,pci,netadp,guest,sf}
+for module_name in vbox{drv,netflt,pci,netadp,guest,sf,video}
 do
#and through the all flavors
for flavor in %{flavors_to_build}; do

++ fixes_for_4.15.patch ++
--- /var/tmp/diff_new_pack.zXu5IA/_old  2018-02-05 10:44:08.365225057 +0100
+++ /var/tmp/diff_new_pack.zXu5IA/_new  2018-02-05 10:44:08.369224870 +0100
@@ -102,7 +102,7 @@
 ===
 --- VirtualBox-5.2.6.orig/src/VBox/Additions/linux/drm/vbox_mode.c
 +++ VirtualBox-5.2.6/src/VBox/Additions/linux/drm/vbox_mode.c
-@@ -401,8 +401,13 @@ static struct drm_encoder *vbox_best_sin
+@@ -401,7 +401,11 @@ static struct drm_encoder *vbox_best_sin
  
/* pick the encoder ids */
if (enc_id)
@@ -113,7 +113,5 @@
 +return drm_encoder_find(connector->dev, enc_id);
 +#endif
  
-+  LogFunc(("vboxvideo: %d\n", __LINE__));
return NULL;
  }
- 


++ virtualbox-guest-kmp-files ++
--- /var/tmp/diff_new_pack.zXu5IA/_old  2018-02-05 10:44:08.617213259 +0100
+++ /var/tmp/diff_new_pack.zXu5IA/_new  2018-02-05 10:44:08.621213071 +0100
@@ -1,5 +1,6 @@
 %defattr (-,root,root) 
 %dir /lib/modules/%2-%1/
 %dir /lib/modules/%2-%1/extra
+/lib/modules/%2-%1/extra/vboxvideo.ko
 /lib/modules/%2-%1/extra/vboxsf.ko
 /lib/modules/%2-%1/extra/vboxguest.ko




commit virtualbox for openSUSE:Factory

2018-01-22 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2018-01-22 15:56:32

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Mon Jan 22 15:56:32 2018 rev:154 rq:567768 version:5.2.6

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2018-01-16 
09:38:06.197673695 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2018-01-22 15:56:35.731479622 +0100
@@ -1,0 +2,19 @@
+Thu Jan 18 19:01:59 UTC 2018 - larry.fin...@lwfinger.net
+
+- Version bump to 5.2.6 (released 2018-01-15 by Oracle)
+
+Fixes for the following vulnerabilities (bsc#1076372)
+CVE-2018-2694, CVE-2018-2698, CVE-2018-2685, CVE-2018-2686, CVE-2018-2687, 
CVE-2018-2688
+CVE-2018-2689, CVE-2018-2690, CVE-2018-2676, CVE-2018-2693, CVE-2017-5715
+ 
+This is a maintenance release. The following items were fixed and/or added:
+
+GUI: fixed occasional screen corruption when host screen resolutio n is 
changed
+User interface: increase proposed disk size when creating new VMs for 
Windows 7 and newer
+User interface: various improvements for high resolution screens
+VMM: Fixed problems using 256MB VRAM in raw-mode VMs
+Audio: implemented support for audio playback and recording for macOS 
guests
+Audio: further timing improvements for Windows 10 guests
+Linux hosts: fixed problem accessing mini-toolbar under XFCE (bug #17280, 
contributed by Dusan Gallo) 
+
+---

Old:

  VirtualBox-5.2.4-patched.tar.bz2

New:

  VirtualBox-5.2.6-patched.tar.bz2



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.VYJ4Mm/_old  2018-01-22 15:56:38.355356813 +0100
+++ /var/tmp/diff_new_pack.VYJ4Mm/_new  2018-01-22 15:56:38.355356813 +0100
@@ -28,7 +28,7 @@
 %define _udevrulesdir %{_sysconfdir}/udev/rules.d
 Name:   virtualbox
 # * If the VB version exceeds 5.2.x, notify the libvirt maintainer!!
-Version:5.2.4
+Version:5.2.6
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0+
@@ -38,7 +38,7 @@
 # so you don't need to repack virtualbox by hand, just add new release of 
VirtualBox-x.x.x.tar.bz2 and line below with
 # script virtualbox-patch-source.sh will do the job :)
 # WARNING: This is not a comment, but the real command to repack souce
-#%(bash %{_sourcedir}/virtualbox-patch-source.sh VirtualBox-%{version}.tar.bz2)
+##\%(bash %{_sourcedir}/virtualbox-patch-source.sh 
VirtualBox-%{version}.tar.bz2)
 Source0:VirtualBox-%{version}-patched.tar.bz2
 Source1:UserManual.pdf
 Source3:%{name}-60-vboxguest.rules
@@ -251,7 +251,7 @@
 
 %package host-KMP
 Summary:Host kernel module for VirtualBox
-#%kernel_module_package -t %{_builddir}/virtualbox-kmp-template -p %{SOURCE7} 
-n %{name}-host -f %{SOURCE5} -x kdump um xen pae xenpae pv
+##\%kernel_module_package -t %{_builddir}/virtualbox-kmp-template -p 
%{SOURCE7} -n %{name}-host -f %{SOURCE5} -x kdump um xen pae xenpae pv
 Group:  System/Emulators/PC
 Requires:   %{kernel_module_package_buildreqs}
 
@@ -946,8 +946,8 @@
 %{_bindir}/VBoxClient
 %{_libdir}/VBoxOGL*.so
 %{_libdir}/VBoxEGL*.so
-#%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so
-#%{_libdir}/dri/vboxvideo_dri.so
+##\%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so
+##\%{_libdir}/dri/vboxvideo_dri.so
 %{_sysconfdir}/X11/xinit/xinitrc.d/vboxadd-xclient.sh
 
 %files guest-tools

++ UserManual.pdf ++
(binary differes)

++ VirtualBox-5.2.4-patched.tar.bz2 -> VirtualBox-5.2.6-patched.tar.bz2 
++
/work/SRC/openSUSE:Factory/virtualbox/VirtualBox-5.2.4-patched.tar.bz2 
/work/SRC/openSUSE:Factory/.virtualbox.new/VirtualBox-5.2.6-patched.tar.bz2 
differ: char 11, line 1

++ fixes_for_4.15.patch ++
--- /var/tmp/diff_new_pack.VYJ4Mm/_old  2018-01-22 15:56:38.427353443 +0100
+++ /var/tmp/diff_new_pack.VYJ4Mm/_new  2018-01-22 15:56:38.427353443 +0100
@@ -1,87 +1,7 @@
-This patch file makes the necessary changes to the VirtualBox 5.1.30 sources
-to allow the kernel modules to build with kernel 4.15.
-
-The API changes are of several types:
-
-1. The timer initialization routine init_timer_pinned() no longer exists, and
-   is replaced by timer_setup().
-2. The timer callback routine calling sequence is changed as is the technique
-   for getting the timer information from the callback parameters.
-3. The calling sequence for drm_encoder_find() is changed.
-4. The calling sequence for the .get and .set members of the 
module_param_call()
-   calls have changed.
-
-This patch is released under the MIT 

commit virtualbox for openSUSE:Factory

2018-01-16 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2018-01-16 09:38:04

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Tue Jan 16 09:38:04 2018 rev:153 rq:563907 version:5.2.4

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2018-01-09 
14:35:52.272539848 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2018-01-16 09:38:06.197673695 +0100
@@ -1,0 +2,5 @@
+Fri Jan 12 17:13:07 UTC 2018 - larry.fin...@lwfinger.net
+
+- Updated file "fixes_for_leap15.patch" for new source.
+
+---



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.th5fKJ/_old  2018-01-16 09:38:08.985543200 +0100
+++ /var/tmp/diff_new_pack.th5fKJ/_new  2018-01-16 09:38:08.989543012 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package virtualbox
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,7 @@
 %define _vbox_instdir  %{_libexecdir}/virtualbox
 %define _udevrulesdir %{_sysconfdir}/udev/rules.d
 Name:   virtualbox
+# * If the VB version exceeds 5.2.x, notify the libvirt maintainer!!
 Version:5.2.4
 Release:0
 Summary:VirtualBox is an Emulator

++ fixes_for_leap15.patch ++
--- /var/tmp/diff_new_pack.th5fKJ/_old  2018-01-16 09:38:09.057539830 +0100
+++ /var/tmp/diff_new_pack.th5fKJ/_new  2018-01-16 09:38:09.061539642 +0100
@@ -1,7 +1,7 @@
-Index: VirtualBox-5.1.30/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
+Index: VirtualBox-5.2.4/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
 ===
 VirtualBox-5.1.30.orig/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
-+++ VirtualBox-5.1.30/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
+--- VirtualBox-5.2.4.orig/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
 VirtualBox-5.2.4/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
 @@ -46,7 +46,7 @@
  typedef struct RTR0SEMLNXWAIT
  {
@@ -11,12 +11,12 @@
  wait_queue_entry_t WaitQE;
  #else
  wait_queue_tWaitQE;
-Index: 
VirtualBox-5.1.30/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
+Index: 
VirtualBox-5.2.4/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
 ===
 
VirtualBox-5.1.30.orig/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
-+++ VirtualBox-5.1.30/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
-@@ -130,6 +130,10 @@ typedef struct VBOXNETFLTNOTIFIER *PVBOX
- #define SKB_GSO_UDP   0
+--- 
VirtualBox-5.2.4.orig/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
 VirtualBox-5.2.4/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
+@@ -150,6 +150,10 @@ typedef struct VBOXNETFLTNOTIFIER *PVBOX
+ # endif
  #endif
  
 +# if 1
@@ -26,12 +26,3 @@
  #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 20, 0)
  # define VBOX_HAVE_SKB_VLAN
  #else
-@@ -726,7 +730,7 @@ static struct sk_buff *vboxNetFltLinuxSk
- case PDMNETWORKGSOTYPE_IPV4_TCP:
- fGsoType = SKB_GSO_TCPV4;
- break;
--# if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0)
-+# if 1
- case PDMNETWORKGSOTYPE_IPV4_UDP:
- fGsoType = SKB_GSO_UDP;
- break;





commit virtualbox for openSUSE:Factory

2018-01-09 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2018-01-09 14:35:46

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Tue Jan  9 14:35:46 2018 rev:152 rq:560652 version:5.2.4

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-12-23 
12:18:30.422448438 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2018-01-09 14:35:52.272539848 +0100
@@ -1,0 +2,78 @@
+Fri Dec 29 19:19:22 UTC 2017 - larry.fin...@lwfinger.net
+
+- File "fixes_for_4.14.patch" deleted - upstream fix.
+  File "remove_vbox_video_build.patch" added as current versions of Xorg no 
longer need this component.
+
+Version update to 5.2.4 (released 2017-12-19 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+User interface: Adjusting desktop file for X11 window managers (bug #17312)
+User interface: various high resolution display adjustments
+Audio: fixed SB16 volume handling (5.2 regression)
+Audio: various fixes
+USB/OHCI: fixed a problem where OHCI emulation might sporadically drop 
data transfers
+Linux hosts: fixed screen corruption when the host screen changes and a 
virtual machine window is maximized
+X11 Guest Additions: fixed a hang at the GNOME Shell login screen with 3D 
enabled (5.2 regression, bugs #17189 and #17190) 
+
+Version bump to 5.2.2 (released 2017-11-24 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+User interface: various improvements for high resolution screens
+User interface: added functionality to duplicate optical and floppy images
+User interface: various improvements for the virtual media manager
+VMM: fixed emulation so that Plan 9 guests can start once more (5.1.0 
regression)
+Storage: fixed regression breaking iSCSI (bug #17196)
+Audio: added HDA support for more exotic guests (e.g. Haiku)
+Serial: fixed hanging I/O when using named pipes on Windows (5.2.0 
regression; bug #17227)
+Serial: fixed broken communication with certain devices on Linux hosts
+USB/OHCI: improved behavior so that the controller state after a VM reset 
is closer to the initial state after VM start
+EFI: fixed HFS+ driver which in rare cases failed to access most files on 
a volume
+Shared clipboard: fixed hang with OS X host and Linux guest (bug #15782)
+Linux hosts: fixed kernel module compilation and start failures with Linux 
kernel 4.14 (bug #17267)
+X11 hosts: better handle WM_CLASS setting (bug #12534)
+Linux guests: fixed kernel module compilation and other problems with 
Linux kernel 4.14 (bug #12534)
+Linux guests: fixed kernel module compilation and other problems with 
Linux kernel 4.14
+Linux guests: fixed various 5.2.0 regressions (bug #17163)
+Bridged networking: fixed duplicate EtherType in VLAN/priority tags on 
Linux (5.2.0 regression; bug #17277) 
+
+Version change to 5.2.0 (released 2017-10-18 by Oracle)
+
+This is a major update. The following major new features were added:
+
+VM export to Oracle Cloud (OPC)
+Unattended guest installation (bug #5810; see the manual for more 
information)
+Overhauled VM selector GUI (improved tools VM / global tools handling, new 
icons)
+Added experimental audio support for video recording 
+
+In addition, the following items were fixed and/or added:
+
+VMM: fixed reason for recent Linux kernels on also recent CPU models 
warning about "XSAVE consistency problem"
+GUI: Virtual Media Manager rework allowing to manage media attributes, 
like size, location, type and description
+GUI: Host-only Network Manager implemented to simplify managing 
corresponding networks and their attributes
+GUI: Snapshot Pane rework allowing to manage snapshot attributes, like 
name and description; reworked snapshot details which looks more clear, 
corresponds to VM Details pane and reflects current VM state difference 
according to last snapshot taken
+GUI: Audio settings extended with possibility to enable/disable audio 
input/output; corresponding changed were done to Audio and Video Capture 
settings pages; VM Devices menu and status-bar extended with corresponding 
actions and indicator as well
+GUI: improvements with accessibility support
+GUI: Fixed double mouse cursor when using mouse integration without Guest 
Additions, actually a Qt 5.6 bug fixed with QT 5.6.3 (Mac OS X hosts only; bug 
#15610)
+Audio: implemented (optional) device enumeration support for audio backends
+Audio: implemented support for host device callbacks (e.g. when adding or 
removing an audio device)
+Audio: HDA emulation now uses 

commit virtualbox for openSUSE:Factory

2017-12-23 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-12-23 12:18:27

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Sat Dec 23 12:18:27 2017 rev:151 rq:558184 version:5.1.30

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-12-11 
18:55:32.925288669 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-12-23 12:18:30.422448438 +0100
@@ -1,0 +2,5 @@
+Mon Dec 11 14:02:07 UTC 2017 - hschm...@suse.com
+
+- Fix spelling mistakes in vbox-usb-warning.diff.
+
+---



Other differences:
--
++ vbox-usb-warning.diff ++
--- /var/tmp/diff_new_pack.ugG0LV/_old  2017-12-23 12:18:33.186313673 +0100
+++ /var/tmp/diff_new_pack.ugG0LV/_new  2017-12-23 12:18:33.186313673 +0100
@@ -3,13 +3,13 @@
 --- VirtualBox-5.1.22.orig/src/apps/Makefile.kmk
 +++ VirtualBox-5.1.22/src/apps/Makefile.kmk
 @@ -31,5 +31,7 @@ endif
- 
+
  include $(PATH_SUB_CURRENT)/VBoxPermissionMessage/Makefile.kmk
- 
+
 +include $(PATH_SUB_CURRENT)/VBoxUSB_DevRules/Makefile.kmk
 +
  include $(FILE_KBUILD_SUB_FOOTER)
- 
+
 Index: VirtualBox-5.1.22/src/apps/VBoxUSB_DevRules/Makefile.kmk
 ===
 --- /dev/null
@@ -64,12 +64,12 @@
 +  QPushButton *myYesButton = msgBox.addButton("Enable", 
QMessageBox::YesRole);
 +  QPushButton *myNoButton = msgBox.addButton("Disable", 
QMessageBox::NoRole);
 +  msgBox.setWindowTitle(QObject::tr("USB Rules and Permissions !"));
-+msgBox.setText(QObject::tr("USB passthru opens a security hole. "
++msgBox.setText(QObject::tr("USB passthrough opens a security hole. "
 +  "Please read 
\nhttps://bugzilla.novell.com/show_bug.cgi?id=664520\n;
-+  "to understand the problem.\n\nWe regard USB passthru 
to be extremely useful and worth the security risk. "
-+  "thus the code defaults to enabling this feature. If 
you agree that the risk is acceptible, then click 'Enable'.\n"
++  "to understand the problem.\n\nWe regard USB 
passthrough to be extremely useful and worth the security risk. "
++  "Thus the code defaults to enabling this feature. If 
you agree that the risk is acceptable, then click 'Enable'.\n"
 +  "You will not be asked this question again when VB is 
updated. If you later change your mind, run 'rm ~/.vbox/*'\n\n"
-+  "If you wish to disable USB passthru to plug the 
security hole, then click 'Disable'. "
++  "If you wish to disable USB passthrough to plug the 
security hole, then click 'Disable'. "
 +  "You will be asked for the system password, and 
/etc/udev/rules.d/60-vboxdrv.rules will be changed.\n"
 +  "These changes cannot be preserved through VB updates, 
thus this screen will be displayed again at that time."));
 +  msgBox.exec();





commit virtualbox for openSUSE:Factory

2017-12-11 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-12-11 18:55:26

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Mon Dec 11 18:55:26 2017 rev:150 rq:58 version:5.1.30

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-12-04 
10:00:01.285543572 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-12-11 18:55:32.925288669 +0100
@@ -1,0 +2,7 @@
+Sat Dec  9 01:11:34 UTC 2017 - larry.fin...@lwfinger.net
+
+- Move location of kernel modules from /lib/modules/$(uname -r)/misc to
+  /lib/modules/$(uname -r)/extra. This change is supposed to force rebuild
+  of the modules when the kernel is updated.
+
+---



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.klKZUf/_old  2017-12-11 18:55:35.489166550 +0100
+++ /var/tmp/diff_new_pack.klKZUf/_new  2017-12-11 18:55:35.493166360 +0100
@@ -550,7 +550,7 @@
 echo "entering virtualbox-kmp-guest and virtualbox-kmp-host install section"
 

 export INSTALL_MOD_PATH=%{buildroot}
-export INSTALL_MOD_DIR=misc
+export INSTALL_MOD_DIR=extra
 #Keep the install process from calling mkinitrd. The VB kernel modules are not 
in initrd. bsc#1052428
 export INITRD_IN_POSTTRANS=1
 export KMP_NEEDS_MKINITRD=0

++ vboxdrv.sh ++
--- /var/tmp/diff_new_pack.klKZUf/_old  2017-12-11 18:55:35.665158168 +0100
+++ /var/tmp/diff_new_pack.klKZUf/_new  2017-12-11 18:55:35.665158168 +0100
@@ -234,7 +234,7 @@
 if [ ! -z "$MAJOR" ]; then
 MINOR=0
 else
-MINOR=`sed -n 's;\([0-9]\+\) vboxdrv$;\1;p' /proc/misc`
+MINOR=`sed -n 's;\([0-9]\+\) vboxdrv$;\1;p' /proc/extra`
 if [ ! -z "$MINOR" ]; then
 MAJOR=10
 fi
@@ -349,16 +349,16 @@
 for i in /lib/modules/*; do
 # We could just do "rm -f", but we only want to try deleting folders if
 # we are sure they were ours, i.e. they had our modules in beforehand.
-iftest -e "${i}/misc/vboxdrv.ko" \
-   || test -e "${i}/misc/vboxnetadp.ko" \
-   || test -e "${i}/misc/vboxnetflt.ko" \
-   || test -e "${i}/misc/vboxpci.ko"; then
-rm -f "${i}/misc/vboxdrv.ko" "${i}/misc/vboxnetadp.ko" \
-  "${i}/misc/vboxnetflt.ko" "${i}/misc/vboxpci.ko"
+iftest -e "${i}/extra/vboxdrv.ko" \
+   || test -e "${i}/extra/vboxnetadp.ko" \
+   || test -e "${i}/extra/vboxnetflt.ko" \
+   || test -e "${i}/extra/vboxpci.ko"; then
+rm -f "${i}/extra/vboxdrv.ko" "${i}/extra/vboxnetadp.ko" \
+  "${i}/extra/vboxnetflt.ko" "${i}/extra/vboxpci.ko"
 # Remove the kernel version folder if it was empty except for us.
-test   "`echo ${i}/misc/* ${i}/misc/.?* ${i}/* ${i}/.?*`" \
- = "${i}/misc/* ${i}/misc/.. ${i}/misc ${i}/.." &&
-rmdir "${i}/misc" "${i}"  # We used to leave empty folders.
+test   "`echo ${i}/extra/* ${i}/extra/.?* ${i}/* ${i}/.?*`" \
+ = "${i}/extra/* ${i}/extra/.. ${i}/extra ${i}/.." &&
+rmdir "${i}/extra" "${i}"  # We used to leave empty folders.
 version=`expr "${i}" : "/lib/modules/\(.*\)"`
 depmod -a "${version}"
 fi


++ virtualbox-guest-kmp-files ++
--- /var/tmp/diff_new_pack.klKZUf/_old  2017-12-11 18:55:35.761153595 +0100
+++ /var/tmp/diff_new_pack.klKZUf/_new  2017-12-11 18:55:35.761153595 +0100
@@ -1,6 +1,6 @@
 %defattr (-,root,root) 
 %dir /lib/modules/%2-%1/
-%dir /lib/modules/%2-%1/misc
-/lib/modules/%2-%1/misc/vboxsf.ko
-/lib/modules/%2-%1/misc/vboxvideo.ko
-/lib/modules/%2-%1/misc/vboxguest.ko
+%dir /lib/modules/%2-%1/extra
+/lib/modules/%2-%1/extra/vboxsf.ko
+/lib/modules/%2-%1/extra/vboxvideo.ko
+/lib/modules/%2-%1/extra/vboxguest.ko

++ virtualbox-host-kmp-files ++
--- /var/tmp/diff_new_pack.klKZUf/_old  2017-12-11 18:55:35.809151310 +0100
+++ /var/tmp/diff_new_pack.klKZUf/_new  2017-12-11 18:55:35.809151310 +0100
@@ -1,7 +1,7 @@
 %defattr (-,root,root)
 %dir /lib/modules/%2-%1/
-%dir /lib/modules/%2-%1/misc
-/lib/modules/%2-%1/misc/vboxdrv.ko
-/lib/modules/%2-%1/misc/vboxnetadp.ko
-/lib/modules/%2-%1/misc/vboxnetflt.ko
-/lib/modules/%2-%1/misc/vboxpci.ko
+%dir /lib/modules/%2-%1/extra
+/lib/modules/%2-%1/extra/vboxdrv.ko
+/lib/modules/%2-%1/extra/vboxnetadp.ko
+/lib/modules/%2-%1/extra/vboxnetflt.ko
+/lib/modules/%2-%1/extra/vboxpci.ko




commit virtualbox for openSUSE:Factory

2017-12-04 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-12-04 09:59:58

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Mon Dec  4 09:59:58 2017 rev:149 rq:547420 version:5.1.30

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-11-30 
12:37:58.198108497 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-12-04 10:00:01.285543572 +0100
@@ -1,0 +2,5 @@
+Sat Dec  2 03:57:55 UTC 2017 - larry.fin...@lwfinger.net
+
+- Update "fixes_for_4.15.patch" for further API changes in kernel 4.15.
+
+---



Other differences:
--
++ fixes_for_4.15.patch ++
--- /var/tmp/diff_new_pack.VEdHZv/_old  2017-12-04 10:00:07.393321887 +0100
+++ /var/tmp/diff_new_pack.VEdHZv/_new  2017-12-04 10:00:07.397321742 +0100
@@ -1,15 +1,180 @@
+This patch file makes the necessary changes to the VirtualBox 5.1.30 sources
+to allow the kernel modules to build with kernel 4.15.
+
+The API changes are of several types:
+
+1. The timer initialization routine init_timer_pinned() no longer exists, and
+   is replaced by timer_setup().
+2. The timer callback routine calling sequence is changed as is the technique
+   for getting the timer information from the callback parameters.
+3. The calling sequence for drm_encoder_find() is changed.
+4. The calling sequence for the .get and .set members of the 
module_param_call()
+   calls have changed.
+
+This patch is released under the MIT license when appropriate, GPLv2 otherwise.
+
+Signed-off-by: Larry Finger 
+
 Index: VirtualBox-5.1.30/src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c
 ===
 --- VirtualBox-5.1.30.orig/src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c
 +++ VirtualBox-5.1.30/src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c
-@@ -1584,7 +1584,9 @@ RTDECL(int) RTTimerCreateEx(PRTTIMER *pp
+@@ -715,6 +715,14 @@ static enum hrtimer_restart rtTimerLinux
+ #endif /* RTTIMER_LINUX_WITH_HRTIMER */
+ 
+ 
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)
++/**
++ * Timer callback for kernels 4.15 and later
++ */
++static void rtTimerLinuxStdCallback(struct timer_list *t)
++{
++PRTTIMERLNXSUBTIMER pSubTimer = from_timer(pSubTimer, t, u.Std.LnxTimer);
++#else
+ /**
+  * Timer callback function for standard timers.
+  *
+@@ -723,6 +731,7 @@ static enum hrtimer_restart rtTimerLinux
+ static void rtTimerLinuxStdCallback(unsigned long ulUser)
+ {
+ PRTTIMERLNXSUBTIMER pSubTimer = (PRTTIMERLNXSUBTIMER)ulUser;
++#endif
+ PRTTIMERpTimer= pSubTimer->pParent;
+ 
+ RTTIMERLNX_LOG(("stdcallback %p\n", pTimer));
+@@ -1584,13 +1593,17 @@ RTDECL(int) RTTimerCreateEx(PRTTIMER *pp
  else
  #endif
  {
 -#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0)
 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)
-+  __init_timer(>aSubTimers[iCpu].u.Std.LnxTimer, 
TIMER_PINNED);
++
timer_setup(>aSubTimers[iCpu].u.Std.LnxTimer,rtTimerLinuxStdCallback, 
TIMER_PINNED);
 +#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0)
  init_timer_pinned(>aSubTimers[iCpu].u.Std.LnxTimer);
  #else
  init_timer(>aSubTimers[iCpu].u.Std.LnxTimer);
+ #endif
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0)
+ pTimer->aSubTimers[iCpu].u.Std.LnxTimer.data= (unsigned 
long)>aSubTimers[iCpu];
+ pTimer->aSubTimers[iCpu].u.Std.LnxTimer.function= 
rtTimerLinuxStdCallback;
++#endif
+ pTimer->aSubTimers[iCpu].u.Std.LnxTimer.expires = jiffies;
+ pTimer->aSubTimers[iCpu].u.Std.u64NextTS= 0;
+ }
+Index: VirtualBox-5.1.30/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c
+===
+--- 
VirtualBox-5.1.30.orig/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c
 VirtualBox-5.1.30/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c
+@@ -958,7 +958,11 @@ EXPORT_SYMBOL(VBoxGuestIDCCall);
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
+ 
+ /** log and dbg_log parameter setter. */
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)
++static int vgdrvLinuxParamLogGrpSet(const char *pszValue, const struct 
kernel_param *pParam)
++#else
+ static int vgdrvLinuxParamLogGrpSet(const char *pszValue, struct kernel_param 
*pParam)
++#endif
+ {
+ if (g_fLoggerCreated)
+ {
+@@ -973,7 +973,11 @@ static int vgdrvLinuxParamLogGrpSet(cons
+ }
+ 
+ /** log and dbg_log parameter getter. */
++#if LINUX_VERSION_CODE >= 

commit virtualbox for openSUSE:Factory

2017-11-30 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-11-30 12:37:53

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Thu Nov 30 12:37:53 2017 rev:148 rq:544927 version:5.1.30

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-11-14 
14:20:20.324797830 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-11-30 12:37:58.198108497 +0100
@@ -1,0 +2,13 @@
+Thu Nov 23 13:47:36 UTC 2017 - rbr...@suse.com
+
+- Replace references to /var/adm/fillup-templates with new 
+  %_fillupdir macro (boo#1069468)
+
+---
+Wed Nov 22 16:39:22 UTC 2017 - larry.fin...@lwfinger.net
+
+- Remove file "fix_KMS_support.patch" - Fixed upstream
+  Add new patch file "fixes_for_4.15.patch".
+  Modified vboxconfig.sh to issue a warning when there is a version mismatch 
rather than abort.
+
+---

Old:

  fix_KMS_support.patch

New:

  fixes_for_4.15.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.9EEm5W/_old  2017-11-30 12:38:02.077967414 +0100
+++ /var/tmp/diff_new_pack.9EEm5W/_new  2017-11-30 12:38:02.081967268 +0100
@@ -16,6 +16,11 @@
 #
 
 
+#Compat macro for new _fillupdir macro introduced in Nov 2017
+%if ! %{defined _fillupdir}
+  %define _fillupdir /var/adm/fillup-templates
+%endif
+
 # Do not provide libGL.so symbols - they are owned by Mesa already and this 
could potentially confuse rpm/zypp
 %global __provides_exclude ^libE?GL.so.1.*$
 
@@ -103,8 +108,8 @@
 Patch115:   vbox_fix_for_gcc7.patch
 # Fix for missing include needed for server 1.19
 Patch116:   Fix_for_server_1.19.patch
-# Fix for missing cleanup in KMS support
-Patch117:   fix_KMS_support.patch
+# Fix for removal of init_timer_pinned() in kernel 4.15
+Patch117:   fixes_for_4.15.patch
 # Fix invalid use of internal headers
 Patch118:   internal-headers.patch
 # Fix kernl API change in Leap 15
@@ -124,6 +129,7 @@
 %else
 BuildRequires:  boost-devel
 %endif
+BuildRequires:  %{kernel_module_package_buildreqs}
 BuildRequires:  dev86
 BuildRequires:  device-mapper-devel
 BuildRequires:  dmidecode
@@ -135,7 +141,7 @@
 BuildRequires:  gsoap-devel
 BuildRequires:  java-devel >= 1.6.0
 BuildRequires:  kbuild >= 0.1.9998svn2808
-BuildRequires:  kernel-syms
+#BuildRequires:  kernel-syms
 BuildRequires:  libcap-devel
 BuildRequires:  libcurl-devel
 BuildRequires:  libelf-devel
@@ -244,9 +250,9 @@
 
 %package host-KMP
 Summary:Host kernel module for VirtualBox
+#%kernel_module_package -t %{_builddir}/virtualbox-kmp-template -p %{SOURCE7} 
-n %{name}-host -f %{SOURCE5} -x kdump um xen pae xenpae pv
 Group:  System/Emulators/PC
-%kernel_module_package -t %{_builddir}/virtualbox-kmp-template -p %{SOURCE7} 
-n %{name}-host -f %{SOURCE5} -x kdump um xen pae xenpae pv
-Requires:   kernel-devel
+Requires:   %{kernel_module_package_buildreqs}
 
 %description host-KMP
 This package contains the kernel-module for VirtualBox.
@@ -256,7 +262,7 @@
 Summary:Guest kernel modules for VirtualBox
 Group:  System/Emulators/PC
 %kernel_module_package -t %{_builddir}/virtualbox-kmp-template -p %{SOURCE8} 
-n %{name}-guest -f %{SOURCE6} -x kdump um xen pae xenpae pv
-Requires:   kernel-devel
+Requires:   %{kernel_module_package_buildreqs}
 
 %description guest-KMP
 This package contains the kernel-module for VirtualBox.
@@ -325,6 +331,8 @@
 Group:  Development/Sources
 Requires:   %{name} = %{version}
 Requires:   gcc
+Requires:   kernel-devel
+Requires:   libelf-devel
 Requires:   make
 BuildArch:  noarch
 
@@ -669,8 +677,8 @@
 ln -sf %{_unitdir}/vboxadd-service.service 
%{buildroot}%{_unitdir}/multi-user.target.wants/vboxadd-service.service
 ln -sf %{_unitdir}/vboxes.service  
%{buildroot}%{_unitdir}/multi-user.target.wants/vboxes.service
 # sysconfig file intended for vboxes script
-install -d -m 755 %{buildroot}%{_var}/adm/fillup-templates
-install -m 640 %{SOURCE13} 
%{buildroot}%{_var}/adm/fillup-templates/sysconfig.vbox
+install -d -m 755 %{buildroot}%{_fillupdir}
+install -m 640 %{SOURCE13} %{buildroot}%{_fillupdir}/sysconfig.vbox
 
 # config file for vboxdrv script and vboxweb
 install -d -m 755 %{buildroot}%{_sysconfdir}/vbox
@@ -893,7 +901,7 @@
 %{_unitdir}/multi-user.target.wants/vboxes.service
 %dir %{_sysconfdir}/vbox
 %config %{_sysconfdir}/vbox/vbox.cfg
-%{_var}/adm/fillup-templates/sysconfig.vbox
+%{_fillupdir}/sysconfig.vbox
 %{_sbindir}/rcvboxes
 

commit virtualbox for openSUSE:Factory

2017-11-14 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-11-14 14:20:17

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Tue Nov 14 14:20:17 2017 rev:147 rq:540677 version:5.1.30

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-11-04 
10:24:53.468487970 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-11-14 14:20:20.324797830 +0100
@@ -1,0 +2,16 @@
+Sat Nov 11 03:40:07 UTC 2017 - larry.fin...@lwfinger.net
+
+- Update "fixes_for_leap15.patch" for wait queue API changes.
+
+---
+Wed Nov  8 02:08:27 UTC 2017 - larry.fin...@lwfinger.net
+
+- Add file "fixes_for_python.patch".
+
+---
+Tue Nov  7 16:34:21 UTC 2017 - larry.fin...@lwfinger.net
+
+- Modify "fixes_for_leap15.patch" to handle SKB_GSO_UDP API change.
+- Addresses VUL-0: 
CVE-2017-10392,CVE-2017-10407,CVE-2017-10408,CVE-2017-3733,CVE-2017-10428 as 
noted in bsc #1064200
+
+---

New:

  fixes_for_python.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.yfwBvi/_old  2017-11-14 14:20:23.548680221 +0100
+++ /var/tmp/diff_new_pack.yfwBvi/_new  2017-11-14 14:20:23.552680075 +0100
@@ -109,6 +109,8 @@
 Patch118:   internal-headers.patch
 # Fix kernl API change in Leap 15
 Patch119:   fixes_for_leap15.patch
+# Fix rpmlint error for script /lib/usr/virtualbox/vboxshell.py
+Patch120:   fixes_for_python.patch
 #
 BuildRequires:  LibVNCServer-devel
 BuildRequires:  SDL-devel
@@ -203,6 +205,7 @@
 BuildRequires:  xorg-x11-libXt-devel-32bit
 %endif
 %{?systemd_requires}
+%posttrans
 
 %description
 VirtualBox is an extremely feature rich, high performance product
@@ -243,6 +246,7 @@
 Summary:Host kernel module for VirtualBox
 Group:  System/Emulators/PC
 %kernel_module_package -t %{_builddir}/virtualbox-kmp-template -p %{SOURCE7} 
-n %{name}-host -f %{SOURCE5} -x kdump um xen pae xenpae pv
+Requires:   kernel-devel
 
 %description host-KMP
 This package contains the kernel-module for VirtualBox.
@@ -252,6 +256,7 @@
 Summary:Guest kernel modules for VirtualBox
 Group:  System/Emulators/PC
 %kernel_module_package -t %{_builddir}/virtualbox-kmp-template -p %{SOURCE8} 
-n %{name}-guest -f %{SOURCE6} -x kdump um xen pae xenpae pv
+Requires:   kernel-devel
 
 %description guest-KMP
 This package contains the kernel-module for VirtualBox.
@@ -394,6 +399,7 @@
 %if 0%{suse_version} >= 1500
 %patch119 -p1
 %endif
+%patch120 -p1
 
 #copy user manual
 cp %{SOURCE1} UserManual.pdf

++ fixes_for_leap15.patch ++
--- /var/tmp/diff_new_pack.yfwBvi/_old  2017-11-14 14:20:23.608678032 +0100
+++ /var/tmp/diff_new_pack.yfwBvi/_new  2017-11-14 14:20:23.612677886 +0100
@@ -11,3 +11,27 @@
  wait_queue_entry_t WaitQE;
  #else
  wait_queue_tWaitQE;
+Index: 
VirtualBox-5.1.30/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
+===
+--- 
VirtualBox-5.1.30.orig/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
 VirtualBox-5.1.30/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
+@@ -130,6 +130,10 @@ typedef struct VBOXNETFLTNOTIFIER *PVBOX
+ #define SKB_GSO_UDP   0
+ #endif
+ 
++# if 1
++#define SKB_GSO_UDP   0
++#endif
++
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 20, 0)
+ # define VBOX_HAVE_SKB_VLAN
+ #else
+@@ -726,7 +730,7 @@ static struct sk_buff *vboxNetFltLinuxSk
+ case PDMNETWORKGSOTYPE_IPV4_TCP:
+ fGsoType = SKB_GSO_TCPV4;
+ break;
+-# if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0)
++# if 1
+ case PDMNETWORKGSOTYPE_IPV4_UDP:
+ fGsoType = SKB_GSO_UDP;
+ break;

++ fixes_for_python.patch ++
To eliminate an rpmlint error, the shebang for this script should be
changed to use pythin directly, rather than through env.

When openSUSE switches to Python3, the shebang below should be changed
to "#!/usr/bin/python3".

Larry Finger

Index: VirtualBox-5.1.30/src/VBox/Frontends/VBoxShell/vboxshell.py
===
--- VirtualBox-5.1.30.orig/src/VBox/Frontends/VBoxShell/vboxshell.py
+++ VirtualBox-5.1.30/src/VBox/Frontends/VBoxShell/vboxshell.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 # -*- coding: utf-8 -*-
 # $Id: vboxshell.py $
 

++ vboxguestconfig.sh ++
--- /var/tmp/diff_new_pack.yfwBvi/_old  2017-11-14 

commit virtualbox for openSUSE:Factory

2017-11-04 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-11-04 10:24:32

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Sat Nov  4 10:24:32 2017 rev:146 rq:538137 version:5.1.30

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-10-31 
15:43:17.263323347 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-11-04 10:24:53.468487970 +0100
@@ -1,0 +2,6 @@
+Wed Nov  1 15:22:09 UTC 2017 - mplus...@suse.com
+
+- Rename python subpackage
+- Update python dependnencies for migration to python3 as default
+
+---



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.GRCTKQ/_old  2017-11-04 10:24:57.520340526 +0100
+++ /var/tmp/diff_new_pack.GRCTKQ/_new  2017-11-04 10:24:57.520340526 +0100
@@ -147,7 +147,7 @@
 BuildRequires:  module-init-tools
 BuildRequires:  pam-devel
 BuildRequires:  pulseaudio-devel
-BuildRequires:  python-devel
+BuildRequires:  python2-devel
 BuildRequires:  quilt
 BuildRequires:  sed
 BuildRequires:  update-desktop-files
@@ -288,15 +288,17 @@
 VirtualBox guest addition tools.
 ###
 
-%package -n python-%{name}
+%package -n python2-%{name}
 Summary:Python bindings for %{name}
 Group:  Development/Libraries/Python
 Requires:   %{name} = %{version}
 #rename from "ose" version:
+Provides:   python-%{name} = %{version}-%{release}
+Obsoletes:  python-%{name} < %{version}-%{release}
 Provides:   python-%{name}-ose = %{version}
 Obsoletes:  python-%{name}-ose < %{version}
 
-%description -n python-%{name}
+%description -n python2-%{name}
 Python XPCOM bindings to %{name}. Used e.g. by vboxgtk package.
 ###
 
@@ -947,7 +949,7 @@
 %dir /media
 %endif
 
-%files -n python-%{name} -f %{_tmppath}/SITE_FILES
+%files -n python2-%{name} -f %{_tmppath}/SITE_FILES
 %defattr(-, root, root)
 %dir %{_vbox_instdir}/sdk
 %dir %{_vbox_instdir}/sdk/bindings





commit virtualbox for openSUSE:Factory

2017-10-31 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-10-31 15:43:15

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Tue Oct 31 15:43:15 2017 rev:145 rq:537648 version:5.1.30

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-10-23 
16:39:53.498312325 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-10-31 15:43:17.263323347 +0100
@@ -1,0 +2,6 @@
+Sat Oct 21 18:45:20 UTC 2017 - larry.fin...@lwfinger.net
+
+- Add patch to handle LEAP 15 API change in wait queues. This change addresses 
boo#1064524.
+  File "fixes_for_leap15.patch" is added to accomplish this task.
+
+---

New:

  fixes_for_leap15.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.AgBXH8/_old  2017-10-31 15:43:19.815230838 +0100
+++ /var/tmp/diff_new_pack.AgBXH8/_new  2017-10-31 15:43:19.819230693 +0100
@@ -107,6 +107,8 @@
 Patch117:   fix_KMS_support.patch
 # Fix invalid use of internal headers
 Patch118:   internal-headers.patch
+# Fix kernl API change in Leap 15
+Patch119:   fixes_for_leap15.patch
 #
 BuildRequires:  LibVNCServer-devel
 BuildRequires:  SDL-devel
@@ -387,6 +389,9 @@
 %patch116 -p1
 %patch117 -p1
 %patch118 -p1
+%if 0%{suse_version} >= 1500
+%patch119 -p1
+%endif
 
 #copy user manual
 cp %{SOURCE1} UserManual.pdf

++ fixes_for_leap15.patch ++
Index: VirtualBox-5.1.30/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
===
--- VirtualBox-5.1.30.orig/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
+++ VirtualBox-5.1.30/src/VBox/Runtime/r0drv/linux/waitqueue-r0drv-linux.h
@@ -46,7 +46,7 @@
 typedef struct RTR0SEMLNXWAIT
 {
 /** The wait queue entry. */
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 13, 0)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
 wait_queue_entry_t WaitQE;
 #else
 wait_queue_tWaitQE;




commit virtualbox for openSUSE:Factory

2017-10-23 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-10-23 16:39:49

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Mon Oct 23 16:39:49 2017 rev:144 rq:534503 version:5.1.30

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-10-17 
01:49:45.006214671 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-10-23 16:39:53.498312325 +0200
@@ -1,0 +2,16 @@
+Mon Oct 16 20:13:00 UTC 2017 - larry.fin...@lwfinger.net
+
+- Update vboxdrv.sh as recommended in bsc#1060072.
+- Move files /usr/lib/virtualbox/VBoxKeyboard.so, 
/usr/lib/virtualbox/VBoxOGLrenderspu.so, 
/usr/lib/virtualbox/VBoxSharedClipboard.so, and
+   /usr/lib/virtualbox/VBoxSharedCrOpenGL.so from package virtualbox to 
virtualbox-qt. With this change, package virtualbox no longer needs libX11.
+- Version bump to 5.1.30 (released 2017-10-16 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+GUI: translation updates
+GUI: Fixed double mouse cursor when using mouse integration without Guest 
Additions, actually a Qt 5.6 bug fixed with QT 5.6.3 (Mac OS X hosts only; bug 
#15610)
+Solaris hosts: allow increasing MTU size for host-only adapter to 9706 
bytes to support jumbo frames
+Linux hosts: glibc 2.26 compile fix
+Windows Additions: 3D related crash fix (bugs #17082, #17092) 
+
+---

Old:

  VirtualBox-5.1.28-patched.tar.bz2

New:

  VirtualBox-5.1.30-patched.tar.bz2



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.ezjHw2/_old  2017-10-23 16:39:56.770159207 +0200
+++ /var/tmp/diff_new_pack.ezjHw2/_new  2017-10-23 16:39:56.770159207 +0200
@@ -22,7 +22,7 @@
 %define _vbox_instdir  %{_libexecdir}/virtualbox
 %define _udevrulesdir %{_sysconfdir}/udev/rules.d
 Name:   virtualbox
-Version:5.1.28
+Version:5.1.30
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0+
@@ -836,16 +836,12 @@
 %{_vbox_instdir}/VBoxGuestControlSvc.so
 %{_vbox_instdir}/VBoxGuestPropSvc.so
 %{_vbox_instdir}/VBoxHeadless.so
-%{_vbox_instdir}/VBoxKeyboard.so
 %{_vbox_instdir}/VBoxNetDHCP.so
 %{_vbox_instdir}/VBoxNetNAT.so
 %{_vbox_instdir}/VBoxOGLhostcrutil.so
 %{_vbox_instdir}/VBoxOGLhosterrorspu.so
-%{_vbox_instdir}/VBoxOGLrenderspu.so
 %{_vbox_instdir}/VBoxREM*.so
 %{_vbox_instdir}/VBoxRT.so
-%{_vbox_instdir}/VBoxSharedClipboard.so
-%{_vbox_instdir}/VBoxSharedCrOpenGL.so
 %{_vbox_instdir}/VBoxSharedFolders.so
 %{_vbox_instdir}/VBoxVMM.so
 %{_vbox_instdir}/VBoxXPCOMC.so
@@ -912,6 +908,10 @@
 %{_vbox_instdir}/VBoxDbg.so
 %{_bindir}/VBoxSDL
 %{_vbox_instdir}/VBoxSDL.so
+%{_vbox_instdir}/VBoxSharedCrOpenGL.so
+%{_vbox_instdir}/VBoxKeyboard.so
+%{_vbox_instdir}/VBoxOGLrenderspu.so
+%{_vbox_instdir}/VBoxSharedClipboard.so
 %{_datadir}/pixmaps/virtualbox.png
 %{_datadir}/applications/%{name}.desktop
 %{_udevrulesdir}/60-vboxdrv.rules

++ UserManual.pdf ++
(binary differes)

++ VirtualBox-5.1.28-patched.tar.bz2 -> VirtualBox-5.1.30-patched.tar.bz2 
++
/work/SRC/openSUSE:Factory/virtualbox/VirtualBox-5.1.28-patched.tar.bz2 
/work/SRC/openSUSE:Factory/.virtualbox.new/VirtualBox-5.1.30-patched.tar.bz2 
differ: char 11, line 1

++ vboxdrv.sh ++
--- /var/tmp/diff_new_pack.ezjHw2/_old  2017-10-23 16:39:56.962150222 +0200
+++ /var/tmp/diff_new_pack.ezjHw2/_new  2017-10-23 16:39:56.966150035 +0200
@@ -38,6 +38,7 @@
 LOG="/var/log/vbox-install.log"
 MODPROBE=/sbin/modprobe
 SCRIPTNAME=vboxdrv.sh
+INSTALL_DIR=/usr/lib/virtualbox
 
 # The below is GNU-specific.  See VBox.sh for the longer Solaris/OS X version.
 TARGET=`readlink -e -- "${0}"` || exit 1
@@ -55,7 +56,7 @@
 VIRTUALBOX="${INSTALL_DIR}/VirtualBox"
 VBOXMANAGE="${INSTALL_DIR}/VBoxManage"
 BUILDINTMP="${MODULE_SRC}/build_in_tmp"
-if test -u "${VIRTUALBOX}"; then
+if test -u "${VBOXMANAGE}"; then
 GROUP=root
 DEVICE_MODE=0600
 else





commit virtualbox for openSUSE:Factory

2017-10-16 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-10-17 01:49:43

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Tue Oct 17 01:49:43 2017 rev:143 rq:533117 version:5.1.28

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-09-28 
12:33:23.860324061 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-10-17 01:49:45.006214671 +0200
@@ -1,0 +2,7 @@
+Tue Oct  3 13:02:28 UTC 2017 - larry.fin...@lwfinger.net
+
+- Make additional change specified in bsc#1060072. Moving VBoxSDL and 
VBoxSDL.so from package
+  virtualbox to virtualbox-qt removes an additional need to load the libqt* 
binaries on a
+  text-only installation running headless VMs.
+
+---



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.x9vLki/_old  2017-10-17 01:49:49.390009279 +0200
+++ /var/tmp/diff_new_pack.x9vLki/_new  2017-10-17 01:49:49.394009091 +0200
@@ -594,6 +594,7 @@
 install -m 755 webtest %{buildroot}%{_vbox_instdir}
 install -m 755 VBoxDTrace  %{buildroot}%{_vbox_instdir}
 install -m 755 VBoxDbg.so  %{buildroot}%{_vbox_instdir}
+install -m 755 VBoxSDL.so  %{buildroot}%{_vbox_instdir}
 # create links to vbox tools in PATH - they could be usefull for controlling 
vbox from command line
 ln -s %{_vbox_instdir}/VBoxManage  
%{buildroot}%{_bindir}/VBoxManage
 ln -s %{_vbox_instdir}/VBoxHeadless
%{buildroot}%{_bindir}/VBoxHeadless
@@ -746,21 +747,21 @@
 %set_permissions %{_vbox_instdir}/VBoxNetDHCP
 %set_permissions %{_vbox_instdir}/VBoxNetAdpCtl
 %set_permissions %{_vbox_instdir}/VBoxHeadless
-%set_permissions %{_vbox_instdir}/VBoxSDL
 %service_add_post vboxdrv.service
 
 %post qt
 %set_permissions %{_vbox_instdir}/VirtualBox
+%set_permissions %{_vbox_instdir}/VBoxSDL
 
 %verifyscript
 %verify_permissions -e %{_vbox_instdir}/VBoxNetNAT
 %verify_permissions -e %{_vbox_instdir}/VBoxNetDHCP
 %verify_permissions -e %{_vbox_instdir}/VBoxNetAdpCtl
 %verify_permissions -e %{_vbox_instdir}/VBoxHeadless
-%verify_permissions -e %{_vbox_instdir}/VBoxSDL
 
 %verifyscript qt
 %verify_permissions -e %{_vbox_instdir}/VirtualBox
+%verify_permissions -e %{_vbox_instdir}/VBoxSDL
 
 %post guest-tools
 %service_add_post vboxadd-service.service
@@ -820,7 +821,6 @@
 %doc UserManual.pdf
 %{_bindir}/VBoxManage
 %{_bindir}/VBoxHeadless
-%{_bindir}/VBoxSDL
 %{_bindir}/VBoxTunctl
 %dir %{_vbox_instdir}
 %{_vbox_instdir}/VBoxAutostart
@@ -844,7 +844,6 @@
 %{_vbox_instdir}/VBoxOGLrenderspu.so
 %{_vbox_instdir}/VBoxREM*.so
 %{_vbox_instdir}/VBoxRT.so
-%{_vbox_instdir}/VBoxSDL.so
 %{_vbox_instdir}/VBoxSharedClipboard.so
 %{_vbox_instdir}/VBoxSharedCrOpenGL.so
 %{_vbox_instdir}/VBoxSharedFolders.so
@@ -894,13 +893,13 @@
 %verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VBoxNetDHCP
 %verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VBoxNetAdpCtl
 %verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VBoxHeadless
-%verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VBoxSDL
 
 %files qt
 %defattr(-, root, root)
 %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxPermissionMessage
 %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxUSB_DevRules
 %verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VirtualBox
+%verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VBoxSDL
 #wrapper script is in bindir
 %attr(0755,root,root) %{_bindir}/VirtualBox
 #rules fixing script is in /sbin
@@ -911,6 +910,8 @@
 %{_datadir}/virtualbox/nls
 %{_vbox_instdir}/VirtualBox.so
 %{_vbox_instdir}/VBoxDbg.so
+%{_bindir}/VBoxSDL
+%{_vbox_instdir}/VBoxSDL.so
 %{_datadir}/pixmaps/virtualbox.png
 %{_datadir}/applications/%{name}.desktop
 %{_udevrulesdir}/60-vboxdrv.rules





commit virtualbox for openSUSE:Factory

2017-09-28 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-09-28 12:33:21

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Thu Sep 28 12:33:21 2017 rev:142 rq:528710 version:5.1.28

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-09-25 
13:54:31.664104135 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-09-28 12:33:23.860324061 +0200
@@ -1,0 +2,27 @@
+Mon Sep 25 20:15:56 UTC 2017 - larry.fin...@lwfinger.net
+
+- Make changes suggested in bsc#1060072
+  The specific changes are:
+  (1) Remove the test in vboxdrv.sh as the script tests for the wrong file. 
This is safe because
+  if the package is not installed, the script will not be there.
+  (2) Move VBoxDbg.so to package virtualbox-qt. With this change, packages 
libQt5Core, libQt5Gui
+  and libQt5Widgets are no longer needed with package virtualbox. As a 
result, a text-only
+  server no longer needs to load QT to support headless virtual machines.
+
+---
+Sun Sep 24 14:45:02 UTC 2017 - larry.fin...@lwfinger.net
+
+- Update "fixes_for_4.14.patch" to handle additional API changes in kernel 
4.14.
+  These include the following:
+   removal of gamma_set and gamma_get from struct drm_fb_helper_funcs
+   removal of set_busid from struct drm_driver
+   replacement of drm_pci_init() with pci_register_driver()
+   replacement of drm_pci_exit() with pci_unregister_driver()
+   removal of load_lut from struct drm_crtc_helper_func
+
+---
+Thu Sep 21 13:49:01 UTC 2017 - larry.fin...@lwfinger.net
+
+-  Update "fixes_for_4.14.patch" to handle missing SKB_GSO_UDP in kernel 4.14
+
+---



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.FzTsaE/_old  2017-09-28 12:33:26.495953463 +0200
+++ /var/tmp/diff_new_pack.FzTsaE/_new  2017-09-28 12:33:26.495953463 +0200
@@ -593,6 +593,7 @@
 install -m 755 VBoxBalloonCtrl %{buildroot}%{_vbox_instdir}
 install -m 755 webtest %{buildroot}%{_vbox_instdir}
 install -m 755 VBoxDTrace  %{buildroot}%{_vbox_instdir}
+install -m 755 VBoxDbg.so  %{buildroot}%{_vbox_instdir}
 # create links to vbox tools in PATH - they could be usefull for controlling 
vbox from command line
 ln -s %{_vbox_instdir}/VBoxManage  
%{buildroot}%{_bindir}/VBoxManage
 ln -s %{_vbox_instdir}/VBoxHeadless
%{buildroot}%{_bindir}/VBoxHeadless
@@ -864,7 +865,6 @@
 %{_vbox_instdir}/DbgPlugInDiggers.so
 %{_vbox_instdir}/VBoxAuth.so
 %{_vbox_instdir}/VBoxAuthSimple.so
-%{_vbox_instdir}/VBoxDbg.so
 %{_vbox_instdir}/VBoxDragAndDropSvc.so
 %{_vbox_instdir}/VBoxVMMPreload.so
 #todo:double check - if this file should be assigned to the host side
@@ -910,6 +910,7 @@
 #qm's translations
 %{_datadir}/virtualbox/nls
 %{_vbox_instdir}/VirtualBox.so
+%{_vbox_instdir}/VBoxDbg.so
 %{_datadir}/pixmaps/virtualbox.png
 %{_datadir}/applications/%{name}.desktop
 %{_udevrulesdir}/60-vboxdrv.rules

++ fixes_for_4.14.patch ++
--- /var/tmp/diff_new_pack.FzTsaE/_old  2017-09-28 12:33:26.567943340 +0200
+++ /var/tmp/diff_new_pack.FzTsaE/_new  2017-09-28 12:33:26.571942778 +0200
@@ -1,16 +1,150 @@
+Patch VirtualBox source for changes in the kernel API for 4.14.x
+
+The following issues are addressed:
+   vfs_write() is replaced by kernel_write()
+   symbol SKB_GSO_UDP is removed
+   removal of gamma_set and gamma_get from struct drm_fb_helper_funcs
+   removal of set_busid from struct drm_driver
+   replacement of drm_pci_init() with pci_register_driver()
+   replacement of drm_pci_exit() with pci_unregister_driver()
+   removal of load_lut from struct drm_crtc_helper_func
+
+This patch is licensed under the MIT license.
+
+Signed-off-by: Larry Finger 
+
 Index: VirtualBox-5.1.28/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
 ===
 --- VirtualBox-5.1.28.orig/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
 +++ VirtualBox-5.1.28/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
-@@ -357,7 +357,11 @@ static int vboxPciFileWrite(struct file*
- 
- fs_save = get_fs();
- set_fs(get_ds());
+@@ -353,12 +353,17 @@ static void  vboxPciFileClose(struct fil
+ static int vboxPciFileWrite(struct file* file, unsigned long long offset, 
unsigned char* data, unsigned int size)

commit virtualbox for openSUSE:Factory

2017-09-25 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-09-25 13:54:24

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Mon Sep 25 13:54:24 2017 rev:141 rq:527710 version:5.1.28

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-09-15 
21:03:44.419429609 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-09-25 13:54:31.664104135 +0200
@@ -1,0 +2,25 @@
+Wed Sep 20 00:44:12 UTC 2017 - larry.fin...@lwfinger.net
+
+- Add file "fixes_for_4.14.patch" to handle API change in kernel 4.14.
+  Remove file "vbox_fix_42.3_api.patch" as that fix is included in upstream 
code.
+
+---
+Fri Sep 15 14:14:15 UTC 2017 - larry.fin...@lwfinger.net
+
+- Version bump to 5.1.28 (released 2017-09-13 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+Audio: fixed accidental crashes when using the AC'97 sound emulation (bug 
#16959)
+Audio: fixed crash when default input or output devices have changed (bugs 
#16968, #16969, #17004)
+Audio: fixed recording when using the ALSA backend
+Audio: fixed handle leak when using the OSS backend
+E1000: fixed a crash related to VLAN traffic over internal network (5.1.26 
regression; bug #16960)
+NAT: apply --natbindip1 to TCP connections (bug #16478)
+OVF: when importing an appliance with XHCI controller, don't add an OHCI 
controller.
+Linux hosts: fixed creating fixed sized VDI images (bug #17010)
+Linux hosts / guests: fixes for Linux 4.4 of openSUSE Leap 42.3 (bug 
#16966)
+Bridged networking: align outgoing packet at word boundary, preventing 
Windows host crash in MsLbfoProvider.
+Linux Additions: kernel drm driver support for custom EL7 Linux 3.10 kernel
+
+---

Old:

  VirtualBox-5.1.26-patched.tar.bz2
  vbox_fix_42.3_api.patch

New:

  VirtualBox-5.1.28-patched.tar.bz2
  fixes_for_4.14.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.fKNWY3/_old  2017-09-25 13:54:34.587692794 +0200
+++ /var/tmp/diff_new_pack.fKNWY3/_new  2017-09-25 13:54:34.591692231 +0200
@@ -22,7 +22,7 @@
 %define _vbox_instdir  %{_libexecdir}/virtualbox
 %define _udevrulesdir %{_sysconfdir}/udev/rules.d
 Name:   virtualbox
-Version:5.1.26
+Version:5.1.28
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0+
@@ -97,8 +97,8 @@
 Patch112:   modify_for_4_8_bo_move.patch
 # Remove all mention of _smp_mflags
 Patch113:   vbox_remove_smp_mflags.patch
-# Fix change in API for get_user_pages()
-Patch114:   vbox_fix_42.3_api.patch
+# Fix for removal of vfs_write() in kernel 4.14
+Patch114:   fixes_for_4.14.patch
 # Allow use of gcc7
 Patch115:   vbox_fix_for_gcc7.patch
 # Fix for missing include needed for server 1.19
@@ -382,9 +382,7 @@
 %patch109 -p1
 %patch112 -p1
 %patch113 -p1
-%if 0%{?sle_version} == 120300
 %patch114 -p1
-%endif
 %patch115 -p1
 %patch116 -p1
 %patch117 -p1

++ UserManual.pdf ++
(binary differes)

++ VirtualBox-5.1.26-patched.tar.bz2 -> VirtualBox-5.1.28-patched.tar.bz2 
++
/work/SRC/openSUSE:Factory/virtualbox/VirtualBox-5.1.26-patched.tar.bz2 
/work/SRC/openSUSE:Factory/.virtualbox.new/VirtualBox-5.1.28-patched.tar.bz2 
differ: char 11, line 1

++ fixes_for_4.14.patch ++
Index: VirtualBox-5.1.28/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
===
--- VirtualBox-5.1.28.orig/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
+++ VirtualBox-5.1.28/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
@@ -357,7 +357,11 @@ static int vboxPciFileWrite(struct file*
 
 fs_save = get_fs();
 set_fs(get_ds());
+# if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0)
+ret = kernel_write(file, data, size, );
+#else
 ret = vfs_write(file, data, size, );
+#endif
 set_fs(fs_save);
 if (ret < 0)
 printk(KERN_DEBUG "vboxPciFileWrite: error %d\n", ret);




commit virtualbox for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-09-15 21:03:38

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Fri Sep 15 21:03:38 2017 rev:140 rq:522942 version:5.1.26

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-08-12 
19:43:46.517168027 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-09-15 21:03:44.419429609 +0200
@@ -1,0 +2,5 @@
+Sun Sep 10 16:18:04 UTC 2017 - meiss...@suse.com
+
+- mark VBoxNetNAT with the correct permissions line. (bsc#1033425)
+
+---



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.saHR8u/_old  2017-09-15 21:03:49.078775535 +0200
+++ /var/tmp/diff_new_pack.saHR8u/_new  2017-09-15 21:03:49.082774974 +0200
@@ -743,6 +743,7 @@
 %post
 /sbin/ldconfig
 #setup our sysconfig file /etc/sysconfig/vbox
+%set_permissions %{_vbox_instdir}/VBoxNetNAT
 %set_permissions %{_vbox_instdir}/VBoxNetDHCP
 %set_permissions %{_vbox_instdir}/VBoxNetAdpCtl
 %set_permissions %{_vbox_instdir}/VBoxHeadless
@@ -753,6 +754,7 @@
 %set_permissions %{_vbox_instdir}/VirtualBox
 
 %verifyscript
+%verify_permissions -e %{_vbox_instdir}/VBoxNetNAT
 %verify_permissions -e %{_vbox_instdir}/VBoxNetDHCP
 %verify_permissions -e %{_vbox_instdir}/VBoxNetAdpCtl
 %verify_permissions -e %{_vbox_instdir}/VBoxHeadless
@@ -890,7 +892,7 @@
 %{_sbindir}/rcvboxdrv
 /sbin/vboxconfig
 %{_vbox_instdir}/VBoxCreateUSBNode.sh
-#%verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VBoxNetNAT
+%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxNetNAT
 %verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VBoxNetDHCP
 %verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VBoxNetAdpCtl
 %verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VBoxHeadless





commit virtualbox for openSUSE:Factory

2017-08-12 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-08-12 19:43:44

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Sat Aug 12 19:43:44 2017 rev:139 rq:515097 version:5.1.26

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-08-02 
11:27:20.769150700 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-08-12 19:43:46.517168027 +0200
@@ -1,0 +2,21 @@
+Mon Aug  7 20:29:05 UTC 2017 - larry.fin...@lwfinger.net
+
+- Update vboxconfig.sh to fix problems noted in bsc#1042726
+  Disable pae build for 32-bit kernels.
+  Added missing commands to keep mkinitrd from being called twice during 
installation of host kernel modules. bsc#105248.
+
+---
+Mon Aug  7 10:24:42 UTC 2017 - sch...@suse.de
+
+- internal-headers.patch: fix invalid use of internal headers, enable
+  POSIX extensions
+
+---
+Thu Aug  3 17:37:58 UTC 2017 - h...@urpla.net
+
+- reorganize vbox autostart, coping with systemd:
+  - add /usr/lib/virtualbox/vboxes.sh (based on /etc/init.d/vboxes)
+  - add /usr/lib/systemd/system/vboxes.service
+  - remove /etc/init.d/vboxes
+
+---

Old:

  virtualbox-vboxes

New:

  internal-headers.patch
  vboxes.service
  vboxes.sh



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.Ptuezi/_old  2017-08-12 19:43:49.724718122 +0200
+++ /var/tmp/diff_new_pack.Ptuezi/_new  2017-08-12 19:43:49.728717561 +0200
@@ -44,8 +44,6 @@
 Source9:%{name}-wrapper.sh
 Source10:   %{name}-LocalConfig.kmk
 Source11:   %{name}-60-vboxdrv.rules
-# init script to start virtual boxes during boot, to be configured via 
/etc/sysconfig/vbox bnc#582398
-Source12:   %{name}-vboxes
 Source13:   %{name}-sysconfig.vbox
 Source14:   vboxdrv.service
 Source15:   vboxadd-service.service
@@ -53,6 +51,9 @@
 Source17:   vboxguestconfig.sh
 Source18:   fix_usb_rules.sh
 Source19:   vboxdrv.sh
+# init script to start virtual boxes during boot, to be configured via 
/etc/sysconfig/vbox bnc#582398
+Source20:   vboxes.sh
+Source21:   vboxes.service
 Source98:   %{name}-rpmlintrc
 Source99:   %{name}-patch-source.sh
 #rework init scripts to fit suse needs
@@ -104,6 +105,8 @@
 Patch116:   Fix_for_server_1.19.patch
 # Fix for missing cleanup in KMS support
 Patch117:   fix_KMS_support.patch
+# Fix invalid use of internal headers
+Patch118:   internal-headers.patch
 #
 BuildRequires:  LibVNCServer-devel
 BuildRequires:  SDL-devel
@@ -237,7 +240,7 @@
 %package host-KMP
 Summary:Host kernel module for VirtualBox
 Group:  System/Emulators/PC
-%kernel_module_package -t %{_builddir}/virtualbox-kmp-template -p %{SOURCE7} 
-n %{name}-host -f %{SOURCE5} -x kdump um xen xenpae pv
+%kernel_module_package -t %{_builddir}/virtualbox-kmp-template -p %{SOURCE7} 
-n %{name}-host -f %{SOURCE5} -x kdump um xen pae xenpae pv
 
 %description host-KMP
 This package contains the kernel-module for VirtualBox.
@@ -246,7 +249,7 @@
 %package guest-KMP
 Summary:Guest kernel modules for VirtualBox
 Group:  System/Emulators/PC
-%kernel_module_package -t %{_builddir}/virtualbox-kmp-template -p %{SOURCE8} 
-n %{name}-guest -f %{SOURCE6} -x kdump um xen xenpae pv
+%kernel_module_package -t %{_builddir}/virtualbox-kmp-template -p %{SOURCE8} 
-n %{name}-guest -f %{SOURCE6} -x kdump um xen pae xenpae pv
 
 %description guest-KMP
 This package contains the kernel-module for VirtualBox.
@@ -385,6 +388,7 @@
 %patch115 -p1
 %patch116 -p1
 %patch117 -p1
+%patch118 -p1
 
 #copy user manual
 cp %{SOURCE1} UserManual.pdf
@@ -528,10 +532,13 @@
 

 export INSTALL_MOD_PATH=%{buildroot}
 export INSTALL_MOD_DIR=misc
-#to install modules we use here similar steps like in build phase, go trought 
the all modules :
+#Keep the install process from calling mkinitrd. The VB kernel modules are not 
in initrd. bsc#1052428
+export INITRD_IN_POSTTRANS=1
+export KMP_NEEDS_MKINITRD=0
+#to install modules we use here similar steps like in build phase, go through 
all the modules :
 for module_name in vbox{drv,netflt,pci,netadp,guest,sf,video}
 do
-   #and trought the all flavors
+   #and through the all flavors
for flavor in %{flavors_to_build}; do
#to install modules use Makefile from 
%{_prefix}/src/linux-obj/%_target_cpu/$flavor and builds 

commit virtualbox for openSUSE:Factory

2017-08-02 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-08-02 11:27:15

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Wed Aug  2 11:27:15 2017 rev:138 rq:513097 version:5.1.26

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-07-23 
12:14:04.766460477 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-08-02 11:27:20.769150700 +0200
@@ -1,0 +2,17 @@
+Sat Jul 29 20:55:24 UTC 2017 - larry.fin...@lwfinger.net
+
+- Version bump to 5.1.26 (released 2017-07-27 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+VMM: reset the TSC on VM reset to work around a Windows bug (bug #16643)
+Audio: fixed memory leak when enabled with VRDP connections (5.1.24 
regression; bug #16928)
+Audio: fixed creation of too many sound sinks on Linux hosts when using 
the PulseAudio backend (bug #16938)
+Audio: implemented record gain registers for AC'97 emulation; those are 
needed for newer Ubuntu guests which rely on those when controlling gain and 
muting the recording (capturing) levels
+Storage: fixed hang when using the emulated NVMe controller with the SPDK 
(bug #16945)
+Mouse: double click was not working with a precision touchpad (bug #14632)
+Linux hosts: properly bring up host-only network interfaces with iproute 
(5.1.24 regression; bug #16911)
+Linux hosts: provide Python 3 libraries for deb/rpm packages
+Windows guests: fixed automatic logons for Vista and newer Windows guests 
(5.1.24 regression; bug #16921) 
+
+---

Old:

  VirtualBox-5.1.24-patched.tar.bz2

New:

  VirtualBox-5.1.26-patched.tar.bz2



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.QPbWMD/_old  2017-08-02 11:27:24.140674038 +0200
+++ /var/tmp/diff_new_pack.QPbWMD/_new  2017-08-02 11:27:24.144673472 +0200
@@ -22,7 +22,7 @@
 %define _vbox_instdir  %{_libexecdir}/virtualbox
 %define _udevrulesdir %{_sysconfdir}/udev/rules.d
 Name:   virtualbox
-Version:5.1.24
+Version:5.1.26
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0+

++ UserManual.pdf ++
(binary differes)

++ VirtualBox-5.1.24-patched.tar.bz2 -> VirtualBox-5.1.26-patched.tar.bz2 
++
/work/SRC/openSUSE:Factory/virtualbox/VirtualBox-5.1.24-patched.tar.bz2 
/work/SRC/openSUSE:Factory/.virtualbox.new/VirtualBox-5.1.26-patched.tar.bz2 
differ: char 11, line 1





commit virtualbox for openSUSE:Factory

2017-07-23 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-07-23 12:13:29

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Sun Jul 23 12:13:29 2017 rev:137 rq:511466 version:5.1.24

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-07-12 
19:33:33.577075187 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-07-23 12:14:04.766460477 +0200
@@ -1,0 +2,42 @@
+Wed Jul 19 04:41:55 UTC 2017 - larry.fin...@lwfinger.net
+
+- File "vbox_fix_for_kernel_4.12.patch" removed as these changes are fixed 
upstream.
+- File "vbox_fix_for_kernel_4.13.patch" removed as these changes are fixed 
upstream.
+- Version bump to 5.1.24 (released 2017-07-18 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+VMM: mask the VME CPUID capability on AMD Ryzen processors for now to make 
certain guests works, for example Windows XP
+VMM: emulate more SSE2 instructions
+VMM: properly clear the TF and AC flags when dispatching real-mode 
interrupts
+GUI: fixes to make the mini-toolbar work with recent versions of KDE / 
Plasma (bug #16325)
+GUI: fixed a potential crash when a VM with multiple screens is running in 
full screen / seamless mode and a host screen is removed, for example when 
connecting to the host via RDP
+GUI: fixed initial size hints for guests which set intermediate sizes 
before responding (bug #16593)
+GUI: prevent stopped screen updates or black screen on reboot in a 
multi-screen setup under certain conditions
+Audio: many improvements for Windows 10 guests (bugs #15189, #15925, 
#16170, #16682, #16794 and others)
+Storage: fixed possible crash when using Intels SPDK
+API: use the correct file name of the VM machine state if the VM settings 
directory is renamed, for example during grouping / ungrouping a VM (bugs 
#16075 and #16745)
+API: return the correct error code if powering up a VM fails
+API: video recording did not automatically start at VM start when enabled 
in the VM settings (bug #16803)
+API: when relocating a medium, check that the target path is fully 
qualified
+EFI: fix for VMs with more than 3504MB RAM (bug #11103)
+Host-only adapter: correctly determine IPv4 netmasks on Windows hosts (bug 
#16826)
+NAT network: properly do the refcounting for starting / stopping the NAT / 
DHCP services if the NAT network is changed while the adapter network 
connection type is anything else but NAT network
+VBoxManage: fixed controlvm videocapfile (bug #16779)
+Linux / Mac OS X hosts: more fixes for loading shared libraries (5.1.20 
regression; bugs #16778, #16693)
+Linux hosts / guests: Linux 4.12 fixes (bugs #16725, #16800)
+Linux hosts / guests: reduce the kernel stack consumption for Linux 
kernels with CONFIG_CPUMASK_OFFSTACK defined
+Linux hosts / guests: fixes for kernel modules built with gcc-7 (bug 
#16772)
+Linux hosts / guests: Linux 4.13 fix (bug #16887)
+Linux hosts: don't depend on net-tools on newer distributions as this 
package is deprecated in favour of iproute (bug #16764)
+Linux hosts: make 2D video acceleration available for older Linux 
distributions (5.1 regression; bug #16858)
+Linux Additions: fix for dynamic resizing with Oracle Linux 6 with UEK4
+Linux Additions: make Fedora 25 and 26 Alpha work when 3D pass-through is 
enabled
+Linux Additions: no longer recommend removing distribution- installed 
Additions if they are updated to our guidelines 
+
+---
+Tue Jul 18 14:19:44 UTC 2017 - larry.fin...@lwfinger.net
+
+- In kernel 4.13, wait_queue_t => wait_queue_entry_t. File 
"vbox_fix_for_kernel_4.13.patch" patches the source to account for this change.
+
+---

Old:

  VirtualBox-5.1.22-patched.tar.bz2
  vbox_fix_for_kernel_4.12.patch

New:

  VirtualBox-5.1.24-patched.tar.bz2



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.KgOQFh/_old  2017-07-23 12:14:07.146124331 +0200
+++ /var/tmp/diff_new_pack.KgOQFh/_new  2017-07-23 12:14:07.150123766 +0200
@@ -22,7 +22,7 @@
 %define _vbox_instdir  %{_libexecdir}/virtualbox
 %define _udevrulesdir %{_sysconfdir}/udev/rules.d
 Name:   virtualbox
-Version:5.1.22
+Version:5.1.24
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0+
@@ -102,10 +102,8 @@
 Patch115:   vbox_fix_for_gcc7.patch
 # Fix for missing include needed for server 1.19
 

commit virtualbox for openSUSE:Factory

2017-07-12 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-07-12 19:33:32

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Wed Jul 12 19:33:32 2017 rev:136 rq:509284 version:5.1.22

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-07-04 
11:54:05.989630428 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-07-12 19:33:33.577075187 +0200
@@ -1,0 +2,7 @@
+Mon Jul 10 18:22:25 UTC 2017 - larry.fin...@lwfinger.net
+
+- Fix several problems with the startup scripts. The SysV form is no longer 
used for most packages as proper systemd
+  service files have been created. These fixes address bsc#1037291, #1043532, 
and #1045871.
+- Increase reserved disk space from 4 to 5 GB. This change was suddested as a 
fix for the 32-bit failures. 
+
+---

New:

  vboxdrv.sh



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.so2pns/_old  2017-07-12 19:33:35.840755803 +0200
+++ /var/tmp/diff_new_pack.so2pns/_new  2017-07-12 19:33:35.840755803 +0200
@@ -52,6 +52,7 @@
 Source16:   vboxconfig.sh
 Source17:   vboxguestconfig.sh
 Source18:   fix_usb_rules.sh
+Source19:   vboxdrv.sh
 Source98:   %{name}-rpmlintrc
 Source99:   %{name}-patch-source.sh
 #rework init scripts to fit suse needs
@@ -546,10 +547,7 @@
 install -m 755 out/linux.*/release/bin/additions/VBoxControl 
%{buildroot}%{_bindir}/VBoxControl
 install -m 755 out/linux.*/release/bin/additions/VBoxService 
%{buildroot}%{_sbindir}/VBoxService
 install -m 755 out/linux.*/release/bin/additions/mount.vboxsf 
%{buildroot}/sbin/mount.vboxsf
-install -m 744 src/VBox/Additions/linux/installer/vboxadd.sh 
%{buildroot}%{_sysconfdir}/init.d/vboxadd
-install -m 744 src/VBox/Additions/linux/installer/vboxadd-service.sh 
%{buildroot}%{_sysconfdir}/init.d/vboxadd-service
-ln -s %{_sysconfdir}/init.d/vboxadd %{buildroot}%{_sbindir}/rcvboxadd
-ln -s %{_sysconfdir}/init.d/vboxadd-service 
%{buildroot}%{_sbindir}/rcvboxadd-service
+install -m 744 src/VBox/Additions/linux/installer/vboxadd-service.sh 
%{buildroot}%{_vbox_instdir}/vboxadd-service
 # udev rule for guest (virtualbox-guest-tools)
 install -m 644 %{SOURCE3}  
%{buildroot}%{_udevrulesdir}/60-vboxguest.rules
 # /media is used for auto-mounting of shared folders
@@ -634,10 +632,10 @@
 #install wrapper script
 install -m 644 %{SOURCE9}  
%{buildroot}%{_bindir}/VirtualBox
 # modify and install the vboxdrv init script
-sed -i "s|%{NOLSB}%|yes|g;s|%{DEBIAN}%||g;s|%{PACKAGE}%|virtualbox|g" \
-   
src/VBox/Installer/linux/vboxdrv.sh
-install -m 744 src/VBox/Installer/linux/vboxdrv.sh 
%{buildroot}%{_sysconfdir}/init.d/vboxdrv
-ln -s %{_sysconfdir}/init.d/vboxdrv %{buildroot}%{_sbindir}/rcvboxdrv
+#sed -i "s|%{NOLSB}%|yes|g;s|%{DEBIAN}%||g;s|%{PACKAGE}%|virtualbox|g" \
+#  
src/VBox/Installer/linux/vboxdrv.sh
+install -m 0755 %{SOURCE19}
%{buildroot}%{_vbox_instdir}/vboxdrv.sh
+ln -s %{_vbox_instdir}/vboxdrv.sh  
%{buildroot}%{_sbindir}/rcvboxdrv
 # Service files to load kernel modules on boot
 install -m 0644 %{SOURCE14}
%{buildroot}%{_unitdir}/vboxdrv.service
 install -m 0644 %{SOURCE15}
%{buildroot}%{_unitdir}/vboxadd-service.service
@@ -728,7 +726,7 @@
 # Add groups for seamless mode and shared folders:
 getent group vboxguest >/dev/null || groupadd -r vboxguest
 getent group vboxsf >/dev/null || groupadd -r vboxsf
-%service_add_pre vboadd.service
+%service_add_pre vboxadd.service
 
 ###
 # scriptlets - post
@@ -868,9 +866,10 @@
 %{_vbox_instdir}/components/*.xpt
 %dir %{_datadir}/virtualbox
 %config %{_sysconfdir}/default/virtualbox
-%config %{_sysconfdir}/init.d/vboxdrv
+%dir /usr/lib/virtualbox
 %dir %{_unitdir}
 %dir %{_unitdir}/multi-user.target.wants
+/usr/lib/virtualbox/vboxdrv.sh
 %{_unitdir}/vboxdrv.service
 %{_unitdir}/multi-user.target.wants/vboxdrv.service
 %dir %{_sysconfdir}/vbox
@@ -924,12 +923,9 @@
 /sbin/vboxguestconfig
 /sbin/mount.vboxsf
 %{_udevrulesdir}/60-vboxguest.rules
-%config %{_sysconfdir}/init.d/vboxadd
-%config %{_sysconfdir}/init.d/vboxadd-service
+%{_vbox_instdir}/vboxadd-service
 %{_unitdir}/vboxadd-service.service
 %{_unitdir}/multi-user.target.wants/vboxadd-service.service
-%{_sbindir}/rcvboxadd
-%{_sbindir}/rcvboxadd-service
 %if 0%{?suse_version} > 1320 || 0%{?sle_version} == 120300
 %dir 

commit virtualbox for openSUSE:Factory

2017-07-04 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-07-04 11:54:03

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Tue Jul  4 11:54:03 2017 rev:135 rq:507206 version:5.1.22

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-05-27 
13:09:52.451530641 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-07-04 11:54:05.989630428 +0200
@@ -1,0 +2,43 @@
+Fri Jun 30 00:50:42 UTC 2017 - larry.fin...@lwfinger.net
+
+- Fix missing global for 32-bit version with gcc7. (bsc#1046571).
+  Fix missing frame buffer cleanup - private communication from Oracle - adds 
file "fix_KMS_support.patch".
+
+---
+Sun Jun 25 17:09:01 UTC 2017 - larry.fin...@lwfinger.net
+
+- Fix logic error in scripts to build kernel modules locally - see bnc#1042726.
+  Fix "requires" for net-tools-deprecated so that Leap 42.3 will build.
+  Fix missing /media for Leap 42.3.
+  Fix typo in above changes.
+
+---
+Sun Jun 25 00:20:08 UTC 2017 - larry.fin...@lwfinger.net
+
+- Fix some typos in the various service files as noted in boo#1044931.
+  With these fixes, TW guests start correctly. In addition, the 
/sbin/vboxconfig (for hosts) and the
+  /sbin/vboxguestconfig (for guests) work correctly.
+
+---
+Wed Jun 21 16:46:48 UTC 2017 - larry.fin...@lwfinger.net
+
+- Now that kernel:HEAD:standard has changed to version 4.12.0-rcX, the VB 
drivers need some changes for new API's.
+  File "vbox_fix_for_kernel_4.12.patch" is added.
+  The added installation of "net-tools-deprecated" broke builds for Leap 42.3. 
That change is now conditional on building for Factory.
+---
+Sat Jun 10 13:19:05 UTC 2017 - larry.fin...@lwfinger.net
+
+- Add installation of package "net-tools-deprecated" as requested in 
boo#1027742.
+
+---
+Thu Jun  8 17:37:35 UTC 2017 - larry.fin...@lwfinger.net
+
+- Revise warning screen concerning USB passthru - fixes bnc#1041137.
+  USB passthru opens a security hole, yet it is so valuable that many users 
want the feature, thus it is our default.
+  Previously, a user needed to edit a udev rule to disable passthru. The bad 
part was that an update of VB changed the
+  rule back to allow passthru without any notification. These changes modify 
the popup to allow the user to accept or decline
+  passthru. If the user declines, then the root password is requested and the 
udev rule is modified. As these modifications will be
+  lost with the next VB update, the inode of the udev rule is kept. If the 
user has previously declined and the inode has changed,
+  the popup will show the next time VB is started. File "fix_usb_rules.sh" is 
added.
+
+---

New:

  fix_KMS_support.patch
  fix_usb_rules.sh
  vbox_fix_for_kernel_4.12.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.SV6b24/_old  2017-07-04 11:54:08.825231377 +0200
+++ /var/tmp/diff_new_pack.SV6b24/_new  2017-07-04 11:54:08.829230814 +0200
@@ -51,6 +51,7 @@
 Source15:   vboxadd-service.service
 Source16:   vboxconfig.sh
 Source17:   vboxguestconfig.sh
+Source18:   fix_usb_rules.sh
 Source98:   %{name}-rpmlintrc
 Source99:   %{name}-patch-source.sh
 #rework init scripts to fit suse needs
@@ -100,6 +101,10 @@
 Patch115:   vbox_fix_for_gcc7.patch
 # Fix for missing include needed for server 1.19
 Patch116:   Fix_for_server_1.19.patch
+# Fix for kernel 4.12 API changes
+Patch117:   vbox_fix_for_kernel_4.12.patch
+# Fix for missing cleanup in KMS support
+Patch118:   fix_KMS_support.patch
 #
 BuildRequires:  LibVNCServer-devel
 BuildRequires:  SDL-devel
@@ -172,6 +177,9 @@
 Requires:   %{name}-host-kmp = %{version}
 Requires(post): sysvinit(syslog)
 Requires(pre):  permissions
+%if ! 0%{?suse_version} > 1325
+Requires(pre):  net-tools-deprecated
+%endif
 Requires(pre):  pwdutils
 Requires(pre):  %insserv_prereq
 Requires(pre):  %fillup_prereq
@@ -268,6 +276,9 @@
 Provides:   %{name}-ose-guest-tools = %{version}
 Obsoletes:  %{name}-ose-guest-tools < %{version}
 Requires(pre):  %insserv_prereq
+%if ! 0%{?suse_version} > 1325
+Requires(pre):  net-tools-deprecated
+%endif
 
 %description guest-tools
 VirtualBox guest addition tools.
@@ -374,6 +385,8 @@
 %endif
 %patch115 -p1
 

commit virtualbox for openSUSE:Factory

2017-05-27 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-05-27 13:09:24

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Sat May 27 13:09:24 2017 rev:134 rq:497123 version:5.1.22

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-05-06 
18:24:44.296823724 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-05-27 13:09:52.451530641 +0200
@@ -1,0 +2,36 @@
+Sun May 21 13:28:15 UTC 2017 - h...@urpla.net
+
+- add %dir /usr/share/licenses to new vnc package
+
+---
+Wed May 17 20:33:08 UTC 2017 - larry.fin...@lwfinger.net
+
+- Made changes to build with gcc 7.x. This adds new file 
"vbox_fix_for_gcc7.patch".
+  Changed the building of VBoxVNC to remove the hack used earlier.
+
+---
+Wed May 10 17:39:57 UTC 2017 - larry.fin...@lwfinger.net
+
+- Make a number of changes:
+  * Add VBoxVNC as a proper external pack rather than just make the so 
available (bnc #1037033). Thanks to Michal Nowak for most of this effort.
+One hack was required to work around a bug in "VBoxManage extpack install" 
whereby the --accept-license option failed to work.
+  * Improve startup of VirtualBox through use of systemd service files:
+a. Beginning with Oracle version 5.0.8, the command used to build the 
kernel modules outside of the RPM packaging
+   code changed; however, the openSUSE version did not implement the new 
method. That new code is now implemented.
+b. In Tumbleweed, the SysV init scripts to systemd service files stopped 
working. Part of the new code also checks
+   to see if the kernel modules are loaded. If not, new script files are 
called to include the necessary packages
+   and build the necessary modules.
+c. The hooks are in place to remove the sysv init files and do the 
complete conversion to systemd. This step will
+   be done at a later time.
+
+  * New files are "vboxconfig.sh", "vboxguestconfig.sh", "vboxdrv.service", 
and "vboxadd-service.service".
+  * New sub-packages virtualbox-guest-source and virtualbox-vnc are produced.
+  * Some typos in virtualbox.spec are fixed.
+
+---
+Thu May  4 17:59:45 UTC 2017 - larry.fin...@lwfinger.net
+
+- Add libelf-devel to build. Fixes bnc #1037511.
+  Modified the startup files to build the kernel modules if they are missing. 
Files "vboxconfig.sh" and "vboxguestconfig" added.
+
+---

New:

  vbox_fix_for_gcc7.patch
  vboxconfig.sh
  vboxguestconfig.sh



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.XFJMN1/_old  2017-05-27 13:09:54.859190237 +0200
+++ /var/tmp/diff_new_pack.XFJMN1/_new  2017-05-27 13:09:54.863189671 +0200
@@ -49,6 +49,8 @@
 Source13:   %{name}-sysconfig.vbox
 Source14:   vboxdrv.service
 Source15:   vboxadd-service.service
+Source16:   vboxconfig.sh
+Source17:   vboxguestconfig.sh
 Source98:   %{name}-rpmlintrc
 Source99:   %{name}-patch-source.sh
 #rework init scripts to fit suse needs
@@ -94,6 +96,8 @@
 Patch113:   vbox_remove_smp_mflags.patch
 # Fix change in API for get_user_pages()
 Patch114:   vbox_fix_42.3_api.patch
+# Allow use of gcc7
+Patch115:   vbox_fix_for_gcc7.patch
 # Fix for missing include needed for server 1.19
 Patch116:   Fix_for_server_1.19.patch
 #
@@ -102,6 +106,7 @@
 BuildRequires:  acpica
 BuildRequires:  alsa-devel
 BuildRequires:  bin86
+BuildRequires:  infinipath-psm
 BuildRequires:  systemd-rpm-macros
 %if 0%{?suse_version} > 1325
 BuildRequires:  libboost_headers-devel
@@ -122,6 +127,7 @@
 BuildRequires:  kernel-syms
 BuildRequires:  libcap-devel
 BuildRequires:  libcurl-devel
+BuildRequires:  libelf-devel
 BuildRequires:  libidl-devel
 BuildRequires:  libopenssl-devel
 BuildRequires:  libqt5-linguist
@@ -293,7 +299,7 @@
 ###
 
 %package host-source
-Summary:Source files for %{name} kernel modules
+Summary:Source files for %{name} host kernel modules
 Group:  Development/Sources
 Requires:   %{name} = %{version}
 Requires:   gcc
@@ -301,9 +307,22 @@
 BuildArch:  noarch
 
 %description host-source
-Source files for %{name} kernel modules
+Source files for %{name} host kernel modules
 These can be built for custom kernels using
 cd %{_prefix}/src/kernel-modules/virtualbox ; make ; make install
+
+%package guest-source
+Summary:Source 

commit virtualbox for openSUSE:Factory

2017-05-06 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-05-06 18:24:42

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Sat May  6 18:24:42 2017 rev:133 rq:492163 version:5.1.22

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-04-24 
09:46:20.932620418 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-05-06 18:24:44.296823724 +0200
@@ -1,0 +2,43 @@
+Sat Apr 29 17:24:10 UTC 2017 - larry.fin...@lwfinger.net
+
+- Version bump to 5.1.22 (released 2017-04-28 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+VMM: fixed VERR_IEM_INSTR_NOT_IMPLEMENTED Guru Meditation under certain 
conditions (5.1 regression; mostly Mac OS X hosts; bugs #15693, #15801, #16274, 
#16569, #16663)
+VMM: fixed software virtualization on Solaris hosts (5.1.20 regression)
+Storage: fixed a potential hang under rare circumstances (bug #16677)
+Storage: fixed a potential crash under rare circumstances (asynchronous I/O 
disabled or during maintenance file operations like merging snapshots)
+Linux hosts: make the ALSA backend work again as well as loading the GL 
libraries on certain hosts (5.1.20 regression; bugs #16667, #16693)
+Linux Additions: fixed mount.vboxsf symlink problem (5.1.20 regression; bug 
#16670)
+
+---
+Sat Apr 29 04:38:33 UTC 2017 - larry.fin...@lwfinger.net
+
+- VirtualBox has always been started by systemd utilizing the old-style 
scripts in /etc/init.d.
+  These should be converted to the service files native to systemd. This issue 
has been forced
+  as a recent update to Tumbleweed broke the startup of VB for both TW hosts 
and guests. This
+  change starts the conversion to native systemd files. The original scripts 
are still used; however,
+  service files are used to start and stop the VB components. In a later 
change, all action will
+  be accomplished using systemd service files.
+
+  Two new files named "vboxdrv.service" and "vboxadd-service.service" are 
added.
+
+---
+Thu Apr 20 19:51:27 UTC 2017 - larry.fin...@lwfinger.net
+
+-  Fixes for CVE-2017-3561, CVE-2017-3563, CVE-2017-3576, CVE-2017-3558, 
CVE-2017-3587
+CVE-2017-3559, CVE-2017-3575, CVE-2017-3538, CVE-2017-3513
+   Version bump to 5.1.20 (released 2017-04-18 by Oracle)
+
+   This is a maintenance release. The following items were fixed and/or added:
+
+GUI: don't check if the Extension Pack is up-to-date if the user is about 
to install a new Extension Pack (bug #16317)
+GUI: fixed a possible crash when switching a multi-monitor VM into 
full-screen or seamless mode
+GUI: several mini-toolbar fixes in full-screen / seamless mode (X11 hosts 
only)
+GUI: don't crash on restoring defaults in the appliance import dialog
+Windows Additions: another fix for automatic logins for Windows Vista and 
newer (bug #15904)
+ICH9: fix for Windows guests with a huge amount (>64G) of guest memory
+BIOS: fixed El Torito hard disk emulation geometry calculation (thanks 
Dwight Engen) 
+
+---

Old:

  VirtualBox-5.1.18-patched.tar.bz2

New:

  VirtualBox-5.1.22-patched.tar.bz2
  vboxadd-service.service
  vboxdrv.service



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.o503V1/_old  2017-05-06 18:24:47.028438281 +0200
+++ /var/tmp/diff_new_pack.o503V1/_new  2017-05-06 18:24:47.032437716 +0200
@@ -22,7 +22,7 @@
 %define _vbox_instdir  %{_libexecdir}/virtualbox
 %define _udevrulesdir %{_sysconfdir}/udev/rules.d
 Name:   virtualbox
-Version:5.1.18
+Version:5.1.22
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0+
@@ -47,6 +47,8 @@
 # init script to start virtual boxes during boot, to be configured via 
/etc/sysconfig/vbox bnc#582398
 Source12:   %{name}-vboxes
 Source13:   %{name}-sysconfig.vbox
+Source14:   vboxdrv.service
+Source15:   vboxadd-service.service
 Source98:   %{name}-rpmlintrc
 Source99:   %{name}-patch-source.sh
 #rework init scripts to fit suse needs
@@ -100,6 +102,7 @@
 BuildRequires:  acpica
 BuildRequires:  alsa-devel
 BuildRequires:  bin86
+BuildRequires:  systemd-rpm-macros
 %if 0%{?suse_version} > 1325
 BuildRequires:  libboost_headers-devel
 %else
@@ -181,6 +184,7 @@
 BuildRequires:  xorg-x11-libXmu-devel-32bit
 BuildRequires:  xorg-x11-libXt-devel-32bit
 %endif
+%{?systemd_requires}
 
 %description
 

commit virtualbox for openSUSE:Factory

2017-04-24 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-04-24 09:46:19

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Mon Apr 24 09:46:19 2017 rev:132 rq:486867 version:5.1.18

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-03-21 
22:44:57.265756838 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-04-24 09:46:20.932620418 +0200
@@ -1,0 +2,11 @@
+Sat Apr  8 23:10:36 UTC 2017 - larry.fin...@lwfinger.net
+
+- Add File "vbox_fix_42.3_api.patch" to handle the get_user_pages() API change 
in Leap 42.3.
+
+---
+Tue Mar 28 14:53:52 UTC 2017 - larry.fin...@lwfinger.net
+
+- Package VBoxVNC.so. This extension is already being built, just not packaged.
+  This feature is requested in bsc #1024671.
+
+---

New:

  vbox_fix_42.3_api.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.YWclEb/_old  2017-04-24 09:46:24.000186547 +0200
+++ /var/tmp/diff_new_pack.YWclEb/_new  2017-04-24 09:46:24.004185981 +0200
@@ -90,6 +90,8 @@
 Patch112:   modify_for_4_8_bo_move.patch
 # Remove all mention of _smp_mflags
 Patch113:   vbox_remove_smp_mflags.patch
+# Fix change in API for get_user_pages()
+Patch114:   vbox_fix_42.3_api.patch
 # Fix for missing include needed for server 1.19
 Patch116:   Fix_for_server_1.19.patch
 #
@@ -333,6 +335,9 @@
 %patch109 -p1
 %patch112 -p1
 %patch113 -p1
+%if 0%{?sle_version} == 120300
+%patch114 -p1
+%endif
 %patch116 -p1
 
 #copy user manual
@@ -459,6 +464,8 @@
 install -d -m 755 %{buildroot}%{_sysconfdir}/vbox
 install -d -m 755 %{buildroot}%{_udevrulesdir}
 install -d -m 755 %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d
+install -m 755 out/linux.*/release/bin/ExtensionPacks/VNC/linux.*/VBoxVNC.so 
%{buildroot}%{_vbox_instdir}/VBoxVNC.so
+install -m 755 
out/linux.*/release/bin/ExtensionPacks/VNC/linux.*/VBoxVNCMain.so 
%{buildroot}%{_vbox_instdir}/VBoxVNCMain.so
 
 

 echo "entering virtualbox-kmp-guest and virtualbox-kmp-host install section"
@@ -743,6 +750,7 @@
 %{_vbox_instdir}/VBoxDD2.so
 %{_vbox_instdir}/VBoxDD.so
 %{_vbox_instdir}/VBoxDDU.so
+%{_vbox_instdir}/VBoxVNC*.so
 %{_vbox_instdir}/VBoxGuestControlSvc.so
 %{_vbox_instdir}/VBoxGuestPropSvc.so
 %{_vbox_instdir}/VBoxHeadless.so
@@ -759,7 +767,6 @@
 %{_vbox_instdir}/VBoxSharedCrOpenGL.so
 %{_vbox_instdir}/VBoxSharedFolders.so
 %{_vbox_instdir}/VBoxVMM.so
-#%{_vbox_instdir}/VBoxVNC.so
 %{_vbox_instdir}/VBoxXPCOMC.so
 %{_vbox_instdir}/VBoxXPCOM.so
 %{_vbox_instdir}/VBoxDD2RC.rc

++ vbox_fix_42.3_api.patch ++
Index: VirtualBox-5.1.18/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
===
--- VirtualBox-5.1.18.orig/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
+++ VirtualBox-5.1.18/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
@@ -1084,18 +1079,14 @@ DECLHIDDEN(int) rtR0MemObjNativeLockUser
 # endif
 );
 #else /* LINUX_VERSION_CODE < KERNEL_VERSION(4, 6, 0) */
-rc = get_user_pages(pTask,  /* Task for fault 
accounting. */
-pTask->mm,  /* Whose pages. */
-R3Ptr,  /* Where from. */
+   /* The following is modified for Leap 42.3 having the
+*  get_user_pages() API from kernel 4.10
+*/
+rc = get_user_pages(R3Ptr,  /* Where from. */
 cPages, /* How many pages. */
-# if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
 fWrite ? FOLL_WRITE |   /* Write to memory. */
  FOLL_FORCE /* force write access. 
*/
: 0, /* Write to memory. */
-# else
-fWrite, /* Write to memory. */
-fWrite, /* force write access. 
*/
-# endif
 >apPages[0],   /* Page array. */
 papVMAs);   /* vmas */
 #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(4, 6, 0) */




commit virtualbox for openSUSE:Factory

2017-03-21 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-03-21 22:44:39

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Tue Mar 21 22:44:39 2017 rev:131 rq:480664 version:5.1.18

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-03-11 
15:18:57.093373634 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-03-21 22:44:57.265756838 +0100
@@ -1,0 +2,15 @@
+Thu Mar 16 02:54:50 UTC 2017 - larry.fin...@lwfinger.net
+
+- Version bump to 5.1.18 (released 2017-08-15 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+Shared Folders: fixed case insensitive filename access (5.1.16 regression; 
Windows guests only; bug #16549)
+Shared Folders: fixed access to long pathes (5.1.16 regression; Windows 
guests only; bugs #14651, #16564)
+API: fixed snapshot handling of medium attachments and PCI device 
attachments (bug #16545)
+API: make 32-bit Windows guests in raw mode boot again if the ICH9 chipset 
is used (5.1.16 regression)
+VBoxBugReport: fixed VM log collection issue
+Linux hosts: fixed autostart service script (bug #14955)
+Windows Additions: fixed automatic logins for Windows Vista and newer 
(5.1.4 regression; bug #15904) 
+
+---

Old:

  VirtualBox-5.1.16-patched.tar.bz2

New:

  VirtualBox-5.1.18-patched.tar.bz2



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.lBcOsc/_old  2017-03-21 22:44:59.981372916 +0100
+++ /var/tmp/diff_new_pack.lBcOsc/_new  2017-03-21 22:44:59.981372916 +0100
@@ -22,7 +22,7 @@
 %define _vbox_instdir  %{_libexecdir}/virtualbox
 %define _udevrulesdir %{_sysconfdir}/udev/rules.d
 Name:   virtualbox
-Version:5.1.16
+Version:5.1.18
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0+

++ UserManual.pdf ++
(binary differes)

++ VirtualBox-5.1.16-patched.tar.bz2 -> VirtualBox-5.1.18-patched.tar.bz2 
++
/work/SRC/openSUSE:Factory/virtualbox/VirtualBox-5.1.16-patched.tar.bz2 
/work/SRC/openSUSE:Factory/.virtualbox.new/VirtualBox-5.1.18-patched.tar.bz2 
differ: char 11, line 1





commit virtualbox for openSUSE:Factory

2017-03-11 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-03-11 15:18:54

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Sat Mar 11 15:18:54 2017 rev:130 rq:478056 version:5.1.16

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-03-01 
23:40:08.506851865 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-03-11 15:18:57.093373634 +0100
@@ -1,0 +2,51 @@
+Thu Mar  9 18:54:31 UTC 2017 - larry.fin...@lwfinger.net
+
+- Removed "vbox_fix_4.10_api_changes.patch" - fixed upstream
+  Removed "vbox_fix_4.11_api_changes.patch" - fixed upstream
+
+- Version bump to 5.1.16 (released 2017-03-08 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+VMM: don't access the MSR_IA32_SMM_MONITOR_CTL MSR if dual-monitor 
treatment is not available (KVM workaround, bug #14965)
+VMM: another fix for handling certain MSRs on ancient CPUs without VT-x 
support for MSR bitmaps
+VMM: fixed VERR_SSM_LOAD_CPUID_MISMATCH errors when restoring a saved 
state with SMP guests on hosts without the CPUID/HTT bit set (bug #16428)
+VMM: fixed a bug in call gate emulation
+VMM: FWAIT instruction fix
+VMM: fixed a sporadic guest hang under certain conditions
+GUI: hide the mini-toolbar from the taskbar and the pager on certain X11 
hosts
+GUI: better error handling on the global settings / network / host-only / 
DHCP server settings
+GUI: fixes for full-screen with multiple screens
+Host-only Network: fixed host-only adapter creation issue preventing 
VirtualBox installation on Windows 10 hosts (bug #16379)
+NAT network: fixed two potential crashes in the DHCP server
+ICH9: fixed incorrect initialization of the primary bus for PCI bridges 
(5.1.14 regression)
+Storage: LsiLogic fix for Windows 10
+USB: fixed not being able to attach certain USB devices having invalid 
characters in the device strings (5.0.18 regression; bug #15956)
+USB: several fixes for the USB/IP support (bug #16462)
+VBoxSVC: fixed another crash during shutdown under rare circumstances
+VBoxSVC: fixed a stack overflow on (Windows debug builds only; bug #16409)
+OVF: when importing an appliance handle more than 10 network adapters if 
the OVA was created by VirtualBox (bug #16401)
+OVF: fixes for exporting and importing appliances with many disks (bug 
#16402)
+VBoxManage: fixed regression with modifyhd --resize (bug #16311)
+rdesktop-vrdp: source code tarball fixes
+Linux Installers: do not rebuild kernel modules unnecessarily (bug #16408)
+Linux hosts: added an action for opening the VM manager window to the 
.desktop file
+Linux hosts / guests: Linux 4.11 compile fixes (bug #16506)
+Linux Additions: added vboxsf FS modules alias (bug #16404)
+Linux Additions: fix for the shared folders kernel module to compile on 
Linux 4.10
+Linux Additions: properly install the Linux kernel module override rule on 
distributions without /etc/depmod.d
+Windows Additions: fixed a crash with recent Windows 10 builds if 3D is 
disabled (bug #15973) 
+
+---
+Wed Mar  8 21:18:08 UTC 2017 - larry.fin...@lwfinger.net
+
+- Fix API changes for kernel 4.11. This change adds file 
"vbox_fix_4.11_api_changes.patch".
+  Make some changes to various script files to remove reference to run level 
4, which is not used.
+
+---
+Sat Mar  4 05:00:03 UTC 2017 - larry.fin...@lwfinger.net
+
+- Fix for missing global in vboxsf that prevented mounting shared folders
+  for kernel 4.10.  This change is the fix for bsc #1027967.
+
+---

Old:

  VirtualBox-5.1.14-patched.tar.bz2
  vbox_fix_4.10_api_changes.patch

New:

  VirtualBox-5.1.16-patched.tar.bz2



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.kOvgPo/_old  2017-03-11 15:18:59.193076501 +0100
+++ /var/tmp/diff_new_pack.kOvgPo/_new  2017-03-11 15:18:59.197075935 +0100
@@ -22,7 +22,7 @@
 %define _vbox_instdir  %{_libexecdir}/virtualbox
 %define _udevrulesdir %{_sysconfdir}/udev/rules.d
 Name:   virtualbox
-Version:5.1.14
+Version:5.1.16
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0+
@@ -93,8 +93,6 @@
 # Fix for missing include needed for server 1.19
 Patch116:   Fix_for_server_1.19.patch
 #
-Patch117:   vbox_fix_4.10_api_changes.patch
-#
 BuildRequires:  

commit virtualbox for openSUSE:Factory

2017-03-01 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-03-01 23:40:04

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Wed Mar  1 23:40:04 2017 rev:129 rq:461358 version:5.1.14

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-02-10 
09:44:59.960040107 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-03-01 23:40:08.506851865 +0100
@@ -1,0 +2,28 @@
+Tue Feb 28 21:06:30 UTC 2017 - dims...@opensuse.org
+
+- Do not proivde libGL.so.1 and libEGL.so.1 symbols into the rpm
+  database.
+
+---
+Sun Feb 26 20:17:02 UTC 2017 - larry.fin...@lwfinger.net
+
+- The fix for 3D acceleration only works for Gmome desktops. KDE desktops 
fail. Accordingly,
+  3D acceleration must still be disabled "out-of-the-box". File 
/etc/init.d/vboxadd contains
+  comments on the modifications needed to turn 3D acceleration on, thus Gnome 
users may turn
+  it on selectively.
+
+---
+Fri Feb 24 03:34:35 UTC 2017 - larry.fin...@lwfinger.net
+
+- Fix 3D acceleration as reported in bsc #1024934. The steps needed are as 
follows:
+ -  Remove file "vbox_prevent_wrong_SONAME.patch" - the original SONAME values 
are needed for
+libGL.so.1 and libEGL.so.1 to be replaced by VBoxOGL.so and VBoxEGL.so, 
respectively.
+ -  Package VBoxEGL.so 
+
+---
+Thu Feb 23 12:37:09 CET 2017 - ku...@suse.de
+
+- Require insserv and fillup by the packages who call it in the
+  pre/post install sections
+
+---

Old:

  vbox_prevent_wrong_SONAME.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.GVPtTB/_old  2017-03-01 23:40:13.130199859 +0100
+++ /var/tmp/diff_new_pack.GVPtTB/_new  2017-03-01 23:40:13.138198730 +0100
@@ -16,6 +16,9 @@
 #
 
 
+# Do not provide libGL.so symbols - they are owned by Mesa already and this 
could potentially confuse rpm/zypp
+%global __provides_exclude ^libE?GL.so.1.*$
+
 %define _vbox_instdir  %{_libexecdir}/virtualbox
 %define _udevrulesdir %{_sysconfdir}/udev/rules.d
 Name:   virtualbox
@@ -83,8 +86,6 @@
 Patch108:   virtualbox-snpritnf-buffer-overflow.patch
 # Patch to add code to explain USB Passthru
 Patch109:   vbox-usb-warning.diff
-# Prevent Guest Additions from creating wrong SONAME
-Patch111:   vbox_prevent_wrong_SONAME.patch
 # Fix change in kernel API for ttm_bo_move_memcpy()
 Patch112:   modify_for_4_8_bo_move.patch
 # Remove all mention of _smp_mflags
@@ -164,6 +165,8 @@
 Requires(post): sysvinit(syslog)
 Requires(pre):  permissions
 Requires(pre):  pwdutils
+Requires(pre):  %insserv_prereq
+Requires(pre):  %fillup_prereq
 Recommends: %{name}-gui = %{version}
 #rename from ose version:
 Provides:   %{name}-ose = %{version}
@@ -209,6 +212,7 @@
 Group:  System/Emulators/PC
 Requires:   %{name} = %{version}
 Provides:   %{name}-gui = %{version}
+Requires(pre):  %insserv_prereq
 
 %description websrv
 websrv GUI part for %{name}.
@@ -254,6 +258,7 @@
 #rename from "ose" version:
 Provides:   %{name}-ose-guest-tools = %{version}
 Obsoletes:  %{name}-ose-guest-tools < %{version}
+Requires(pre):  %insserv_prereq
 
 %description guest-tools
 VirtualBox guest addition tools.
@@ -329,7 +334,6 @@
 %patch107 -p1
 %patch108 -p1
 %patch109 -p1
-%patch111 -p1
 %patch112 -p1
 %patch113 -p1
 %patch116 -p1
@@ -504,6 +508,9 @@
 # VBoxOGL* libs for guest-x11 subpackage
 install -m 644 out/linux.*/release/bin/additions/VBoxOGL*.so \
%{buildroot}%{_libdir}
+# VBoxEGL* libs for guest-x11 subpackage
+install -m 755 out/linux.*/release/bin/additions/VBoxEGL*.so \
+   %{buildroot}%{_libdir}
 # make link for dri lib
 ln -s %{_libdir}/VBoxOGL.so
%{buildroot}%{_libdir}/dri/vboxvideo_dri.so
 # install init script which start VBoxClient daemon (support for 
clipboard,autoresize,seamless windows)
@@ -756,6 +763,7 @@
 %{_vbox_instdir}/VBoxSharedCrOpenGL.so
 %{_vbox_instdir}/VBoxSharedFolders.so
 %{_vbox_instdir}/VBoxVMM.so
+#%{_vbox_instdir}/VBoxVNC.so
 %{_vbox_instdir}/VBoxXPCOMC.so
 %{_vbox_instdir}/VBoxXPCOM.so
 %{_vbox_instdir}/VBoxDD2RC.rc
@@ -819,6 +827,7 @@
 %dir %{_libdir}/dri/
 %{_bindir}/VBoxClient
 %{_libdir}/VBoxOGL*.so
+%{_libdir}/VBoxEGL*.so
 %{_libdir}/xorg/modules/drivers/vboxvideo_drv.so
 %{_libdir}/dri/vboxvideo_dri.so
 

commit virtualbox for openSUSE:Factory

2017-02-10 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-02-10 09:44:58

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-02-03 
20:04:34.954794455 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-02-10 09:44:59.960040107 +0100
@@ -1,0 +2,5 @@
+Thu Feb  2 15:30:05 UTC 2017 - adam.ma...@suse.de
+
+- use individual libboost-*-devel packages instead of boost-devel
+
+---



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.EuXgGV/_old  2017-02-10 09:45:07.534967064 +0100
+++ /var/tmp/diff_new_pack.EuXgGV/_new  2017-02-10 09:45:07.538966498 +0100
@@ -99,7 +99,11 @@
 BuildRequires:  acpica
 BuildRequires:  alsa-devel
 BuildRequires:  bin86
+%if 0%{?suse_version} > 1325
+BuildRequires:  libboost_headers-devel
+%else
 BuildRequires:  boost-devel
+%endif
 BuildRequires:  dev86
 BuildRequires:  device-mapper-devel
 BuildRequires:  dmidecode





commit virtualbox for openSUSE:Factory

2017-02-03 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-02-02 15:28:57

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-01-25 
22:34:26.181840264 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-02-03 20:04:34.954794455 +0100
@@ -1,0 +2,26 @@
+Sat Jan 28 20:37:54 UTC 2017 - larry.fin...@lwfinger.net
+
+- Removed "vbox_fix_4.9_api_changes.patch" as changes are upstream.
+  Fixed API changes for kernel 4.10 in "vbox_fix_4.10_api_changes.patch".
+
+---
+Wed Jan 25 02:52:51 UTC 2017 - larry.fin...@lwfinger.net
+
+- The version bump to 5.1.14 also addresses boo#1020856 CVE-2017-3316 
CVE-2017-3332 CVE-2017-3290 CVE-2016-5545
+
+- Version bump to 5.1.14 (released 2017-01-17 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+VMM: fixed emulation of certain instructions for 64-bit guests on 32-bit 
hosts
+VMM: properly handle certain MSRs for 64-bit guests on ancient CPUs 
without VT-x support for MSR bitmaps (bug #13886)
+GUI: fixed a crash with multimonitor setups under certain conditions
+GUI: allow cloning of snapshots when the VM is running
+NVMe: fixed compatibility with the Storage Performance Development Kit 
(SPDK, bug #16368)
+VBoxSVC: fixed a crash under rare circumstances
+VBoxManage: added a sanity check to modifymedium --resize to prevent users 
from resizing their hard disk from 1GB to 1PB (bug #16311)
+Windows hosts: another fix for recent Windows 10 hosts
+Linux hosts: Linux 4.10 fixes
+Linux Additions: fixed protocol error during certain operations on shared 
folders (bug #8463)
+
+---

Old:

  VirtualBox-5.1.12-patched.tar.bz2
  vbox_fix_4.9_api_changes.patch

New:

  VirtualBox-5.1.14-patched.tar.bz2
  vbox_fix_4.10_api_changes.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.oHOq8T/_old  2017-02-03 20:04:37.842388009 +0100
+++ /var/tmp/diff_new_pack.oHOq8T/_new  2017-02-03 20:04:37.846387446 +0100
@@ -19,7 +19,7 @@
 %define _vbox_instdir  %{_libexecdir}/virtualbox
 %define _udevrulesdir %{_sysconfdir}/udev/rules.d
 Name:   virtualbox
-Version:5.1.12
+Version:5.1.14
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0+
@@ -89,11 +89,11 @@
 Patch112:   modify_for_4_8_bo_move.patch
 # Remove all mention of _smp_mflags
 Patch113:   vbox_remove_smp_mflags.patch
-# Fix build error on kernel 4.9
-Patch114:   vbox_fix_4.9_api_changes.patch
 # Fix for missing include needed for server 1.19
 Patch116:   Fix_for_server_1.19.patch
 #
+Patch117:   vbox_fix_4.10_api_changes.patch
+#
 BuildRequires:  LibVNCServer-devel
 BuildRequires:  SDL-devel
 BuildRequires:  acpica
@@ -328,8 +328,8 @@
 %patch111 -p1
 %patch112 -p1
 %patch113 -p1
-%patch114 -p1
 %patch116 -p1
+%patch117 -p1
 
 #copy user manual
 cp %{SOURCE1} UserManual.pdf

++ VirtualBox-5.1.12-patched.tar.bz2 -> VirtualBox-5.1.14-patched.tar.bz2 
++
/work/SRC/openSUSE:Factory/virtualbox/VirtualBox-5.1.12-patched.tar.bz2 
/work/SRC/openSUSE:Factory/.virtualbox.new/VirtualBox-5.1.14-patched.tar.bz2 
differ: char 11, line 1

++ vbox_fix_4.9_api_changes.patch -> vbox_fix_4.10_api_changes.patch ++
--- /work/SRC/openSUSE:Factory/virtualbox/vbox_fix_4.9_api_changes.patch
2016-11-25 12:27:49.0 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/vbox_fix_4.10_api_changes.patch  
2017-02-03 20:04:34.890803462 +0100
@@ -1,70 +1,37 @@
-Index: VirtualBox-5.1.10/src/VBox/Additions/linux/sharedfolders/dirops.c
+
+Index: VirtualBox-5.1.14/src/VBox/Additions/linux/sharedfolders/lnkops.c
 ===
 VirtualBox-5.1.10.orig/src/VBox/Additions/linux/sharedfolders/dirops.c
-+++ VirtualBox-5.1.10/src/VBox/Additions/linux/sharedfolders/dirops.c
-@@ -748,12 +748,18 @@ static int sf_rmdir(struct inode *parent
-  * @param flags flags
-  * @returns 0 on success, Linux error code otherwise
-  */
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 9, 0)
- static int sf_rename(struct inode *old_parent, struct dentry *old_dentry,
-  struct inode *new_parent, struct dentry *new_dentry
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
-  , unsigned flags
- #endif
-  )
-+#else
-+static int sf_rename(struct 

commit virtualbox for openSUSE:Factory

2017-01-25 Thread root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2017-01-25 22:34:24

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2017-01-12 
15:44:28.075848626 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2017-01-25 22:34:26.181840264 +0100
@@ -1,0 +2,9 @@
+Sat Jan 14 02:14:27 UTC 2017 - larry.fin...@lwfinger.net
+
+- The printing of the warning about the insecurity in USB passthru had been 
lost. As most people are likely to want that feature,
+  the logic has been inverted. Now, the required udev commands to allow 
passthru are included. The first time that VB is started,
+  the user will get a screen that points to the bug entry discussing the 
problem and states what they should do to block the
+  insecure usage. In any case, that screen will only be printed once. File 
"virtualbox-60-vboxdrv.rules" has been added
+  These changes address the issues in bnc #1018340.
+
+---

New:

  virtualbox-60-vboxdrv.rules



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.iwtzUX/_old  2017-01-25 22:34:28.597474868 +0100
+++ /var/tmp/diff_new_pack.iwtzUX/_new  2017-01-25 22:34:28.605473657 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package virtualbox
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 %define _vbox_instdir  %{_libexecdir}/virtualbox
-%define _udevrulesdir %{_libexecdir}/udev/rules.d
+%define _udevrulesdir %{_sysconfdir}/udev/rules.d
 Name:   virtualbox
 Version:5.1.12
 Release:0
@@ -40,6 +40,7 @@
 Source8:%{name}-guest-preamble
 Source9:%{name}-wrapper.sh
 Source10:   %{name}-LocalConfig.kmk
+Source11:   %{name}-60-vboxdrv.rules
 # init script to start virtual boxes during boot, to be configured via 
/etc/sysconfig/vbox bnc#582398
 Source12:   %{name}-vboxes
 Source13:   %{name}-sysconfig.vbox
@@ -530,6 +531,7 @@
 install -m 755 VBoxExtPackHelperApp%{buildroot}%{_vbox_instdir}
 install -m 755 VBoxTestOGL %{buildroot}%{_vbox_instdir}
 install -m 755 VBoxPermissionMessage   %{buildroot}%{_vbox_instdir}
+install -m 755 VBoxUSB_DevRules
%{buildroot}%{_vbox_instdir}
 install -m 755 VBoxNetDHCP %{buildroot}%{_vbox_instdir}
 install -m 755 VBoxNetAdpCtl   %{buildroot}%{_vbox_instdir}
 install -m 755 VirtualBox  %{buildroot}%{_vbox_instdir}
@@ -544,6 +546,7 @@
 # install kmp src
 mkdir -p %{buildroot}%{_usrsrc}/kernel-modules
 cp -a src %{buildroot}%{_usrsrc}/kernel-modules/virtualbox
+install -m 644 %{SOURCE11} 
%{buildroot}%{_udevrulesdir}/60-vboxdrv.rules
 popd
 
 # install desktop file
@@ -792,6 +795,7 @@
 %files qt
 %defattr(-, root, root)
 %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxPermissionMessage
+%attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxUSB_DevRules
 %verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VirtualBox
 #wrapper script is in bindir
 %attr(0755,root,root) %{_bindir}/VirtualBox
@@ -802,6 +806,7 @@
 %{_vbox_instdir}/VirtualBox.so
 %{_datadir}/pixmaps/virtualbox.png
 %{_datadir}/applications/%{name}.desktop
+%{_udevrulesdir}/60-vboxdrv.rules
 
 %files guest-x11
 %defattr(-, root, root)

++ vbox-usb-warning.diff ++
--- /var/tmp/diff_new_pack.iwtzUX/_old  2017-01-25 22:34:28.701459138 +0100
+++ /var/tmp/diff_new_pack.iwtzUX/_new  2017-01-25 22:34:28.701459138 +0100
@@ -62,7 +62,7 @@
 +QApplication app(argc, argv);
 +QMessageBox msgBox;
 +msgBox.setWindowTitle(QObject::tr("USB Rules and Permissions !"));
-+msgBox.setText(QObject::tr("USB passthru opens a security hole. 
Please read \n\nhttps://bugzilla.novell.com/show_bug.cgi?id=664520\n\nto 
understand the problem. If you really want/need to use USB passthru, then copy 
/usr/lib/udev/rules.d/60-vboxdrv.rules to /etc/udev/rules.d/, and modify that 
file as outlined in the comments.\n\nTo avoid seeing this message every time 
VirtualBox is started, a dummy file is being created."));
++msgBox.setText(QObject::tr("USB passthru opens a security hole. 
Please read \n\nhttps://bugzilla.novell.com/show_bug.cgi?id=664520\n\nto 
understand the problem. If you really want/need 

commit virtualbox for openSUSE:Factory

2016-12-03 Thread h_root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2016-12-03 18:25:33

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2016-11-25 
12:27:49.0 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2016-12-03 18:25:35.0 +0100
@@ -1,0 +2,7 @@
+Wed Nov 30 16:45:43 UTC 2016 - a...@cryptomilk.org
+
+- Add patch file "vbox_hidpi_support.patch" to add support for HiDPI in the
+  management frontend.
+  (This does not fix rendering in guest windows)
+
+---

New:

  vbox_hidpi_support.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.Za0nvr/_old  2016-12-03 18:25:39.0 +0100
+++ /var/tmp/diff_new_pack.Za0nvr/_new  2016-12-03 18:25:39.0 +0100
@@ -90,6 +90,8 @@
 Patch113:   vbox_remove_smp_mflags.patch
 # Fix build error on kernel 4.9
 Patch114:   vbox_fix_4.9_api_changes.patch
+# Add support for HiDPI in the management frontend
+Patch115:   vbox_hidpi_support.patch
 #
 BuildRequires:  LibVNCServer-devel
 BuildRequires:  SDL-devel
@@ -325,6 +327,7 @@
 %patch112 -p1
 %patch113 -p1
 %patch114 -p1
+%patch115 -p1
 
 #copy user manual
 cp %{SOURCE1} UserManual.pdf


++ vbox_hidpi_support.patch ++
Index: VirtualBox-5.1.10/src/VBox/Frontends/VirtualBox/src/main.cpp
===
--- VirtualBox-5.1.10.orig/src/VBox/Frontends/VirtualBox/src/main.cpp   
2016-11-21 18:31:06.0 +0100
+++ VirtualBox-5.1.10/src/VBox/Frontends/VirtualBox/src/main.cpp
2016-11-30 14:04:31.028269344 +0100
@@ -446,6 +446,12 @@ extern "C" DECLEXPORT(int) TrustedMain(i
 qInstallMsgHandler(QtMessageOutput);
 #endif /* QT_VERSION < 0x05 */
 
+#if QT_VERSION >= 0x050600
+QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
+#endif
+#if QT_VERSION >= 0x050700
+QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
+#endif
 /* Create application: */
 QApplication a(argc, argv);
 
@@ -603,6 +609,12 @@ int main(int argc, char **argv, char **e
 /* Initialization failed: */
 if (RT_FAILURE(rc))
 {
+#if QT_VERSION >= 0x050600
+QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
+#endif
+#if QT_VERSION >= 0x050700
+QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
+#endif
 /* We have to create QApplication anyway
  * just to show the only one error-message: */
 QApplication a(argc, [0]);




commit virtualbox for openSUSE:Factory

2016-11-25 Thread h_root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2016-11-25 12:27:45

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2016-11-12 
12:58:35.0 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2016-11-25 12:27:49.0 +0100
@@ -1,0 +2,27 @@
+Mon Nov 21 22:43:33 UTC 2016 - larry.fin...@lwfinger.net
+
+- Version bump to 5.1.10 (released 2016-11-21 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+GUI: the USB filter settings dialog should allow to specify the USB 
revision in hexadecimal format (bug #15400)
+GUI: fixed crash on certain hosts when pressing certain key combinations 
(Windows hosts only; bug #15719)
+GUI: fixed issue with updating the available-geometry on host-screen 
work-area resize
+GUI: don't crash / hang on certain environments if accessibility support 
is enabled
+GUI: fixed various issues in Unscaled HiDPI Output mode (bug #15707)
+GUI: extend the VM Input menu with Print Screen-related actions
+GUI: improved handling of inserting the Guest Additions ISO image by 
trying all available optical drives rather than only the first one and by not 
asking the user if he wants to force unmounting (which doesn't work in most 
cases anyway)
+API: default to RTC using UTC for Solaris 11 guests
+Settings: be less restrictive when reading a VM configuration containing a 
host-only adapter without an interface name
+Storage: fixed resizing VDI images resulting in an unbootable image under 
certain circumstances (bug #15983)
+NAT: fixed several 5.1.8 regressions on Mac OS X and Windows hosts (bug 
#16084)
+Audio: fixed a few 5.1.x regressions by using the audio code from 5.0.x 
until the audio overhaul is completed
+VBoxManage: fixed documentation of the storagectl command (bug #15971)
+Build system: another fix for building VirtualBox on systems which default 
to Python 3
+Windows hosts: hardening fix for Windows 10 build 14971 (bug #16202)
+Windows Additions: properly start the VirtualBox guest services even if 
the guest user name contains special characters (bug #15982)
+Solaris Additions: fixed preemptible mouse notification callback being 
executed under a spinlock for Solaris guests
+Linux hosts / guests: Linux 4.9 fixes (bugs #16155 and #16064)
+Linux Additions: fixed Linux kernel module override rule (thanks Mark 
Furneaux) 
+
+---

Old:

  VirtualBox-5.1.8-patched.tar.bz2

New:

  VirtualBox-5.1.10-patched.tar.bz2



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.Z08wuc/_old  2016-11-25 12:27:53.0 +0100
+++ /var/tmp/diff_new_pack.Z08wuc/_new  2016-11-25 12:27:53.0 +0100
@@ -19,7 +19,7 @@
 %define _vbox_instdir  %{_libexecdir}/virtualbox
 %define _udevrulesdir %{_libexecdir}/udev/rules.d
 Name:   virtualbox
-Version:5.1.8
+Version:5.1.10
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0+

++ UserManual.pdf ++
(binary differes)

++ VirtualBox-5.1.8-patched.tar.bz2 -> VirtualBox-5.1.10-patched.tar.bz2 
++
/work/SRC/openSUSE:Factory/virtualbox/VirtualBox-5.1.8-patched.tar.bz2 
/work/SRC/openSUSE:Factory/.virtualbox.new/VirtualBox-5.1.10-patched.tar.bz2 
differ: char 11, line 1


++ gcc5-real-support.patch ++
--- /var/tmp/diff_new_pack.Z08wuc/_old  2016-11-25 12:27:53.0 +0100
+++ /var/tmp/diff_new_pack.Z08wuc/_new  2016-11-25 12:27:53.0 +0100
@@ -1,21 +1,21 @@
-Index: VirtualBox-5.1.2/Config.kmk
+Index: VirtualBox-5.1.10/Config.kmk
 ===
 VirtualBox-5.1.2.orig/Config.kmk
-+++ VirtualBox-5.1.2/Config.kmk
-@@ -2542,7 +2542,7 @@ else
-  # The reason for this hack is that the windows kmk_ash cannot deal with 
$((1+1)).
+--- VirtualBox-5.1.10.orig/Config.kmk
 VirtualBox-5.1.10/Config.kmk
+@@ -2479,7 +2479,7 @@ else
   # Some versions of gcc (e.g. openSUSE11) return only major.minor on `gcc 
-dumpversion`.
+  # gcc-5 of openSUSE42.1 only returns the major version on `gcc -dumpversion`!
   VBOX_GCC_VERSION = $(shell \
--$(1) -dumpversion | $(SED_EXT) 
's|\([0-9]\)\.\([0-9]\)\.\{0,1\}\([0-9]\{0,1\}\).*|$$(int-add $$(int-mul 1, 
\1), $$(int-mul 100, \2), $$(firstword \3 0))|' )
+-$(1) -dumpversion | $(SED_EXT) 
's|\([0-9]\)\.\{0,1\}\([0-9]\{0,1\}\)\.\{0,1\}\([0-9]\{0,1\}\).*|$$(int-add 

commit virtualbox for openSUSE:Factory

2016-09-20 Thread h_root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2016-09-20 13:18:46

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2016-09-16 
10:59:13.0 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2016-09-20 13:18:49.0 +0200
@@ -1,0 +2,37 @@
+Mon Sep 12 22:25:42 UTC 2016 - larry.fin...@lwfinger.net
+
+- Remove file "fix_removal_of_DEFINE_PCI_DEVICE_TABLE" - fixed upstream.
+- Version bump to 5.1.6 (released 2016-09-12 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+GUI: fixed issue with opening '.vbox' files and it's aliases
+GUI: keyboard grabbing fixes (bugs #15771 and #15745)
+GUI: fix for passing through Ctrl + mouse-click (Mac OS X hosts only; bug 
#15714)
+GUI: fixed automatic deletion of extension pack files (bugs #11352 and 
#14742)
+USB: fixed showing unknown device instead of the manufacturer or product 
description under certain circumstances (5.1.0 regression; bug #15764)
+XHCI: another fix for a hanging guest under certain conditions as result 
of the fix for bug #15747, this time for Windows 7 guests
+Serial: fixed high CPU usage with certain USB to serial converters on 
Linux hosts (bug #7796)
+Storage: fixed attaching stream optimized VMDK images (bug #14764)
+Storage: reject image variants which are unsupported by the backend (bug 
#7227)
+Storage: fixed loading saved states created with VirtualBox 5.0.10 and 
older when using a SCSI controller (bug #15865)
+Storage: fixed broken NVMe emulation if the host I/O cache setting is 
enabled
+Storage: fixed using multiple NVMe controllers if ICH9 is used
+NVMe: fixed a crash during reset which could happen under certain 
circumstances
+Audio: fixed microphone input (5.1.2 regression; bugs #14386 and #15802)
+Audio: fixed crashes under certain conditions (5.1.0 regression; bug 
#15887 and others)
+Audio: fixed recording with the ALSA backend (5.1 regression)
+Audio: fixed stream access mode with OSS backend (5.1 regression, thanks 
to Jung-uk Kim)
+E1000: do also return masked bits when reading the ICR register, this 
fixes booting from iPXE (5.1.2 regression; bug #15846)
+BIOS: fixed 4bpp scanline calculation (bug #15787)
+API: relax the check for the version attribute in OVF/OVA appliances (bug 
#15856)
+Windows hosts: fixed crashes when terminating the VM selector or other 
VBox COM clients (bug #15726 and others)
+Linux Installer: fixed path to the documentation in .rpm packages (5.1.0 
regression)
+Linux Installer: fixed the vboxdrv.sh script to prevent an SELinux 
complaint (bug #15816)
+Linux hosts: don't use 32-bit legacy capabilities
+Linux Additions: Linux 4.8 fix for the kernel display driver (bugs #15890 
and #15896)
+Linux Additions: don't load the kernel modules provided by the Linux 
distribution but load the kernel modules from the official Guest Additions 
package instead (bug #15324)
+Linux Additions: fix dynamic resizing problems in recent Linux guests (bug 
#15875)
+User Manual: fixed error in the VBoxManage chapter for the getextradata 
enumerate example (bug #15862) 
+
+---

Old:

  VirtualBox-5.1.4-patched.tar.bz2
  fix_removal_of_DEFINE_PCI_DEVICE_TABLE

New:

  VirtualBox-5.1.6-patched.tar.bz2



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.H0B8fE/_old  2016-09-20 13:18:55.0 +0200
+++ /var/tmp/diff_new_pack.H0B8fE/_new  2016-09-20 13:18:55.0 +0200
@@ -19,7 +19,7 @@
 %define _vbox_instdir  %{_libexecdir}/virtualbox
 %define _udevrulesdir %{_libexecdir}/udev/rules.d
 Name:   virtualbox
-Version:5.1.4
+Version:5.1.6
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0+
@@ -86,8 +86,6 @@
 Patch111:   vbox_prevent_wrong_SONAME.patch
 # Fix change in kernel API for ttm_bo_move_memcpy()
 Patch112:   modify_for_4_8_bo_move.patch
-# Fix source for removal of DEFINE_PCI_DEVICE_TABLE macro
-Patch113:   fix_removal_of_DEFINE_PCI_DEVICE_TABLE
 #
 BuildRequires:  LibVNCServer-devel
 BuildRequires:  SDL-devel
@@ -321,7 +319,6 @@
 %patch109 -p1
 %patch111 -p1
 %patch112 -p1
-%patch113 -p1
 
 #copy user manual
 cp %{SOURCE1} UserManual.pdf

++ UserManual.pdf ++
(binary differes)

++ VirtualBox-5.1.4-patched.tar.bz2 -> VirtualBox-5.1.6-patched.tar.bz2 
++

commit virtualbox for openSUSE:Factory

2016-09-16 Thread h_root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2016-09-16 10:59:12

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2016-09-05 
21:17:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2016-09-16 10:59:13.0 +0200
@@ -1,0 +2,5 @@
+Fri Sep  9 19:24:51 UTC 2016 - larry.fin...@lwfinger.net
+
+- Add file "fix_removal_of_DEFINE_PCI_DEVICE_TABLE" to compile on kernel 4.8.
+
+---

New:

  fix_removal_of_DEFINE_PCI_DEVICE_TABLE



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.00lTMh/_old  2016-09-16 10:59:16.0 +0200
+++ /var/tmp/diff_new_pack.00lTMh/_new  2016-09-16 10:59:16.0 +0200
@@ -86,6 +86,8 @@
 Patch111:   vbox_prevent_wrong_SONAME.patch
 # Fix change in kernel API for ttm_bo_move_memcpy()
 Patch112:   modify_for_4_8_bo_move.patch
+# Fix source for removal of DEFINE_PCI_DEVICE_TABLE macro
+Patch113:   fix_removal_of_DEFINE_PCI_DEVICE_TABLE
 #
 BuildRequires:  LibVNCServer-devel
 BuildRequires:  SDL-devel
@@ -319,6 +321,7 @@
 %patch109 -p1
 %patch111 -p1
 %patch112 -p1
+%patch113 -p1
 
 #copy user manual
 cp %{SOURCE1} UserManual.pdf


++ fix_removal_of_DEFINE_PCI_DEVICE_TABLE ++
Index: VirtualBox-5.1.4/src/VBox/Additions/linux/drm/vbox_drv.c
===
--- VirtualBox-5.1.4.orig/src/VBox/Additions/linux/drm/vbox_drv.c
+++ VirtualBox-5.1.4/src/VBox/Additions/linux/drm/vbox_drv.c
@@ -64,8 +64,7 @@ MODULE_PARM_DESC(modeset, "Disable/Enabl
 module_param_named(modeset, vbox_modeset, int, 0400);
 
 static struct drm_driver driver;
-
-static DEFINE_PCI_DEVICE_TABLE(pciidlist) =
+static const struct pci_device_id pciidlist[] =
 {
 {0x80ee, 0xbeef, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
 {0, 0, 0},




commit virtualbox for openSUSE:Factory

2016-09-05 Thread h_root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2016-09-05 21:17:09

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2016-08-31 
14:29:55.0 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2016-09-05 21:17:15.0 +0200
@@ -1,0 +2,13 @@
+Fri Sep  2 20:26:22 UTC 2016 - wba...@tmo.at
+
+- Re-added missing copy of Module.symvers from vboxguest build so
+  that loads of vboxvideo can resolve all symbols, this got lost
+  somehow (boo#983927, boo#993091)
+
+---
+Thu Sep  1 11:54:43 UTC 2016 - mma...@suse.cz
+
+- Update the host <-> guest KMP conflict dependencies to no longer
+  refer to the old name (boo#983927).
+
+---



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.uPmpkt/_old  2016-09-05 21:17:18.0 +0200
+++ /var/tmp/diff_new_pack.uPmpkt/_new  2016-09-05 21:17:18.0 +0200
@@ -416,6 +416,11 @@
cp $PWD/modules_build_dir/$flavor/vboxguest/Module.symvers \
  $PWD/modules_build_dir/$flavor/$module_name
fi
+   # copy vboxguest (for guest) module symbols which are used by vboxvideo 
km:
+   if [ "$module_name" = "vboxvideo" ]; then
+   cp $PWD/modules_build_dir/$flavor/vboxguest/Module.symvers \
+ $PWD/modules_build_dir/$flavor/$module_name
+   fi
# build the module for the specific flavor
%ifarch %ix86
make -j2 \



++ virtualbox-guest-preamble ++
--- /var/tmp/diff_new_pack.uPmpkt/_old  2016-09-05 21:17:18.0 +0200
+++ /var/tmp/diff_new_pack.uPmpkt/_new  2016-09-05 21:17:18.0 +0200
@@ -5,4 +5,4 @@
 Obsoletes: virtualbox-ose-guest-kmp-%1 < %version
 #host (vboxdrv) and guest (vboxguest) kmp exports the same symbol (RTMemFreeEx)
 #which break loading modules using modprobe (bnc#661740)
-Conflicts: virtualbox-ose-host-kmp
+Conflicts: virtualbox-host-kmp

++ virtualbox-host-preamble ++
--- /var/tmp/diff_new_pack.uPmpkt/_old  2016-09-05 21:17:18.0 +0200
+++ /var/tmp/diff_new_pack.uPmpkt/_new  2016-09-05 21:17:18.0 +0200
@@ -5,4 +5,4 @@
 Obsoletes: virtualbox-ose-host-kmp-%1 < %version
 #host (vboxdrv) and guest (vboxguest) kmp exports the same symbol (RTMemFreeEx)
 #which break loading modules using modprobe (bnc#661740)
-Conflicts: virtualbox-ose-guest-kmp
+Conflicts: virtualbox-guest-kmp




commit virtualbox for openSUSE:Factory

2016-08-31 Thread h_root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2016-08-31 14:29:52

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2016-06-13 
21:48:52.0 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2016-08-31 14:29:55.0 +0200
@@ -1,0 +2,200 @@
+Sun Aug 28 01:59:37 UTC 2016 - larry.fin...@lwfinger.net
+
+- Add "ExclusiveArch:  %ix86 x86_64" line back into the spec file.
+  Handle a false positive indication from kmemleak. This patch is added to 
"modify_for_4_8_bo_move.patch".
+
+---
+Thu Aug 18 20:24:23 UTC 2016 - larry.fin...@lwfinger.net
+
+- The API for ttm_bo_move_memcpy() is changed in kernel 4.8.
+  Add patch file "modify_for_4_8_bo_move.patch" to handle this case.
+
+---
+Thu Aug 18 18:29:35 UTC 2016 - larry.fin...@lwfinger.net
+
+-  Version bump to 5.1.4 (released 2016-08-16 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+GUI: show actual VM uptime in the session information window
+Audio: re-enabled speakers for Mac OS X guests (5.1.0 regression; bug 
#15611)
+Audio: fixed crashes under certain conditions
+USB: fixed a hang under certain conditions
+USB: fixed a hanging guest under certain conditions (bug #15747)
+PIIX4: implemented dummy SMBus controller to prevent annoying Linux kernel 
warnings about uninitialized SMBus base address (bug #9517)
+NVMe: several fixes to improve stability, fixed a crash while saving a VM 
state
+VMDK: Fixed an issue creating fixed size images with certain sizes and the 
Split2G option enabled (bug #15748)
+VHDX: fixed cloning images with VBoxManage clonehd (bug #14288)
+Storage: Fixed broken bandwidth limitation when the limit is very low (bug 
#14982)
+EFI: fixed sending debug messages in the EFI firmware if a serial port is 
enabled (bug #12161)
+OVF: when importing appliances, make sure that the version of the embedded 
VirtualBox-specific settings is processed, to get the default settings handling 
right
+VBoxManage: Don't try to set the medium type if there is no change (bug 
#13850)
+Linux installer: fixed some scripting issues (bugs #15701 and #15702)
+Linux installer: fixed a path issue on certain Linux distributions (bug 
#15717)
+Windows hosts: fixed corrupted mouse pointers with some Linux and Solaris 
guests (bug #15665)
+Linux Additions: made the video driver work on 32-bit guests with large 
video memory sizes (bug #15621)
+Linux Additions: made the video driver work on kernel 4.7 and later (bug 
#15769)
+Linux Additions: converted a failure message to an informational one when 
drivers could not be stopped during upgrade (bug #15692)
+Linux Additions: made the video driver work around an X server bug which 
cause screen refresh to stop (bug #15511)
+Windows Additions: auto-resizing fixes for Windows 10 guests (bug #15257)
+Windows Additions: fixed VBoxTray problems with Windows 2000 (bug #15661) 
+
+- Other local changes:
+
+  "changeset_60565.diff" is removed - fixed in upstream.
+  "vbox-kernel47-cpu_has_pge.diff" -s removed - also fixed in upstream.
+
+---
+Thu Aug 11 19:38:37 UTC 2016 - h...@urpla.net
+
+- adjust file attributes on SUID helpers to avoid chkstat issues
+
+---
+Thu Aug 11 11:48:53 UTC 2016 - h...@urpla.net
+
+- remove obsolete libgsoap-devel (again)
+- remove /usr/lib/udev/rules.d/60-vboxdrv.rules
+  - it is overruled from vboxdrv init script anyway
+  - vboxdrv generates a /etc/udev/rules.d/60-vboxdrv.rules file
+on _every_ start, note that fact in /etc/default/virtualbox
+and describe a strategy to control this behaviour
+- relocate VBoxCreateUSBNode.sh to /usr/lib/virtualbox
+  this is, where vboxdrv, resp. the generated 60-vboxdrv.rules
+  file is expecting it
+
+---
+Mon Aug  8 17:13:27 UTC 2016 - larry.fin...@lwfinger.net
+
+-  Remove request for patch that is no longer used.
+
+---
+Mon Aug  8 17:04:19 UTC 2016 - larry.fin...@lwfinger.net
+
+- Patch11 is file "vbox-kernel47-cpu_has_pge.diff".
+
+---
+Mon Aug  8 11:57:18 UTC 2016 - br...@ioda-net.ch
+
+- Add upstream patch fix cpu_has_pge removed macro in kernel 4.7
+  Patch11
+- Add 

commit virtualbox for openSUSE:Factory

2016-06-13 Thread h_root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2016-06-13 21:48:51

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2016-05-24 
09:34:27.0 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2016-06-13 21:48:52.0 +0200
@@ -1,0 +2,5 @@
+Tue Jun  7 19:03:36 UTC 2016 - larry.fin...@lwfinger.net
+
+- Add file "vbox-4.7.patch" to all builds on Kernel_HEAD_standard/x86_64 now 
that 4.7-rcX is released.
+
+---

New:

  vbox-4.7.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.B8dmkp/_old  2016-06-13 21:48:56.0 +0200
+++ /var/tmp/diff_new_pack.B8dmkp/_new  2016-06-13 21:48:56.0 +0200
@@ -90,6 +90,8 @@
 # Patch to make xf86-video-fbdev work on vboxvideodrm
 Patch114:   drm-vboxvideo-Initialize-data-needed-to-map-fbdev-memory.patch
 Patch113:   drm-vboxvideo-Add-delayed-update-to-support-fbdev.patch
+# Patch to allow 5.0.18 to build on kernel 4.7
+Patch115:   vbox-4.7.patch
 #
 BuildRequires:  LibVNCServer-devel
 BuildRequires:  SDL-devel
@@ -323,6 +325,7 @@
 %patch112 -p1
 %patch113 -p1
 %patch114 -p1
+%patch115 -p1
 #copy user manual
 cp %{SOURCE1} UserManual.pdf
 #copy kbuild config


++ vbox-4.7.patch ++
Index: 
VirtualBox-5.0.18/src/VBox/HostDrivers/VBoxNetAdp/linux/VBoxNetAdp-linux.c
===
--- 
VirtualBox-5.0.18.orig/src/VBox/HostDrivers/VBoxNetAdp/linux/VBoxNetAdp-linux.c
+++ VirtualBox-5.0.18/src/VBox/HostDrivers/VBoxNetAdp/linux/VBoxNetAdp-linux.c
@@ -152,7 +152,11 @@ static int vboxNetAdpLinuxXmit(struct sk
 pPriv->Stats.tx_packets++;
 pPriv->Stats.tx_bytes += pSkb->len;
 /* Update transmission time stamp. */
+# if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0)
+netif_trans_update(pNetDev);
+# else
 pNetDev->trans_start = jiffies;
+# endif
 /* Nothing else to do, just free the sk_buff. */
 dev_kfree_skb(pSkb);
 return 0;
Index: VirtualBox-5.0.18/src/VBox/Additions/linux/drm/vbox_drv.h
===
--- VirtualBox-5.0.18.orig/src/VBox/Additions/linux/drm/vbox_drv.h
+++ VirtualBox-5.0.18/src/VBox/Additions/linux/drm/vbox_drv.h
@@ -285,7 +285,11 @@ static inline int vbox_bo_reserve(struct
 {
 int ret;
 
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0)
+ret = ttm_bo_reserve(>bo, true, no_wait, NULL);
+#else
 ret = ttm_bo_reserve(>bo, true, no_wait, false, 0);
+#endif
 if (ret)
 {
 if (ret != -ERESTARTSYS && ret != -EBUSY)
Index: VirtualBox-5.0.18/src/VBox/Additions/linux/drm/vbox_main.c
===
--- VirtualBox-5.0.18.orig/src/VBox/Additions/linux/drm/vbox_main.c
+++ VirtualBox-5.0.18/src/VBox/Additions/linux/drm/vbox_main.c
@@ -203,7 +203,11 @@ vbox_user_framebuffer_create(struct drm_
 int ret;
 
 LogFunc(("vboxvideo: %d\n", __LINE__));
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0)
+obj = drm_gem_object_lookup(filp, mode_cmd->handles[0]);
+#else
 obj = drm_gem_object_lookup(dev, filp, mode_cmd->handles[0]);
+#endif
 if (obj == NULL)
 return ERR_PTR(-ENOENT);
 
@@ -546,7 +550,11 @@ vbox_dumb_mmap_offset(struct drm_file *f
 LogFunc(("vboxvideo: %d: dev=%p, handle=%u\n", __LINE__,
  dev, (unsigned)handle));
 mutex_lock(>struct_mutex);
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0)
+obj = drm_gem_object_lookup(file, handle);
+#else
 obj = drm_gem_object_lookup(dev, file, handle);
+#endif
 if (obj == NULL) {
 ret = -ENOENT;
 goto out_unlock;
Index: VirtualBox-5.0.18/src/VBox/Additions/linux/drm/vbox_mode.c
===
--- VirtualBox-5.0.18.orig/src/VBox/Additions/linux/drm/vbox_mode.c
+++ VirtualBox-5.0.18/src/VBox/Additions/linux/drm/vbox_mode.c
@@ -714,7 +714,11 @@ static int vbox_cursor_set2(struct drm_c
 || !(caps & VMMDEV_MOUSE_HOST_WANTS_ABSOLUTE))
 return -EINVAL;
 
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0)
+obj = drm_gem_object_lookup(file_priv, handle);
+#else
 obj = drm_gem_object_lookup(crtc->dev, file_priv, handle);
+#endif
 if (obj)
 {
 bo = gem_to_vbox_bo(obj);




commit virtualbox for openSUSE:Factory

2016-05-24 Thread h_root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2016-05-24 09:34:26

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2016-05-03 
09:34:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2016-05-24 09:34:27.0 +0200
@@ -1,0 +2,10 @@
+Wed May 18 14:09:11 UTC 2016 - h...@urpla.net
+
+- remove libgsoap-devel from build deps, it conflicts with gsoap-devel
+
+---
+Sun May  8 18:19:23 UTC 2016 - larry.fin...@lwfinger.net
+
+- Fix start failure of vboxadd service routine (boo #977328). With this 
change, automounting of shared folders works again.
+
+---



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.Ycu981/_old  2016-05-24 09:34:29.0 +0200
+++ /var/tmp/diff_new_pack.Ycu981/_new  2016-05-24 09:34:29.0 +0200
@@ -111,7 +111,6 @@
 BuildRequires:  kernel-syms
 BuildRequires:  libcap-devel
 BuildRequires:  libcurl-devel
-#BuildRequires:  libgsoap-devel
 BuildRequires:  libidl-devel
 BuildRequires:  libopenssl-devel
 BuildRequires:  libqt4-devel
@@ -303,7 +302,7 @@
 %prep
 %setup -q -n VirtualBox-%{version}
 %patch1
-%patch2
+%patch2 -p1
 %patch3 -p1
 %patch4 -p1
 %patch6 -p1
@@ -386,7 +385,7 @@
 #
 # build kernel modules for guest and host (check novel-kmp package as example)
 # host  modules : vboxdrv,vboxnetflt,vboxnetadp
-# guest modules : vboxguest,vboxsf,vboxvideo
+# guest modules : vboxguest,vboxsf,vboxvideo, vboxpci
 echo "build kernel modules"
 for vbox_module in out/linux.*/release/bin/src/vbox{drv,netflt,netadp,pci} \
out/linux.*/release/bin/additions/src/vbox{guest,sf,video}; do
@@ -471,6 +470,8 @@
 install -m 755 out/linux.*/release/bin/additions/mount.vboxsf 
%{buildroot}/sbin/mount.vboxsf
 install -m 744 src/VBox/Additions/linux/installer/vboxadd.sh 
%{buildroot}%{_sysconfdir}/init.d/vboxadd
 install -m 744 src/VBox/Additions/linux/installer/vboxadd-service.sh 
%{buildroot}%{_sysconfdir}/init.d/vboxadd-service
+install -D -m 744 src/VBox/Additions/linux/installer/vboxadd.sh 
%{buildroot}/opt/VBoxGuestAdditions-%{version}/init/vboxadd
+install -D -m 744 src/VBox/Additions/linux/installer/vboxadd-service.sh 
%{buildroot}/opt/VBoxGuestAdditions-%{version}/init/vboxadd-service
 ln -s %{_sysconfdir}/init.d/vboxadd %{buildroot}%{_sbindir}/rcvboxadd
 ln -s %{_sysconfdir}/init.d/vboxadd-service 
%{buildroot}%{_sbindir}/rcvboxadd-service
 # udev rule for guest (virtualbox-guest-tools)
@@ -819,6 +820,10 @@
 %config %{_sysconfdir}/init.d/vboxadd-service
 %{_sbindir}/rcvboxadd
 %{_sbindir}/rcvboxadd-service
+%dir /opt/VBoxGuestAdditions-%{version}
+%dir /opt/VBoxGuestAdditions-%{version}/init
+/opt/VBoxGuestAdditions-%{version}/init/vboxadd
+/opt/VBoxGuestAdditions-%{version}/init/vboxadd-service
 %if 0%{?suse_version} > 1310
 %dir /media
 %endif


++ vbox-vboxadd-init-script.diff ++
--- /var/tmp/diff_new_pack.Ycu981/_old  2016-05-24 09:34:29.0 +0200
+++ /var/tmp/diff_new_pack.Ycu981/_new  2016-05-24 09:34:29.0 +0200
@@ -1,5 +1,7 @@
 src/VBox/Additions/linux/installer/vboxadd.sh.orig 2015-12-18 
17:17:03.0 +0100
-+++ src/VBox/Additions/linux/installer/vboxadd.sh  2016-01-14 
15:45:13.793994484 +0100
+Index: VirtualBox-5.0.18/src/VBox/Additions/linux/installer/vboxadd.sh
+===
+--- VirtualBox-5.0.18.orig/src/VBox/Additions/linux/installer/vboxadd.sh
 VirtualBox-5.0.18/src/VBox/Additions/linux/installer/vboxadd.sh
 @@ -23,9 +23,12 @@
  # Provides:   vboxadd
  # Required-Start:
@@ -14,7 +16,15 @@
  ### END INIT INFO
  
  PATH=$PATH:/bin:/sbin:/usr/sbin
-@@ -224,12 +227,6 @@
+@@ -148,7 +151,6 @@ fail()
+ 
+ dev=/dev/vboxguest
+ userdev=/dev/vboxuser
+-config=/var/lib/VBoxGuestAdditions/config
+ owner=vboxadd
+ group=1
+ 
+@@ -226,12 +228,6 @@ do_vboxguest_non_udev()
  fail "Cannot create device $dev with major $maj and minor $min"
  }
  fi
@@ -27,7 +37,7 @@
  
  if [ ! -c $userdev ]; then
  maj=10
-@@ -240,12 +237,6 @@
+@@ -242,12 +238,6 @@ do_vboxguest_non_udev()
  rmmod vboxguest 2>/dev/null
  fail "Cannot create device $userdev with major $maj and minor 
$min"
  }
@@ -40,21 +50,39 @@
  fi
  fi
  }
-@@ -260,6 +251,13 @@
- fi
- test -n "$INSTALL_DIR" -a -n "$INSTALL_VER" ||
-   fail "Configuration file $config not 

commit virtualbox for openSUSE:Factory

2016-05-03 Thread h_root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2016-05-03 09:34:07

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2016-04-06 
11:51:19.0 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2016-05-03 09:34:10.0 +0200
@@ -1,0 +2,63 @@
+Tue Apr 26 11:23:41 UTC 2016 - e...@suse.com
+
+- drm-vboxvideo-Initialize-data-needed-to-map-fbdev-memory.patch:
+  * Add missing initialization of scanout buffer base and size for
+proper fbdev support.
+- drm-vboxvideo-Add-delayed-update-to-support-fbdev.patch:
+  * Add support for delayed_io in fbdev-layer. 
+  (boo#977200).
+
+---
+Fri Apr 22 19:38:06 UTC 2016 - larry.fin...@lwfinger.net
+
+-   This submission fixes the bug in VB 5.0.18 that prevents proper operation
+for guest VMs configured to use a LsiLogic adapter for disks. See ticket:
+https://www.virtualbox.org/ticket/15317 for a description of the problem,
+and changeset: https://www.virtualbox.org/changeset/60565/vbox for the fix,
+which is implemented in file "changeset_60565.diff".
+ 
+This update contains a fix for CVE-2016-0678. Bug report b.o.o #97366
+discusses this vulnerability.
+
+---
+Wed Apr 20 05:02:21 UTC 2016 - larry.fin...@lwfinger.net
+
+-   Version bump to 5.0.18 (released 2016-04-18 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+GUI: position off-screen windows to be fully visible again on relaunch in 
consistence with default-behavior (bug #15226)
+GUI: fixed the View menu / Full-screen Mode behavior on Mac OS X El Capitan
+GUI: fixed a test which allowed to encrypt a hard disk with an empty 
password
+GUI: fixed a crash under certain conditions during VM shutdown
+GUI: fixed the size of the VM list scrollbar in the VM selector when 
entering a group
+PC speaker passthrough: fixes (Linux hosts only; bug #627)
+Drag and drop: several fixes
+SATA: fixed hotplug flag handling when EFI is used
+Storage: fixed handling of encrypted disk images with SCSI controllers 
(bug #14812)
+Storage: fixed possible crash with Solaris 7 if the BusLogic SCSI 
controller is used
+USB: properly purge non-ASCII characters from USB strings (bugs #8801, 
#15222)
+NAT Network: fixed 100% CPU load in VBoxNetNAT on Mac OS X under certain 
circumstances (bug #15223)
+ACPI: fixed ACPI tables to make the display color management settings 
available again for older Windows versions (4.3.22 regression)
+Guest Control: fixed VBoxManage copyfrom command (bug #14336)
+Snapshots: fixed several problems when removing older snapshots (bug 
#15206)
+VBoxManage: fixed --verbose output of the guestcontrol command
+Windows hosts: hardening fixes required for recent Windows 10 insider 
builds (bugs #15245, #15296)
+Windows hosts: fixed support of jumbo frames in with bridged networking 
(5.0.16 regression; bug #15209)
+Windows hosts: don't prevent receiving multicast traffic if host-only 
adapters are installed (bug #8698)
+Linux hosts: added support for the new naming scheme of NVME disks when 
creating raw disks
+Solaris hosts / guests: properly sign the kernel modules (bug #12608)
+Linux hosts / guests: Linux 4.5 fixes (bug #15251)
+Linux hosts / guests: Linux 4.6 fixes (bug #15298)
+Linux Additions: added a kernel graphics driver to support graphics when 
X.Org does not have root rights (bug #14732)
+Linux/Solaris Additions: fixed several issues causing Linux/Solatis guests 
using software rendering when 3D acceleration is available
+Windows Additions: fixed a hang with PowerPoint 2010 and the WDDM drivers 
if Aero is disabled  
+- Drop VirtualBox-5.0.17-r106108-r106140.patch, fixed upstream.
+
+---
+Fri Apr 15 19:17:58 UTC 2016 - larry.fin...@lwfinger.net
+
+-  Fix build error caused by removal of macro page_cache_release() from kernel.
+   File "vbox-replace-page-cache-release.diff" is used to modify code to use 
put_page() instead.
+
+---

Old:

  VirtualBox-5.0.17-patched.tar.bz2
  VirtualBox-5.0.17-r106108-r106140.patch

New:

  VirtualBox-5.0.18-patched.tar.bz2
  changeset_60565.diff
  drm-vboxvideo-Add-delayed-update-to-support-fbdev.patch
  drm-vboxvideo-Initialize-data-needed-to-map-fbdev-memory.patch


commit virtualbox for openSUSE:Factory

2016-04-06 Thread h_root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2016-04-06 11:51:14

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2016-03-16 
10:42:55.0 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2016-04-06 11:51:19.0 +0200
@@ -1,0 +2,39 @@
+Mon Apr  4 00:01:12 UTC 2016 - larry.fin...@lwfinger.net
+
+-  Fix problem with SONAME for VBoxOGL.so. With the Oracle code, it is 
libGL.so.1 rather than VBoxOGL.so.1.
+   Thanks to Max Lin  for notifying me about the problem.
+   This fix adds file "vbox_prevent_wrong_SONAME.patch"
+
+---
+Thu Mar 31 16:49:11 UTC 2016 - larry.fin...@lwfinger.net
+
+-  Fix problems with previous submission
+
+   Removed copy of user manual from download site as there is no special 
manual for 5.0.17.
+   File VirtualBox-5.0.17-r106108-r106140.patch is added to update the Oracle 
source to the latest commit.
+
+---
+Wed Mar 30 21:06:08 UTC 2016 - larry.fin...@lwfinger.net
+
+-  Modify Guest Additions so that openSUSE build works with new Oracle code. 
The following changes have been made:
+
+   Added Oracle patch to bring code to r106140 commit.
+   Moved VB guest modules to /lib/modules/.../misc/. This layout matches that 
of the Oracle Guest Additions ISO.
+   Added missing copy of Module.symvers from vboxguest build so that loads of 
vboxvideo can resolve all symbols.
+   Remove patch added in previous cycle to build under kernel 4.5.0. The 
Oracle code now has this fix.
+
+   With these changes, both Gnome and KDE desktops as VB virtual machines work 
with gdm and the versions of X.Org that do not run as root.
+   The only known defect is that the mouse pointer is missing when 3D 
acceleration is turned on in the VB control panel.
+
+---
+Mon Mar  7 22:20:56 UTC 2016 - larry.fin...@lwfinger.net
+
+-  Version bump to 5.0.17 (released 2016-03-07 by Oracle)
+
+Following the 5.0.16 release, the Guest Additions were updated to support 
Linux guests
+with X.Org Server running without root privileges and to fix certain 3D 
acceleration-related issues.
+There are no other changes to VirtualBox.
+
+A patch "vbox-guest-add.diff" is needed to enable the Oracle code to build 
with kernel 4.5.
+
+---

Old:

  VirtualBox-5.0.16-patched.tar.bz2

New:

  VirtualBox-5.0.17-patched.tar.bz2
  VirtualBox-5.0.17-r106108-r106140.patch
  vbox_prevent_wrong_SONAME.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.mzgEaP/_old  2016-04-06 11:51:21.0 +0200
+++ /var/tmp/diff_new_pack.mzgEaP/_new  2016-04-06 11:51:21.0 +0200
@@ -19,7 +19,7 @@
 %define _vbox_instdir  %{_libexecdir}/virtualbox
 %define _udevrulesdir %{_libexecdir}/udev/rules.d
 Name:   virtualbox
-Version:5.0.16
+Version:5.0.17
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0+
@@ -31,7 +31,7 @@
 # WARNING: This is not a comment, but the real command to repack souce
 #%(bash %{_sourcedir}/virtualbox-patch-source.sh VirtualBox-%{version}.tar.bz2)
 Source0:VirtualBox-%{version}-patched.tar.bz2
-Source1:
http://download.virtualbox.org/%{name}/%{version}/UserManual.pdf
+Source1:UserManual.pdf
 Source2:%{name}-60-vboxdrv.rules
 Source3:%{name}-60-vboxguest.rules
 Source4:%{name}-default.virtualbox
@@ -83,6 +83,10 @@
 Patch108:   virtualbox-snpritnf-buffer-overflow.patch
 # Patch to add code to explain USB Passthru
 Patch109:   vbox-usb-warning.diff
+# Upgrade sources from r106108 to r106140
+Patch110:   VirtualBox-5.0.17-r106108-r106140.patch
+# Prevent Guest Additions from creating wrong SONAME
+Patch111:   vbox_prevent_wrong_SONAME.patch
 #
 BuildRequires:  LibVNCServer-devel
 BuildRequires:  SDL-devel
@@ -104,7 +108,7 @@
 BuildRequires:  kernel-syms
 BuildRequires:  libcap-devel
 BuildRequires:  libcurl-devel
-BuildRequires:  libgsoap-devel
+#BuildRequires:  libgsoap-devel
 BuildRequires:  libidl-devel
 BuildRequires:  libopenssl-devel
 BuildRequires:  libqt4-devel
@@ -313,6 +317,8 @@
 %patch107 -p1
 %patch108 -p1
 %patch109 -p1
+%patch110 -p0
+%patch111 -p1
 #copy user manual
 cp %{SOURCE1} UserManual.pdf
 #copy kbuild config
@@ -405,6 +411,11 @@
cp 

commit virtualbox for openSUSE:Factory

2016-03-16 Thread h_root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2016-03-16 10:42:51

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2016-01-21 
23:41:39.0 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2016-03-16 10:42:55.0 +0100
@@ -1,0 +2,27 @@
+Sat Mar  5 18:19:56 UTC 2016 - larry.fin...@lwfinger.net
+
+-  Version bump to 5.0.16 (released 2016-03-04 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added for 
Linux hosts:
+
+VMM: fixed a problem which could lead to a wrong guest behavior on AMD 
CPUs (tickets #14831 and #15186)
+GUI: prevent a crash during startup under rare conditions
+GUI: position off-screen windows to be fully visible again on relaunch
+GUI: hide the VT-x/AMD-V checkbox if raw-mode is not supported (usually 
Mac OS X hosts; bug #15178)
+PC speaker passthrough: new experimental feature, available on Linux host 
only
+Audio: properly handle default audio device changes (Windows hosts)
+USB: serveral fixes for the xHCI controller (e.g. for webcam passthrough)
+BIOS: fixed int15/AH=83/AL=00 function (4.2.0 regression)
+iPXE: enable the HTTP download protocol on non-Linux hosts (bug #13628)
+Shared folders: fixed a failure to load the saved state under certain 
circumstances (bug #6314)
+Guest Control: added support for (cached) Active Directory authentication 
in case the domain controller is not reachable (anymore)
+Serial ports: raised the number of serial ports per VM from 2 to 4 (bug 
#9109)
+SDK: make the Python webservice API binding work again (5.0 regression)
+Seamless mode: fixed a crash under certain circumstances (bug #15106)
+Linux hosts: fixed the /sbin/rcvboxdrv script as well as the missing 
shebang in two scripts (bugs #15055 and #15057)
+Linux hosts: properly uninstall Python files installed by the .run 
installer
+Windows Additions: fixed guest property enumeration of logged-in users
+Windows Additions: fixed sporadical failure of the graphics driver in 
Windows 10 guests (bug #14409)
+Windows Additions: under rare circumstances no mouse movement events were 
delivered to the guest 
+
+---

Old:

  VirtualBox-5.0.14-patched.tar.bz2

New:

  VirtualBox-5.0.16-patched.tar.bz2



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.c4W9BJ/_old  2016-03-16 10:42:58.0 +0100
+++ /var/tmp/diff_new_pack.c4W9BJ/_new  2016-03-16 10:42:58.0 +0100
@@ -19,7 +19,7 @@
 %define _vbox_instdir  %{_libexecdir}/virtualbox
 %define _udevrulesdir %{_libexecdir}/udev/rules.d
 Name:   virtualbox
-Version:5.0.14
+Version:5.0.16
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0+

++ UserManual.pdf ++
(binary differes)

++ VirtualBox-5.0.14-patched.tar.bz2 -> VirtualBox-5.0.16-patched.tar.bz2 
++
/work/SRC/openSUSE:Factory/virtualbox/VirtualBox-5.0.14-patched.tar.bz2 
/work/SRC/openSUSE:Factory/.virtualbox.new/VirtualBox-5.0.16-patched.tar.bz2 
differ: char 11, line 1






commit virtualbox for openSUSE:Factory

2016-01-21 Thread h_root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2016-01-21 23:41:34

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2016-01-04 
09:20:50.0 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2016-01-21 23:41:39.0 +0100
@@ -1,0 +2,27 @@
+Tue Jan 19 20:38:27 UTC 2016 - larry.fin...@lwfinger.net
+
+-  Version bump to 5.0.14 (released 2016-01-19i by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+GUI: properly limit the number of VCPUs to the number of physical cores on 
Mac OS X (bug #15018)
+Audio: fixed a bug which prevented loading a saved state of a saved guests 
with HDA emulation (5.0.12 regression; bug #14981)
+Audio: don't crash if the backend is unable to initialize (bug #14960)
+Audio: fixed audio capture on Mac OS X (bug #14386)
+Storage: fixed a possible crash when attaching the same ISO image multiple 
times to the same VM (bug #14951)
+BIOS: properly report if two floppy drives are attached
+USB: fixed a problem with filters which would not capture the device under 
certain circumstances (5.0.10 regression; bug #15042)
+ExtPack: black-list Extension Packs older than 4.3.30 due to incompatible 
changes not being properly handled in the past
+Windows hosts: fixed a regression which caused robocopy to fail (bug 
#14958)
+Linux hosts: properly create the /sbin/rcvboxdrv symbolic link (5.0.12 
regression; bug #14989)
+Mac OS X hosts: several fixes for USB on El Capitan (bug #14677)
+Linux Additions: fixes for Linux 4.5 (bug #15032) 
+
+
+
+---
+Thu Jan 14 14:47:01 UTC 2016 - bwiedem...@suse.com
+
+- vboxadd script no more fails on remote_fs failure (bnc#908383)
+
+---

Old:

  VirtualBox-5.0.12-patched.tar.bz2

New:

  VirtualBox-5.0.14-patched.tar.bz2



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.QH35sZ/_old  2016-01-21 23:41:43.0 +0100
+++ /var/tmp/diff_new_pack.QH35sZ/_new  2016-01-21 23:41:43.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package virtualbox
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %define _vbox_instdir  %{_libexecdir}/virtualbox
 %define _udevrulesdir %{_libexecdir}/udev/rules.d
 Name:   virtualbox
-Version:5.0.12
+Version:5.0.14
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0+

++ UserManual.pdf ++
(binary differes)

++ VirtualBox-5.0.12-patched.tar.bz2 -> VirtualBox-5.0.14-patched.tar.bz2 
++
/work/SRC/openSUSE:Factory/virtualbox/VirtualBox-5.0.12-patched.tar.bz2 
/work/SRC/openSUSE:Factory/.virtualbox.new/VirtualBox-5.0.14-patched.tar.bz2 
differ: char 11, line 1


++ vbox-vboxadd-init-script.diff ++
--- /var/tmp/diff_new_pack.QH35sZ/_old  2016-01-21 23:41:43.0 +0100
+++ /var/tmp/diff_new_pack.QH35sZ/_new  2016-01-21 23:41:43.0 +0100
@@ -1,16 +1,12 @@
-Index: src/VBox/Additions/linux/installer/vboxadd.sh
-===
 src/VBox/Additions/linux/installer/vboxadd.sh.orig
-+++ src/VBox/Additions/linux/installer/vboxadd.sh
-@@ -21,11 +21,12 @@
- #
- ### BEGIN INIT INFO
+--- src/VBox/Additions/linux/installer/vboxadd.sh.orig 2015-12-18 
17:17:03.0 +0100
 src/VBox/Additions/linux/installer/vboxadd.sh  2016-01-14 
15:45:13.793994484 +0100
+@@ -23,9 +23,12 @@
  # Provides:   vboxadd
--# Required-Start:
--# Required-Stop:
+ # Required-Start:
+ # Required-Stop:
 -# Default-Start:  2 3 4 5
-+# Required-Start: $remote_fs
-+# Required-Stop:  $remote_fs
++# Should-Start:   $remote_fs
++# Should-Stop:$remote_fs
 +# Default-Start:  2 3 5
  # Default-Stop:   0 1 6
  # Description:VirtualBox Linux Additions kernel modules
@@ -18,7 +14,7 @@
  ### END INIT INFO
  
  PATH=$PATH:/bin:/sbin:/usr/sbin
-@@ -224,12 +225,6 @@ do_vboxguest_non_udev()
+@@ -224,12 +227,6 @@
  fail "Cannot create device $dev with major $maj and minor $min"
  }
  fi
@@ -31,7 +27,7 @@
  
  if [ ! -c $userdev ]; then
  maj=10
-@@ -240,12 +235,6 @@ do_vboxguest_non_udev()
+@@ -240,12 

commit virtualbox for openSUSE:Factory

2016-01-04 Thread h_root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2016-01-04 09:20:26

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2015-12-23 
09:56:32.0 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2016-01-04 09:20:50.0 +0100
@@ -1,0 +2,34 @@
+Sat Dec 26 19:58:13 UTC 2015 - larry.fin...@lwfinger.net
+
+- Version bump to 5.0.12 (released 2015-12-18i by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+GUI: fixed wrong scrolling behaviour in the VM selector window when a VM 
item is dragged out of the chooser-pane area
+GUI: fixed the validation of IPv6 port-forwarding rules
+GUI: suppress the first-run wizard if a CD/DVD medium is inserted using 
the selector UI
+GUI: fixed the Ctrl+Break key sequence scan codes (bug #14927)
+GUI: improved handling of text selection mouse pointer (bug #750)
+Host services: fixed a crash during VM shutdown under rare conditions 
(5.0.6 regression; bug #14841)
+Shared folders: fixed a sharing violation if a file is opened to check the 
attributes (Windows hosts only; bug #14450)
+Webcam: passthrough fix for certain devices (Mac OS X hosts only)
+XHCI: fixed broken emulation if software virtualization is used
+XHCI: several fixes
+3D: fixed state handling under certain conditions (bug #13487)
+Audio: several fixes
+BIOS: added LBA64 support for being able to boot from huge hard disks (bug 
#7415)
+EFI: fix for Windows 10 guests
+ExtPack: before installing an Extension Pack check if there are VMs 
running to prevent file system locking issues
+rdesktop-vrdp: source code tarball fixes
+Linux hosts: .desktop file compatibility issue (bug #14808)
+Linux hosts / guests: fixes for RHEL 7.2 (bug #14866)
+The command for recompiling the host kernel modules was changed again, to 
/sbin/rcvboxdrv setup (bug #14723)
+Linux hosts: some fixes for PCI passthrough (still highly experimental)
+Linux/Mac OS X hosts: fixed a VM hang during startup under certain 
circumstances (bug #14933)
+Linux Additions: prevent the compiler from doing dead-code elemination on 
vital code in guest / host communication (bug #14497)
+Linux Additions: when mounting a shared folder, explicitly pass the share 
name so that /proc/mounts contains this name instead of 'none'
+Linux Additions: workaround for a systemd problem in conjunction with 
SELinux which prevented to properly enable the 'vboxadd' service during while 
upgrading the Additions 
+
+ 
+
+---

Old:

  VirtualBox-5.0.10-patched.tar.bz2

New:

  VirtualBox-5.0.12-patched.tar.bz2



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.kSqLLc/_old  2016-01-04 09:20:53.0 +0100
+++ /var/tmp/diff_new_pack.kSqLLc/_new  2016-01-04 09:20:53.0 +0100
@@ -19,7 +19,7 @@
 %define _vbox_instdir  %{_libexecdir}/virtualbox
 %define _udevrulesdir %{_libexecdir}/udev/rules.d
 Name:   virtualbox
-Version:5.0.10
+Version:5.0.12
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0+

++ UserManual.pdf ++
(binary differes)

++ VirtualBox-5.0.10-patched.tar.bz2 -> VirtualBox-5.0.12-patched.tar.bz2 
++
/work/SRC/openSUSE:Factory/virtualbox/VirtualBox-5.0.10-patched.tar.bz2 
/work/SRC/openSUSE:Factory/.virtualbox.new/VirtualBox-5.0.12-patched.tar.bz2 
differ: char 11, line 1


++ vbox-vboxadd-init-script.diff ++
--- /var/tmp/diff_new_pack.kSqLLc/_old  2016-01-04 09:20:53.0 +0100
+++ /var/tmp/diff_new_pack.kSqLLc/_new  2016-01-04 09:20:53.0 +0100
@@ -18,7 +18,7 @@
  ### END INIT INFO
  
  PATH=$PATH:/bin:/sbin:/usr/sbin
-@@ -257,12 +258,6 @@ do_vboxguest_non_udev()
+@@ -224,12 +225,6 @@ do_vboxguest_non_udev()
  fail "Cannot create device $dev with major $maj and minor $min"
  }
  fi
@@ -31,7 +31,7 @@
  
  if [ ! -c $userdev ]; then
  maj=10
-@@ -273,12 +268,6 @@ do_vboxguest_non_udev()
+@@ -240,12 +235,6 @@ do_vboxguest_non_udev()
  rmmod vboxguest 2>/dev/null
  fail "Cannot create device $userdev with major $maj and minor 
$min"
  }
@@ -44,10 +44,10 @@
  fi
  fi
  }
-@@ -286,6 +275,13 @@ do_vboxguest_non_udev()
- start()
- {
- begin "Starting the VirtualBox Guest Additions ";
+@@ -260,6 +249,13 @@ start()
+ fi
+ test -n "$INSTALL_DIR" -a 

commit virtualbox for openSUSE:Factory

2015-12-23 Thread h_root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2015-12-23 09:56:31

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2015-12-01 
10:02:03.0 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2015-12-23 09:56:32.0 +0100
@@ -1,0 +2,7 @@
+Sun Dec 20 06:46:49 UTC 2015 - mailaen...@opensuse.org
+
+- fix permission Error In SUPR3HardenedMain
+  Effective UID is not root (euid=1000 egid=100 uid=1000 gid=100) (rc=-10)
+  see https://forums.virtualbox.org/viewtopic.php?t=11154
+
+---



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.k2DW4w/_old  2015-12-23 09:56:36.0 +0100
+++ /var/tmp/diff_new_pack.k2DW4w/_new  2015-12-23 09:56:36.0 +0100
@@ -763,15 +763,15 @@
 %{_sbindir}/rcvboxes
 %{_sbindir}/rcvboxdrv
 %{_udevrulesdir}/../VBoxCreateUSBNode.sh
-%verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VBoxNetDHCP
-%verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VBoxNetAdpCtl
-%verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VBoxHeadless
-%verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VBoxSDL
+%verify(not mode) %attr(4711,root,vboxusers) %{_vbox_instdir}/VBoxNetDHCP
+%verify(not mode) %attr(4711,root,vboxusers) %{_vbox_instdir}/VBoxNetAdpCtl
+%verify(not mode) %attr(4711,root,vboxusers) %{_vbox_instdir}/VBoxHeadless
+%verify(not mode) %attr(4711,root,vboxusers) %{_vbox_instdir}/VBoxSDL
 
 %files qt
 %defattr(-, root, root)
 %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxPermissionMessage
-%verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VirtualBox
+%verify(not mode) %attr(4711,root,vboxusers) %{_vbox_instdir}/VirtualBox
 #wrapper script is in bindir
 %attr(0755,root,root) %{_bindir}/VirtualBox
 #ldd shows libQt* dependency






commit virtualbox for openSUSE:Factory

2015-12-01 Thread h_root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2015-12-01 10:01:57

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2015-10-30 
13:41:18.0 +0100
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2015-12-01 10:02:03.0 +0100
@@ -0,0 +1,66 @@
+---
+Sat Nov 21 17:54:57 UTC 2015 - larry.fin...@lwfinger.net
+
+- Remove file vbox_build_kms_modules.diff.
+
+---
+Fri Nov 20 19:05:51 UTC 2015 - larry.fin...@lwfinger.net
+
+- Temporarily disable i586 builds.
+
+---
+Fri Nov 20 15:44:20 UTC 2015 - larry.fin...@lwfinger.net
+
+- Increase memory to 8000 MB to try to fix out-of-memory error when building 
i586 version.
+
+---
+Mon Nov 16 19:40:37 UTC 2015 - larry.fin...@lwfinger.net
+
+- Increase memory to 7000 MB in _constraint to see if that fixes link problem 
on i586.
+
+---
+Thu Nov 12 12:55:16 UTC 2015 - idon...@suse.com
+
+- Version bump to 5.0.10 (released 2015-11-10 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+VMM: improved support for certain Intel Atom CPUs (bug #14773)
+VMM: system register emulation fix (5.0 regression; bug #14515)
+GUI: fixed immediate screenshot issue (bug #14108)
+GUI: fixed another 3D overlay window reparenting issue when the VM is 
switched to fullscreen mode on X11 hosts
+GUI: fixed help index (bug #14722)
+GUI: fixed state synchronization issue in the VM manager window when VM 
was paused from its runtime window
+Audio: fixed suspending/resuming audio streams on VM pause/unpause (bug 
#14784)
+Audio: properly reset AC97 audio streams, otherwise there is silence until 
a non-48 kHz stream is played
+Audio: fixed a small emulation quirk of the AD1980 codec of the HDA device 
to make recent linux guests work (bug #14653)
+USB: serveral fixes for the xHCI controller
+USB: fixed a crash under certain conditions on hosts with Linux kernels 
older than version 3.3
+USB: better identification of certain USB devices
+NAT: support TCP in DNS proxy (bug #14736)
+NAT Network: fixed sporadic crashes on Windows hosts (bug #13899)
+API: when creating differencing images (e.g. as part of a snapshot or 
cloning a VM) use the same disk image variant as the parent image if possible, 
which means that e.g. a diff image for a VMDK image split into 2 GB files will 
also be split (bug #14764)
+API: event queue handling fixes preventing loss of certain events at 
runtime (e.g. new webcam attached), particularly important on Mac OS X hosts
+Webcam: passthrough fix for certain devices (Windows hosts only)
+VBoxManage: don't crash on snapshot restorecurrent / edit if the VM has no 
snapshots
+VBoxManage: don't crash on controlvm addencpassword (bug #14729)
+Mac OS X hosts: use the correct kernel on certain hosts
+Windows hosts: fixed VRDP external authentication
+Windows hosts: allow to use a shared folder path with extended-length path 
prefix (5.0 regression; bug #14651)
+Windows hosts: fix a crash in the netfilter host driver under certain 
conditions (bug #14799)
+Windows host installer: documented and fixed public properties which can 
be used to control the installation to some extent
+Windows host installer: fixed not starting the actual installation when 
showing the version information or help dialogs
+X11 Additions: added basic support for X.Org Server 1.18 (3D requires 
additional fixes)
+
+- Refresh vbox-no-build-dates.diff
+
+---
+Sun Nov  8 05:10:36 UTC 2015 - larry.fin...@lwfinger.net
+
+- Add a popup window to the VB startup wrapper to make clear why USB passthru 
is not automatically
+  enabled, and explain what steps the user should take if this feature is 
wanted despite the security
+  hole.
+
+  Patch file vbox-usb-warning.diff fixes the problem shown in boo#953018. 
+
+---

Old:

  VirtualBox-5.0.8-patched.tar.bz2

New:

  VirtualBox-5.0.10-patched.tar.bz2
  vbox-usb-warning.diff



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.gPNV6e/_old  2015-12-01 

commit virtualbox for openSUSE:Factory

2015-10-30 Thread h_root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2015-10-30 13:41:16

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2015-10-24 
10:25:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2015-10-30 13:41:18.0 +0100
@@ -3,0 +4 @@
+boo#951432 CVE-2015-4813 CVE-2015-4896



Other differences:
--





commit virtualbox for openSUSE:Factory

2015-10-24 Thread h_root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2015-10-24 10:24:56

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2015-10-08 
08:24:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2015-10-24 10:25:12.0 +0200
@@ -0,0 +1,22 @@
+Tue Oct 20 19:01:09 UTC 2015 - larry.fin...@lwfinger.net
+
+- Version bump to 5.0.8 (released 2015-10-20 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+GUI: Mac OS X: Restore green zoom button for VM windows (it was hidden in 
the previous release to avoid native full-screen issues). For Yosemite and El 
Capitan this button should work accordingly to the Apple HIG: Full-screen by 
default, maximize if the user holds the Option key.
+Serial ports: fixed wrong IRQ number for the first serial port in the ACPI 
tables (5.0.6 regression; bug #14659)
+API: fixed a 5.0 regression in VBoxManage setproperty defaultfrontend (bug 
#14696)
+VBoxManage/vbox-img: conversion to RAW images could result in a disk image 
containing all zeroes
+Linux hosts: several fixes for systemd integration in .deb / .rpm packages 
(e.g. bug #14665). The command for recompiling the host kernel modules was 
changed to /sbin/vboxconfig
+Linux hosts: make host-only interfaces report operstate UP only when they 
have VMs attached (bug #14526)
+Mac OS X hosts: fix bpf capture and accounting of traffic on bridged and 
host-only interfaces (bug #14553)
+Windows guests: fixed 3D rendering issues on high resolution displays
+Windows Additions: fixed problems with 3D acceleration on Windows hosts 
with Intel HD graphics (bug #14670)
+Linux Additions: fix service starting on Debian systems with systemd 
installed but not in use (bug #14683) 
+
+---
+Thu Oct 15 15:55:20 UTC 2015 - larry.fin...@lwfinger.net
+
+- Increase memory constraint to 5000M
+

Old:

  VirtualBox-5.0.6-patched.tar.bz2

New:

  VirtualBox-5.0.8-patched.tar.bz2



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.gZ6mkW/_old  2015-10-24 10:25:14.0 +0200
+++ /var/tmp/diff_new_pack.gZ6mkW/_new  2015-10-24 10:25:14.0 +0200
@@ -19,7 +19,7 @@
 %define _vbox_instdir  %{_libexecdir}/virtualbox
 %define _udevrulesdir %{_libexecdir}/udev/rules.d
 Name:   virtualbox
-Version:5.0.6
+Version:5.0.8
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0+

++ UserManual.pdf ++
(binary differes)

++ VirtualBox-5.0.6-patched.tar.bz2 -> VirtualBox-5.0.8-patched.tar.bz2 
++
/work/SRC/openSUSE:Factory/virtualbox/VirtualBox-5.0.6-patched.tar.bz2 
/work/SRC/openSUSE:Factory/.virtualbox.new/VirtualBox-5.0.8-patched.tar.bz2 
differ: char 11, line 1

++ _constraints ++
--- /var/tmp/diff_new_pack.gZ6mkW/_old  2015-10-24 10:25:14.0 +0200
+++ /var/tmp/diff_new_pack.gZ6mkW/_new  2015-10-24 10:25:14.0 +0200
@@ -2,7 +2,7 @@
 
   
 
-  4000
+  5000
 
   
 





commit virtualbox for openSUSE:Factory

2015-10-08 Thread h_root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2015-10-08 08:24:40

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2015-09-13 
09:45:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2015-10-08 08:24:44.0 +0200
@@ -1,0 +2,49 @@
+Mon Oct  5 07:35:22 UTC 2015 - idon...@suse.com
+
+- Version bump to 5.0.6 (released 2015-10-02 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+   GUI: the update check now uses the HTTP system proxy settings by default
+   GUI: About dialog improvements. Copyable version text, do not close 
dialog on mouse-clicks and focus losing, explicit close button at the bottom of 
dialog and disabled close button fix on OS X. (bugs #9912, #12749)
+   GUI: fixed bug when re-assigning shortcuts (bug #14565)
+   GUI: fixed default focus button in message-box dialogs (bug #14486)
+   GUI: fixed settings dialog which is opened if the network settings need 
to be changed at VM startup (5.0.0 regression; bug #14601)
+   GUI: fixed crash during VM start if an early error message needs to be 
shown, for example Linux kernel modules not present (bug #14646)
+   Bridged Networking: fixed handling of guest DHCP requests without UDP 
checksum when bridging to a wireless interface (bug #14615)
+   Audio: latency fixes (Windows hosts only; bug #4088)
+   Guest Control: correctly set USERNAME and USERPROFILE environment 
variables (Windows guests only)
+   Guest Control: several fixes
+   API: properly restore NAT port forwarding rules when reverting to a 
snapshot
+   Parallel ports: Several fixes allowing to enable two parallel ports for 
a VM
+   VBoxManage: fixed wrong output of debugvm show command
+   VBoxManage: fixed hang when specifying logging groups with debugvm log 
starting with h, for example hex
+   Windows hosts: renamed VBoxStartup.log to VBoxHardening.log and provide 
this log file in the GUI log viewer
+   Windows hosts: fixed a small memory leak in the Windows host interface 
driver (VBoxNetAdp) which caused a BSOD if the driver verifier is enabled (bug 
#14562)
+   Windows hosts: fixed a failure to start VMs on hosts where dsound.dll 
is not available (bug #14574)
+   Windows hosts: another fix for VERR_LDR_MISMATCH_NATIVE errors (bug 
#14579)
+   Windows hosts: fixed host-to-guest communication with bridged 
networking (bugs #14326, #14457)
+   Windows hosts: fixed broken data receiving from the serial device with 
the named pipe backend if Kaspersky AV is installed
+   Linux hosts: Linux 4.3 compile fixes
+   Linux hosts: installer fix for certain systems (bug #14627)
+   Linux hosts / guests: native systemd support for the host/guest 
installer scripts. The scripts for re-compiling the kernel modules are now 
located at /sbin/rcvboxdrv (host) and /sbin/rcvboxadd (Guest Additions)
+   Mac OS X hosts: GUI-related fixes for El Capitan
+   Mac OS X hosts: fixed a problem with capturing USB devices under El 
Capitan
+   Mac OS X hosts: allow colon character on shared folders (bug #14554)
+   Linux Additions: properly set the VBoxService process ID in the PID 
file (bug #14571)
+   Linux Additions: Guest Control fixes (bug #14573)
+   Windows Additions: fixed shutting down VBoxTray when running with older 
VirtualBox host versions
+   Windows Additions: fixed video playback with VLC and Windows Media 
Player when the WDDM driver is used and 3D is not used
+   Windows Additions: prevent a possible VLC crash when the WDDM driver is 
used and 3D is enabled by implementing YV12 surfaces
+
+- Drop vbox-32bit-build-error.diff, fixed upstream
+- Updated UserManual.pdf
+
+---
+Fri Oct  2 08:33:26 UTC 2015 - dims...@opensuse.org
+
+- BuildRequire pkgconfig(udev) instead of udev directly: this allows
+  us to be earlier in the build phase, as we can make use of udev-mini
+  and it solves build failures with systemd224.
+
+---

Old:

  VirtualBox-5.0.4-patched.tar.bz2
  vbox-32bit-build-error.diff

New:

  VirtualBox-5.0.6-patched.tar.bz2



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.b6PGlv/_old  2015-10-08 08:24:46.0 +0200
+++ /var/tmp/diff_new_pack.b6PGlv/_new  2015-10-08 08:24:46.0 +0200
@@ -19,7 +19,7 @@
 %define _vbox_instdir  

commit virtualbox for openSUSE:Factory

2015-09-13 Thread h_root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2015-09-13 09:44:53

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is "virtualbox"

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2015-08-21 
07:39:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2015-09-13 09:45:00.0 +0200
@@ -1,0 +2,61 @@
+Fri Sep 11 02:47:24 UTC 2015 - larry.fin...@lwfinger.net
+
+- The code base released by Oracle failed to build on 32-bit systems. They had 
already fixed the
+  problem. This update applies their solution using patch file 
vbox-32bit-build-error.diff.
+
+---
+Tue Sep  8 15:13:25 UTC 2015 - larry.fin...@lwfinger.net
+
+Version bump to 5.0.4 (released 2015-09-08 by Oracle)
+
+This is a maintenance release. The following items were fixed and/or added:
+
+VMM: fixed an issue with Windows 10 guest kernel debugging over the 
network for Hyper-V paravirtualized VMs
+VMM: fixed a bug which prevented reading the saved state of the 'PATM' 
unit from VirtualBox 4.3.x (bug #14512)
+GUI: changed default OS type for Windows from Windows XP to Windows 7
+GUI: added another pre-defined guest screen resolution (bug #14384)
+GUI: fixed update check which was broken due to changing the location of 
the root certificates (bug #13096)
+GUI: fixed issues with synchronization of Caps lock / Num lock / Scroll 
lock on Windows hosts (bug #14302)
+GUI: don't crash during VM shutdown if 2D video acceleration and 3D 
support are enabled (Mac OS X hosts only)
+GUI: several seamless fixes for certain X11 window managers, also when 
used in multi-screen setups
+GUI: Log window size, position and cursor-position fixes
+Audio: fixed playing leftover/deprecated audio samples
+Audio: fixed playing audio after suspending the host (5.0 regression; 
Linux hosts using the ALSA backend)
+Audio: fixed playing short audio samples which were chopped off formerly
+Audio: fixed distortions on OS X when the sample rate of the guest stream 
and host device don't match
+Storage: fixed raw disk access and flat VMDK image access which would be 
always opened readonly (5.0.2 regression; bugs #14425, #14461)
+Storage: fixed initial encryption of VDI images after they were compacted 
(bug #14496)
+VGA: fix for certain graphics modes (bug #14516)
+NAT: don't freeze while the VM is paused if the network attachment mode is 
changed from/to NAT with activated port forwarding
+OVF: fixed duplicate USB controller entries in exported OVA/OVF (bug 
#14462)
+Shared Folders: fixed a path separator issue (bug #14434)
+Drag and drop: fixed crashes on OS X hosts when doing host-to-guest 
transfers
+VBoxManage: another attempt to not deny changing the network adapter type 
at VM runtime (5.0 regression; bug #14308)
+VBoxManage: fixed broken guestcontrol  list command (5.0 
regression)
+VBoxManage: fixed broken Guest Control stdout/stderr output (5.0 
regression)
+Mac OS X hosts: fixed remaining problems with activated SMAP (Broadwell 
and later; bug #14412)
+Mac OS X hosts: fixed broken 3D support (5.0.2 regression; bug #14476)
+Linux hosts: Linux 4.2 fix
+Linux hosts: don't crash on older Linux distributions if the DBus service 
isn't running (bug #14543)
+Windows hosts: fixed the VERR_LDR_MISMATCH_NATIVE error message (bug 
#14420)
+Windows hosts: fix for Windows 10 build 10525 and later (bug #14502)
+Windows hosts: fixed network adapter enumeration on Windows 10 (bug #14437)
+Windows hosts: prevent intermittent host network disconnects during VM 
start/shutdown with bridged networking (bug #14500)
+Windows Additions: fixed the call to the memory allocation function (bug 
#14415)
+Linux Additions: be more forgiving if the compilation of the vboxvideo 
module fails (bug #14547)
+X11 Additions: fixed a number of small issues with dynamic resizing and 
full-screen and seamless modes. 
+
+---
+Tue Sep  1 15:03:14 UTC 2015 - wba...@tmo.at
+
+- Install and enable the vboxadd-service init script, to make 
+  auto-mounting of shared folders and time synchronization work
+- Install VBoxService to /usr/sbin/ instead of /usr/bin/ so that
+  vboxadd-service can find it, it cannot be run as user anyway
+- Create the /media folder with appropriate permissions on
+  distributions higher than 13.1, it doesn't exist any more and the
+  one that VBoxService creates automatically cannot be accessed by
+  normal users
+- Fixes boo#908669 and boo#936254
+

commit virtualbox for openSUSE:Factory

2015-08-20 Thread h_root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2015-08-21 07:39:28

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is virtualbox

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2015-07-28 
11:42:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2015-08-21 07:39:59.0 +0200
@@ -1,0 +2,41 @@
+Fri Aug 14 13:23:25 UTC 2015 - larry.fin...@lwfinger.net
+
+Version bump to 5.0.2 (released 2015-08-13 by Oracle)
+
+A number of problems were fixed and/or added. In particular, the artifically 
high load average
+problem reported as bsc#939299 has been fixed. The complete list follows:
+
+VMM: added support for guest crash report MSRs with Hyper-V 
paravirtualization
+VMM: fixed an issue causing artifically high load averages on Linux hosts
+VMM: fixed a kernel panic with thread-context hooks caused by incompatible 
changes made to Linux 4.2 kernels
+VMM: fixed a saved state issue with VT-x/AMD-V disabled (5.0 regression; 
bug #14304)
+VMM: fixed VERR_SUPDRV_TSC_DELTA_MEASUREMENT_FAILED Guru Meditations on 
certain AMD CPUs (5.0 regression; bug #14370)
+VMM: fixed a crash while creating a guest core dumps via the VM debug 
facility (5.0 regression)
+VMM: This release has AVX2 passthrough disabled on every host and AVX 
passthrough disabled for 64-bit VMs on 32-bit hosts.
+This will be properly fixed in a future 5.0.x maintenance release (see 
e.g. bug #14262).
+GUI: fixed rare hang and crash on VM shutdown/poweroff
+GUI: X11: fixed few crashes caused by the Qt alien widgets feature
+GUI: X11: fixed various mini-toolbar geometry quirks like positioning, 
z-order, transiency issues on certain window managers (bug #14257)
+GUI: X11: fixed mini-toolbar minimize button issue under certain window 
managers (bug #14284)
+GUI: VM menu actions availability should now be properly updated on 
full-screen/seamless/scaled mode switches
+GUI: disk encryption password validation should be performed when user 
confirmed the password, not after each entered symbol
+GUI: do not change the VM/group selection in the VM Manager to the newly 
created VM if it was created by another client (e.g. VBoxManage)
+GUI: improve the quality in scaled mode under some circumstances (5.0 
regression; bug #14303)
+VBoxManage: do not deny changing the network adapter type at VM runtime 
(5.0 regression; bug #14308)
+VRDP: allow Windows 10 RDP clients (bug #14216)
+Audio: fix a possible crash on VM process termination (5.0 regression)
+Storage: improved raw disk access on OS X by unmounting any accessed 
volume before first use and prevent any mount attempt by the host (bug #14219)
+3D: basic support for saving/restoring display lists
+Shared Folders: fixed a problem with accessing CIFS shares (bug #14252)
+Shared Folders: improved path conversion between hosts and guests with 
different path separators (bug #14153)
+API: skip resetting of immutable media when the VM in saved state is 
started (bug #13957)
+API: fixed method for setting medium IDs which used zero (invalid) UUIDs 
instead random (valid) UUIDs if no UUIDs were passed (bug #14350)
+API: for Windows host fix detection of API client crashes which have a 
session open
+OVF: properly export all VBox features including the setting for 
paravirtualization (bug #14390)
+Linux hosts: more fixes for activated SMAP on Linux 3.19 and newer 
(Broadwell and later; bug #13961)
+Linux hosts: check then name space before attaching to a host network 
interface (bug #13795)
+Linux Additions: Linux 4.2 fixes (bug #14227)
+Linux Additions: improved the performance of stat() to speed up certain 
file operations on shared folders
+X11 Additions: various seamless mode fixes, including invisible windows 
under LXDE. - 
+
+---

Old:

  VirtualBox-5.0.0-patched.tar.bz2

New:

  VirtualBox-5.0.2-patched.tar.bz2



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.7x7DUp/_old  2015-08-21 07:40:01.0 +0200
+++ /var/tmp/diff_new_pack.7x7DUp/_new  2015-08-21 07:40:01.0 +0200
@@ -19,7 +19,7 @@
 %define _vbox_instdir  %{_libexecdir}/virtualbox
 %define _udevrulesdir %{_libexecdir}/udev/rules.d
 Name:   virtualbox
-Version:5.0.0
+Version:5.0.2
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0+

++ UserManual.pdf ++
(binary differes)

++ 

commit virtualbox for openSUSE:Factory

2015-07-28 Thread h_root
Hello community,

here is the log from the commit of package virtualbox for openSUSE:Factory 
checked in at 2015-07-28 11:42:49

Comparing /work/SRC/openSUSE:Factory/virtualbox (Old)
 and  /work/SRC/openSUSE:Factory/.virtualbox.new (New)


Package is virtualbox

Changes:

--- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes2015-07-16 
17:13:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes   
2015-07-28 11:42:53.0 +0200
@@ -1,0 +2,32 @@
+Wed Jul 15 18:41:47 UTC 2015 - tchva...@suse.com
+
+- Install more binaries that were in bin generated folder
+
+---
+Tue Jul 14 19:13:46 UTC 2015 - tchva...@suse.com
+
+- Fix buffer overflow on dtrace lib:
+  * virtualbox-snpritnf-buffer-overflow.patch
+- Note: still does not respect cxxflags
+
+---
+Sat Jul 11 12:46:51 UTC 2015 - tchva...@suse.com
+
+- Fix vbox build by replacing non-existent sed parameter:
+  * virtualbox-sed-params.patch
+
+---
+Sat Jul 11 11:41:26 UTC 2015 - tchva...@suse.com
+
+- Version bump to 5.0.0:
+  * Major bump from 4 series with tons of changes.
+  * Read upstream changelog for in-depth informations
+- Obsoleted patches:
+  * gcc5-support.patch
+  * gcc51-support.patch
+- Refreshed patches:
+  * gcc5-real-support.patch
+  * vbox-disable-updates.diff
+  * virtualbox-system-x.patch
+
+---

Old:

  VirtualBox-4.3.28-patched.tar.bz2
  gcc5-support.patch
  gcc51-support.patch

New:

  VirtualBox-5.0.0-patched.tar.bz2
  virtualbox-sed-params.patch
  virtualbox-snpritnf-buffer-overflow.patch



Other differences:
--
++ virtualbox.spec ++
--- /var/tmp/diff_new_pack.GeC33Z/_old  2015-07-28 11:42:55.0 +0200
+++ /var/tmp/diff_new_pack.GeC33Z/_new  2015-07-28 11:42:55.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package virtualbox
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %define _vbox_instdir  %{_libexecdir}/virtualbox
 %define _udevrulesdir %{_libexecdir}/udev/rules.d
 Name:   virtualbox
-Version:4.3.28
+Version:5.0.0
 Release:0
 Summary:VirtualBox is an Emulator
 License:GPL-2.0+
@@ -75,9 +75,12 @@
 Patch104:   vbox-fpie.diff
 #smap issues on Haswell or Broadwell (boo#931461)
 Patch105:   smap.diff
-Patch106:   gcc5-support.patch
-Patch107:   gcc51-support.patch
-Patch108:   gcc5-real-support.patch
+# Patch to build with Factory gcc5
+Patch106:   gcc5-real-support.patch
+# Patch to build with gnu sed correctly
+Patch107:   virtualbox-sed-params.patch
+# Patch to use snprintf correcty and not overflow dst buffer
+Patch108:   virtualbox-snpritnf-buffer-overflow.patch
 BuildRequires:  LibVNCServer-devel
 BuildRequires:  SDL-devel
 BuildRequires:  acpica
@@ -298,11 +301,11 @@
 %patch99 -p1
 %patch100
 %patch101 -p1
-%patch103
+%patch103 -p1
 %patch104 -p1
 %patch105 -p1
-%patch106
-%patch107
+%patch106 -p1
+%patch107 -p1
 %patch108 -p1
 #copy user manual
 cp %{SOURCE1} UserManual.pdf
@@ -475,6 +478,13 @@
 install -m 755 VBoxHeadless%{buildroot}%{_vbox_instdir}
 install -m 755 VBoxSDL 
%{buildroot}%{_vbox_instdir}
 install -m 755 VBoxTunctl  %{buildroot}%{_vbox_instdir}
+install -m 755 VBoxNetNAT  %{buildroot}%{_vbox_instdir}
+install -m 755 VBoxAutostart   %{buildroot}%{_vbox_instdir}
+install -m 755 VBoxVolInfo %{buildroot}%{_vbox_instdir}
+install -m 755 vboxshell.py%{buildroot}%{_vbox_instdir}
+install -m 755 VBoxBalloonCtrl %{buildroot}%{_vbox_instdir}
+install -m 755 webtest %{buildroot}%{_vbox_instdir}
+install -m 755 VBoxDTrace  %{buildroot}%{_vbox_instdir}
 # create links to vbox tools in PATH - they could be usefull for controlling 
vbox from command line
 ln -s %{_vbox_instdir}/VBoxManage  
%{buildroot}%{_bindir}/VBoxManage
 ln -s %{_vbox_instdir}/VBoxHeadless
%{buildroot}%{_bindir}/VBoxHeadless
@@ -491,7 +501,7 @@
 install -m 755 VBoxEFI*.fd %{buildroot}%{_vbox_instdir}
 install -m 755 VBoxSysInfo.sh  %{buildroot}%{_vbox_instdir}
 install -m 644 *.so

  1   2   >