1
0
forked from pool/virtualbox
Commit Graph

489 Commits

Author SHA256 Message Date
Larry Finger
8e3ec1e371 Accepting request 555993 from home:hfschmidt:branches:Virtualization
- Fix spelling mistakes in vbox-usb-warning.diff.

OBS-URL: https://build.opensuse.org/request/show/555993
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=390
2017-12-11 17:20:16 +00:00
Larry Finger
e944f6171f - 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.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=389
2017-12-09 01:13:47 +00:00
Larry Finger
7876a09d35 - Update "fixes_for_4.15.patch" for further API changes in kernel 4.15.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=387
2017-12-02 03:59:12 +00:00
Larry Finger
799f49a940 Accepting request 544759 from home:RBrownSUSE:branches:Virtualization
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544759
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=385
2017-11-23 17:10:09 +00:00
Larry Finger
fadfe8ba5d - 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.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=384
2017-11-22 16:53:50 +00:00
Larry Finger
f3efb31ed1 - Update "fixes_for_leap15.patch" for wait queue API changes.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=382
2017-11-11 03:41:47 +00:00
Larry Finger
cdc999e54d - Add file "fixes_for_python.patch".
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=381
2017-11-08 02:09:11 +00:00
Larry Finger
806003d2a3 - 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
- Fix /sbin/vboxguestconfig.sh to be similar to /sbin/vboxconfig.sh.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=380
2017-11-07 16:41:30 +00:00
Larry Finger
0154baf2ee Accepting request 538131 from home:pluskalm:branches:Virtualization
- Rename python subpackage
- Update python dependnencies for migration to python3 as default

OBS-URL: https://build.opensuse.org/request/show/538131
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=378
2017-11-01 16:00:41 +00:00
Larry Finger
cf943cf3ca File "fixes_for_leap15.patch" is added to accomplish this task.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=376
2017-10-30 17:13:32 +00:00
Larry Finger
5d8d1a75e7 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=375 2017-10-23 15:52:25 +00:00
Larry Finger
0ff2cee740 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=373 2017-10-22 00:14:07 +00:00
Larry Finger
cd06b6876b - Add patch to handle LEAP 15 API change in wait queues. This change addresses boo#1064524.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=372
2017-10-21 18:51:06 +00:00
Larry Finger
48db352de9 - 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)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=371
2017-10-17 13:51:44 +00:00
Larry Finger
a3cf3f85ef - 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.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=369
2017-10-03 13:06:25 +00:00
Larry Finger
4ad73fc134 - 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.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=367
2017-09-25 20:31:11 +00:00
Larry Finger
76f0fe63c0 - 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

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=365
2017-09-24 14:57:55 +00:00
Larry Finger
646f6d71d8 - Update "fixes_for_4.14.patch" to handle missing SKB_GSO_UDP in kernel 4.14
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=364
2017-09-21 13:54:20 +00:00
Ismail Dönmez
dfb7c858b0 Accepting request 527433 from home:lwfinger:branches:Virtualization
Update to build on kernel 4.14

OBS-URL: https://build.opensuse.org/request/show/527433
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=363
2017-09-21 10:40:13 +00:00
Larry Finger
f860d8b95f Accepting request 522932 from home:msmeissn:branches:Virtualization
- mark VBoxNetNAT with the correct permissions line. (bsc#1033425)

OBS-URL: https://build.opensuse.org/request/show/522932
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=361
2017-09-11 00:35:53 +00:00
Larry Finger
c6ad50c18b - 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.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=359
2017-08-07 20:33:23 +00:00
Larry Finger
c3af46ed4d Accepting request 515041 from home:Andreas_Schwab:Factory
- internal-headers.patch: fix invalid use of internal headers, enable
  POSIX extensions

OBS-URL: https://build.opensuse.org/request/show/515041
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=358
2017-08-07 18:11:53 +00:00
Larry Finger
f0824ee78b Accepting request 514488 from home:frispete:Kernel-base
Hi Larry,

I finally put some effort in fixing the VM autostart mechanics,
that are terminally broken in the current package (due to the way,
systemd interacts with Sys-V init scripts, stop operations aren't 
executed most of the time, because it lost track of the state...).

With these changes, I'm able to reliably start/stop all VMs on 
hosts ranging from 13.2 to 42.2. I'm confident, this will improve
for all systemd based systems, i.o.w all those systems we care about..

It resembles pretty much the same scheme, vboxdrv is using already.

Give it a try.

- 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

OBS-URL: https://build.opensuse.org/request/show/514488
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=357
2017-08-04 02:39:17 +00:00
Larry Finger
c3b0ff9ee7 - 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)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=355
2017-07-29 21:00:24 +00:00
Larry Finger
9eb9a7be0c - 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.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=353
2017-07-19 17:55:43 +00:00
Larry Finger
25bf4881a5 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=352 2017-07-19 04:48:17 +00:00
Larry Finger
e2ddd9b641 - 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

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=351
2017-07-19 04:47:23 +00:00
Larry Finger
cd06ddeb54 - 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.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=350
2017-07-18 14:23:30 +00:00
Larry Finger
6deff5bcfe - 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.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=348
2017-07-10 18:31:23 +00:00
Larry Finger
5217fddc80 - 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".

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=346
2017-06-30 00:57:32 +00:00
Larry Finger
e2652713d3 Fix missing /media for Leap 42.3.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=345
2017-06-25 23:44:07 +00:00
Larry Finger
5f4d3deb2d OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=344 2017-06-25 18:06:27 +00:00
Larry Finger
7c7890c0c5 Fix typo in above changes.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=343
2017-06-25 17:20:00 +00:00
Larry Finger
bd0491518c Fix "requires" for net-tools-deprecated so that Leap 42.3 will build.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=342
2017-06-25 17:14:46 +00:00
Larry Finger
f3820cb7d9 - Fix logic error in scripts to build kernel modules locally - see bnc#1042726.
Temporarily remove "requires" for net-tools-deprecated so that Leap 42.3 will build.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=341
2017-06-25 17:11:33 +00:00
Larry Finger
79cdaa4a04 - 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.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=340
2017-06-25 00:21:46 +00:00
Larry Finger
7748557e4a OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=339 2017-06-21 17:07:17 +00:00
Larry Finger
87881b07fc - 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.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=338
2017-06-21 16:57:21 +00:00
Larry Finger
532c4484c9 - Add installation of package "net-tools-deprecated" as requested in boo#1027742.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=337
2017-06-10 13:21:20 +00:00
Larry Finger
af26c92399 - 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.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=336
2017-06-08 22:26:55 +00:00
Larry Finger
17bc6d4e06 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=335 2017-05-27 16:49:37 +00:00
Larry Finger
d5939f94c2 Accepting request 497122 from home:frispete:Kernel-base
- add %dir /usr/share/licenses to new vnc package

OBS-URL: https://build.opensuse.org/request/show/497122
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=333
2017-05-21 20:15:00 +00:00
Larry Finger
86d45b138a - 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.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=332
2017-05-17 20:36:36 +00:00
Larry Finger
17a3ba2102 - 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.

- 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.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=331
2017-05-10 18:01:46 +00:00
Larry Finger
31890f8f57 - 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)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=329
2017-04-29 17:28:47 +00:00
Larry Finger
38f2f08f13 Two new files named "vboxdrv.service" and "vboxadd-service.service" are added.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=328
2017-04-29 05:54:06 +00:00
Larry Finger
1ffdd9492b - 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.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=327
2017-04-29 05:52:10 +00:00
Larry Finger
c3b3915a83 - 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)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=325
2017-04-20 20:01:58 +00:00
Larry Finger
d1039d5c96 - Add File "vbox_fix_42.3_api.patch" to handle the get_user_pages() API change in Leap 42.3.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=324
2017-04-09 00:13:39 +00:00
Larry Finger
b4c596e943 - Package VBoxVNC.so. This extension is already being built, just not packaged.
This feature is requested in bsc #1024671.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=322
2017-03-28 14:55:00 +00:00