From a065251386b45c255846c6b0486034f409e88e7b0d24d4215cf4b627fb2f423e Mon Sep 17 00:00:00 2001 From: Larry Rainey Date: Sat, 13 Jul 2024 13:17:31 +0000 Subject: [PATCH] Accepting request 1186452 from home:larryr:branches:Virtualization VirtualBox 7.0.18 with Oracle's 15.6 patches and all obsolete patches removed OBS-URL: https://build.opensuse.org/request/show/1186452 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=742 --- .gitattributes | 23 + .gitignore | 1 + README.autostart | 39 + README.build | 128 + UserManual.pdf | 3 + VirtualBox-5.2.10-xclient.patch | 23 + VirtualBox-7.0.18-patched.tar.bz2 | 3 + VirtualBox.appdata.xml | 21 + _constraints | 11 + _multibuild | 3 + _service | 5 + fix-missing-includes-with-qt-5.15.patch | 24 + fix_7.0.6_locking_problems.patch | 28 + fix_conflict_between_host_and_guest.patch | 13 + fix_for_leap15.5.patch | 16 + fix_sdl_build.patch | 92 + fix_usb_rules.sh | 7 + fixes_for_gcc13.patch | 26 + fixes_for_leap.patch | 516 ++ fixes_for_leap15.6.patch | 110 + fixes_for_makefile.patch | 826 +++ fixes_for_qt5.13.patch | 49 + fixes_for_sle12.patch | 163 + fixes_for_vboxconfig.patch | 107 + gcc5-real-support.patch | 20 + libxml21206.patch | 22 + modify_for_4_8_bo_move.patch | 30 + python311.patch | 26 + remove_vbox_video_build.patch | 39 + security_fixes.patch | 40 + smap.diff | 17 + turn_off_cloud_net.patch | 18 + update-extpack.sh | 64 + vbox-default-os-type.diff | 25 + vbox-deprec-gsoap-service-proxies.diff | 13 + vbox-disable-updates.diff | 31 + vbox-fpie.diff | 25 + vbox-gsoapssl-deps.diff | 40 + vbox-no-build-dates.diff | 406 ++ vbox-permissions_warning.diff | 67 + vbox-python-py310.patch | 67 + vbox-python-selection.patch | 110 + vbox-smc-napa.diff | 13 + vbox-suid-warning.diff | 70 + vbox-usb-warning.diff | 77 + vbox-vboxadd-init-script.diff | 213 + vbox-vboxdrv-init-script.diff | 82 + vboxadd-service.service | 20 + vboxautostart-service.service | 20 + vboxautostart-service.sh | 174 + vboxclient.desktop | 14 + vboxclient.service | 13 + vboxconfig.sh | 60 + vboxdrv.service | 20 + vboxdrv.sh | 375 + vboxguestconfig.sh | 62 + vboxservice.service | 9 + vboxweb-service.service | 20 + vboxweb-service.sh | 229 + virtualbox-60-vboxdrv.rules | 7 + virtualbox-60-vboxguest.rules | 4 + virtualbox-LocalConfig.kmk | 14 + virtualbox-default.virtualbox | 17 + virtualbox-kmp-files | 9 + virtualbox-kmp-preamble | 4 + virtualbox-patch-source.sh | 57 + virtualbox-rpmlintrc | 4 + virtualbox-sed-params.patch | 27 + virtualbox-wrapper.sh | 70 + virtualbox.changes | 7784 +++++++++++++++++++++ virtualbox.spec | 1078 +++ 71 files changed, 13843 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 README.autostart create mode 100644 README.build create mode 100644 UserManual.pdf create mode 100644 VirtualBox-5.2.10-xclient.patch create mode 100644 VirtualBox-7.0.18-patched.tar.bz2 create mode 100644 VirtualBox.appdata.xml create mode 100644 _constraints create mode 100644 _multibuild create mode 100644 _service create mode 100644 fix-missing-includes-with-qt-5.15.patch create mode 100644 fix_7.0.6_locking_problems.patch create mode 100644 fix_conflict_between_host_and_guest.patch create mode 100644 fix_for_leap15.5.patch create mode 100644 fix_sdl_build.patch create mode 100644 fix_usb_rules.sh create mode 100644 fixes_for_gcc13.patch create mode 100644 fixes_for_leap.patch create mode 100644 fixes_for_leap15.6.patch create mode 100644 fixes_for_makefile.patch create mode 100644 fixes_for_qt5.13.patch create mode 100644 fixes_for_sle12.patch create mode 100644 fixes_for_vboxconfig.patch create mode 100644 gcc5-real-support.patch create mode 100644 libxml21206.patch create mode 100644 modify_for_4_8_bo_move.patch create mode 100644 python311.patch create mode 100644 remove_vbox_video_build.patch create mode 100644 security_fixes.patch create mode 100644 smap.diff create mode 100644 turn_off_cloud_net.patch create mode 100644 update-extpack.sh create mode 100644 vbox-default-os-type.diff create mode 100644 vbox-deprec-gsoap-service-proxies.diff create mode 100644 vbox-disable-updates.diff create mode 100644 vbox-fpie.diff create mode 100644 vbox-gsoapssl-deps.diff create mode 100644 vbox-no-build-dates.diff create mode 100644 vbox-permissions_warning.diff create mode 100644 vbox-python-py310.patch create mode 100644 vbox-python-selection.patch create mode 100644 vbox-smc-napa.diff create mode 100644 vbox-suid-warning.diff create mode 100644 vbox-usb-warning.diff create mode 100644 vbox-vboxadd-init-script.diff create mode 100644 vbox-vboxdrv-init-script.diff create mode 100644 vboxadd-service.service create mode 100644 vboxautostart-service.service create mode 100644 vboxautostart-service.sh create mode 100644 vboxclient.desktop create mode 100644 vboxclient.service create mode 100644 vboxconfig.sh create mode 100644 vboxdrv.service create mode 100644 vboxdrv.sh create mode 100644 vboxguestconfig.sh create mode 100644 vboxservice.service create mode 100644 vboxweb-service.service create mode 100644 vboxweb-service.sh create mode 100644 virtualbox-60-vboxdrv.rules create mode 100644 virtualbox-60-vboxguest.rules create mode 100644 virtualbox-LocalConfig.kmk create mode 100644 virtualbox-default.virtualbox create mode 100644 virtualbox-kmp-files create mode 100644 virtualbox-kmp-preamble create mode 100644 virtualbox-patch-source.sh create mode 100644 virtualbox-rpmlintrc create mode 100644 virtualbox-sed-params.patch create mode 100644 virtualbox-wrapper.sh create mode 100644 virtualbox.changes create mode 100644 virtualbox.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/README.autostart b/README.autostart new file mode 100644 index 0000000..5188bdb --- /dev/null +++ b/README.autostart @@ -0,0 +1,39 @@ +Prerequisites +============= + +Users, that want to use the VirtualBox autostart feature, have to be +members of the vboxusers group. + +E.g.: +sudo usermod -aG vboxusers USERNAME + +Preparation +=========== + +For each autostart user, add a section in /etc/vbox/autostart.cfg: + +USERNAME = { +allow = true +} + +Users work +========== + +The *first* time a user configures autostart, the command: +VBoxManage setproperty autostartdbpath /etc/vbox/autostart.d +needs to be run. + +Note: The autostart options are stored in the /etc/vbox file, and in the +VM itself. If moving a VM, these options may need to be set again. + +Prepare a VM to start automatically: +VBoxManage modifyvm --autostart-enabled on + +Choose a shut down mode: +VBoxManage modifyvm --autostop-type + +Restart the vboxdrv service to start the VMs in question +sudo service vboxdrv restart + +To turn off autostart for a VM +VBoxManage modifyvm --autostart-enabled off diff --git a/README.build b/README.build new file mode 100644 index 0000000..de05185 --- /dev/null +++ b/README.build @@ -0,0 +1,128 @@ +Instructions for building the VirtualBox project + +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. + +You will need a login account at OBS. This account is also used to login at openSUSE's +bugzilla, etc. Those credentials are also used by osc whose package must also be +installed. + +A. Create a new sub-project: + 1. Branch the package: + The sources for Tumbleweed and the Leap releases have been merges, thus + development work can be concentrates on TW. To branch VB for Tumbleweed, + osc branch Virtualization virtualbox + 2. Checkout the package using the "osc co" command listed + +B. For the first time, test 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. This build will create all the + VirtualBox packages except the kernel modules. To build them use "osc build -M kmp", + which takes a lot less time. The split was made to reduce the load on OBS. + Now, a kernel change only requires rebuild of the modules, not the entire package. + 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. In general, about 25 GB is required for each flavor, + thus the disk usabe can approach 100 GB. If you have plenty of headroom in /, + you can skip this separate 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 VirtualBox. In Factory, the project that + contains the latest kernels is "Kernel-HEAD-standard". To run a test build with + this kernel, use the command " osc build --alternative-project Kernel:HEAD standard". + Note: The syntax of this step has changed throughout the years. If it fails, ask + how to do it on the openSUSE Factory mailing list at opensuse-factory@opensuse.org. + When switching between kernel projects, use of the "--clean" switch is advised, + otherwise strange "missing library" messages will result. + 4. On occasion, there may be breakage in the build when there is an update of + python or Qt. Use the "--alternative-project=" switch to force usage of + the revised component. You will need to ask at factory@lists.opensuse.org to + get the proper profect name. + +C. Steps to take with a new release: + 1. When Oracle releases a new version, you will need to download the new tarball + from https://download.virtualbox.org/virtualbox/. While downloading the file, I + also get the new UserManual.pdf. I use the wget utility, but the browser could + be used. + 2. openSUSE makes some changes to the tarballi, which are done with the command + bash ./virtualbox-patch-source.sh + This script unpacks the tar file, removes Windows and Mac host code from the file, + and recreates the tar file with "patched" in its name. Any further modifications + are made by patches that are applied during the build process. Do NOT make any + further changes to the tar file. + 3. Edit the "Version" line near the start of virtualbox.spec to select the new version. + 4. Use "osc rm " and "osc add " to get the + new file into osc. The local build will work without these changes, but the remote + operations with OBS will fail. + 5. VirtualBox at openSUSE is a multi-build package consisting of virtualbox-kmp and + the rest of virtualbox. The former builds in about 20% of the time needed for the + latter, thus it is best to start with the kmp part. + 6. The usual problems are as follows: + a. Fixing for kernel API changes are incorporated in a new release, thus our patch + is obsolete. + b. Oracle has revised their code such that one of the patches needed by openSUSE + fails to apply. + c. There are kernel API changes that break the building of the kmp part of VB. + 5. When fixing kernel API changes, keep in mind that Oracle will be 2-3 months behind + your needs; however, they will eventually include the necessary changes in their + distribution. If you find something that you do not know how to fix, you could file + a bug tracker at https://www.virtualbox.org/wiki/Bugtracker. Note that previous + reports have gotten the response "We do not support kernel X.Y" - a really helpful + response. To be able to back out your changes, create a new patch file for the + updates. An OBS or osc build will unpack the "patched" tarball and apply the patches. + To help in the creation of such patches, it is my practice to untar the tarball and + use quilt to create the necessary patch, refresh it, and then copy it back into the + main directory. At that point it can be added into the spec file. The utility + wiggle is useful in fixing patches that will not apply. + 6. Once the kmp modules, and the main part of VirtualBox are building correctly with + osc, use 'osc status' to indicate the file changes. Anything with a "?" as its status + is a new file that needs to be resolved. If these files are not added to the project, + they will not be uploaded to OBS. You should also remove any files made obsolete + because Oracle caught up with kernel API changes. At this point, the new release + should be tested by adding the directory + /var/tmp/build-root/.../home/abuild/rpmbuild/RPMS/x86_64 + to the list of repositories, and updating virtualbox from that new repository. These + packages will not be signed, thus you will get a warning that can be ignored. Be sure + to install virtualbox-host-source, as well as kernel-default-devel and kernel-devel + for the kernel you are running. After loading the updated packages, then run + 'sudo /lib/sbin/vboxconfig' to build and install the kernel modules. + 7. The new code can now be tested. Usually, the tests will not show any problems; + however, there was a version where Windows 7 failed to boot because of a virtual + BIOS change. With kernel 5.18, there was a major bug where the FPU was not being + saved. The symptoms ranged from application crashes in a Linux VM to a full virtual + machine crash in a Windows 10 VM. The patch for this problem was provided by Oracle, + only a few days before kernel 5.18.1 was released and added to Tumbleweed. Obviously, + both Windows and Linux systems should be tested to ensure that screen resizing, + bidirectional clipboard, and shared folders work with no crashes. + 8. Once the new release is tested and 'osc status' is clean, it is time to update the + changes file using the 'osc vc' command. I copy and paste the changes listed in + the Oracle release notes to the new entry and add references to any bugzilla entries. + In this section, it is essential that you list files that are deleted or added. It is + not necessary to mention the tarball change - it is implied. + 9. Now it is time to send the new material to OBS using the 'osc ci' command. The + material in the new section usually appears as the commit message. If not, copy it + from the .changes file. Committing new material will trigger builds at OBS. The + status of them can be seen with the 'osc r' command. Once the builds are successful, + they should be submitted using the 'osc sr' for Tumbleweed. One peculiarity of the + factory releases is that they require a review, even for your own changes. A few + minutes after an ‘osc sr’ command, you will need to log into OBS and check your + tasks for “Outgoing Requests”. From there, you will be able to submit a review. + 10. After VirtualBox is completed for Tumbleweed, and building OK on the various Leap + versions at OBS, you can branch the various Leap versions with the command + osc branch openSUSE:Leap:15.X:Update virtualbox + It is not necessary to check out the code as creating the directory that will + be used. If it already exists on your system, delete all files in that directory. + Then copy all the files from the Tumbleweed source into the Leap directory. To + syncronize your system wuth OBS, do an "osc update". At this point, you will + need to repeat the "osc rm" and "osc add" steps to update the version of the + tarball. After that, make sure that "osc status" is clean. At that point, update + the package at OBS with "osc ci". When "osc r" shows that the build has completed, + use "osc mr" to submit it to the project. For the update projects, no review by + the maintainer is requied. + 11. When a new Leap release is in a pre-release state, updated VB releases can be + sent to that project from OBS. + diff --git a/UserManual.pdf b/UserManual.pdf new file mode 100644 index 0000000..ae7debf --- /dev/null +++ b/UserManual.pdf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:23271ffe5f6141af3be22359c65ec73ce784286a60795f445c5353c8a43a0c69 +size 4600053 diff --git a/VirtualBox-5.2.10-xclient.patch b/VirtualBox-5.2.10-xclient.patch new file mode 100644 index 0000000..3c9c251 --- /dev/null +++ b/VirtualBox-5.2.10-xclient.patch @@ -0,0 +1,23 @@ +Index: VirtualBox-7.0.14/src/VBox/Additions/x11/Installer/98vboxadd-xclient +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/x11/Installer/98vboxadd-xclient ++++ VirtualBox-7.0.14/src/VBox/Additions/x11/Installer/98vboxadd-xclient +@@ -31,15 +31,9 @@ for i in $HOME/.vboxclient-*.pid; do + test -w $i || rm -f $i + done + +-if ! test -c /dev/vboxguest 2>/dev/null; then +- # Do not start if the kernel module is not present. +- # Execute notify-send in the back-ground to avoid racing with sddm, +- # as notify-send may wait for sddm to start while it waits for us to exit. +- notify-send "VBoxClient: the VirtualBox kernel service is not running. Exiting." & +-elif test -z "${SSH_CONNECTION}"; then +- # This script can also be triggered by a connection over SSH, which is not +- # what we had in mind, so we do not start VBoxClient in that case. We do +- # not use "exit" here as this script is "source"d, not executed. ++# Do not start if the kernel module is not present; or if this script is ++# triggered by a connection over SSH. ++if [ -c /dev/vboxguest -a -z "${SSH_CONNECTION}" ]; then + /usr/bin/VBoxClient --clipboard + /usr/bin/VBoxClient --checkhostversion + /usr/bin/VBoxClient --seamless diff --git a/VirtualBox-7.0.18-patched.tar.bz2 b/VirtualBox-7.0.18-patched.tar.bz2 new file mode 100644 index 0000000..b3e1b4d --- /dev/null +++ b/VirtualBox-7.0.18-patched.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ee3266e4fda1638efaaafd1b6b58c4327c940ff1f3a9605f5292b8393e311742 +size 156466139 diff --git a/VirtualBox.appdata.xml b/VirtualBox.appdata.xml new file mode 100644 index 0000000..937c9c1 --- /dev/null +++ b/VirtualBox.appdata.xml @@ -0,0 +1,21 @@ + + + virtualbox.desktop + CC0-1.0 + GPL-2.0-or-later + VirtualBox + Virtual Machine client + +

+ VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. +

+
+ https://www.virtualbox.org/ + https://www.virtualbox.org/wiki/Bugtracker + https://www.virtualbox.org/manual + + + https://www.virtualbox.org/attachment/wiki/Screenshots/OpenSuse13.2_on_Windows_7.png + + +
\ No newline at end of file diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..9e0ba5a --- /dev/null +++ b/_constraints @@ -0,0 +1,11 @@ + + + + + 8000 + + + 9 + + + diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..1838c69 --- /dev/null +++ b/_multibuild @@ -0,0 +1,3 @@ + + kmp + diff --git a/_service b/_service new file mode 100644 index 0000000..87d7139 --- /dev/null +++ b/_service @@ -0,0 +1,5 @@ + + + enable + + diff --git a/fix-missing-includes-with-qt-5.15.patch b/fix-missing-includes-with-qt-5.15.patch new file mode 100644 index 0000000..4cb0658 --- /dev/null +++ b/fix-missing-includes-with-qt-5.15.patch @@ -0,0 +1,24 @@ +Index: VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.cpp ++++ VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.cpp +@@ -28,6 +28,7 @@ + /* Qt includes: */ + #include + #include ++#include + #include + #include + #include +Index: VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.h +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.h ++++ VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupBox.h +@@ -47,7 +47,6 @@ class QIcon; + class QLabel; + class QMouseEvent; + class QObject; +-class QPainterPath; + class QPaintEvent; + class QResizeEvent; + class QString; diff --git a/fix_7.0.6_locking_problems.patch b/fix_7.0.6_locking_problems.patch new file mode 100644 index 0000000..520a186 --- /dev/null +++ b/fix_7.0.6_locking_problems.patch @@ -0,0 +1,28 @@ +Index: VirtualBox-7.0.14/src/VBox/HostDrivers/Support/SUPDrvGip.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/HostDrivers/Support/SUPDrvGip.cpp ++++ VirtualBox-7.0.14/src/VBox/HostDrivers/Support/SUPDrvGip.cpp +@@ -4537,9 +4537,11 @@ static int supdrvTscDeltaThreadWait(PSUP + */ + static void supdrvTscDeltaThreadStartMeasurement(PSUPDRVDEVEXT pDevExt, bool fForceAll) + { ++ if (!pDevExt || ! pDevExt->hTscDeltaSpinlock) ++ return; ++ RTSpinlockAcquire(pDevExt->hTscDeltaSpinlock); + if (pDevExt->hTscDeltaThread != NIL_RTTHREAD) + { +- RTSpinlockAcquire(pDevExt->hTscDeltaSpinlock); + if ( pDevExt->enmTscDeltaThreadState == kTscDeltaThreadState_Listening + || pDevExt->enmTscDeltaThreadState == kTscDeltaThreadState_Measuring) + { +@@ -4550,9 +4552,9 @@ static void supdrvTscDeltaThreadStartMea + else if ( pDevExt->enmTscDeltaThreadState == kTscDeltaThreadState_WaitAndMeasure + && fForceAll) + pDevExt->fTscThreadRecomputeAllDeltas = true; +- RTSpinlockRelease(pDevExt->hTscDeltaSpinlock); + RTThreadUserSignal(pDevExt->hTscDeltaThread); + } ++ RTSpinlockRelease(pDevExt->hTscDeltaSpinlock); + } + + diff --git a/fix_conflict_between_host_and_guest.patch b/fix_conflict_between_host_and_guest.patch new file mode 100644 index 0000000..c3fdac5 --- /dev/null +++ b/fix_conflict_between_host_and_guest.patch @@ -0,0 +1,13 @@ +Index: VirtualBox-7.0.14/src/VBox/Additions/common/VBoxGuest/VBoxGuest-haiku.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/common/VBoxGuest/VBoxGuest-haiku.c ++++ VirtualBox-7.0.14/src/VBox/Additions/common/VBoxGuest/VBoxGuest-haiku.c +@@ -140,7 +140,7 @@ static struct vboxguest_module_info g_VB + RTMemAllocExTag, + RTMemContAlloc, + RTMemContFree, +- RTMemFreeEx, ++ RTMemFreeExG, + RTMpIsCpuPossible, + RTMpNotificationDeregister, + RTMpNotificationRegister, diff --git a/fix_for_leap15.5.patch b/fix_for_leap15.5.patch new file mode 100644 index 0000000..28f63ab --- /dev/null +++ b/fix_for_leap15.5.patch @@ -0,0 +1,16 @@ +Index: VirtualBox-7.0.14/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp ++++ VirtualBox-7.0.14/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp ++# if defined(CONFIG_SUSE_VERSION) && CONFIG_SUSE_VERSION == 15 && CONFIG_SUSE_PATCHLEVEL == 5 ++# define OPENSUSE_155 +@@ -710,7 +710,7 @@ static const char *keyModToStr(unsigned + RT_CASE_RET_STR(KMOD_NUM); + RT_CASE_RET_STR(KMOD_CAPS); + RT_CASE_RET_STR(KMOD_MODE); +- RT_CASE_RET_STR(KMOD_SCROLL); ++ RT_CASE_RET_STR(KMOD_RESERVED); + default: + break; + } ++# endif diff --git a/fix_sdl_build.patch b/fix_sdl_build.patch new file mode 100644 index 0000000..581dc4f --- /dev/null +++ b/fix_sdl_build.patch @@ -0,0 +1,92 @@ +Index: VirtualBox-7.0.18/configure +=================================================================== +--- VirtualBox-7.0.18.orig/configure ++++ VirtualBox-7.0.18/configure +@@ -1186,21 +1186,19 @@ check_sdl() + fail + fi + else +- if which_wrapper sdl-config > /dev/null; then +- FLGSDL=`sdl-config --cflags` ++ FLGSDL="-I/usr/include/SDL2 -D_GNU_SOURCE=1 -D_REENTRANT" + INCSDL=`strip_I "$FLGSDL"` +- LIBSDL=`sdl-config --libs` ++ LIBSDL="-L/usr/lib64 -LSDL2" + LIBSDLMAIN="-lSDLmain" + FLDSDL= + foundsdl=1 +- fi + fi + [ "$OS" = "linux" -o "$OS" = "darwin" -o "$OS" = "solaris" ] && LIBSDLMAIN="" + if [ -n "$foundsdl" ]; then + cat > $ODIR.tmp_src.cc << EOF + #include + #include +-#include ++//#include + #undef main + extern "C" int main(int argc, char** argv) + { +@@ -1216,7 +1214,7 @@ extern "C" int main(int argc, char** arg + } + EOF + [ -n "$INCSDL" ] && I_INCSDL=`prefix_I "$INCSDL"` +- if test_compile "$LIBSDL $LIBSDLMAIN $I_INCSDL $FLDSDL" SDL SDL; then ++ if test_compile "$LIBSDL $LIBSDLMAIN $I_INCSDL $FLDSDL" SDL2 SDL2; then + if test_execute; then + cnf_append "LIB_SDK_LIBSDL_SDL" "`strip_l "$LIBSDL"`" + cnf_append "SDK_LIBSDL_LIBPATH" "`strip_L "$LIBSDL"`" +@@ -3010,11 +3008,8 @@ if [ $ONLY_ADDITIONS -eq 0 ]; then + [ $WITH_LIBLZMA -eq 1 ] && check_liblzma + [ "$OS" != "darwin" ] && check_png + [ $OSE -eq 0 -a "$OS" = "linux" ] && check_pam +- if [ $WITH_SDL -eq 1 ]; then +- check_sdl +- else +- cnf_append "VBOX_WITH_VBOXSDL" "" +- fi ++ check_sdl ++ cnf_append "VBOX_WITH_VBOXSDL" "1" + [ $WITH_SDL_TTF -eq 1 -a $OSE -eq 0 ] && check_sdl_ttf + [ $WITH_X11 -eq 1 ] && check_x + # TODO check for xcomposite-dev (X11/extensions/Xcomposite.h, additions only) +Index: VirtualBox-7.0.18/src/VBox/Frontends/VBoxSDL/Makefile.kmk +=================================================================== +--- VirtualBox-7.0.18.orig/src/VBox/Frontends/VBoxSDL/Makefile.kmk ++++ VirtualBox-7.0.18/src/VBox/Frontends/VBoxSDL/Makefile.kmk +@@ -51,7 +51,7 @@ if !defined(VBOX_WITH_HARDENING) || "$(K + PROGRAMS += VBoxSDL + endif + VBoxSDL_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBoxMainClientDll,VBoxMainClientExe) +- VBoxSDL_SDKS = LIBSDL2 ++ VBoxSDL_SDKS = LIBSDL + VBoxSDL_SOURCES = \ + VBoxSDL.cpp \ + Framebuffer.cpp \ +@@ -81,7 +81,7 @@ if !defined(VBOX_WITH_HARDENING) || "$(K + endif + ifn1of ($(KBUILD_TARGET), solaris) # Probably wrong with SDL2 + VBoxSDL_LIBS = \ +- $(LIB_SDK_LIBSDL2_SDLMAIN) ++ $(LIB_SDK_LIBSDL_SDLMAIN) + endif + if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) # X11 + VBoxSDL_LIBS += \ +@@ -121,7 +121,7 @@ if !defined(VBOX_WITH_HARDENING) || "$(K + if 0 + PROGRAMS += tstSDL + tstSDL_TEMPLATE = VBoxR3TstExe +- tstSDL_SDKS = LIBSDL2 ++ tstSDL_SDKS = LIBSDL + tstSDL_INST = $(INST_TESTCASE) + tstSDL_SOURCES = \ + VBoxSDLTest.cpp +@@ -138,7 +138,7 @@ if !defined(VBOX_WITH_HARDENING) || "$(K + $(LIB_RUNTIME) + ifn1of ($(KBUILD_TARGET), solaris) + tstSDL_LIBS += \ +- $(LIB_SDK_LIBSDL2_SDLMAIN) ++ $(LIB_SDK_LIBSDL_SDLMAIN) + endif + + ifdef VBOX_OPENGL diff --git a/fix_usb_rules.sh b/fix_usb_rules.sh new file mode 100644 index 0000000..32e8e4f --- /dev/null +++ b/fix_usb_rules.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# script to disable USB passthru in /etc/udev/rules.d/60-vboxdrv.rules +# if already disabled, clear the comment character +sed -i 's/#SUBSYSTEM==\"usb/SUBSYSTEM==\"usb/' /usr/lib/udev/rules.d/60-vboxdrv.rules +# now comment the usb lines +sed -i 's/SUBSYSTEM==\"usb/#SUBSYSTEM==\"usb/' /usr/lib/udev/rules.d/60-vboxdrv.rules + diff --git a/fixes_for_gcc13.patch b/fixes_for_gcc13.patch new file mode 100644 index 0000000..a4ece58 --- /dev/null +++ b/fixes_for_gcc13.patch @@ -0,0 +1,26 @@ +Index: VirtualBox-7.0.18/src/libs/dxvk-native-1.9.2a/src/util/util_bit.h +=================================================================== +--- VirtualBox-7.0.18.orig/src/libs/dxvk-native-1.9.2a/src/util/util_bit.h ++++ VirtualBox-7.0.18/src/libs/dxvk-native-1.9.2a/src/util/util_bit.h +@@ -13,6 +13,7 @@ + #include + #endif + ++#include + #include "util_likely.h" + #include "util_math.h" + +Index: VirtualBox-7.0.18/src/VBox/Additions/x11/x11include/XFree86-4.3/Xserver/misc.h +=================================================================== +--- VirtualBox-7.0.18.orig/src/VBox/Additions/x11/x11include/XFree86-4.3/Xserver/misc.h ++++ VirtualBox-7.0.18/src/VBox/Additions/x11/x11include/XFree86-4.3/Xserver/misc.h +@@ -66,6 +66,9 @@ TORTIOUS ACTION, ARISING OUT OF OR IN CO + OF THIS SOFTWARE. + + ******************************************************************/ ++ ++#define __STDC_HOSTED__ 1 ++ + /* $Xorg: misc.h,v 1.5 2001/02/09 02:05:15 xorgcvs Exp $ */ + #ifndef MISC_H + #define MISC_H 1 diff --git a/fixes_for_leap.patch b/fixes_for_leap.patch new file mode 100644 index 0000000..0352843 --- /dev/null +++ b/fixes_for_leap.patch @@ -0,0 +1,516 @@ +Index: VirtualBox-7.0.14/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c ++++ VirtualBox-7.0.14/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c +@@ -89,6 +89,17 @@ + #define VBOXNETFLT_OS_SPECFIC 1 + #include "../VBoxNetFltInternal.h" + ++# if defined(CONFIG_SUSE_VERSION) && CONFIG_SUSE_VERSION == 15 && CONFIG_SUSE_PATCHLEVEL == 6 ++# define OPENSUSE_156 ++# endif ++# if defined(CONFIG_SUSE_VERSION) && CONFIG_SUSE_VERSION == 15 && CONFIG_SUSE_PATCHLEVEL == 5 ++# define OPENSUSE_155 ++# endif ++ ++#if RTLNX_SUSE_MAJ_PREREQ(15, 6) ++#include ++#endif ++ + typedef struct VBOXNETFLTNOTIFIER { + struct notifier_block Notifier; + PVBOXNETFLTINS pThis; +Index: VirtualBox-7.0.14/src/VBox/Additions/linux/drm/vbox_drv.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/linux/drm/vbox_drv.c ++++ VirtualBox-7.0.14/src/VBox/Additions/linux/drm/vbox_drv.c +@@ -39,6 +39,7 @@ + #include "vbox_drv.h" + + #include ++ + #if RTLNX_VER_MIN(5,1,0) || RTLNX_RHEL_MAJ_PREREQ(8,1) + # include + #endif +@@ -342,12 +343,15 @@ static void vbox_master_drop(struct drm_ + } + + static struct drm_driver driver = { +-#if RTLNX_VER_MAX(5,4,0) && !RTLNX_RHEL_MAJ_PREREQ(8,3) && !RTLNX_SUSE_MAJ_PREREQ(15,3) +- .driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_HAVE_IRQ | ++#if RTLNX_VER_MAX(5,4,0) ++ .driver_features = ++#if defined(OPENSUSE_152) ++ DRIVER_PRIME | ++#endif + # if RTLNX_VER_MAX(5,1,0) && !RTLNX_RHEL_MAJ_PREREQ(8,1) + DRIVER_IRQ_SHARED | + # endif +- DRIVER_PRIME, ++ DRIVER_MODESET | DRIVER_GEM | DRIVER_HAVE_IRQ, + #else /* >= 5.4.0 && RHEL >= 8.3 && SLES >= 15-SP3 */ + .driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_HAVE_IRQ, + #endif /* < 5.4.0 */ +@@ -395,7 +399,7 @@ static struct drm_driver driver = { + #endif + .gem_prime_import = drm_gem_prime_import, + .gem_prime_import_sg_table = vbox_gem_prime_import_sg_table, +-#if RTLNX_VER_MAX(6,6,0) && !RTLNX_RHEL_RANGE(9,4, 9,99) ++#if RTLNX_VER_MAX(6,4,0) && !RTLNX_RHEL_RANGE(9,4, 9,99) + .gem_prime_mmap = vbox_gem_prime_mmap, + #endif + +Index: VirtualBox-7.0.14/src/VBox/Additions/linux/drm/vbox_main.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/linux/drm/vbox_main.c ++++ VirtualBox-7.0.14/src/VBox/Additions/linux/drm/vbox_main.c +@@ -663,8 +663,12 @@ static inline u64 vbox_bo_mmap_offset(st + #elif RTLNX_VER_MAX(3,12,0) && !RTLNX_RHEL_MAJ_PREREQ(7,0) + return bo->bo.addr_space_offset; + #else ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) ++ return drm_vma_node_offset_addr(&bo->bo.base.vma_node); ++#else + return drm_vma_node_offset_addr(&bo->bo.vma_node); + #endif /* >= 5.4.0 */ ++#endif + } + + int +Index: VirtualBox-7.0.14/include/iprt/cdefs.h +=================================================================== +--- VirtualBox-7.0.14.orig/include/iprt/cdefs.h ++++ VirtualBox-7.0.14/include/iprt/cdefs.h +@@ -1399,14 +1399,15 @@ + #if RT_CLANG_PREREQ(4, 0) && RT_CPLUSPLUS_PREREQ(201100) + # define RT_FALL_THROUGH() [[clang::fallthrough]] + #elif RT_CLANG_PREREQ(12, 0) || 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 +Index: VirtualBox-7.0.14/kBuild/header.kmk +=================================================================== +--- VirtualBox-7.0.14.orig/kBuild/header.kmk ++++ VirtualBox-7.0.14/kBuild/header.kmk +@@ -764,7 +764,7 @@ RMDIR_EXT := $(KBUILD_BIN_PATH)/kmk_rm + RMDIR_INT := kmk_builtin_rmdir + RMDIR := $(RMDIR_INT) + +-SED_EXT := $(KBUILD_BIN_PATH)/kmk_sed$(HOSTSUFF_EXE) ++SED_EXT := /usr/bin/kmk_sed$(HOSTSUFF_EXE) + SED_INT := $(SED_EXT) + SED := $(SED_EXT) + +Index: VirtualBox-7.0.14/configure +=================================================================== +--- VirtualBox-7.0.14.orig/configure ++++ VirtualBox-7.0.14/configure +@@ -2039,7 +2039,7 @@ check_kbuild() + fi + echo "export KBUILD_PATH KBUILD_DEVTOOLS PATH" >> $ENV + echo "unset path_kbuild_bin path_tools_bin" >> $ENV +- KBUILD_SED="$KBUILDDIR_BIN/kmk_sed" ++ KBUILD_SED="/usr/bin/kmk_sed" + + echo '' >> $ENV + echo "# Legacy - do not use:" >> $ENV +@@ -2049,7 +2049,7 @@ check_kbuild() + echo '' >> $ENV + elif check_avail "kmk" KBUILDDIR really; then + # check for installed kBuild +- KBUILD_SED="`which_wrapper kmk_sed`" ++ KBUILD_SED="/usr/bin/kmk_sed" + else + fail + fi +Index: VirtualBox-7.0.14/tools/bin/backport-commit.sh +=================================================================== +--- VirtualBox-7.0.14.orig/tools/bin/backport-commit.sh ++++ VirtualBox-7.0.14/tools/bin/backport-commit.sh +@@ -29,7 +29,7 @@ + # + # Determin script dir so we can source the common bits. + # +-MY_SED=kmk_sed ++MY_SED=/usr/bin/kmk_sed + MY_SCRIPT_DIR=`echo "$0" | "${MY_SED}" -e 's|\\\|/|g' -e 's|^\(.*\)/[^/][^/]*$|\1|'` # \ -> / is for windows. + if test "${MY_SCRIPT_DIR}" = "$0"; then + MY_SCRIPT_DIR=`pwd -L` +Index: VirtualBox-7.0.14/tools/bin/backport-common.sh +=================================================================== +--- VirtualBox-7.0.14.orig/tools/bin/backport-common.sh ++++ VirtualBox-7.0.14/tools/bin/backport-common.sh +@@ -1,4 +1,4 @@ +-# $Id: backport-common.sh $ ++ $Id: backport-common.sh $ + ## @file + # Common backport script bits. + # +@@ -33,7 +33,7 @@ + MY_PRINTF=kmk_printf + MY_RM=kmk_rm + MY_SVN=svn +- MY_SED=kmk_sed ++ MY_SED=/usr/bin/kmk_sed + + # + # Functions. +Index: VirtualBox-7.0.14/tools/bin/backport-merge-and-commit.sh +=================================================================== +--- VirtualBox-7.0.14.orig/tools/bin/backport-merge-and-commit.sh ++++ VirtualBox-7.0.14/tools/bin/backport-merge-and-commit.sh +@@ -29,7 +29,7 @@ + # + # Determin script dir so we can invoke the two worker scripts. + # +-MY_SED=kmk_sed ++MY_SED=/usr/bin/kmk_sed + MY_SCRIPT_DIR=`echo "$0" | "${MY_SED}" -e 's|\\\|/|g' -e 's|^\(.*\)/[^/][^/]*$|\1|'` # \ -> / is for windows. + if test "${MY_SCRIPT_DIR}" = "$0"; then + MY_SCRIPT_DIR=`pwd -L` +Index: VirtualBox-7.0.14/tools/bin/backport-merge.sh +=================================================================== +--- VirtualBox-7.0.14.orig/tools/bin/backport-merge.sh ++++ VirtualBox-7.0.14/tools/bin/backport-merge.sh +@@ -29,7 +29,7 @@ + # + # Determin script dir so we can source the common bits. + # +-MY_SED=kmk_sed ++MY_SED=/usr/bin/kmk_sed + MY_SCRIPT_DIR=`echo "$0" | "${MY_SED}" -e 's|\\\|/|g' -e 's|^\(.*\)/[^/][^/]*$|\1|'` # \ -> / is for windows. + if test "${MY_SCRIPT_DIR}" = "$0"; then + MY_SCRIPT_DIR=`pwd -L` +Index: VirtualBox-7.0.14/src/VBox/Main/Makefile.kmk +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Main/Makefile.kmk ++++ VirtualBox-7.0.14/src/VBox/Main/Makefile.kmk +@@ -264,7 +264,7 @@ $(VBOX_XIDL_FILE).ts +| $(VBOX_XIDL_FILE + | $$(dir $$@) + $(call KB_FN_AUTO_CMD_DEPS_COMMANDS) + $(QUIET)$(VBOX_XSLTPROC) -o $(VBOX_XIDL_FILE).ts-tmp $(VBOX_PATH_MAIN_SRC)/idl/docstrip.xsl $(VBOX_XIDL_FILE_SRC) +- $(QUIET)$(SED) -e 's/ *$(DOLLAR)//g' -e '/^$(DOLLAR)/d' --output $(VBOX_XIDL_FILE).ts $(VBOX_XIDL_FILE).ts-tmp ++ /usr/bin/kmk_sed -e 's/ *$(DOLLAR)//g' -e '/^$(DOLLAR)/d' --output $(VBOX_XIDL_FILE).ts $(VBOX_XIDL_FILE).ts-tmp + $(QUIET)$(RM) -- $(VBOX_XIDL_FILE).ts-tmp + $(QUIET)$(CP) --changed -fv -- $(VBOX_XIDL_FILE).ts $(VBOX_XIDL_FILE) + +Index: VirtualBox-7.0.14/src/VBox/Runtime/Makefile.kmk +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Runtime/Makefile.kmk ++++ VirtualBox-7.0.14/src/VBox/Runtime/Makefile.kmk +@@ -4421,6 +4421,7 @@ $(foreach lib,RuntimeR3 RuntimeBldProg V + # + # Generate the status code data. + # ++SED = "/usr/bin/kmk_sed" + $(IPRT_OUT_DIR)/errmsgdata.h: \ + $(VBOX_PATH_RUNTIME_SRC)/common/err/errmsg.sed \ + $(PATH_ROOT)/include/iprt/err.h \ +Index: VirtualBox-7.0.14/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h ++++ VirtualBox-7.0.14/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h +@@ -147,9 +147,9 @@ + #include + #include + #include +-#if RTLNX_VER_MIN(5,9,0) || RTLNX_SUSE_MAJ_PREREQ(15,3) /* linux/fs.h defined HAVE_UNLOCKED_IOCTL from 2.6.11 up to 5.9 (also 5.3.18-56 in SLES15-SP3), when it became an implicit assumption. */ ++//#if RTLNX_VER_MIN(5,9,0) || RTLNX_SUSE_MAJ_PREREQ(15,3) /* linux/fs.h defined HAVE_UNLOCKED_IOCTL from 2.6.11 up to 5.9 (also 5.3.18-56 in SLES15-SP3), when it became an implicit assumption. */ + # define HAVE_UNLOCKED_IOCTL 1 /* We use this in a couple of places, so for now just define it for 5.9+ too. */ +-#endif ++//#endif + #if !defined(HAVE_UNLOCKED_IOCTL) && RTLNX_VER_MAX(2,6,38) + # include + #endif +Index: VirtualBox-7.0.14/src/libs/xpcom18a4/python/src/PyXPCOM.h +=================================================================== +--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/python/src/PyXPCOM.h ++++ VirtualBox-7.0.14/src/libs/xpcom18a4/python/src/PyXPCOM.h +@@ -191,7 +191,7 @@ extern "C" PyAPI_FUNC(const char *) PyUn + # endif + + /* PyUnicode_AsUTF8 is just PyUnicode_AsUTF8AndSize without returning a size. */ +-# define PyUnicode_AsUTF8(o) PyUnicode_AsUTF8AndSize(o, NULL) ++// # define PyUnicode_AsUTF8(o) (const char *)PyUnicode_AsUTF8AndSize(o, NULL) + + DECLINLINE(int) PyRun_SimpleString(const char *pszCode) + { +Index: VirtualBox-7.0.14/src/libs/xpcom18a4/python/src/ErrorUtils.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/python/src/ErrorUtils.cpp ++++ VirtualBox-7.0.14/src/libs/xpcom18a4/python/src/ErrorUtils.cpp +@@ -121,7 +121,7 @@ void DoLogMessage(const char *methodName + #if PY_MAJOR_VERSION <= 2 + c += PyString_AsString(repr); + #else +- c += PyUnicode_AsUTF8(repr); ++ c += PyUnicode_AsUTF8AndSize(repr, NULL); + #endif + Py_DECREF(repr); + } +@@ -203,7 +203,7 @@ PRBool PyXPCOM_FormatGivenException(nsCS + #if PY_MAJOR_VERSION <= 2 + streamout += PyString_AsString(temp); + #else +- streamout += PyUnicode_AsUTF8(temp); ++ streamout += PyUnicode_AsUTF8AndSize(temp, NULL); + #endif + Py_DECREF(temp); + } else +@@ -215,7 +215,7 @@ PRBool PyXPCOM_FormatGivenException(nsCS + #if PY_MAJOR_VERSION <= 2 + streamout += PyString_AsString(temp); + #else +- streamout += PyUnicode_AsUTF8(temp); ++ streamout += PyUnicode_AsUTF8AndSize(temp, NULL); + #endif + Py_DECREF(temp); + } else +@@ -440,10 +440,10 @@ char *PyTraceback_AsString(PyObject *exc + #if PY_MAJOR_VERSION <= 2 + char *tempResult = (char *)PyString_AsString(obResult); + #elif PY_MINOR_VERSION <= 6 +- char *tempResult = (char *)PyUnicode_AsUTF8(obResult); ++ char *tempResult = (char *)PyUnicode_AsUTF8AndSize(obResult, NULL); + #else + /* PyUnicode_AsUTF8() is const char * as of Python 3.7, char * earlier. */ +- const char *tempResult = (const char *)PyUnicode_AsUTF8(obResult); ++ const char *tempResult = (const char *)PyUnicode_AsUTF8AndSize(obResult, NULL); + #endif + result = (char *)PyMem_Malloc(strlen(tempResult)+1); + if (result==NULL) +Index: VirtualBox-7.0.14/src/libs/xpcom18a4/python/src/PyGBase.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/python/src/PyGBase.cpp ++++ VirtualBox-7.0.14/src/libs/xpcom18a4/python/src/PyGBase.cpp +@@ -117,7 +117,7 @@ PyG_Base::PyG_Base(PyObject *instance, c + #if PY_MAJOR_VERSION <= 2 + szRepr = PyString_AsString(r); + #else +- szRepr = PyUnicode_AsUTF8(r); ++ szRepr = PyUnicode_AsUTF8AndSize(r, NULL); + #endif + if (szRepr==NULL) szRepr = ""; + int reprOffset = *szRepr=='<' ? 1 : 0; +Index: VirtualBox-7.0.14/src/libs/xpcom18a4/python/src/PyIID.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/python/src/PyIID.cpp ++++ VirtualBox-7.0.14/src/libs/xpcom18a4/python/src/PyIID.cpp +@@ -137,7 +137,7 @@ Py_nsIID::IIDFromPyObject(PyObject *ob, + ok = iid.Parse(PyString_AsString(ob)); + #else + if (PyUnicode_Check(ob)) { +- ok = iid.Parse(PyUnicode_AsUTF8(ob)); ++ ok = iid.Parse(PyUnicode_AsUTF8AndSize(ob, NULL)); + #endif + if (!ok) { + PyXPCOM_BuildPyException(NS_ERROR_ILLEGAL_VALUE); +Index: VirtualBox-7.0.14/src/libs/xpcom18a4/python/src/VariantUtils.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/python/src/VariantUtils.cpp ++++ VirtualBox-7.0.14/src/libs/xpcom18a4/python/src/VariantUtils.cpp +@@ -141,7 +141,7 @@ PyObject *PyObject_FromNSString( const n + #if PY_MAJOR_VERSION <= 2 + char* dest = (char *)PyString_AS_STRING(ret); + #else +- char* dest = (char *)PyUnicode_AsUTF8(ret); ++ char* dest = (char *)PyUnicode_AsUTF8AndSize(ret, NULL); + #endif + copy_string(s.BeginReading(fromBegin), s.EndReading(fromEnd), dest); + } +@@ -393,7 +393,7 @@ PRBool FillSingleArray(void *array_ptr, + #if PY_MAJOR_VERSION <= 2 + sequence_ob = PyObject_Str(sequence_ob); + #else +- sequence_ob = PyUnicode_AsUTF8String(sequence_ob); ++ sequence_ob = (PyObject *)PyUnicode_AsUTF8AndSize(sequence_ob, NULL); + #endif + } else + release_seq = PR_FALSE; +@@ -402,7 +402,7 @@ PRBool FillSingleArray(void *array_ptr, + #if PY_MAJOR_VERSION <= 2 + memcpy(pthis, PyString_AS_STRING(sequence_ob), sequence_size); + #else +- memcpy(pthis, PyUnicode_AsUTF8(sequence_ob), sequence_size); ++ memcpy(pthis, PyUnicode_AsUTF8AndSize(sequence_ob, NULL), sequence_size); + #endif + if (release_seq) + { +@@ -477,7 +477,7 @@ PRBool FillSingleArray(void *array_ptr, + PyErr_SetString(PyExc_TypeError, "This parameter must be a unicode object"); + BREAK_FALSE; + } +- FILL_SIMPLE_POINTER( char, *PyUnicode_AsUTF8(val) ); ++ FILL_SIMPLE_POINTER( char, *PyUnicode_AsUTF8AndSize(val, NULL) ); + #endif + break; + +@@ -549,7 +549,7 @@ PRBool FillSingleArray(void *array_ptr, + PyErr_SetString(PyExc_TypeError, "This parameter must be a unicode object"); + BREAK_FALSE; + } +- if ((val_use = PyUnicode_AsUTF8String(val))==NULL) ++ if ((val_use = (PyObject *)PyUnicode_AsUTF8AndSize(val, NULL))==NULL) + BREAK_FALSE; + + const char *sz = PyBytes_AS_STRING(val_use); +Index: VirtualBox-7.0.14/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp ++++ VirtualBox-7.0.14/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp +@@ -710,7 +710,7 @@ static const char *keyModToStr(unsigned + RT_CASE_RET_STR(KMOD_NUM); + RT_CASE_RET_STR(KMOD_CAPS); + RT_CASE_RET_STR(KMOD_MODE); +- RT_CASE_RET_STR(KMOD_SCROLL); ++ RT_CASE_RET_STR(KMOD_RESERVED); + default: + break; + } +Index: VirtualBox-7.0.14/src/VBox/Additions/linux/drm/vbox_drv.h +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/linux/drm/vbox_drv.h ++++ VirtualBox-7.0.14/src/VBox/Additions/linux/drm/vbox_drv.h +@@ -39,6 +39,7 @@ + # pragma once + #endif + ++ + #include + + /* iprt/linux/version.h copy - start */ +Index: VirtualBox-7.0.14/src/VBox/Additions/linux/drm/vbox_ttm.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/linux/drm/vbox_ttm.c ++++ VirtualBox-7.0.14/src/VBox/Additions/linux/drm/vbox_ttm.c +@@ -38,6 +38,10 @@ + # include + #endif + ++# if defined(CONFIG_SUSE_VERSION) && CONFIG_SUSE_VERSION == 15 && CONFIG_SUSE_PATCHLEVEL == 5 ++# define OPENSUSE_155 ++# endif ++ + #if RTLNX_VER_MIN(5,11,0) || RTLNX_RHEL_MAJ_PREREQ(8,5) + # include + # include +@@ -330,11 +334,9 @@ static struct ttm_tt *vbox_ttm_tt_create + #else + if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) { + #endif +- + kfree(tt); + return NULL; + } +- + return tt; + } + +Index: VirtualBox-7.0.14/src/VBox/Additions/linux/drm/vbox_fb.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/linux/drm/vbox_fb.c ++++ VirtualBox-7.0.14/src/VBox/Additions/linux/drm/vbox_fb.c +@@ -47,6 +47,7 @@ + #include + #include + #include ++#include + + #include + +@@ -196,7 +197,7 @@ static struct fb_ops vboxfb_ops = { + .owner = THIS_MODULE, + .fb_check_var = drm_fb_helper_check_var, + .fb_set_par = drm_fb_helper_set_par, +-#if RTLNX_VER_MIN(6,5,0) || RTLNX_RHEL_RANGE(9,4, 9,99) ++#if RTLNX_VER_MIN(6, 4, 0) || RTLNX_RHEL_RANGE(9,4, 9,99) + .fb_read = fb_sys_read, + .fb_write = fb_sys_write, + .fb_fillrect = sys_fillrect, +@@ -351,7 +352,7 @@ static int vboxfb_create(struct drm_fb_h + * The last flag forces a mode set on VT switches even if the kernel + * does not think it is needed. + */ +-#if RTLNX_VER_MIN(6,6,0) ++#if RTLNX_VER_MIN(6,4,0) + info->flags = FBINFO_MISC_ALWAYS_SETPAR; + #else + info->flags = FBINFO_DEFAULT | FBINFO_MISC_ALWAYS_SETPAR; +Index: VirtualBox-7.0.14/src/VBox/Additions/linux/drm/vbox_mode.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/linux/drm/vbox_mode.c ++++ VirtualBox-7.0.14/src/VBox/Additions/linux/drm/vbox_mode.c +@@ -53,6 +53,7 @@ + #if RTLNX_VER_MIN(6,0,0) || RTLNX_RHEL_RANGE(8,8, 8,99) || RTLNX_RHEL_MAJ_PREREQ(9,2) || RTLNX_SUSE_MAJ_PREREQ(15,5) + # include + #endif ++#include + + #include "VBoxVideo.h" + +Index: VirtualBox-7.0.14/src/VBox/HostDrivers/VBoxNetAdp/linux/VBoxNetAdp-linux.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/HostDrivers/VBoxNetAdp/linux/VBoxNetAdp-linux.c ++++ VirtualBox-7.0.14/src/VBox/HostDrivers/VBoxNetAdp/linux/VBoxNetAdp-linux.c +@@ -77,7 +77,7 @@ + #define VBOXNETADP_FROM_IFACE(iface) ((PVBOXNETADP) ifnet_softc(iface)) + + /** Set netdev MAC address. */ +-#if RTLNX_VER_MIN(5,17,0) ++#if RTLNX_VER_MIN(5,17,0) || RTLNX_SUSE_MAJ_PREREQ(15,5) + # define VBOX_DEV_ADDR_SET(dev, addr, len) dev_addr_mod(dev, 0, addr, len) + #else /* < 5.17.0 */ + # define VBOX_DEV_ADDR_SET(dev, addr, len) memcpy(dev->dev_addr, addr, len) +Index: VirtualBox-7.0.14/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c ++++ VirtualBox-7.0.14/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c +@@ -1342,7 +1342,7 @@ DECLHIDDEN(int) rtR0MemObjNativeLockUser + fWrite, /* force write access. */ + # endif + &pMemLnx->apPages[0] /* Page array. */ +-# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0) ++# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0) && !RTLNX_SUSE_MAJ_PREREQ(15, 6) + , papVMAs /* vmas */ + # endif + ); +@@ -1389,7 +1389,7 @@ DECLHIDDEN(int) rtR0MemObjNativeLockUser + fWrite, /* force write access. */ + # endif + &pMemLnx->apPages[0] /* Page array. */ +-# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0) ++# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0) && && !defined(OPENSUSE_156) + , papVMAs /* vmas */ + # endif + ); +Index: VirtualBox-7.0.14/src/VBox/Additions/linux/sharedfolders/regops.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/linux/sharedfolders/regops.c ++++ VirtualBox-7.0.14/src/VBox/Additions/linux/sharedfolders/regops.c +@@ -270,8 +270,12 @@ static ssize_t vbsf_iov_iter_get_pages(s + size_t cPagesLocked; + + down_read(&pTask->mm->mmap_sem); +- cPagesLocked = get_user_pages(pTask, pTask->mm, uPtrFrom, cPages, iter->v_write, 1 /*force*/, papPages, NULL); +- up_read(&pTask->mm->mmap_sem); ++#if defined(OPENSUSE_156) ++ cPagesLocked = get_user_pages(pTask, pTask->mm, uPtrFrom, cPages); ++#else ++ cPagesLocked = get_user_pages(pTask, pTask->mm, uPtrFrom, cPages, iter->v_write, 1 /*force*/, papPages, NULL); ++#endif ++ up_read(&pTask->mm->mmap_sem); + if (cPagesLocked == cPages) { + size_t cbRet = (cPages << PAGE_SHIFT) - offPg0; + if (cPages == cPagesLeft) { diff --git a/fixes_for_leap15.6.patch b/fixes_for_leap15.6.patch new file mode 100644 index 0000000..744e517 --- /dev/null +++ b/fixes_for_leap15.6.patch @@ -0,0 +1,110 @@ +Index: VirtualBox-7.0.14/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c ++++ VirtualBox-7.0.14/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c +@@ -1292,9 +1292,6 @@ DECLHIDDEN(int) rtR0MemObjNativeLockUser + IPRT_LINUX_SAVE_EFL_AC(); + const int cPages = cb >> PAGE_SHIFT; + struct task_struct *pTask = rtR0ProcessToLinuxTask(R0Process); +-# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0) +- struct vm_area_struct **papVMAs; +-# endif + PRTR0MEMOBJLNX pMemLnx; + int rc = VERR_NO_MEMORY; + int const fWrite = fAccess & RTMEM_PROT_WRITE ? 1 : 0; +@@ -1318,11 +1315,6 @@ DECLHIDDEN(int) rtR0MemObjNativeLockUser + return VERR_NO_MEMORY; + } + +-# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0) +- papVMAs = (struct vm_area_struct **)RTMemAlloc(sizeof(*papVMAs) * cPages); +- if (papVMAs) +- { +-# endif + LNX_MM_DOWN_READ(pTask->mm); + + /* +@@ -1342,9 +1334,6 @@ DECLHIDDEN(int) rtR0MemObjNativeLockUser + fWrite, /* force write access. */ + # endif + &pMemLnx->apPages[0] /* Page array. */ +-# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0) && !RTLNX_SUSE_MAJ_PREREQ(15, 6) +- , papVMAs /* vmas */ +-# endif + ); + /* + * Actually this should not happen at the moment as call this function +@@ -1367,12 +1356,7 @@ DECLHIDDEN(int) rtR0MemObjNativeLockUser + fWrite, /* force write access. */ + # endif + &pMemLnx->apPages[0] /* Page array. */ +-# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0) +- , papVMAs /* vmas */ +-# endif +-# if GET_USER_PAGES_API >= KERNEL_VERSION(4, 10, 0) +- , NULL /* locked */ +-# endif ++ , NULL, NULL + ); + #else /* GET_USER_PAGES_API < KERNEL_VERSION(4, 6, 0) */ + rc = get_user_pages(pTask, /* Task for fault accounting. */ +@@ -1389,9 +1373,6 @@ DECLHIDDEN(int) rtR0MemObjNativeLockUser + fWrite, /* force write access. */ + # endif + &pMemLnx->apPages[0] /* Page array. */ +-# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0) && && !defined(OPENSUSE_156) +- , papVMAs /* vmas */ +-# endif + ); + #endif /* GET_USER_PAGES_API < KERNEL_VERSION(4, 6, 0) */ + if (rc == cPages) +@@ -1415,21 +1396,10 @@ DECLHIDDEN(int) rtR0MemObjNativeLockUser + while (rc-- > 0) + { + flush_dcache_page(pMemLnx->apPages[rc]); +-# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0) +-# if RTLNX_VER_MIN(6,3,0) +- vm_flags_set(papVMAs[rc], VM_DONTCOPY | VM_LOCKED); +-# else +- papVMAs[rc]->vm_flags |= VM_DONTCOPY | VM_LOCKED; +-# endif +-# endif + } + + LNX_MM_UP_READ(pTask->mm); + +-# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0) +- RTMemFree(papVMAs); +-# endif +- + pMemLnx->Core.u.Lock.R0Process = R0Process; + pMemLnx->cPages = cPages; + Assert(!pMemLnx->fMappedToRing0); +@@ -1457,11 +1427,6 @@ DECLHIDDEN(int) rtR0MemObjNativeLockUser + + rc = VERR_LOCK_FAILED; + +-# if GET_USER_PAGES_API < KERNEL_VERSION(6, 5, 0) +- RTMemFree(papVMAs); +- } +-# endif +- + rtR0MemObjDelete(&pMemLnx->Core); + IPRT_LINUX_RESTORE_EFL_AC(); + return rc; +Index: VirtualBox-7.0.14/src/VBox/Additions/linux/sharedfolders/regops.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/linux/sharedfolders/regops.c ++++ VirtualBox-7.0.14/src/VBox/Additions/linux/sharedfolders/regops.c +@@ -270,11 +270,7 @@ static ssize_t vbsf_iov_iter_get_pages(s + size_t cPagesLocked; + + down_read(&pTask->mm->mmap_sem); +-#if defined(OPENSUSE_156) + cPagesLocked = get_user_pages(pTask, pTask->mm, uPtrFrom, cPages); +-#else +- cPagesLocked = get_user_pages(pTask, pTask->mm, uPtrFrom, cPages, iter->v_write, 1 /*force*/, papPages, NULL); +-#endif + up_read(&pTask->mm->mmap_sem); + if (cPagesLocked == cPages) { + size_t cbRet = (cPages << PAGE_SHIFT) - offPg0; diff --git a/fixes_for_makefile.patch b/fixes_for_makefile.patch new file mode 100644 index 0000000..fcb6ee3 --- /dev/null +++ b/fixes_for_makefile.patch @@ -0,0 +1,826 @@ +Index: VirtualBox-7.0.14/src/VBox/HostDrivers/linux/Makefile +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/HostDrivers/linux/Makefile ++++ VirtualBox-7.0.14/src/VBox/HostDrivers/linux/Makefile +@@ -43,11 +43,8 @@ obj-m = vboxdrv/ + obj-m += vboxnetflt/ + endif + ifneq ($(wildcard $(CURDIR)/vboxnetadp/Makefile),) +-obj-m += vboxnetadp/ +- endif +- ifneq ($(wildcard $(CURDIR)/vboxpci/Makefile),) +-obj-m += vboxpci/ +- endif ++ obj-m += vboxnetadp/ ++endif + + else # ! KERNELRELEASE + +@@ -62,12 +59,14 @@ SUDO := + endif + + KBUILD_VERBOSE ?= ++PWD ?= $(shell pwd) ++ + .PHONY: all install clean check unload load \ +- vboxdrv vboxnetflt vboxnetadp vboxpci \ +- install-vboxdrv install-vboxnetflt install-vboxnetadp install-vboxpci \ +- clean-vboxdrv clean-vboxnetflt clean-vboxnetadp clean-vboxpci ++ vboxdrv vboxnetflt vboxnetadp \ ++ install-vboxdrv install-vboxnetflt install-vboxnetadp \ ++ clean-vboxdrv clean-vboxnetflt clean-vboxnetadp + +-all: vboxdrv vboxnetflt vboxnetadp vboxpci ++all: vboxdrv vboxnetflt vboxnetadp + + # We want to build on Linux 2.6.18 and later kernels. + KERN_VER ?= $(shell uname -r) +@@ -81,56 +80,38 @@ vboxdrv: + + vboxnetflt: vboxdrv + +@if [ -d vboxnetflt ]; then \ +- if [ -f vboxdrv/Module.symvers ]; then \ +- cp vboxdrv/Module.symvers vboxnetflt; \ +- fi; \ ++ export KBUILD_EXTRA_SYMBOLS=${PWD}/vboxdrv/Module.symvers; \ + echo "=== Building 'vboxnetflt' module ==="; \ +- $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) KBUILD_EXTRA_SYMBOLS=$(abspath vboxnetflt/Module.symvers) -C vboxnetflt || exit 1; \ ++ $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) KBUILD_EXTRA_SYMBOLS=$(abspath vboxdrv/Module.symvers) -C vboxnetflt || exit 1; \ + cp vboxnetflt/vboxnetflt.ko .; \ + echo; \ + fi + + vboxnetadp: vboxdrv + +@if [ -d vboxnetadp ]; then \ +- if [ -f vboxdrv/Module.symvers ]; then \ +- cp vboxdrv/Module.symvers vboxnetadp; \ +- fi; \ ++ export KBUILD_EXTRA_SYMBOLS=${PWD}/vboxdrv/Module.symvers; \ + echo "=== Building 'vboxnetadp' module ==="; \ +- $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) KBUILD_EXTRA_SYMBOLS=$(abspath vboxnetadp/Module.symvers) -C vboxnetadp || exit 1; \ ++ $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) KBUILD_EXTRA_SYMBOLS=$(abspath vboxdrv/Module.symvers) -C vboxnetadp || exit 1; \ + cp vboxnetadp/vboxnetadp.ko .; \ + echo; \ + fi + +-vboxpci: vboxdrv +- +@if [ -d vboxpci ]; then \ +- if [ -f vboxdrv/Module.symvers ]; then \ +- cp vboxdrv/Module.symvers vboxpci; \ +- fi; \ +- echo "=== Building 'vboxpci' module ==="; \ +- $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) KBUILD_EXTRA_SYMBOLS=$(abspath vboxpci/Module.symvers) -C vboxpci || exit 1; \ +- cp vboxpci/vboxpci.ko .; \ +- echo; \ +- fi +- + install-vboxdrv: + +@$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxdrv install + + install-vboxnetflt: + +@if [ -d vboxnetflt ]; then \ ++ export KBUILD_EXTRA_SYMBOLS=${PWD}/vboxdrv/Module.symvers; \ + $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxnetflt install; \ + fi + + install-vboxnetadp: + +@if [ -d vboxnetadp ]; then \ ++ export KBUILD_EXTRA_SYMBOLS=${PWD}/vboxdrv/Module.symvers; \ + $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxnetadp install; \ + fi + +-install-vboxpci: +- +@if [ -d vboxpci ]; then \ +- $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxpci install; \ +- fi +- +-install: install-vboxdrv install-vboxnetflt install-vboxnetadp install-vboxpci ++install: install-vboxdrv install-vboxnetflt install-vboxnetadp + + # Look for wrapper modules, sorting them so vmmr0 is first. + VBOX_WRAPPER_DIRS := $(notdir $(wildcard $(CURDIR)/vbox_*)) +@@ -140,6 +121,9 @@ VBOX_WRAPPER_DIRS := $(filter vbox_vmmr0 + define wrapper_template + $(wrapper): $(subst $(wrapper),,vbox_vmmr0) + +$$(MAKE) KBUILD_VERBOSE=$$(KBUILD_VERBOSE) -C $(wrapper)/ ++vboxnetflt: ++vboxnetadp: ++install: + + load-$(wrapper): $(subst load-$(wrapper),,load-vbox_vmmr0) + @if ! grep -q "^$(wrapper) " /proc/modules; then \ +@@ -217,19 +201,13 @@ clean-vboxnetadp: + fi + rm -rf vboxnetadp.ko + +-clean-vboxpci: +- +@if [ -d vboxpci ]; then \ +- $(MAKE) -C vboxpci clean; \ +- fi +- rm -f vboxpci.ko +- +-clean: clean-vboxdrv clean-vboxnetflt clean-vboxnetadp clean-vboxpci ++clean: clean-vboxdrv clean-vboxnetflt clean-vboxnetadp + + check: + +@$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxdrv check + + unload: +- @for module in vboxpci vboxnetadp vboxnetflt vboxdrv; do \ ++ @for module in vboxnetadp vboxnetflt vboxdrv; do \ + if grep "^$$module " /proc/modules >/dev/null; then \ + echo "Removing previously installed $$module module"; \ + $(SUDO) /sbin/rmmod $$module; \ +@@ -237,7 +215,7 @@ unload: + done + + load: unload +- @for module in vboxdrv vboxnetflt vboxnetadp vboxpci; do \ ++ @for module in vboxdrv vboxnetflt vboxnetadp; do \ + if test -f $$module.ko; then \ + echo "Installing $$module module"; \ + $(SUDO) /sbin/insmod $$module.ko; \ +Index: VirtualBox-7.0.14/src/VBox/Additions/linux/Makefile +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/linux/Makefile ++++ VirtualBox-7.0.14/src/VBox/Additions/linux/Makefile +@@ -34,6 +34,7 @@ obj-m = vboxguest/ vboxsf/ vboxvideo/ + else # ! KERNELRELEASE + + KBUILD_VERBOSE = ++PWD ?= $(shell pwd) + ifeq ($(KBUILD_VERBOSE),) + VBOX_QUIET := @ + VBOX_QUIET_SH := @ +@@ -59,6 +60,7 @@ vboxsf: vboxguest + if [ -f vboxguest/Module.symvers ]; then \ + cp vboxguest/Module.symvers vboxsf; \ + fi; \ ++ export KBUILD_EXTRA_SYMBOLS=${PWD}/vboxvideo/Module.symvers; \ + echo "=== Building 'vboxsf' module ==="; \ + $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) KBUILD_EXTRA_SYMBOLS=$(abspath vboxsf/Module.symvers) -C vboxsf || exit 1; \ + if [ -f vboxsf/vboxsf.ko ]; then \ +@@ -71,6 +73,9 @@ vboxsf: vboxguest + + vboxvideo: + + $(VBOX_QUIET_SH)if [ -d vboxvideo ]; then \ ++ if [ -f vboxguest/Module.symvers ]; then \ ++ cp vboxguest/Module.symvers vboxvideo; \ ++ fi; \ + echo "=== Building 'vboxvideo' module ==="; \ + $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxvideo || exit 1; \ + if [ -f vboxvideo/vboxvideo.ko ]; then \ +@@ -86,11 +91,13 @@ install-vboxguest: + + install-vboxsf: + + $(VBOX_QUIET_SH)if [ -d vboxsf ]; then \ ++ export KBUILD_EXTRA_SYMBOLS=${PWD}/vboxsf/Module.symvers; \ + $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxsf install; \ + fi + + install-vboxvideo: + + $(VBOX_QUIET_SH)if [ -d vboxvideo ]; then \ ++ export KBUILD_EXTRA_SYMBOLS=${PWD}/vboxvideo/Module.symvers; \ + $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxvideo install; \ + fi + +Index: VirtualBox-7.0.14/include/iprt/x86.h +=================================================================== +--- VirtualBox-7.0.14.orig/include/iprt/x86.h ++++ VirtualBox-7.0.14/include/iprt/x86.h +@@ -937,37 +937,59 @@ typedef const X86CPUIDFEATEDX *PCX86CPUI + * reserved flags. + * @{ */ + /** Bit 0 - PE - Protection Enabled */ ++#ifndef X86_CR0_PE + #define X86_CR0_PE RT_BIT_32(0) ++#endif + #define X86_CR0_PROTECTION_ENABLE RT_BIT_32(0) + /** Bit 1 - MP - Monitor Coprocessor */ ++#ifndef X86_CR0_MP + #define X86_CR0_MP RT_BIT_32(1) ++#endif + #define X86_CR0_MONITOR_COPROCESSOR RT_BIT_32(1) + /** Bit 2 - EM - Emulation. */ ++#ifndef X86_CR0_EM + #define X86_CR0_EM RT_BIT_32(2) ++#endif + #define X86_CR0_EMULATE_FPU RT_BIT_32(2) + /** Bit 3 - TS - Task Switch. */ ++#ifndef X86_CR0_TS + #define X86_CR0_TS RT_BIT_32(3) ++#endif + #define X86_CR0_TASK_SWITCH RT_BIT_32(3) + /** Bit 4 - ET - Extension flag. (386, 'hardcoded' to 1 on 486+) */ ++#ifndef X86_CR0_ET + #define X86_CR0_ET RT_BIT_32(4) ++#endif + #define X86_CR0_EXTENSION_TYPE RT_BIT_32(4) + /** Bit 5 - NE - Numeric error (486+). */ ++#ifndef X86_CR0_NE + #define X86_CR0_NE RT_BIT_32(5) ++#endif + #define X86_CR0_NUMERIC_ERROR RT_BIT_32(5) + /** Bit 16 - WP - Write Protect (486+). */ ++#ifndef X86_CR0_WP + #define X86_CR0_WP RT_BIT_32(16) ++#endif + #define X86_CR0_WRITE_PROTECT RT_BIT_32(16) + /** Bit 18 - AM - Alignment Mask (486+). */ ++#ifndef X86_CR0_AM + #define X86_CR0_AM RT_BIT_32(18) ++#endif + #define X86_CR0_ALIGMENT_MASK RT_BIT_32(18) + /** Bit 29 - NW - Not Write-though (486+). */ ++#ifndef X86_CR0_NW + #define X86_CR0_NW RT_BIT_32(29) ++#endif + #define X86_CR0_NOT_WRITE_THROUGH RT_BIT_32(29) + /** Bit 30 - WP - Cache Disable (486+). */ ++#ifndef X86_CR0_CD + #define X86_CR0_CD RT_BIT_32(30) ++#endif + #define X86_CR0_CACHE_DISABLE RT_BIT_32(30) + /** Bit 31 - PG - Paging. */ ++#ifndef X86_CR0_PG + #define X86_CR0_PG RT_BIT_32(31) ++#endif + #define X86_CR0_PAGING RT_BIT_32(31) + #define X86_CR0_BIT_PG 31 /**< Bit number of X86_CR0_PG */ + /** @} */ +@@ -976,9 +998,13 @@ typedef const X86CPUIDFEATEDX *PCX86CPUI + /** @name CR3 + * @{ */ + /** Bit 3 - PWT - Page-level Writes Transparent. */ ++#ifndef X86_CR3_PWT + #define X86_CR3_PWT RT_BIT_32(3) ++#endif + /** Bit 4 - PCD - Page-level Cache Disable. */ ++#ifndef X86_CR3_PCD + #define X86_CR3_PCD RT_BIT_32(4) ++#endif + /** Bits 12-31 - - Page directory page number. */ + #define X86_CR3_PAGE_MASK (0xfffff000) + /** Bits 5-31 - - PAE Page directory page number. */ +@@ -997,46 +1023,84 @@ typedef const X86CPUIDFEATEDX *PCX86CPUI + /** @name CR4 + * @{ */ + /** Bit 0 - VME - Virtual-8086 Mode Extensions. */ ++#ifndef X86_CR4_VME + #define X86_CR4_VME RT_BIT_32(0) ++#endif + /** Bit 1 - PVI - Protected-Mode Virtual Interrupts. */ ++#ifndef X86_CR4_PVI + #define X86_CR4_PVI RT_BIT_32(1) ++#endif + /** Bit 2 - TSD - Time Stamp Disable. */ ++#ifndef X86_CR4_TSD + #define X86_CR4_TSD RT_BIT_32(2) ++#endif + /** Bit 3 - DE - Debugging Extensions. */ ++#ifndef X86_CR4_DE + #define X86_CR4_DE RT_BIT_32(3) ++#endif + /** Bit 4 - PSE - Page Size Extension. */ ++#ifndef X86_CR4_PSE + #define X86_CR4_PSE RT_BIT_32(4) ++#endif + /** Bit 5 - PAE - Physical Address Extension. */ ++#ifndef X86_CR4_PAE + #define X86_CR4_PAE RT_BIT_32(5) ++#endif + /** Bit 6 - MCE - Machine-Check Enable. */ ++#ifndef X86_CR4_MCE + #define X86_CR4_MCE RT_BIT_32(6) ++#endif + /** Bit 7 - PGE - Page Global Enable. */ ++#ifndef X86_CR4_PGE + #define X86_CR4_PGE RT_BIT_32(7) ++#endif + /** Bit 8 - PCE - Performance-Monitoring Counter Enable. */ ++#ifndef X86_CR4_PCE + #define X86_CR4_PCE RT_BIT_32(8) ++#endif + /** Bit 9 - OSFXSR - Operating System Support for FXSAVE and FXRSTORE instructions. */ ++#ifndef X86_CR4_OSFXSR + #define X86_CR4_OSFXSR RT_BIT_32(9) ++#endif + /** Bit 10 - OSXMMEEXCPT - Operating System Support for Unmasked SIMD Floating-Point Exceptions. */ + #define X86_CR4_OSXMMEEXCPT RT_BIT_32(10) + /** Bit 11 - UMIP - User-Mode Instruction Prevention. */ ++#ifndef X86_CR4_UMIP + #define X86_CR4_UMIP RT_BIT_32(11) ++#endif + /** Bit 13 - VMXE - VMX mode is enabled. */ ++#ifndef X86_CR4_VMXE + #define X86_CR4_VMXE RT_BIT_32(13) ++#endif + /** Bit 14 - SMXE - Safer Mode Extensions Enabled. */ ++#ifndef X86_CR4_SMXE + #define X86_CR4_SMXE RT_BIT_32(14) ++#endif + /** Bit 16 - FSGSBASE - Read/write FSGSBASE instructions Enable. */ ++#ifndef X86_CR4_FSGSBASE + #define X86_CR4_FSGSBASE RT_BIT_32(16) ++#endif + /** Bit 17 - PCIDE - Process-Context Identifiers Enabled. */ ++#ifndef X86_CR4_PCIDE + #define X86_CR4_PCIDE RT_BIT_32(17) ++#endif + /** Bit 18 - OSXSAVE - Operating System Support for XSAVE and processor + * extended states. */ ++#ifndef X86_CR4_OSXSAVE + #define X86_CR4_OSXSAVE RT_BIT_32(18) ++#endif + /** Bit 20 - SMEP - Supervisor-mode Execution Prevention enabled. */ ++#ifndef X86_CR4_SMEP + #define X86_CR4_SMEP RT_BIT_32(20) ++#endif + /** Bit 21 - SMAP - Supervisor-mode Access Prevention enabled. */ ++#ifndef X86_CR4_SMAP + #define X86_CR4_SMAP RT_BIT_32(21) ++#endif + /** Bit 22 - PKE - Protection Key Enable. */ ++#ifndef X86_CR4_PKE + #define X86_CR4_PKE RT_BIT_32(22) ++#endif + /** Bit 23 - CET - Control-flow Enhancement Technology enabled. */ + #define X86_CR4_CET RT_BIT_32(23) + /** @} */ +@@ -1267,12 +1331,16 @@ AssertCompile(X86_DR7_ANY_RW_IO(UINT32_C + /** Machine check type register (P5). */ + #define MSR_P5_MC_TYPE UINT32_C(0x00000001) + /** Time Stamp Counter. */ ++#ifndef MSR_IA32_TSC + #define MSR_IA32_TSC 0x10 ++#endif + #define MSR_IA32_CESR UINT32_C(0x00000011) + #define MSR_IA32_CTR0 UINT32_C(0x00000012) + #define MSR_IA32_CTR1 UINT32_C(0x00000013) + ++#ifndef MSR_IA32_PLATFORM_ID + #define MSR_IA32_PLATFORM_ID 0x17 ++#endif + + #ifndef MSR_IA32_APICBASE /* qemu cpu.h kludge */ + # define MSR_IA32_APICBASE 0x1b +@@ -1298,7 +1366,9 @@ AssertCompile(X86_DR7_ANY_RW_IO(UINT32_C + #define MSR_CORE_THREAD_COUNT 0x35 + + /** CPU Feature control. */ ++#ifndef MSR_IA32_FEATURE_CONTROL + #define MSR_IA32_FEATURE_CONTROL 0x3A ++#endif + /** Feature control - Lock MSR from writes (R/W0). */ + #define MSR_IA32_FEATURE_CONTROL_LOCK RT_BIT_64(0) + /** Feature control - Enable VMX inside SMX operation (R/WL). */ +@@ -1323,11 +1393,15 @@ AssertCompile(X86_DR7_ANY_RW_IO(UINT32_C + #define MSR_IA32_FEATURE_CONTROL_LMCE RT_BIT_64(20) + + /** Per-processor TSC adjust MSR. */ ++#ifndef MSR_IA32_TSC_ADJUST + #define MSR_IA32_TSC_ADJUST 0x3B ++#endif + + /** Spectre control register. + * Logical processor scope. Reset value 0, unaffected by SIPI & INIT. */ ++#ifndef MSR_IA32_SPEC_CTRL + #define MSR_IA32_SPEC_CTRL 0x48 ++#endif + /** IBRS - Indirect branch restricted speculation. */ + #define MSR_IA32_SPEC_CTRL_F_IBRS RT_BIT_32(0) + /** STIBP - Single thread indirect branch predictors. */ +@@ -1337,7 +1411,9 @@ AssertCompile(X86_DR7_ANY_RW_IO(UINT32_C + + /** Prediction command register. + * Write only, logical processor scope, no state since write only. */ ++#ifndef MSR_IA32_PRED_CMD + #define MSR_IA32_PRED_CMD 0x49 ++#endif + /** IBPB - Indirect branch prediction barrie when written as 1. */ + #define MSR_IA32_PRED_CMD_F_IBPB RT_BIT_32(0) + +@@ -1348,7 +1424,9 @@ AssertCompile(X86_DR7_ANY_RW_IO(UINT32_C + #define MSR_IA32_BIOS_SIGN_ID 0x8B + + /** SMM monitor control. */ ++#ifndef MSR_IA32_SMM_MONITOR_CTL + #define MSR_IA32_SMM_MONITOR_CTL 0x9B ++#endif + /** SMM control - Valid. */ + #define MSR_IA32_SMM_MONITOR_VALID RT_BIT_64(0) + /** SMM control - VMXOFF unblocks SMI. */ +@@ -1357,10 +1435,14 @@ AssertCompile(X86_DR7_ANY_RW_IO(UINT32_C + #define MSR_IA32_SMM_MONITOR_MSGEG_PHYSADDR(a) (((a) >> 12) & UINT64_C(0xfffff)) + + /** SMBASE - Base address of SMRANGE image (Read-only, SMM only). */ ++#ifndef MSR_IA32_SMBASE + #define MSR_IA32_SMBASE 0x9E ++#endif + + /** General performance counter no. 0. */ ++#ifndef MSR_IA32_PMC0 + #define MSR_IA32_PMC0 0xC1 ++#endif + /** General performance counter no. 1. */ + #define MSR_IA32_PMC1 0xC2 + /** General performance counter no. 2. */ +@@ -1383,18 +1465,26 @@ AssertCompile(X86_DR7_ANY_RW_IO(UINT32_C + #define MSR_IA32_FSB_CLOCK_STS 0xCD + + /** C-State configuration control. Intel specific: Nehalem, Sandy Bridge. */ ++#ifndef MSR_PKG_CST_CONFIG_CONTROL + #define MSR_PKG_CST_CONFIG_CONTROL UINT32_C(0x000000e2) ++#endif + + /** C0 Maximum Frequency Clock Count */ ++#ifndef MSR_IA32_MPERF + #define MSR_IA32_MPERF 0xE7 ++#endif + /** C0 Actual Frequency Clock Count */ ++#ifndef MSR_IA32_APERF + #define MSR_IA32_APERF 0xE8 ++#endif + + /** MTRR Capabilities. */ + #define MSR_IA32_MTRR_CAP 0xFE + + /** Architecture capabilities (bugfixes). */ ++#ifndef MSR_IA32_ARCH_CAPABILITIES + #define MSR_IA32_ARCH_CAPABILITIES UINT32_C(0x10a) ++#endif + /** CPU is no subject to meltdown problems. */ + #define MSR_IA32_ARCH_CAP_F_RDCL_NO RT_BIT_32(0) + /** CPU has better IBRS and you can leave it on all the time. */ +@@ -1408,7 +1498,9 @@ AssertCompile(X86_DR7_ANY_RW_IO(UINT32_C + #define MSR_IA32_ARCH_CAP_F_MDS_NO RT_BIT_32(4) + + /** Flush command register. */ ++#ifndef MSR_IA32_FLUSH_CMD + #define MSR_IA32_FLUSH_CMD UINT32_C(0x10b) ++#endif + /** Flush the level 1 data cache when this bit is written. */ + #define MSR_IA32_FLUSH_CMD_F_L1D RT_BIT_32(0) + +@@ -1429,14 +1521,20 @@ AssertCompile(X86_DR7_ANY_RW_IO(UINT32_C + #endif + + /** Machine Check Global Capabilities Register. */ ++#ifndef MSR_IA32_MCG_CAP + #define MSR_IA32_MCG_CAP 0x179 ++#endif + /** Machine Check Global Status Register. */ ++#ifndef MSR_IA32_MCG_STATUS + #define MSR_IA32_MCG_STATUS 0x17A ++#endif + /** Machine Check Global Control Register. */ + #define MSR_IA32_MCG_CTRL 0x17B + + /** Page Attribute Table. */ ++#ifndef MSR_IA32_CR_PAT + #define MSR_IA32_CR_PAT 0x277 ++#endif + /** Default PAT MSR value on processor powerup / reset (see Intel spec. 11.12.4 + * "Programming the PAT", AMD spec. 7.8.2 "PAT Indexing") */ + #define MSR_IA32_CR_PAT_INIT_VAL UINT64_C(0x0007040600070406) +@@ -1455,36 +1553,58 @@ AssertCompile(X86_DR7_ANY_RW_IO(UINT32_C + #define MSR_FLEX_RATIO 0x194 + /** Performance state value and starting with Intel core more. + * Apple uses the >=core features to determine TSC granularity on older CPUs. */ ++#ifndef MSR_IA32_PERF_STATUS + #define MSR_IA32_PERF_STATUS 0x198 ++#endif ++#ifndef MSR_IA32_PERF_CTL + #define MSR_IA32_PERF_CTL 0x199 ++#endif ++#ifndef MSR_IA32_THERM_STATUS + #define MSR_IA32_THERM_STATUS 0x19c ++#endif + + /** Offcore response event select registers. */ ++#ifndef MSR_OFFCORE_RSP_0 + #define MSR_OFFCORE_RSP_0 0x1a6 ++#endif ++#ifndef MSR_OFFCORE_RSP_1 + #define MSR_OFFCORE_RSP_1 0x1a7 ++#endif + + /** Enable misc. processor features (R/W). */ ++#ifndef MSR_IA32_MISC_ENABLE + #define MSR_IA32_MISC_ENABLE 0x1A0 ++#endif + /** Enable fast-strings feature (for REP MOVS and REP STORS). */ + #define MSR_IA32_MISC_ENABLE_FAST_STRINGS RT_BIT_64(0) + /** Automatic Thermal Control Circuit Enable (R/W). */ ++#ifndef MSR_IA32_MISC_ENABLE_TCC + #define MSR_IA32_MISC_ENABLE_TCC RT_BIT_64(3) ++#endif + /** Performance Monitoring Available (R). */ + #define MSR_IA32_MISC_ENABLE_PERF_MON RT_BIT_64(7) + /** Branch Trace Storage Unavailable (R/O). */ ++#ifndef MSR_IA32_MISC_ENABLE_BTS_UNAVAIL + #define MSR_IA32_MISC_ENABLE_BTS_UNAVAIL RT_BIT_64(11) ++#endif + /** Precise Event Based Sampling (PEBS) Unavailable (R/O). */ ++#ifndef MSR_IA32_MISC_ENABLE_PEBS_UNAVAIL + #define MSR_IA32_MISC_ENABLE_PEBS_UNAVAIL RT_BIT_64(12) ++#endif + /** Enhanced Intel SpeedStep Technology Enable (R/W). */ + #define MSR_IA32_MISC_ENABLE_SST_ENABLE RT_BIT_64(16) + /** If MONITOR/MWAIT is supported (R/W). */ + #define MSR_IA32_MISC_ENABLE_MONITOR RT_BIT_64(18) + /** Limit CPUID Maxval to 3 leafs (R/W). */ ++#ifndef MSR_IA32_MISC_ENABLE_LIMIT_CPUID + #define MSR_IA32_MISC_ENABLE_LIMIT_CPUID RT_BIT_64(22) ++#endif + /** When set to 1, xTPR messages are disabled (R/W). */ + #define MSR_IA32_MISC_ENABLE_XTPR_MSG_DISABLE RT_BIT_64(23) + /** When set to 1, the Execute Disable Bit feature (XD Bit) is disabled (R/W). */ ++#ifndef MSR_IA32_MISC_ENABLE_XD_DISABLE + #define MSR_IA32_MISC_ENABLE_XD_DISABLE RT_BIT_64(34) ++#endif + + /** Trace/Profile Resource Control (R/W) */ + #define MSR_IA32_DEBUGCTL UINT32_C(0x000001d9) +@@ -1665,7 +1785,9 @@ AssertCompile(X86_DR7_ANY_RW_IO(UINT32_C + /** @} */ + + /** Intel TSX (Transactional Synchronization Extensions) control MSR. */ ++#ifndef MSR_IA32_TSX_CTRL + #define MSR_IA32_TSX_CTRL 0x122 ++#endif + + /** Variable range MTRRs. + * @{ */ +@@ -1715,93 +1837,171 @@ AssertCompile(X86_DR7_ANY_RW_IO(UINT32_C + #define MSR_IA32_PERF_GLOBAL_OVF_CTRL 0x390 + + /** Precise Event Based sampling (Intel only). */ ++#ifndef MSR_IA32_PEBS_ENABLE + #define MSR_IA32_PEBS_ENABLE 0x3F1 ++#endif + ++#ifndef MSR_DRAM_POWER_LIMIT + #define MSR_IA32_MC0_CTL 0x400 ++#endif ++#ifndef MSR_IA32_MC0_STATUS + #define MSR_IA32_MC0_STATUS 0x401 ++#endif + + /** Basic VMX information. */ ++#ifndef MSR_IA32_VMX_BASIC + #define MSR_IA32_VMX_BASIC 0x480 ++#endif + /** Allowed settings for pin-based VM execution controls. */ ++#ifndef MSR_IA32_VMX_PINBASED_CTLS + #define MSR_IA32_VMX_PINBASED_CTLS 0x481 ++#endif + /** Allowed settings for proc-based VM execution controls. */ ++#ifndef MSR_IA32_VMX_PROCBASED_CTLS + #define MSR_IA32_VMX_PROCBASED_CTLS 0x482 ++#endif + /** Allowed settings for the VM-exit controls. */ ++#ifndef MSR_IA32_VMX_EXIT_CTLS + #define MSR_IA32_VMX_EXIT_CTLS 0x483 ++#endif + /** Allowed settings for the VM-entry controls. */ ++#ifndef MSR_IA32_VMX_ENTRY_CTLS + #define MSR_IA32_VMX_ENTRY_CTLS 0x484 ++#endif + /** Misc VMX info. */ ++#ifndef MSR_IA32_VMX_MISC + #define MSR_IA32_VMX_MISC 0x485 ++#endif + /** Fixed cleared bits in CR0. */ ++#ifndef MSR_IA32_VMX_CR0_FIXED0 + #define MSR_IA32_VMX_CR0_FIXED0 0x486 ++#endif + /** Fixed set bits in CR0. */ ++#ifndef MSR_IA32_VMX_CR0_FIXED1 + #define MSR_IA32_VMX_CR0_FIXED1 0x487 ++#endif + /** Fixed cleared bits in CR4. */ ++#ifndef MSR_IA32_VMX_CR4_FIXED0 + #define MSR_IA32_VMX_CR4_FIXED0 0x488 ++#endif + /** Fixed set bits in CR4. */ ++#ifndef MSR_IA32_VMX_CR4_FIXED1 + #define MSR_IA32_VMX_CR4_FIXED1 0x489 ++#endif + /** Information for enumerating fields in the VMCS. */ ++#ifndef MSR_IA32_VMX_VMCS_ENUM + #define MSR_IA32_VMX_VMCS_ENUM 0x48A ++#endif + /** Allowed settings for secondary processor-based VM-execution controls. */ ++#ifndef MSR_IA32_VMX_PROCBASED_CTLS2 + #define MSR_IA32_VMX_PROCBASED_CTLS2 0x48B ++#endif + /** EPT capabilities. */ ++#ifndef MSR_IA32_VMX_EPT_VPID_CAP + #define MSR_IA32_VMX_EPT_VPID_CAP 0x48C ++#endif + /** Allowed settings of all pin-based VM execution controls. */ ++#ifndef MSR_IA32_VMX_TRUE_PINBASED_CTLS + #define MSR_IA32_VMX_TRUE_PINBASED_CTLS 0x48D ++#endif + /** Allowed settings of all proc-based VM execution controls. */ ++#ifndef MSR_IA32_VMX_TRUE_PROCBASED_CTLS + #define MSR_IA32_VMX_TRUE_PROCBASED_CTLS 0x48E ++#endif + /** Allowed settings of all VMX exit controls. */ ++#ifndef MSR_IA32_VMX_TRUE_EXIT_CTLS + #define MSR_IA32_VMX_TRUE_EXIT_CTLS 0x48F ++#endif + /** Allowed settings of all VMX entry controls. */ ++#ifndef MSR_IA32_VMX_TRUE_ENTRY_CTLS + #define MSR_IA32_VMX_TRUE_ENTRY_CTLS 0x490 ++#endif + /** Allowed settings for the VM-function controls. */ ++#ifndef MSR_IA32_VMX_VMFUNC + #define MSR_IA32_VMX_VMFUNC 0x491 + /** Tertiary processor-based VM execution controls. */ + #define MSR_IA32_VMX_PROCBASED_CTLS3 0x492 + /** Secondary VM-exit controls. */ + #define MSR_IA32_VMX_EXIT_CTLS2 0x493 ++#endif + + /** Intel PT - Enable and control for trace packet generation. */ ++#ifndef MSR_IA32_RTIT_CTL + #define MSR_IA32_RTIT_CTL 0x570 ++#endif + + /** DS Save Area (R/W). */ ++#ifndef MSR_IA32_DS_AREA + #define MSR_IA32_DS_AREA 0x600 ++#endif + /** Running Average Power Limit (RAPL) power units. */ ++#ifndef MSR_RAPL_POWER_UNIT + #define MSR_RAPL_POWER_UNIT 0x606 ++#endif + /** Package C3 Interrupt Response Limit. */ ++#ifndef MSR_PKGC3_IRTL + #define MSR_PKGC3_IRTL 0x60a ++#endif + /** Package C6/C7S Interrupt Response Limit 1. */ + #define MSR_PKGC_IRTL1 0x60b + /** Package C6/C7S Interrupt Response Limit 2. */ + #define MSR_PKGC_IRTL2 0x60c + /** Package C2 Residency Counter. */ ++#ifndef MSR_PKG_C2_RESIDENCY + #define MSR_PKG_C2_RESIDENCY 0x60d ++#endif + /** PKG RAPL Power Limit Control. */ ++#ifndef MSR_PKG_POWER_LIMIT + #define MSR_PKG_POWER_LIMIT 0x610 ++#endif + /** PKG Energy Status. */ ++#ifndef MSR_PKG_ENERGY_STATUS + #define MSR_PKG_ENERGY_STATUS 0x611 ++#endif + /** PKG Perf Status. */ ++#ifndef MSR_PKG_PERF_STATUS + #define MSR_PKG_PERF_STATUS 0x613 ++#endif + /** PKG RAPL Parameters. */ ++#ifndef MSR_PKG_POWER_INFO + #define MSR_PKG_POWER_INFO 0x614 ++#endif + /** DRAM RAPL Power Limit Control. */ ++#ifndef MSR_DRAM_POWER_LIMIT + #define MSR_DRAM_POWER_LIMIT 0x618 ++#endif + /** DRAM Energy Status. */ ++#ifndef MSR_DRAM_ENERGY_STATUS + #define MSR_DRAM_ENERGY_STATUS 0x619 ++#endif + /** DRAM Performance Throttling Status. */ ++#ifndef MSR_DRAM_PERF_STATUS + #define MSR_DRAM_PERF_STATUS 0x61b ++#endif + /** DRAM RAPL Parameters. */ ++#ifndef MSR_DRAM_POWER_INFO + #define MSR_DRAM_POWER_INFO 0x61c ++#endif + /** Package C10 Residency Counter. */ ++#ifndef MSR_PKG_C10_RESIDENCY + #define MSR_PKG_C10_RESIDENCY 0x632 ++#endif + /** PP0 Energy Status. */ ++#ifndef MSR_PP0_ENERGY_STATUS + #define MSR_PP0_ENERGY_STATUS 0x639 ++#endif + /** PP1 Energy Status. */ ++#ifndef MSR_PP1_ENERGY_STATUS + #define MSR_PP1_ENERGY_STATUS 0x641 ++#endif + /** Turbo Activation Ratio. */ ++#ifndef MSR_TURBO_ACTIVATION_RATIO + #define MSR_TURBO_ACTIVATION_RATIO 0x64c ++#endif + /** Core Performance Limit Reasons. */ ++#ifndef MSR_CORE_PERF_LIMIT_REASONS + #define MSR_CORE_PERF_LIMIT_REASONS 0x64f ++#endif + + /** X2APIC MSR range start. */ + #define MSR_IA32_X2APIC_START 0x800 +@@ -1936,23 +2136,47 @@ AssertCompile(X86_DR7_ANY_RW_IO(UINT32_C + /** The mask which give the SYSCALL EIP. */ + #define MSR_K6_STAR_SYSCALL_EIP_MASK UINT32_C(0xffffffff) + /** K6 WHCR - Write Handling Control Register. */ ++#ifndef MSR_K6_WHCR + #define MSR_K6_WHCR UINT32_C(0xc0000082) ++#endif + /** K6 UWCCR - UC/WC Cacheability Control Register. */ ++#ifndef MSR_K6_UWCCR + #define MSR_K6_UWCCR UINT32_C(0xc0000085) ++#endif + /** K6 PSOR - Processor State Observability Register. */ ++#ifndef MSR_K6_PSOR + #define MSR_K6_PSOR UINT32_C(0xc0000087) ++#endif + /** K6 PFIR - Page Flush/Invalidate Register. */ ++#ifndef MSR_K6_PFIR + #define MSR_K6_PFIR UINT32_C(0xc0000088) ++#endif + + /** Performance counter MSRs. (AMD only) */ ++#ifndef MSR_K7_EVNTSEL0 + #define MSR_K7_EVNTSEL0 UINT32_C(0xc0010000) ++#endif ++#ifndef MSR_K7_EVNTSEL1 + #define MSR_K7_EVNTSEL1 UINT32_C(0xc0010001) ++#endif ++#ifndef MSR_K7_EVNTSEL2 + #define MSR_K7_EVNTSEL2 UINT32_C(0xc0010002) ++#endif ++#ifndef MSR_K7_EVNTSEL3 + #define MSR_K7_EVNTSEL3 UINT32_C(0xc0010003) ++#endif ++#ifndef MSR_K7_PERFCTR0 + #define MSR_K7_PERFCTR0 UINT32_C(0xc0010004) ++#endif ++#ifndef MSR_K7_PERFCTR1 + #define MSR_K7_PERFCTR1 UINT32_C(0xc0010005) ++#endif ++#ifndef MSR_K7_PERFCTR2 + #define MSR_K7_PERFCTR2 UINT32_C(0xc0010006) ++#endif ++#ifndef MSR_K7_PERFCTR3 + #define MSR_K7_PERFCTR3 UINT32_C(0xc0010007) ++#endif + + /** K8 LSTAR - Long mode SYSCALL target (RIP). */ + #define MSR_K8_LSTAR UINT32_C(0xc0000082) +@@ -1968,14 +2192,20 @@ AssertCompile(X86_DR7_ANY_RW_IO(UINT32_C + #define MSR_K8_KERNEL_GS_BASE UINT32_C(0xc0000102) + /** K8 TSC_AUX - Used with RDTSCP. */ + #define MSR_K8_TSC_AUX UINT32_C(0xc0000103) ++#ifndef MSR_K8_SYSCFG + #define MSR_K8_SYSCFG UINT32_C(0xc0010010) ++#endif + #define MSR_K8_HWCR UINT32_C(0xc0010015) + #define MSR_K8_IORRBASE0 UINT32_C(0xc0010016) + #define MSR_K8_IORRMASK0 UINT32_C(0xc0010017) + #define MSR_K8_IORRBASE1 UINT32_C(0xc0010018) + #define MSR_K8_IORRMASK1 UINT32_C(0xc0010019) ++#ifndef MSR_K8_TOP_MEM1 + #define MSR_K8_TOP_MEM1 UINT32_C(0xc001001a) ++#endif ++#ifndef MSR_K8_TOP_MEM2 + #define MSR_K8_TOP_MEM2 UINT32_C(0xc001001d) ++#endif + + /** SMM MSRs. */ + #define MSR_K7_SMBASE UINT32_C(0xc0010111) +Index: VirtualBox-7.0.14/include/VBox/vmm/hm_vmx.h +=================================================================== +--- VirtualBox-7.0.14.orig/include/VBox/vmm/hm_vmx.h ++++ VirtualBox-7.0.14/include/VBox/vmm/hm_vmx.h +@@ -1633,7 +1633,9 @@ AssertCompileSize(VMXABORT, 4); + /** VMCS (and related regions) memory type - Uncacheable. */ + #define VMX_BASIC_MEM_TYPE_UC 0 + /** VMCS (and related regions) memory type - Write back. */ ++#ifndef VMX_BASIC_MEM_TYPE_WB + #define VMX_BASIC_MEM_TYPE_WB 6 ++#endif + /** Width of physical addresses used for VMCS and associated memory regions + * (1=32-bit, 0=processor's physical address width). */ + #define VMX_BASIC_PHYSADDR_WIDTH_32BIT RT_BIT_64(48) +Index: VirtualBox-7.0.14/src/VBox/Additions/linux/drm/vbox_drv.h +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/linux/drm/vbox_drv.h ++++ VirtualBox-7.0.14/src/VBox/Additions/linux/drm/vbox_drv.h +@@ -87,6 +87,12 @@ + #else + # define RTLNX_RHEL_MAX(a_iMajor, a_iMinor) (0) + #endif ++ ++#if defined(CONFIG_SUSE_VERSION) ++# if CONFIG_SUSE_VERSION == 15 && CONFIG_SUSE_PATCHLEVEL == 1 ++# define OPENSUSE_151 ++# endif ++#endif + #if defined(CONFIG_SUSE_VERSION) && CONFIG_SUSE_VERSION == 12 && CONFIG_SUSE_PATCHLEVEL >= 4 + # define SUSE_SLE12 + #endif diff --git a/fixes_for_qt5.13.patch b/fixes_for_qt5.13.patch new file mode 100644 index 0000000..c26f0a0 --- /dev/null +++ b/fixes_for_qt5.13.patch @@ -0,0 +1,49 @@ +Index: VirtualBox-7.0.14/include/VBox/VBoxGL2D.h +=================================================================== +--- VirtualBox-7.0.14.orig/include/VBox/VBoxGL2D.h ++++ VirtualBox-7.0.14/include/VBox/VBoxGL2D.h +@@ -123,7 +123,7 @@ typedef GLvoid (APIENTRY *PFNVBOXVHWA_UN + /* GL_ARB_pixel_buffer_object*/ + #ifndef Q_WS_MAC + /* apears to be defined on mac */ +-typedef ptrdiff_t GLsizeiptr; ++typedef long int GLsizeiptr; + #endif + + #ifndef GL_READ_ONLY +Index: VirtualBox-7.0.14/src/VBox/Additions/3D/mesa/mesa-21.3.8/include/GL/glext.h +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/3D/mesa/mesa-21.3.8/include/GL/glext.h ++++ VirtualBox-7.0.14/src/VBox/Additions/3D/mesa/mesa-21.3.8/include/GL/glext.h +@@ -466,7 +466,12 @@ GLAPI void APIENTRY glBlendEquation (GLe + + #ifndef GL_VERSION_1_5 + #define GL_VERSION_1_5 1 ++#include ++#if __BITS_PER_LONG != 64 + typedef khronos_ssize_t GLsizeiptr; ++#else ++typedef long int GLsizeiptr; ++#endif + typedef khronos_intptr_t GLintptr; + #define GL_BUFFER_SIZE 0x8764 + #define GL_BUFFER_USAGE 0x8765 +Index: VirtualBox-7.0.14/src/VBox/Devices/Graphics/vmsvga_glext/glext.h +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Devices/Graphics/vmsvga_glext/glext.h ++++ VirtualBox-7.0.14/src/VBox/Devices/Graphics/vmsvga_glext/glext.h +@@ -4680,6 +4680,14 @@ GLAPI void APIENTRY glWeightuivARB (GLin + GLAPI void APIENTRY glWeightPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer); + GLAPI void APIENTRY glVertexBlendARB (GLint count); + #endif ++#ifndef GL_VERSION_1_5 ++/* GL types for handling large vertex buffer objects */ ++typedef ptrdiff_t GLintptr; ++#if __BITS_PER_LONG != 64 ++typedef ptrdiff_t GLsizeiptr; ++#else ++typedef long int GLsizeiptr; ++#endif + #endif /* GL_ARB_vertex_blend */ + + #ifndef GL_ARB_vertex_buffer_object diff --git a/fixes_for_sle12.patch b/fixes_for_sle12.patch new file mode 100644 index 0000000..56a0d64 --- /dev/null +++ b/fixes_for_sle12.patch @@ -0,0 +1,163 @@ +Index: VirtualBox-7.0.14/src/VBox/Additions/linux/drm/vbox_drv.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/linux/drm/vbox_drv.c ++++ VirtualBox-7.0.14/src/VBox/Additions/linux/drm/vbox_drv.c +@@ -362,7 +362,9 @@ static struct drm_driver driver = { + .master_drop = vbox_master_drop, + #if RTLNX_VER_MIN(3,18,0) || RTLNX_RHEL_MAJ_PREREQ(7,2) + # if RTLNX_VER_MAX(4,14,0) && !RTLNX_RHEL_MAJ_PREREQ(7,5) && !RTLNX_SUSE_MAJ_PREREQ(15,1) && !RTLNX_SUSE_MAJ_PREREQ(12,5) ++#if !(defined(CONFIG_SUSE_VERSION) && CONFIG_SUSE_VERSION == 12 && CONFIG_SUSE_PATCHLEVEL >= 4) + .set_busid = drm_pci_set_busid, ++#endif + # endif + #endif + +Index: VirtualBox-7.0.14/src/VBox/Additions/linux/drm/vbox_main.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/linux/drm/vbox_main.c ++++ VirtualBox-7.0.14/src/VBox/Additions/linux/drm/vbox_main.c +@@ -626,11 +626,13 @@ int vbox_dumb_destroy(struct drm_file *f + #endif + + #if RTLNX_VER_MAX(4,19,0) && !RTLNX_RHEL_MAJ_PREREQ(7,7) && !RTLNX_RHEL_MAJ_PREREQ(8,1) && !RTLNX_SUSE_MAJ_PREREQ(15,1) && !RTLNX_SUSE_MAJ_PREREQ(12,5) ++#if !(defined(CONFIG_SUSE_VERSION) && CONFIG_SUSE_VERSION == 12 && CONFIG_SUSE_PATCHLEVEL >= 4) + static void ttm_bo_put(struct ttm_buffer_object *bo) + { + ttm_bo_unref(&bo); + } + #endif ++#endif + + void vbox_gem_free_object(struct drm_gem_object *obj) + { +Index: VirtualBox-7.0.14/src/VBox/Additions/linux/drm/vbox_ttm.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/linux/drm/vbox_ttm.c ++++ VirtualBox-7.0.14/src/VBox/Additions/linux/drm/vbox_ttm.c +@@ -302,7 +302,7 @@ static struct ttm_backend_func vbox_tt_b + }; + #endif + +-#if RTLNX_VER_MAX(4,17,0) && !RTLNX_RHEL_MAJ_PREREQ(7,6) && !RTLNX_SUSE_MAJ_PREREQ(15,1) && !RTLNX_SUSE_MAJ_PREREQ(12,5) ++#if RTLNX_VER_MAX(4,17,0) && !RTLNX_RHEL_MAJ_PREREQ(7,6) && !RTLNX_SUSE_MAJ_PREREQ(15,1) && !RTLNX_SUSE_MAJ_PREREQ(12,5) && !defined(SUSE_SLE12) + static struct ttm_tt *vbox_ttm_tt_create(struct ttm_bo_device *bdev, + unsigned long size, + u32 page_flags, +@@ -339,7 +339,7 @@ static struct ttm_tt *vbox_ttm_tt_create + } + + #if RTLNX_VER_MAX(4,17,0) +-# if RTLNX_VER_MAX(4,16,0) && !RTLNX_RHEL_MAJ_PREREQ(7,6) && !RTLNX_SUSE_MAJ_PREREQ(15,1) && !RTLNX_SUSE_MAJ_PREREQ(12,5) ++# if RTLNX_VER_MAX(4,16,0) && !RTLNX_RHEL_MAJ_PREREQ(7,6) && !RTLNX_SUSE_MAJ_PREREQ(15,1) && !RTLNX_SUSE_MAJ_PREREQ(12,5) && !defined(SUSE_SLE12) + static int vbox_ttm_tt_populate(struct ttm_tt *ttm) + { + return ttm_pool_populate(ttm); +@@ -406,7 +406,7 @@ static struct ttm_bo_driver vbox_bo_driv + .io_mem_reserve = &vbox_ttm_io_mem_reserve, + .io_mem_free = &vbox_ttm_io_mem_free, + #if RTLNX_VER_MIN(4,12,0) || RTLNX_RHEL_MAJ_PREREQ(7,5) +-# if RTLNX_VER_MAX(4,16,0) && !RTLNX_RHEL_MAJ_PREREQ(7,6) && !RTLNX_SUSE_MAJ_PREREQ(15,1) && !RTLNX_SUSE_MAJ_PREREQ(12,5) ++# if RTLNX_VER_MAX(4,16,0) && !RTLNX_RHEL_MAJ_PREREQ(7,6) && !RTLNX_SUSE_MAJ_PREREQ(15,1) && !RTLNX_SUSE_MAJ_PREREQ(12,5) && !defined(SUSE_SLE12) + .io_mem_pfn = ttm_bo_default_io_mem_pfn, + # endif + #endif +@@ -651,7 +651,7 @@ int vbox_bo_create(struct drm_device *de + ret = ttm_bo_init(&vbox->ttm.bdev, &vboxbo->bo, size, + #endif /* < 6.1.0 */ + ttm_bo_type_device, &vboxbo->placement, +-#if RTLNX_VER_MAX(4,17,0) && !RTLNX_RHEL_MAJ_PREREQ(7,6) && !RTLNX_SUSE_MAJ_PREREQ(15,1) && !RTLNX_SUSE_MAJ_PREREQ(12,5) ++#if RTLNX_VER_MAX(4,17,0) && !RTLNX_RHEL_MAJ_PREREQ(7,6) && !RTLNX_SUSE_MAJ_PREREQ(15,1) && !RTLNX_SUSE_MAJ_PREREQ(12,5) && !defined(SUSE_SLE12) + align >> PAGE_SHIFT, false, NULL, acc_size, + #elif RTLNX_VER_MAX(5,13,0) && !RTLNX_RHEL_RANGE(8,6, 8,99) /* < 5.13.0, < RHEL(8.6, 8.99) */ + align >> PAGE_SHIFT, false, acc_size, +@@ -693,7 +693,7 @@ static inline u64 vbox_bo_gpu_offset(str + + int vbox_bo_pin(struct vbox_bo *bo, u32 mem_type, u64 *gpu_addr) + { +-#if RTLNX_VER_MIN(4,16,0) || RTLNX_RHEL_MAJ_PREREQ(7,6) || RTLNX_SUSE_MAJ_PREREQ(15,1) || RTLNX_SUSE_MAJ_PREREQ(12,5) ++#if RTLNX_VER_MIN(4,16,0) || RTLNX_RHEL_MAJ_PREREQ(7,6) || RTLNX_SUSE_MAJ_PREREQ(15,1) || RTLNX_SUSE_MAJ_PREREQ(12,5) || defined(SUSE_SLE12) + struct ttm_operation_ctx ctx = { false, false }; + #endif + int ret; +@@ -716,7 +716,7 @@ int vbox_bo_pin(struct vbox_bo *bo, u32 + PLACEMENT_FLAGS(bo->placements[i]) |= TTM_PL_FLAG_NO_EVICT; + #endif + +-#if RTLNX_VER_MAX(4,16,0) && !RTLNX_RHEL_MAJ_PREREQ(7,6) && !RTLNX_SUSE_MAJ_PREREQ(15,1) && !RTLNX_SUSE_MAJ_PREREQ(12,5) ++#if RTLNX_VER_MAX(4,16,0) && !RTLNX_RHEL_MAJ_PREREQ(7,6) && !RTLNX_SUSE_MAJ_PREREQ(15,1) && !RTLNX_SUSE_MAJ_PREREQ(12,5) && !defined(SUSE_SLE12) + ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false); + #else + ret = ttm_bo_validate(&bo->bo, &bo->placement, &ctx); +@@ -738,7 +738,7 @@ int vbox_bo_pin(struct vbox_bo *bo, u32 + + int vbox_bo_unpin(struct vbox_bo *bo) + { +-#if RTLNX_VER_MIN(4,16,0) || RTLNX_RHEL_MAJ_PREREQ(7,6) || RTLNX_SUSE_MAJ_PREREQ(15,1) || RTLNX_SUSE_MAJ_PREREQ(12,5) ++#if RTLNX_VER_MIN(4,16,0) || RTLNX_RHEL_MAJ_PREREQ(7,6) || RTLNX_SUSE_MAJ_PREREQ(15,1) || RTLNX_SUSE_MAJ_PREREQ(12,5) || defined(SUSE_SLE12) + # if RTLNX_VER_MAX(5,11,0) && !RTLNX_RHEL_MAJ_PREREQ(8,5) + struct ttm_operation_ctx ctx = { false, false }; + # endif +@@ -761,7 +761,7 @@ int vbox_bo_unpin(struct vbox_bo *bo) + PLACEMENT_FLAGS(bo->placements[i]) &= ~TTM_PL_FLAG_NO_EVICT; + #endif + +-#if RTLNX_VER_MAX(4,16,0) && !RTLNX_RHEL_MAJ_PREREQ(7,6) && !RTLNX_SUSE_MAJ_PREREQ(15,1) && !RTLNX_SUSE_MAJ_PREREQ(12,5) ++#if RTLNX_VER_MAX(4,16,0) && !RTLNX_RHEL_MAJ_PREREQ(7,6) && !RTLNX_SUSE_MAJ_PREREQ(15,1) && !RTLNX_SUSE_MAJ_PREREQ(12,5) && !defined(SUSE_SLE12) + ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false); + #elif RTLNX_VER_MAX(5,11,0) && !RTLNX_RHEL_MAJ_PREREQ(8,5) + ret = ttm_bo_validate(&bo->bo, &bo->placement, &ctx); +@@ -784,7 +784,7 @@ int vbox_bo_unpin(struct vbox_bo *bo) + */ + int vbox_bo_push_sysram(struct vbox_bo *bo) + { +-# if RTLNX_VER_MIN(4,16,0) || RTLNX_RHEL_MAJ_PREREQ(7,6) || RTLNX_SUSE_MAJ_PREREQ(15,1) || RTLNX_SUSE_MAJ_PREREQ(12,5) ++# if RTLNX_VER_MIN(4,16,0) || RTLNX_RHEL_MAJ_PREREQ(7,6) || RTLNX_SUSE_MAJ_PREREQ(15,1) || RTLNX_SUSE_MAJ_PREREQ(12,5) || defined(SUSE_SLE12) + struct ttm_operation_ctx ctx = { false, false }; + # endif + int i, ret; +@@ -805,7 +805,7 @@ int vbox_bo_push_sysram(struct vbox_bo * + for (i = 0; i < bo->placement.num_placement; i++) + PLACEMENT_FLAGS(bo->placements[i]) |= TTM_PL_FLAG_NO_EVICT; + +-# if RTLNX_VER_MAX(4,16,0) && !RTLNX_RHEL_MAJ_PREREQ(7,6) && !RTLNX_SUSE_MAJ_PREREQ(15,1) && !RTLNX_SUSE_MAJ_PREREQ(12,5) ++# if RTLNX_VER_MAX(4,16,0) && !RTLNX_RHEL_MAJ_PREREQ(7,6) && !RTLNX_SUSE_MAJ_PREREQ(15,1) && !RTLNX_SUSE_MAJ_PREREQ(12,5) && !defined(SUSE_SLE12) + ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false); + # else + ret = ttm_bo_validate(&bo->bo, &bo->placement, &ctx); +Index: VirtualBox-7.0.14/src/VBox/Additions/linux/drm/vbox_drv.h +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/linux/drm/vbox_drv.h ++++ VirtualBox-7.0.14/src/VBox/Additions/linux/drm/vbox_drv.h +@@ -87,6 +87,9 @@ + #else + # define RTLNX_RHEL_MAX(a_iMajor, a_iMinor) (0) + #endif ++#if defined(CONFIG_SUSE_VERSION) && CONFIG_SUSE_VERSION == 12 && CONFIG_SUSE_PATCHLEVEL >= 4 ++# define SUSE_SLE12 ++#endif + + /** @def RTLNX_RHEL_RANGE + * Check that it's a RedHat kernel in the given version range. +Index: VirtualBox-7.0.14/src/VBox/Additions/linux/drm/vbox_mode.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/linux/drm/vbox_mode.c ++++ VirtualBox-7.0.14/src/VBox/Additions/linux/drm/vbox_mode.c +@@ -557,7 +557,8 @@ static void vbox_set_edid(struct drm_con + for (i = 0; i < EDID_SIZE - 1; ++i) + sum += edid[i]; + edid[EDID_SIZE - 1] = (0x100 - (sum & 0xFF)) & 0xFF; +-#if RTLNX_VER_MIN(4,19,0) || RTLNX_RHEL_MAJ_PREREQ(7,7) || RTLNX_RHEL_MAJ_PREREQ(8,1) || RTLNX_SUSE_MAJ_PREREQ(15,1) || RTLNX_SUSE_MAJ_PREREQ(12,5) ++#if RTLNX_VER_MIN(4,19,0) || RTLNX_RHEL_MAJ_PREREQ(7,7) || \ ++ defined(SUSE_SLE12) || RTLNX_RHEL_MAJ_PREREQ(8,1) || RTLNX_SUSE_MAJ_PREREQ(15,1) || RTLNX_SUSE_MAJ_PREREQ(12,5) + drm_connector_update_edid_property(connector, (struct edid *)edid); + #else + drm_mode_connector_update_edid_property(connector, (struct edid *)edid); +@@ -732,7 +733,7 @@ static int vbox_connector_init(struct dr + drm_connector_register(connector); + #endif + +-#if RTLNX_VER_MIN(4,19,0) || RTLNX_RHEL_MAJ_PREREQ(7,7) || RTLNX_RHEL_MAJ_PREREQ(8,1) || RTLNX_SUSE_MAJ_PREREQ(15,1) || RTLNX_SUSE_MAJ_PREREQ(12,5) ++#if RTLNX_VER_MIN(4,19,0) || RTLNX_RHEL_MAJ_PREREQ(7,7) || defined(SUSE_SLE12) || RTLNX_RHEL_MAJ_PREREQ(8,1) || RTLNX_SUSE_MAJ_PREREQ(15,1) || RTLNX_SUSE_MAJ_PREREQ(12,5) + drm_connector_attach_encoder(connector, encoder); + #else + drm_mode_connector_attach_encoder(connector, encoder); diff --git a/fixes_for_vboxconfig.patch b/fixes_for_vboxconfig.patch new file mode 100644 index 0000000..7e409a3 --- /dev/null +++ b/fixes_for_vboxconfig.patch @@ -0,0 +1,107 @@ +Index: VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/nls/VirtualBox_lt.ts +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Frontends/VirtualBox/nls/VirtualBox_lt.ts ++++ VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/nls/VirtualBox_lt.ts +@@ -92,19 +92,19 @@ + VirtualBox Linux branduolio modulis (vboxdrv) arba nėra įkeltas, arba nepakanka leidimų dirbti su /dev/vboxdrv. Iš naujo įdiekite branduolio modulį root teisėmis įvykdydami <br/><br/><font color=blue>'/sbin/rcvboxdrv setup'</font><br/><br/>. Jei įmanoma pirma turite įsidiegti DKMS paketą. Šis paketas seka Linux branduolio pakeitimus ir, jei reikia, perkompiliuoja vboxdrv branduolio modulį. + + +- The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing<br/><br/> <font color=blue>'/sbin/vboxconfig'</font><br/><br/>as root. +- VirtualBox Linux branduolio tvarkyklė (vboxdrv) neįkelta arba /dev/vboxdrv turi bėdų su leidimais. Iš naujo įdiekite branduolio modulį įvykdydami <br/><br/> <font color=blue>/sbin/vboxconfig</font><br/><br/> administratoriaus (root) teisėmis. ++ The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing<br/><br/> <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/>as root. ++ VirtualBox Linux branduolio tvarkyklė (vboxdrv) neįkelta arba /dev/vboxdrv turi bėdų su leidimais. Iš naujo įdiekite branduolio modulį įvykdydami <br/><br/> <font color=blue>/usr/sbin/vboxconfig</font><br/><br/> administratoriaus (root) teisėmis. + + +- The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing<br/><br/> <font color=blue>'/sbin/vboxconfig'</font><br/><br/>may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox. +- VirtualBox branduolio modulis neatitinka VirtualBox versijos. Panašu, kad VirtualBox diegimas nebuvo sėkmingas. Pataisyti gali pavykti įvykdžius<br/><br/> <font color=blue>/sbin/vboxconfig</font><br/><br/> Įsitikinkite, ar nemaišote VirtualBox OSE ir PUEL versijų. ++ The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing<br/><br/> <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/>may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox. ++ VirtualBox branduolio modulis neatitinka VirtualBox versijos. Panašu, kad VirtualBox diegimas nebuvo sėkmingas. Pataisyti gali pavykti įvykdžius<br/><br/> <font color=blue>/usr/sbin/vboxconfig</font><br/><br/> Įsitikinkite, ar nemaišote VirtualBox OSE ir PUEL versijų. + + +- The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing<br/><br/> <font color=blue>'/sbin/vboxconfig'</font><br/><br/>as root.<br/><br/>If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information. ++ The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing<br/><br/> <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/>as root.<br/><br/>If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information. + + + +- The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing<br/><br/> <font color=blue>'/sbin/vboxconfig'</font><br/><br/>may correct this. Make sure that you are not mixing builds of VirtualBox from different sources. ++ The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing<br/><br/> <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/>may correct this. Make sure that you are not mixing builds of VirtualBox from different sources. + + + +Index: VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/nls/VirtualBox_tr.ts +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Frontends/VirtualBox/nls/VirtualBox_tr.ts ++++ VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/nls/VirtualBox_tr.ts +@@ -148,20 +148,20 @@ + Kare Boyutu: %1x%2, Kare Oranı: %3fps, Bit Oranı: %4kbps + + +- The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing<br/><br/> <font color=blue>'/sbin/vboxconfig'</font><br/><br/>as root. +- VirtualBox Linux çekirdek sürücüsü (vboxdrv) ya yüklenmedi ya da /dev/vboxdrv ile ilgili izin sorunu var. Lütfen root kullanıcısı olarak <br/><br/> <font color=blue>'/sbin/vboxconfig'</font><br/><br/> dosyasını çalıştırarak çekirdek modülünü yeniden yükleyin. ++ The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing<br/><br/> <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/>as root. ++ VirtualBox Linux çekirdek sürücüsü (vboxdrv) ya yüklenmedi ya da /dev/vboxdrv ile ilgili izin sorunu var. Lütfen root kullanıcısı olarak <br/><br/> <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/> dosyasını çalıştırarak çekirdek modülünü yeniden yükleyin. + + +- The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing<br/><br/> <font color=blue>'/sbin/vboxconfig'</font><br/><br/>may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox. +- VirtualBox çekirdek modülleri VirtualBox'ın bu sürümüyle uyuşmuyor. VirtualBox'ın kurulumu görünüşe göre başarılı olmadı. <br/><br/> <font color=blue>'/sbin/vboxconfig'</font><br/><br/> dosyasını çalıştırmak bunu düzeltebilir. VirtualBox'ın OSE ve PUEL sürümlerini karıştırmadığınızdan emin olun. ++ The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing<br/><br/> <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/>may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox. ++ VirtualBox çekirdek modülleri VirtualBox'ın bu sürümüyle uyuşmuyor. VirtualBox'ın kurulumu görünüşe göre başarılı olmadı. <br/><br/> <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/> dosyasını çalıştırmak bunu düzeltebilir. VirtualBox'ın OSE ve PUEL sürümlerini karıştırmadığınızdan emin olun. + + +- The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing<br/><br/> <font color=blue>'/sbin/vboxconfig'</font><br/><br/>as root.<br/><br/>If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information. +- VirtualBox Linux çekirdek sürücüsü ya yüklenmedi ya da doğru olarak ayarlanmadı. Lütfen root kullanıcısı olarak <br/><br/> <font color=blue>'/sbin/vboxconfig'</font><br/><br/> dosyasını çalıştırarak bunu tekrar ayarlamayı deneyin. Eğer sisteminizde EFI Secure Boot etkinleştirildiyse, çekirdek modüllerini (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) yüklemeden önce ayrıca bunları imzalamanız gerekebilir. Lütfen daha fazla bilgi için Linux sisteminin belgelerine bakın. ++ The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing<br/><br/> <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/>as root.<br/><br/>If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information. ++ VirtualBox Linux çekirdek sürücüsü ya yüklenmedi ya da doğru olarak ayarlanmadı. Lütfen root kullanıcısı olarak <br/><br/> <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/> dosyasını çalıştırarak bunu tekrar ayarlamayı deneyin. Eğer sisteminizde EFI Secure Boot etkinleştirildiyse, çekirdek modüllerini (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) yüklemeden önce ayrıca bunları imzalamanız gerekebilir. Lütfen daha fazla bilgi için Linux sisteminin belgelerine bakın. + + +- The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing<br/><br/> <font color=blue>'/sbin/vboxconfig'</font><br/><br/>may correct this. Make sure that you are not mixing builds of VirtualBox from different sources. +- VirtualBox çekirdek modülleri VirtualBox'ın bu sürümüyle uyuşmuyor. VirtualBox'ın kurulumu görünüşe göre başarılı olmadı. <br/><br/> <font color=blue>'/sbin/vboxconfig'</font><br/><br/> dosyasını çalıştırmak bunu düzeltebilir. Farklı kaynaklardan gelen VirtualBox'ın yapımlarını karıştırmadığınızdan emin olun. ++ The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing<br/><br/> <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/>may correct this. Make sure that you are not mixing builds of VirtualBox from different sources. ++ VirtualBox çekirdek modülleri VirtualBox'ın bu sürümüyle uyuşmuyor. VirtualBox'ın kurulumu görünüşe göre başarılı olmadı. <br/><br/> <font color=blue>'/usr/sbin/vboxconfig'</font><br/><br/> dosyasını çalıştırmak bunu düzeltebilir. Farklı kaynaklardan gelen VirtualBox'ın yapımlarını karıştırmadığınızdan emin olun. + + + +Index: VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/src/main.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Frontends/VirtualBox/src/main.cpp ++++ VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/src/main.cpp +@@ -99,7 +99,7 @@ QString g_QStrHintLinuxNoMemory = QAppli + QString g_QStrHintLinuxNoDriver = QApplication::tr( + "The VirtualBox Linux kernel driver is either not loaded or not set " + "up correctly. Please try setting it up again by executing

" +- " '/sbin/vboxconfig'

" ++ " '/usr/sbin/vboxconfig'

" + "as root.

" + "If your system has EFI Secure Boot enabled you may also need to sign " + "the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before " +@@ -118,7 +118,7 @@ QString g_QStrHintLinuxWrongDriverVersio + "The VirtualBox kernel modules do not match this version of " + "VirtualBox. The installation of VirtualBox was apparently not " + "successful. Executing

" +- " '/sbin/vboxconfig'

" ++ " '/usr/sbin/vboxconfig'

" + "may correct this. Make sure that you are not mixing builds " + "of VirtualBox from different sources." + ); +Index: VirtualBox-7.0.14/src/VBox/Installer/linux/VBox.sh +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Installer/linux/VBox.sh ++++ VirtualBox-7.0.14/src/VBox/Installer/linux/VBox.sh +@@ -72,7 +72,7 @@ WARNING: The vboxdrv kernel module is no + available for the current kernel (`uname -r`) or it failed to + load. Please recompile the kernel module and install it by + +- sudo /sbin/vboxconfig ++ sudo /usr/sbin/vboxconfig + + You will not be able to start VMs until this problem is fixed. + EOF +@@ -80,7 +80,7 @@ elif [ ! -c /dev/vboxdrv ]; then + cat << EOF + WARNING: The character device /dev/vboxdrv does not exist. Try + +- sudo /sbin/vboxconfig ++ sudo /usr/sbin/vboxconfig + + and if that is not successful, try to re-install the package. + diff --git a/gcc5-real-support.patch b/gcc5-real-support.patch new file mode 100644 index 0000000..22e0b30 --- /dev/null +++ b/gcc5-real-support.patch @@ -0,0 +1,20 @@ +Index: VirtualBox-7.0.14/configure +=================================================================== +--- VirtualBox-7.0.14.orig/configure ++++ VirtualBox-7.0.14/configure +@@ -475,8 +475,13 @@ check_gcc() + log_failure "cannot execute '$CXX -dumpversion'" + fail really + fi +- cc_maj=`echo $cc_ver|cut -d. -f1` +- cc_min=`echo $cc_ver|cut -d. -f2` ++ if echo $cc_ver | grep -q '\.'; then ++ cc_maj=`echo $cc_ver|cut -d. -f1` ++ cc_min=`echo $cc_ver|cut -d. -f2` ++ else ++ cc_maj=$cc_ver ++ cc_min=0 ++ fi + if [ "x$cc_ver" != "x$cxx_ver" ]; then + log_failure "gcc version $cc_ver does not match g++ version $cxx_ver" + fail really diff --git a/libxml21206.patch b/libxml21206.patch new file mode 100644 index 0000000..fe1ba0a --- /dev/null +++ b/libxml21206.patch @@ -0,0 +1,22 @@ +Index: VirtualBox-7.0.18/src/libs/libxml2-2.12.6/include/vboxconfig.h +=================================================================== +--- VirtualBox-7.0.18.orig/src/libs/libxml2-2.12.6/include/vboxconfig.h ++++ VirtualBox-7.0.18/src/libs/libxml2-2.12.6/include/vboxconfig.h +@@ -387,7 +387,7 @@ + #define PACKAGE_TARNAME "" + + /* Define to the version of this package. */ +-#define PACKAGE_VERSION "2.6.30" ++#define PACKAGE_VERSION "2.12.6" + + /* Define to 1 if the C compiler supports function prototypes. */ + #define PROTOTYPES 1 +@@ -399,7 +399,7 @@ + #undef SUPPORT_IP6 + + /* Version number of package */ +-#define VERSION "2.6.30" ++#define VERSION "2.12.6" + + /* Determine what socket length (socklen_t) data type is */ + #if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2) diff --git a/modify_for_4_8_bo_move.patch b/modify_for_4_8_bo_move.patch new file mode 100644 index 0000000..832b687 --- /dev/null +++ b/modify_for_4_8_bo_move.patch @@ -0,0 +1,30 @@ +Index: VirtualBox-7.0.14/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c ++++ VirtualBox-7.0.14/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c +@@ -45,7 +45,7 @@ + #include + #include + #include "r0drv/alloc-r0drv.h" +- ++#include + #include "internal/initterm.h" + + +@@ -78,11 +78,12 @@ DECLHIDDEN(int) rtR0MemAllocEx(size_t cb + && !(fFlags & RTMEMHDR_FLAG_ANY_CTX) )) + { + fFlags &= ~RTMEMHDR_FLAG_KMALLOC; +- pHdr = vmalloc(cb + sizeof(*pHdr)); +- } ++ pHdr = vmalloc(cb + sizeof(*pHdr)); ++ } ++ kmemleak_not_leak(pHdr); + } +- else +- pHdr = vmalloc(cb + sizeof(*pHdr)); ++ else ++ pHdr = vmalloc(cb + sizeof(*pHdr)); + if (RT_LIKELY(pHdr)) + { + /* diff --git a/python311.patch b/python311.patch new file mode 100644 index 0000000..7ef188d --- /dev/null +++ b/python311.patch @@ -0,0 +1,26 @@ +Index: VirtualBox-7.0.14/configure +=================================================================== +--- VirtualBox-7.0.14.orig/configure ++++ VirtualBox-7.0.14/configure +@@ -2178,7 +2178,7 @@ extern "C" int main(void) + } + 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 python3.7 python3.7m python3.8 python3.9 python3.10 python3.11 python3.12" ++ SUPPYTHONLIBS="python2.7 python2.6 python3.1 python3.2 python3.3 python3.4 python3.4m python3.5 python3.5m python3.6 python3.6m python3.7 python3.7m python3.8 python3.9 python3.10 python3.11 python3.12 python3.11 python3.11m" + 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-7.0.14/src/VBox/Installer/linux/routines.sh +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Installer/linux/routines.sh ++++ VirtualBox-7.0.14/src/VBox/Installer/linux/routines.sh +@@ -444,7 +444,7 @@ maybe_run_python_bindings_installer() { + # the VirtualBox API bindings. Needs to prevent double installs which waste + # quite a bit of time. + PYTHONS="" +- for p in python2.6 python2.7 python2 python3.3 python3.4 python3.5 python3.6 python3.7 python3.8 python3.9 python3.10 python3 python; do ++ for p in python2.6 python2.7 python2 python3.3 python3.4 python3.5 python3.6 python3.7 python3.8 python3.9 python3.10 python3.11 python3 python; do + if [ "`$p -c 'import sys + if sys.version_info >= (2, 6) and (sys.version_info < (3, 0) or sys.version_info >= (3, 3)): + print(\"test\")' 2> /dev/null`" != "test" ]; then diff --git a/remove_vbox_video_build.patch b/remove_vbox_video_build.patch new file mode 100644 index 0000000..6f4fedb --- /dev/null +++ b/remove_vbox_video_build.patch @@ -0,0 +1,39 @@ +Index: VirtualBox-7.0.18/Makefile.kmk +=================================================================== +--- VirtualBox-7.0.18.orig/Makefile.kmk ++++ VirtualBox-7.0.18/Makefile.kmk +@@ -824,7 +824,6 @@ VBOX_CORE_DOXYFILE_INPUT_DIRS = \ + src/VBox/Additions/x11/vboxmouse \ + src/VBox/Additions/x11/vboxmouse/xorg70 \ + src/VBox/Additions/x11/vboxmouse/xorg71 \ +- src/VBox/Additions/x11/vboxvideo \ + src/VBox/NetworkServices \ + src/VBox/NetworkServices/Dhcpd \ + src/VBox/NetworkServices/NAT \ +Index: VirtualBox-7.0.18/src/VBox/Additions/x11/vboxvideo/Makefile.kmk +=================================================================== +--- VirtualBox-7.0.18.orig/src/VBox/Additions/x11/vboxvideo/Makefile.kmk ++++ VirtualBox-7.0.18/src/VBox/Additions/x11/vboxvideo/Makefile.kmk +@@ -404,7 +404,8 @@ vboxvideo_drv_118_INCS += $(PATH_ROOT)/s + vboxvideo_drv_118_SOURCES := $(vboxvideo_drv_17_SOURCES) + vboxvideo_drv_118_LIBS += $(vboxvideo_drv_70_LIBS) + +-ifdef VBOX_USE_SYSTEM_XORG_HEADERS ++# Fix to never build ++ifdef XX_VBOX_USE_SYSTEM_XORG_HEADERS + # Build using local X.Org headers. We assume X.Org Server 1.7 or later. + DLLS := $(filter-out vboxvideo_drv_%,$(DLLS)) vboxvideo_drv_system + SYSMODS := $(filter-out vboxvideo_drv%,$(SYSMODS)) +Index: VirtualBox-7.0.18/src/VBox/Additions/x11/Makefile.kmk +=================================================================== +--- VirtualBox-7.0.18.orig/src/VBox/Additions/x11/Makefile.kmk ++++ VirtualBox-7.0.18/src/VBox/Additions/x11/Makefile.kmk +@@ -32,7 +32,7 @@ include $(KBUILD_PATH)/subheader.kmk + if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) + include $(PATH_SUB_CURRENT)/VBoxClient/Makefile.kmk + ifndef VBOX_NO_LEGACY_XORG_X11 +- include $(PATH_SUB_CURRENT)/vboxvideo/Makefile.kmk ++# include $(PATH_SUB_CURRENT)/vboxvideo/Makefile.kmk + ifn1of ($(KBUILD_TARGET), netbsd solaris) + include $(PATH_SUB_CURRENT)/vboxmouse/Makefile.kmk + endif diff --git a/security_fixes.patch b/security_fixes.patch new file mode 100644 index 0000000..7f9aa00 --- /dev/null +++ b/security_fixes.patch @@ -0,0 +1,40 @@ +# This patch file is to warn future maintainers of VirtualBox on openSUSE +# platforms that the distributed versions of vboxadd.sh and vboxdrv.sh +# contain security holes. If you need to use these scripts in the future, +# please consult the Security Group at openSUSE. +# +# January 31, 2019 - Larry Finger +# +Index: VirtualBox-7.0.14/src/VBox/Additions/linux/installer/vboxadd.sh +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/linux/installer/vboxadd.sh ++++ VirtualBox-7.0.14/src/VBox/Additions/linux/installer/vboxadd.sh +@@ -1228,9 +1228,11 @@ dmnstatus() + fi + } + +-for i; do +- case "$i" in quiet) QUIET=yes;; esac +-done ++echo "This script has insecurities. It must never be used in openSUSE without consultine Security." ++exit 1 ++ ++case "$2" in quiet) ++ QUIET=yes;; + case "$1" in + # Does setup without clean-up first and marks all kernels currently found on the + # system so that we can see later if any were added. +Index: VirtualBox-7.0.14/src/VBox/Installer/linux/vboxdrv.sh +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Installer/linux/vboxdrv.sh ++++ VirtualBox-7.0.14/src/VBox/Installer/linux/vboxdrv.sh +@@ -48,6 +48,9 @@ DEVICE=/dev/vboxdrv + MODPROBE=/sbin/modprobe + SCRIPTNAME=vboxdrv.sh + ++echo "This script has insecurities. It must never be used in openSUSE without consultine Security." ++exit 1 ++ + # The below is GNU-specific. See VBox.sh for the longer Solaris/OS X version. + TARGET=`readlink -e -- "${0}"` || exit 1 + SCRIPT_DIR="${TARGET%/[!/]*}" diff --git a/smap.diff b/smap.diff new file mode 100644 index 0000000..0baf1bb --- /dev/null +++ b/smap.diff @@ -0,0 +1,17 @@ +Index: VirtualBox-7.0.14/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c ++++ VirtualBox-7.0.14/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c +@@ -61,6 +61,12 @@ + # include + # define VBOX_WITH_SUSPEND_NOTIFICATION + #endif ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 7, 0) ++# include ++#else ++static inline void clac(void) { } ++static inline void stac(void) { } ++#endif + + #include + #include diff --git a/turn_off_cloud_net.patch b/turn_off_cloud_net.patch new file mode 100644 index 0000000..6859eba --- /dev/null +++ b/turn_off_cloud_net.patch @@ -0,0 +1,18 @@ +Index: VirtualBox-7.0.18/Config.kmk +=================================================================== +--- VirtualBox-7.0.18.orig/Config.kmk ++++ VirtualBox-7.0.18/Config.kmk +@@ -981,11 +981,9 @@ if1of ($(KBUILD_TARGET), freebsd linux) + endif + # Use new VBoxNetDhcpd instead of old VBoxNetDHCP + VBOX_WITH_DHCPD = 1 +-# Experimental suport for cloud network integration (depends on libssh) +-ifdef VBOX_WITH_LIBSSH +- VBOX_WITH_CLOUD_NET = 1 +-endif + # Use Mac OS X VMNET API instead of network kernel extensions ++# Experimental suport for cloud network integration ++#VBOX_WITH_CLOUD_NET = 1 + VBOX_WITH_VMNET = 1 + ## @} + diff --git a/update-extpack.sh b/update-extpack.sh new file mode 100644 index 0000000..5248e0f --- /dev/null +++ b/update-extpack.sh @@ -0,0 +1,64 @@ +#!/bin/bash + +# Script to update extpack +# The idea for this method and the original code came from Larry Len Rainey. +# +# This implementation by Larry Finger + +# Define some symbols and determine the current version of VB + +VBOXMANAGE=/usr/bin/VBoxManage +AWK=/usr/bin/awk +GREP=/usr/bin/grep +WGET=/usr/bin/wget +VBOX_VERSION=`$VBOXMANAGE --version | $AWK -F_ {'print $1'}` + +# Define a symbol for the name of the extpack matching the VB version +VBOX_EXT=`echo Oracle_VM_VirtualBox_Extension_Pack-${VBOX_VERSION}.vbox-extpack` + +# Full path to extpack license file +LICENSE_PATH="/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/ExtPack-license.rtf" + +# Determine the installed version of extpack, if any. +EXTPACK_CURRENT=`$VBOXMANAGE list extpacks | $GREP -A1 "Oracle VM VirtualBox Extension Pack" | $GREP Version | $AWK -F\ {'print $2'}` + +# The extpacks are licensed under a Personal Use and Evaluation License +# At some point, the user must agree to the conditions of that license. +# If no extpack is installed on this system, then there is no agreement, +# thus this script cannot install the extpack. +# +# This situation applies to new installations that could conform to the license, +# but more importantly, it handles commercial setups that have not purchased +# the necessary license. +# Check if extpack is currently installed. If not exit +if [ -z $EXTPACK_CURRENT ]; then + exit 0 +fi +# +# An extpack has been installed on this system. Now we need to check if +# it was issued under the current version of the license. + +#Note to maintainers: The "version 11" in the next command must be changed +# manually when Oracle revises the license. + +LICENSE_CHECK=`$GREP "version 11" $LICENSE_PATH | $AWK -F\ {'print $2'}` +if [ -z $LICENSE_CHECK ]; then +# New license version does not match the current installation. +# The user will need to agree to the new version, thus we do nothing here. + exit 0 +fi +if [ $VBOX_VERSION == $EXTPACK_CURRENT ]; then +# The extpack currently installed matches - we are done + exit 0 +fi + +# A new version of extpack is needed - switch to directory that can be written, and download it +pushd ~ > /dev/null 2>&1 +$WGET https://download.virtualbox.org/virtualbox/$VBOX_VERSION/$VBOX_EXT > /dev/null 2>&1 + +# Now install it +echo Y | $VBOXMANAGE extpack install --replace $VBOX_EXT > /dev/null 2>&1 + +# Clean up by deleting downloaded file and restoring the original working directory +rm -f $VBOX_EXT +popd ~ > /dev/null 2>&1 diff --git a/vbox-default-os-type.diff b/vbox-default-os-type.diff new file mode 100644 index 0000000..78bb41a --- /dev/null +++ b/vbox-default-os-type.diff @@ -0,0 +1,25 @@ +Index: VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/src/settings/editors/UINameAndSystemEditor.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Frontends/VirtualBox/src/settings/editors/UINameAndSystemEditor.cpp ++++ VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/src/settings/editors/UINameAndSystemEditor.cpp +@@ -397,15 +397,15 @@ void UINameAndSystemEditor::sltFamilyCha + if (iIndexWin10 != -1) + m_pComboType->setCurrentIndex(iIndexWin10); + } +- /* Or select Oracle Linux item for Linux family as default: */ ++ /* Or select openSUSE item for Linux family as default: */ + else if (m_strFamilyId == "Linux") + { +- QString strDefaultID = "Oracle"; ++ QString strDefaultID = "openSUSE"; + if (ARCH_BITS == 64) + strDefaultID += "_64"; +- const int iIndexUbuntu = m_pComboType->findData(strDefaultID, TypeID); +- if (iIndexUbuntu != -1) +- m_pComboType->setCurrentIndex(iIndexUbuntu); ++ const int iIndexOpenSUSE = m_pComboType->findData(strDefaultID, TypeID); ++ if (iIndexOpenSUSE != -1) ++ m_pComboType->setCurrentIndex(iIndexOpenSUSE); + } + /* Else simply select the first one present: */ + else diff --git a/vbox-deprec-gsoap-service-proxies.diff b/vbox-deprec-gsoap-service-proxies.diff new file mode 100644 index 0000000..a135773 --- /dev/null +++ b/vbox-deprec-gsoap-service-proxies.diff @@ -0,0 +1,13 @@ +Index: VirtualBox-7.0.14/src/VBox/Main/webservice/Makefile.kmk +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Main/webservice/Makefile.kmk ++++ VirtualBox-7.0.14/src/VBox/Main/webservice/Makefile.kmk +@@ -848,7 +848,7 @@ ifdef VBOX_GSOAP_INSTALLED + $(RECOMPILE_ON_MAKEFILE_CURRENT) | $$(dir $$@) + $(call MSG_GENERATE,,lots of files,$(GSOAPH_RELEVANT)) + $(RM) -f $@ +- $(REDIRECT) -C $(VBOXWEB_OUT_DIR) -- $(VBOX_SOAPCPP2) $(VBOXWEB_SOAPCPP2_SKIP_FILES) -L -2 -w -I$(VBOX_PATH_GSOAP_IMPORT) $(GSOAPH_RELEVANT) ++ $(REDIRECT) -C $(VBOXWEB_OUT_DIR) -- $(VBOX_SOAPCPP2) $(VBOXWEB_SOAPCPP2_SKIP_FILES) -z1 -L -2 -w -I$(VBOX_PATH_GSOAP_IMPORT) $(GSOAPH_RELEVANT) + ifeq ($(KBUILD_TARGET),win) # MSC -Wall workaround. + $(CP) -f "$(VBOXWEB_SOAP_CLIENT_H)" "$(VBOXWEB_SOAP_CLIENT_H).tmp" + $(SED) -f $(VBOX_PATH_WEBSERVICE)/stdsoap2.sed --output "$(VBOXWEB_SOAP_CLIENT_H)" "$(VBOXWEB_SOAP_CLIENT_H).tmp" diff --git a/vbox-disable-updates.diff b/vbox-disable-updates.diff new file mode 100644 index 0000000..ae7b3ad --- /dev/null +++ b/vbox-disable-updates.diff @@ -0,0 +1,31 @@ +Index: VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp ++++ VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp +@@ -99,8 +99,6 @@ void UISettingsDialogGlobal::retranslate + m_pSelector->setItemText(GlobalSettingsPageType_Input, tr("Input")); + + #ifdef VBOX_GUI_WITH_NETWORK_MANAGER +- /* Update page: */ +- m_pSelector->setItemText(GlobalSettingsPageType_Update, tr("Update")); + #endif + + /* Language page: */ +@@ -225,17 +223,6 @@ void UISettingsDialogGlobal::prepare() + addPageHelpKeyword(iPageIndex, "preferences"); + break; + } +-#ifdef VBOX_GUI_WITH_NETWORK_MANAGER +- /* Update page: */ +- case GlobalSettingsPageType_Update: +- { +- pSettingsPage = new UIGlobalSettingsUpdate; +- addItem(":/refresh_32px.png", ":/refresh_24px.png", ":/refresh_16px.png", +- iPageIndex, "#update", pSettingsPage); +- addPageHelpKeyword(iPageIndex, "preferences"); +- break; +- } +-#endif /* VBOX_GUI_WITH_NETWORK_MANAGER */ + /* Language page: */ + case GlobalSettingsPageType_Language: + { diff --git a/vbox-fpie.diff b/vbox-fpie.diff new file mode 100644 index 0000000..172a9ad --- /dev/null +++ b/vbox-fpie.diff @@ -0,0 +1,25 @@ +Index: VirtualBox-7.0.14/Config.kmk +=================================================================== +--- VirtualBox-7.0.14.orig/Config.kmk ++++ VirtualBox-7.0.14/Config.kmk +@@ -6777,6 +6777,9 @@ TEMPLATE_VBoxR3HardenedExe_LDFLAGS.darwi + ifeq ($(KBUILD_TARGET),linux) + # not necessary except USE_LIB_PCAP is defined in SUPR3HardenedMain.cpp + # TEMPLATE_VBoxR3HardenedExe_LIBS += cap ++ TEMPLATE_VBOXR3HARDENEDEXE_CXXFLAGS.linux = $(TEMPLATE_VBOXR3EXE_CXXFLAGS.linux) -fPIE ++ TEMPLATE_VBOXR3HARDENEDEXE_CFLAGS.linux = $(TEMPLATE_VBOXR3EXE_CFLAGS.linux) -fPIE ++ TEMPLATE_VBOXR3HARDENEDEXE_LDFLAGS.linux = $(TEMPLATE_VBOXR3EXE_LDFLAGS.linux) -pie + endif + ifeq ($(KBUILD_TARGET),win) # No CRT! + TEMPLATE_VBoxR3HardenedExe_SDKS = VBoxNtDll $(TEMPLATE_VBoxR3Exe_SDKS) +@@ -6809,8 +6812,8 @@ ifeq ($(KBUILD_TARGET),win) # No CRT! + TEMPLATE_VBoxR3HardenedExe_VBOX_IMPORT_CHECKER.win = noimports + else ifn1of ($(KBUILD_TARGET), os2) + ifneq ($(KBUILD_TYPE),asan) # Keep RPATH in asan builds so we can find libasan.so.X and libubsan.so.Y. +- TEMPLATE_VBoxR3HardenedExe_LDFLAGS = $(filter-out '$(VBOX_GCC_RPATH_OPT)%,$(TEMPLATE_VBoxR3Exe_LDFLAGS)) +- TEMPLATE_VBoxR3HardenedExe_LDFLAGS.linux = $(filter-out $(VBOX_GCC_ORIGIN_OPT),$(TEMPLATE_VBoxR3Exe_LDFLAGS.linux)) ++ TEMPLATE_VBoxR3HardenedExe_LDFLAGS = $(filter-out '$(VBOX_GCC_RPATH_OPT)%,$(TEMPLATE_VBoxR3Exe_LDFLAGS)) -pie ++ TEMPLATE_VBoxR3HardenedExe_LDFLAGS.linux = $(filter-out $(VBOX_GCC_ORIGIN_OPT),$(TEMPLATE_VBoxR3Exe_LDFLAGS.linux)) -pie + endif + endif + diff --git a/vbox-gsoapssl-deps.diff b/vbox-gsoapssl-deps.diff new file mode 100644 index 0000000..da74a88 --- /dev/null +++ b/vbox-gsoapssl-deps.diff @@ -0,0 +1,40 @@ +Index: VirtualBox-7.0.14/src/VBox/Main/webservice/Makefile.kmk +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Main/webservice/Makefile.kmk ++++ VirtualBox-7.0.14/src/VBox/Main/webservice/Makefile.kmk +@@ -412,11 +412,12 @@ ifdef VBOX_GSOAP_INSTALLED + endif + endif + vboxwebsrv_LIBS += \ +- $(PATH_STAGE_LIB)/vboxsoap$(VBOX_SUFF_LIB) \ +- $(VBOX_GSOAP_CXX_LIBS) \ +- $(LIB_RUNTIME) +- vboxwebsrv_LIBS.solaris += socket nsl +- ifdef VBOX_WITH_WEBSERVICES_SSL ++ $(PATH_STAGE_LIB)/vboxsoap$(VBOX_SUFF_LIB) \ ++ $(VBOX_GSOAP_CXX_LIBS) \ ++ ssl crypto z \ ++ $(LIB_RUNTIME) ++ vboxwebsrv_LIBS.solaris += socket nsl ++ ifdef VBOX_WITH_WEBSERVICES_SSL + vboxwebsrv_DEFS += WITH_OPENSSL + vboxwebsrv_SDKS += VBoxOpenSsl + endif +@@ -588,11 +589,12 @@ ifdef VBOX_GSOAP_INSTALLED + $(VBOXWEB_OUT_DIR) \ + . + webtest_LIBS += \ +- $(PATH_STAGE_LIB)/vboxsoap$(VBOX_SUFF_LIB) \ +- $(VBOX_GSOAP_CXX_LIBS) \ +- $(LIB_RUNTIME) +- webtest_LIBS.solaris += nsl +- ifdef VBOX_WITH_WEBSERVICES_SSL ++ $(PATH_STAGE_LIB)/vboxsoap$(VBOX_SUFF_LIB) \ ++ $(VBOX_GSOAP_CXX_LIBS) \ ++ ssl crypto z \ ++ $(LIB_RUNTIME) ++ webtest_LIBS.solaris += nsl ++ ifdef VBOX_WITH_WEBSERVICES_SSL + webtest_DEFS += WITH_OPENSSL + webtest_SDKS += VBoxOpenSsl + endif diff --git a/vbox-no-build-dates.diff b/vbox-no-build-dates.diff new file mode 100644 index 0000000..2ab8a8c --- /dev/null +++ b/vbox-no-build-dates.diff @@ -0,0 +1,406 @@ +Index: VirtualBox-7.0.14/src/VBox/Frontends/VBoxFB/VBoxFB.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Frontends/VBoxFB/VBoxFB.cpp ++++ VirtualBox-7.0.14/src/VBox/Frontends/VBoxFB/VBoxFB.cpp +@@ -72,7 +72,7 @@ int main(int argc, char *argv[]) + + printf("VirtualBox DirectFB GUI built %s %s\n" + "Copyright (C) 2004-" VBOX_C_YEAR " " VBOX_VENDOR "\n" +- "Copyright (C) 2004-2005 secunet Security Networks AG\n", __DATE__, __TIME__); ++ "Copyright (C) 2004-2005 secunet Security Networks AG\n"); + + fputs("\nWARNING! Unmaintained code.\nWARNING! Needs fixing & debugging!\n\n", stdout); + +Index: VirtualBox-7.0.14/src/VBox/Runtime/common/string/uniread.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Runtime/common/string/uniread.cpp ++++ VirtualBox-7.0.14/src/VBox/Runtime/common/string/uniread.cpp +@@ -1049,7 +1049,7 @@ int PrintHeader(const char *argv0, const + " * IPRT - Unicode Tables.\n" + " *\n" + " * Automatically Generated from %s\n" +- " * by %s (" __DATE__ " " __TIME__ ")\n" ++ " * by %s\n" + " */\n" + "\n" + "/*\n" +Index: VirtualBox-7.0.14/src/libs/xpcom18a4/nsprpub/lib/libc/src/plvrsion.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/nsprpub/lib/libc/src/plvrsion.c ++++ VirtualBox-7.0.14/src/libs/xpcom18a4/nsprpub/lib/libc/src/plvrsion.c +@@ -42,16 +42,13 @@ + /**************************IDENTITY AND VERSIONING***********************/ + /************************************************************************/ + #include "_pl_bld.h" +-#if !defined(_BUILD_TIME) +-#ifdef HAVE_LONG_LONG +-#define _BUILD_TIME 0 +-#else ++ ++#undef _BUILD_TIME + #define _BUILD_TIME {0, 0} +-#endif +-#endif +-#if !defined(_BUILD_STRING) ++ ++#undef _BUILD_STRING + #define _BUILD_STRING "" +-#endif ++ + #if !defined(_PRODUCTION) + #define _PRODUCTION "" + #endif +Index: VirtualBox-7.0.14/src/libs/xpcom18a4/nsprpub/pr/src/prvrsion.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/nsprpub/pr/src/prvrsion.c ++++ VirtualBox-7.0.14/src/libs/xpcom18a4/nsprpub/pr/src/prvrsion.c +@@ -44,16 +44,10 @@ + #ifndef XP_MAC + #include "_pr_bld.h" + #endif +-#if !defined(_BUILD_TIME) +-#ifdef HAVE_LONG_LONG +-#define _BUILD_TIME 0 +-#else ++#undef _BUILD_TIME + #define _BUILD_TIME {0, 0} +-#endif +-#endif +-#if !defined(_BUILD_STRING) ++#undef _BUILD_STRING + #define _BUILD_STRING "" +-#endif + #if !defined(_PRODUCTION) + #define _PRODUCTION "" + #endif +Index: VirtualBox-7.0.14/src/libs/xpcom18a4/nsprpub/lib/prstreams/plvrsion.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/nsprpub/lib/prstreams/plvrsion.c ++++ VirtualBox-7.0.14/src/libs/xpcom18a4/nsprpub/lib/prstreams/plvrsion.c +@@ -42,16 +42,13 @@ + /**************************IDENTITY AND VERSIONING***********************/ + /************************************************************************/ + #include "_pl_bld.h" +-#if !defined(_BUILD_TIME) +-#ifdef HAVE_LONG_LONG +-#define _BUILD_TIME 0 +-#else ++ ++#undef _BUILD_TIME + #define _BUILD_TIME {0, 0} +-#endif +-#endif +-#if !defined(_BUILD_STRING) ++ ++#undef _BUILD_STRING + #define _BUILD_STRING "" +-#endif ++ + #if !defined(_PRODUCTION) + #define _PRODUCTION "" + #endif +Index: VirtualBox-7.0.14/src/libs/xpcom18a4/nsprpub/lib/ds/plvrsion.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/nsprpub/lib/ds/plvrsion.c ++++ VirtualBox-7.0.14/src/libs/xpcom18a4/nsprpub/lib/ds/plvrsion.c +@@ -42,16 +42,13 @@ + /**************************IDENTITY AND VERSIONING***********************/ + /************************************************************************/ + #include "_pl_bld.h" +-#if !defined(_BUILD_TIME) +-#ifdef HAVE_LONG_LONG +-#define _BUILD_TIME 0 +-#else ++ ++#undef _BUILD_TIME + #define _BUILD_TIME {0, 0} +-#endif +-#endif +-#if !defined(_BUILD_STRING) ++ ++#undef _BUILD_STRING + #define _BUILD_STRING "" +-#endif ++ + #if !defined(_PRODUCTION) + #define _PRODUCTION "" + #endif +Index: VirtualBox-7.0.14/src/VBox/Main/src-helper-apps/OpenGLTest/OpenGLTestApp.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Main/src-helper-apps/OpenGLTest/OpenGLTestApp.cpp ++++ VirtualBox-7.0.14/src/VBox/Main/src-helper-apps/OpenGLTest/OpenGLTestApp.cpp +@@ -327,7 +327,7 @@ static int vboxInitLogging(const char *p + #endif + "Log opened %s\n", + VBOX_VERSION_STRING, RTBldCfgRevision(), VBOX_BUILD_TARGET, +- __DATE__, __TIME__, szTmp); ++ "openSUSE", "Buildservice", szTmp); + + vrc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szTmp, sizeof(szTmp)); + if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW) +Index: VirtualBox-7.0.14/src/VBox/Devices/PC/BIOS/bios.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Devices/PC/BIOS/bios.c ++++ VirtualBox-7.0.14/src/VBox/Devices/PC/BIOS/bios.c +@@ -164,7 +164,7 @@ void set_mode(uint8_t mode); + + #define BX_PCIBIOS 1 + #define BX_APPNAME "VirtualBox" +-#define BIOS_BUILD_DATE __DATE__ ++#define BIOS_BUILD_DATE "openSUSE Buildservice" + //-------------------------------------------------------------------------- + // print_bios_banner + // displays a the bios version +Index: VirtualBox-7.0.14/src/VBox/Additions/common/VBoxService/VBoxService.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/common/VBoxService/VBoxService.cpp ++++ VirtualBox-7.0.14/src/VBox/Additions/common/VBoxService/VBoxService.cpp +@@ -255,7 +255,7 @@ static DECLCALLBACK(void) vgsvcLogHeader + "VBoxService %s r%s (verbosity: %u) %s (%s %s) release log\n" + "Log opened %s\n", + RTBldCfgVersion(), RTBldCfgRevisionStr(), g_cVerbosity, VBOX_BUILD_TARGET, +- __DATE__, __TIME__, szTmp); ++ "openSUSE", "Build Service", szTmp); + + int vrc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szTmp, sizeof(szTmp)); + if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW) +Index: VirtualBox-7.0.14/src/VBox/ExtPacks/BusMouseSample/Makefile.kmk +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/ExtPacks/BusMouseSample/Makefile.kmk ++++ VirtualBox-7.0.14/src/VBox/ExtPacks/BusMouseSample/Makefile.kmk +@@ -193,7 +193,7 @@ $(VBOX_PATH_PACKAGES)/$(VBOX_BUSMOUSE_MA + $(VBoxBusMouseIns_0_OUTDIR)/Stage/ExtPack.manifest \ + $(VBoxBusMouseIns_0_OUTDIR)/Stage/ExtPack.signature + # Tar it up. +- tar -cvf - -C $(VBoxBusMouseIns_0_OUTDIR)/Stage/ . | gzip -9c > $@ ++ tar -cvf - -C $(VBoxBusMouseIns_0_OUTDIR)/Stage/ . | gzip -9nc > $@ + # Clean up + $(RM) -Rf $(VBoxBusMouseIns_0_OUTDIR)/Stage/ + +Index: VirtualBox-7.0.14/src/VBox/ExtPacks/Skeleton/Makefile.kmk +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/ExtPacks/Skeleton/Makefile.kmk ++++ VirtualBox-7.0.14/src/VBox/ExtPacks/Skeleton/Makefile.kmk +@@ -161,7 +161,7 @@ $(VBOX_PATH_PACKAGES)/$(VBOX_SKELETON_MA + $(VBoxSkeletonIns_0_OUTDIR)/Stage/ExtPack.manifest \ + $(VBoxSkeletonIns_0_OUTDIR)/Stage/ExtPack.signature + # Tar it up. +- tar -cvf - -C $(VBoxSkeletonIns_0_OUTDIR)/Stage/ . | gzip -9c > $@ ++ tar -cvf - -C $(VBoxSkeletonIns_0_OUTDIR)/Stage/ . | gzip -9nc > $@ + # Clean up + $(RM) -Rf $(VBoxSkeletonIns_0_OUTDIR)/Stage/ + +Index: VirtualBox-7.0.14/src/VBox/ExtPacks/VBoxDTrace/Makefile.kmk +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/ExtPacks/VBoxDTrace/Makefile.kmk ++++ VirtualBox-7.0.14/src/VBox/ExtPacks/VBoxDTrace/Makefile.kmk +@@ -354,7 +354,7 @@ if defined(VBOX_WITH_EXTPACK_VBOXDTRACE) + $(VBoxDTraceIns_0_OUTDIR)/Stage/ExtPack.manifest \ + $(VBoxDTraceIns_0_OUTDIR)/Stage/ExtPack.signature + # Tar it up. +- tar -cvf - -C $(VBoxDTraceIns_0_OUTDIR)/Stage/ . | gzip -9c > $@ ++ tar -cvf - -C $(VBoxDTraceIns_0_OUTDIR)/Stage/ . | gzip -9nc > $@ + # Clean up + $(RM) -Rf $(VBoxDTraceIns_0_OUTDIR)/Stage/ + +Index: VirtualBox-7.0.14/src/VBox/ExtPacks/VNC/Makefile.kmk +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/ExtPacks/VNC/Makefile.kmk ++++ VirtualBox-7.0.14/src/VBox/ExtPacks/VNC/Makefile.kmk +@@ -164,7 +164,7 @@ $(VBOX_PATH_PACKAGES)/$(VBOX_VNC_MANGLED + $(VBoxVNCIns_0_OUTDIR)/Stage/ExtPack.manifest \ + $(VBoxVNCIns_0_OUTDIR)/Stage/ExtPack.signature + # Tar it up. +- tar -cvf - -C $(VBoxVNCIns_0_OUTDIR)/Stage/ . | gzip -9c > $@ ++ tar -cvf - -C $(VBoxVNCIns_0_OUTDIR)/Stage/ . | gzip -9nc > $@ + # Clean up + $(RM) -Rf $(VBoxVNCIns_0_OUTDIR)/Stage/ + +Index: VirtualBox-7.0.14/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp ++++ VirtualBox-7.0.14/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp +@@ -329,7 +329,7 @@ NTSTATUS DriverEntry(PDRIVER_OBJECT pDrv + } + VGDrvCommonInitLoggers(); + +- LogFunc(("Driver built: %s %s\n", __DATE__, __TIME__)); ++ LogFunc(("Driver built: %s %s\n", "no date", "no time")); + + /* + * Check if the NT version is supported and initialize g_enmVGDrvNtVer. +Index: VirtualBox-7.0.14/src/VBox/Additions/linux/lightdm-greeter/vbox-greeter.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/linux/lightdm-greeter/vbox-greeter.cpp ++++ VirtualBox-7.0.14/src/VBox/Additions/linux/lightdm-greeter/vbox-greeter.cpp +@@ -882,7 +882,7 @@ static DECLCALLBACK(void) vboxGreeterLog + "vbox-greeter %s r%s (verbosity: %d) %s (%s %s) release log\n" + "Log opened %s\n", + RTBldCfgVersion(), RTBldCfgRevisionStr(), g_iVerbosity, VBOX_BUILD_TARGET, +- __DATE__, __TIME__, szTmp); ++ "no date", "no time", szTmp); + + int vrc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szTmp, sizeof(szTmp)); + if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW) +Index: VirtualBox-7.0.14/src/VBox/Additions/solaris/Mouse/vboxms.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/solaris/Mouse/vboxms.c ++++ VirtualBox-7.0.14/src/VBox/Additions/solaris/Mouse/vboxms.c +@@ -266,7 +266,7 @@ static VBMSSTATE g_OpenNodeSt + int _init(void) + { + int rc; +- LogRelFlow((DEVICE_NAME ": built on " __DATE__ " at " __TIME__ "\n")); ++ LogRelFlow((DEVICE_NAME ": built on " "no date" " at " "no time" "\n")); + mutex_init(&g_OpenNodeState.InitMtx, NULL, MUTEX_DRIVER, NULL); + /* + * Prevent module autounloading. +Index: VirtualBox-7.0.14/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VolInfo/VolInfo.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VolInfo/VolInfo.c ++++ VirtualBox-7.0.14/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VolInfo/VolInfo.c +@@ -251,10 +251,10 @@ Returns: + UTILITY_NAME, + UTILITY_MAJOR_VERSION, + UTILITY_MINOR_VERSION, +- __BUILD_VERSION ++ __BUILD_VERSION, ++ "no date" + ); + +- if (argc == 1) { + Usage (); + return -1; + } +Index: VirtualBox-7.0.14/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbDev.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbDev.cpp ++++ VirtualBox-7.0.14/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbDev.cpp +@@ -128,7 +128,7 @@ static NTSTATUS vboxUsbDdiAddDevice(PDRI + static VOID vboxUsbDdiUnload(PDRIVER_OBJECT pDriverObject) + { + RT_NOREF1(pDriverObject); +- LogRel(("VBoxUsb::DriverUnload. Built Date (%s) Time (%s)\n", __DATE__, __TIME__)); ++ LogRel(("VBoxUsb::DriverUnload. Built Date (%s) Time (%s)\n", "no date", "no time")); + VBoxDrvToolStrFree(&g_VBoxUsbGlobals.RegPath); + + vboxUsbRtGlobalsTerm(); +@@ -284,7 +284,7 @@ RT_C_DECLS_END + + NTSTATUS DriverEntry(IN PDRIVER_OBJECT pDriverObject, IN PUNICODE_STRING pRegistryPath) + { +- LogRel(("VBoxUsb::DriverEntry. Built Date (%s) Time (%s)\n", __DATE__, __TIME__)); ++ LogRel(("VBoxUsb::DriverEntry. Built Date (%s) Time (%s)\n", "no date", "no time")); + + NTSTATUS Status = vboxUsbRtGlobalsInit(); + Assert(Status == STATUS_SUCCESS); +Index: VirtualBox-7.0.14/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.cpp ++++ VirtualBox-7.0.14/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.cpp +@@ -1518,7 +1518,7 @@ NTSTATUS _stdcall DriverEntry(PDRIVER_OB + RTLogDestinations(0, "debugger"); + #endif + +- LOGREL(("Built %s %s", __DATE__, __TIME__)); ++ LOGREL(("Built %s %s", "no date", "no time")); + + memset (&g_VBoxUsbMonGlobals, 0, sizeof (g_VBoxUsbMonGlobals)); + +Index: VirtualBox-7.0.14/src/VBox/Main/glue/VBoxLogRelCreate.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Main/glue/VBoxLogRelCreate.cpp ++++ VirtualBox-7.0.14/src/VBox/Main/glue/VBoxLogRelCreate.cpp +@@ -71,7 +71,7 @@ static DECLCALLBACK(void) vboxHeaderFoot + #endif + "Log opened %s\n", + g_pszLogEntity, VBOX_VERSION_STRING, RTBldCfgRevision(), +- RTBldCfgTargetDotArch(), __DATE__, __TIME__, szTmp); ++ RTBldCfgTargetDotArch(), "no date", "no time", szTmp); + + pfnLog(pReleaseLogger, "Build Type: %s\n", KBUILD_TYPE); + int vrc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szTmp, sizeof(szTmp)); +Index: VirtualBox-7.0.14/src/libs/xpcom18a4/nsprpub/pr/tests/depend.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/nsprpub/pr/tests/depend.c ++++ VirtualBox-7.0.14/src/libs/xpcom18a4/nsprpub/pr/tests/depend.c +@@ -141,7 +141,7 @@ int main(int argc, char **argv) + { + PRIntn tab = 0; + const PRVersionInfo *info = DummyLibVersion(); +- const char *buildDate = __DATE__, *buildTime = __TIME__; ++ const char *buildDate = "no date", *buildTime = "no time"; + + printf("Depend.c build time is %s %s\n", buildDate, buildTime); + +Index: VirtualBox-7.0.14/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/profile_main.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/profile_main.cpp ++++ VirtualBox-7.0.14/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/profile_main.cpp +@@ -458,7 +458,7 @@ int + main() + { + +- cout << "String performance profiling. Compiled " __DATE__ " " __TIME__ << endl; ++ cout << "String performance profiling. Compiled nodate no time" << endl; + #ifdef TEST_STD_STRING + cout << "Testing std::string." << endl; + #else +Index: VirtualBox-7.0.14/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/test_main.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/test_main.cpp ++++ VirtualBox-7.0.14/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/test_main.cpp +@@ -425,7 +425,7 @@ int + main() + { + int tests_failed = 0; +- cout << "String unit tests. Compiled " __DATE__ " " __TIME__ << endl; ++ cout << "String unit tests. Compiled no date no time" << endl; + + #if 0 + { +Index: VirtualBox-7.0.14/src/libs/xpcom18a4/xpcom/tests/TestCOMPtr.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/xpcom/tests/TestCOMPtr.cpp ++++ VirtualBox-7.0.14/src/libs/xpcom18a4/xpcom/tests/TestCOMPtr.cpp +@@ -102,7 +102,7 @@ class test_message + public: + test_message() + { +- printf("BEGIN unit tests for |nsCOMPtr|, compiled " __DATE__ "\n"); ++ printf("BEGIN unit tests for |nsCOMPtr|, compiled no date\n"); + } + + ~test_message() +Index: VirtualBox-7.0.14/src/VBox/Additions/3D/mesa/mesa-21.3.8/src/util/build_id.c +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/3D/mesa/mesa-21.3.8/src/util/build_id.c ++++ VirtualBox-7.0.14/src/VBox/Additions/3D/mesa/mesa-21.3.8/src/util/build_id.c +@@ -30,9 +30,8 @@ + #include "build_id.h" + #include "macros.h" + +-#ifndef NT_GNU_BUILD_ID ++#undef NT_GNU_BUILD_ID + #define NT_GNU_BUILD_ID 3 +-#endif + + #ifndef ElfW + #define ElfW(type) Elf_##type +Index: VirtualBox-7.0.14/src/VBox/Additions/x11/VBoxClient/logging.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Additions/x11/VBoxClient/logging.cpp ++++ VirtualBox-7.0.14/src/VBox/Additions/x11/VBoxClient/logging.cpp +@@ -328,10 +328,10 @@ static DECLCALLBACK(void) vbClLogHeaderF + case RTLOGPHASE_BEGIN: + { + pfnLog(pLoggerRelease, +- "VBoxClient %s r%s (verbosity: %u) %s (%s %s) release log\n" ++ "VBoxClient %s r%s (verbosity: %u) %s release log\n" + "Log opened %s\n", + RTBldCfgVersion(), RTBldCfgRevisionStr(), g_cVerbosity, VBOX_BUILD_TARGET, +- __DATE__, __TIME__, szTmp); ++ szTmp); + + int vrc = RTSystemQueryOSInfo(RTSYSOSINFO_PRODUCT, szTmp, sizeof(szTmp)); + if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW) diff --git a/vbox-permissions_warning.diff b/vbox-permissions_warning.diff new file mode 100644 index 0000000..5a8f9a2 --- /dev/null +++ b/vbox-permissions_warning.diff @@ -0,0 +1,67 @@ +Index: VirtualBox-7.0.18/src/apps/Makefile.kmk +=================================================================== +--- VirtualBox-7.0.18.orig/src/apps/Makefile.kmk ++++ VirtualBox-7.0.18/src/apps/Makefile.kmk +@@ -28,5 +28,7 @@ + SUB_DEPTH = ../.. + include $(KBUILD_PATH)/subheader.kmk + ++include $(PATH_SUB_CURRENT)/VBoxPermissionMessage/Makefile.kmk ++ + include $(FILE_KBUILD_SUB_FOOTER) + +Index: VirtualBox-7.0.18/src/apps/VBoxPermissionMessage/Makefile.kmk +=================================================================== +--- /dev/null ++++ VirtualBox-7.0.18/src/apps/VBoxPermissionMessage/Makefile.kmk +@@ -0,0 +1,32 @@ ++# $Id: Makefile.kmk 28800 2010-04-27 08:22:32Z vboxsync $ ++## @file ++# ++# VBoxPermissionMessage is wrapper for suse users ++# ++# ++# Copyright (C) 2009 Oracle Corporation ++# ++# This file is part of VirtualBox Open Source Edition (OSE), as ++# available from http://www.virtualbox.org. This file is free software; ++# you can redistribute it and/or modify it under the terms of the GNU ++# General Public License (GPL) as published by the Free Software ++# Foundation, in version 2 as it comes in the "COPYING" file of the ++# VirtualBox OSE distribution. VirtualBox OSE is distributed in the ++# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. ++# ++ ++ ++SUB_DEPTH = ../../.. ++include $(KBUILD_PATH)/subheader.kmk ++ ++PROGRAMS += VBoxPermissionMessage ++ ++VBoxPermissionMessage_TEMPLATE = VBoxQtGuiExe ++VBoxPermissionMessage_SOURCES = VBoxPermissionMessage.cpp ++VBoxPermissionMessage_QT_MODULES = Core Gui ++VBoxPermissionMessage_QT_MODULES += Widgets ++ ++#INSTALLS += VBoxPermissionMessage ++ ++include $(KBUILD_PATH)/subfooter.kmk ++ +Index: VirtualBox-7.0.18/src/apps/VBoxPermissionMessage/VBoxPermissionMessage.cpp +=================================================================== +--- /dev/null ++++ VirtualBox-7.0.18/src/apps/VBoxPermissionMessage/VBoxPermissionMessage.cpp +@@ -0,0 +1,12 @@ ++#include ++#include ++int main(int argc, char *argv[]) ++{ ++ QApplication app(argc, argv); ++ QMessageBox msgBox; ++ msgBox.setWindowTitle(QObject::tr("Permissions problem !")); ++ msgBox.setText(QObject::tr("You are not a member of the \"vboxusers\" group. Please add yourself to this group before starting VirtualBox. You could do it using: Yast / Security and Users / User and Group management. Don't forget re-login your user account!")); ++ int ret = msgBox.exec(); ++ app.quit(); ++ return 0; ++} +\ No newline at end of file diff --git a/vbox-python-py310.patch b/vbox-python-py310.patch new file mode 100644 index 0000000..e74a9d6 --- /dev/null +++ b/vbox-python-py310.patch @@ -0,0 +1,67 @@ +# https://www.virtualbox.org/changeset/90537/vbox + +Index: VirtualBox-7.0.14/src/libs/xpcom18a4/python/Makefile.kmk +=================================================================== +--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/python/Makefile.kmk ++++ VirtualBox-7.0.14/src/libs/xpcom18a4/python/Makefile.kmk +@@ -642,11 +642,57 @@ ifndef VBOX_ONLY_SDK + VBoxPython3_12_x86_LIBS = $(VBOX_PYTHON312_LIB_X86) + endif + endif ++endif ++ ++ifdef VBOX_PYTHON310_INC ++# ++# Python 3.10 version ++# ++DLLS += VBoxPython3_10 ++VBoxPython3_10_EXTENDS = VBoxPythonBase ++VBoxPython3_10_EXTENDS_BY = appending ++VBoxPython3_10_TEMPLATE = XPCOM ++VBoxPython3_10_INCS = $(VBOX_PYTHON310_INC) ++VBoxPython3_10_LIBS = $(VBOX_PYTHON310_LIB) ++ ++ ifdef VBOX_WITH_32_ON_64_MAIN_API ++ ifdef VBOX_PYTHON310_LIB_X86 ++DLLS += VBoxPython3_10_x86 ++VBoxPython3_10_x86_EXTENDS = VBoxPythonBase_x86 ++VBoxPython3_10_x86_EXTENDS_BY = appending ++VBoxPython3_10_x86_TEMPLATE = XPCOM ++VBoxPython3_10_x86_INCS = $(VBOX_PYTHON310_INC) ++VBoxPython3_10_x86_LIBS = $(VBOX_PYTHON310_LIB_X86) + endif ++ endif ++endif + +- ifdef VBOX_PYTHONDEF_INC +- # +- # Python without versioning ++ifdef VBOX_PYTHON310M_INC ++# ++# Python 3.10 version with pymalloc ++# ++DLLS += VBoxPython3_10m ++VBoxPython3_10m_EXTENDS = VBoxPythonBase_m ++VBoxPython3_10m_EXTENDS_BY = appending ++VBoxPython3_10m_TEMPLATE = XPCOM ++VBoxPython3_10m_INCS = $(VBOX_PYTHON310M_INC) ++VBoxPython3_10m_LIBS = $(VBOX_PYTHON310M_LIB) ++ ++ ifdef VBOX_WITH_32_ON_64_MAIN_API ++ ifdef VBOX_PYTHON310M_LIB_X86 ++DLLS += VBoxPython3_10m_x86 ++VBoxPython3_10m_x86_EXTENDS = VBoxPythonBase_x86_m ++VBoxPython3_10m_x86_EXTENDS_BY = appending ++VBoxPython3_10m_x86_TEMPLATE_ = XPCOM ++VBoxPython3_10m_x86_INCS = $(VBOX_PYTHON310M_INC) ++VBoxPython3_10m_x86_LIBS = $(VBOX_PYTHON310M_LIB_X86) ++ endif ++ endif ++endif ++ ++ifdef VBOX_PYTHONDEF_INC ++# ++# Python without versioning + # + DLLS += VBoxPython + VBoxPython_EXTENDS = VBoxPythonBase diff --git a/vbox-python-selection.patch b/vbox-python-selection.patch new file mode 100644 index 0000000..6ff0808 --- /dev/null +++ b/vbox-python-selection.patch @@ -0,0 +1,110 @@ +Index: VirtualBox-7.0.14/src/bldprogs/scm.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/bldprogs/scm.cpp ++++ VirtualBox-7.0.14/src/bldprogs/scm.cpp +@@ -2367,7 +2367,7 @@ static int scmProcessFileInner(PSCMRWSTA + pszTreatAs = "shell"; + else if ( (cchFirst >= 15 && strncmp(pchFirst, "/usr/bin/python", 15) == 0) + || (cchFirst >= 19 && strncmp(pchFirst, "/usr/bin/env python", 19) == 0) ) +- pszTreatAs = "python"; ++ pszTreatAs = "python3"; + else if ( (cchFirst >= 13 && strncmp(pchFirst, "/usr/bin/perl", 13) == 0) + || (cchFirst >= 17 && strncmp(pchFirst, "/usr/bin/env perl", 17) == 0) ) + pszTreatAs = "perl"; +Index: VirtualBox-7.0.14/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec ++++ VirtualBox-7.0.14/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec +@@ -32,6 +32,9 @@ + %define VBOXDOCDIR %{_defaultdocdir}/%NAME% + %global __requires_exclude_from ^/usr/lib/virtualbox/VBoxPython.*$|^/usr/lib/python.*$|^.*\\.py$ + %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} ++# SUSE defines these in python-rpm-macros, not necessarily available here ++%{!?__python3:%{_bindir}/python3}} ++%{!?python3_sitelib: %define python_sitelib python3 -c "import sysconfig as s; print(s.get_paths().get('purelib'))"} + + Summary: Oracle VM VirtualBox + Name: %NAME% +Index: VirtualBox-7.0.14/src/libs/xpcom18a4/python/src/ErrorUtils.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/python/src/ErrorUtils.cpp ++++ VirtualBox-7.0.14/src/libs/xpcom18a4/python/src/ErrorUtils.cpp +@@ -438,7 +438,9 @@ char *PyTraceback_AsString(PyObject *exc + + { // a temp scope so I can use temp locals. + #if PY_MAJOR_VERSION <= 2 +- char *tempResult = PyString_AsString(obResult); ++ char *tempResult = (char *)PyString_AsString(obResult); ++#elif PY_MINOR_VERSION <= 6 ++ char *tempResult = (char *)PyUnicode_AsUTF8(obResult); + #else + /* PyUnicode_AsUTF8() is const char * as of Python 3.7, char * earlier. */ + const char *tempResult = (const char *)PyUnicode_AsUTF8(obResult); +Index: VirtualBox-7.0.14/src/libs/xpcom18a4/python/src/PyGBase.cpp +=================================================================== +--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/python/src/PyGBase.cpp ++++ VirtualBox-7.0.14/src/libs/xpcom18a4/python/src/PyGBase.cpp +@@ -183,7 +183,11 @@ PyG_Base::~PyG_Base() + // Get the correct interface pointer for this object given the IID. + void *PyG_Base::ThisAsIID( const nsIID &iid ) + { +- if (this==NULL) return NULL; ++#if PY_MINOR_VERSION <= 6 ++ if (!this) return NULL; ++#else ++ if (!this) return NULL; ++#endif + if (iid.Equals(NS_GET_IID(nsISupports))) + return (nsISupports *)(nsIInternalPython *)this; + if (iid.Equals(NS_GET_IID(nsISupportsWeakReference))) +Index: VirtualBox-7.0.14/src/libs/xpcom18a4/python/gen_python_deps.py +=================================================================== +--- VirtualBox-7.0.14.orig/src/libs/xpcom18a4/python/gen_python_deps.py ++++ VirtualBox-7.0.14/src/libs/xpcom18a4/python/gen_python_deps.py +@@ -96,7 +96,7 @@ def main(argv): + else: + multi = 1 + +- if multi == 0: ++ if not multi: + prefixes = ["/usr"] + versions = [str(sys.version_info[0])+'.'+str(sys.version_info[1]), + str(sys.version_info[0])+'.'+str(sys.version_info[1])+'m'] +@@ -124,24 +124,25 @@ def main(argv): + continue + for p in prefixes: + c = checkPair(p, v, dllpre, dllsuff, bitness_magic) +- if c is not None: ++ if c: + known[v] = c + break +- keys = list(known.keys()) +- # we want default to be the lowest versioned Python +- keys.sort() +- d = None + # We need separator other than newline, to sneak through $(shell) + sep = "|" +- for k in keys: +- if d is None: +- d = k +- vers = k.replace('.', '').upper() +- print_vars(vers, known[k], sep, bitness_magic) +- if d is not None: +- print_vars("DEF", known[d], sep, bitness_magic) ++ ++ if not known: ++ # this type of problem should be detected in configure ++ # print_vars("DEF", defaultpaths, sep, bitness_magic) ++ pass + else: + print(argv[0] + ": No Python development package found!", file=sys.stderr) ++ if multi: ++ for ver, paths in known.items(): ++ print_vars(ver.replace('.', '').upper(), paths, sep, bitness_magic) ++ else: ++ ver = versions[0] ++ paths = known[ver] ++ print_vars(ver.replace('.', ''), paths, sep, bitness_magic) + + if __name__ == '__main__': + main(sys.argv) diff --git a/vbox-smc-napa.diff b/vbox-smc-napa.diff new file mode 100644 index 0000000..c1fa304 --- /dev/null +++ b/vbox-smc-napa.diff @@ -0,0 +1,13 @@ +Index: VirtualBox-7.0.14/src/VBox/Devices/PC/vbox.dsl +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Devices/PC/vbox.dsl ++++ VirtualBox-7.0.14/src/VBox/Devices/PC/vbox.dsl +@@ -1225,7 +1225,7 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, + Device (SMC) + { + Name (_HID, EisaId ("APP0001")) +- Name (_CID, "smc-napa") ++ Name (_CID, "smcnapa") + + Method (_STA, 0, NotSerialized) + { diff --git a/vbox-suid-warning.diff b/vbox-suid-warning.diff new file mode 100644 index 0000000..822e0ab --- /dev/null +++ b/vbox-suid-warning.diff @@ -0,0 +1,70 @@ +Index: VirtualBox-7.0.18/src/apps/Makefile.kmk +=================================================================== +--- VirtualBox-7.0.18.orig/src/apps/Makefile.kmk ++++ VirtualBox-7.0.18/src/apps/Makefile.kmk +@@ -30,5 +30,7 @@ include $(KBUILD_PATH)/subheader.kmk + + include $(PATH_SUB_CURRENT)/VBoxPermissionMessage/Makefile.kmk + ++include $(PATH_SUB_CURRENT)/VBoxSUIDMessage/Makefile.kmk ++ + include $(FILE_KBUILD_SUB_FOOTER) + +Index: VirtualBox-7.0.18/src/apps/VBoxSUIDMessage/Makefile.kmk +=================================================================== +--- /dev/null ++++ VirtualBox-7.0.18/src/apps/VBoxSUIDMessage/Makefile.kmk +@@ -0,0 +1,33 @@ ++# $Id: Makefile.kmk 28800 2010-04-27 08:22:32Z vboxsync $ ++## @file ++# ++# VBoxSUIDMessage is wrapper for suse users ++# ++# ++# Copyright (C) 2009 Oracle Corporation ++# ++# This file is part of VirtualBox Open Source Edition (OSE), as ++# available from http://www.virtualbox.org. This file is free software; ++# you can redistribute it and/or modify it under the terms of the GNU ++# General Public License (GPL) as published by the Free Software ++# Foundation, in version 2 as it comes in the "COPYING" file of the ++# VirtualBox OSE distribution. VirtualBox OSE is distributed in the ++# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. ++# ++ ++ ++SUB_DEPTH = ../../.. ++include $(KBUILD_PATH)/subheader.kmk ++ ++PROGRAMS += VBoxSUIDMessage ++ ++VBoxSUIDMessage_TEMPLATE = VBoxQtGuiExe ++VBoxSUIDMessage_SOURCES = VBoxSUIDMessage.cpp ++VBoxSUIDMessage_QT_MODULES = Core Gui ++VBoxSUIDMessage_QT_MODULES += Widgets ++ ++#INSTALLS += VBoxSUIDMessage ++ ++include $(KBUILD_PATH)/subfooter.kmk ++ ++ +Index: VirtualBox-7.0.18/src/apps/VBoxSUIDMessage/VBoxSUIDMessage.cpp +=================================================================== +--- /dev/null ++++ VirtualBox-7.0.18/src/apps/VBoxSUIDMessage/VBoxSUIDMessage.cpp +@@ -0,0 +1,15 @@ ++#include ++#include ++int main(int argc, char *argv[]) ++{ ++ QApplication app(argc, argv); ++ QMessageBox msgBox; ++ msgBox.setWindowTitle(QObject::tr("File Permissions problem !")); ++ msgBox.setText(QObject::tr("File VirtualBoxVM must be SUID, but the file permissions are wrong.\n\n" ++ "To fix this problem, please run\n" ++ "sudo chmod 4750 /usr/lib/virtualbox/VirtualBoxVM\n\n" ++ "Until this is done, Virtual Machines cannot run.")); ++ msgBox.exec(); ++ app.quit(); ++ return 0; ++} diff --git a/vbox-usb-warning.diff b/vbox-usb-warning.diff new file mode 100644 index 0000000..c1147dd --- /dev/null +++ b/vbox-usb-warning.diff @@ -0,0 +1,77 @@ +Index: VirtualBox-7.0.18/src/apps/Makefile.kmk +=================================================================== +--- VirtualBox-7.0.18.orig/src/apps/Makefile.kmk ++++ VirtualBox-7.0.18/src/apps/Makefile.kmk +@@ -32,5 +32,7 @@ include $(PATH_SUB_CURRENT)/VBoxPermissi + + include $(PATH_SUB_CURRENT)/VBoxSUIDMessage/Makefile.kmk + ++include $(PATH_SUB_CURRENT)/VBoxUSB_DevRules/Makefile.kmk ++ + include $(FILE_KBUILD_SUB_FOOTER) + +Index: VirtualBox-7.0.18/src/apps/VBoxUSB_DevRules/Makefile.kmk +=================================================================== +--- /dev/null ++++ VirtualBox-7.0.18/src/apps/VBoxUSB_DevRules/Makefile.kmk +@@ -0,0 +1,30 @@ ++# $Id: Makefile.kmk 28800 2010-04-27 08:22:32Z vboxsync $ ++## @file ++# ++# VBoxUSB_DevRules is wrapper for suse users ++# ++# This file is part of VirtualBox Open Source Edition (OSE), as ++# available from http://www.virtualbox.org. This file is free software; ++# you can redistribute it and/or modify it under the terms of the GNU ++# General Public License (GPL) as published by the Free Software ++# Foundation, in version 2 as it comes in the "COPYING" file of the ++# VirtualBox OSE distribution. VirtualBox OSE is distributed in the ++# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. ++# ++ ++ ++SUB_DEPTH = ../../.. ++include $(KBUILD_PATH)/subheader.kmk ++ ++PROGRAMS += VBoxUSB_DevRules ++ ++VBoxUSB_DevRules_TEMPLATE = VBoxQtGuiExe ++VBoxUSB_DevRules_SOURCES = VBoxUSB_DevRules.cpp ++VBoxUSB_DevRules_QT_MODULES = Core Gui ++VBoxUSB_DevRules_QT_MODULES += Widgets ++ ++#INSTALLS += VBoxUSB_DevRules ++ ++include $(KBUILD_PATH)/subfooter.kmk ++ ++ +Index: VirtualBox-7.0.18/src/apps/VBoxUSB_DevRules/VBoxUSB_DevRules.cpp +=================================================================== +--- /dev/null ++++ VirtualBox-7.0.18/src/apps/VBoxUSB_DevRules/VBoxUSB_DevRules.cpp +@@ -0,0 +1,25 @@ ++#include ++#include ++#include + ++int main(int argc, char *argv[]) ++{ ++ QApplication app(argc, argv); ++ QMessageBox msgBox; ++ 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 passthrough requires read/write access to USB devices. " ++ "As a result, it opens a security hole.\n\n" ++ "Nonetheless, this feature is extremely useful and it may be worth the security risk. " ++ "Thus the code defaults to enabling it.\n\nIf you agree that the risk is acceptable, then click 'Enable'.\n" ++ "You should not be asked this question again when VB is updated. If you later change your mind, run 'rm ~/.config/virtualbox/*'\n\n" ++ "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\n" ++ "These changes may not be preserved through VB updates, thus this screen may be displayed again at that time.")); ++ msgBox.exec(); ++ app.quit(); ++ if (msgBox.clickedButton() == myYesButton) ++ return 0; ++ return 1; ++} ++ diff --git a/vbox-vboxadd-init-script.diff b/vbox-vboxadd-init-script.diff new file mode 100644 index 0000000..b4bbc90 --- /dev/null +++ b/vbox-vboxadd-init-script.diff @@ -0,0 +1,213 @@ +Index: VirtualBox-7.0.18/src/VBox/Additions/linux/installer/vboxadd.sh +=================================================================== +--- VirtualBox-7.0.18.orig/src/VBox/Additions/linux/installer/vboxadd.sh ++++ VirtualBox-7.0.18/src/VBox/Additions/linux/installer/vboxadd.sh +@@ -36,11 +36,14 @@ + # Provides: vboxadd + # Required-Start: + # Required-Stop: +-# Default-Start: 2 3 4 5 ++# Should-Start: $remote_fs ++# Should-Stop: $remote_fs ++# Default-Start: 2 3 5 + # Default-Stop: 0 1 6 + # X-Start-Before: display-manager + # X-Service-Type: oneshot + # Description: VirtualBox Linux Additions kernel modules ++# Short-Description: VirtualBox Linux Additions kernel modules + ### END INIT INFO + + ## @todo This file duplicates a lot of script with vboxdrv.sh. When making +@@ -266,12 +269,6 @@ do_vboxguest_non_udev() + fail "Cannot create device $dev with major $maj and minor $min" + } + fi +- chown $owner:$group $dev 2>/dev/null || { +- rm -f $dev 2>/dev/null +- rm -f $userdev 2>/dev/null +- rmmod vboxguest 2>/dev/null +- fail "Cannot change owner $owner:$group for device $dev" +- } + + if [ ! -c $userdev ]; then + maj=10 +@@ -282,12 +279,6 @@ do_vboxguest_non_udev() + rmmod vboxguest 2>/dev/null + fail "Cannot create device $userdev with major $maj and minor $min" + } +- chown $owner:$group $userdev 2>/dev/null || { +- rm -f $dev 2>/dev/null +- rm -f $userdev 2>/dev/null +- rmmod vboxguest 2>/dev/null +- fail "Cannot change owner $owner:$group for device $userdev" +- } + fi + fi + } +@@ -351,7 +342,7 @@ cleanup_modules() + done + if test -z "${keep}"; then + rm -rf /lib/modules/"${KERN_VER}" +- rm -f /boot/initrd.img-"${KERN_VER}" ++ rm -f /boot/initrd.img-"${KERN_VER}" + fi + done + for i in ${OLDMODULES}; do +@@ -660,9 +651,9 @@ create_udev_rule() + udevcontrol reload_rules >/dev/null 2>&1 || true + fi + } +- +-create_module_rebuild_script() +-{ ++ # And an rc file to re-build the kernel modules and re-set-up the X server. ++ ln -sf "$lib_path/$PACKAGE/vboxadd" /sbin/rcvboxadd ++ #ln -sf "$lib_path/$PACKAGE/vboxadd-x11" /sbin/rcvboxadd-x11 + # And a post-installation script for rebuilding modules when a new kernel + # is installed. + mkdir -p /etc/kernel/postinst.d /etc/kernel/prerm.d +@@ -875,18 +866,17 @@ setup() + already available for kernel $TARGET_VER and do not require to be rebuilt." + else + info "Building the VirtualBox Guest Additions kernel modules. This may take a while." +- info "To build modules for other installed kernels, run" +- info " /sbin/rcvboxadd quicksetup " +- info "or" +- info " /sbin/rcvboxadd quicksetup all" +- if test -d /lib/modules/"$TARGET_VER"/build; then +- setup_modules "$TARGET_VER" +- depmod +- else +- info "Kernel headers not found for target kernel $TARGET_VER. \ ++ info "To build modules for other installed kernels, run" ++ info " /sbin/rcvboxadd quicksetup " ++ info "or" ++ info " /sbin/rcvboxadd quicksetup all" ++ if test -d /lib/modules/"$TARGET_VER"/build; then ++ setup_modules "$TARGET_VER" ++ depmod ++ else ++ info "Kernel headers not found for target kernel $TARGET_VER. \ + Please install them and execute + /sbin/rcvboxadd setup" +- fi + fi + fi + create_vbox_user +@@ -904,17 +894,14 @@ Please install them and execute + # Put the X.Org driver in place. This is harmless if it is not needed. + # Also set up the OpenGL library. + myerr=`"${INSTALL_DIR}/init/vboxadd-x11" setup 2>&1` +- test -z "${myerr}" || log "${myerr}" +- +- return 0 ++ succ_msg + } + + # cleanup_script + cleanup() + { +- if test -z "${INSTALL_NO_MODULE_BUILDS}"; then +- # Delete old versions of VBox modules. +- cleanup_modules ++ # Delete old versions of VBox modules. ++ cleanup_modules + depmod + + # Remove old module sources +@@ -924,12 +911,13 @@ cleanup() + fi + + # Clean-up X11-related bits +- "${INSTALL_DIR}/init/vboxadd-x11" cleanup ++ #/sbin/rcvboxadd-x11 cleanup + + # Remove other files +- if test -z "${INSTALL_NO_MODULE_BUILDS}"; then +- rm -f /etc/kernel/postinst.d/vboxadd /etc/kernel/prerm.d/vboxadd +- rmdir -p /etc/kernel/postinst.d /etc/kernel/prerm.d 2>/dev/null || true ++ rm /sbin/rcvboxadd 2>/dev/null ++ #rm /sbin/rcvboxadd-x11 2>/dev/null ++ rm -f /etc/kernel/postinst.d/vboxadd /etc/kernel/prerm.d/vboxadd ++ rmdir -p /etc/kernel/postinst.d /etc/kernel/prerm.d 2>/dev/null || true + fi + rm -f /sbin/mount.vboxsf 2>/dev/null + rm -f /etc/udev/rules.d/60-vboxadd.rules 2>/dev/null +Index: VirtualBox-7.0.18/src/VBox/Additions/linux/installer/vboxadd-service.sh +=================================================================== +--- VirtualBox-7.0.18.orig/src/VBox/Additions/linux/installer/vboxadd-service.sh ++++ VirtualBox-7.0.18/src/VBox/Additions/linux/installer/vboxadd-service.sh +@@ -36,7 +36,7 @@ + # Provides: vboxadd-service + # Required-Start: vboxadd + # Required-Stop: vboxadd +-# Default-Start: 2 3 4 5 ++# Default-Start: 2 3 5 + # Default-Stop: 0 1 6 + # X-Conflicts-With: systemd-timesyncd.service + # Description: VirtualBox Additions Service +Index: VirtualBox-7.0.18/src/VBox/Installer/linux/vboxautostart-service.sh +=================================================================== +--- VirtualBox-7.0.18.orig/src/VBox/Installer/linux/vboxautostart-service.sh ++++ VirtualBox-7.0.18/src/VBox/Installer/linux/vboxautostart-service.sh +@@ -33,7 +33,7 @@ + # Provides: vboxautostart-service + # Required-Start: vboxdrv + # Required-Stop: vboxdrv +-# Default-Start: 2 3 4 5 ++# Default-Start: 2 3 5 + # Default-Stop: 0 1 6 + # Description: VirtualBox autostart service + ### END INIT INFO +Index: VirtualBox-7.0.18/src/VBox/Installer/linux/vboxballoonctrl-service.sh +=================================================================== +--- VirtualBox-7.0.18.orig/src/VBox/Installer/linux/vboxballoonctrl-service.sh ++++ VirtualBox-7.0.18/src/VBox/Installer/linux/vboxballoonctrl-service.sh +@@ -33,7 +33,7 @@ + # Provides: vboxballoonctrl-service + # Required-Start: vboxdrv + # Required-Stop: vboxdrv +-# Default-Start: 2 3 4 5 ++# Default-Start: 2 3 5 + # Default-Stop: 0 1 6 + # Description: VirtualBox watchdog daemon + ### END INIT INFO +Index: VirtualBox-7.0.18/src/VBox/ValidationKit/testboxscript/linux/testboxscript-service.sh +=================================================================== +--- VirtualBox-7.0.18.orig/src/VBox/ValidationKit/testboxscript/linux/testboxscript-service.sh ++++ VirtualBox-7.0.18/src/VBox/ValidationKit/testboxscript/linux/testboxscript-service.sh +@@ -41,7 +41,7 @@ + # Provides: testboxscript-service + # Required-Start: $network + # Required-Stop: +-# Default-Start: 2 3 4 5 ++# Default-Start: 2 3 5 + # Default-Stop: 0 1 6 + # Description: TestBoxScript service + ### END INIT INFO +Index: VirtualBox-7.0.18/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs-nat.sh +=================================================================== +--- VirtualBox-7.0.18.orig/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs-nat.sh ++++ VirtualBox-7.0.18/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs-nat.sh +@@ -41,7 +41,7 @@ + # Provides: vboxtxs + # Required-Start: $network + # Required-Stop: +-# Default-Start: 2 3 4 5 ++# Default-Start: 2 3 5 + # Default-Stop: 0 1 6 + # Description: VirtualBox Test Execution Service + ### END INIT INFO +Index: VirtualBox-7.0.18/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs.sh +=================================================================== +--- VirtualBox-7.0.18.orig/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs.sh ++++ VirtualBox-7.0.18/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs.sh +@@ -41,7 +41,7 @@ + # Provides: vboxtxs + # Required-Start: $network + # Required-Stop: +-# Default-Start: 2 3 4 5 ++# Default-Start: 2 3 5 + # Default-Stop: 0 1 6 + # Description: VirtualBox Test Execution Service + ### END INIT INFO diff --git a/vbox-vboxdrv-init-script.diff b/vbox-vboxdrv-init-script.diff new file mode 100644 index 0000000..101bf68 --- /dev/null +++ b/vbox-vboxdrv-init-script.diff @@ -0,0 +1,82 @@ +Index: VirtualBox-7.0.18/src/VBox/Installer/linux/vboxdrv.sh +=================================================================== +--- VirtualBox-7.0.18.orig/src/VBox/Installer/linux/vboxdrv.sh ++++ VirtualBox-7.0.18/src/VBox/Installer/linux/vboxdrv.sh +@@ -29,11 +29,12 @@ + # + ### BEGIN INIT INFO + # Provides: vboxdrv +-# Required-Start: $syslog +-# Required-Stop: +-# Default-Start: 2 3 4 5 ++# Required-Start: $syslog $remote_fs ++# Required-Stop: $syslog $remote_fs ++# Default-Start: 2 3 5 + # Default-Stop: 0 1 6 +-# Short-Description: VirtualBox Linux kernel module ++# Short-Description: VirtualBox Linux module ++# Description: VirtualBox Linux kernel module + ### END INIT INFO + + ## @todo This file duplicates a lot of script with vboxadd.sh. When making +@@ -569,13 +570,6 @@ See the documentation for your Linux dis + fi + fi + # ensure permissions +- if ! chown :"${GROUP}" $DEVICE 2>/dev/null; then +- rmmod vboxpci 2>/dev/null +- rmmod vboxnetadp 2>/dev/null +- rmmod vboxnetflt 2>/dev/null +- rmmod vboxdrv 2>/dev/null +- failure "Cannot change group ${GROUP} for device $DEVICE" +- fi + if ! $MODPROBE vboxnetflt > /dev/null 2>&1; then + failure "modprobe vboxnetflt failed. Please use 'dmesg' to find out why" + fi +@@ -734,30 +728,8 @@ setup() + module_build_log "$myerr" + failure "Look at $LOG to find out what went wrong" + fi +- log "Building the net adapter module." +- if ! myerr=`$BUILDINTMP \ +- --use-module-symvers /tmp/vboxdrv-Module.symvers \ +- --module-source "$MODULE_SRC/vboxnetadp" \ +- --no-print-directory install 2>&1`; then +- log "Error building the module:" +- module_build_log "$myerr" +- failure "Look at $LOG to find out what went wrong" +- fi +- if test -e "$MODULE_SRC/vboxpci"; then +- log "Building the PCI pass-through module." +- if ! myerr=`$BUILDINTMP \ +- --use-module-symvers /tmp/vboxdrv-Module.symvers \ +- --module-source "$MODULE_SRC/vboxpci" \ +- --no-print-directory install 2>&1`; then +- log "Error building the module:" +- module_build_log "$myerr" +- failure "Look at $LOG to find out what went wrong" +- fi +- fi +- rm -f /etc/vbox/module_not_compiled +- depmod -a +- sync +- succ_msg "VirtualBox kernel modules built" ++ ++ /usr/sbin/vboxconfig + + # Sign kernel modules if kernel configuration requires it. + if test "$(kernel_requires_module_signature)" = "1"; then +Index: VirtualBox-7.0.18/Config.kmk +=================================================================== +--- VirtualBox-7.0.18.orig/Config.kmk ++++ VirtualBox-7.0.18/Config.kmk +@@ -3084,6 +3084,9 @@ else + endif + VBOX_MACOSX_ICON_FILE ?= $(PATH_ROOT)/src/VBox/Artwork/darwin/NonOSE/VirtualBox.icns + endif ++ifndef VBOX_GCC_std ++ VBOX_GCC_std := -std=c++17 ++endif + + + ifndef VBOX_NOINC_DYNAMIC_CONFIG_KMK diff --git a/vboxadd-service.service b/vboxadd-service.service new file mode 100644 index 0000000..2dbd5e9 --- /dev/null +++ b/vboxadd-service.service @@ -0,0 +1,20 @@ +[Unit] +SourcePath=/etc/init.d/vboxadd-service +Description=Start/Stop VirtualBox Guest Linux module +After=remote-fs.target +Wants=remote-fs.target + +[Service] +Type=simple +Restart=no +TimeoutSec=5min +IgnoreSIGPIPE=no +KillMode=process +GuessMainPID=no +RemainAfterExit=yes +SuccessExitStatus=5 6 +ExecStart=/usr/lib/virtualbox/vboxadd-service start +ExecStop=/usr/lib/virtualbox/vboxadd-service stop + +[Install] +WantedBy=multi-user.target diff --git a/vboxautostart-service.service b/vboxautostart-service.service new file mode 100644 index 0000000..72e8bc3 --- /dev/null +++ b/vboxautostart-service.service @@ -0,0 +1,20 @@ +[Unit] +SourcePath=/usr/lib/virtualbox/vboxautostart-service.sh +Description= +Before=runlevel2.target runlevel3.target runlevel4.target runlevel5.target shutdown.target +After=vboxdrv.service +Conflicts=shutdown.target + +[Service] +Type=forking +Restart=no +TimeoutSec=5min +IgnoreSIGPIPE=no +KillMode=process +GuessMainPID=no +RemainAfterExit=yes +ExecStart=/usr/lib/virtualbox/vboxautostart-service.sh start +ExecStop=/usr/lib/virtualbox/vboxautostart-service.sh stop + +[Install] +WantedBy=multi-user.target diff --git a/vboxautostart-service.sh b/vboxautostart-service.sh new file mode 100644 index 0000000..b035d5f --- /dev/null +++ b/vboxautostart-service.sh @@ -0,0 +1,174 @@ +#!/bin/sh +# $Id: vboxautostart-service.sh 143795 2021-04-15 11:42:37Z vgalitsy $ +## @file +# VirtualBox autostart service init script. +# + +# +# Copyright (C) 2012-2020 Oracle Corporation +# +# This file is part of VirtualBox Open Source Edition (OSE), as +# available from http://www.virtualbox.org. This file is free software; +# you can redistribute it and/or modify it under the terms of the GNU +# General Public License (GPL) as published by the Free Software +# Foundation, in version 2 as it comes in the "COPYING" file of the +# VirtualBox OSE distribution. VirtualBox OSE is distributed in the +# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. +# + +# chkconfig: 345 35 65 +# description: VirtualBox autostart service +# +### BEGIN INIT INFO +# Provides: vboxautostart-service +# Required-Start: vboxdrv +# Required-Stop: vboxdrv +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Description: VirtualBox autostart service +### END INIT INFO + +PATH=$PATH:/bin:/sbin:/usr/sbin +SCRIPTNAME=vboxautostart-service.sh + +[ -f /etc/debian_release -a -f /lib/lsb/init-functions ] || NOLSB=yes +[ -f /etc/vbox/vbox.cfg ] && . /etc/vbox/vbox.cfg + +if [ -n "$INSTALL_DIR" ]; then + binary="$INSTALL_DIR/VBoxAutostart" +else + binary="/usr/lib/virtualbox/VBoxAutostart" +fi + +# silently exit if the package was uninstalled but not purged, +# applies to Debian packages only (but shouldn't hurt elsewhere) +[ ! -f /etc/debian_release -o -x $binary ] || exit 0 + +[ -r /etc/default/virtualbox ] && . /etc/default/virtualbox + +# Preamble for Gentoo +if [ "`which $0`" = "/sbin/rc" ]; then + shift +fi + +begin_msg() +{ + test -n "${2}" && echo "${SCRIPTNAME}: ${1}." + logger -t "${SCRIPTNAME}" "${1}." +} + +succ_msg() +{ + logger -t "${SCRIPTNAME}" "${1}." +} + +fail_msg() +{ + echo "${SCRIPTNAME}: failed: ${1}." >&2 + logger -t "${SCRIPTNAME}" "failed: ${1}." +} + +start_daemon() { + usr="$1" + shift + su - $usr -c "$*" +} + +if which start-stop-daemon >/dev/null 2>&1; then + start_daemon() { + usr="$1" + shift + bin="$1" + shift + start-stop-daemon --chuid $usr --start --exec $bin -- $@ + } +fi + +vboxdrvrunning() { + lsmod | grep -q "vboxdrv[^_-]" +} + +valid_db_entry() { + + entry="$1" + [ -z "$entry" ] && return 1 + + user="$2" + [ -z "$user" ] && return 1 + + user_name=$(id -n -u "$user" 2>/dev/null) + [ -z "$user_name" ] && return 1 + + user_id=$(id -u "$user" 2>/dev/null) + + # Verify that @user identifies a user *by name* (i.e. not a numeric id). + # Careful, all numeric user names are legal. + if [ "$user_id" = "$user" ] && [ "$user_name" != "$user" ]; then + return 1 + fi + + # Verify whether file name is the same as file owner name. + [ -z "$(find "$entry" -user "$user" -type f 2>/dev/null)" ] && return 1 + + return 0 +} + +start() { + [ -z "$VBOXAUTOSTART_DB" ] && exit 0 + [ -z "$VBOXAUTOSTART_CONFIG" ] && exit 0 + begin_msg "Starting VirtualBox VMs configured for autostart" console; + vboxdrvrunning || { + fail_msg "VirtualBox kernel module not loaded!" + exit 0 + } + PARAMS="--background --start --config $VBOXAUTOSTART_CONFIG" + + # prevent inheriting this setting to VBoxSVC + unset VBOX_RELEASE_LOG_DEST + + for entry in "$VBOXAUTOSTART_DB"/*.start + do + user=$(basename "$entry" .start) + [ "$user" = "*" ] && break + valid_db_entry "$entry" "$user" || continue + + start_daemon "$user" "$binary" $PARAMS > /dev/null 2>&1 + done + + return $RETVAL +} + +stop() { + [ -z "$VBOXAUTOSTART_DB" ] && exit 0 + [ -z "$VBOXAUTOSTART_CONFIG" ] && exit 0 + + PARAMS="--stop --config $VBOXAUTOSTART_CONFIG" + + # prevent inheriting this setting to VBoxSVC + unset VBOX_RELEASE_LOG_DEST + + for entry in "$VBOXAUTOSTART_DB"/*.stop + do + user=$(basename "$entry" .stop) + [ "$user" = "*" ] && break + valid_db_entry "$entry" "$user" || continue + + start_daemon "$user" "$binary" $PARAMS > /dev/null 2>&1 + done + + return $RETVAL +} + +case "$1" in +start) + start + ;; +stop) + stop + ;; +*) + echo "Usage: $0 {start|stop}" + exit 1 +esac + +exit $RETVAL diff --git a/vboxclient.desktop b/vboxclient.desktop new file mode 100644 index 0000000..bfb19d5 --- /dev/null +++ b/vboxclient.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=vboxclient +Name[C]=vboxclient +Comment[C]=VirtualBox User Session Services +Comment=VirtualBox User Session Services +Comment[it]=Servizi di sessione utente di VirtualBox +Comment[pl]=Usługi sesji użytkownika VirtualBox +Exec=/etc/X11/xinit/xinitrc.d/98vboxadd-xclient +X-GNOME-Autostart-enabled=true +X-KDE-autostart-after=panel +X-Desktop-File-Install-Version=0.26 + diff --git a/vboxclient.service b/vboxclient.service new file mode 100644 index 0000000..4d89e18 --- /dev/null +++ b/vboxclient.service @@ -0,0 +1,13 @@ +[Unit] +Description=VirtualBox guest VMSVGA resize client +ConditionVirtualization=|oracle +ExecCondition=sh -c '[[ "$XDG_SESSION_TYPE" == "wayland" ]] || exit -1' + +[Service] +Type=simple +ExecStart=/usr/bin/VBoxDRMClient +Restart=on-failure + +[Install] +WantedBy=multi-user.target + diff --git a/vboxconfig.sh b/vboxconfig.sh new file mode 100644 index 0000000..bacc740 --- /dev/null +++ b/vboxconfig.sh @@ -0,0 +1,60 @@ +#!/bin/bash +# +# Script to build VirtualBox host kernel modules +# Copyright C 2017 by Larry Finger +# +# This script is part of the openSUSE VirtualBox package +# +SOURCE="/usr/src/kernel-modules/virtualbox/src" +LOGFILE="/var/log/virtualbox.log" +INCLUDE="/lib/modules/`uname -r`/build/include" +# +# Test if vboxdrv module loaded. If it is, skip everything else +loaded=$(lsmod | grep vboxdrv) +if [ -n "$loaded" ] ; then + echo "Kernel modules are loaded, unload them via" + echo "systemctl stop vboxdrv.service if you wish to rebuild them." + echo "Quitting .." + exit 1 +fi +# +# Check if virtualbox-host-source is installed, quit if not +if ! rpm -qf "$SOURCE/Makefile" &>/dev/null ; then + echo "Sources for building host modules are not present," + echo "Use 'sudo zypper install virtualbox-host-source kernel-devel kernel-default-devel' to install them. Quitting .." + exit 1 +fi +# +# Check if virtualbox-host-source version matches virtualbox version +if [ "$(rpm -q virtualbox virtualbox-host-source --queryformat='%{version}-%{release}\n' 2>/dev/null | sort -u | wc -l)" -ne "1" ] ; then + echo "virtualbox-host-source package version doesn't match the version of virtualbox package." + echo "This situation is probably not fatal, thus we will try to continue .." +fi +# Prerequisites are available, start build +pushd $SOURCE > /dev/null 2>&1 +echo "Building kernel modules..." +make clean &>/dev/null +make > $LOGFILE 2>&1 +if [ "$?" -ne 0 ] ; then + echo "" + echo "Build of VirtualBox host kernel modules failed." + echo "Look at $LOGFILE to find reasons." + popd > /dev/null 2>&1 + exit 1 +else +echo "Kernel modules built correctly. They will now be installed." +fi +make install >> $LOGFILE 2>&1 +if [ "$?" -ne 0 ] ; then + echo "" + echo "Installation of VirtualBox host kernel modules failed." + echo "Look at $LOGFILE to find reasons." + popd > /dev/null 2>&1 + exit 1 +fi +depmod -a +modprobe -av vboxnetflt vboxnetadp +popd > /dev/null 2>&1 +echo "Kernel modules are installed and loaded." +exit 0 + diff --git a/vboxdrv.service b/vboxdrv.service new file mode 100644 index 0000000..1ad746c --- /dev/null +++ b/vboxdrv.service @@ -0,0 +1,20 @@ +[Unit] +SourcePath=/usr/lib/virtualbox/vboxdrv.sh +Description=VirtualBox Linux kernel module +Before=runlevel2.target runlevel3.target runlevel5.target shutdown.target +After= +Conflicts=shutdown.target + +[Service] +Type=forking +Restart=no +TimeoutSec=5min +IgnoreSIGPIPE=no +KillMode=process +GuessMainPID=no +RemainAfterExit=yes +ExecStart=/usr/lib/virtualbox/vboxdrv.sh start +ExecStop=/usr/lib/virtualbox/vboxdrv.sh stop + +[Install] +WantedBy=multi-user.target diff --git a/vboxdrv.sh b/vboxdrv.sh new file mode 100644 index 0000000..0079acb --- /dev/null +++ b/vboxdrv.sh @@ -0,0 +1,375 @@ +#! /bin/sh +# Oracle VM VirtualBox +# Linux kernel module init script + +# +# Copyright (C) 2006-2015 Oracle Corporation +# +# This file is part of VirtualBox Open Source Edition (OSE), as +# available from http://www.virtualbox.org. This file is free software; +# you can redistribute it and/or modify it under the terms of the GNU +# General Public License (GPL) as published by the Free Software +# Foundation, in version 2 as it comes in the "COPYING" file of the +# VirtualBox OSE distribution. VirtualBox OSE is distributed in the +# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. +# + +# chkconfig: 345 20 80 +# description: VirtualBox Linux kernel module +# +### BEGIN INIT INFO +# Provides: vboxdrv +# Required-Start: $syslog $remote_fs +# Required-Stop: $syslog $remote_fs +# Default-Start: 2 3 5 +# Default-Stop: 0 1 6 +# Short-Description: VirtualBox Linux module +# Description: VirtualBox Linux kernel module +### END INIT INFO + +PATH=/usr/sbin:/usr/bin:$PATH +DEVICE=/dev/vboxdrv +LOG="/var/log/vbox-install.log" +MODPROBE=/usr/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 +SCRIPT_DIR="${TARGET%/[!/]*}" + +if $MODPROBE -c | grep -q '^allow_unsupported_modules *0'; then + MODPROBE="$MODPROBE --allow-unsupported-modules" +fi + +[ -f /etc/vbox/vbox.cfg ] && . /etc/vbox/vbox.cfg +export BUILD_TYPE +export USERNAME +export USER=$USERNAME + +VIRTUALBOX="${INSTALL_DIR}/VirtualBox" +VBOXMANAGE="${INSTALL_DIR}/VBoxManage" +BUILDINTMP="${MODULE_SRC}/build_in_tmp" +if test -u "${VBOXMANAGE}"; then + GROUP=root + DEVICE_MODE=0600 +else + GROUP=vboxusers + DEVICE_MODE=0660 +fi + +[ -r /etc/default/virtualbox ] && . /etc/default/virtualbox + +begin_msg() +{ + test -n "${2}" && echo "${SCRIPTNAME}: ${1}." + logger -t "${SCRIPTNAME}" "${1}." +} + +succ_msg() +{ + logger -t "${SCRIPTNAME}" "${1}." +} + +fail_msg() +{ + echo "${SCRIPTNAME}: failed: ${1}." >&2 + logger -t "${SCRIPTNAME}" "failed: ${1}." +} + +failure() +{ + fail_msg "$1" + exit 1 +} + +running() +{ + lsmod | grep -q "$1[^_-]" +} + +## Output the vboxdrv part of our udev rule. This is redirected to the right file. +udev_write_vboxdrv() { + VBOXDRV_GRP="$1" + VBOXDRV_MODE="$2" + + echo "KERNEL==\"vboxdrv\", NAME=\"vboxdrv\", OWNER=\"root\", GROUP=\"$VBOXDRV_GRP\", MODE=\"$VBOXDRV_MODE\"" + echo "KERNEL==\"vboxdrvu\", NAME=\"vboxdrvu\", OWNER=\"root\", GROUP=\"$VBOXDRV_GRP\", MODE=\"0660\"" + echo "KERNEL==\"vboxnetctl\", NAME=\"vboxnetctl\", OWNER=\"root\", GROUP=\"$VBOXDRV_GRP\", MODE=\"$VBOXDRV_MODE\"" +} + +## Output the USB part of our udev rule. This is redirected to the right file. +udev_write_usb() { + INSTALLATION_DIR="$1" + USB_GROUP="$2" + + echo "SUBSYSTEM==\"usb_device\", ACTION==\"add\", RUN+=\"$INSTALLATION_DIR/VBoxCreateUSBNode.sh \$major \$minor \$attr{bDeviceClass}${USB_GROUP}\"" + echo "SUBSYSTEM==\"usb\", ACTION==\"add\", ENV{DEVTYPE}==\"usb_device\", RUN+=\"$INSTALLATION_DIR/VBoxCreateUSBNode.sh \$major \$minor \$attr{bDeviceClass}${USB_GROUP}\"" + echo "SUBSYSTEM==\"usb_device\", ACTION==\"remove\", RUN+=\"$INSTALLATION_DIR/VBoxCreateUSBNode.sh --remove \$major \$minor\"" + echo "SUBSYSTEM==\"usb\", ACTION==\"remove\", ENV{DEVTYPE}==\"usb_device\", RUN+=\"$INSTALLATION_DIR/VBoxCreateUSBNode.sh --remove \$major \$minor\"" +} + +## Generate our udev rule file. This takes a change in udev rule syntax in +## version 55 into account. It only creates rules for USB for udev versions +## recent enough to support USB device nodes. +generate_udev_rule() { + VBOXDRV_GRP="$1" # The group owning the vboxdrv device + VBOXDRV_MODE="$2" # The access mode for the vboxdrv device + INSTALLATION_DIR="$3" # The directory VirtualBox is installed in + USB_GROUP="$4" # The group that has permission to access USB devices + NO_INSTALL="$5" # Set this to "1" to remove but not re-install rules + + # Extra space! + case "$USB_GROUP" in ?*) USB_GROUP=" $USB_GROUP" ;; esac + case "$NO_INSTALL" in "1") return ;; esac + udev_write_vboxdrv "$VBOXDRV_GRP" "$VBOXDRV_MODE" + udev_write_usb "$INSTALLATION_DIR" "$USB_GROUP" +} + +## Install udev rule (disable with INSTALL_NO_UDEV=1 in +## /etc/default/virtualbox). +install_udev() { + VBOXDRV_GRP="$1" # The group owning the vboxdrv device + VBOXDRV_MODE="$2" # The access mode for the vboxdrv device + INSTALLATION_DIR="$3" # The directory VirtualBox is installed in + USB_GROUP="$4" # The group that has permission to access USB devices + NO_INSTALL="$5" # Set this to "1" to remove but not re-install rules + + if test -d /etc/udev/rules.d; then + generate_udev_rule "$VBOXDRV_GRP" "$VBOXDRV_MODE" "$INSTALLATION_DIR" \ + "$USB_GROUP" "$NO_INSTALL" + fi + # Remove old udev description file + rm -f /etc/udev/rules.d/10-vboxdrv.rules 2> /dev/null +} + +## Create a usb device node for a given sysfs path to a USB device. +install_create_usb_node_for_sysfs() { + path="$1" # sysfs path for the device + usb_createnode="$2" # Path to the USB device node creation script + usb_group="$3" # The group to give ownership of the node to + if test -r "${path}/dev"; then + dev="`cat "${path}/dev" 2> /dev/null`" + major="`expr "$dev" : '\(.*\):' 2> /dev/null`" + minor="`expr "$dev" : '.*:\(.*\)' 2> /dev/null`" + class="`cat ${path}/bDeviceClass 2> /dev/null`" + sh "${usb_createnode}" "$major" "$minor" "$class" \ + "${usb_group}" 2>/dev/null + fi +} + +udev_rule_file=/etc/udev/rules.d/60-vboxdrv.rules +sysfs_usb_devices="/sys/bus/usb/devices/*" + +## Install udev rules and create device nodes for usb access +setup_usb() { + VBOXDRV_GRP="$1" # The group that should own /dev/vboxdrv + VBOXDRV_MODE="$2" # The mode to be used for /dev/vboxdrv + INSTALLATION_DIR="$3" # The directory VirtualBox is installed in + USB_GROUP="$4" # The group that should own the /dev/vboxusb device + # nodes unless INSTALL_NO_GROUP=1 in + # /etc/default/virtualbox. Optional. + usb_createnode="$INSTALLATION_DIR/VBoxCreateUSBNode.sh" + # install udev rule (disable with INSTALL_NO_UDEV=1 in + # /etc/default/virtualbox) + if [ "$INSTALL_NO_GROUP" != "1" ]; then + usb_group=$USB_GROUP + vboxdrv_group=$VBOXDRV_GRP + else + usb_group=root + vboxdrv_group=root + fi + install_udev "${vboxdrv_group}" "$VBOXDRV_MODE" \ + "$INSTALLATION_DIR" "${usb_group}" \ + "$INSTALL_NO_UDEV" > ${udev_rule_file} + # Build our device tree + for i in ${sysfs_usb_devices}; do # This line intentionally without quotes. + install_create_usb_node_for_sysfs "$i" "${usb_createnode}" \ + "${usb_group}" + done +} + +cleanup_usb() +{ + # Remove udev description file + rm -f /etc/udev/rules.d/60-vboxdrv.rules + rm -f /etc/udev/rules.d/10-vboxdrv.rules + + # Remove our USB device tree + rm -rf /dev/vboxusb +} + +start_drv() +{ + begin_msg "Starting VirtualBox services" console + if [ -d /proc/xen ]; then + failure "Running VirtualBox in a Xen environment is not supported" + fi + if ! running vboxdrv; then + if ! rm -f $DEVICE; then + failure "Cannot remove $DEVICE" + fi + if ! $MODPROBE vboxdrv > /dev/null 2>&1; then + /usr/sbin/vboxconfig + if ! $MODPROBE vboxdrv > /dev/null 2>&1; then + failure "modprobe vboxdrv failed. Please use 'dmesg' to find out why" + fi + fi + sleep .2 + fi + # ensure the character special exists + if [ ! -c $DEVICE ]; then + MAJOR=`sed -n 's;\([0-9]\+\) vboxdrv$;\1;p' /proc/devices` + if [ ! -z "$MAJOR" ]; then + MINOR=0 + else + MINOR=`sed -n 's;\([0-9]\+\) vboxdrv$;\1;p' /proc/extra` + if [ ! -z "$MINOR" ]; then + MAJOR=10 + fi + fi + if [ -z "$MAJOR" ]; then + rmmod vboxdrv 2>/dev/null + failure "Cannot locate the VirtualBox device" + fi + if ! mknod -m 0660 $DEVICE c $MAJOR $MINOR 2>/dev/null; then + rmmod vboxdrv 2>/dev/null + failure "Cannot create device $DEVICE with major $MAJOR and minor $MINOR" + fi + fi + # ensure permissions + if ! $MODPROBE vboxnetflt > /dev/null 2>&1; then + failure "modprobe vboxnetflt failed. Please use 'dmesg' to find out why" + fi + if ! $MODPROBE vboxnetadp > /dev/null 2>&1; then + failure "modprobe vboxnetadp failed. Please use 'dmesg' to find out why" + fi + # Create the /dev/vboxusb directory if the host supports that method + # of USB access. The USB code checks for the existance of that path. + if grep -q usb_device /proc/devices; then + mkdir -p -m 0750 /dev/vboxusb 2>/dev/null + chown root:vboxusers /dev/vboxusb 2>/dev/null + fi + succ_msg "VirtualBox services started" +} + +stop_drv() +{ + begin_msg "Stopping VirtualBox services" console + + if running vboxnetadp; then + if ! rmmod vboxnetadp 2>/dev/null; then + failure "Cannot unload module vboxnetadp" + fi + fi + if running vboxdrv; then + if running vboxnetflt; then + if ! rmmod vboxnetflt 2>/dev/null; then + failure "Cannot unload module vboxnetflt" + fi + fi + if ! rmmod vboxdrv 2>/dev/null; then + failure "Cannot unload module vboxdrv" + fi + if ! rm -f $DEVICE; then + failure "Cannot unlink $DEVICE" + fi + fi + succ_msg "VirtualBox services stopped" +} + +cleanup_vb() +{ + 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. + if test -e "${i}/extra/vboxdrv.ko" \ + || test -e "${i}/extra/vboxnetadp.ko" \ + || test -e "${i}/extra/vboxnetflt.ko"; then + rm -f "${i}/extra/vboxdrv.ko" "${i}/extra/vboxnetadp.ko" \ + "${i}/extra/vboxnetflt.ko" + # Remove the kernel version folder if it was empty except for us. + 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 + done +} + +# setup_script +setup_vb() +{ +# Try to build the host kernel modules in case prepackaging has failed + /usr/sbin/vboxconfig +} + +dmnstatus() +{ + if running vboxdrv; then + str="vboxdrv" + if running vboxnetflt; then + str="$str, vboxnetflt" + if running vboxnetadp; then + str="$str, vboxnetadp" + fi + fi + echo "VirtualBox kernel modules ($str) are loaded." + for i in $SHUTDOWN_USERS; do + # don't create the ipcd directory with wrong permissions! + if [ -d /tmp/.vbox-$i-ipc ]; then + export VBOX_IPC_SOCKETID="$i" + VMS=`$VBOXMANAGE --nologo list runningvms | sed -e 's/^".*".*{\(.*\)}/\1/' 2>/dev/null` + if [ -n "$VMS" ]; then + echo "The following VMs are currently running:" + for v in $VMS; do + echo " $v" + done + fi + fi + done + else + echo "VirtualBox kernel module is not loaded." + fi +} + +case "$1" in +start) + start_drv + ;; +stop) + stop_drv + ;; +restart) + "$0" stop && "$0" start + ;; +setup) + # Create udev rule and USB device nodes. + ## todo Wouldn't it make more sense to install the rule to /lib/udev? This + ## is not a user-created configuration file after all. + ## todo Do we need a udev rule to create /dev/vboxdrv[u] at all? We have + ## working fall-back code here anyway, and the "right" code is more complex + ## than the fall-back. Unnecessary duplication? + stop_drv && cleanup_vb + setup_usb "$GROUP" "$DEVICE_MODE" "$INSTALL_DIR" + setup_vb && start_drv + ;; +cleanup) + stop_drv && cleanup_vb + cleanup_usb + ;; +force-reload) + "$0" stop + "$0" start + ;; +status) + dmnstatus + ;; +*) + echo "Usage: $0 {start|stop|stop_vms|restart|force-reload|status}" + exit 1 +esac + +exit 0 + diff --git a/vboxguestconfig.sh b/vboxguestconfig.sh new file mode 100644 index 0000000..bb56bf8 --- /dev/null +++ b/vboxguestconfig.sh @@ -0,0 +1,62 @@ +#!/bin/bash +# +# Script to build VirtualBox guest kernel modules +# Copyright C 2017 by Larry Finger +# +# This script is part of the openSUSE VirtualBox package +# +SOURCE="/usr/src/kernel-modules/" +LOGFILE="/var/log/virtualbox.log" +INCLUDE="/lib/modules/`uname -r`/build/include" +# +# Test if vboxguest module loaded. If it is, skip everything else +loaded=$(lsmod | grep vboxguest) +if [ -n "$loaded" ] ; then + echo "Kernel modules available. but we will continue..." +fi +# +# Check if virtualbox-guest-source is installed, quit if not +if ! rpm -qf "$SOURCE/additions/guest_src.tar.bz2" &>/dev/null ; then + echo "Sources for building guest modules are not present," + echo "Use 'sudo zypper install virtualbox-guest-source' to install them. Quitting .." + exit 1 +fi +# unpack source +pushd $SOURCE > /dev/null 2>&1 +tar jxf additions/guest_src.tar.bz2 > /dev/null 2>&1 +popd > /dev/null 2>&1 +# +# Check if virtualbox-guest-source version matches virtualbox version +if [ "$(rpm -q virtualbox virtualbox-guest-source --queryformat='%{version}-%{release}\n' 2>/dev/null | sort -u | wc -l)" -ne "1" ] ; then + echo "virtualbox-guest-source package version doesn't match the version of virtualbox package." + echo "This situation is probably not fatal, thus we will try to continue .." +fi +# Prerequisites are available, start build +pushd $SOURCE/additions/src > /dev/null 2>&1 +echo "Building kernel modules..." +make > $LOGFILE 2>&1 +if [ "$?" -ne 0 ] ; then + echo "" + echo "Build of VirtualBox guest kernel modules failed." + echo "Look at $LOGFILE to find reasons." + popd > /dev/null 2>&1 + exit 1 +else +echo "Kernel modules built correctly. They will now be installed." +fi +make install >> $LOGFILE 2>&1 +if [ "$?" -ne 0 ] ; then + echo "" + echo "Installation of VirtualBox guest kernel modules failed." + echo "Look at $LOGFILE to find reasons." + popd > /dev/null 2>&1 + exit 1 +fi +depmod -a +modprobe -av vboxguest vboxvideo +cd ../.. +rm -rf additions +popd > /dev/null 2>&1 +echo "Kernel modules are installed and loaded." +exit 0 + diff --git a/vboxservice.service b/vboxservice.service new file mode 100644 index 0000000..aaa9818 --- /dev/null +++ b/vboxservice.service @@ -0,0 +1,9 @@ +[Unit] +Description=VirtualBox guest services +ConditionVirtualization=|oracle + +[Service] +Type=simple +ExecStartPre=-/usr/sbin/modprobe vboxguest +ExecStart=/usr/sbin/VBoxService -f +Restart=on-failure diff --git a/vboxweb-service.service b/vboxweb-service.service new file mode 100644 index 0000000..44088c9 --- /dev/null +++ b/vboxweb-service.service @@ -0,0 +1,20 @@ +[Unit] +SourcePath=/usr/lib/virtualbox/vboxweb-service.sh +Description= +Before=runlevel2.target runlevel3.target runlevel4.target runlevel5.target shutdown.target +After=vboxdrv.service +Conflicts=shutdown.target + +[Service] +Type=forking +Restart=no +TimeoutSec=5min +IgnoreSIGPIPE=no +KillMode=process +GuessMainPID=no +RemainAfterExit=yes +ExecStart=/usr/lib/virtualbox/vboxweb-service.sh start +ExecStop=/usr/lib/virtualbox/vboxweb-service.sh stop + +[Install] +WantedBy=multi-user.target diff --git a/vboxweb-service.sh b/vboxweb-service.sh new file mode 100644 index 0000000..536172e --- /dev/null +++ b/vboxweb-service.sh @@ -0,0 +1,229 @@ +#!/bin/sh +# $Id: vboxweb-service.sh 127855 2019-01-01 01:45:53Z bird $ +## @file +# VirtualBox web service API daemon init script. +# + +# +# Copyright (C) 2006-2019 Oracle Corporation +# +# This file is part of VirtualBox Open Source Edition (OSE), as +# available from http://www.virtualbox.org. This file is free software; +# you can redistribute it and/or modify it under the terms of the GNU +# General Public License (GPL) as published by the Free Software +# Foundation, in version 2 as it comes in the "COPYING" file of the +# VirtualBox OSE distribution. VirtualBox OSE is distributed in the +# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. +# + +# chkconfig: 345 35 65 +# description: VirtualBox web service API +# +### BEGIN INIT INFO +# Provides: vboxweb-service +# Required-Start: vboxdrv +# Required-Stop: vboxdrv +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Description: VirtualBox web service API +### END INIT INFO + +PATH=$PATH:/bin:/sbin:/usr/sbin +SCRIPTNAME=vboxweb-service.sh + +[ -f /etc/vbox/vbox.cfg ] && . /etc/vbox/vbox.cfg + +if [ -n "$INSTALL_DIR" ]; then + binary="$INSTALL_DIR/vboxwebsrv" + vboxmanage="$INSTALL_DIR/VBoxManage" +else + binary="/usr/lib/virtualbox/vboxwebsrv" + vboxmanage="/usr/lib/virtualbox/VBoxManage" +fi + +# silently exit if the package was uninstalled but not purged, +# applies to Debian packages only (but shouldn't hurt elsewhere) +[ ! -f /etc/debian_release -o -x $binary ] || exit 0 + +[ -r /etc/default/virtualbox ] && . /etc/default/virtualbox + +PIDFILE="/var/run/${SCRIPTNAME}" + +# Preamble for Gentoo +if [ "`which $0`" = "/sbin/rc" ]; then + shift +fi + +begin_msg() +{ + test -n "${2}" && echo "${SCRIPTNAME}: ${1}." + logger -t "${SCRIPTNAME}" "${1}." +} + +succ_msg() +{ + logger -t "${SCRIPTNAME}" "${1}." +} + +fail_msg() +{ + echo "${SCRIPTNAME}: failed: ${1}." >&2 + logger -t "${SCRIPTNAME}" "failed: ${1}." +} + +start_daemon() { + usr="$1" + shift + su - $usr -c "$*" +} + +killproc() { + killall $1 + rm -f $PIDFILE +} + +if which start-stop-daemon >/dev/null 2>&1; then + start_daemon() { + usr="$1" + shift + bin="$1" + shift + start-stop-daemon --background --chuid $usr --start --exec $bin -- $@ + } + + killproc() { + start-stop-daemon --stop --exec $@ + } +fi + +vboxdrvrunning() { + lsmod | grep vboxdrv +} + +check_single_user() { + if [ -n "$2" ]; then + fail_msg "VBOXWEB_USER must not contain multiple users!" + exit 1 + fi +} + +start() { + if ! test -f $PIDFILE; then + [ -z "$VBOXWEB_USER" ] && exit 0 + begin_msg "Starting VirtualBox web service" console; + check_single_user $VBOXWEB_USER + temp=$(lsmod | grep vboxdrv) + echo $temp + if [ -z "$temp" ]; then + fail_msg "VirtualBox kernel module not loaded!" + exit 1 + fi + PARAMS="--background" + [ -n "$VBOXWEB_HOST" ] && PARAMS="$PARAMS -H $VBOXWEB_HOST" + [ -n "$VBOXWEB_PORT" ] && PARAMS="$PARAMS -p $VBOXWEB_PORT" + [ -n "$VBOXWEB_SSL_KEYFILE" ] && PARAMS="$PARAMS -s -K $VBOXWEB_SSL_KEYFILE" + [ -n "$VBOXWEB_SSL_PASSWORDFILE" ] && PARAMS="$PARAMS -a $VBOXWEB_SSL_PASSWORDFILE" + [ -n "$VBOXWEB_SSL_CACERT" ] && PARAMS="$PARAMS -c $VBOXWEB_SSL_CACERT" + [ -n "$VBOXWEB_SSL_CAPATH" ] && PARAMS="$PARAMS -C $VBOXWEB_SSL_CAPATH" + [ -n "$VBOXWEB_SSL_DHFILE" ] && PARAMS="$PARAMS -D $VBOXWEB_SSL_DHFILE" + [ -n "$VBOXWEB_SSL_RANDFILE" ] && PARAMS="$PARAMS -r $VBOXWEB_SSL_RANDFILE" + [ -n "$VBOXWEB_TIMEOUT" ] && PARAMS="$PARAMS -t $VBOXWEB_TIMEOUT" + [ -n "$VBOXWEB_CHECK_INTERVAL" ] && PARAMS="$PARAMS -i $VBOXWEB_CHECK_INTERVAL" + [ -n "$VBOXWEB_THREADS" ] && PARAMS="$PARAMS -T $VBOXWEB_THREADS" + [ -n "$VBOXWEB_KEEPALIVE" ] && PARAMS="$PARAMS -k $VBOXWEB_KEEPALIVE" + [ -n "$VBOXWEB_AUTHENTICATION" ] && PARAMS="$PARAMS -A $VBOXWEB_AUTHENTICATION" + [ -n "$VBOXWEB_LOGFILE" ] && PARAMS="$PARAMS -F $VBOXWEB_LOGFILE" + [ -n "$VBOXWEB_ROTATE" ] && PARAMS="$PARAMS -R $VBOXWEB_ROTATE" + [ -n "$VBOXWEB_LOGSIZE" ] && PARAMS="$PARAMS -S $VBOXWEB_LOGSIZE" + [ -n "$VBOXWEB_LOGINTERVAL" ] && PARAMS="$PARAMS -I $VBOXWEB_LOGINTERVAL" + # set authentication method + password hash + if [ -n "$VBOXWEB_AUTH_LIBRARY" ]; then + su - "$VBOXWEB_USER" -c "$vboxmanage setproperty websrvauthlibrary \"$VBOXWEB_AUTH_LIBRARY\"" + if [ $? -ne 0 ]; then + fail_msg "Error $? setting webservice authentication library to $VBOXWEB_AUTH_LIBRARY" + fi + fi + if [ -n "$VBOXWEB_AUTH_PWHASH" ]; then + su - "$VBOXWEB_USER" -c "$vboxmanage setextradata global \"VBoxAuthSimple/users/$VBOXWEB_USER\" \"$VBOXWEB_AUTH_PWHASH\"" + if [ $? -ne 0 ]; then + fail_msg "Error $? setting webservice password hash" + fi + fi + # prevent inheriting this setting to VBoxSVC + unset VBOX_RELEASE_LOG_DEST + start_daemon $VBOXWEB_USER $binary $PARAMS > /dev/null 2>&1 + # ugly: wait until the final process has forked + sleep .1 + PID=`pidof $binary 2>/dev/null` + if [ -n "$PID" ]; then + echo "$PID" > $PIDFILE + RETVAL=0 + firewall-cmd --permanent --new-service=vboxweb + firewall-cmd --permanent --service=vboxweb --set-description="service to remotely manage VirtualBox" + firewall-cmd --permanent --add-port=18083/tcp --zone=internal --service=vboxweb + firewall-cmd --permanent --set-short="vboxweb" --service=vboxweb + succ_msg "VirtualBox web service started" + else + RETVAL=1 + fail_msg "VirtualBox web service failed to start" + fi + fi + return $RETVAL +} + +stop() { + if test -f $PIDFILE; then + begin_msg "Stopping VirtualBox web service" console; + killproc $binary + RETVAL=$? + # Be careful: wait 1 second, making sure that everything is cleaned up. + sleep 1 + if ! pidof $binary > /dev/null 2>&1; then + rm -f $PIDFILE + succ_msg "VirtualBox web service stopped" + else + fail_msg "VirtualBox web service failed to stop" + fi + fi + return $RETVAL +} + +restart() { + stop && start +} + +status() { + echo -n "Checking for VBox Web Service" + if [ -f $PIDFILE ]; then + echo " ...running" + else + echo " ...not running" + fi +} + +case "$1" in +start) + start + ;; +stop) + stop + ;; +restart) + restart + ;; +force-reload) + restart + ;; +status) + status + ;; +setup) + ;; +cleanup) + ;; +*) + echo "Usage: $0 {start|stop|restart|status}" + exit 1 +esac + +exit $RETVAL diff --git a/virtualbox-60-vboxdrv.rules b/virtualbox-60-vboxdrv.rules new file mode 100644 index 0000000..9c0aa92 --- /dev/null +++ b/virtualbox-60-vboxdrv.rules @@ -0,0 +1,7 @@ +KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="vboxusers", MODE="0660" +KERNEL=="vboxdrvu", NAME="vboxdrvu", OWNER="root", GROUP="vboxusers", MODE="0660" +KERNEL=="vboxnetctl", NAME="vboxnetctl", OWNER="root", GROUP="vboxusers", MODE="0660" +SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}" +SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}" +SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor" +SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor" diff --git a/virtualbox-60-vboxguest.rules b/virtualbox-60-vboxguest.rules new file mode 100644 index 0000000..331c61a --- /dev/null +++ b/virtualbox-60-vboxguest.rules @@ -0,0 +1,4 @@ +KERNEL=="vboxguest", NAME="vboxguest", OWNER="root", MODE="0660" ENV{ID_INPUT}="1", ENV{ID_INPUT_MOUSE}="1" +KERNEL=="vboxuser", NAME="vboxuser", OWNER="root", MODE="0660", TAG+="uaccess" +ACTION=="add|change", SUBSYSTEM=="drm", KERNEL=="card[0-9]", SUBSYSTEMS=="pci", ATTRS{vendor}=="0x15ad", ATTRS{device}=="0x0405", TAG+="systemd", ENV{SYSTEMD_WANTS}="vboxclient.service" + diff --git a/virtualbox-LocalConfig.kmk b/virtualbox-LocalConfig.kmk new file mode 100644 index 0000000..6a6dd84 --- /dev/null +++ b/virtualbox-LocalConfig.kmk @@ -0,0 +1,14 @@ +VBOX_WITH_TESTCASES = +VBOX_WITH_TESTSUITE = +VBOX_WITH_ORIGIN := +VBOX_WITH_REGISTRATION_REQUEST = +VBOX_WITH_UPDATE_REQUEST = +VBOX_WITH_INSTALLER = 1 +VBOX_WITH_LINUX_ADDITIONS = 1 +VBOX_WITH_X11_ADDITIONS = 1 +VBOX_PATH_APP_PRIVATE_ARCH := /usr/lib/virtualbox +VBOX_PATH_SHARED_LIBS := $(VBOX_PATH_APP_PRIVATE_ARCH) +VBOX_WITH_RUNPATH := $(VBOX_PATH_APP_PRIVATE_ARCH) +VBOX_PATH_APP_PRIVATE = /usr/share/virtualbox +VBOX_PATH_APP_DOCS := /usr/share/doc/packages/virtualbox +VBOX_WITH_REGISTRATION_REQUEST = diff --git a/virtualbox-default.virtualbox b/virtualbox-default.virtualbox new file mode 100644 index 0000000..1de1176 --- /dev/null +++ b/virtualbox-default.virtualbox @@ -0,0 +1,17 @@ +# /etc/default/virtualbox +# +# ------------------------------------------------------------------------------------------------- +# Autostart +# ------------------------------------------------------------------------------------------------- +VBOXAUTOSTART_DB=/etc/vbox +VBOXAUTOSTART_CONFIG=/etc/vbox/autostart.cfg + +# ------------------------------------------------------------------------------------------------- +# By default, vboxdrv creates a file /etc/udev/rules.d/60-vboxdrv.rules every time, it is started, +# that allows full control of this hosts usb devices in virtual machines (given, you allow accessing +# them with the GUI). +# In order to control this ability yourself, copy the generated /etc/udev/rules.d/60-vboxdrv.rules +# file to another name and modify to your needs, e.g. comment out all lines beginning with SUBSYSTEM, +# which will make this hosts usb devices inaccessible AND enable the next line. +#INSTALL_NO_UDEV=1 + diff --git a/virtualbox-kmp-files b/virtualbox-kmp-files new file mode 100644 index 0000000..576852d --- /dev/null +++ b/virtualbox-kmp-files @@ -0,0 +1,9 @@ +%defattr (-,root,root) +%dir %{kernel_module_directory}/%2-%1/ +%dir %{kernel_module_directory}/%2-%1/extra +%{kernel_module_directory}/%2-%1/extra/vboxdrv.ko +%{kernel_module_directory}/%2-%1/extra/vboxnetadp.ko +%{kernel_module_directory}/%2-%1/extra/vboxnetflt.ko +%{kernel_module_directory}/%2-%1/extra/vboxguest.ko +%{kernel_module_directory}/%2-%1/extra/vboxsf.ko +%{kernel_module_directory}/%2-%1/extra/vboxvideo.ko diff --git a/virtualbox-kmp-preamble b/virtualbox-kmp-preamble new file mode 100644 index 0000000..ae8b973 --- /dev/null +++ b/virtualbox-kmp-preamble @@ -0,0 +1,4 @@ +Requires: kernel-%1 +Provides: virtualbox-kmp = %version +Supplements: (virtualbox-guest-tools and kernel-%1) + diff --git a/virtualbox-patch-source.sh b/virtualbox-patch-source.sh new file mode 100644 index 0000000..eca8f6e --- /dev/null +++ b/virtualbox-patch-source.sh @@ -0,0 +1,57 @@ +#!/bin/bash + +REMOVE_DIRS=( +src/VBox/Additions/WINNT +src/VBox/Additions/os2 +src/VBox/Runtime/r3/darwin +src/VBox/Runtime/r0drv/darwin +src/VBox/Runtime/darwin +kBuild/bin +kBuild/msgstyles +kBuild/tools +kBuild/sdks +tools/darwin.x86 +tools/darwin.amd64 +tools/freebsd.x86 +tools/os2.x86 +tools/solaris.x86 +tools/solaris.amd64 +tools/win.amd64 +tools/win.x86 +tools/linux.x86 +tools/linux.amd64 +) + +set -o errexit + +CMDNAME=${0##*/} +SOURCEDIR=${0%$CMDNAME} + +BASENAME=${1%.tar.bz2} + +trap "rm -rf \"$BASENAME-patched.tar\" \"$BASENAME-patched.tar.bz2\"" ERR + +for (( N=0 ; N<${#REMOVE_DIRS[@]} ; N++ )) ; do + #REMOVE_DIRS[N]="$BASENAME/${REMOVE_DIRS[N]}" + # use a wildcard because VirtualBox-1.6.0-OSE != VirtualBox-1.6.0_OSE + REMOVE_DIRS[N]="*/${REMOVE_DIRS[N]}" +done + +cd "$SOURCEDIR" >/dev/null + +if ! test -f "$BASENAME.tar.bz2" ; then + exit 0 +fi + +if test -f "$BASENAME-patched.tar.bz2" ; then + if test "$BASENAME.tar.bz2" -ot "$BASENAME-patched.tar.bz2" ; then + if test $CMDNAME -ot "$BASENAME-patched.tar.bz2" ; then + exit 0 + fi + fi +fi + +cp -a "$BASENAME.tar.bz2" "$BASENAME-patched.tar.bz2" +bunzip2 "$BASENAME-patched.tar.bz2" +tar --wildcards --delete -f "$BASENAME-patched.tar" "${REMOVE_DIRS[@]}" +bzip2 "$BASENAME-patched.tar" diff --git a/virtualbox-rpmlintrc b/virtualbox-rpmlintrc new file mode 100644 index 0000000..ecfac8c --- /dev/null +++ b/virtualbox-rpmlintrc @@ -0,0 +1,4 @@ +addFilter("incoherent-init-script-name vboxdrv") +addFilter("incoherent-init-script-name vboxadd") +addFilter("xorg-x11-driver-virtualbox-ose.* shlib-policy-missing-suffix") +addFilter("executable-stack") diff --git a/virtualbox-sed-params.patch b/virtualbox-sed-params.patch new file mode 100644 index 0000000..b4c954a --- /dev/null +++ b/virtualbox-sed-params.patch @@ -0,0 +1,27 @@ +Index: VirtualBox-7.0.14/src/VBox/Main/Makefile.kmk +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Main/Makefile.kmk ++++ VirtualBox-7.0.14/src/VBox/Main/Makefile.kmk +@@ -1895,7 +1895,7 @@ $(VBoxAPIWrap_0_OUTDIR)/VBoxAPI.d.ts \ + $(QUIET)$(VBOX_XSLTPROC) --stringparam KBUILD_HOST $(KBUILD_HOST) \ + --stringparam generating "dtrace-probes" \ + -o "$@" $(VBoxAPIWrap_VBOX_XSLT) $(VBOX_XIDL_FILE) +- $(QUIET)$(SED) -e '' -o "$@.tmp" \ ++ $(QUIET)$(SED) -e '' --output "$@.tmp" \ + "$(VBOX_PATH_MAIN_SRC)/src-all/VBoxAPI-start$(if-expr "$(VBOX_HOST_DTRACE_VERSION)" == "dtrace: Sun D 1.6.2",-alternative,).d" \ + "$@" \ + "$(VBOX_PATH_MAIN_SRC)/src-all/VBoxAPI-end$(if-expr "$(VBOX_HOST_DTRACE_VERSION)" == "dtrace: Sun D 1.6.2",-alternative,).d" +Index: VirtualBox-7.0.14/src/VBox/Devices/Makefile.kmk +=================================================================== +--- VirtualBox-7.0.14.orig/src/VBox/Devices/Makefile.kmk ++++ VirtualBox-7.0.14/src/VBox/Devices/Makefile.kmk +@@ -989,8 +989,7 @@ if !defined(VBOX_ONLY_EXTPACKS) && "$(in + $(call MSG_TOOL,iasl,VBoxDD,$<,$@) + $(QUIET)$(RM) -f $@ $@.tmp $@.pre + $(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -E -P -x c -o $@.pre $< +- $(QUIET)$(SED) -e "s//\n/g" \ +- --output $@.pre1 $@.pre ++ $(QUIET)$(SED) -e "s//\n/g" $@.pre > $@.pre1 + $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ $@.pre1 + $(QUIET)$(MV) -f $@ $@.tmp + $(QUIET)$(SED) -e "s/AmlCode\|vboxssdt_cpuhotplug_aml_code/AmlCodeSsdtCpuHotPlug/g" \ diff --git a/virtualbox-wrapper.sh b/virtualbox-wrapper.sh new file mode 100644 index 0000000..814f6e2 --- /dev/null +++ b/virtualbox-wrapper.sh @@ -0,0 +1,70 @@ +#!/bin/bash +export QT_NO_KDE_INTEGRATION=1 + +# make certain that the user/group combination is valid +/usr/bin/id -nG | grep -v -e "root" -e "vboxusers" >/dev/null && /usr/lib/virtualbox/VBoxPermissionMessage && exit +# +# Handle the issue regarding USB passthru +# The following conditions apply: +# 1. If ~/.config/VirtualBox/enable exists, the user accepts the security risk. +# 2. If ~/.config/VirtualBox/disable exists, the user does not accept the risk. That file will contain the inode of /usr/lib/udev/rules.d/60-vboxdrv.rules. +# When that changes, the VBoxUSB_DevRules will again be displayed as that means that VB has been reloaded. +# +devrules() +{ + /usr/lib/virtualbox/VBoxUSB_DevRules + if [ $? -eq 0 ] ; then + # User accepts the risk + touch ~/.config/VirtualBox/enable + rm -f ~/.config/VirtualBox/disable + else + # User declines the risk - save the inode + echo "" > ~/.config/VirtualBox/disable + rm -f ~/.config/VirtualBox/enable + fi +} + +# Start of main routine +# +# Ensure that ~/.config/VirtualBox exists +mkdir -p ~/.config/VirtualBox +# Get the inode for /usr/lib/udev/rules.d/60-vboxdrv.rules +INODE=$(stat /usr/lib/udev/rules.d/60-vboxdrv.rules | grep Inode | cut -d' ' -f3) +if [ ! -f ~/.config/VirtualBox/enable ] && [ ! -f ~/.config/VirtualBox/disable ] ; then + # Neither file exists - find what the user wants + devrules +fi +# Get the original Inode if it exists +if [ -f ~/.config/VirtualBox/disable ] ; then + read LINE < ~/.config/VirtualBox/disable +else + LINE=" " +fi +# If user originally declined, make certain that /usr/lib/udev/rules.d/60-vboxdrv.rules has not been changed +if [ -f ~/.config/VirtualBox/disable ] && [ "$LINE" != "$INODE" ] && [ "$LINE" != "" ] ; then + # disable is selected and the Inode has changed - ask again + devrules +fi +if [ -f ~/.config/VirtualBox/disable ] ; then + echo $INODE > ~/.config/VirtualBox/disable + if [ "$LINE" != "$INODE" ] ; then + if [ -f /usr/bin/kdesu ] ; then + kdesu /usr/sbin/vbox-fix-usb-rules.sh + fi + if [ -f /usr/bin/gnomesu ] ; then + gnomesu /usr/sbin/vbox-fix-usb-rules.sh + fi + fi +fi +# Check if extpack needs to be updated +/usr/bin/update-extpack.sh +# Check that /usr/lib/virtualbox/VirtualBoxVM has SUID permissions +PERM=$(ls -l /usr/lib/virtualbox/VirtualBoxVM | grep rwsr) +if [ -z "$PERM" ] +then + logger -s "Wrong permissions for VirtualBoxVM - use 'sudo chmod 4711 /usr/lib/virtualbox/VirtualBoxVM' to fix" + /usr/lib/virtualbox/VBoxSUIDMessage + exit 1 +fi +# Now run the VB GUI +LD_LIBRARY_PATH="/usr/lib/virtualbox${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" /usr/lib/virtualbox/VirtualBox6 $@ diff --git a/virtualbox.changes b/virtualbox.changes new file mode 100644 index 0000000..4e056eb --- /dev/null +++ b/virtualbox.changes @@ -0,0 +1,7784 @@ +------------------------------------------------------------------- +Tue May 7 12:47:44 UTC 2024 - Dominique Leuenberger + +- Have the KMP package supplement the kernel-flavor plus + virtualbox-guest-tools: -guest tools requires the kmp anyway, and + this allows libsolv to give some hints on 'what kmp' to prefer on + a system. + +--------------------------------------------------------------------- +Fri May 3 20:09:00 UTC 2024 - Larry Rainey + +- Version bump to VirtualBox 7.0.18 (released May 03 2024 by Oracle)) + +This is a maintenance release. The following items were fixed and/or added: + + Networking: Fixed an issue which caused host system crash when VM was using bridged or host-only network adapter (bug #22045) + Linux Guest Additions: Added more fixes to prevent UBSAN warnings (bug #21877) Fixes boo#1211941 + Linux Guest Additions: Fixed issue when time stamps were displayed incorrectly within mounted shared folder (bug #22047) + Permanent fix for boo#1220524. File fix_shared_folder_time.patch is deleted. + Files fixes_for_python.patch and handle_gsoap_208103.patch are deleted. + +VirtualBox 7.0.16 (released April 16 2024) + +This is a maintenance release. The following items were fixed and/or added: + + VMM: Fixed a guru meditation executing nested-guests using the KVM hypervisor in the guest on Intel hosts (bug #21805) + VMM: Fixed Linux VM crash on some recent AMD models + USB: Fixed issue when EHCI controller was mishandling short packets (bug #20726) + Audio: Introduced general improvements + VBoxManage and vboximg-mount: Updated usage information and documentation (bugs #21895, #21992 and #21993) + Guest Control: Fixed starting Windows guest processes in the correct Windows session (7.0 regression) + Linux Host: Fixed issue when VBox.sh was deleting wrong VBoxSVC IPC socket when VM was started using sudo (bug #20928) + Linux Host: Fixed kernel modules build failure when using GCC 13.2 + Linux Host and Guest: Added fixes related to UBSAN warnings discovered on recent Linux distributions (bug #21877) + Linux Host and Guest: Added possibility to prevent kernel module from automatic loading during system boot by adding mod_name.disabled=1 into kernel command line + Linux Host and Guest: Added initial support for kernel 6.9 (bug #22033). File kernel-6.9.patch is deleted. + Linux Host and Guest: Fixed mk_pte warning introduced in kernel 6.6 (bug #21898) + Linux Guest Additions: Added initial support for kernel 6.8. File kernel-6.8.patch is deleted. + Windows Guest Additions: Introduced general improvements in graphics area + +------------------------------------------------------------------- +Fri May 3 08:24:26 UTC 2024 - Michal Suchanek + +- Build kernel-longterm KMP on Tumbleweed (boo#1217824) + +------------------------------------------------------------------- +Wed Apr 24 14:53:24 UTC 2024 - Larry Finger + +- Provide a temporary fix to the problem of wrong timestamp for files + in a shared folder since kernel 6.6. File "fix_shared_folder_time.patch" + is added. This change fixes boo#1220524. + +------------------------------------------------------------------- +Fri Apr 19 04:36:59 UTC 2024 - Larry Finger + +- Fix build error on Factory;Staging due to libxml 2.12.6. Added file + libxml21206.patch. + Added file kernel-6.9.patch to fix builds on kernel 6.9. + +------------------------------------------------------------------- +Mon Apr 1 16:12:39 UTC 2024 - Javier de San Pedro + +- Setting 0660 as permissions of /dev/vboxusb directory itself was preventing + access to this directory by any non-root user, even if member of vboxusers. + This results in VBox UI failing to enable USB passthrough. + Fix issue by removing all the workarounds for /dev/vboxusb/* as they should + no longer be required. + +------------------------------------------------------------------- +Thu Mar 28 17:26:16 UTC 2024 - Larry Finger + +- The location of vboxconfig is wrong. Add file fixes_for_vboxconfig.patch + to fix. + Some errors in vboxdrv.sh are fixed. + +------------------------------------------------------------------- +Wed Mar 27 23:42:34 UTC 2024 - Larry Finger + +- Further fixes for builds on Leap 15.6. Fixes boo#1221496. + Adds file fixes_for_leap15.6.patch + +------------------------------------------------------------------- +Tue Mar 12 09:06:54 UTC 2024 - Jiri Slaby + +- add kernel-6.8.patch to fix kernel 6.8 build failures + +------------------------------------------------------------------- +Tue Feb 20 13:24:14 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + +------------------------------------------------------------------- +Tue Feb 6 19:56:11 UTC 2024 - Larry Finger + +- Fix build on Leap 15.6. + +------------------------------------------------------------------- +Sat Jan 27 08:18:41 UTC 2024 - Bingwu Zhang + +- Fix extpack updater to allow PUEL version 11 +- Package UnattendedTemplates into main package + +------------------------------------------------------------------- +Fri Jan 26 12:28:45 UTC 2024 - Bingwu Zhang + +- Install UnattendedTemplates for unattended installing. + +------------------------------------------------------------------- +Wed Jan 16 15:40:02 UTC 2024 - Larry Rainey + +- Version bump to VirtualBox 7.0.14 (released January 16, 2024 by Oracle) + +This is a maintenance release. The following items were fixed and/or added: + + Audio: Added more fixes for switching host audio devices on Windows hosts using the WAS backend + 3D: Added general improvements + OCI: Fixed wrong guest RAM unit usage in VirtualSystemDescription, memory is provided in bytes, "Byte" is the base unit + Main: OVF Import/Export: Added support for importing and exporting VMs containing NVMe storage controllers (bug #19320) + Main: OVF Import/Export: Added support for exporting a VM which contains a medium inserted into a virtual CD/DVD drive which is attached to a Virtio-SCSI controller + Devices: Fixed a problem where Windows guests "forget" in-progress touch events when the user holds down a finger without moving it for a period of time. + macOS Host USB: Added support for newer storage devices + macOS Host: Fixed memory Leak in the VBoxIntNetSwitch process when VM was configured to use 'Internal Networking' (bug #21752) + Linux Host and Guest: Added initial support for RHEL 9.4 kernel + Linux Guest Additions: Fixed kernel panic on RHEL 8.9 kernel caused by vboxvideo (bugs #10381 and #21911) + Solaris Guest Additions: Added support for the Additions to be installed into an alternate root path ('pkgadd -R') + Solaris Guest Additions: Removed requirement to reboot VM after uninstalling GAs + RDP: Fix possible crash when connecting with the Apple Silicon variant of the Microsoft Remote Desktop application (bug #21820). + BIOS: Fixed handle number used for DMI OEM table (bug #19781) + +------------------------------------------------------------------- +Thu Oct 26 18:10:45 UTC 2023 - Larry Finger + +- Update file "fixes_for_leap.patch" to cover API change in Leap 15.6 kernel. + +------------------------------------------------------------------- +Sat Oct 21 19:27:40 UTC 2023 - Larry Finger + +- Restored changes entry accidentally deleted. + +------------------------------------------------------------------- +Wed Oct 18 17:26:11 UTC 2023 - Larry Finger + +- Version bump to VirtualBox 7.0.12 (released October 17 2023 by Oracle) + + Fixes the following: + CVE-2023-22098 (boo#1216363) + CVE-2023-22099 (boo#1216364) + CVE-2023-22100 (boo#1216365) + + Patch file "fixes_for_6.5.patch" removed - fixed upstream. + + This is a maintenance release. The following items were fixed and/or added: + + VMM: Fixed using a debugger inside the guest under certain circumstances (bugs #21413 and #21546) + VMM: Fixed detection of VT-x being used by other hypervisors (bug #21867) + VMM: Introduced additional improvements in Split Lock Detection feature of recent Intel CPUs on Linux hosts (bug #20180) + GUI: Fixed issue when the nested hardware virtualization setting was not displayed in the VM details panel (bug #21707) + GUI: Introduced NLS update for Croatian, Indonesian, Italian, Japanese, Korean, Dutch and Turkish languages as well as added general look-and-feel improvements + Devices: Fixed black screen in Windows guests with multiple guest screens when 3D is disabled (7.0.10 regression) + Devices: Fixed PCI device identifiers for the VirtIO network interface (bug #21516) + Devices: Fixed VLAN support for the VirtIO network interface (bug #21778) + Devices: Fixed loading saved states when a TPM is configured (7.0.10 regression, bug #21773) + Networking: Fixed memory leaks in the VBoxIntNetSwitch process on macOS (bug #21752) + Networking: Fixed TCP connections with IP addresses ending on .2 when the NAT network attachment is used (bug #21513) + VRDP: Added general improvements + VBoxManage: Added improvements for "list usbfilters" command + Unattended: Added kick start file support for Oracle Linux 8 and Oracle Linux 9. + Main: Added more Linux OS subtypes + Host Services: Fixed Guest Properties service crash under rare circumstance + Linux Host and Guest: Fixed few "field-spanning write" kernel warnings (bugs #21410 and #21862) + Linux Guest Additions: Added more fixes for RHEL 8.9 and 9.3 kernel + Linux Guest Additions: Added more fixes for kernel 6.4 + Linux Guest Additions: Added initial support for OpenSUSE 15.5 kernel + Linux Guest Additions: Added initial support for kernels 6.5 and 6.6 + Linux Guest Additions: Added version reporting for "rcvboxadd status-kernel" and "rcvboxadd status-user" commands + BIOS: Restored support for ISA SCSI HBAs in the BIOS (bug #21736) + +------------------------------------------------------------------- +Fri Sep 22 12:19:15 UTC 2023 - Callum Farmer + +- Convert to systemd-sysusers + +------------------------------------------------------------------- +Wed Sep 20 22:06:33 UTC 2023 - Larry Finger + +- Fix problems wiith 6.5 kernels and shared folders. boo#1215463. + Fix build errors for Leap 15.4, 15.5, and 15.6 due to gso.h not found. + +------------------------------------------------------------------- +Fri Aug 18 18:18:19 UTC 2023 - Larry Finger + +- An additional fix was needed to handle flexible arrays in kernel 6.5+. + A fix was made for breakage of kernels 6.4.10+ boo#1212761 and boo#1214391. + Note that the change in 6.4 missed an internal include that is present + in kernel 6.5. + +------------------------------------------------------------------- +Wed Aug 9 19:44:14 UTC 2023 - Larry Finger + +- Fix build for kernel 6.5 + Add file "fixes_for_6.5.patch" + Reworked patches for various Leap versions: + Added file "fixes_for_leap.patch" + Deleted file "fixes_for_leap15.2.patch" + Deleted file "fixes_for_leap15.3.patch" + Deleted file "fixes_for_leap15.4.patch" + Deleted file "fixes_for_leap15.5.patch" + +------------------------------------------------------------------- +Thu July 19 15:24:39 UTC 2023 - Larry Rainey + +- VirtualBox 7.0.10 (released July 18 2023) + +This is a maintenance release. The following items were fixed and/or added: + + OCI: Introduced general improvements + VMM: Fixed a bug while walking page tables while executing nested VMs causing flooding of the release log as a consequence (Intel hosts only, bug #21551) + GUI: Added general improvements + TPM: Fixed a crash when a VM has a TPM version 1.2 configured (bug #21622) + 3D: Initial support for OpenGL 4.1 + 3D: Fixed various graphics issues with Windows 11 guests (bugs #21136, #21515) + Guest Control/VBoxManage: Fixed parameter "--ignore-orphaned-processes" + Guest Control/VBoxManage: Fixed behavior of how handling argument 0 for a started guest process works: One can now explicitly specify it with the newly added option "--arg0". This will effectively restore the behavior of former VirtualBox versions + Audio: Also use the PulseAudio backend when pipewire-pulse is running instead of falling back to ALSA (bug #21575) + NAT: Adjusted UDP proxy timeout from 18-21 to 21-24 range to respect intended 20 second timeout (bug #21560) + Linux Host: Added initial support for Indirect Branch Tracking (bug #21435) + Linux Host: Added initial support for kernel 6.5 (NOTE: Guest Additions do not support kernel 6.5 yet) + Linux Host and Guest: Improved condition check when kernel modules need to be signed + Linux Host and Guest: Added initial support for RHEL 8.8 (bug #21692), 8.9 (bug #21690) and 9.3 (bugs #21598 and #21671) kernels + Linux Guest Additions: Fixed issue when kernel modules were rebuilt on each boot when guest system has no X11 installed + Linux Guest Additions: Added initial support for kernel 6.4 + Linux Guest Additions: Fixed issue when vboxvideo module reloading caused kernel panic in some guests (bug #21740) + Linux Guest Additions: Introduced general improvements in the installer area + Windows Guest Additions: Introduced general improvements in graphics drivers area + + removed "fixes_for_kernel_6.4.patch" as this is fixed upstream + + Fix issue with kernel on newer CPU (boo#1212209) + +------------------------------------------------------------------- +Tue Jun 27 19:08:03 UTC 2023 - Larry Finger + +- Fix builds on kernel 6.4 (boo#1212761) + +bash ./virtualbox-patch-source.sh VirtualBox-7.0.10.tar.bz2 +tar xjf VirtualBox-7.0.10.tar.bz2 +cd VirtualBox-7.0.10 +mkdir patches +mkpatch +cd .. +osc status +osc add VirtualBox-7.0.10-patched.tar.bz2 +osc status +cd -File "fixes_for_kernel_6.4.patch" added. + +------------------------------------------------------------------- +Wed Jun 14 02:18:18 UTC 2023 - Larry Finger + +- Turn build of VBoxSDL back on + Files "fix_sdl_build.patch" and "fixes_for_leap15.4.patch" are added. + This update addresses boo#1211941. + +------------------------------------------------------------------- +Sun May 14 16:51:46 UTC 2023 - Dirk Müller + +- update python311.patch: remove changes that only work on + Tumbleweed + +------------------------------------------------------------------- +Sat May 13 20:07:37 UTC 2023 - Larry Finger + +- Patch python311.patch fails on Leap 15.4 and Leap 15.5. Change spec file so thqt it is only + applied for Tumbleweed. + +------------------------------------------------------------------- +Fri May 12 20:35:44 UTC 2023 - Dirk Müller + +- update python311.patch to also detect vboxpython module with python 3.11 + +------------------------------------------------------------------- +Mon May 8 18:26:38 UTC 2023 - Larry Finger + +- Update fix_7.0.6_locking_problems.patch for Vagrent/virtualbox startup problems boo#1209727 + +------------------------------------------------------------------- +Thu May 4 16:46:55 UTC 2023 - Dirk Müller + +- add python311.patch to make it detect Python 3.11 as well +- spec file cleanups + +------------------------------------------------------------------- +Thu May 4 15:24:39 UTC 2023 - Larry Rainey + +- VirtualBox 7.0.8 (released April 18 2023) + +This is a maintenance release. The following items were fixed and/or added: + + VMM: Introduced general improvements in nested visualization area + GUI: Brought back Restore current snapshot checkbox of Close VM dialog (bugs #21189, #21491) + GUI: Fixes and validation for VM settings USB filters editor, filter port value is now properly saved/restored + GUI: Fixes for VM name and OS type embedded editors of Details pane + GUI: Cloud related wizards should now propose enabled profiles before disabled + Oracle VM VirtualBox Extension Pack: Fixed shipping the cryptographic support module for full VM encryption + E1000: Fixed possible guru meditation when changing network attachments (bug #21488) + virtio-net: Follow up fixes for FreeBSD 12.3 and pfSense 2.6.0 (bug #21201) + 3D: Fixed various graphics issues with Windows 7 guests (bugs #21129, #21196, #21208, #21521) + Main/UefiVariableStore: Added API to add signatures to the MOK list (Machine Owner Key) + VBoxManage: Introduced modifynvram enrollmok sub-command to enroll Machine Owner Key into NVRAM, so Linux guest kernel can pick it up in order to verify signature of modules signed with this key + Guest Control/Main: Fixed deleting files via built-in toolbox + Linux host: Added possibility to bypass kernel modules signature verification once VBOX_BYPASS_MODULES_SIGNATURE_CHECK="1" is specified in /etc/vbox/vbox.cfg, useful in case if Linux distribution does not provide necessary tools to verify kernel module signature + Linux Guest Additions and host Installer: Improved detection if system is running systemd as the init process + Linux Guest Additions and host drivers: Introduce initial support for kernel 6.3 + Linux Guest Additions: Added possibility to bypass kernel modules signature verification once VBOX_BYPASS_MODULES_SIGNATURE_CHECK="1" is specified in /etc/virtualbox-guest-additions.conf, useful in case if Linux distribution does not provide necessary tools to verify kernel module signature + Linux Guest Additions: Added experimental support for kernel modules and user services reloading in the end of installation process, thus guest system reboot after Guest Additions (7.0.8 and newer) upgrade is no longer required in general case + Linux Guest Additions: Fixed vboxvideo build issue with RHEL 8.7, 9.1 and 9.2 kernels (bugs #21446 and #21450) + + Fixes for (boo#1210616) +CVE-2023-21990 Oracle VM VirtualBox Core None No 8.2 Prior to 6.1.44, Prior to 7.0.8 +CVE-2023-21987 Oracle VM VirtualBox Core None No 7.8 Prior to 6.1.44, Prior to 7.0.8 +CVE-2023-22002 Oracle VM VirtualBox Core None No 6.0 Prior to 6.1.44, Prior to 7.0.8 +CVE-2023-21989 Oracle VM VirtualBox Core None No 6.0 Prior to 6.1.44, Prior to 7.0.8 +CVE-2023-21998 Oracle VM VirtualBox Core None No 4.6 Prior to 6.1.44, Prior to 7.0.8 +CVE-2023-22000 Oracle VM VirtualBox Core None No 4.6 Prior to 6.1.44, Prior to 7.0.8 +CVE-2023-22001 Oracle VM VirtualBox Core None No 4.6 Prior to 6.1.44, Prior to 7.0.8 +CVE-2023-21988 Oracle VM VirtualBox Core None No 3.8 Prior to 6.1.44, Prior to 7.0.8 +CVE-2023-21999 Oracle VM VirtualBox Core None No 3.6 Prior to 6.1.44, Prior to 7.0.8 +CVE-2023-21991 Oracle VM VirtualBox Core None No 3.2 Prior to 6.1.44, Prior to 7.0.8 + + Removed file fixes_for_kernel_6.3.patch - removed upstream. + Removed file fix_kmp_build.patch. + + Thanks to Javier de San Pedro for the simplfication of the KMP build. + +------------------------------------------------------------------- +Fri Mar 31 21:14:51 UTC 2023 - Larry Finger + +- Fix some memory leaks in file "fix_7.0.6_locking_problems.patch" + Fix bug in /usr/bin/VirtualBox, aka "virtualbox-wrapper.sh". The wrapper + failed whenever the user declined USB passthru. boo#1208941. + +------------------------------------------------------------------- +Tue Mar 21 17:05:39 UTC 2023 - Larry Finger + +- File "fixes_for_kernel_6.3.patch" is updated for more API changes + File "fix_7.0.6_locking_problems.patch" is added. Fixes boo#1209529. + Larry Len Rainey and I have worked on this bug for some time. It only + happened on systems with large numbers of processors and many virtual + machines. We suspected a locking problem, but the thought of auditing + the entire code was daunting until it was discovered that there was no + problem if the host ran VB 6.1.40. It did not matter what version the + guests were running. That essentially eliminated every code part except + for vboxdrv.ko. That made the audit tractable. There were two files and + a total of 8 places where the locking was suspect. When those were + changed, the lockups while using 7.0.6 host code were no longer observed. + + The lockups were infrequent, thus it is impossible to say that we have + fixed everything, but the frequency is clearly diminished. + +------------------------------------------------------------------- +Mon Mar 6 21:14:12 UTC 2023 - Larry Finger + +- Added file "fixes_for_kernel_6.3.patch" to handle API change. +- File "fixes_for_gcc13.patch" updated for additional changes in GCC 13 boo#1207468 + spec-cleaner used to remove extra blank line is spec file. + +------------------------------------------------------------------- +Wed Mar 1 16:13:24 UTC 2023 - Larry Finger + +- Add file "fixes_for_gcc13.patch" to fix builds with GCC13. + +------------------------------------------------------------------- +Mon Feb 13 12:03:41 UTC 2023 - Thorsten Kukuk + +- Remove requires for unused sysvinit-tools + +------------------------------------------------------------------- +Wed Feb 1 21:46:49 UTC 2023 - Larry Finger + +- Fix a few places that did not get updated for the transition from + /sbin => /usr/sbin, and /etc/udev => /usr/lib/udev. boo#1207736. + ldconfig has not been moved in Leap 15.4 - use /sbin for it. + +------------------------------------------------------------------- +Tue Jan 24 20:15:06 UTC 2023 - Larry Rainey + +- VirtualBox 7.0.6 (released January 17 2023) + +This is a maintenance release. The following items were fixed and/or added: [1] + +- VMM: Fixed guru running the FreeBSD loader on older Intel CPUs without unrestricted guest support (bug #21332) +- GUI: Fixed virtual machines grouping when VM was created or modified in command line (bugs #11500, #20933) +- GUI: Introduced generic changes in settings dialogs +- VirtioNet: Fixed broken network after loading saved state (bug #21172) +- Storage: Added support for increasing the size of the following VMDK image variants: monolithicFlat, monolithicSparse, twoGbMaxExtentSparse, twoGbMaxExtentFlat +- VBoxManage: Added missing --directory switch for guestcontrol mktemp command +- Mouse Integration: Guest was provided with extended host mouse state (bug #21139) +- DnD: Introduced generic improvements +- Guest Control: Fixed handling creation mode for temporary directories (bug #21394) +- Linux Host and Guest: Added initial support for building UEK7 kernel on Oracle Linux 8 +- Linux Host and Guest: Added initial support for RHEL 9.1 kernel +- Linux Guest Additions: Added initial support for kernel 6.2 for vboxvideo +- Audio: The "--audio" option in VBoxManage is now marked as deprecated; please use "--audio-driver" and "--audio-enabled" instead. This will allow more flexibility when changing the driver and/or controlling the audio functionality + + +Additionally, it fixes 6 CVE's: [2] +CVE-2023-21886 Oracle VM VirtualBox Core Multiple Yes 8.1 Network High None None Un- +changed High High High Prior to 6.1.42, prior to 7.0.6 +CVE-2023-21898 Oracle VM VirtualBox Core None No 5.5 Local Low Low None Un- +changed None None High Prior to 6.1.42, prior to 7.0.6 See Note 1 +CVE-2023-21899 Oracle VM VirtualBox Core None No 5.5 Local Low Low None Un- +changed None None High Prior to 6.1.42, prior to 7.0.6 See Note 1 +CVE-2023-21884 Oracle VM VirtualBox Core None No 4.4 Local Low High None Un- +changed None None High Prior to 6.1.42, prior to 7.0.6 +CVE-2023-21885 Oracle VM VirtualBox Core None No 3.8 Local Low Low None Changed Low None None Prior to 6.1.42, prior to 7.0.6 See Note 2 +CVE-2023-21889 Oracle VM VirtualBox Core None No 3.8 Local Low Low None Changed Low None None Prior to 6.1.42, prior to 7.0.6 + +Note 1: Applies to VirtualBox VMs running Windows 7 and later. +Note 2: Applies to Windows only. + + +Links: +[1] https://www.virtualbox.org/wiki/Changelog-7.0#v6 +[2] https://www.oracle.com/security-alerts/cpujan2023.html#AppendixOVIR + +------------------------------------------------------------------- +Tue Jan 24 14:34:08 UTC 2023 - Marcus Meissner + +- unify buildrequires to libopenssl-devel to handle openssl 3 transition + +------------------------------------------------------------------- +Fri Dec 23 23:24:21 UTC 2022 - Larry Finger + + To eliminate some VM failures while using the kernel version of vboxvideo.ko for Leap 15.4, + the build of this module is turned on again. Fixes boo#1206651 - Leap 15.4 guests running + VirtualBox 7.0.4 crash when run on hosts with certain Intel graphics cards + + File "virtualbox-snpritnf-buffer-overflow.patch" deleted. + File "vbox_remove_smp_mflags.patch" deleted. + File "fixes_for_leap15.5.patch" added to fix chanes needed for backports to the Leap 15.5 kernel +------------------------------------------------------------------- +Wed Nov 30 17:22:42 UTC 2022 - Larry Finger + +Fixes boo#1205868 - VirtualBox 7.0.4 crashes when machine log is requested from GUI + +Deleted file "VBoxDDR0.r0" - no longer needed. +Deleted file "Fix_for_server_1.19.patch" - no longer needed. +Deleted file "fixes_for_Qt5.11.patch" - no longer needed. +Deleted file "fix_lib_search.patch" - no longer needed. +Deleted file "fixes_for_Leap42.3.patch" - target is obsolete. +Deleted file "set_noexec_stack.patch" - not needed. +Deleted file "fix_v7_build.patch" - not needed. +Deleted file "fixes_for_gcc10.patch" - not needed. +Deleted file "internal-headers.patch" - not needed. +Deleted file "virtualbox-fix-ui-background-color.patch" - does not apply. + +------------------------------------------------------------------- +Mon Nov 21 16:10:35 UTC 2022 - Larry Finger + +Removed file "fixes_for_leap15.4.patch" - fixed upstream. +Added file "fix_kmp_build.patch' + +- VirtualBox 7.0.4 (released November 18 2022) + +This is a maintenance release. The following items were fixed and/or added: + +VMM: Added nested paging support for nested virtualization (Intel hosts only) +VMM: Fixed rare guru meditations with certain guests on macOS 10.15 (Catalina) (bug #21237) +VMM: Fixed possible VM process crash on Windows hosts when Hyper-V is used with certain guests (bug #21174) +VMM: Fixed Windows XP guest hang or BSOD on AMD CPUs under certain circumstances (bug #21256) +GUI: Various bugfixes for the Guest Control file manager +GUI: Added more informative file operations in the Guest Control file manager +GUI: Added an option to the global settings (the display page) to resize user interface font +GUI: Fixed a regression in new vm wizard. Selected virtual disks are no longer deleted when the wizard is cancelled (bug #21244) +GUI: Added a new menu item to the devices menu to optionally upgrade the guest additions. +VirtioSCSI: Fixed recognition of the virtio SCSI controller by the EFI firmware (bug #21200) +VirtioSCSI: Fixed hang when shutting down the VM if the virtio SCSI controller is used (bug #21144) +virtio-net: Workaround a bug in the virtio-net driver included in FreeBSD version up to 12.3 which renders the device non functional (bug #21201) +Storage: Fixed I/O errors with the VirtioSCSI controller when the host I/O cache is enabled (bug #19717) +VBoxManage: Fixed regression when 'createmedium disk --variant RawDisk' command resulted in invalid .vmdk file (bug #21125) +Main: Restored input pointing device behavior in multi-monitor VM configuration (bug #21137) +Main: Fixed progress indication during automatic Linux Guest Additions installation +Guest Control: Fixed path handling issues (bug #21095) +3D: Fixed VM process crash on macOS with 3D enabled (bug #21232) +Linux Host and Guest: General improvements in startup scripts +Linux Guest Additions: Introduced initial support for RHEL 8.7 and 9.2 kernels (bug #21272, #21258) +Linux Guest Additions: Introduced initial support for SLES 15.4 kernels +Linux Guest Additions: Fixed kernel modules rebuild behavior on system shutdown + + +------------------------------------------------------------------- +Tue Nov 15 20:59:55 UTC 2022 - Larry Finger + +added file "set_noexec_stack.patch" to remove executable stack in yasm-compiled routines +added file "fix_v7_build.patch" +added file "fixes_for_leap15.4.patch" +added file "VBoxDDR0.r0" +deleted file "/vb-6.1.16-modal-dialog-parent.patch" + +VirtualBox 7.0.2 (released October 20 2022) + +This is a maintenance release. The following items were fixed and/or added: + +Known issue: VMs having more than one vCPU configured will not work properly on macOS Catalina due to an unknown memory corruption issue. Either lower the number of vCPUs to 1 or upgrade to BigSur or later where the issue does not occur +Main: Fixed issue when VBoxSVC could become unresponsive if Extension Pack was not installed (bug #21167) +Linux Guest Additions: Introduced initial support for kernel 6.1 +Linux Guest Additions: Fixed issue when VBoxClient seamless service caused a crash of some X11 applications (bug #21132) +GUI: Fixed a glitch in the log viewer which was causing wrong log file to be saved (bug #21156) +VirtualBox 7.0.0 (released October 10 2022) + +This is a major update. The following major new features were added: + +Virtual machines can be fully encrypted now, including the VM config logs and saved states (CLI only for now) +OCI: Cloud virtual machines can be added to Virtual Machine Manager and controlled as local VMs +OCI: Cloud networks can now be configured via Network Manager tool same way as it is done for Host-only and NAT networks +GUI: Added a new utility similar to "top" or "resource monitor" which lists peformance statistics (CPU usage, RAM usage, disk I/O rate, etc.) of running guests +GUI: Reworked the new vm wizard to integrate the unattended guest OS installation and to have a more streamlined work flow +GUI: Added a new help viewer widget which enables the user manual to be navigated and searched +GUI: Adding new notification center unifying most of running progresses and error reporting around the GUI +GUI: Improved theme support on all platforms. Linux and macOS use native engine while for Windows host it is separately implemented. +GUI: Large icon update. +Audio recording: Now using Vorbis as the default audio format for WebM containers. Opus is no longer being used. +Audio: Added "default" host driver type to make it possible to move VMs (appliances) between different platforms without the need of changing the audio driver explicitly. When the "default" driver is selected, the best audio backend option for a platform will be used. This is the default for newly created VMs. +Guest Control: Implemented initial support for automatic updating of Guest Additions for Linux guests +Guest Control: Implemented ability to wait for and/or reboot the guest when updating Guest Additions via VBoxManage +VBoxManage: Added Guest Control "waitrunlevel" sub-command to make it possible to wait for a guest to reach a certain run level +Linux Guest Additions: Reworked guest screen re-size functionality, added basic integration with some of guest Desktop Environments +Devices: Implemented new 3D support based on DirectX 11 (and DXVK on non Windows hosts) +Devices: Added virtual IOMMU devices (Intel and AMD variant) +Devices: Added virtual TPM 1.2 and 2.0 devices +Devices: The EHCI and XHCI USB controller devices are now part of the open source base package +EFI: Added support for Secure Boot +Debugging: Added experimental support for guest debugging through GDB and highly experimental support for guest debugging through KD/WinDbg +In addition, the following items were fixed and/or added: + +OCI: Cloud networking functionality is enhanced for local VMs, now local VMs could be connected to cloud networking +GUI: Improved behavior of the virtual machine list and various VM related tools in case multiple items are selected +GUI: On available platforms, added a new option to disable the host's screensaver +GUI: Reworked global preferences, machine settings and the wizards to improve stability and usability +GUI: Improving mouse handling in multi-monitor case on X11 platform +GUI: Medium enumeration engine was reworked to improve permormance +GUI: NAT Network stuff was moved from global preferences to global Network Manager tool +GUI: Extension Pack Manager was moved from global preferences to global tools +GUI: Improved overall accessibility +GUI: Migrating to recent Qt versions. + +------------------------------------------------------------------- +Tue Oct 18 15:42:42 UTC 2022 - Larry Rainey + +This is a maintenance release. The following items were fixed and/or added: + + GUI: Fixed missed machine-items state translation on language change + USB: Fixed possible crash when the device got detached while the controller is resetting the port + Main: Provide guest's absolute pointing mouse device with buttons state when mouse integration is ON + Linux Host and Guest Additions: Prevented build failure on 5.8+ 32-bit kernels + Linux Host and Guest Additions: Introduced additional fixes for kernel 6.0 + Linux Host and Guest Additions: Introduced additional fixes for Debian specific kernels + Solaris and Linux Guest Additions: Added better handling of negative screen sizes which some X11 desktop environments are reporting + Windows Guest Additions: Added fixes related to VBoxTray IPC + +- Fix boo#1204233 boo#1204331 boo#1202851 + +- Remove file fix_error_in_USB_header.patch - fixed upstream + +------------------------------------------------------------------- +Sat Oct 8 00:49:59 UTC 2022 - Larry Finger + +- Fix build breakage with kernel 6.0 due to variable-length array in middle of a struct. boo#1204151 + File "fix_error_in_USB_header.patch" is added. + +------------------------------------------------------------------- +Wed Oct 5 17:28:00 UTC 2022 - Larry Finger + +- Fix boo#1204019 VBoxClient: VbglR3InitUser failed: VERR_ACCESS_DENIED + +------------------------------------------------------------------- +Tue Sep 27 17:23:12 UTC 2022 - Larry Finger + +- Add a "Provides: virtualbox-guest-x11" to virtualbox-guest-tools. boo#1203735 + +------------------------------------------------------------------- +Fri Sep 16 15:03:48 UTC 2022 - Larry Rainey + +- Version bump to 6.1.38r86 released by Oracle September 02 2022 + This is a maintenance release. The following items were fixed and/or added: + + GUI: Improvements in Native Language Support area + Main: OVF Export: Added support for exporting VMs containing Virtio-SCSI controllers + Recording settings: Fixed a regression which could cause not starting the COM server (VBoxSVC) under certain circumstances (bug #21034) + Recording: More deterministic naming for recorded files (will now overwrite old .webm files if present) + Linux Host and Guest Additions installer: Improved check for systemd presence in the system (bug #19033) + Linux Guest Additions: Introduced initial support for kernel 6.0 + Linux Guest Additions: Additional fixes for kernel RHEL 9.1 (bug #21065) + Windows Guest Additions: Improvements in Drag and Drop area + + Fixes permission problem with /dev/vboxuser (boo#1203370) + Fixes boo#1203306 - 6.1.38 is available + Fixes missing firewall opening (boo#1203086) + Fixes boo#1201720 CVE items for CVE-2022-21571, CVE-2022-21554 + +------------------------------------------------------------------- +Fri Aug 12 00:18:58 UTC 2022 - Larry Finger + +- Modified the spec file to remove package virtualbox-guest-x11, which is no longer needed. + +------------------------------------------------------------------- +Wed Aug 10 12:00:31 UTC 2022 - Larry Finger + +- Fix screen resizing under Wayland (boo#1194126 and boo#1194126) + New files are "VirtualBox-5.2.10-xclient.patch", "vboxclient.desktop", + "vboxclient.service", and "vboxservice.service" + The fixes were derived from looking at many hundreds of Web pages, and + by looking at the code in Fedora35. Thanks to RedHat for the help. + +------------------------------------------------------------------- +Thu Jul 21 19:52:13 UTC 2022 - Larry Finger + +- Version bump to 6.1.36 released by Oracle July 19 2022 + This is a maintenance release. The following items were fixed and/or added: + + VMM: Fixed possible Linux guest kernel crash when configuring Speculative Store Bypass for a single vCPU VM + GUI: In the storage page of the virtual machine settings dialog, fixed a bug which disrupted mouse interaction with the native file selector on KDE + NAT: Prevent issue when host resolver incorrectly returned NXDOMAIN for unsupported queries (bug #20977) + Audio: General improvements in saved state area + Recording: Various fixes for settings handling + VGA: Performance improvements for screen updates when VBE banking is used + USB: Fixed rare crashes when detaching a USB device + ATA: Fixed NT4 guests taking a minute to eject CDs + vboximg-mount: Fixed broken write support (bug #20896) + SDK: Fixed Python bindings incorrectly trying to convert arbitrary byte data into unicode objects with Python 3, causing exceptions (bug #19740) + API: Fixed an issue when virtual USB mass storage devices or virtual USB DVD drives are added while the VM is not running are by default not marked as hot-pluggable + API: Initial support for Python 3.10 + API: Solaris OS types cleanup + Linux and Solaris hosts: Allow to mount shared folder if it is represented as a symlink on a host side (bug #17491) + Linux Host and Guest drivers: Introduced initial support for kernels 5.18, 5.19 and RHEL 9.1 (bugs #20914, #20941) + Linux Host and Guest drivers: Better support for kernels built with clang compiler (bugs #20425 and #20998) + Solaris Guest Additions: General improvements in installer area + Solaris Guest Additions: Fixed guest screen resize in VMSVGA graphics configuration + Linux and Solaris Guest Additions: Fixed multi-screen handling in VBoxVGA and VBoxSVGA graphics configuration + Linux and Solaris Guest Additions: Added support for setting primary screen via VBoxManage + Linux and Solaris Guest Additions: Fixed X11 resources leak when resizing guest screens + Linux and Solaris Guest Additions: Fixed file descriptor leak when starting a process using guest control (bug #20902) + Linux and Solaris Guest Additions: Fixed guest control executing processes as root + Linux Guest Additions: Improved guests booting time by preventing kernel modules from being rebuilt when it is not necessary (bug #20502) + Windows Guest Additions: Fixed VBoxTray crash on startup in NT4 guests on rare circumstances + + deleted file "fixes_for_kernel_5.18.patch" - fixed upstream. + Fixes CVE-2022-21571) VUL-0: CVE-2022-21571,CVE-2022-21554 - boo#1201720 + +------------------------------------------------------------------- +Tue Jun 21 20:17:02 UTC 2022 - Larry Finger + +- Package vboximg-mount correctly. boo#1200769. + +------------------------------------------------------------------- +Wed Jun 8 07:54:46 UTC 2022 - Dominique Leuenberger + +- Explicitly BuildRequire pkgconfig(glx) and pkgconfig(glu): This + happened to be pulled in by SDL-devel, but with the switch to + sdl12-compat, this no longer happens. Virtualbox explicitly + checks for them though, so it is our own responsibility to have + those deps in place. + +------------------------------------------------------------------- +Fri May 27 22:27:02 UTC 2022 - Larry Finger + +- Update fixes_for_kernel_5.18.patch to save and restore FPU status during interrupt. + The change fixes boo#1199803. + +------------------------------------------------------------------- +Sat May 21 20:17:00 UTC 2022 - Ben Greiner + +- Update support of building with Python + * Add vbox-python-py310.patch for support of Python 3.10 + https://github.com/archlinux/svntogit-community/commit/59d75cd22 + https://www.virtualbox.org/changeset/90537/vbox + https://www.virtualbox.org/changeset/86623/vbox + * Drop switch_to_python3.4+.patch and vbox-python-detection.diff; + replace by vbox-python-selection.patch for what is left of the + above after removing some obvious cruft. Could still be more in + there. + * Remove unnecessary reusage of old python2 macros, we use + python-rpm-macros already. + +------------------------------------------------------------------- +Tue May 17 07:14:47 UTC 2022 - Dominique Leuenberger + +- Replace SDL-devel BuildRequires with pkgconfig(sdl): allow to use + sdl12_compat as an alternative. + +------------------------------------------------------------------- +Wed May 11 10:33:15 UTC 2022 - Martin Liška + +- Filter out rpmlint error that is valid for qemu, but will + have its badness increased in the future. + +------------------------------------------------------------------- +Wed Apr 20 17:51:18 UTC 2022 - Larry Finger + +- Version bump to 6.1.34 (released March 22 2022) by Oracle + + This is a maintenance release. The following items were fixed and/or added: + + VMM: Fix instruction emulation for "cmpxchg16b" + GUI: Improved GUI behavior on macOS Big Sur and later when kernel extensions are not loaded + EHCI: Addressed an issue with handling short packets (bug #20726) + Storage: Fixed a potential hang during disk I/O when the host I/O cache is disabled (bug #20875) + NVMe: Fixed loading saved state when nothing is attached to it (bug #20791) + DevPcBios: Addressed an issue which resulted in rejecting the detected LCHS geometry when the head count was above 16 + virtio-scsi: Improvements + E1000: Improve descriptor handling + VBoxManage: Fixed handling of command line arguments with incomplete quotes (bug #20740) + VBoxManage: Improved 'natnetwork list' output + VBoxManage: NATNetwork: Provide an option (--ipv6-prefix) to set IPv6 prefix + VBoxManage: NATNetwork: Provide an option (--ipv6-default) to advertise default IPv6 route (bug #20714) + VBoxManage: Fix documentation of "usbdevsource add" (bug #20849) + Networking: General improvements in IPv4 and IPv6 area (bug #20714) + OVF Import: Allow users to specify a different storage controller and/or controller port for hard disks when importing a VM + Unattended install: Improvements + Shared Clipboard: Improved HTML clipboard handling for Windows host + Linux host and guest: Introduced initial support for kernel 5.17 + Solaris package: Fixes for API access from Python + Solaris IPS package: Suppress dependency on libpython2.7.so.* + Linux host and guest: Fixes for Linux kernel 5.14 + Linux Guest Additions: Fixed guest screen resize for older guests which are running libXrandr older than version 1.4 + Linux Guest Additions: Introduced initial support for RHEL 8.6 kernels (bug #20877) + Windows guest: Make driver install smarter + Solaris guest: Addressed an issue which prevented VBox GAs 6.1.30 or 6.1.32 from being removed in Solaris 10 guests (bug #20780) + EFI: Fixed booting from FreeBSD ISO images (bug #19910) + + Removed file "fixes_for_kernel_5.17.patch" - fixed upstream. + + Fixes CVE-2022-21465 (boo#1198676), CVE-2022-21471 (boo#1198677), CVE-2022-21491 (boo#1198680), CVE-2022-21487 (boo#1198678), and CVE-2022-21488 (boo#1198679). + + Fixed boo#1198703 - package virtualbox-websrv needs sysvinit-tools + +------------------------------------------------------------------- +Tue Mar 29 19:01:11 UTC 2022 - Larry Finger + +- Add fixes for kernel 5.17 - file "fixes_for_kernel_5.17.patch" added + Add fixes for kernel 5.18 - file "fixes_for_kernel_5.18.patch" added + +------------------------------------------------------------------- +Fri Mar 11 18:45:02 UTC 2022 - Larry Finger + +- Fix build error for guest modules in Leap 15.3 + +------------------------------------------------------------------- +Thu Jan 20 17:19:56 UTC 2022 - Larry Finger + +- Version bump to 6.1.32 (released January 18 2022 by Oracle) + + This is a maintenance release. The following items were fixed and/or added: + + Fix for CVE-2022-21394 (boo#1194924) + + VMM: Changed the guest RAM management when using Hyper-V to be more compatible with HVCI (bug #20627 and #20694) + VMM: Workaround for OS/2 guest unstability on newer AMD CPUs due to a missing TLB flush in OS/2 (bug #20625) + GUI: Fixed keyboard focus loss in rare circumstances when using the mini toolbar in fullscreen mode + Audio: Fixed accidental creation of empty debug log file when the OSS audio backend was configured + E1000: Fix link status reporting for certain Linux kernels (some Oracle Linux ones, probably more) + Unattended installation: Fixed regression introduced in 6.1.28, causing partitioning failure for Windows XP to 10 (bug #20769) + Linux host: Fix access to some USB devices, device class was not correctly handled (bug #20721) + Guest: Fixed wrong mouse position if guest is in text mode + Guest Control: Fixed folders copying from host to guest and from guest to host + Guest Control: Fixes for UNICODE handling + Shared Clipboard: Improved HTML content exchange between X11 and Windows guests and hosts + OS/2 Additions: Fixed some issues with extended attributes in the shared folders (bug #19453) + + File "vboxclient-clipboard.service" was removed while the shared clipboard problem with Wayland is further investigated. + +------------------------------------------------------------------- +Tue Jan 4 16:53:50 UTC 2022 - Larry Finger + +- Add libnotify-tools to build requirements for virtualbox-guest-x11 (boo#1194128) + Add service to start shared clipboard in Wayland sessions (boo#1194126). File "vboxclient-clipboard.service" + is added. Thanks to Andrei Borzenkov for providing this file. + +------------------------------------------------------------------- +Thu Dec 30 17:53:07 UTC 2021 - Larry Finger + +- Tumbleweed no longer assigns the group "users" to a user, which breaks TW guests under VirtualBox. + This is fixed by adding 'TAG+="uaccess"' to the udev rule that creates /dev/vboxuser. Thanks to Andrei Borzenkov + for help with this problem. This fixes boo#1194065. + +------------------------------------------------------------------- +Tue Dec 14 06:42:13 UTC 2021 - Larry Finger + +- Added BuildRequires python-rpm-macros to fix build errors with SLE_15_SP2 (Thanks Ben Greiner) + ran spec-cleaner on the spec file. + +------------------------------------------------------------------- +Mon Nov 22 20:13:41 UTC 2021 - Larry Finger + +- Version bump to 6.1.30 (released November 22 2021 by Oracle) + + This is a maintenance release. The following items were fixed and/or added: + + VMM: Fixed 6.1.28 regression preventing VMs starting when using Hyper-V mode on Windows 10 + GUI: Fixed inability to complete First Run wizard after browsing for an external image + GUI: Fixed crash on macOS Big Sur while browsing for an external image from First Run wizard + GUI: Fixed bug on Windows with inability to save taken screenshot under a folder with native name (bug #15561) + GUI: Fixed bug on X11 with drag and drop initiated on single mouse click in VM storage settings + GUI: Fixed settings check on machines not supporting hardware virtualization + GUI: Non critical media related errors should not cause modal pop-up error messages + Host-only networking: Fixed crash parsing /etc/vbox/networks.conf + DVD: Fixed drive lock handling across VM reset + VBoxHeadless: Fixed crash when running on macOS Monterey (bug #20636) + VBoxManage: Fixed incorrect help text for "hostonlyif" + vboximg-mount: Error message if no image is specified + Linux host: For all distribution specific packages (deb/rpm format) fix the packaging so that the feature for unattended installation of guest OSes works + Linux host and guest: Introduced initial support for kernel 5.16 + Shared Clipboard: Improved communication between guest and host when guest has no clipboard data to report + Linux Guest Additions: Allow running only one VBoxDRMClient instance (bug #19373) + + File "fixes_for_5.14.patch" deleted - fixed upstream. + File "fixes-for-5.15.patch" deleted - fixed upstream. + File "fixes-for-5.16.patch" deleted - fixed upstream. + +------------------------------------------------------------------- +Wed Nov 17 19:26:11 UTC 2021 - Larry Finger + +- Fix builds for Kernel 5.16. File "fixes-for-5.16.patch" is added. + Reorder some of the patch numbers. + +------------------------------------------------------------------- +Wed Oct 20 05:48:42 UTC 2021 - Larry Finger + +- Version bump to 6.1.28 (released October 19 2021 by Oracle) + + This is a maintenance release. The following items were fixed and/or added: + + VMM: Fixed guru meditation while booting nested-guests accessing debug registers under certain conditions + UI: Bug fixes for touchpad-based scrolling + VMSVGA: Fixed VM black screen issue on first resize after restoring from saved state (bug #20067) + VMSVGA: Fixed display corruption on Linux Mint (bug #20513) + Storage: Fixed a possible write error under certain circumstances when using VHD images (bug #20512) + Network: Multiple updates in virtio-net device support + Network: Disconnecting cable in saved VM state now is handled properly by virtio-net + Network: More administrative control over network ranges, see user manual + NAT: Fixed not rejecting TFTP requests with absolute pathnames (bug #20589) + Audio: Fixed VM session aborting after PC hibernation (bug #20516) + Audio: Fixed setting the line-in volume of the HDA emulation on modern Linux guests + Audio: Fixed resuming playback of the AC'97 emulation while a snapshot has been taken + API: Added bindings support for Python 3.9 (bug #20252) + API: Fixed rare hang of VM when changing settings at runtime + Linux host: Improved kernel modules installation detection which prevents unnecessary modules rebuild + Host Services: Shared Clipboard: Prevent guest clipboard reset when clipboard sharing is disabled (bug #20487) + Host Services: Shared Clipboard over VRDP: Fixed to continue working when guest service reconnects to host (bug #20366) + Host Services: Shared Clipboard over VRDP: Fixed preventing remote RDP client to hang when guest has no clipboard data to report + Linux Host and Guest: Introduced initial support for kernels 5.14 and 5.15 + Linux Host and Guest: Introduced initial support for RHEL 8.5 kernel + Windows Guest: Introduced Windows 11 guest support, including unattended installation + + Deleted file "fix_ordering_of_qt_includes.patch" - fixed upstream. + + Fixes CVE-2021-35538, CVE-2021-35545, CVE-2021-35540, CVE-2021-35542, and CVE-2021-2475 (boo#1191869) + +------------------------------------------------------------------- +Tue Oct 12 13:03:59 UTC 2021 - Ludwig Nussel + +- Use kernel_module_directory macro for kernel modules (boo#1191526) + +------------------------------------------------------------------- +Tue Oct 5 15:46:41 UTC 2021 - Hans-Peter Jansen + +- Fix ldconfig invocation in scriptlets + +------------------------------------------------------------------- +Sat Oct 2 22:59:48 UTC 2021 - Hans-Peter Jansen + +- Remove vbox-fix-usb-rules.sh from qt package to avoid file conflict + +------------------------------------------------------------------- +Sat Oct 2 16:55:07 UTC 2021 - Larry Finger + +- Fix build failures in Leap 15.1 and Leap 15.2 due to kmk_sed issues. + +------------------------------------------------------------------- +Wed Sep 29 19:24:28 UTC 2021 - Larry Finger + +- Finish UsrMerge for VirtualBox components (boo#1191104). + +------------------------------------------------------------------- +Wed Sep 8 04:54:25 UTC 2021 - Larry Finger + +- Add file "fixes-for-5.15.patch" to fix builds on kernel 5.15. + +------------------------------------------------------------------- +Mon Aug 23 16:12:57 UTC 2021 - Larry Finger + +- Patch build to work with the Leap 15.4 kernel. + File "fixes_for_leap15.4.patch" as added. + +------------------------------------------------------------------- +Thu Jul 29 18:34:12 UTC 2021 - Larry Finger + +- Version bump to 6.1.26 (released July 28 2021 by Oracle) + + This is a maintenance release. The following items were fixed and/or added: + + VMSVGA: fixed VM screen artifacts after restoring from saved state (bug #20067) + Storage: Fixed audio endianness for certain CUE sheet CD/DVD images. + VBoxHeadless: Running VM will save its state on host shutdown + VBoxManage: Fix OS detection for Ubuntu 20.10 ISO with unattended install + Linux Additions: Fixed mouse pointer offsetting issue for VMSVGA graphics adapter in multi-monitor VM setup (6.1.24 regression) + + File "fix_ordering_of_qt_includes.patch" added for Leap and SLR builds. +------------------------------------------------------------------- +Tue Jul 20 23:38:41 UTC 2021 - Larry Finger + +- Version bump to 6.1.24 (released July 20 2021 by Oracle) + + This is a maintenance release. The following items were fixed and/or added: + + Storage: Fixed starting a VM if a device is attached to a VirtIO SCSI port higher than 30 (bug #20213) + Storage: Improvement to DVD medium change signaling + Serial: Fixed a the guest missing interrupts under certain circumstances (6.0 regression, bug #18668) + Audio: Multiple fixes and enhancements + Network: Fixed connectivity issue with virtio-net after resuming VM with disconnected link + Network: Fixed UDP GSO fragmentation issue with missing 8 bytes of payload at the end of the first fragment + API: Fixed VM configuration for recent Windows Server versions + Extension Pack: Fixed issues with USB webcam pass-through on Linux + Host and guest driver: Fix small memory leak (bug #20280) + Linux host and guest: Support kernel version 5.13 (bug #20456) + Linux host and guest: Introduce support for SUSE SLES/SLED 15 SP3 kernels (bug #20396) + Linux host: Installer will not attempt to build kernel modules if system already has them installed and modules versions match current version + Guest Additions: Fixed crash on using shared clipboard (bug #19165) + Linux Guest Additions: Introduce support for Ubuntu specific kernels (bug #20325) + Solaris guest: Increased default memory and disk sizes + EFI: Support network booting with the E1000 network controller emulation + EFI: Stability improvements (bug #20090) + + Delete file "fix_random_stack_failure.patch" - fixed upstream. + +------------------------------------------------------------------- +Fri Jul 16 18:52:48 UTC 2021 - Larry Finger + +- Add vboximg-mount to packaging. boo#1188045. + Fix an error in file "fixes_for_5.14.patch". + +------------------------------------------------------------------- +Thu Jul 15 00:31:08 UTC 2021 - Larry Finger + +- Add file "fix_random_stack_failure.patch" to fix CONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT + problem with kernel 5.13 as shown in boo#1188105. + +------------------------------------------------------------------- +Wed Jul 14 04:03:16 UTC 2021 - Larry Finger + +- Add file "fixes_for_5.14.patch" to fix builds on kernel 5.14. + +------------------------------------------------------------------- +Mon May 17 15:59:52 UTC 2021 - Larry Finger + +- Disable the build of kmp vboxvideo, at least temporarily. + +------------------------------------------------------------------- +Fri May 14 10:35:52 UTC 2021 - Dan Čermák + +- Correct WantedBy entry in vboxadd-service + +------------------------------------------------------------------- +Wed May 12 09:38:28 UTC 2021 - Dan Čermák + +- Require which for /usr/lib/virtualbox/vboxadd-service + +------------------------------------------------------------------- +Mon May 10 21:16:28 UTC 2021 - Dirk Müller + +- fix license packaging, small cruft cleanup (avoid owning directories provided by filesystem rpm) + +------------------------------------------------------------------- +Fri Apr 30 18:38:18 UTC 2021 - Larry Finger + +- Version bump to 6.1.22 (released April 29 2021 by Oracle) + + This is a maintenance release. The following items were fixed and/or added: + + VMM: Improved performance of 64-bit Windows and Solaris guests when Hyper-V is used on recent Windows 10 hosts + VMM: Fixed frequent crashes of 64-bit Windows Vista and Server 2003 guests when Hyper-V is used + GUI: Fixed regression where user was not able to save unset default shortcuts (bug #20305) + Storage: Fixed regression in LsiLogic SAS controller emulation caused VM crash (bug #20323) + Linux Guest Additions: Fixed issue when it was not possible to run executables from mounted share (bug #20320) + + Fixes for CVE-2021-2145 CVE-2021-2250 CVE-2021-2264 CVE-2021-2266 CVE-2021-2279 CVE-2021-2280 + CVE-2021-2281 CVE-2021-2282 CVE-2021-2283 CVE-2021-2284 CVE-2021-2285 CVE-2021-2286 + CVE-2021-2287 CVE-2021-2291 CVE-2021-2296 CVE-2021-2297 CVE-2021-2306 CVE-2021-2309 + CVE-2021-2310 CVE-2021-2312 + +------------------------------------------------------------------- +Sat Apr 24 15:02:12 UTC 2021 - Larry Finger + +- Version bump to (released April 20 2021 by Oracle) + + This is a maintenance release. The following items were fixed and/or added: + + VMM: Fixed extremely poor VM performance depending on the timing of various actions (regression in 6.1.0) + VMM: Fixed guest OS hanging under certain circumstances when Hyper-V is present (bug #20141) + VMM: Fixed Guru Meditation error when using a nested hypervisor under certain circumstances (bug #20175) + VMM: Fixed a SMAP related host panic affecting Solaris 11.4 systems with Intel Haswell CPUs or later (bug #16068) + OCI: Add cloud-init support for export to OCI and for OCI instance creation + GUI: Fixed "Delete all files" leaving behind Logs/VBoxUI.log (bug #20235) + Audio: Multiple fixes and enhancements + Audio: Fixed detection of duplex audio devices on macOS (5.0 regression; bug #20171) + Network: Fixed link status reporting for "not attached" adapters + Network: Fixed connectivity issues with e1000 in OS/2 guests (6.1.18 regression; bug #20148) + Network: Fixed VxWorks e1000 driver compatibility issue (bug #20182) + Network: Fixed GUI checks for port forwarding rules rejecting IPv6 with "Nat Network" (bug #14847) + DHCP: Don't crash in the presence of fixed address assignments (bug #20128) + Serial: Fixed possible VM hang when using the a serial port in disconnected mode (bug #19854) + Webcam: Fixed interoperability with v4l2loopback and fixed a crash under certain circumstances (bug #20176) + NVMe: Fixed sporadic Windows VM hang or reboot on high CPU load + VBoxManage: Allow changing network adapter attachment of a saved VM with "modifyvm" + vboximg-mount: Fix for argument processing to honor the '--root' option (6.0 regression; bug #20073) + Linux host and guest: Support kernel versions 5.11 (bug #20198) and 5.12 + Linux host: Maximum MTU size increased to 16110 for host-only adapters on Linux kernels 4.10+ (bug #19122) + Linux Guest Additions: Fix vboxvideo module compilation for kernel version 5.10.x + Linux Guest Additions: Fixed kernel module build for RHEL 8.4 beta and CentOS Stream (bug #20289) + + File "fixes-for-5.11.patch" is deleted. The issue is fixed upstream. + File "vboxautostart.sh" is replaced by "vboxautostart-service.sh" + File "vboxautostart.service" is replaced by "vboxautostart-service.service" + Fixes boo#1183329 "virtualbox 6.1.18 crashes when it runs nested VM" + Fixes boo#1183125 "Leap 15.3 installation in Virtualbox without VBox integration" + Fixes CVE-2021-2264 and boo#1184542. The directory for the .start files for + autostarting VMs is moved from /etc/vbox to /etc/vbox/autostart.d. In addition, the autostart + service is hardened (by Oracle). + File "virtualbox-kmp-files-leap" is deleted. + +------------------------------------------------------------------- +Sat Apr 24 13:53:30 UTC 2021 - Callum Farmer + +- Use distconfdir for xinitrc.d files on TW + +------------------------------------------------------------------- +Wed Apr 7 16:21:58 UTC 2021 - Larry Finger + +- Improve autostart security boo#1182918. + +------------------------------------------------------------------- +Thu Apr 1 09:43:50 UTC 2021 - Richard Brown + +- Own %{_sysconfdir}/X11/xinit/xinitrc.d as default packages (eg + systemd) no longer do so, breaking package build. + +------------------------------------------------------------------- +Mon Mar 1 14:01:26 UTC 2021 - Matthias Gerstner + +- update-extpack.sh: explicitly use https:// protocol for authenticity. The + http:// URL is currently redirected to https:// but don't rely on this. + +------------------------------------------------------------------- +Sat Feb 20 21:42:48 UTC 2021 - Larry Finger + +- Add code to generate guest modules for Leap 15.2 and Leap 15.3. The kernel versions + do not allow window resizing. Files "virtualbox-kmp-files-leap" and + "vboxguestconfig.sh" are added + +------------------------------------------------------------------- +Thu Feb 4 18:47:09 UTC 2021 - Larry Finger + +- Fix build for Leap 15.3. File "fixes_for_leap15.3.patch" is added. + +------------------------------------------------------------------- +Sat Jan 23 21:28:37 UTC 2021 - Larry Finger +- Fix additional problem with modal dialog parent. + Fixes CVE-2021-2074, boo#1181197 and CVE-2021-2129, boo#1181198. + +------------------------------------------------------------------- +Wed Jan 20 19:47:15 UTC 2021 - Larry Finger + +- Version update to 6.1.18 (released January 19 2021) + + This is a maintenance release. The following items were fixed and/or added: + + Nested VM: Fixed hangs when executing SMP nested-guests under certain conditions on Intel hosts (bug #19315, #19561) + OCI integration: Cloud Instance parameters parsing is improved on import (bug #19156) + Network: UDP checksum offloading in e1000 no longer produces zero checksums (bug #19930) + Network: Fixed Host-Only Ethernet Adapter DHCP, guest os can not get IP on host resume (bug #19620) + NAT: Fixed mss parameter handing (bug #15256) + macOS host: Multiple optimizations for BigSur + Audio: Fixed issues with audio playback after host goes to sleep (bug #18594) + Documentation: Some content touch-up and table formatting fixes + Linux host and guest: Support kernel version 5.10 (bug #20055) + Solaris host: Fix regression breaking VGA text mode since version 6.1.0 + Guest Additions: Fixed a build failure affecting CentOS 8.2-2004 and later (bug #20091) + Guest Additions: Fixed a build failure affecting Linux kernels 3.2.0 through 3.2.50 (bug #20006) + Guest Additions: Fixed a VM segfault on copy with shared clipboard with X11 (bug #19226) + Shared Folder: Fixed error with remounting on Linux guests + + File "debug_mountsf.patch" is deleted - fixed upstream. + File "linux-5.10-address-space-fixes.patch" is deleted - fixed upstream. + File "linux-5.10-framebuffer-fixes.patch" is deleted - fixed upstream. + File "linux-5.10-r0drv-memobj-fix-r0.patch" is deleted - fixed upstream. + +------------------------------------------------------------------- +Thu Jan 14 19:26:59 UTC 2021 - Larry Finger + +- Under some circumstances, shared folders are mounted as root. File + "debug_mountsf.patch" is added to allow recovery on affected systems. + Automounted volumes are not fixed by this patch; however, manual mounting + with the uid/gid options are correct. + +------------------------------------------------------------------- +Tue Dec 29 19:39:35 UTC 2020 - Larry Finger + +- Fix build for kernel 5.11 - File "fixes-for-5.11.patch" is added. + +------------------------------------------------------------------- +Sun Dec 20 19:31:27 UTC 2020 - Larry Finger + +- Disable build of guest modules. These are included in recent kernels + and are not needed for Tumbleweed, Leap 15.1 and Leap 15.3. + + File "vboxguestconfig.sh" is deleted. + +------------------------------------------------------------------- +Sat Dec 12 19:10:34 UTC 2020 - Larry Finger + +- Fix additional mouse control dialog issues. + +------------------------------------------------------------------- +Thu Dec 10 22:57:44 UTC 2020 - Larry Finger + +- Forward Hans-Peter Jansen's fixes. + +------------------------------------------------------------------- +Wed Dec 9 15:35:34 UTC 2020 - Hans-Peter Jansen + +- Add vb-6.1.16-modal-dialog-parent.patch in order to solve the + file selector dialog mouse control issues + +------------------------------------------------------------------- +Tue Dec 8 13:41:09 UTC 2020 - Dominique Leuenberger + +- Fix build with RPM 4.16: Do not install files to buildroot during + the build phase: +- Do not forcibly require systemd: systemd_ordering is sufficient. + +------------------------------------------------------------------- +Mon Dec 7 16:00:15 UTC 2020 - Hans-Peter Jansen + +- Add linux-5.10-r0drv-memobj-fix-r0.patch to fix build with kernel 5.10 +- Add linux-5.10-address-space-fixes.patch to fix sharedfolders with 5.10 +- Add linux-5.10-framebuffer-fixes.patch to fix framebuffer with 5.10 + +------------------------------------------------------------------- +Tue Oct 20 18:14:18 UTC 2020 - Larry Finger + +- Version bump to 6.1.16 (released October 16 2020 by Oracle) + + This is a maintenance release. The following items were fixed and/or added: + File "fixes_for_5.9.patch" deleted - fixed upstream. + + VMM: Fixed random memory corruption and XMM register state corruption inside the VM when Hyper-V is used (bug #19695) + VMM: Fixed VMSVGA 3D support with Linux guests when Hyper-V is used (bug #19884) + GUI: Fixed some Qt related crashes on macOS Big Sur + Oracle Cloud Infrastructure integration: Fixed network integration not working behind some proxies + USB: Mask out remote wake capability to avoid unresponsive devices + Audio: Fixed issues with audio playback after host goes to sleep (bug #18594) + Serial: Keep transferring data if the status line monitoring fails + Serial: Fixed blocking a re-connect when TCP mode is used (bug #19878) + HPET: Fixed inability of guests to use the last timer + VBoxManage: Fixed detection of system locale when running 'VBoxManage unattended install' without --locale (bug #19856) + Linux host and guest: Support kernel version 5.9 (bug #19845) + Linux guest: Workaround to improve resizing of 32-bit VMs with VMSVGA graphics controller, and do not try to use RandR version 1.3 due to bugs causing the X server to hang + Linux guest: Fixed VBoxService crashing in the CPU hot-plug service under certain circumstances during a CPU hot-unplug event (bugs #19902 and #19903) + Linux guest: Fixed Guest additions build for RHEL 8.3 beta (bug #19863) + +------------------------------------------------------------------- +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 18 16:31:26 UTC 2020 - Hans-Peter Jansen + +- keep "Provides: multiversion(kernel)" in kmp package + +------------------------------------------------------------------- +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. + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- +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. + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- +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". + +------------------------------------------------------------------- +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. + +------------------------------------------------------------------- +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. + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- +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. + +------------------------------------------------------------------- +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) + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- +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. + +------------------------------------------------------------------- +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. + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- +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. + +------------------------------------------------------------------- +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. + +------------------------------------------------------------------- +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 + search functionality has been improved. Global Tools element can now be pinned in place, to avoid scrolling it with rest of machine list + - GUI: Virtual machine details pane is now extended with embedded editors for selected VM attributes, allowing user to edit them + on-the-fly byi clicking corresponding hyper-links without opening VM settings dialog + - GUI: Details pane provides more complete information + - GUI: Internal medium enumeration routines were optimized to reduce the load and optimize the performance in cases when + user have lots of media registered. Also, we again allowed to add existing media (and create new) via Virtual Media Manager + - GUI: More consistent medium selection (both showing known images and allowing to select using the file picker) + - GUI: VM storage settings page was adjusted a bit in usability regard. User is now allowed to change controller bus type + and can move attachments between the controllers by using drag and drop + - GUI: Storage and Network settings pages bug-fixes and usability optimization + - GUI: Added a new soft (virtual) keyboard enabling arbitrary keyboard input to guests, including multimedia keys + - GUI: Fixed crash in cloud related wizards when accessibility functionality was enabled + - GUI: Show VM CPU load as part of status bar CPU indicator + - GUI: Improved and extended the Session Information dialog + - GUI: Fixed/improved mouse pointer scaling + - GUI: Some issues related to mouse integration cursor scaling were addressed (bug #14366), more to go + - GUI: Fix and unify geometry save/restore in various dialogs + - GUI: Added the missing restriction options for disabling new functionality such as the VISO creator + - GUI: Popup messages mouse click fix + - Graphics: Remove 3D support for VBoxVGA (old one deprecated with 6.0) + - Graphics: Additional texture format support on Windows host + - Graphics: Improved fix for flickering on Windows host + - Input: Added support for horizontal scrolling in the PS/2 mouse device using the IntelliMouse Explorer protocol. + Note that this support is automatically used by Linux guests but not by Windows guests + - vboximg-mount: Experimental support for direct read-only access to NTFS, FAT and ext2/3/4 filesystems inside a disk + image without the need for support on the host + - vboximg-mount: Now also available on Linux host + - Storage: Experimental support for virtio-scsi, for both hard disks and optical drives (including boot support in BIOS) + - Storage: For optical drive emulation fix empty host drive crash + - USB: Improvements for EHCI controller implementation + - USB: Filter can now specify port path, uniquely identifying a port in a system + - NAT: Fix TFTP OACK response, send only if request has options + - NAT Network: Use non-blocking sockets on Linux for accepted incoming connections (port forwarding) + - PCnet-ISA: Added new network adapter type, currently CLI only + - Audio: Allow changing the host audio backend while the VM is in saved state + - ACPI: Report NVMe controller + - VGA: Improve hardware and BIOS compatibility + - VBoxSVGA/VMSVGA: Support YUV2 and related texture formats with hosts using OpenGL (macOS and Linux), + which accelerates video playback when 3D is enabled by delegating the color space conversion to the host GPU + - VBoxSVGA/VMSVGA: Several drawing fixes for the 3D case + - VMSVGA 3D: Fixed OpenGL compressed textures + - VBoxManage: More cloud functionality coverage, e.g. starting a cloud instance + - VBoxManage: As part of the guest control feature support moving multiple source files/directories to a target directory + - Guest Control/VBoxManage: Added support for specifying multiple sources when renaming guest files + - VBoxManage: Show "unrestricted guest" and "nested HW virtualization" CPU features when listing the host information + - API: Reduce the amount of leftovers from Move VM function + - Shared Clipboard: Implemented experimental support for file transfers for Linux hosts on Windows guests (disabled by default) + - SMBIOS: Store system UUID in little endian format which is the default for new VMs, while existing VMs stick to the old VirtualBox + behavior of storing them in big endian format for backwards compatibility to avoid breaking the activation status of Windows VMs + - VBoxSDL frontend: Fixed running on Windows hosts + - Linux host: Improve vboxweb systemd service dependency information + - Linux host: Drop PCI passthrough, the current code is too incomplete (cannot handle PCIe devices at all), i.e. not useful enough + - Linux host and guest: Support Linux 5.4 (bug #18945) + - Linux host and guest: Force disabling of kernel module signing during build (user can do it afterwards) + - Windows Guest Additions: Many fixes for drawing problems in the driver for VBoxSVGA + - Windows Guest Additions: Fixes for legacy VBoxVGA adapter, restore previously working cases + - Windows Guest Additions: Restore VHWA functionality for VBoxSVGA + - Windows guest: DXVA implementation for WDDM driver + - Documentation: Updated supported host operating systems, added few new manual pages (more to come later) + - EFI: Switch to newer firmware code base and add NVRAM support, should improve compatibility with OSes significantly + - EFI: Added support for booting from APFS + - EFI: Added support for non-standard SATA and NVMe boot device paths created by OS X + +------------------------------------------------------------------- +Tue Dec 24 01:49:21 UTC 2019 - Larry Finger + + - Turn build of vboxvideo back on just in case VB is used with an older kernel, + and make the necessary fixes for kernel v5.5. + +------------------------------------------------------------------- +Wed Dec 18 19:47:16 UTC 2019 - Larry Finger + +- Fix build for kernel 5.5. Added file "fixes_for_5.5.patch". + +------------------------------------------------------------------- +Wed Dec 4 16:33:09 UTC 2019 - Larry Finger + +- Update file "switch_to_python3.4+.patch" to handle Python 3.8. (bsc#1158288) + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- +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. + +------------------------------------------------------------------- +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. + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- +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) + + +------------------------------------------------------------------- +Mon Jul 29 06:40:41 UTC 2019 - Larry Finger + +- 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. + +------------------------------------------------------------------- +Sat Jul 27 01:53:12 UTC 2019 - Larry Finger + +- 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. + +------------------------------------------------------------------- +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. + +------------------------------------------------------------------- +Mon Jun 10 18:09:09 UTC 2019 - Larry Finger + +- Fix build for SLE15 SP1 - add file "fixes_for_SLE15.patch" + +------------------------------------------------------------------- +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. + +------------------------------------------------------------------- +Fri Apr 26 10:28:40 UTC 2019 - mvetter@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). + +------------------------------------------------------------------- +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 module back on. As TW + does not need the module, it is only built for Leap 15.1. + +------------------------------------------------------------------- +Sun Apr 14 16:32:29 UTC 2019 - Larry Finger + +- An instance of /usr/lib/virtualbox/VirtualBoxVM being installed without SUID privilege + has been reported as boo#1132379. Unfortunately, the error message thrown by VB in this + case is rather opaque. To help the user recover, the wrapper /usr/bin/VirtualBox has + been modified to check the permissions and pop up a warning describing the problem and + showing the command needed to fix the problem. File "vbox-suid-warning.diff" is added. + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- +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". + +------------------------------------------------------------------- +Wed Feb 20 16:31:23 UTC 2019 - Larry Finger + +- Remove requires on libvncserver for virtualbox-vnc. + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- +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 powerful application and virtual machine set-up +User interface: a new file manager enabling user to control the guest file system and copy files between host and guest. +Graphics: major update of 3D graphics support for Windows guests, and VMSVGA 3D graphics device emulation on Linux and Solaris guests +Added support for surround speaker setups (as used by Windows 10 Build 1809) +Added utility vboximg-mount on Apple hosts to access the content of guest disks on the host +Added support for using Hyper-V as the fallback execution core on Windows host, to avoid inability to run VMs at the price of reduced performance + +In addition, the following items were fixed and/or added: + +Execution core: fixed single-stepping in certain circumstances (bug #17316) +User interface: video and audio recording can now be separately enabled +Audio/Video recording fixes and improvements +Audio: better support for attaching and detaching remote desktop connections +Serial port emulation fixes +Serial ports: allow changing the serial port attachment while a machine is running (bug #6115) +Networking: Added a workaround for older guests which do not enable bus mastering for the virtio PCI device +Networking: fixed wrong RCODE from DNS AAAA query with --natdnshostresolver1 (bug #18171) +iSCSI: In cases where there is no ambiguity, the LUN of an iSCSI target is automatically determined, for targets with non-zero LUNs +Transparently resize disk images when merging if possible +VBoxManage: support for DHCP options +Fixed VNC/RDP (bug 18153) +Guest Control: various new interfaces and features (see SDK documentation) +Linux hosts: support Linux 4.20 (thank you Larry Finger) +Shared folders: performance improvements +Guest Additions: improved shared folder auto-mounting +Windows Guest Additions: fix incorrect tablet co-ordinate handling with recent Windows 10 builds +Linux Additions: fix for building vboxvideo on EL 7.6 standard kernel, contributed by Robert Conde (bug #18093) +Linux guests: support Linux 4.20 (thank you Larry Finger) +Linux guests: support VMSVGA in the Linux and X11 Additions +MacOS Guest Additions: initial support +OS/2 Guest Additions: initial shared folder support +BIOS fixes +ACPI: Up to four custom ACPI tables can now be configured for a VM + +------------------------------------------------------------------- +Tue Jan 16 00:59:52 UTC 2019 - Larry Finger + +- Version bump to 5.2.24 (released January 15 2019 by Oracle) + +This is a maintenance release. The following items were fixed and/or added: + +Linux Additions: fix for building vboxvideo on EL 7.6 standard kernel, contributed by Robert Conde (bug #18093) +USB: fixed a problem causing failures attaching SuperSpeed devices which report USB version 3.1 (rather than 3.0) on Windows hosts +Audio: added support for surround speaker setups used by Windows 10 Build 1809 +Linux hosts: fixed conflict between Debian and Oracle build desktop files (bug #18264) +Linux guests: fixed building drivers on SLES 12.4 (bug #18213) +Linux guests: fixed building shared folder driver with older kernels (bug #18238) + +Patch "fixes_for_5.0.patch" is added to handle API changes for kernel 5.0. + +Contains fixes for: CVE-2019-2500, CVE-2019-2524, CVE-2019-2552, CVE-2018-3309, CVE-2019-2520 + CVE-2019-2521, CVE-2019-2522, CVE-2019-2523, CVE-2019-2526, CVE-2019-2548 + CVE-2018-11763, CVE-2019-2511, CVE-2019-2508, CVE-2019-2509, CVE-2019-2527 + CVE-2019-2450, CVE-2019-2451, CVE-2019-2555, CVE-2019-2554, CVE-2019-2556 + CVE-2018-11784, CVE-2018-0734, CVE-2019-2525, CVE-2019-2446, CVE-2019-2448 + CVE-2019-2501, CVE-2019-2504, CVE-2019-2505, CVE-2019-2506, and CVE-2019-2553a bsc#1122212. + +------------------------------------------------------------------- +Wed Jan 15 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. + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- +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. + +------------------------------------------------------------------- +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. + +------------------------------------------------------------------- +Thu Aug 30 16:54:26 UTC 2018 - Larry Finger + +- Fix 2 API changes for kernel 4.19-rc1. File "fixes_for_4.19.patch" is added. + +------------------------------------------------------------------- +Wed Aug 15 16:06:01 UTC 2018 - Larry.Finger@gmail.com + +-VirtualBox 5.2.18 (released August 14 2018) + +This is a maintenance release. The following items were fixed and/or added: + +VMM: See user manual. +VMM: fix loading with recent binutils and self-built versions of VirtualBox (bug #17851) +NAT: fix --nataliasmode sameports which is a valid setting (bug #13000) +VRDP: fixed VM process termination on RDP client disconnect if 3D is enabled for the virtual machine + +------------------------------------------------------------------- +Sat Aug 4 14:48:02 UTC 2018 - Larry.Finger@gmail.com + +- 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. + +------------------------------------------------------------------- +Tue Jul 3 01:17:37 UTC 2018 - Larry.Finger@gmail.com + +- Version update to 5.2.14 (released July 02 2018 by Oracle) + +This is a maintenance release. The following items were fixed and/or added: + +User interface: fixed a segmentation fault when accessing the interface through VNC (bug #16348) +User interface: X11: handle repeating keys on the host system correctly (bug #1296, previously fixed, 5.1.0 regression) +VMM: Fixed emulation of the undocumented SALC instruction +VMM: Fixed emulation of so-called "huge unreal mode" (bug #17744); this in practice only affected Intel CPUs with VT-x without unrestricted execution. +Keyboard: The PS/2 keyboard emulation has been corrected to not queue partial scan code sequences (bug #17709); this problem was likely only visible on Linux hosts due to losing the fix for bug #1296 +Storage: Fixed CUE file support to correct REM keyword parsing (bug #17783) +USB: Fixed a problem where the emulated xHCI device under very rare circumstances failed to report an empty isochronous transfer ring error, causing the transfers on the corresponding endpoint to stop. +Audio: fixed Linux kernel log flooding (bug #17759) +Apple hosts: make kernel driver load with Mac OS Mojave pre-release (bug #17805). +Linux guests: made vboxvideo driver build with kernel 4.17 (bug #17801) and with pre-3.14 and EL 7.1 kernels (bug #17771) + +Removed "fixes_for_4.17.patch" - fixes merged upstream. + +------------------------------------------------------------------- +Tue Jun 26 15:11:29 UTC 2018 - Larry.Finger@gmail.com + +- Fix typo in host KMP line. + +------------------------------------------------------------------- +Tue Jun 19 17:46:44 UTC 2018 - Larry.Finger@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 - msuchanek@suse.com + +- Use %{?linux_make_arch} when building kernel modules (boo#1098050). + +------------------------------------------------------------------- +Sat May 26 21:24:55 UTC 2018 - Larry.Finger@gmail.com + +- A second new include was needed for build with Qt5.11 - bsc#1093731. + +------------------------------------------------------------------- +Thu May 17 23:02:29 UTC 2018 - Larry.Finger@gmail.com + +- Fix build errors with Qt 5.11 - b.s.c. #1093731. + File "fixes_for_Qt5.11.patch" added. + +------------------------------------------------------------------- +Fri May 11 14:21:59 UTC 2018 - Larry.Finger@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. + +------------------------------------------------------------------- +Thu Apr 26 16:27:04 UTC 2018 - Larry.Finger@lwfinger.net + +- The 3rd time is the charm. + +------------------------------------------------------------------- +Wed Apr 25 20:14:59 UTC 2018 - Larry.Finger@lwfinger.net + +- Fix typo that broke builds for kernel 4.16. + +------------------------------------------------------------------- +Wed Apr 25 15:23:08 UTC 2018 - Larry.Finger@lwfinger.net + +- Update "fixes_for_4.17.patch" for some additional API changes. + +------------------------------------------------------------------- +Fri Apr 20 12:05:10 UTC 2018 - mliska@suse.cz + +- Add "gcc8-configure.patch" to fix boo#1090367. + +------------------------------------------------------------------- +Wed Apr 18 15:56:20 UTC 2018 - Larry.Finger@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.Finger@lwfinger.net + +- Add file "fixes_for_4.17.patch" to follow API changes in kernel 4.17. + +------------------------------------------------------------------- +Thu Mar 22 19:32:44 UTC 2018 - Larry.Finger@lwfinger.net + +- Further updates for Leap 15 kernel API changes. + +------------------------------------------------------------------- +Wed Mar 21 15:28:52 UTC 2018 - Larry.Finger@lwfinger.net + +- Remove extraneouos %posttrans macros + +------------------------------------------------------------------- +Wed Mar 21 04:06:19 UTC 2018 - Larry.Finger@lwfinger.net + +- Update so that the system will build on the new Leap 15 kernel. + +------------------------------------------------------------------- +Sat Mar 10 21:20:15 UTC 2018 - Larry.Finger@lwfinger.net + +- Remove version requirement on GLIBC. That was an error. + +------------------------------------------------------------------- +Fri Mar 9 01:41:56 UTC 2018 - Larry.Finger@lwfinger.net + +- Updated the fixes for kernel 4.16. + +------------------------------------------------------------------- +Sat Mar 3 19:15:12 UTC 2018 - Larry.Finger@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.Finger@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 +------------------------------------------------------------------- +Wed Feb 21 17:44:07 UTC 2018 - Larry.Finger@lwfinger.net + +- Modify virtualbox-vnc to require libvncserver0 (bsc#1081856). + +------------------------------------------------------------------- +Fri Feb 16 06:05:07 UTC 2018 - Larry.Finger@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. + +------------------------------------------------------------------- +Sat Feb 3 14:23:26 UTC 2018 - wbauer@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) + +------------------------------------------------------------------- +Thu Jan 18 19:01:59 UTC 2018 - Larry.Finger@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) + +------------------------------------------------------------------- +Fri Jan 12 17:13:07 UTC 2018 - Larry.Finger@lwfinger.net + +- Updated file "fixes_for_leap15.patch" for new source. + +------------------------------------------------------------------- +Fri Dec 29 19:19:22 UTC 2017 - Larry.Finger@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 asynchronous data processing in separate threads + Audio: implemented ability to enable or disable audio input / output on-the-fly + Storage: implemented support for CUE/BIN images as CD/DVD media including multiple tracks + Storage: implemented support for the controller memory buffer feature for NVMe + Storage: first milestone of the I/O stack redesign landed + E1000: Fix for Windows XP freeze when booting with unplugged cable + NAT network: do not skip some port forwarding setup when multiple VMs are active (Windows hosts only; bug #17041) + Serial: fixed extremely rare misbehavior on VM poweroff + EFI: better video mode handling, supporting custom video modes and easier configuration (bug #6783) + BIOS: properly report floppy logical sectors per track for unusual formats + BIOS: update ATA disk parameter table vectors only if there is actually a corresponding ATA disk attached + PXE: speed up booting by better handling pending packets when the link is not up yet + VBoxManage: handle CPUID sub-leaf overrides better + Windows Additions: fix several 3D related crashes + Solaris hosts: allow increasing MTU size for host-only adapter to 9706 bytes to support jumbo frames + Linux Additions: on systems using systemd, make sure that only the Guest Additions timesync service is active + many unlisted fixes and improvements + +------------------------------------------------------------------- +Mon Dec 11 14:02:07 UTC 2017 - hschmidt@suse.com + +- Fix spelling mistakes in vbox-usb-warning.diff. + +------------------------------------------------------------------- +Sat Dec 9 01:11:34 UTC 2017 - Larry.Finger@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. + +------------------------------------------------------------------- +Sat Dec 2 03:57:55 UTC 2017 - Larry.Finger@lwfinger.net + +- Update "fixes_for_4.15.patch" for further API changes in kernel 4.15. + +------------------------------------------------------------------- +Thu Nov 23 13:47:36 UTC 2017 - rbrown@suse.com + +- Replace references to /var/adm/fillup-templates with new + %_fillupdir macro (boo#1069468) + +------------------------------------------------------------------- +Wed Nov 22 16:39:22 UTC 2017 - Larry.Finger@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. + +------------------------------------------------------------------- +Sat Nov 11 03:40:07 UTC 2017 - Larry.Finger@lwfinger.net + +- Update "fixes_for_leap15.patch" for wait queue API changes. + +------------------------------------------------------------------- +Wed Nov 8 02:08:27 UTC 2017 - Larry.Finger@lwfinger.net + +- Add file "fixes_for_python.patch". + +------------------------------------------------------------------- +Tue Nov 7 16:34:21 UTC 2017 - Larry.Finger@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 + +------------------------------------------------------------------- +Wed Nov 1 15:22:09 UTC 2017 - mpluskal@suse.com + +- Rename python subpackage +- Update python dependnencies for migration to python3 as default + +------------------------------------------------------------------- +Sat Oct 21 18:45:20 UTC 2017 - Larry.Finger@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. + +------------------------------------------------------------------- +Mon Oct 16 20:13:00 UTC 2017 - Larry.Finger@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) + +------------------------------------------------------------------- +Tue Oct 3 13:02:28 UTC 2017 - Larry.Finger@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. + +------------------------------------------------------------------- +Mon Sep 25 20:15:56 UTC 2017 - Larry.Finger@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.Finger@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.Finger@lwfinger.net + +- Update "fixes_for_4.14.patch" to handle missing SKB_GSO_UDP in kernel 4.14 + +------------------------------------------------------------------- +Wed Sep 20 00:44:12 UTC 2017 - Larry.Finger@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.Finger@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 + +------------------------------------------------------------------- +Sun Sep 10 16:18:04 UTC 2017 - meissner@suse.com + +- mark VBoxNetNAT with the correct permissions line. (bsc#1033425) + +------------------------------------------------------------------- +Mon Aug 7 20:29:05 UTC 2017 - Larry.Finger@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 - schwab@suse.de + +- internal-headers.patch: fix invalid use of internal headers, enable + POSIX extensions + +------------------------------------------------------------------- +Thu Aug 3 17:37:58 UTC 2017 - hpj@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 + +------------------------------------------------------------------- +Sat Jul 29 20:55:24 UTC 2017 - Larry.Finger@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) + +------------------------------------------------------------------- +Wed Jul 19 04:41:55 UTC 2017 - Larry.Finger@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.Finger@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. + +------------------------------------------------------------------- +Mon Jul 10 18:22:25 UTC 2017 - Larry.Finger@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. + +------------------------------------------------------------------- +Fri Jun 30 00:50:42 UTC 2017 - Larry.Finger@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.Finger@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.Finger@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.Finger@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.Finger@lwfinger.net + +- Add installation of package "net-tools-deprecated" as requested in boo#1027742. + +------------------------------------------------------------------- +Thu Jun 8 17:37:35 UTC 2017 - Larry.Finger@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. + +------------------------------------------------------------------- +Sun May 21 13:28:15 UTC 2017 - hpj@urpla.net + +- add %dir /usr/share/licenses to new vnc package + +------------------------------------------------------------------- +Wed May 17 20:33:08 UTC 2017 - Larry.Finger@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.Finger@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.Finger@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. + +------------------------------------------------------------------- +Sat Apr 29 17:24:10 UTC 2017 - Larry.Finger@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.Finger@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.Finger@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) + +------------------------------------------------------------------- +Sat Apr 8 23:10:36 UTC 2017 - Larry.Finger@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.Finger@lwfinger.net + +- Package VBoxVNC.so. This extension is already being built, just not packaged. + This feature is requested in bsc #1024671. + +------------------------------------------------------------------- +Thu Mar 16 02:54:50 UTC 2017 - Larry.Finger@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) + +------------------------------------------------------------------- +Thu Mar 9 18:54:31 UTC 2017 - Larry.Finger@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.Finger@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.Finger@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. + +------------------------------------------------------------------- +Tue Feb 28 21:06:30 UTC 2017 - dimstar@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.Finger@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.Finger@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 - kukuk@suse.de + +- Require insserv and fillup by the packages who call it in the + pre/post install sections + +------------------------------------------------------------------- +Thu Feb 2 15:30:05 UTC 2017 - adam.majer@suse.de + +- use individual libboost-*-devel packages instead of boost-devel + +------------------------------------------------------------------- +Sat Jan 28 20:37:54 UTC 2017 - Larry.Finger@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.Finger@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) + +------------------------------------------------------------------- +Sat Jan 14 02:14:27 UTC 2017 - Larry.Finger@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. + +------------------------------------------------------------------- +Wed Dec 21 03:19:26 UTC 2016 - Larry.Finger@lwfinger.net + +- Version bump to 5.1.12 (released 2016-12-20 by Oracle) + +This is a maintenance release. The following items were fixed and/or added: + + VMM: fixed VERR_IEM_ASPECT_NOT_IMPLEMENTED Guru Meditations with certain Linux guests if KVM paravirtualization is enabled (5.1 regression; bugs #15613 and #16251) + VMM: fixed VERR_VMX_UNABLE_TO_START_VM Guru Meditations under rare conditions + GUI: prevent a crash under certain conditions if the VM is terminated very early + GUI: fixed certain keyboard capture issues (5.1.10 regression; Mac OS X hosts only; bug #16150) + GUI: fixed dragging guest windows in seamless mode with the keyboard captured (X11 hosts only; bug #15837) + GUI: fixed a problem where the new version detected dialog was covered by the appliance import dialog (Mac OS X hosts only; bug #16238) + Storage: fixed NVMe reset processing when doing rmmod nvme; modprobe nvme in a Linux guest (bug #16080) + Storage: fixed creating a snapshot when the VM is running and an NVMe controller is present + Storage: fixed a problem with the LsiLogic SCSI controller where requests could be lost with SMP guests + E1000: fixed "cable disconnected" issue (Mac OS X guests only; 5.1.10 regression; bug #16260) + E1000: fixed "TX unit hang" issue (Linux guests only; 5.1.10 regression; bug #16221) + API: don't crash when sanitizing certain VM names (bug #16299) + Linux hosts: automatically disable asynchronous I/O on Linux 2.6.18 kernels as high I/O load may trigger kernel oopses on these kernels if this feature is enabled + Linux hosts / guests: Linux 2.6.28 compile fix (bug #16267) + Linux hosts: compile Linux 4.9 compile fix (bug #16286) + Linux Additions: warn the user about a known bug with older Linux guests (e.g. Debian 7) requiring manual work to get 3D working (bug #15319) + Linux Additions: fix the graphics driver build with Linux 4.10 and later (bug #16298) + Windows Additions: fixed a crash in the WDDM driver under certain conditions + +------------------------------------------------------------------- +Mon Dec 12 16:27:28 UTC 2016 - Larry.Finger@lwfinger.net + +- Revert "vbox_hdpi_support.patch. This patch may improve things for asn@cryptomilk.org, but it breaks other systems. + See https://forums.opensuse.org/showthread.php/521520-VirtualBox-interface-scaling and bsc #1014694. + +------------------------------------------------------------------- +Mon Dec 5 22:34:34 UTC 2016 - Larry.Finger@lwfinger.net + +- I now have the necessary preprocessor symbol to modify the source depending on whether the server is 1.19.0 or greater. + It is no longer necessary to detect the server version in the spec file, thus the solution is cleaner. + +------------------------------------------------------------------- +Mon Dec 5 17:03:34 UTC 2016 - Larry.Finger@lwfinger.net + +- Leap 42.2 still has server v. 1.18.3, thus the test failed. The test has been changed to look at only the 1.xx part of the version. + +------------------------------------------------------------------- +Sun Dec 4 16:59:29 UTC 2016 - Larry.Finger@lwfinger.net + +- Add patch file "Fix_for_server_1.19.patch" to support xorg-x11-server v. 1.19.0. + The spec file now interrogates the rpm for the server and conditionally applies the patch, thus both versions build OK. + +------------------------------------------------------------------- +Wed Nov 30 16:45:43 UTC 2016 - asn@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) + +------------------------------------------------------------------- +Mon Nov 21 22:43:33 UTC 2016 - Larry.Finger@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) + +------------------------------------------------------------------- +Tue Nov 1 15:31:03 UTC 2016 - Larry.Finger@lwfinger.net + +- Remove all references to libreadline. I misinterpreted a previous error message. +- Fixes for VUL-0: CVE-2016-5501,CVE-2016-5538,CVE-2016-5605,CVE-2016-5608,CVE-2016-5610,CVE-2016-5611,CVE-2016-561313 + boo #1005621. + +------------------------------------------------------------------- +Sun Oct 30 00:29:50 UTC 2016 - Larry.Finger@lwfinger.net + +- Replaced libreadline6 with libreadline7. + +------------------------------------------------------------------- +Wed Oct 26 17:08:03 UTC 2016 - Larry.Finger@lwfinger.net + +- Found and fixed another API change for kernel 4.9. In addition, the libreadline6 package is now needed. + +------------------------------------------------------------------- +Fri Oct 21 16:05:13 UTC 2016 - Larry.Finger@lwfinger.net + +- Fix typo in "vbox_fix_4.9_api_changes.patch". + +------------------------------------------------------------------- +Thu Oct 20 23:04:09 UTC 2016 - Larry.Finger@lwfinger.net + +- Make another 4.9 API change. + +------------------------------------------------------------------- +Thu Oct 20 12:57:28 UTC 2016 - Larry.Finger@lwfinger.net + +- Fix build on kernel 4.9 using patch "vbox_fix_4.9_api_changes.patch". + +------------------------------------------------------------------- +Wed Oct 19 15:42:56 UTC 2016 - Larry.Finger@lwfinger.net + +- Fixes for VUL-0: CVE-2016-5501,CVE-2016-5538,CVE-2016-5605,CVE-2016-5608,CVE-2016-5610,CVE-2016-5611,CVE-2016-561313 + boo #1005621. + +- Add patch file "vbox_remove_smp_mflags.patch" to limit number of simultaneous make jobs. + +- Version bump to 5.1.8 (released 2016-10-18 by Oracle) + +This is a maintenance release. The following items were fixed and/or added: + + GUI: fixed keyboard shortcut handling regressions (Mac OS X hosts only; bugs #15937 and #15938) + GUI: fixed keyboard handling regression for separate UI (Windows hosts only; bugs #15928) + NAT: don't exceed the maximum number of "search" suffixes. Patch from bug #15948. + NAT: fixed parsing of port-forwarding rules with a name which contains a slash (bug #16002) + NAT Network: when the host has only loopback nameserver that cannot be mapped to the guests (e.g. dnsmasq running on 127.0.1.1), make DHCP supply NAT Network DNS proxy as nameserver. + Bridged Network: prevent flooding syslog with packet allocation error messages (bug #15569) + Audio: now using Audio Queues on Mac OS X hosts + Audio: fixed recording with the PulseAudio backend (5.1 regression) + Audio: various bugfixes + Snapshots: fixed regression in 5.1.4 for deleting snapshots with several disks (bug #15831) + Snapshots: crash fix and better error reporting when snapshot deletion failed + Storage: some fixes for the NVMe emulation with Windows guests + API: fixed initialization of SAS controllers (bug #15972) + Build system: make it possible to build VBox on systems which default to Python 3 + Windows Additions / VGA: if the guest's power management turns a virtual screen off, blank the corresponding VM window rather than hide the window + Windows Additions: fixed a generic bug which could lead to freezing shared folders (bug #15662) + Linux hosts / guests: fix for kernels with CONFIG_CPUMASK_OFFSTACK set (bug #16020) + Linux Additions: don't require all virtual consoles be in text mode. This should fix cases when the guest is booted with a graphical boot screen (bug #15683) + Linux Additions: added depmod overrides for the vboxguest and vboxsf kernel modules to fix conflicts with modules shipped by certain Linux distributions + X11 Additions: disable 3D on the guest if the host does not provide enough capabilities (bug #15860) + +------------------------------------------------------------------- +Tue Oct 18 14:43:04 UTC 2016 - Larry.Finger@lwfinger.net + +- Requesting 14000 MB is too much. Reduce the request to 12000 MB. + +------------------------------------------------------------------- +Thu Oct 13 19:15:03 UTC 2016 - Larry.Finger@lwfinger.net + +- Some builds still run out of memory and fail. Increase to 14000 MB. + +------------------------------------------------------------------- +Thu Oct 13 16:11:14 UTC 2016 - Larry.Finger@lwfinger.net + +- Builds keep running out of memory when building the web server part of the package. + To help the memory pressure, I have forced make to run with "-j2", rather than use + the number of processors. Such a change will slow the build, but will result in a + higher rate of success. + +------------------------------------------------------------------- +Wed Oct 12 20:07:16 UTC 2016 - Larry.Finger@lwfinger.net + +- Increase memory allowed in build to 10000 MB. + +------------------------------------------------------------------- +Mon Sep 12 22:25:42 UTC 2016 - Larry.Finger@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) + +------------------------------------------------------------------- +Fri Sep 9 19:24:51 UTC 2016 - Larry.Finger@lwfinger.net + +- Add file "fix_removal_of_DEFINE_PCI_DEVICE_TABLE" to compile on kernel 4.8. + +------------------------------------------------------------------- +Fri Sep 2 20:26:22 UTC 2016 - wbauer@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 - mmarek@suse.cz + +- Update the host <-> guest KMP conflict dependencies to no longer + refer to the old name (boo#983927). + +------------------------------------------------------------------- +Sun Aug 28 01:59:37 UTC 2016 - Larry.Finger@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.Finger@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.Finger@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 - hpj@urpla.net + +- adjust file attributes on SUID helpers to avoid chkstat issues + +------------------------------------------------------------------- +Thu Aug 11 11:48:53 UTC 2016 - hpj@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.Finger@lwfinger.net + +- Remove request for patch that is no longer used. + +------------------------------------------------------------------- +Mon Aug 8 17:04:19 UTC 2016 - Larry.Finger@lwfinger.net + +- Patch11 is file "vbox-kernel47-cpu_has_pge.diff". + +------------------------------------------------------------------- +Mon Aug 8 11:57:18 UTC 2016 - bruno@ioda-net.ch + +- Add upstream patch fix cpu_has_pge removed macro in kernel 4.7 + Patch11 +- Add ifarch ix86 to limit concurrency on 32bits (-j2) + Remove ExcludeArch instructions + +------------------------------------------------------------------- +Fri Jul 22 00:49:00 UTC 2016 - luizluca@tre-sc.jus.br + +- Version bump to 5.1.2 (released 2016-07-21 by Oracle) + +New main capabilities in Oracle VM VirtualBox 5.1 are: + + Improved Performance: Significantly improved performance for multi-CPU virtual machines and networking. + Bug Reporting Tool: New utility able to collect all the information and logs related to the host and guest operating system, for debug or analysis purposes. + Improved Logging Window: New logging functionalities to highlight and filter information related to guest Virtual Machines. + Improved multimedia availability: Improved support for different USB devices and multi-channel audio availability. + Flash storage emulation: New NVMHCI storage controller emulation available, able to emulate NVME devices - Flash storage - on guest Virtual Machine. + Improved Linux integration: Automatic modules deployment in case of a Linux Kernel upgrade and improved systemd integration for the latest releases of popular Linux distributions. + +- Drop drm-vboxvideo-Add-delayed-update-to-support-fbdev.patch, fixed upstream. +- Drop drm-vboxvideo-Initialize-data-needed-to-map-fbdev-memory.patch, fixed upstream. +- Drop vbox-4.7.patch, fixed upstream. +- vbox-permissions_warning.diff and vbox-usb-warning.diff updated to Qt5 +- User Manual updated. + +------------------------------------------------------------------- +Thu Jul 21 19:18:39 UTC 2016 - adam@mizerski.pl + +- virtualbox-60-vboxdrv.rules: added missing udev rules for + vboxdrvu and vboxnetctl (http://www.mgreene.org/?p=211) + +------------------------------------------------------------------- +Tue Jul 20 19:03:36 UTC 2016 - Larry.Finger@lwfinger.net + +- Disable i586 builds as they fail with the OBS compiler. + Increased VM to 20000 M. + +- Version bump to 5.0.26 (released 2016-07-18 by Oracle) + +This is a maintenance release. The following items were fixed and/or added: + + VMM: fixed a bug in the task switching code (ticket #15571) + GUI: allow to overwrite an existing file when saving a log file (bug #8034) + GUI: fixed screenshot if the VM is started in separate mode + Audio: improved recording from USB headsets and other sources which might need conversion of captured data + Audio: fixed regression of not having any audio available on Solaris hosts + VGA: fixed an occasional hang when running Windows guests with 3D enabled + Storage: fixed a possible endless reconnect loop for the iSCSI backend if connecting to the target succeeds but further I/O requests cause a disconnect + Storage: fixed a bug when resizing certain VDI images which resulted in using the whole disk on the host (bug #15582) + EFI: fixed access to devices attached to SATA port 2 and higher (bug #15607) + API: fixed video recording with VBoxHeadless (bug #15443) + API: don't crash if there is no graphics controller configured (bug #15628) + VBoxSVC: fixed several memory leaks when handling .dmg images + Solaris hosts: fixed a crash on hosts with certain CPU configurations + Windows hosts: properly fall back to NDIS5 on pre-Vista hosts on silent installations + +------------------------------------------------------------------- +Mon Jul 18 15:24:19 UTC 2016 - Larry.Finger@lwfinger.net + +- Version bump to 5.0.24 (released 2016-06-28 by Oracle) + +This is a maintenance release. The following items were fixed and/or added: + + VMM: reverted to the old I/O-APIC code for now to fix certain regressions with 5.0.22 (bug #15529). This means that the networking performance with certain guests will drop to the 5.0.20 level (bug #15295). One workaround is to disable GRO for Linux guests. + Main: when taking a screenshot, don't save garbage for blanked screens + NAT: correctly parse resolv.conf file with multiple separators (5.0.22 regression) + Storage: fixed a possible corruption of stream optimized VMDK images from VMware when opened in read/write mode for the first time + Audio: imlemented dynamic re-attaching of input/output devices on Mac OS X hosts + ACPI: notify the guest when the battery / AC state changes instead of relying on guest polling + Linux hosts: fixed VERR_VMM_SET_JMP_ABORTED_RESUME Guru Meditations on hosts with Linux 4.6 or later (bug #15439) + +------------------------------------------------------------------- +Mon Jun 20 16:18:19 UTC 2016 - Larry.Finger@lwfinger.net + +- Version bump to 5.0.22 (released 2016-06-16 by Oracle) + +This is a maintenance release. The following items were fixed and/or added: + + VMM: fixes for certain Intel Atom hosts (bug #14915) + VMM: properly restore the complete FPU state for 32-bit guests on 64-bit hosts on Intel Sandy Bridge and Ivy Bridge CPUs + VMM: new I/O-APIC implementation fixing several bugs and improving the performance under certain conditions (bug #15295 and others) + VMM: fixed a potential Linux guest panic on AMD hosts + VMM: fixed a potential hang with 32-bit EFI guests on Intel CPUs (VT-x without unrestricted guest execution) + GUI: don't allow to start subsequent separate VM instances + GUI: raised upper limit for video capture screen resolution (bug #15432) + GUI: warn if the VM has less than 128MB VRAM configured and 3D enabled + Main: when monitoring DNS configuration changes on Windows hosts avoid false positives from competing DHCP renewals. This should fix NAT link flaps when host has multiple DHCP configured interfaces, in particular when the host uses OpnVPN. + Main: properly display an error message if the VRDE server cannot be enabled at runtime, for example because another service is using the same port + NAT: Initialize guest address guess for wildcard port-forwarding rules with default guest address (bug #15412) + VGA: fix for a problem which made certain legacy guests crash under certain conditions (bug #14811) + ACPI: properly notify the guest if the ACPI battery state changed + OVF: fixed import problems for some appliances using an AHCI controller created by 3rd party applications + SDK: reduced memory usage in the webservice Java bindings + Linux hosts: EL 6.8 fix (bug #15411) + Linux hosts: Linux 4.7 fix (bug #15459) + Linux Additions: Linux 4.7 fixes (bug #15444) + Linux Additions: fix for certain 32-bit guests (5.0.18 regression; bug #15320) + Linux Additions: fixed mouse pointer offset (5.0.18 regression; bug #15324) + Linux Additions: made old X.Org releases work again with kernels 3.11 and later (5.0.18 regression; bug #15319) + Linux Additions: fixed X.Org crash after hard guest reset (5.0.18 regression; bug #15354) + Linux Additions: don't stop the X11 setup if loading the shared folders module fails (5.0.18 regression) + Linux Additions: don't complain if the Drag and Drop service is not available on the host + Solaris Additions: added support for X.org 1.18 + +Local openSUSE specific changes: + File "changeset_60565.diff" is no longer needced and has been removed. + +Version bump to 5.0.20 (released 2016-04-28 by Oracle) + +This is a maintenance release. The following items were fixed and/or added: + + Storage: fixed a regression causing write requests from the BIOS to cause a Guru Meditation with the LsiLogic SCSI controller (5.0.18 regression; bug #15317) + Storage: several emulation fixes in the BusLogic SCSI controller emulation + NAT Network: support TCP in DNS proxy (same problem as in bug #14736 for NAT) + NAT: rework handling of port-forwarding rules (bug #13570) + NAT: rewrite host resolver to handle more query types and make it asynchronous so that a stalled lookup doesn't block all NAT traffic + Snapshots: don't crash when restoring a snapshot which has more network adapters than the current state (ie when the snapshot uses ICH9 and the current state uses PIIX3) + Guest Control: various bugfixes for the copyfrom and copyto commands / API (bug #14336) + VBoxManage: list processor features on list hostinfo (bug #15334) + Linux hosts: fix for Linux 4.5 if CONFIG_NET_CLS_ACT is enabled (bug #15327) + Windows Additions: fixed performance issues with PowerPoint 2010 and the WDDM graphics drivers if Aero is disabled + +------------------------------------------------------------------- +Tue Jun 7 19:03:36 UTC 2016 - Larry.Finger@lwfinger.net + +- Add file "vbox-4.7.patch" to all builds on Kernel_HEAD_standard/x86_64 now that 4.7-rcX is released. + +------------------------------------------------------------------- +Wed May 18 14:09:11 UTC 2016 - hpj@urpla.net + +- remove libgsoap-devel from build deps, it conflicts with gsoap-devel + +------------------------------------------------------------------- +Fri May 6 20:04:53 UTC 2016 - Larry.Finger@lwfinger.net + +- Fix start failure of vboxadd service routine + This script fails because /var/lib/VBoxGuestAdditions/config does not exist; however, there is no need + for this file. That service routine is modified. + (boo #977328). + +------------------------------------------------------------------- +Tue Apr 26 11:23:41 UTC 2016 - eich@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.Finger@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.Finger@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.Finger@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. + +------------------------------------------------------------------- +Mon Apr 4 00:01:12 UTC 2016 - Larry.Finger@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.Finger@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.Finger@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.Finger@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. + +------------------------------------------------------------------- +Sat Mar 5 18:19:56 UTC 2016 - Larry.Finger@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 + +------------------------------------------------------------------- +Tue Jan 19 20:38:27 UTC 2016 - Larry.Finger@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 + Linux hosts: properly create the /sbin/rcvboxdrv symbolic link (5.0.12 regression; bug #14989) + Linux Additions: fixes for Linux 4.5 (bug #15032) + + + +------------------------------------------------------------------- +Thu Jan 14 14:47:01 UTC 2016 - bwiedemann@suse.com + +- vboxadd script no more fails on remote_fs failure (bnc#908383) + +------------------------------------------------------------------- +Sat Dec 26 19:58:13 UTC 2015 - Larry.Finger@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) + Linux hosts: 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 + +------------------------------------------------------------------- +Sun Dec 20 06:46:49 UTC 2015 - mailaender@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 + +------------------------------------------------------------------- +Sat Nov 21 17:54:57 UTC 2015 - Larry.Finger@lwfinger.net + +- Remove file vbox_build_kms_modules.diff. + +------------------------------------------------------------------- +Fri Nov 20 19:05:51 UTC 2015 - Larry.Finger@lwfinger.net + +- Temporarily disable i586 builds. + +------------------------------------------------------------------- +Fri Nov 20 15:44:20 UTC 2015 - Larry.Finger@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.Finger@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 - idonmez@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) + +------------------------------------------------------------------- +Fri Nov 6 19:43:55 UTC 2015 - Larry.Finger@lwfinger.net + +- Fixed typo in QMessageBox text in new popup window. + +------------------------------------------------------------------- +Fri Nov 6 06:57:16 UTC 2015 - Larry.Finger@lwfinger.net + +- Add logic to virtualbox-wrapper.sh to test if /etc/udev/rules.d/60-vboxdrv.rules exists. If not, a screen stating + that passthru of USB devices is a security hole, and it refers the user to bnc#664520 for an explanation. + It also explains the process for enabling USB passthru if the user really wants it. When the user closes + the popup window, a dummy version of /etc/udev/rules.d/60-vboxdrv.rules is created, which prevents this + window from being displayed every time VirtualBox is started. + +- Fixes boo#953018. + +------------------------------------------------------------------- +Tue Oct 20 19:01:09 UTC 2015 - Larry.Finger@lwfinger.net + +- Version bump to 5.0.8 (released 2015-10-20 by Oracle) + boo#951432 CVE-2015-4813 CVE-2015-4896 + +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) + +------------------------------------------------------------------- +Mon Oct 5 07:35:22 UTC 2015 - idonmez@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 - dimstar@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. + +------------------------------------------------------------------- +Fri Sep 11 02:47:24 UTC 2015 - Larry.Finger@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.Finger@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 - wbauer@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 + +------------------------------------------------------------------- +Fri Aug 14 13:23:25 UTC 2015 - Larry.Finger@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. - + +------------------------------------------------------------------- +Wed Jul 15 18:41:47 UTC 2015 - tchvatal@suse.com + +- Install more binaries that were in bin generated folder + +------------------------------------------------------------------- +Tue Jul 14 19:13:46 UTC 2015 - tchvatal@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 - tchvatal@suse.com + +- Fix vbox build by replacing non-existent sed parameter: + * virtualbox-sed-params.patch + +------------------------------------------------------------------- +Sat Jul 11 11:41:26 UTC 2015 - tchvatal@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 + +------------------------------------------------------------------- +Mon Jul 6 09:19:54 UTC 2015 - alarrosa@suse.com + +- Exclude %ix86 arch in suse_version == 1315 (openSUSE 42) + +------------------------------------------------------------------- +Fri Jun 12 10:33:55 UTC 2015 - mpluskal@suse.com + +- Enable building of for all supported kernel flavours + * exclude also pv flavour + +------------------------------------------------------------------- +Tue Jun 9 11:36:42 UTC 2015 - tchvatal@suse.com + +- Disable multiversion_kernel support, taken from nvidia driver spec, + should fix bnc#925663. + +------------------------------------------------------------------- +Wed May 27 10:22:22 UTC 2015 - jslaby@suse.com + +- initial gcc5 support (it builds at least) + * added: gcc5-support.patch (upstream) + * added: gcc51-support.patch (upstream) + * added: gcc5-real-support.patch + +------------------------------------------------------------------- +Tue May 19 15:09:12 UTC 2015 - mpluskal@suse.com + +- Add smap.diff (boo#931461) + +------------------------------------------------------------------- +Fri May 15 07:49:31 UTC 2015 - tchvatal@suse.com + +- Version bump to 4.3.28 bnc#935900 CVE-2015-3456: + * VMM: fixed a Guru Meditation when rebooting certain guests (for example Solaris + doing fast reboot) by fixing the implementation for INIT IPI + * VMM: added some information for diagnosing rare VERR_VMX_INVALID_VMXON_PTR Guru + Meditations (VT-x only) + * GUI: HID LEDs sync: prevent synchronization if VM window has no focus (Windows + and Mac OS X hosts only) + * GUI: fixed drag and drop moving the cursor between guest screens on certain + hosts + * 3D: fixed a crash on restoring the VM state on X11 hosts (bug #12737) + * 3D: fixed a crash on Linux guest shutdown (bug #12772) + * VRDP: fixed incompatibility with rdesktop 1.8.3 + * VRDP: fixed listening for IPv6 on some systems (bug #14038) + * Storage: don't crash if creating an asynchronous I/O context fails (e.g. when + starting many VMs) and show a proper error message + * Floppy: several fixes + * Audio: improved the behavior of the volume control for the HD audio device + emulation + * USB: increase the number of supported drivers from 3 to 5 (Windows hosts only) + * PS/2 keyboard: synchronize the LED state on VM restore (Windows and Mac OS X + hosts only) + * NAT Network: when running multiple NAT networks with multiple VMs, only stop + the respective services when stopping VMs (bug #14090) + * NAT: don't kill UDP bindings on ICMP errors (bug #13475) + * NAT: bandwidth limit now works properly with NAT (bug #11485) + * BIOS: fixed the returned size value of the VBE 2.0 PMI function 0Ah (4.2.0 + regression; bug #14096) + * Guest Control: fixed parameter quoting in Windows guests (bug #13157) + * Webcam passthrough improvements for Linux (V4L2) hosts to support more webcam + models + * API: don't fail starting a VM with VBOX_E_INVALID_OBJECT_STATE under certain + conditions (bug #13617) + * API: be more verbose on VBOX_E_INVALID_OBJECT_STATE if a medium is attached to + a running VM (bug #13560) + * API: fixed a bug which could result in losing certain screen resize events with + multi-monitor guests + * rdesktop-vrdp: fixed path to the keymaps (bug #12066) + * rdesktop-vrdp: switch to version 1.8.3 + * Windows hosts: more hardening fixes (e.g. bugs #14051, #14052) + * Linux hosts: another fix for activated SMAP on Linux 3.19 and newer (Broadwell + and later; bug #13961) + * Linux hosts: Linux 4.1 compile fix (bug #14081) + * Solaris hosts: fixed using of VNIC templates with Crossbow based bridged + networking to be compatible with vanity interface names + * Mac OS X hosts: fixed crash during VM termination under rare circumstances + * Windows Additions/WDDM: improved video memory utilization and allow more/bigger + guest screens with large resolutions (including HiDPI) + * X11 Additions: prevent flickering when updating mouse cursor + * Solaris Additions: fixed incorrect usage of 'prtconf' while installing Guest + Additions (Solaris 10 only) +- Refresh patch: + * vbox-vboxadd-init-script.diff + +------------------------------------------------------------------- +Sun May 10 10:47:58 UTC 2015 - bwiedemann@suse.com + +- Provide host-kmp src for use with custom kernels (bnc#925663) + +------------------------------------------------------------------- +Wed May 6 20:35:29 UTC 2015 - tchvatal@suse.com + +- Create groups properly and also create vboxsf and vboxguest on + guest additions bnc#927708 + +------------------------------------------------------------------- +Wed May 6 16:52:56 UTC 2015 - tchvatal@suse.com + +- Build with system libs for X instead of localy built ones. + This should fix bnc#929697 +- Adds patch: + * virtualbox-system-x.patch + +------------------------------------------------------------------- +Wed May 6 15:51:43 UTC 2015 - tchvatal@suse.com + +- Split kmk call to multiple lines + +------------------------------------------------------------------- +Wed May 6 15:40:52 UTC 2015 - tchvatal@suse.com + +- Reorder alignment of buildroot for various install commands so it + does not look so fuzzy + +------------------------------------------------------------------- +Mon Apr 20 11:10:16 UTC 2015 - tchvatal@suse.com + +- Allow access to vboxdrv to vboxusers group members bnc#927525 + +------------------------------------------------------------------- +Mon Mar 23 10:04:55 UTC 2015 - tchvatal@suse.com + +- Version bump to 2.3.26: + * GUI: in the snapshots pane, protect the age of snapshots against wrong host + time (bug #13955) + * NAT Network: fixed a bug which prevented to propagate any DNS name server / + domain / search string information to the NAT network (4.3.24 regression; bugs + #13915, #13918) + * NAT Network: don't delay the shutdown of VBoxSVC on Windows hosts + * Mouse support: the mouse could not be moved under rare conditions if no Guest + * Additions are installed (4.3.24 regression; bug #13935) + * Storage: if the guest ejects a virtual CD/DVD medium, make the change permanent + (bugs #9858, #12885) + * VGA: made saving secondary screen sizes possible in X11 guests + * SDK: fixed the VirtualBox.tlb file (4.3.20 regression; bug #13943) + rdesktop-vrdp: make it work with USB devices again (4.3.14 regression; bug + #13901) + * USB: fixed a possible BSOD on Windows hosts under rare conditions + * iPXE: enable the HTTP download protocol on non-Linux hosts (bug #13628) + * Mac OS X hosts: don't panic on hosts with activated SMAP (Broadwell and later; + bug #13951) + * Linux hosts: don't crash Linux 4.0 hosts (bug #13835) + +------------------------------------------------------------------- +Wed Mar 4 11:41:54 UTC 2015 - tchvatal@suse.com + +- Version bump to 2.3.24: + * VMM: emulation fix for the ENTER instruction under certain conditions; fixes + Solaris 10 guests (VT-x without unrestricted guest execution) + * VMM: fix for handling NMIs on Linux hosts with X2APIC enabled + * NAT/NAT Network: fix connection drops when the host's DHCP lease was renewed + (4.3.22 regression; Windows hosts only; bug #13839) + * NAT: don't crash on an empty domain list when switching the DNS host + configuration (4.3.22 regression; Mac OS X hosts only; bug #13874) + * PXE: re-enable it on Windows hosts (4.3.22 regression; Windows hosts only; bug + #13842) + * Shared Folders: fixed a problem with Windows guests (4.3.22 regression; bug + #13786) + * Audio: improved record quality when using the DirectSound audio backend + * VBoxManage: when executing the controlvm command take care that the + corresponding VM runtime changes are saved permanently (bug #13892) + * Windows Installer: properly install the 32-bit version of VBoxRes.dll on 32-bit + hosts (bug #13876) + * Linux hosts / guests: Linux 4.0 fixes (bug #13835) + * OS/2 Additions: fixed mouse integration (4.3.22 regression; bug #13825) + * X11 Additions: fixed a sporadic failure to deactivate virtual screens (bug + #13845) +- Use smp_mflags when building kernel modules + +------------------------------------------------------------------- +Thu Feb 26 18:13:18 UTC 2015 - wbauer@tmo.at + +- Install vboxvideo_drv_117.so on Factory + +------------------------------------------------------------------- +Sun Feb 15 20:40:46 UTC 2015 - zaitor@opensuse.org + +- Update to version 4.3.22: + + VMM: refined measurement of TSC frequency on the host, improves timekeeping for guests + + VMM: decreased CPU load resulting from guest MMIO writes to the virtual APIC + + VMM: fixed interception of debug exceptions, observed while using the dbx debugger on Solaris guests (VT-x only) + + GUI: 3D overlay window positioning code improved, fixed potential misplacement of 3D accelerated guest graphics content + + GUI: fixed accident SSL authentication failures during update check on Windows hosts (bug #12969) + + GUI: never send the "ACPI power" keyboard scancode to the guest, we have the ACPI power button for that + + GUI: was unable to properly restore seamless mode VM from snapshot/saved-state under some circumstances + + VBoxHeadless: don't crash if 3D is enabled in the VM settings (bug #10250) + + ATA: fixed several passthrough issues (bugs #12310, #1360) + + Audio: fixed DirectSound failure when the the host has no audio input device (Windows hosts only; bug #9205) + + SB16: fixed compatibility issue (bug #13769) + + Storage: fixed broken CD/DVD passthrough when using the IDE controller (bug #12310) + + NAT: new ping proxy for Windows hosts (bug #11871) + + NAT: Properly report outbound connect(2) failures to guest with TCP RST or ICMP (bug #10525) + + NAT Network: no need for frequent wakeups in VBoxNetDHCP and VBoxNetNAT (bug #11681) + + Host-only adapter: prevent Windows from creating an "Unidentified network" (bug #9688) + + Bridged Networking: don't leak host-to-guest traffic to the wireless network when bridging to a wireless interface (bug #13714) + + Main: fixed a possible race when changing the medium leading to a deadlock under rare conditions (bug #13722) + + VBoxManage: fixed return code if starting a VM failed (bug #13773) + + API: fixed 2 deadlock opportunities related to medium handling (bugs #13789, #13801, thank you Alexander Urakov) + + API: fixed bug in XPCOM which created too few worker threads, sporadically resulting in a deadlock (bug #13802, thank you Alexander Urakov) + + SDK: fixed a garbage collection leak in the Python VirtualBox webservice API binding (bug #13817) + + Linux hosts: fixes for activated SMAP (Broadwell and later, bug #13820) + + X11 guests: prevent unwanted hiding of guest screens on multi-monitor guests (bug #13287) + + X11 guests: added support for X.Org Server 1.17 + + X11 Additions: fixed a memory leak in VBoxService if libdbus is available but dbus-daemon isn't running (bug #13770) + + Windows Additions: prevent VBox WDDM driver from loading if host reports weak OpenGL capabilities. 3D content now can be shown over Remote Desktop connection. + + Windows Additions: some fixes for recent Windows 10 Previews + + Linux Additions: fixed a compatibility issue with 64-bit Linux 2.4 kernels + + Linux Additions: fixed a potential use-after-free when unloading the VBoxGuest module + + Linux Additions: Linux 3.19 fixes (bug #13741) + +------------------------------------------------------------------- +Wed Jan 28 11:07:30 UTC 2015 - tchvatal@suse.com + +- Cleanup with spec-cleaner +- Remove really obsolete conditionals due to buildstatus everywhere + +------------------------------------------------------------------- +Wed Dec 17 20:37:43 UTC 2014 - coolo@suse.com + +- update to version 4.3.20 (bnc#914447): + + CVE-2014-0224 CVE-2015-0377 CVE-2014-6595 CVE-2014-6588 CVE-2014-6589 + + CVE-2014-6590 CVE-2015-0427 CVE-2015-0418 + + VMM: fixed reboot hang of 32-bit Windows SMP guests (bug #13319, #13462) + + VMM: proper Math Fault handling with certain legacy guests (bug #9042, AMD hosts) + + VMM: fixed a Guru Meditation VINF_EM_TRIPLE_FAULT on older CPUs that don't support MSR-bitmaps (VT-x only; bugs #13034, #13125, #13311, #13425, #13426, #13463, #13585) + + GUI: fix 3D overlay window re-parenting issue when VM goes to full screen mode on X11 hosts. + + GUI: fix occasional loss of focus in full-screen mode on X11 host systems (4.3.16 regression) + + GUI: Mac OS X: wizards should have Cancel button (bug #12541) + + GUI: added a global option to prevent automatic raising of the new window by mouse move with multi-screen guests (bug #8878) + + API: accept remote display port 0 as the default RDP port (bug #8534) + + VBoxManage: fixed crash when executing showvminfo command under certain circumstances (bug #13190) + + ACPI: fixed occasional Guru Meditations in ACPI timer code (4.3.18 regression; bug #13521) + + EFI: improved performance of IDE disk access + + EFI: fixed a bug in the EFI video driver which prevented Windows to boot in UEFI mode (bug #12022) + + EFI: properly announce the amount of RAM for big VMs (bugs #11103 and #13211) + + Storage: fixed a crash under certain circumstances when a medium was ejected from a drive attached to the SATA controller without inserting a new medium before pausing or closing the VM (4.3.16 regression) + + Storage: fixed an interrupt acknowledge issue causing hanging guests or slower I/O (4.3.18 regression) + + Storage: fixed broken resume after the VM was suspended due to a full disk if host I/O caching is used + + Storage: fixed a Guru Meditation under certain conditions when using the DevLsiLogic controller with VMs running in raw mode (4.3 regression; bugs #12254, #12655, #12709, #12774, #12886) + + Guest Control: fixed a bug which might lead to a crash during recursive copy + + SDK: Java COM bindings fixes + + iPXE: enable the HTTP download protocol (bug #13628) + + Runtime: do not use a fixed stack size creating temporary threads during initialization (bug #13038) + + Windows hosts: fixed more startup problems on certain Windows hosts due to conflicts with anti-virus software; better error reporting (4.3.14 regression; bug #13187) + + Windows hosts: fixed DirectSound host audio failure under certain conditions (bug #13418) + + Windows hosts: fixed additional cases of 4.3.14 regression whereby AltGr stopped working for some people (bug #13216) + + Windows Additions: preserve guest monitor layout when resizing Windows 7 or newer guests + + Linux Additions: Linux 3.18 compile fixes (bug #13515) +- download the Manual directly without rename + +------------------------------------------------------------------- +Tue Oct 14 12:02:36 UTC 2014 - mseben@gmail.com + +- fix /usr/lib/virtualbox *.so files permissions + +------------------------------------------------------------------- +Mon Oct 13 16:11:00 UTC 2014 - renda.krell@gmail.com + +- update to version 4.3.18: + == since 3.4.16 == + + VMM: fixed a potential misbehavior after restoring the A20 state from a saved state + + GUI: fixed full-screen mode mini-toolbar related regressions for different platforms and window managers (bug #13369) + + GUI: X11: fixed full-screen mode Unity panels quirk caused by mini-toolbar code changes in last release (bug #13365) + + GUI: X11: added possibility to use legacy full-screen mode as the new one can cause multi-screen issues under Unity, see the manual for more information (bug #13365) + + GUI: Mac OS X: fixed full-screen mode artifact causing black screen when 3D acceleration was enabled on 10.10 Yosemite hosts (bug #13448) + + GUI: Mac OS X: fixed regression in user-space swiping from/to VBox in full-screen mode + + GUI: Mac OS X: fixed issue with switching to VBox in full-screen mode through Alt+Tab and Mission Control + + Storage: fixed data corruption when resizing huge VHD images under certain circumstances (bug #11960) + + Storage: fixed a rare hang during startup when the BIOS enumerates the storage devices attached to the SATA controller + + Storage: follow the spec with AHCI interrupt acknowledge (bug #13474) + + Storage: fixed broken iSCSI authentication (4.3.14 regression, bugs #13386, #13435) + + NAT Network: properly parse port forwarding rules to allow UDP rules + + USB: fixed a crash on Linux hosts with older Linux kernels (bug #13400) and several other fixes + + ACPI: fixed ACPI timer anomalies (bug #12076) + + Guest Control: fixed a memory leak (bug #13434) + + Main: when removing a VM, do also remove the VBoxStartup.log file which might exist on Windows hosts (bug #13478) + + Windows hosts: fixed more startup problems on certain Windows hosts due to conflicts with anti-virus software; better error reporting (4.3.14 regression; bug #13187) + + Windows hosts: propagate the process startup information to the child process (4.3.14 regression; bug #13243) + + Mac OS X hosts: don't force using the discrete GPU (bug #11111) + + Windows Additions: some Windows 10 tweaks + + X11 guests: fix a bug handling video driver display properties which prevented GNOME Shell on Fedora 21 from starting + + Linux hosts / guests: fixed a few remaining warnings in the kernel log if memory allocation fails (bug #11171) + == since 4.3.14 == + + VMM: fixed restoring 32-bit FPU state on 64-bit capable VMs and restoring guest FPU in raw-mode VMs (bug #12646; 4.3 regression) + + GUI: properly restore normal/scale mode guest-screen size after exiting full-screen/seamless mode + + GUI: mini-toolbar should provoke less artifacts/conflicts with 3D guest rendering + + GUI: Mac OS X: Native full-screen multi-screen transition was able to blackout host-screens for nearly minute + + GUI: X11: Modern window managers should now use native full-screen multi-screen mapping API + + GUI: added extradata item for configuring the mouse capture behavior, see the manual for more information (bug #3506) + + Storage: fixed a VBoxSVC crash when querying an iSCSI target with authentication configured (4.3.14 regression) + + Storage: fixed a rare data corruption during reads if another allocating write is running concurrently and accesses the same range + + Storage: fixed a rare crash for certain VHD images from other products + + Storage: fixed a rare release assertion when using the AHCI controller + + Floppy: fixed read errors and guest memory corruption when running under control of QEMM + + 3D: added experimental support for rendering on offline GPUs for Mac OS X host + + 3D: fixed white window appearing on entering FullScreen mode on OSX host + + 3D: fixed video recording support for 3D data regression (bug #13073) + + 3D: fixes for MS Office 2013 support + + 3D: several fixes + + Bridged Networking: improved IPv6 support when bridging to a wireless interface + + NAT: prevent internal DNS service from stuck in host-resolver mode when host was switched from one network to another one while host was sleeping (Mac OS X hosts) + + NAT: preserve DF (if possible) and TOS when proxying outbound UDP datagrams (bugs #9440, #12309) + + NAT: don't let multicast datagrams out (bug #7338) + + NAT: fixed handling of large incoming UDP datagrams on Windows hosts (bug #12136) + + NAT: fixed handling of the RFC 1533 DHCP PAD option + + NAT Network: fixed inbound half-close on Windows hosts + + NAT Network: preserve IPv4 DF (if possible), TTL, TOS and IPv6 Hop Limit when proxying outbound UDP datagrams + + VRDP: fixed a rare crash when using remote audio input + + USB: fixed several regressions from 4.3.14 (bug #13320) + + Audio: made the HDA sound emulation work with certain OSX guests (e.g. Mountain Lion) + + Windows hosts: fixed startup problems on certain Windows hosts due to conflicts with anti-virus software (4.3.14 regression, bug #13187) + + Windows hosts: fixed 4.3.14 regression whereby AltGr stopped working for some people (bug #13216) + + X11 hosts: made the extra key on Brazilian Thinkpads work (bug #8745) + + X11 hosts: fixed a problem of input focus cycles and immediately released key presses in full screen mode (bug #13238) + + Linux hosts: fixed flooding the kernel log with USB related messages when passing through certain USB devices to a VM (bug #13085) + + Linux guests: stop applications crashing when drm_wait_vblank is called (bug #13265) + + Linux guests: fix a crash in gnome-session (bug #13335) + + X11 guests: do not start VBoxClient over an SSH connection (bug #13107) + + X11 guests: added support for X.Org Server 1.16 (bug #13207) + + X11 guests: fixed a wrong parameter in the video driver which caused problems with full-screen X11 clients (bug #2748) + + VirtualKD: introduced stub/loader device for speeding up Windows kernel debugging, details see http://virtualkd.sysprogs.org/ +- removed virtualbox-xserver-116.patch, already available upstream + +------------------------------------------------------------------- +Mon Sep 8 10:16:53 UTC 2014 - mseben@gmail.com + +- modify hint message in virtualbox-60-vboxdrv.rules, so udev rules + will stay enabled also after package update + +------------------------------------------------------------------- +Tue Aug 5 14:12:43 UTC 2014 - wbauer@tmo.at + +- Updated virtualbox-xserver-116.patch to the actual upstream commits. + The previous version contained outdated X11 includes, so the resulting + vboxvideo driver didn't actually work with Xorg 1.16 in Factory. + +------------------------------------------------------------------- +Mon Jul 21 15:01:28 UTC 2014 - mseben@gmail.com + +- update to version 4.3.14: + + VMM: more fixes for MSR emulation on certain hardware (bugs #12784, #12949, #13034) + + VMM: improve MSI handling under rare circumstances (only relevant for the ICH9 chipset) + + VMM: fixed #UD exception for 64-bit guests with the EFER.SCE bit and the SYSCALL instruction (VT-x only; 4.3 regression; bug #13008) + + VMM: fixed timekeeping after resuming SMP guests + + VMM: properly wake up a halted VCPU on NMI/SMI + + GUI: fixed a potential crash + + GUI: fixed stuck AltGr key on Windows hosts (bug #2537) + + GUI: fixed a potential error during the version check + + GUI: shortcut change should not require Enter/Return (or other trigger) to confirm (bugs #12828, #12847, #12937, #13087) + + GUI: fixed update check which was broken due to changing the location of the root certificates (bug #13096) + + VBoxManage: fixed typo in showvminfo --machinereadable (bug #13176) + + NAT: fixed inbound half-close (bug #13116) + + NAT: fixed slow upload speed under certain conditions (bug #10034) + + NAT Network: fixed potential loss of inbound TCP data + + NAT Network: fixed potential infinite stalls of TCP connections over IPv6 + + NAT Network: fixed resets of TCP connections on Windows hosts + + NAT Network: fixed inbound half-close on Mac OS X hosts + + NAT Network: fixed socket leak on Solaris hosts + + NAT Network: fixed ping of mapped host loopback on Mac OS X and Solaris hosts, fixed proxying of IMCP errors on Mac OS X + + Host-Only Network: fixed SNMP ifConnectorPresent value on Windows (bug #13143) + + Storage: fixed a possible crash with CD/DVD passthrough under certain circumstances + + Storage: fixed a crash when trying to open an inaccessible QED or QCOW image (bug #12613) + + Storage: fixed data corruption or read errors under rare circumstances + + AHCI: fixed a crash under rare circumstances + + USB: performance fixes + + ICH9: properly reset MSI capability on reset + + Keyboard: active modifier keys during suspend were stuck after resuming the host + + 3D: fixed misbehavior with huge guests (i.e. guest more than 4GB guest memory + + 3D: several fixes + + API: properly detect the Windows 8.1 guest OS type (bug #13090) + + ExtPack: cleanup of dangling uninstallation directories + + Linux hosts / guests: compile fix for EL7 (bug #12638) + + Linux Additions: made 3D pass-through work with recent versions of Mesa in the guest (bug #12941) + + Linux Additions: Linux 3.16 fixes (bug #13123) + + Mac OS X hosts: when scanning for host CD/DVD devices also consider BlueRay devices + + OS/2 Additions: fixed gengradd.dll library name (bug #12785) + + Solaris Additions: fixed permissions of files and directories located on shared folders + + Windows host installer: fixed the need for rebooting Windows after installation or upgrade, extended logging for NetFlt/NetAdp (un)installation + +------------------------------------------------------------------- +Tue May 27 18:46:58 UTC 2014 - mseben@gmail.com + +- Update ot version 4.3.12: + + VMM: fixed an occasional Guru Meditation (Mac OS X hosts only; bugs #12727, #12954) + + VMM: fixed a rare condition that would fail to invalidate guest TLB entries or would invalidate them when not required (Windows hosts only) + + VMM: fixed a VERR_NOT_SUPPORTED Guru Meditation seen with certain guests, e.g. OpenServer 5.0.7 + + VMM: more fixes for MSR emulation on certain hardware (tickets #12240, #12875) + + GUI: fixed mouse positioning with mouse integration disabled and multiple guest screens (Windows hosts only; bug #9059) + + GUI: fixed crash in VM manager (bug #12878) + + GUI: fixed crash under rare conditions on entering/exiting fullscreen/seamless mode + + Shared Clipboard: don't stop working after taking a snapshot (bug #12700) + + AHCI: fixed a crash under rare circumstances + + API: fixed a hang during VM shutdown under rare conditions + + NAT: fixed generation of malformed ICMP error datagrams (4.3.10 regression) + + NAT: fixed potential crash in DNS proxy + + NAT Network: don't drop port forwarding rules after some time + + NAT: fixed ARP cache corruption and network loss in Windows guest caused by iSCSI service activity + + USB: improved check if a storage device is currently mounted to the host when the device is about to be attached to the VM (Mac OS X hosts only; #11038) + + 3D support: several fixes, including better support for Ubuntu 14.04 + + VRDP: fixed a potential crash on client disconnect (bug #12858) + + VBoxSVC: fixed a race when a new client is started a few seconds after the last client terminated (Windows hosts only; bugs #11309, #12509) + + VBoxSVC: fixed VirtualBox.xml registry corruption after VM renaming + + VBoxSVC: fixed a potential crash caused by incorrect USB device filter (Mac OS X hosts only; #11038) + + Windows hosts: partly support 32-bit COM on 64-bit systems + + Windows host installer: implemented merge module (msm) support + + Linux hosts: fixed dependency of boot script on older Debian systems (bug #12262) + + Linux guests: fix symbolic link to shared folder helper (bug #12879) + + Linux Additions: don't crash VBoxService during guest execute for users without a password (bug #12994) + + Linux Additions: fixed a bug in guest execution where the guest process terminated with VERR_INTERRUPTED to the host + +------------------------------------------------------------------- +Mon May 5 21:52:39 UTC 2014 - speilicke@suse.com + +- Update to version 4.3.10: + + VMM: more work on improving the emulation of certain MSR registers on certain host CPUs (e.g. bugs #12734, #12736, #12744, #12748, #12686, #12770) + + VMM: fixed single-stepping for real-mode guests (VT-x without unrestricted guest execution) and some I/O instructions (bug #12636) + + VMM: fixed a potential problem with COW pages if nested paging is not available + + GUI: Mac OS X: experimental native full screen support for Mountain Lion and Mavericks (bug #12292) + + GUI: Mac OS X: removed the mini-toolbar minimize button which doesn't work under Mac OS X full screen mode anyway + + GUI: experimental HID LEDs synchronization for Windows and Mac OS X hosts: fixed keyboard re-synchronization if the feature is disabled (as done by default; bug #12758) + + GUI: fixed a potential crash when opening the preferences menu (bug #12862) + + OVF: fixed a crash of the VirtualBox Manager when re-starting guest export (bug #12586) + + 3D support: several fixes + + HGCM: fixed a problem with saved states which could cause several guest misbehavior after a VM was started from a saved state + + Storage: fixed a bug preventing to compact differential snapshots under certain conditions + + VBoxSVC: fixed a segmentation fault on Linux hosts if a very long path exists under /dev (bug #12760) + + API: fixed guest misbehavior under certain conditions if a storage medium was attached or removed at VM runtime + + Windows installer: make the --silent parameter work again (bug #12764) + + Linux Additions: install correctly on Ubuntu guest systems with a /usr/lib64 directory (bug #12513) + + X11 Additions: fix for the VBoxClient process not exiting correctly (bug #12348) and consuming too much processor time +- Refresh virtualbox-xserver-116.patch to xorg-server-1.15.99.902 with + x.org video driver protocol version 17.0 +- Set mode of /usr/lib/virtualbox/VirtualBox to 4750 to match /etc/permissions.easy + as newly complained by chkstat (due to ro's change) + +------------------------------------------------------------------- +Mon Mar 24 12:36:47 UTC 2014 - speilicke@suse.com + +- Add Virtualbox-xserver-1.16.patch: Compatibility with xserver-1.16 + +------------------------------------------------------------------- +Mon Mar 3 14:59:27 UTC 2014 - speilicke@suse.com + +- Update to version 4.3.8: + + VMM: more work on improving the emulation of certain MSR registers (e.g. bugs #12224, #12544) + + VMM: fixed a VERR_INVALID_RPL Guru Meditation when booting certain guests (bug #11350) + + VMM: experimental support for SSE 4.1 / SSE 4.2 passthrough, see the manual for more information how to enable it (bug #8651) + + VMM: fix for recent Linux kernels with software virtualization + + GUI: experimental HID LEDs synchronization for Windows hosts, see the manual for more information + + GUI: warn the user if the Oracle Extension Pack is not installed and the user tries to activate the remote display feature (bug #9104) + + GUI: make sure that a minimized guest (using mini toolbar in fullscreen/seamless mode) keeps the minimized state (bug #12199) + + GUI: popup banner's "do not show this message again" check-box replaced with corresponding button + + GUI: network adapter cables can now be connected/disconnected directly through the running virtual machine Devices / Network menu a Network status-bar indicator + + GUI: the new VM wizard now proposes 64-bit guests on 64-bit hosts by default; better distinction between 32-bit OS types 64-bit OS types (bug #12533) + + GUI: better error message if appliance import fails (bug #12657) + + GUI: allow to set host-combination to 'None' using the Global settings / Input page (bug #12730) + + GUI: don't switch the guest to a black screen during online snapshot merge (4.3 regression) + + VBoxManage: when exporting an appliance, support the suppression of MAC addresses, which means they will be always recreated on import, avoiding duplicate MAC addresses for VMs which are imported several times + + AHCI: fixed a VM hang during suspend under certain circumstances + + AHCI: fixed a VM hang during online snapshot merge under certain circumstances + + AHCI: fixed a bug which resulted in Windows XP guest hangs if a SATA CDROM is attached (bug #12417) + + AHCI: fixed a Guru Meditation under certain conditions + + AHCI: ejecting a CD/DVD medium failed under certain conditions + + AHCI: disk hotplugging fixes + + NAT: transparent handling of host sleep/resume and network configuration changes if the dnsproxy is enabled or if the hostresolver is used (bug #12441) + + NAT: fixed crash and misbehaviour under some circumstances with ICMP packets having TTL=1 + + NAT Network: fixed IPv6 reassembly + + NAT Network: ping proxy implemented + + OVF: fixed reading of the OVF 0.9 section element (4.3 regression; bug #12345) + + OVF: several fixes + + 3D: several fixes, multiscreen fixes (e.g. bug #9124) + + 3D: include 3D content in captured videos (bug #12666) + + 3D: include 3D content in captured screenshot (bug #11758) + + VGA: proper handling of legacy graphics modes if the Guest Additions are active (bug #6649) + + USB: fixed crash during isochronous transfer under rare circumstances + + BIOS: better disk geometry handling of SCSI drives + + API: fix crashes in Java API clients using the XPCOM binding, happened with output parameters only (bug #11232) + + VBoxSVC: documented the handling of host power management events (see the manual for more information) and added an extradata item for configuring the handling of the battery-low event (bug #9925) + + VBoxSVC: fixed a bug which could trigger a crash if a VM snapshot was restored the second time and the VM has associated bandwidth groups (bug #12569) + + VBoxSVC: properly detect ifconfig if located in /bin (bug #12713) + + Shared Folders: fixed a failure to restore transient shared folders when starting a VM from a saved state (bug #12578) + + Mac OS X hosts: fixed issue when the application icon was frozen in the dock if the bridging interface was not connected to a network (bug #12241) + + Linux hosts: also consider the physical package ID when determining the number of physical CPU cores + + Linux hosts / guests: don't warn in kernel log if memory allocation fails (bug #11171) + + Solaris hosts: fixed the autostart SMF script (bug #11720) + + Windows hosts: fixes for non-ANSI code page user names and similar environment contents (bug #12596) + + Windows hosts / guests: fixed setting and using a guest user's process environment variables (relevant for Guest Control) + + Windows Additions: fixed handle leaks in VBoxTray (bug #12563) + + Windows Additions: fixed a crash while detecting active guest users + + Windows Additions: fixed restoring backed up D3D files on XPDM -> WDDM upgrade + + Guest Control: fixed setting and using a guest user's process environment variables + + Linux Additions: support Enterprise Linux 6.5 kernels (bug #12505) + + Linux Additions: fixed CPU hot-remove on newer Linux kernels + + Linux / Solaris Additions: don't automount a shared folder which is already mounted + + X11 Additions: support X.Org Server 1.15 (bug #12623) +- Rebased patches: + + vbox-default-os-type.diff + + vbox-no-build-dates.diff +- Dropped patches: + + virtualbox-xorg-1.15.patch (merged upstream) + +------------------------------------------------------------------- +Sun Jan 19 19:27:43 UTC 2014 - andreas.stieger@gmx.de + +- fix build (script handling) + +------------------------------------------------------------------- +Sun Jan 19 18:14:54 UTC 2014 - speilicke@suse.com + +- Add missing %{_vbox_instdir}/VBoxNetNAT.so + +------------------------------------------------------------------- +Thu Jan 17 16:45:32 UTC 2014 - speilicke@suse.com + +- Update to version 4.3.6: + + VMM: fixed a Guru Meditation VINF_EM_TRIPLE_FAULT caused by VMCB caching with nested paging on certain AMD CPUs (bug #12451) + + VMM: fixed a Guru Meditation VERR_VMX_UNEXPECTED_INTERRUPTION_EXIT_TYPE while intercepting debug exceptions (VT-x only; bug #12410) + + VMM: fixed a Guru Meditation VERR_SVM_UNEXPECTED_EXIT while intercepting debug register accesses (AMD-V only; bug #12481) + + VMM: fixed a VERR_SSM_STRUCTURE_MAGIC error when trying to load a saved state made with VBox 4.3.4 when VT-x/AMD-V is disabled. Unfortunately, VBox 4.3.4 produced broken saved states for this configuration so you have to discard these states (bug #12414) + + VMM: added a few more MSRs to the whitelist required by certain guests (bug #12245) + + GUI: fixed deleting of inaccessible VMs (4.3 regression, bug #12205) + + GUI: fixed warnings in VM settings / number of guest processors (bug #12480) + + Main: don't automatically enable 64-bit guests on 64-bit hosts if VT-x/AMD-V is not available (bug #12424) + + Main: always expose the DMI memory information to Windows 2012 guests (bug #12017) + + Main: fixed occasional crashes on guest display resolution change (bug #7063) + + Main: fixed reporting back temporary name when calling IGuestSession::DirectoryCreateTemp() (bug #12498) + + API: fix for a hang when launching a GUI VM through the API, which crashes due to GUI unavailability + + Storage: fix for BLKCACHE_IOERR runtime errors under rare circumstances (bug #11030) + + Network: allow to start more than 5 PCNet instances (bug #12426) + + E1000: if the cable was disconnected before the guest initialized the device, the link status was not properly set to 'down' after the initialization completed despite the fact that there was no connection + + 3D support: fixed offset of guest 3D image elements (Mac OS X Retina hosts only; bug #11021) + + Solaris hosts: fixed accessing the host driver from non-global zones (4.3 regression, bug #12271) +- For more changes see https://www.virtualbox.org/wiki/Changelog +- Add source services (refresh_patches ATM) +- Rebased patches: + + vbox-disable-updates.diff (only offset) + + vbox-fpie.diff (only offset) + + vbox-deprec-gsoap-service-proxies.diff (manually) + + vbox-gsoapssl-deps.diff (manually) + + vbox-no-build-dates.diff (manually) + + vbox-permissions_warning.diff (manually) + + vbox-python-detection.diff (manually) + + vbox-smc-napa.diff (manually) + + vbox-vboxdrv-init-script.diff (manually) + + vbox-vboxweb-init-script.diff (manually) + + virtualbox-xorg-1.15.patch (only offset) +- Dropped patches: + + vbox-ret-in-nonvoid-fnc.diff (obsolete) +- Fix smp_mflags typo +- Add buildrequires: device-mapper-devel, libvpx-devel + +------------------------------------------------------------------- +Wed Jan 15 09:45:05 UTC 2014 - sndirsch@suse.com + +- added virtualbox-xorg-1.15.patch to support xorg-server 1.15 + +------------------------------------------------------------------- +Thu Jan 09 12:14:51 UTC 2014 - joerg.lorenzen@ki.tng.de + +- added subpackage virtualbox-guest-desktop-icons, contains icons + to provide os-specific icons for guest desktop files created on desktop. + +------------------------------------------------------------------- +Fri Dec 13 19:43:37 UTC 2013 - coolo@suse.com + +- update to 4.2.20, this is a maintenance release. The following items were fixed and/or added: + + * GUI: always report recommended resolutions for all monitors (not always done since 4.2.12) + * GUI: make sure the assigned license and description are attached to the exported appliance + * GUI: the OS X hot corners were not accessible while a VirtualBox VM is running (Mac OS X hosts only; bug #4139) + * NAT: don't run into an infinite loop in case the host cannot access any DNS server (bug #12300) + * NAT: don't re-connect the cable if the DNS information changes and the cable was disconnected before (bug #12225) + * Main: properly save the passthrough flag for DVD drives without an attached medium + * Keyboard: fixed a VM crash if a VM was resumed from a saved state where at least one key was pressed (bug #11289) + * 2D Video acceleration: fix crashes on presentation mode switches (bug #9194) + * Storage: fixed errors with snapshots when using QCOW or QED disk images + (bug #12144) + * Storage: fix for newer Linux kernels not detecting a hard disk as SSD when + using the IDE or SATA controller (bug #12025) + * Storage: fixed detection of CD/DVD media when switching from an empty to a + host drive with passthrough enabled + * Snapshots: fixed a bug which could result in lost medium attachments + (4.2.18 regression, bug #11750) + * Shared Clipboard: fixed potential SEGFAULT when working with UTF8 and UTF16 + content (Mac OS X hosts only) + * OVF: fixed import logic for OVF appliances containing multiple VMs + * Extpack Installer: make it work if the file is located in a folder with + special characters + * SDK: extended the functionality coverage for the C bindings + * API: block the removal of the current snapshot if it has child snapshots + (only relevant for VMs without snapshottable hard disks, their presence + always prevented removal), which resulted in VM config corruption + * API: mark VM configs with snapshots but without current snapshot as + inaccessible, as this combination is nonsense + * API: fixed information for some automatically generated events (only with + XPCOM, Windows host was not affected), which caused errors when getting + some of the attributes over the webservice (bug #12379) + * Mac OS X hosts: support for Mac OS X 10.9 (Mavericks) + * Mac OS X hosts: properly sign the kernel extensions for Mavericks hosts + (bug #12256) + * Mac OS X hosts: use a launchd script instead of the deprecated StartupItem + mechanism (bug #8940) + * Mac OS X hosts: fixed a bug where the VirtualBox dock icon was not properly + removed from the dock after a VM terminated preventing Mavericks hosts from + shutting (bug #12241) + * Linux Additions: Linux 3.13 compile fix (bug #12358) + * Linux Additions: Linux 3.12 compile fix (bug #12083) + * Linux Additions: Linux 3.11 fix for shared folders (bugs #11946, #12128) + * Linux Additions: compile fix for SLES11 SP3 + * Linux Additions: correctly set umask before installing (bug #12166) + * Linux Additions: build the vboxvideo kernel module correctly on OL/RHEL 6.1 + guests (bug #11996) + * Linux Additions: make 3D work on Slackware 14.1 (bug #12320 comments 3 and 4) + * Windows Additions: fixed memory leak caused by WTSQuerySessionInformation() + on Windows 2000 guests (bug #12072) + * Windows Additions: multimonitor resize fixes + * X11 Additions/3D: fix freezes starting 3D desktop (bug #11503, thank you + Sam Spilsbury) + * Guest additions/3D: fix an occasional dead-lock (bug #12319) +- obsolete vbox-shared-folder.diff + +------------------------------------------------------------------- +Thu Oct 24 23:34:41 UTC 2013 - mgorse@suse.com + +- added vbox-shared-folder.diff to fix shared folders (bnc#841673). + +------------------------------------------------------------------- +Wed Sep 25 11:35:04 UTC 2013 - wbauer@tmo.at + +- install udev rules and VBoxCreateUSBNode.sh to the correct + directories (bnc#799741) + +------------------------------------------------------------------- +Sun Sep 15 06:14:34 UTC 2013 - mseben@gmail.com + +- deprecated vbox-linux-3.11.diff +- updated to virtualbox 4.2.18 + * VMM: properly handle NMIs on Linux hosts with X2APIC enabled + * VMM: fixed potential crashes with 64-bit guests on 32-bit hosts (bug #11979) + * GUI / seamless: properly handle mouse wheel scroll events + * GUI, VBoxManage: when unregistering a VM, also unregister the hard disk images which are used exclusively (bug #10311) + * GUI: prevent crashes under certain conditions on X11 hosts + * 3D: multiscreen fixes (incorrect mouse position, flickers) + * 3D Support: several fixes for the Windows WDDM video driver (multiscreen, seamless) + * Snapshots: made live snapshots work again (bug #9255) + * Teleportation: made it work again (bug #9455) + * VBoxManage: on snapshot take, --pause is default and --live is for doing live snapshots + * VBoxSVC: don't crash on systems with many VLAN interfaces (Solaris hosts only) + * Network: after the host resumes from suspend, disconnect and reconnect the virtual network cables to force renewing the DHCP leases for the guests. So far only Mac OS X hosts and Windows hosts (bug #10063). + * NAT: on name server changes force a reconnect of the virtual network cable to notify the guest (Mac OS X hosts only) + * Mac OS X installer: keep previously installed Extension Packs on VirtualBox upgrade + * Linux hosts / guests: Linux 3.11 fixes (bug #12001) + * Solaris hosts: fixed a potential kernel panic caused due to unexpected preemption due to logging. + * Windows hosts: fixed an issue with USB2 devices being inaccessible when plugged into USB3 ports. + * Linux Additions: added PCI device identifier to vboxvideo.ko fixing DRI initialization under certain conditions (bug #11957) + * Linux Additions: fixed udev detection in the init script with Linux 3.x kernels + +------------------------------------------------------------------- +Fri Aug 30 06:50:23 UTC 2013 - mseben@gmail.com + +- added vbox-linux-3.11.diff to fix build (upstream patch : https://www.virtualbox.org/changeset/47588/vbox) + +------------------------------------------------------------------- +Wed Jul 24 07:31:24 UTC 2013 - mseben@gmail.com + +- updated to virtualbox 4.2.16 + * OVF/OVA: don't crash on import if no manifest is used (4.2.14 regression; bug #11895) + * GUI: do not restore the current snapshot if we power-off after a Guru Mediation + * Storage: fixed a crash when hotplugging an empty DVD drive to the VM + * Storage: fixed a crash when a guest read from a DVD drive attached to the SATA controller under certain circumstances + * EFI: don't fail with 64-bit guests on 32-bit hosts (bug #11456) + * Autostart: fixed VM startup on OS X + * Windows hosts: native Windows 8 controls + * Windows hosts: restore native style on Vista 32 + * Windows hosts / guests: Windows 8.1 adaptions (bug #11899) + +------------------------------------------------------------------- +Tue Jul 2 14:53:38 UTC 2013 - sndirsch@suse.com + +- install 1.14 vboxvideo driver on openSUSE 13.1 (bnc#826326) + +------------------------------------------------------------------- +Sun Jun 30 11:20:39 UTC 2013 - mseben@gmail.com + +- updated to virtualbox 4.2.14 + * VMM: another TLB invalidation fix for non-present pages + * VMM: fixed a performance regression (4.2.8 regression; bug #11674) + * GUI: fixed a crash on shutdown + * GUI: prevent stuck keys under certain conditions on Windows hosts (bugs #2613, #6171) + * VRDP: fixed a rare crash on the guest screen resize + * VRDP: allow to change VRDP parameters (including enabling/disabling the server) if the VM is paused + * USB: fixed passing through devices on Mac OS X host to a VM with 2 or more virtual CPUs (bug #7462) + * USB: fixed hang during isochronous transfer with certain devices (4.1 regression; Windows hosts only; bug #11839) + * USB: properly handle orphaned URBs (bug #11207) + * BIOS: fixed function for returning the PCI interrupt routing table (fixes NetWare 6.x guests) + * BIOS: don't use the ENTER / LEAVE instructions in the BIOS as these don't work in the real mode as set up by certain guests (e.g. Plan 9 and QNX 4) + * DMI: allow to configure DmiChassisType (bug #11832) + * Storage: fixed lost writes if iSCSI is used with snapshots and asynchronous I/O (bug #11479) + * Storage: fixed accessing certain VHDX images created by Windows 8 (bug #11502) + * Storage: fixed hang when creating a snapshot using Parallels disk images (bug #9617) + * 3D: seamless + 3D fixes (bug #11723) + * 3D: version 4.2.12 was not able to read saved states of older versions under certain conditions (bug #11718) + * Main/Properties: don't create a guest property for non-running VMs if the property does not exist and is about to be removed (bug #11765) + * Main/Properties: don't forget to make new guest properties persistent after the VM was terminated (bug #11719) + * Main/Display: don't lose seamless regions during screen resize + * Main/OVF: don't crash during import if the client forgot to call Appliance::interpret() (bug #10845) + * Main/OVF: don't create invalid appliances by stripping the file name if the VM name is very long (bug #11814) + * Main/OVF: don't fail if the appliance contains multiple file references (bug #10689) + * Main/Metrics: fixed Solaris file descriptor leak + * Settings: limit depth of snapshot tree to 250 levels, as more will lead to decreased performance and may trigger crashes + * VBoxManage: fixed setting the parent UUID on diff images using sethdparentuuid + * Linux hosts: work around for not crashing as a result of automatic NUMA balancing which was introduced in Linux 3.8 (bug #11610) + * Windows installer: force the installation of the public certificate in background (i.e. completely prevent user interaction) if the --silent command line option is specified + * Windows Additions: fixed problems with partial install in the unattended case + * Windows Additions: fixed display glitch with the Start button in seamless mode for some themes + * Windows Additions: Seamless mode and auto-resize fixes + * Windows Additions: fixed trying to to retrieve new auto-logon credentials if current ones were not processed yet + * Windows Additions installer: added the /with_wddm switch to select the experimental WDDM driver by default + * Linux Additions: fixed setting own timed out and aborted texts in information label of the lightdm greeter + * Linux Additions: fixed compilation against Linux 3.2.0 Ubuntu kernels (4.2.12 regression as a side effect of the Debian kernel build fix; bug #11709) + * X11 Additions: reduced the CPU load of VBoxClient in drag'and'drop mode + * OS/2 Additions: made the mouse wheel work (bug #6793) + * Guest Additions: fixed problems copying and pasting between two guests on an X11 host (bug #11792) + +------------------------------------------------------------------- +Fri May 3 19:41:51 UTC 2013 - mseben@gmail.com + +- updated to virtualbox 4.2.12 + * VMM: fixed a Guru Meditation on putting Linux guest CPU online if nested paging is disabled + * VMM: invalidate TLB entries even for non-present pages + * GUI: Multi-screen support: fixed a crash on visual-mode change + * GUI: Multi-screen support: disabled guest-screens should now remain disabled on visual-mode change + * GUI: Multi-screen support: handle host/guest screen plugging/unplugging in different visual-modes + * GUI: Multi-screen support: seamless mode: fixed a bug when empty seamless screens were represented by fullscreen windows + * GUI: Multi-screen support: each machine window in multi-screen configuration should have correct menu-bar now (Mac OS X hosts) + * GUI: Multi-screen support: machine window View menu should have correct content in seamless/fullscreen mode now (Mac OS X hosts) + * GUI: VM manager: vertical scroll-bars should be now updated on content/window resize + * GUI: VM settings: fixed crash on machine state-change event + * GUI: don't show warnings about enabled or disabled mouse integration if the VM was restored from a saved state + * Virtio-net: properly announce that the guest has to handle partial TCP checksums (bug #9380) + * Storage: Fixed incorrect alignment of VDI images causing disk size changes when using snapshots (bug #11597) + * Audio: fixed broken ALSA & PulseAudio on some Linux hosts due to invalid symbol resolution (bug #11615) + * PS/2 keyboard: re-apply keyboard repeat delay and rate after a VM was restored from a saved state (bug #10933) + * BIOS: updated DMI processor information table (type 4): corrected L1 & L2 cache table handles + * Timekeeping: fix several issues which can lead to incorrect time, Solaris guests sporadically showed time going briefly back to Jan 1 1970 + * Main/Metrics: disk metrics are collected properly when software RAID, symbolic links or rootfs are used on Linux hosts + * VBoxManage: don't stay paused after a snapshot was created and the VM was running before + * VBoxManage: introduced controlvm nicpromisc (bug #11423) + * VBoxManage: don't crash on controlvm guestmemoryballoon if the VM isn't running (bug #11639) + * VBoxHeadless: don't filter guest property events as this would affect all clients (bug #11644) + * Guest control: prevent double CR in the output generated by guest commands and do NLS conversion + * Linux hosts / guests: fixed build errors on Linux 3.5 and newer kernels if the CONFIG_UIDGID_STRICT_TYPE_CHECKS config option is enabled (bug #11664) + * Linux Additions: handle fall-back to VESA driver on RedHat-based guests if vboxvideo cannot be loaded + * Linux Additions: RHEL/OEL/CentOS 6.4 compile fix (bug #11586) + * Linux Additions: Debian Linux kernel 3.2.0-4 (3.2.39) compile fix (bug #11634) + * Linux Additions: added auto-logon support for Linux guests using LightDM as the display manager + * Windows Additions: Support for multimonitor. Dynamic enable/disable of secondary virtual monitors. Support for XPDM/WDDM based guests + * X11 Additions: support X.Org Server 1.14 (bug #11609) + +------------------------------------------------------------------- +Fri Apr 26 08:10:58 UTC 2013 - fcrozat@suse.com + +- Move udev rules to /usr/lib/udev/rules.d for openSUSE 12.3 (and + later) and to /lib/udev/rules.d for older distributions. + +------------------------------------------------------------------- +Fri Apr 19 14:56:41 UTC 2013 - coolo@suse.com + +- it fails without alsa-devel installed, so buildrequire it (somehow + no longer dropped in) + +------------------------------------------------------------------- +Mon Apr 8 07:47:34 UTC 2013 - coolo@suse.com + +- add a _constraints file to avoid random failures on small workers + +------------------------------------------------------------------- +Sun Mar 31 06:49:28 UTC 2013 - mseben@gmail.com + +- added vbox-deprec-gsoap-service-proxies.diff to fix deprecated old-style C++ service proxies (use soapcpp2 -z1 flag) +- added vbox-gsoapssl-deps.diff as workaround to fix build + +------------------------------------------------------------------- +Fri Mar 29 14:07:28 UTC 2013 - mseben@gmail.com + +- added VBoxCreateUSBNode.sh from vbox upstream for creating usb device nodes, + by default this feature is disabled so you have to enable it in vbox udev rules by hand (bnc#799741) +- updated to virtualbox 4.2.10 + * GUI: fixed keyboard with XQuartz X server (bug #10664) + * Main/Display: fixed a crash with multi-monitors under certain conditions (Mac OS X hosts only) + * Main/Properties: fixed a crash under certain conditions, for example after wakeup from host hibernate (bug #11444) + * Settings: don't lose the internal network settings if they are not currently active + * Storage: another incompatibility fix for VHD differencing images with Hyper-V (bug #5990) + * VBoxManage: don't read beyond the end of the file specified with export --eulafile (bug #11528) + * Linux hosts / guests: Linux 3.9-rc0 compile fixes (bug #11529) + * Linux Additions: fixed two warnings in the shared folders guest kernel module (bug #11390) + * Linux Additions: don't crash VBoxService if libdbus is not available (bug #8638) + * Windows Additions: fixed upgrading MultiMedia Redirection (MMR) support + +------------------------------------------------------------------- +Wed Mar 20 12:01:20 UTC 2013 - sndirsch@suse.com + +- make HW Supplements for x11 subpackage conditional on + xorg-x11-server package (bnc#810333) + +------------------------------------------------------------------- +Sun Mar 3 11:19:44 UTC 2013 - mseben@gmail.com + +- updated to virtualbox 4.2.8 +* VMM: fixed guest crash with huge amount of guest RAM on VT-x hosts (bug #11306) +* GUI: fixed a layout bug in the Mac OS X clone VM dialog (bug #10982) +* GUI: not all the translation tags were taken into account during the language switch (bug #11342) +* GUI: take guest screenshot dialog sometimes had no keyboard input available on Windows host +* Main/Machine: fix generation of spurious event for inaccessible VMs which triggered an endless event generation loop in cooperation with the GUI which became unresponsive (4.2.6 regression, bug #11323) +* Main/Display: fix for an access violation under certain conditions in multi-monitor configurations (bug #10539) +* Main/Metrics: network metrics are now collected for active (up) interfaces only, the state of an interface being evaluated when the associated metric is enabled via setupMetrics +* Snapshots: reduce the time for merging snapshots under certain conditions +* Storage: fixed data corruption after resizing a VDI image under certain circumstances (bug #11344) +* Storage: fixed non working online merging of snapshots (4.2.6 regression, bug #11359) +* Storage: fixed crash when connecting to certain QNAP iSCSI targets +* Storage: fixed incompatibility of VHD differencing images with Hyper-V (bug #5990) +* Bridged Networking: fixed TCP pseudo header checksum computation for IPv6 (bug #9380) +* 3D support: fix Battlefield 1942 game crashes (bug #11369) +* Settings: really sanitize the name of VM folders and settings file, the code was disabled before (bug #10549) +* Settings: allow to change VRDE settings for saved VMs +* VBoxManage: don't crash during screenshotpng if there is no display (bug #11363) +* Linux hosts: work around gcc bug 55940 which might lead to wrong kernel module code if gcc 4.7 is used to compile the 32-bit Linux host kernel (bug #11035) +* Linux hosts: fixed inconsistent lock state and deadlock warnings on module load and VM startup when CONFIG_PROVE_LOCKING is enabled (bug #11318) +* Linux hosts: made "]" key work again on Japanese keyboards +* Mac OS X hosts: don't crash the kernel during dtrace if the VBox kernel extensions are loaded (10.6 hosts only; bug #11273) +* Solaris / Mac OS X hosts: machine CPU load metrics now report 100% when all cores are fully utilized (used to be a single core) +* Solaris 11 host installer: wait for any services left over from a previous installation to be terminated to avoid confusing SMF. +* Guest Additions: don't block signals for processes executed via guest control +* Guest Additions: fixed a small memory leak in VBoxService (bug #10970) +* Windows Additions: fixed shared folder issue with large reads/writes on 64 bit Windows guests (bug #11115) +* Linux Additions: Linux 3.8 compile fixes (bug #11036) +* X11 Additions: fixed blocked SIGALRM in 3D desktop sessions (bug #10987) +* X11 Additions: fixed an unresolved reference in vboxvideo_drv for X.org 6.8 guests and before (e.g. RHEL4; 4.2.0 regression) +* X11 Additions: fixed screen automatic resizing for guests with X.org 1.3 or older (4.2.0 regression) + +------------------------------------------------------------------- +Fri Mar 1 22:07:32 UTC 2013 - crrodriguez@opensuse.org + +- vboxadd init script should not do anything if not running + in a virtualbox guest. + +------------------------------------------------------------------- +Mon Jan 21 10:32:45 UTC 2013 - sndirsch@suse.com + +- install 1.13 vboxvideo driver on openSUSE 12.3 (bnc#799480) + +------------------------------------------------------------------- +Sat Dec 29 08:22:27 UTC 2012 - mseben@gmail.com + +- updated to virtualbox 4.2.6 +* VMM: don't inject stale VT-x events to prevent crashes after VM reset (bug #11256) +* VMM: workaround for buggy BIOSes which enable MONITOR only for certain CPUs (bugs #9460, #10686) +* GUI: fixed trimming of anti-aliased text in details-view element headers (4.2.0 regression) +* GUI: fixed create-settings-file-alias functionality on Mac hosts (4.2.0 regression) +* GUI: fixed take-guest-screenshot functionality on Windows hosts (bug #11095) +* GUI: several minor fixes, including palette fixes (bug #11191) +* GUI: fixed Windows 2012 OS type (bug #11206) +* GUI: allow to terminate the VM even if VBoxSVC crashed +* API: fixed cancelling of snapshots, previously this could lead to inconsistent VM configs (bug #6877) +* API: fixed identifying disk images by UUID (bug #11209) +* 3D Support: several fixes +* VRDP: fixed occasional crash with external authentication (bug #11156) +* VGA: fix for double scan text modes +* USB: fixed invalid pending request count at the time of service of DEVICE POWER requests (Windows hosts only; bugs #10021, #11056) +* USB keyboard: Korean keyboard workaround (bug #11150) +* Storage: fixed hang with QCOW images and asynchronous I/O enabled +* Storage: fixed hang with newer VHD images (bug #11279) +* Storage: actually write the non-rotational flag to the VM settings (4.2.0 regression) +* Virtio-net: fixed the problem with network statistics counters in Session Information dialog (GUI) +* Metrics: introduced network rate and disk usage metrics +* Metrics: fixed a crash under certain conditions on Solaris hosts +* BIOS: fix for El Torito +* Shared Folders: if the host folder of a shared folder mapping does not exist, keep it active but mark it as invalid to prevent inconsitent saved states (bug #11147) +* VBoxManage: fixed converting disks from raw images +* VBoxManage: show snapshot description in the VM or snapshot information +* VBoxManage: make implicit opening of media consistent in all places dealing with media +* VBoxManage: the iSCSI initiator name was not stored in the settings file when doing storageattach (bug #11212) +* VBoxManage: metrics collect now properly handles 'CPU/MHz' and 'Net/*/LinkSpeed' metrics +* VBoxManage: changing the image UUID or parent UUID as part of storageattach works now in all safe cases +* VBoxManage: introduced storageattach --medium additions as a shortcut to mount the additions image (bug #11165) +* OVF: fixed importing OVF files cerated by recent VMware products (bug #10905) +* Linux hosts / Bridged Networking: fixed the problem with leaking connections in conntrack (bug #11178) +* Linux Additions: added support for ConsoleKit sessions in the vminfo service of VBoxService +* Linux Additions: don't crash during remount under certain conditions (bug #11291) +* Linux/Solaris Additions: fixed guest memory metrics collection +* Solaris hosts: added a dependency to ensure that the user directories are reachable when starting VBox services +* Windows host installer: integrated user-contributed translations, thanks to all contributors! +* Windows Additions: fixed auto-logon installation for Windows 8 +* Windows Additions: don't fail if the shared folders host service is not available +* Windows Additions: fixed Guest Additions startup on Windows 2000 guests (bug #11253) +* Windows Additions: auto-resize fixes for Windows 8 guests + +------------------------------------------------------------------- +Sat Nov 3 08:16:40 UTC 2012 - mseben@gmail.com + +- updated to virtualbox 4.2.4 +* GUI: fixed validation warning on global settings / proxy page (4.2.2 regression, bug #11089) +* GUI: fixed crash with multiple guest screens on certain conditions (OS X hosts only) +* VBoxBalloonCtrl: fixed command line argument handling of ballooning module +* VRDP: fixed occasional crash during a video playback in the guest (bug #11082) +* BIOS: fixed broken DMI information (4.2 regression) +* BIOS: workaround for booting from Windows 2000 floppy disks +* EFI: fixed video mode selection loss on VM reboot (#10983) +* Parallel: fixed parallel port printing failure/ paper queue empty error (Windows hosts only) +* NAT: fixed crash on alias-less DNS responses when host-resolver is used +* Storage: fixed hang under rare circumstances + +------------------------------------------------------------------- +Sun Oct 21 16:03:10 UTC 2012 - mseben@gmail.com + +- updated to virtualbox 4.2.2 +* VMM: adapted to changes in Mac OS X 10.8.2 (bug #10965) +* GUI: restored VM item tool-tip functionality (4.2 regression) +* GUI: added group item tool-tip functionality +* GUI: fixed handling of the .ova/.ovf file name association (4.2 regression) +* GUI: it was not possible to change any setting before the first VM was created (bug #10928) +* GUI: disable grouping action if all the selected items are full children list of the same group already +* GUI: added menu for runtime drag-and-drop option change +* GUI: cleanup shared-clipboard menu on visual-mode change +* GUI: make sure VM receives keyboard focus on entering fullscreen-mode on Win host (bug #11051) +* GUI: disable proxy authentication for security reasons +* 3D Support: DrawIndexedPrimitiveUP implementation fixes for the Windows WDDM video driver (bug #10929) +* Storage: fixed a release assertion in the AHCI emulation when requests where canceled with asynchronous I/O disabled +* Storage: fixed a hang during VM reset under certain circumstances (bug #10898) +* NAT: fixed a crash under rare circumstances (Windows hosts only; bug #10128) +* NAT: automatically use the host resolver if the host name server is set to some unusual loopback value (bug #10864) +* E1000: fixed a VirtualBox crash during intensive network transfers (4.2 regression; bugs #10936, #10969, #10980) +* ICH9: fixed PCI bridge initialization +* USB mouse: ensure that the last mouse event doesn't get lost if no URBs are available +* BIOS: certain legacy guests (e.g. Windows 95) didn't find the boot device after a warm reboot +* BIOS: don't trash the palette in text modes when setting the border color +* EFI: fixed OS X guest autoboot (4.2 regression) +* VBoxManage: fixed output of showvminfo --machinereadable (bug #10973) +* VBoxManage: fixed parsing of storageattach --discard (bug #11023) +* VBoxManage: fixed wrong output of the HPET setting in showvminfo (bug #11065) +* VBoxManage: fixed closing the guest session after executing a guest process via guest control +* VBoxShell: adaptions to interface name changes +* Guest Additions device: fixed a Guest Additions hang when a machine was reset after a crash +* Linux hosts / guests: Linux 3.7-rc1 fixes +* Linux Additions: support X.Org Server 1.13 +* Linux Additions: fixed a hang when the X server was restarted with old guest kernels +* Linux Additions: fixed a VBoxService crash during CPU hot remove (bug #10964) +* Windows Additions: fixed automatic screen resize issue for NT4 guests +* OS/2 Additions: fixed shutdown hang +* OS/2 Additions: fixed mouse driver panic +* Solaris hosts: fixed autostart service going into maintenance mode after all VMs started +* Solaris hosts: fixed linking the host driver with the dtrace module +- added vbox-drop-fa-IR-translation.diff to fix build + +------------------------------------------------------------------- +Thu Oct 11 20:33:32 UTC 2012 - mseben@gmail.com + +- fix build, point source command to current directory ( use source ./env.sh ) + +------------------------------------------------------------------- +Fri Sep 28 11:43:59 UTC 2012 - seife+obs@b1-systems.com + +- update to 4.2.0 + - rebase patches + - remove kernel-3.6 patch, no longer needed + +------------------------------------------------------------------- +Thu Sep 27 07:47:14 UTC 2012 - idonmez@suse.com + +- Add virtualbox-kernel-3.6.patch to fix compilation with 3.6 kernel + +------------------------------------------------------------------- +Tue Jun 26 14:02:32 UTC 2012 - mvyskocil@suse.cz + +- let it build with all versions of openjdk + +------------------------------------------------------------------- +Thu Jun 21 20:01:20 UTC 2012 - mseben@gmail.com + +- update to virtualbox 4.1.18 (This is a maintenance release) +* VMM: fixed VERR_REM_VIRTUAL_CPU_ERROR under rare conditions after the guest has been reset (bug #5164 and others) +* VMM: fixed host freezes with 64-bit guests on 32-bit Linux hosts (bug #10528) +* VRDP: added a workaround for rdesktop clients not properly updating the screen size when minimized +* AHCI: fixed a rare bug which can cause a guest memory corruption after the guest storage controler has been reset +* NAT: another attempt to fix crashes under rare conditions (Windows hosts only; bug #10513) +* Mac OS X hosts: addressed issues running Leopard / Snow Leopard (bug #10631) +* Linux hosts / Bridged Networking: fixed the problem with device driver unloading on kernels 3.2.18 and newer due to an invalid reference counter (bug #10624) +* Linux hosts / guests: Linux 3.5-rc1 fixes +* Linux Additions: the guest content was sometimes not properly updated (bug #9887) +* Solaris Additions: installer fix for X.org Server 1.11 and 1.12 + +------------------------------------------------------------------- +Fri Jun 1 20:00:15 UTC 2012 - mseben@gmail.com + +- use proper version of vboxvideo xorg driver (vboxvideo_drv_112) + for 12.2 release +- adjust udev rules for vboxuser device on guest machine (file virtualbox-60-vboxguest.rules) + +------------------------------------------------------------------- +Thu May 24 08:37:37 UTC 2012 - mseben@gmail.com + +- update to virtualbox 4.1.16 (This is a maintenance release) +* VMM: fixed a Guru Meditation VERR_ACCESS_DENIED with certain guests (bugs #7589, #8247) +* VMM: fixed a Guru Meditation VERR_PAGE_TABLE_NOT_PRESENT with Ubuntu 32-bit guests with nested paging enabled on AMD CPUs (bug #10183) +* VMM: preserve segment limits and attributes when switching to unreal mode required for some legacy guests to work properly (VT-x without unrestricted guest execution only; bug #9941) +* VMM: fixed a VM hang after a resume from pause / savestate with SMP guests in rare cases +* 3D Support: several fixes for the Windows WDDM video driver crash +* NAT: fixed a crash on attempt to process ICMP datagram under some circumstances (bug #10527) +* Host-only Networking: lifted the maximal number of interfaces to 128 on Linux and Mac OS X hosts (there is no such limitation for Solaris and Windows hosts) +* EFI: fixed wrong SEC/PEI Core entry point calculation (bug #10531) +* VRDP: fixed a display update problem (bug #10503) +* Main: set the proper VM state if savestate failed for some reason (bug #6189) +* Main: more useful error message if a medium is inaccessible +* VBoxManage: fixed controlvm savestate if the VM is already paused +* Mac OS X hosts: addressed issues running on Mountain Lion Preview 3 (bug #10267) +* Linux hosts: Linux 3.4 compile fixes +* Linux hosts: fixed wrong help path in some rpm-based packages (bug #10418) +* Guest Additions: fixed handling of custom environment variables during VBoxManage guestcontrol execute (bug #10581) +* Windows Additions: fixed guest driver crash of VBoxSF in certain cases (4.1.10 regression, bug #10408) +* Windows Additions: don't load the WDDM driver if 3D support is not available for Windows 8 guests to keep the guest maintainable in that case (still better to miss some features than providing a blank screen) +* Solaris Additions: added support for X.org Server 1.11 and 1.12 + +------------------------------------------------------------------- +Tue May 15 12:16:30 UTC 2012 - mseben@gmail.com + +- modify vboxadd-init-script.diff to fix issues with missing + config file on guest [bnc#761923] + +------------------------------------------------------------------- +Sun Apr 29 16:02:54 UTC 2012 - mseben@gmail.com + +- use workaround for issue with kmk_sed and gcc4.7 http://svn.netlabs.org/kbuild/ticket/112, + which breaks build, instead of kmk_sed use /usr/bin/sed + +------------------------------------------------------------------- +Sat Apr 28 19:38:57 UTC 2012 - mseben@gmail.com + +- update to virtualbox 4.1.14 (This is a maintenance release): + * Network: fixed the problem with packets larger than MTU-4 when PCnet or PRO/1000 was bridged to certain types of adapters on OS X hosts (bug #3783) + * NAT: fixed a segfault under rare circumstances + * 3D Support: fixed Windows WDDM video driver crash for SMP guests (bugs #10200, #10331) + * Windows Guest Additions, VRDP: fixed occasional text corruption (bug #3001) + +------------------------------------------------------------------- +Sat Apr 21 10:25:41 UTC 2012 - mseben@gmail.com + +- drop vbox-config.diff and use LocalConfig.kmk to properly define + lib,app and doc paths (bnc#737525) + +------------------------------------------------------------------- +Wed Apr 4 09:21:39 UTC 2012 - mseben@gmail.com + +- deprecated vbox-visibility.diff and vbox-gsoap_ssl.diff +- update to virtualbox 4.1.12 (This is a maintenance release): + * VMM: fixed VERR_NOT_SUPPORTED and VERR_RAW_MODE_INVALID_SMP guru meditation due to an invalid reschedule to raw mode (bug #10370) + * VMM: fixed PDMCritSectLeave guru meditation under rare circumstances with SMP guests + * VMM: proper Math Fault handling with certain legacy guests (bug #9042) + * NAT: fixed a socket leak under certain conditions + * Storage: better sanity check against reading beyond end-of-file + * Audio: fixed a crash in the NUL audio backend (bug #10374; 4.1.10 regression) + * HGCM: fixed a crash during savestate under rare circumstances + * VBoxSVC: several locking fixes + * VBoxManage: return the correct error code if controlvm savestate failed (bug #10134) + * Guest Additions: VBoxService should not crash on exit (bug #10326; 4.1.10 regression) + * Windows Additions: set the correct time stamp when a file is closed (bug #6473) + * Windows Additions: better help if the DirectX backups are not properly installed + * Linux Additions: Linux 3.4-rc1 compile fixes + +------------------------------------------------------------------- +Sun Apr 1 05:48:40 UTC 2012 - mseben@gmail.com + +- added vbox-gsoap_ssl.diff to fix building websrv with ssl support +- drop deprecated kernel-3.3.patch +- update to virtualbox 4.1.10 (This is a maintenance release): + * GUI: if 3D support on the host is not available for some reason, do not only disable this VM setting but also uncheck the checkbox + * VMM: fixed a potential problem causing to schedule interrupts during SYSEXIT right after STI + * VMM: fixed a potential guest memory corruption issue with page fusion + * VMM: adjusted the module matching algorithm for page fusion a little, generally resulting in slightly more shared pages + * Main: host interfaces no longer have "defaults" for IP address and network mask attributes + * Main: don't depend on a password for certain guest control operations (bug #10030) + * 3D Support: fixed Windows XP hosts support (4.1.8 regression; bugs #10071 and #10088) + * 3D Support: rendering fixes for Linux hosts with NVIDIA graphics + * 3D Support: fixed saved state issues (4.1.8 regression; bug #10126) + * 3D Support: WDDM driver: fixed powershell_ise crashes (bug #10167), make WPF-based apps work with Aero enabled, fixed additional possible WinSAT crashes + * VRDP: fixed remote clipboard compatibility issues with some clients + * Storage: fixed a possible data corruption when compacting VDI or VHD images with snapshots (32-bit hosts only) + * iSCSI: fixed crash when using incorrect credentials when authenticating with a LIO target (bug #10173) + * Serial: don't abort in host mode under rare error conditions (non-Windows hosts only) + * SDK: actually ship current C bindings + * SDK: fixed the Java glue code for JDK 1.7.0 (bug #9848) + * SDK: added Python example + * Metrics: make metrics collection more robust regarding blocked VMs + * Web service: added SSL/TLS support + * VBoxShell: fixed Guest Additions information lookup + * Solaris installer: fixed dependency checking while installing VirtualBox in a zone + * Linux hosts/guests: Linux 3.3-rc1 compile fixes + * Solaris hosts: fixed debug kernel panics while opening module CTF data (bug #9651) + * Mac OS X hosts: fixed Python support on Lion + * Linux Additions: make 3D passthrough work on OL/RHEL 6.2 (bug #10010) + * Linux Additions: fixed missing implementation when copying shared folder data through kernel high memory (bug #9878) + * Linux Additions: make sure all data is written when closing a memory mapped file on a shared folder + * Linux Additions: added support for X.Org Server 1.12 + * Solaris Additions: fixed guest kernel driver to load properly on guest reboot (4.1.8 regression; bug #10113) + * Solaris Additions: fixed missing 64-bit OpenGL library VBoxOGL.so (bug #10151) + * Solaris Additions: fixed VBoxService import and start for Solaris 11 guests. + * Windows Additions: some Windows 8 adaptions + * Windows Additions: several fixes for shared folders (bug #9753) + * Guest control: miscellaneous bugfixes + +------------------------------------------------------------------- +Sun Mar 18 08:18:34 UTC 2012 - mseben@gmail.com + +- use pie/fPIE for setuid binaries (vbox-fpie.diff) (bnc#743143) +- clean up virtualbox-60-vboxdrv.rules and use fillup_only for vbox sysconfig file +- added vbox-vboxweb-init-script.diff to use proper pid file and runlevels in vboxweb initscript + +------------------------------------------------------------------- +Wed Mar 14 20:45:06 UTC 2012 - mseben@gmail.com + +- enabled websrv feature, this feature is now provided by new subpackage virtualbox-websrv +- added vbox-visibility.diff to fix websrv build (ommit -fvisibility=hidden gcc flag for gsoap related builds) + +------------------------------------------------------------------- +Thu Mar 8 15:16:01 UTC 2012 - idonmez@suse.com + +- Drop unnecessary xorg-x11-libs-32bit buildrequires +- Fix build with linux kernel 3.3 + +------------------------------------------------------------------- +Tue Feb 21 07:49:52 UTC 2012 - seife+obs@b1-systems.com + +- remove build date from VBoxSVC + +------------------------------------------------------------------- +Wed Dec 28 11:01:04 UTC 2011 - mseben@gmail.com + +- update to virtualbox 4.1.8 + * VMM: fixed VERR_MAP_FAILED during savestate under certain circumstances (bug #7929) + * GUI: stop updating the VM status icons when the VM is paused (bug #8368) + * VBoxManage: fixed wrong return code after startvm (bug #9642) + * BIOS: fixed hang at launch of DOS applications generated by Clipper 5.3 (note that hardware virtualization may be required) + * USB: fixed OS/2 boot hang when using recent USB drivers + * NAT: increase maximum number of parallel connections making connections with port forwarding more robust (#8471) + * Metrics: fixed potential problem with invalid access in guest metrics collection upon VM destruction + * Main: don't crash if a medium is ejected twice (bug #9922) + * VBoxSVC: fixed crash under rare circumstances (e.g. client crash) + * VRDP: fixed screen freeze (bug #9620) + * OVF/OVA: fixed broken disk images on import under rare circumstances + * OVF/OVA: better error message when importing corrupted appliances + * VMDK/VHD: fixed a possible corruption with host cache disabled when using snapshots under rare circumstances (bug #9749) + * 3D Support: Fixed fullscreen mode issues for ATI graphics (bug #9775), + * 3D Support: Windows Media Player rendering for XPDM-based Direct3D support (bug #8341). + * 3D Support: Multiple fixes to XPDM and WDDM - based 3D support for Windows Guests and for 3D support in general + * Linux hosts: fixes for Fedoras Linux 2.6.41 (bug #9948) + * Linux hosts/guests: fixes for Linux 3.2 (bug #9743) + * Solaris Additions: various shared folder fixes (bugs #9856, #9862, #9917) + * Windows Additions: various fixes for Direct3D support (un)installation, added detection of missing or wrong Direct3D system files + + +------------------------------------------------------------------- +Wed Dec 7 10:39:02 UTC 2011 - coolo@suse.com + +- fix license to be in spdx.org format + +------------------------------------------------------------------- +Wed Nov 16 09:44:55 UTC 2011 - mseben@gmail.com + +- dropped vbox-VBE_DISPI_INDEX_ENABLE.diff and vbox-disable_vboxpci_build.diff +- update to virtualbox 4.1.6 + * VRDP: fixed screen corruption + * NAT: the interface stopped working after a lot of failed ICMP requests (bug #9371) + * E1000: fixed rare Windows 7 guest hangs, either at boot time or when reconfiguring the network card in unusual setups (bug #6223) + * ATA: fixed a possible crash during ATAPI passthrough with certain guests + * ATA: improved compatibility with ancient Linux kernels + * Main: fixed incorrect framebuffer information after leaving the fullscreen mode with X11 guests, this lead to a scrambled preview window in the GUI for example + * Mac OS X hosts: fixed the problem with duplicate packets when bridged to a wireless interface (bug #9648) + * Linux hosts: fix for 3D support on Fedora 15 (bug #9799) + * Linux hosts: don't call del_timer_sync from an interrupt context (Fedora bug report 746331) + * Windows Vista and 7 guests: more WDDM fixes + * Linux Additions: fixed kernel module compilation failure on Redhat Enterprise Linux 4 (bug #9709) + * Linux Additions: install the DRI driver correctly on Ubuntu 11.10 guests + * Solaris Additions: added read-only mmap support for shared folders + * Solaris Additions: added directory, file mode and mask options for shared folders + * Windows Additions: implemented faster detection of logged-in guest users and stale sessions + * X.Org Additions: fixed graphical corruption when switching to a virtual terminal (bug #9490) + +------------------------------------------------------------------- +Wed Oct 19 10:03:10 UTC 2011 - idonmez@suse.com + +- Remove runlevel 4 from vboxdrv init script (bnc#724469) + +------------------------------------------------------------------- +Fri Oct 14 13:26:22 UTC 2011 - mseben@gmail.com + +- drop $ALL target from vboxes init script (bnc#705505) + +------------------------------------------------------------------- +Mon Oct 10 12:50:21 UTC 2011 - mseben@gmail.com + +- added vbox-VBE_DISPI_INDEX_ENABLE.diff to fix broken linux + console after starting X (bnc#717713) + +------------------------------------------------------------------- +Fri Oct 7 09:41:22 UTC 2011 - mseben@gmail.com + +- dropped xorg conf file virtualbox-60-vboxmouse.conf as there is + no more vboxmouse_drv.so xorg driver on %suse_version >= 1130 +- modified virtualbox-60-vboxdrv.rules to use setfacl instead of GROUP rule +- update to virtualbox 4.1.4 + * VMM: fixed PAE guests running on 32-bit hosts (4.0 regression; bug #9458) + * VMM: fixed INVALID_PARAMETER guru meditation caused by insufficient memory conditions (4.1.0 regression; bug #9240) + * VMM: fixed clobbered CPU registers during stos/lods/ins/outs emulation under rare circumstances + * VMM: another fix for 64-bit guests on recent AMD CPUs + * GUI: warn the user if he uses an outdated extension pack and allow to download and upgrade in that case (bug #8025) + * GUI: fixed spurious LCtrl key events on some Windows hosts (4.0.6 regression; bug #373) + * VBoxManage: another fix for extpack install --replace (bug #9308) + * VBoxManage: allow to specify the UUID of the target image in convertfromraw + * VRDP: fixed a rare crash when two or more clients connect to the server (bug #9503) + * VRDP: fixed a case when a client was not resized correctly (bug #9242) + * USB: make device capturing work on Windows hosts with usbhub class filter drivers installed (bug #9298); bugfixes for Windows host USB support + * VHD: fixed reads crossing block boundaries (bug #8532) + * VMDK: fixed progress indicator when creating split VMDK images + * Floppy: fixed medium size detection for physical mediums (Windows hosts only) + * Main: fixed VM initialization if a shared folder does not exist (bug #7941) + * Main: fixed possible deadlock between hard disk enumeration and resetting of immutable disks (bug #9549) + * Main: fixed not detaching of virtual storage after a snapshot restore operation (bug #8296) + * Main: always reset modified state after restoring a snapshot (bug #9387) + * Main: fixed writing of changed VM settings to disk when using snapshots (bug #8932) + * Main: fixed taking screen shots (e.g. the preview window) for headless VMs if the Guest Additions are active + * Virtio-net: fixed the problem with UDP packets exceeding MTU (bug #9370) + * 3D Support: fixed incorrect rendering and possible crashes when switching to/from fullscreen with enabled 2D acceleration + * 3D Support: fixed compiz under ubuntu 9.10 + * Guest control: Miscellaneous small bugfixes + * Linux / Solaris hosts: don't use hard links in packages (4.1.2 regression; bug #9441) + * Mac OS X hosts: fix installation issues when installed as root (bug #1578) + * Mac OS X hosts: fixed packet capture issues with vboxnetX host-only interfaces (bug #8076) + * Solaris hosts: fixed incoming multicast packets for Crossbow based bridged networking (bug #9532) + * Solaris hosts: fixed starting EFI guests due to missing EFI ROM files (bug #9535) + * Windows hosts installer: fixed ADDLOCAL usage on command line (4.1.0 regression; bug #9488) + * Windows hosts installer: fixed dangling shortcut to the .chm help file (bug #9646) + * Windows hosts installer: try to fix installation error 2869 which appeared under certain circumstances (bug #9664) + * Windows hosts: VBoxHeadless should never open a separate console window (bug #3549) + * Guest Additions: fixed hang while waiting for guest execution output (4.1.2 regression; bug #9446) + * Linux Additions: add support for X.Org Server 1.11 (bug #9519) + * Linux Additions: suppress an incorrect error message and allow a shared folder to be mounted in multiple places (bug #9627) + * Linux Additions: start VBoxService correctly on openSUSE 12.1 (bug #6229) + * Linux Additions: properly finish the installation even if the compilation of the DRM module fails (which is not fatal) + * Solaris Additions: fixed memory leaks and panics while mounting (from console) and unmounting shared folders. + * Windows Additions: fixed swapped mouse cursor hotspot coordinates (4.1.0 regression; bug #9447) + * Windows Additions: fixed PAGE_FAULT_IN_NONPAGED_AREA BSOD in VBoxDisp.dll when running SnippingTool (bug #9508) + * Windows Additions: make image viewer work correctly with Aero enabled (Vista and Windows 7) + * Windows Additions: fixed incorrect window border blurs under Aero with ATI cards (Vista and Windows 7) + * Windows Additions: fixed incorrect rendering when moving 3D applications outside guest desktop and back under Aero (Vista and Windows 7) + * Windows Additions: fixed guest hangs when switching back from fullscreen text mode apps (bug #9636) + +------------------------------------------------------------------- +Mon Sep 19 17:55:56 UTC 2011 - crrodriguez@opensuse.org + +- Use config noreplace for udev rules, avoid overwrite of USB + udev rules. + +------------------------------------------------------------------- +Thu Sep 15 10:17:05 UTC 2011 - mseben@gmail.com + +- included proper versions of vboxmouse_drv and vboxvideo_drv (xorg drivers) in to + virtualbox-guest-x11 +- fixed typo in virtualbox-60-vboxdrv.rules + +------------------------------------------------------------------- +Mon Aug 22 11:29:11 UTC 2011 - mseben@gmail.com + +- update to Virtualbox 4.1.2 + * VMM: fixed 64-bit guests on AMD Fusion CPUs (bug #8824) + * VMM: fixed handling of the sysenter/sysexit machine instructions in 64-bit guests on Intel hosts + * GUI: added linked clone support + * GUI: fixed error check when changing the VM controller settings (4.1.0 regression; bug #9246) + * GUI: fixed the inclusion of additional information (license, vendor, ...) on OVF export + * GUI: when taking a snapshot from the VM selector, don't do a live snapshot + * GUI: fixed immediate crash during start on certain environments due to a library version conflict + * Guest control execution: implemented copying single files from guest to the host (directories and filters not supported yet) + * Guest control execution: limited to serve up to 5 guest processes at a time by default + * Main: return the correct RDP default port fixing settings warnings in the GUI if the remote display was enabled at runtime (bug #9368) + * VBoxSVC: made the path comparison OS independent when images are registered (bug #9303) + * VBoxSVC: several fixes/performance improvements for cloning of VMs + * Snapshots: fixed "Solid-State drive" flag survival on snapshot creation (bug #9379) + * VBoxManage: implemented copyfrom and stat guest control tools to copy files from guest to host and to check for existence of files on the guest + * VBoxManage: fixed extpack install --replace (bug #9308) + * VBoxManage: allow to start multiple VMs with startvm + * VBoxManage: experimental support for SATA CD/DVD hotplugging + * Mouse support: fixed an off-by-one pointer position error affecting Windows guests (bugs #7566, #9321) + * VRDP: fixed a case when the screen was not redrawn correctly (bug #9242) + * NAT: changed TCP connection establishment according to Winsock API requirements (Windows hosts only; bug #8919) + * USB: fixed device recognition issues (bugs #9299) and fixed several device capturing issues (Windows hosts; bug #9299) + * USB: fixed issues with remote filters being applied to local USB devices + * OVA: fixed import of renamed OVA files (bug #9033) + * Windows host: fixed icon for .VDI files (bug #9393) + * Solaris hosts: fixed a bug preventing parallel usage of multiple host NICs with Crossbow based bridged networking + * Linux hosts: fixed random kernel panics on host suspend / shutdown (4.1.0 regression; bug #9305) + * Guest Additions: keep logged in user count in out-of-memory situations and warn about it + * Solaris Additions: fixed shared folders due to missing symbols in the vboxfs module (4.0.12 / 4.1.0 regression; bug #9264) + * Windows Additions: fixed file truncation on a shared folder with some applications (bugs #9276, #9315) + * Windows Additions: fixed shared folder issues with antivirus software and 64 bit Windows guests (bug #9318) + * Windows Vista and 7 guests: WDDM driver fixes and performance enhancements, fixed WinSAT crashes (#9267) + * Linux Additions: fixed llseek() for Linux kernels 2.6.37 and above + +------------------------------------------------------------------- +Tue Aug 9 12:37:27 UTC 2011 - mseben@gmail.com + +- modified usb udev rule in virtualbox-60-vboxdrv.rules (thanks to Dirk O. Kaar) + +------------------------------------------------------------------- +Thu Jul 21 06:12:54 UTC 2011 - mseben@gmail.com + +- update to Virtualbox 4.1.0 (major update) + * Support for cloning of VMs (bug #5853): full clones can be created through the GUI and VBoxManage, linked clones only through VBoxManage + * GUI: enhanced wizard for creating new virtual disks + * GUI: new wizard for copying virtual disks + * GUI: keep the aspect ratio in scale mode (Windows and OSX hosts only; bug #7822) + * VMM: raised the memory limit for 64-bit hosts to 1TB + * Experimental support for PCI passthrough for Linux hosts, see the manual for more information + * Windows guests: Experimental WDDM graphics driver, supporting Windows Aero (bug #4607) and providing Direct3D support using a cleaner approach (no need to install the guest drivers in Safe Mode anymore) + * Guest Additions: status of modules and features can now be queried separately by the frontends + * Networking: new network attachment mode "Generic Driver", which offers an open plugin architecture for arbitrary and separately distributable virtual network implementations + * Host-only Networking: fixed host crash in kernels prior to 2.6.29 + * New Networking Mode UDP Tunnel: allows to interconnect VMs running on different hosts easily and transparently + * Experimental support for SATA hard disk hotplugging available with VBoxManage + * Solaris hosts: New Crossbow based bridged networking driver for Solaris 11 build 159 and above + * VMM: more SMP timer fixes + * VMM: fixed sporadic recompiler crashes with SMP guests + * VMM: many small fixes + * GUI: when reverting to a snapshot, ask for taking a snapshot of the current state + * GUI: added a View menu + * GUI: added a setting for the promiscuous mode policy for internal networks, bridged networks and host-only networks + * GUI: added slider for setting the CPU execution cap allowing to limit the amount of CPU time spent for the execution of the guest + * GUI: the VM description is editable during the runtime of a VM (bug #1551) + * GUI: added proxy settings (bug #2870) + * GUI: made the number of SATA ports configurable + * GUI: decrease time before showing the VM configuration dialog + * VBoxManage: more convenient configuration of storage controller attachments by automatically determining the port or device parameter when a storage controller has only one port or device per port + * VBoxManage: changed syntax of the guestcontrol command group, fixed various bugs, removed obsolete options + * VBoxBalloonCtrl: new service for automatic dynamic adjustment of the balloon size for running VMs + * Settings: machine names and snapshot names are not allowed to be a valid UUID + * Settings: provide better diagnostics if a single medium is used twice in a VM configuration + * Settings: provide better diagnostics for errors in medium create/merge/clone operations, and fix memory leaks in error cases + * Storage: ATA/SATA drives can be marked as non-rotational, i.e. the guest OS will detect them as a SSD if supported, which can improve performance + * Storage: virtual CD/DVD images will be detached if the guest ejects the medium, unless the drive is marked to handle ejects only on a temporary basis + * Storage: the medium UUID can be changed again when attaching a medium for the first time, which allows using images which are exact duplicates including the UUID + * Storage: fixed possible data corruption under certain circumstances with VHD and Parallels images (bug #9150) + * Storage: fixed unnecessary expansion when cloning differential images in VDI format + * Storage: fixed detection code to handle empty files for VDI and VMDK format + * Storage: fixed access to CD/DVD images beyond 4GB when using the SATA controller (bug #8592) + * Floppy: several bugs have been fixed + * Floppy: make it possible to unmount a host floppy disk (bug #6651) + * BIOS: disk-related structures are now checksummed correctly (bug #8739) + * USB: many fixes for the Windows USB host driver + * NAT: reduced memory footprint + * Networking: fixed the problem with segmentation offloading when several VMs are transmitting in parallel + * Networking: workaround for a bug in wireshark when operating directly on a capture file created by VirtualBox + * Serial: announce the serial devices in the ACPI tables to make Windows guests find the virtual hardware (bug #7411) + * VRDP: support for TLS connections (see the manual for more information) + * VRDP: support for multimonitor client configurations with MS RDP clients + * VRDP: fixed a rare screen corruption + * 3D support: fixed GL_VERSION string for different locales (bug #8916) + * Webservice: fixed timeout handling with HTTP 1.1 keepalive, and be more robust when connections fail + * VBoxSVC: fixed regression when several clients trigger autostart simultaneously + * Main: fixed incorrect handling of the medium location for media which are not file based, which resulted in confusing location values in many places + * JAX-WS client bindings: fixed resource leak + * Sources: fixed USB 2.0 support using extension packs for non-official builds + * Mac OS X hosts: fixed non-VT-x mode on Lion hosts + * Windows hosts: fixed copy'n'paste in the GUI and for the VM window (bug #4491) + * Windows hosts (64-bit only): enabled removing of all mediums when removing a VM + * Windows hosts (64-bit only): enabled live snapshot deletion + * Windows hosts: use native controls in the installer (bug #5520) + * Solaris hosts: fixed preemption issue with Solaris 11 hosts (builds 166 and above) + * Solaris hosts: better control of USB device access on Solaris 11 hosts + * Guest Additions: improved driver installation on Windows guests + * Guest Additions: fixed high CPU usage while executing guest programs from the host + * Solaris Additions: fixed automounting of shared folders (bug #8014) +- deprecated vbox-netflt_start_xmit_enable.diff +- added vbox-disable_vboxpci_build.diff and vbox-fix-ftbfs-as-needed.patch.diff to fix build +------------------------------------------------------------------- +Thu Jun 30 07:30:30 UTC 2011 - mseben@gmail.com + +- update to Virtualbox 4.0.10 + * GUI: fixed disappearing settings widgets on KDE hosts (bug #6809) + * Storage: fixed hang under rare circumstances with flat VMDK images + * Storage: a saved VM could not be restored under certain circumstances after the host kernel was updated (bug #8983) + * Storage: refuse to create a medium with an invalid variant (for example Split2G with VDI; bug #7227) + * Snapshots: none of the hard disk attachments must be attached to another VM in normal mode when creating a snapshot + * USB: fixed occasional VM hangs with SMP guests (bug #4580) + * USB: proper device detection on RHEL/OEL/CentOS 5 guests (partial fix for bug #8978) + * ACPI: force the ACPI timer to return monotonic values for improve behavior with SMP Linux guests (bug #8511 and others) + * RDP: fixed screen corruption under rare circumstances (bug #8977) + * rdesktop-vrdp: updated to version 1.7.0 + * OVF: under rare circumstances some data at the end of a VMDK file was not written during export + * Mac OS X hosts: Lion fixes (bug #8903) + * Mac OS X hosts: GNOME 3 fix + * Linux hosts: fixed VT-x detection on Linux 3.0 hosts (bug #9071) + * Linux hosts: fixed Python 2.7 bindings in the universal Linux binaries + * Windows hosts: fixed leak of thread and process handles + * Windows Additions: fixed bug when determining the extended version of the Guest Additions (4.0.8 regression; bug #8948) + * Solaris Additions: fixed installation to 64-bit Solaris 10u9 guests (4.0.8 regression) + * Linux Additions: RHEL6.1/OL6.1 compile fix + * Linux Additions: fixed a memory leak during VBoxManage guestcontrol execute (bug #9068) + +------------------------------------------------------------------- +Mon Jun 20 09:09:34 UTC 2011 - aj@suse.de + +- Add BuildRequires: glibc-devel-static + +------------------------------------------------------------------- +Tue May 31 06:45:32 UTC 2011 - mseben@gmail.com + +- drop hal dependency from BuildRequires (bnc#697034) + +------------------------------------------------------------------- +Thu May 26 10:40:30 UTC 2011 - mseben@gmail.com + +- added vbox-netflt_start_xmit_enable.diff (bnc#694311), + enable alternative packet filter, http://www.virtualbox.org/ticket/8076 + +------------------------------------------------------------------- +Wed May 18 06:55:17 UTC 2011 - mseben@gmail.com + +- updated to Virtualbox 4.0.8 (maintenance release) + * Mac OS X hosts: fixed incompatibility with recent Mac OS X versions in 64-bit mode (bug #8474) + * Mac OS X hosts: fixed incompatibility with hosts with more than 16 cores (bug #8389) + * Mac OS X hosts: fixed painting corruptions on a second monitor in 64-bit mode (bug #7606) + * GUI: restored functionality to set an empty host key to disallow any host key combination (4.0.6 regression; bug #8793) + * VBoxManage: added controlvm screenshotpng subcommand for saving the screenshot of a running VM in PNG format + * VBoxHeadless: fixed potential crash during shutdown (Windows hosts only) + * NAT: built-in services use the correct Ethernet addresses in Ethernet header and in ARP requests + * Host-only networking: fixed adapter reference counting + * E1000: fixed rare guest crashes with Linux SMP guests (bug #8755) + * SATA: fixed guest disk corruption under rare circumstances (only relevant for guests with more than 2GB RAM; bug #8826) + * Storage: fixed data corruption after a snapshot was taken with asynchronous I/O enabled (bug #8498) + * Floppy: several improvement + * HPET: another fix for time jumps (bug #8707) + * USB: removed assumption that string descriptors are null-terminated (Windows hosts only) + * 3D support: fixed a potential crash when resizing the guest window + * 3D support: fixed GNOME 3 rendering under Ubuntu 11.04 and Fedora 15 + * Snapshots: fixed another bug which could lose entries in the media registry when restoring a snapshot (bug #8363) + * Shared Folders: don't stop mounting the other valid folders if one host folder is inaccessible (4.0.6 regression) + * Linux Additions: check whether gcc and make are installed before building kernel modules (bug #8795) + * Solaris Additions: added support for X.Org Server 1.10 + * Guest Additions: fixed inappropriate Guest Additions update notification when using vendor-specific version suffixes (bug #8844) +- deprecated vbox-gcc46.patch + +------------------------------------------------------------------- +Fri May 13 03:29:45 UTC 2011 - crrodriguez@opensuse.org + +- Allow GCC 4.6 to be used + +------------------------------------------------------------------- +Tue Apr 26 19:42:44 UTC 2011 - crrodriguez@opensuse.org + +- Remove bundled libraries to ensure they are never used +- USe system boost headers,only needed for xml parser it seems. + +------------------------------------------------------------------- +Fri Apr 22 16:35:55 UTC 2011 - mseben@gmail.com + +- updated to Virtualbox 4.0.6 (maintenance release) + * VMM: fixed incorrect handling of ballooned pages when restoring a VMM from a saved state + * VMM: don't crash on hosts with more than 64 cores / hyperthreads; implemented support for up to 256 host cores (except Windows hosts; bug #8489) + * VMM: fixed guru meditation for PAE guests running on hosts without PAE (bug #8006) + * VMM: fixed slow Linux guests with raw mode and recent guest kernels (bug #8726) + * GUI: support host key combinations (bug #979) + * GUI: fixed progress indicator (bug #7814) + * GUI: show the mouse pointer while the VM is paused if the USB tablet mouse emulation is used (bug #6799) + * GUI: adapt the snapshot folder as well when renaming a VM (bug #8469) + * GUI: persistently remember the last folders of the disk/DVD/floppy selectors + * GUI: never allow to start a VM with USB-2.0 activated if the proper extension pack is missing (bug #8182) + * GUI: fixed hang/crash when opening a file dialog in an non-existing folder (bug #8673) + * Snapshots: fixed a bug which could lose entries in the media registry when restoring a snapshot (bug #8363) + * Snapshots: allow snapshots to be stored in the VM directory + * 3D support: fixed a crash if a VM was forced to terminate (Windows hosts only; bug #7133) + * Storage: fixed memory leak (4.0 regression; bug #7966) + * Storage: fixed access to iSCSI targets over internal network + * Storage: fixed reading from disks with more than one snapshot for VHD and VMDK images with disabled host cache (bug #8408) + * Storage: fixed a possible hang during VM suspend after an I/O error occurred + * Storage: fixed a possible hang during VM suspend / reset (bug #8276, #8294) + * Storage: automatically create a diff image when attaching a streamOptimized VMDK image to a VM + * ATA/SATA: fixed automounting of virtual CD/DVD mediums with recent Linux distributions by correctly reporting the current profile as 'none' if no medium is present + * Buslogic: fixed emulation for certain guests (e.g. jRockit VE) + * Host-Only Networking: fixed interface creation failure on Windows hosts (4.0.4 regression; bug #8362) + * Host-Only & Bridged & Internal Networking: fix for processing promiscuous mode requests by VMs, defaulting to switch behaviour + * Host-Only Networking: fixed connectivity issue after resuming the host from sleep (bug #3625) + * Bridged Networking: support for interface bonding on Mac OS X hosts (bug #8731) + * NAT: fixed processing of ARP announcements for guests with static assigned IPs (bug #8609) + * VRDP: backward compatibility with VRDPAuth external authentication library (bug #8063) + * Shared Folders: don't fail to start a VM if a path is not absolute, for example when importing an OVF from a different host (bug #7941) + * Audio: fixed crash under certain conditions (bug #8527) + * USB: fixed a crash when plugging certain USB devices (bug #8699) + * HPET: fixed time jumps when reading the counter (bug #8707) + * OVF/OVA: automatically adjust disk paths if the VM name is changed on import + * OVF/OVA: fix export to slow medias + * OVF/OVA: automatically repair inconsistent appliances with multiple disks (bug #8253) + * rdesktop-vrdp: fixed an assertion triggered under certain conditions (bug #8593) + * Windows hosts: fixed occasional hangs during VM shutdown because sometimes COM was not properly uninitialized + * Mac OS X hosts: prevent the mouse from leaving the VM window while captured + * Mac OS X hosts: keep aspect ratio while resizing in scale mode (shift for old behaviour) (part of bug #7822) + * X11 hosts: fixed Yen key support (bug #8438) + * X11 hosts: fixed a regression which caused Host+F1 to pop up help instead of sending Ctrl+Alt+F1 + * Linux hosts / Linux Additions: mangle IPRT symbols to allow installing VirtualBox inside a VM while the Guest Additions are active (bug #5686) + * Linux hosts / Linux guests: workaround for a bug in GLIBC older than version 1.11 leading to crashes under certain conditions (signed/unsigned problem with memchr on 64-bit machines) + * Solaris hosts: fixed a deadlock in event semaphores that could lead to unkillable VM processes + * Windows Additions: fixed Sysprep parameter handling + * Windows Additions: fixed spontaneous guest reboots under certain circumstances (4.0.2 regression; bugs #8406, #8429) + * Windows Additions: added auto logon support for locked workstations on legacy Windows versions + * Windows Additions: fixed driver bugcheck error when handling PnP messages (4.0 regression; bug #8367) + * Windows Additions: fixed memory leak in VBoxVideo + * X11 Additions: added support for X.Org Server 1.10 final + * Linux Additions: Linux kernel 2.6.39-rc1 fixes + * Linux Additions: improved auto-run support (bug #5509) + * Linux Additions: fix mouse support on SUSE 11 SP 1 guests (bug #7946) + * Solaris Additions: added support for X.Org Server 1.9 + * Guest Additions: various bugfixes for guest control execution + * Webservice: use own log file, with log rotation to limit size +- deprecated vbox-kernel-2.6.39.patch + +------------------------------------------------------------------- +Fri Apr 15 23:01:48 UTC 2011 - crrodriguez@opensuse.org + +- remove the remaining build dates in binaries + +------------------------------------------------------------------- +Wed Apr 13 19:04:19 UTC 2011 - crrodriguez@opensuse.org + +- Fix build in kernel 2.6.39 + +------------------------------------------------------------------- +Wed Apr 13 15:58:01 UTC 2011 - crrodriguez@opensuse.org + +- Fix build with as-needed +- DO not use static libstdc + +------------------------------------------------------------------- +Mon Apr 11 19:32:03 UTC 2011 - crrodriguez@opensuse.org + +- Remove more build dates in binaries +- VirtualBox no longer requires GCC 4.3 + +------------------------------------------------------------------- +Fri Mar 25 07:42:21 UTC 2011 - mseben@gmail.com + +- added Conflicts: virtualbox-ose-*-kmp for kmp packages, because + host (vboxdrv) and guest (vboxguest) kmp exports the same + symbol (RTMemFreeEx) which breaks loading modules using + modprobe (bnc#661740) + +------------------------------------------------------------------- +Thu Mar 17 13:17:54 UTC 2011 - mseben@gmail.com + +- fix missing permissions handling of VBoxNetDHCP (bnc#679785) +- fix permissions handling for virtualbox-qt subpackage + +------------------------------------------------------------------- +Wed Mar 9 15:43:08 UTC 2011 - crrodriguez@opensuse.org + +- fix requires sysvinit(syslog) + +------------------------------------------------------------------- +Fri Feb 18 08:06:16 UTC 2011 - mseben@gmail.com + +- update to VirtualBox 4.0.4 (maintenance release) + * VMM: fixed recompiler crashes under certain conditions (bugs #8255, #8319 and further) + * VMM: fixed running 64-bit guests on 32-bit host with nested paging enabled on AMD CPUs (4.0 regression; bug #7938) + * VMM: fixed timing issues / hangs for certain guests using the programmable interval timer (bugs #8033 and #8062) + * VMM: large page and monitoring fixes for live snapshots (bugs #7910, #8059, #8125) + * GUI: fixed error message when trying to exceed the maximum number of host network interfaces + * GUI: fixed saving of changes to the metadata of an existing snapshot (bug #8145) + * GUI: fixed rare crash on X11 hosts (bug #8131) + * GUI: when selecting a shared folder, start the file dialog in the users home directory (bug #8017) + * ExtPack: enforce the correct permissions which might be restricted by umask when creating directories (non-Windows hosts only; bug #7878) + * VBoxSDL: fixed crash when starting by specifying the VM UUID (4.0 regression; bug #8342) + * VBoxManage: allow savestate even if the VM is already paused + * VBoxManage: fixed modifyvm --synthcpu (bug #6577) + * VBoxManage: fixed hang when doing guestcontrol execute –wait-for exit and displaying process status on exit (bug #8235) + * VBoxManage: decreased CPU load during guestcontrol execute –wait-for exit/stdout while waiting for the guest process to terminate (bug #7872) + * VBoxManage: fixed list hostdvds/hostfloppies + * VBoxManage: fixed storageattach for host DVD drives and host floppy drives + * Metrics: introduced RAM/VMM base metric. + * Main: improved sanity check when taking a VM screen shot (bug #7966) + * Main: fixed a crash under rare circumstances if a VM failed to start + * Main: fixed attaching of immutable disk images (bug #8105) + * Main: fixed a crash at VM shutdown (bug #6443) + * Main: fixed incorrect handling of cross-referenced medium attachments (bug #8129) + * Settings: fixed truncating of big integer values (4.0 regression) + * Settings: properly store the ICH9 chipset type (bug #8123) + * Host-Only & Bridged Networking: fixed VBox DHCP server startup issue for Windows hosts (4.0 regression; bug #7905) + * Host-Only Networking: re-create vboxnetX interfaces after vboxnetadp.ko module reload on Linux and Darwin (bugs #5934, #6341) + * NAT: fixed an mbuf leak under rare circumstances (bug #7459) + * ACPI: don’t allow the guest to enter S4 by default and don’t announce S1 and S4 in the ACPI tables if disabled (bug #8008) + * Graphics card: made re-enabling disabled screens work correctly to prevent problems when X11 guests enter screen saving mode (bug #8122) + * Storage: fixed write errors with snapshots if the host cache is disabled (4.0 regression; bug #8221) + * ATA/SATA: fixed reset handling after ACPI suspend/resume + * BusLogic: fixed hang with SMP VMs + * Serial: another attempt to prevent lost characters during transmission (bug #1548) + * Linux hosts/guests: Linux 2.6.38-rc1 compile fixes + * Mac OS X hosts: fixed VBoxSVC crash when listing host interfaces without default gateway (64-bit hosts only; bug #7955) + * Solaris/Darwin hosts: fixed VM CPU execution cap + * X.Org guests: fixed a crash on X server restart (bug #8231) + * X.Org guests: support X.Org Server 1.10 pre-release and Ubuntu 11.04 Alpha. + * X.Org guests: Add EDID emulation in the graphics driver to prevent GNOME settings daemon changing the mode on login. + * X.Org guests: never send graphics modes to the host that older VirtualBox versions can’t handle. + * Linux Additions: fixed a memory leak in the shared folders code if a host link is not readable (bug #8185) + * Windows Additions: fixed handling of Security Attention Sequence (SAS) with VBoxGINA +- droppped deprecated vbox-2.6.38.patch + +------------------------------------------------------------------- +Tue Feb 8 07:36:53 UTC 2011 - cshorler@googlemail.com + +- The python package isn't installed correctly, and contains an + unnecessary shared library due to a build / config bug. It is + also missing pre-compiled python (pyc). +- added vbox-python-detection.diff and vbox-xpcom-kmk.diff + +------------------------------------------------------------------- +Mon Jan 31 01:52:58 UTC 2011 - cshorler@googlemail.com + +- Minor packaging fixes + * ExtPack: add missing host helper util (VBoxExtPackHelper) + * Config.kmk: patch for VNC (removed from spec), documentation path (fixes GUI), combine with existing rpath diff + * spec: migrate VNC echo to patch, fix desktop file overwrite issue / bug + +------------------------------------------------------------------- +Thu Jan 27 12:47:31 UTC 2011 - cristian.rodriguez@opensuse.org + +- Fix build in 2.6.38 kernels. + +------------------------------------------------------------------- +Wed Jan 26 16:36:42 UTC 2011 - cristian.rodriguez@opensuse.org + +- Fix one more build date in binaries that causes unneeded + republish of binaries. + +------------------------------------------------------------------- +Wed Jan 19 13:49:49 UTC 2011 - mseben@gmail.com + +- disable setup parameter for init scripts + +------------------------------------------------------------------- +Wed Jan 19 07:32:14 UTC 2011 - mseben@gmail.com + +- updated to VirtualBox 4.0.2 + * GUI: don't crash if a removable host drive referenced from the VM settings vanished + * GUI: fixed a crash when using the KDE4 Oxygen theme and clicked on the settings button (4.0 regression; bug #7875) + * GUI: properly warn if the machine folder cannot be created (bug #8031) + * GUI: several fixes for multimonitor X11 guests + * ExtPack: don’t make the installer helper application suid root (Linux .deb/.rpm packages only) + * ExtPack: improved user experience on Vista / Windows 7 when installing an extension pack + * ExtPack: fixed issue with non-ascii characters in the path name during installing an extension pack (bug #7917) + * ExtPack: fixed SELinux issues on 32-bit Linux hosts + * VBoxManage: Host-only interface creation and removal is now supported for all platforms except Solaris (bug #7741) + * VBoxManage: fixed segmentation fault when removing non-existent host-only interface + * Storage: fixed possible crashes with VMDK/VHD images with snapshots and async I/O (4.0 regression) + * Storage: don’t eject the physical medium if a DVD/CDROM/floppy drive is detached from a VM (bug #5825) + * Storage: be more robust when a faulty guest sends ATA commands to an ATAPI device (bug #6597) + * Parallels: fixed deletion of the image during suspend, pause or power off (4.0 regression) + * Bridged networking: fixed host kernel panic when bridging to devices with no TX queue + * NAT: port-forwarding rule registration respects protocol parameter (bug #8094) + * E1000: fixed PXE boot issues with WDS (bug #6330) + * Virtio-net: fixed the issue with TX performance in some Linux guests + * ICH9: fixed VM crash (software virtualization only; bug #7885) + * VGA: fixed VESA screen issue (4.0 regression; bug #7986) + * Shared Folders: fixed parameter parsing when creating symbolic links, fixes 32-bit/64-bit bitness issue (bug #818) + * Main: fixed crash under rare circumstances due to an invalid logging string (4.0 regression) + * Main: improve error information propagation for errors preventing a VM start + * Main: fixed problems with snapshots and non-ASCII characters in machine paths (bug #8024) + * Webservice: now listens to localhost by default as documented (bug #6067) + * Settings: do not fail loading machine settings if removeable drive attachment + * Settings: fixed issue that changing a snapshot name or description was not saved to machine XML + * OVF/OVA: fixed import of files created by other OVF tools (bug #7983) + * rdesktop-vrdp: fix a crash during USB device enumeration (bug #7981) + * Linux hosts: fixed a crash during USB device enumeration. + * Linux hosts: try a bit harder to allocate memory (bug #8035; 4.0 regression) + * Guest Additions: fixed parsing of parameters for guest control in VBoxService (4.0 regression; bug #8010) + * Windows Guest Additions: automatic logon on Windows Vista/Windows 7 now supports unlocking previously locked workstations + +------------------------------------------------------------------- +Fri Jan 14 21:58:00 UTC 2011 - mseben@gmail.com + +- reworked vbox-disable-updates.diff for virtualbox 4.0.0 +- modified virtualbox-60-vboxdrv.rules : added comment with udev + rules inside for assign full usb access to vboxusers - don't + uncomment these lines if you don't understand possible security + risk (bnc#664520) + +------------------------------------------------------------------- +Wed Jan 12 13:29:36 UTC 2011 - mseben@gmail.com + +- fix typo in spec file, which breaks loading of vboxsf kernel + module on guest + +------------------------------------------------------------------- +Wed Jan 5 08:16:35 UTC 2011 - mseben@gmail.com + +- fix rcvboxdrv setup - we disallow building of kernel modules from sources +- added rcvboxdrv, rcvboxadd files +- fix build fail: "Out of memory: Kill process" : use "-j1" for kmk to disable parallel build +- fix build for older distros + +------------------------------------------------------------------- +Fri Dec 31 22:41:25 UTC 2010 - mseben@gmail.com + +- added vbox-smc-napa.diff to fix build + +------------------------------------------------------------------- +Thu Dec 30 19:50:12 UTC 2010 - tejas.guruswamy@opensuse.org + +- Use xserver 1.9 additions on Factory + +------------------------------------------------------------------- +Thu Dec 23 17:43:05 UTC 2010 - mseben@gmail.com + +- update to VirtualBox 4.0.0 + New Features: + * Reorganization of VirtualBox into a base package and Extension Packs + * New settings/disk file layout for VM portability; see chapter 10.1, Where VirtualBox stores its files + * Major rework of the GUI (now called “VirtualBox Manager”): + - Redesigned user interface with guest window preview (also for screenshots) + - New “scale” display mode with scaled guest display + - Support for creating and starting .vbox desktop shortcuts (bug #1889) + - The VM list is now sortable + - Machines can now be deleted easily without a trace including snapshots and saved states, + and optionally including attached disk images (bug #5511; also, VBoxManage unregistervm --delete can do the same now) + * Built-in creation of desktop file shortcuts to start VMs on double click (bug #2322) + * VMM: support more than 1.5/2 GB guest RAM on 32-bit hosts + * New virtual hardware: + - Intel ICH9 chipset with three PCI buses, PCI Express and Message Signaled Interrupts (MSI) + - Intel HD Audio, for better support of modern guest operating systems (e.g. 64-bit Windows; bug #2785) + * Improvements to OVF support : + - Open Virtualization Format Archive (OVA) support + - Significant performance improvements during export and import + - Creation of the manifest file on export is optional now + - Imported disks can have formats other than VMDK + * Resource control: added support for limiting a VM’s CPU time and IO bandwidth + * Storage: support asynchronous I/O for iSCSI, VMDK, VHD and Parallels images + * Storage: support for resizing VDI and VHD images. + * Guest Additions: support for multiple virtual screens in Linux and Solaris guests using X.Org server 1.3 and later + * Language bindings: uniform Java bindings for both local (COM/XPCOM) and remote (SOAP) invocation APIs + * In addition, the following items were fixed and/or added: + Bug Fixes: + * VMM: Enable large page support by default on 64-bit hosts (applies to nested paging only) + * VMM: fixed guru meditation when running Minix (VT-x only; bug #6557) + * VMM: fixed crash under certain circumstances (Linux hosts only, non VT-x/AMD-V mode only; bugs #4529 and #7819) + * GUI: add configuration dialog for port forwarding in NAT mode (bug #1657) + * GUI: show the guest window content on save and restore + * GUI: certain GUI warnings don’t stop the VM output anymore + * GUI: fixed black fullscreen minitoolbar on KDE4 hosts (Linux hosts only; bug #5449) + * BIOS: implemented multi-sector reading to speed up booting of certain guests (e.g. Solaris) + * Bridged networking: improved throughput by filtering out outgoing packets intended for the host before they reach the physical network (Linux hosts only; bug #7792) + * 3D support: allow use of CR_SYSTEM_GL_PATH again (bug #6864) + * 3D support: fixed various clipping/visibility issues (bugs #5659, #5794, #5848, #6018, #6187, #6570) + * 3D support: guest application stack corruption when using glGetVertexAttrib[ifd]v (bug #7395) + * 3D support: fixed OpenGL support for libMesa 7.9 + * 3D support: fixed Unity/Compiz crashes on natty + * 2D Video acceleration: multimonitor support + * VRDP: fixed rare crash in multimonitor configuration + * VRDP: support for upstream audio + * Display: fixed occasional guest resize crash + * NAT: port forwarding rules can be applied at runtime + * SATA: allow to attach CD/DVD-ROM drives including passthrough (bug #7058) + * Floppy: support readonly image files, taking this as the criteria for making the medium readonly (bug #5651) + * Audio: fixed memory corruption during playback under rare circumstances + * Audio: the DirectSound backend now allows VMs to be audible when another DirectSound application is active, including another VM (bug #5578) + * EFI: support for SATA disks and CDROMs + * BIOS: reduce the stack usage of the VESA BIOS function #4F01 (Quake fix) + * OVF/OVA: fixed export of VMs with iSCSI disks + * Storage: Apple DMG image support for the virtual CD/DVD (bug #6760) + * Linux host USB support: introduced a less invasive way of accessing raw USB devices (bugs #1093, #5345, #7759) + * Linux hosts: support recent Linux kernels with CONFIG_DEBUG_SET_MODULE_RONX set + * Guest Additions: Shared Folders now can be marked as being auto-mounted on Windows, Linux and Solaris guests + * Linux Additions: Shared Folders now support symbolic links (bug #818) + * Linux Additions: combined 32-bit and 64-bit additions into one file + * Windows Additions: automatic logon on Windows Vista/Windows 7 is now able to handle renamed user accounts; added various bugfixes + + +------------------------------------------------------------------- +Mon Dec 20 12:03:12 UTC 2010 - mseben@gmail.com + +- rename to virtualbox - drop ose postfix, Oracle team dosn't build + puel version - we have now extension packs +- rename xorg-x11-driver-virtualbox-ose subpackage to virtualbox-guest-x11 +- use Provides: virtualbox-gui for virtualbox-qt subpackage and + Recommends: virtualbox-gui for virtualbox package, so user could + install another type of gui easily + +------------------------------------------------------------------- +Fri Dec 17 19:37:43 UTC 2010 - mseben@gmail.com + +- update to VirtualBox 4.0.0 BETA4 + * see announcement with changelog http://forums.virtualbox.org/viewtopic.php?f=15&t=37177 +- set propper path for link to pdf in .desktop file + +------------------------------------------------------------------- +Tue Dec 14 08:52:37 UTC 2010 - mseben@gmail.com + +- update to VirtualBox 4.0.0 BETA2 + * see announcement with changelog http://forums.virtualbox.org/viewtopic.php?f=15&t=36893 + +------------------------------------------------------------------- +Sat Dec 11 22:13:52 UTC 2010 - coolo@novell.com + +- cleanup 32bit buildrequires + +------------------------------------------------------------------- +Tue Dec 7 08:59:32 UTC 2010 - mseben@gmail.com + +- update to VirtualBox 4.0.0 BETA1 + * see announcement with changelog http://forums.virtualbox.org/viewtopic.php?f=15&t=36748 + +------------------------------------------------------------------- +Thu Dec 2 14:02:16 UTC 2010 - mseben@gmail.com + +- updated to VirtualBox-ose 3.2.12 + * VMM: fixed rare host crash when running 64-bit guests on 32-bit hosts (bug #7577) + * VMM: fixed host reboots under rare circumstances due to NMIs triggered by active performance counters + * VMM: fixed out of memory guru meditation for large memory guests (bug #7586) + * VMM: fixed a guru meditation related to large pages + * VMM: use new VT-x feature to keep the guest from hogging the CPU + * Snapshots: implemented deleting the last remaining snapshot while the VM is running + * GUI: perform the checks for exceeding the size limit of the host file system and for broken asynchronous I/O + * NAT: fixed memory leak (3.2.0 regression; bugs #6918, #7353) + * Networking: fixed VM reset handling in e1000 + * VRDP: fixed rare crash in multimonitor configuration + * Display: fixed occasional guest resize crash + * Mouse: don't send relative mouse events together with absolute mouse events (3.2.10 regression; bug #7571) + * Keyboard: fixes for the USB keyboard emulation; fixes for Koran keyboards + * Serial: don't hang if the host device would block during open (bugs #5756, #5380) + * Serial: fixed modem status lines (Linux hosts only; bug #812) + * Graphics: Horizontal resolutions are no longer restricted to a multiple of 8 pixels + * USB: fixed a crash with older Linux kernels and non-ASCII characters in device strings + * USB: fixed a crash under rare circumstances (bug #7409; Windows hosts only) + * iSCSI: respond to NOP-In requests from the target immediately to avoid being disconnected if the guest is idle + * 3D support: fixed a crash under certain circumstances (bug #7659) + * 3D support: fixed crashes for GLUT based apps (bug #6848) + * 3D support: added missing GLX 1.3 functionality (bugs #7652, #7195) + * 2D Video acceleration: fixed potential deadlock when saving the VM state (bug #4124) + * Windows hosts: another fix for BSODs under certain circumstances in VBoxNetFlt.sys (bug #7601) + * Solaris hosts: fixed host USB DVD drive detection + * Mac OS X hosts: fixed swapped keys for certain ISO keyboard types (bug #2996) + * Linux hosts: added link state handling for TAP devices needed for proper operation with bridged networking + * Linux hosts/guests: Linux 2.6.37 fixes + * Linux Additions: properly compile the vboxvideo module if DKMS is not installed (bug #7572) + * Linux Additions: fixed a memory leak when accessing non-existing files on a Shared Folders (bug #7705) + * Windows Additions: skip none-mapped user accounts when enumerating user accounts for VM information +- deprecated vbox-kernel-2637.diff +- added rpath.diff to fix build +- modify vboxdrv init script with proper macros in install section + +------------------------------------------------------------------- +Thu Dec 2 11:26:48 CET 2010 - dmueller@suse.de + +- remove runlevel 4 from start scripts + +------------------------------------------------------------------- +Fri Nov 19 19:06:48 UTC 2010 - coolo@novell.com + +- take patch from upstream to fix build with 2.6.37 + +------------------------------------------------------------------- +Wed Nov 10 00:06:58 UTC 2010 - javier@opensuse.org + +- Added vbox-default-os-type.diff + * Changes the default Linux guest OS to openSUSE + +------------------------------------------------------------------- +Wed Oct 13 21:44:12 UTC 2010 - crrodriguez@novell.com + +- Update to VirtualBox 3.2.10 + * Fix build with newer kernels + * support X.Org Server 1.9 + * don't crash VBoxClient during reboot + * Bridged networking: fixed occasional host freeze during VM shutdown + * fixed memory leak under certain circumstances + * under rare conditions the NAT engine consumed 100% CPU load + +------------------------------------------------------------------- +Tue Sep 21 15:47:03 UTC 2010 - puzel@novell.com + +- install mount.vboxsf into /sbin, not /usr/sbin (bnc#636347) + +------------------------------------------------------------------- +Wed Sep 15 08:35:14 UTC 2010 - jeffm@novell.com + +- added a patch that converts vbox shared folders to use 2.6-style + embedded inodes but i haven't tested it. I don't use virtualbox and don't + intend to start. + +------------------------------------------------------------------- +Tue Sep 14 14:10:57 UTC 2010 - coolo@novell.com + +- add vbox-kernel-2.6.36.diff to support kernel > 2.6.35 + +------------------------------------------------------------------- +Tue Sep 7 18:20:54 UTC 2010 - mseben@gmail.com + +- created qt subpackage with qt dependency + +------------------------------------------------------------------- +Mon Sep 6 23:01:52 UTC 2010 - masterpatricko@gmail.com + +- Add vbox-python-2.7-configure to build against Python 2.7 + +------------------------------------------------------------------- +Sun Sep 5 11:26:25 UTC 2010 - mseben@gmail.com + +- added devel subpackage + +------------------------------------------------------------------- +Sat Sep 4 15:27:58 UTC 2010 - mseben@gmail.com + +- added subpackage with python bindings + +------------------------------------------------------------------- +Sat Aug 28 19:01:35 UTC 2010 - cristian.rodriguez@opensuse.org + +- Do not include build dates in binaries, make build-compare + happier + +------------------------------------------------------------------- +Thu Aug 26 11:17:33 UTC 2010 - gber@opensuse.org + +- made the vboxadd init script depend on $remote_fs since it + requires /usr to be mounted + +------------------------------------------------------------------- +Sun Aug 15 16:00:34 UTC 2010 - mseben@gmail.com + +- update to 3.2.8 + * VMM: properly terminate the VM with an error if the guest is trying to switch to the PAE mode but PAE is disabled in the VM settings + * GUI: switch to native file dialogs (Windows hosts only; bug #5459) + * GUI: don't use native file dialogs on KDE hosts (Linux hosts only; bug #6809) + * 3D support: fixed GL_EXT_texture_sRGB support + * PXE: fixed ZENworks PXE boot regression + * OVF: fixed slower export and larger images under certain circumstances (3.2.6 regression; bug #7073) + * USB: properly signal an interrupt if the port suspend status changes + * USB: respect the remote-only filter + * USB: avoid VM hang when changing the configuration of certain devices (Windows hosts only) + * USB: fix a crash with older Linux kernels and non-ASCII characters in device strings (Linux hosts only; bug #6983) + * PageFusion: fixed conflict with the guest execution feature + * PageFusion: fixed stability issues with a large number of VMs + * PageFusion: fixed host crashes with guest SMP and Win64 guests + * Memory ballooning: fixed problems restoring VMs with pre-allocation enabled + * Bridged networking: fixed performance issue with GRO enabled on bridged device (bug #7059) + * Hostonly networking: fixed performance issue (3.2.6 regression; bug #7081) + * Hard disks: fix auto-reset of immutable disk at VM startup (bug #6832) + * BusLogic: several fixes for Windows NT/2000 and SCO OpenServer guests + * LsiLogic: fixed I/O errors under rare circumstances + * Sharing disks: support for attaching one disk to several VMs without external tools and tricks (see here for a short explanation) + * Shared folders: several fixes and performance enhancements for Solaris guests (bugs #4154 and #6512) + * Solaris Installer: added support for remote installations + * Guest Properties API: correctly support enumerating the properties of a running VM with an empty "patterns" field (bug #7171) + * Guest properties: properly delete transient properties on shutdown + * RDP video redirection performance improvements and stability fixes + * Settings: silently fix host audio driver when reading machine XML settings files or OVF written by VirtualBox on a different host OS, for example convert DirectSound to PulseAudio (bug #7209) + * Settings: properly store the NAT network setting in XML settings file version 1.10 and later (bug #6176) + * VBoxManage: handle differencing images with parent UUID correctly in subcommand openmedium disk (bug #6751) + * Web service: enabled HTTP keepalive for much better performance + * Web service: added timestamps to logging output + * Web service: treat 8-bit strings as UTF-8 not ASCII + * X11 Additions: fix for Xorg 6.8 guests (e.g. RHEL4) + +------------------------------------------------------------------- +Mon Jun 28 07:26:55 UTC 2010 - mseben@novell.com + +- update to 3.2.6: + * VMM: fixed host crash when running 64-bit guests on 32-bit hosts with certain Intel CPUs (VT-x only; bug #6166) + * VMM: allow 64-bit SMP guests on 32-bit hosts (VT-x and AMD-V only; does not apply to Mac OS X, which already supports it) + * VMM: fixed Guru mediation if guests with more than 2GB are booted with VT-x/AMD-V disabled (bug #5740) + * VMM: fixed TR limit trashing (VT-x and 64-bit host only; bug #7052) + * Page Fusion: several bug fixes for SMP guests (including bug #6964) + * Teleportation: several fixes and improvements + * Mac OS X server guests: compatibility fix + * EFI: fixed memory detection for guests with 2GB or more RAM assigned + * GUI: added a workaround for a Linux kernel bug which affecting asynchronous I/O on ext4 / xfs file systems (Linux hosts only) + * GUI: added setting for multiple VRDP connections; useful if multiple screens are enabled + * GUI: another fix for the keyboard capturing bug under metacity (bug #6727) + * GUI: fixed quit dialog when used in seamless or fullscreen mode (Mac OS X hosts only; bug #6938) + * GUI: handle the extra key on the Brazilian keyboard on X11 hosts again (bug #7022). + * 2D Video acceleration: fixed crashes when leaving the fullscreen mode (bug #6768) + * VBoxManage: fixed storageattach error handling (bug #6927) + * VBoxManage: fixed dhcpserver add (3.2.0 regression; bug #7031) + * Storage: fixed hang with images located on filesystems which don't support async I/O (bug #6905) + * Storage: fixed raw disks on Windows hosts (3.2.0 regression; bug #6987) + * LsiLogic: fixed hang with older Linux guests + * BusLogic: fixed hang during I/O + * SATA: set initial number of ports to 1 as some guests can't handle 30 ports (e.g. CentOS 4 and FreeBSD; bug #6984) + * SATA: performance improvement + * SCSI: fixed error when using the full format option during Windows installation (bug #5101) + * iSCSI: fixed authentication (bug #4031) + * Host-only/bridged networking: fixed excessive host kernel warnings under certain circumstances (Linux hosts only; 3.2.0 regression; bug #6872) + * NAT: fixed potential memory leaks + * NAT: increased the size of the memory pool for 16K Jumbo frames (performance tweak) + * NAT: allow to link/unlink the network cable even if the VM is currently paused + * E1000: disconnect cable was not properly handled if the NIC was not yet initialized by the guest + * OVF: export performance optimization + * OVF: upgraded OS type definitions to CIM 2.25.0 so that Windows 7 and other OSes are now tagged correctly on export + * Settings: the setting for disabling the host I/O cache was sometimes not properly saved + * Settings: save machine state into XML correctly even when snapshot folder has been changed to a non-default location (bug #5656) + * USB: allow the guest to disable an EHCI port + * USB: find a valid language ID before querying strings (bug #7034) + * POSIX hosts: fixed several memory leaks (3.2.0 regression) + * Solaris hosts: fixed VDI access problem under certain circumstances (IDE/SATA; 3.2.0 regression) + * Solaris hosts: fixed VM fails to start on 32-bit hosts (3.2.0 regression; bug #6899) + * Windows hosts (32-bit): increase guest RAM limit if the host kernel allows for more virtual address space + * Linux Additions: re-read a directory after a file was removed (bug #5251) + * Linux Additions: install the DRI driver in the right location on ArchLinux guests (bug #6937) + * X11 Additions: fixed spurious mouse movement events (bug #4260) + * Solaris Additions: fixed guest control execution + +------------------------------------------------------------------- +Tue Jun 15 20:13:33 CEST 2010 - dmueller@suse.de + +- update to 3.2.4: + * GUI: fixed a superfluous resize-event on powering-on VM for X11 (improvement for the 3.2.2 fix) + * Host-only/bridged networking: fixed guest-to-guest communication over wireless (3.2.0 regression; bug #6855) + * Storage: fixed a potential guest disk corruption with growing images (3.2.0 regression) + * Page Fusion: fixed shared module detection for Win64 guests + * 3D support: allow use of CR_SYSTEM_GL_PATH again (bug #6864) + * 3D support: fixed a host assertion for some multi-threaded guest applications (bug #5236) + * 3D support: fixed host crashes with nVIDIA drivers on WDDM startup + * OVF: fixed import of OVFs with a VM description (annotation) (3.2.2 regression; bug #6914) + * VRDP: fixed issues with secondary monitors (bug #6759) + +------------------------------------------------------------------- +Thu Jun 3 13:57:06 UTC 2010 - mseben@novell.com + +- updated to 3.2.2 + * VMM: fixed rare invalid guest state guru meditation (VT-x only) + * VMM: fixed poor performance with nested paging and unrestricted guest execution (VT-x only; bug #6716) + * VMM: fixed occasional guru meditation during Windows 7 bootup (bug #6728) + * GUI: keep the status for remote control in sync with the actual state + * GUI: don't exit after a successful refresh of an invalid VM configuration + * GUI: fixed keyboard capturing bug under metacity (bug #6727) + * GUI: fixed crash during VM termination if a modal dialog is open + * GUI: default controllers names of New VM Wizard are synchronized with VM settings + * GUI: fixed superfluous resize-event on powering-on VM for X11 + * GUI: fixed regression - missed USB item's tool-tip of USB devices menu + * GUI: Activate VM window on mouse-hovering for multi-monitor VMs + * VBoxSDL/Linux hosts: automated keyboard type detection (bug #5764) + * SATA: fixed crash during VM suspend under rare circumstances + * SATA: fixed crash during VM reset after a snapshot was taken + * Storage: fixed sporadic hang of SMP guests using SATA or LSI Logic SCSI and asynchronous I/O + * Virtio-net: fix for guests with more than about 4GB RAM (bug #6784) + * Page Fusion: fixed VBoxService crash with enabled Page Fusion on Win64 guests + * Page Fusion: added kernel module sharing + * HGCM: fixed memory leak which showed up if the Guest Additions were accessing a non-existing HGCM service + * Teleportation: several fixes + * Floppy: don't disable the host I/O cache by default + * USB: fixed 3.1 regression with certain devices (e.g. iPhone); Windows host only + * Serial: updated the guest device emulation to 16550A and reduced the probability for loosing bytes during transmission (bug #1548) + * NAT: re-fetch the name server parameters from the host on guest DHCP requests to handle host network switches more gracefully (bug #3847) + * NAT: fixed parsing of IPv4 addresses in CIDR notation (bug #6797) + * NAT: limit the number of name servers passed to the guest to four (non-Windows hosts only; bug #4098) + * NAT: fixed DNS transaction id mismatch (bug #6833) + * VDE: fixed changing the attachment during runtime + * Bridged Networking: fixed memory leak in the Bridged Networking driver for Windows hosts (bug #6824) + * Windows Additions: fix for NT4 guests (bug #6748) + * Windows Additions: re-introduced system preparation feature + * Linux guests: enable PAE for RedHat guests by default + * Linux guests: fix support for disabling mouse integration (bug #6714) + * Webservice: fixed a rare crash when calling IGuest methods from the webservice. + * OVF: fixed wrong hard disk UUIDs on export (bug #6802) + * OVF: fixed 3.2.0 regression importing legacy OVF 0.9 files + * 3D support: fixed OpenGL support for 64bit apps on windows guests + * 3D support: fixed various host crashes (#2954, #5713, #6443) + + +------------------------------------------------------------------- +Thu Jun 3 11:32:26 UTC 2010 - mseben@novell.com + +- updated to 3.2.0 + * Following the acquisition of Sun Microsystems by Oracle Corporation, the product is now called Oracle VM VirtualBox + * Experimental support for Mac OS X guests (see the manual for more information) + * Memory ballooning to dynamically in- or decrease the amount of RAM used by a VM (64-bit hosts only) + * Page Fusion automatically de-duplicates RAM when running similar VMs thereby increasing capacity + * CPU hot-plugging for Linux (hot-add and hot-remove) and certain Windows guests (hot-add only) + * New Hypervisor features: with both VT-x/AMD-V on 64-bit hosts, using large pages can improve performance; also, + on VT-x, unrestricted guest execution is now supported (if nested paging is enabled with VT-x, real mode and + protected mode without paging code runs faster, which mainly speeds up guest OS booting) + * Support for deleting snapshots while the VM is running + * Support for multi-monitor guest setups in the GUI for Windows guests + * USB tablet/keyboard emulation for improved user experience if no Guest Additions are available + * LsiLogic SAS controller emulation + * RDP video acceleration + * NAT engine configuration via API and VBoxManage + * Use of host I/O cache is now configurable + * Guest Additions: added support for executing guest applications from the host system + * OVF: enhanced OVF support with custom namespace to preserve settings that are not part of the base OVF standard + * VMM: fixed Windows 2000 guest crash when configured with a large amount of RAM (bug #5800) + * Linux/Solaris guests: PAM module for automatic logons added + * GUI: guess the OS type from the OS name when creating a new VM + * GUI: added VM setting for passing the time in UTC instead of passing the local host time to the guest (bug #1310) + * GUI: fixed seamless mode on secondary monitors (bugs #1322 and #1669) + * GUI: offer to download the user manual in the OSE version (bug #6442) + * Main: allow to start a VM even if a virtual DVD or floppy medium is not accessible + * Settings: be more robust when saving the XML settings files + * Mac OS X: rewrite of the CoreAudio driver and added support for audio input (bug #5869) + * Mac OS X: external VRDP authentication module support (bug #3106) + * Mac OS X: Moved the realtime dock preview settings to the VM settings (no global option anymore). Use the dock menu to configure it. + * Mac OS X: added the VM menu to the dock menu + * 3D support: fixed corrupted surface rendering (bug #5695) + * 3D support: fixed VM crashes when using ARB_IMAGING (bug #6014) + * 3D support: fixed assertion when guest applications uses several windows with single OpenGL context (bug #4598) + * 3D support: added GL_ARB_pixel_buffer_object support + * 3D support: added OpenGL 2.1 support + * 3D support: fixed Final frame of Compiz animation not updated to the screen (Mac OS X only) (bug #4653) + * 3D support: fixed blank screen after loading snapshot of VM with enabled Compiz + * Added support for virtual high precision event timer (HPET) + * OVF: fixed mapping between two IDE channels in OVF and the one IDE controller in VirtualBox + * OVF: fix VMDK format string identifiers and sort XML elements from rasd: namespace alphabetically as prescribed by standard + * VBoxShell: interactive Python shell extended to be fully functional TUI for VirtualBox + * Linux Additions: support Fedora 13 (bug #6370) + * VBoxManage: fixed overly strict checks when creating a raw partition VMDK (bugs #688, #4438) +- dropped vbox-system-xorg.patch and vbox-drm-includepath.diff we + use now xorg includes and libs from tarball +- turn on VNC server feature, which allows users to connect + to a virtual machine remotely using any VNC client. + +------------------------------------------------------------------- +Mon May 31 10:59:40 UTC 2010 - mseben@novell.com + +- create links to vbox tools in %_bindir - they could be usefull + for controlling vbox from command line + +------------------------------------------------------------------- +Mon May 24 12:50:36 UTC 2010 - mseben@novell.com + +- fix vboxguest.rules udev rule for guest : use TAG+="udev-acl" + to grant permissions + +------------------------------------------------------------------- +Mon May 10 15:15:42 UTC 2010 - mseben@novell.com + +- updated to 3.1.8 + * VMM: fixed crash with the OpenSUSE 11.3 milestone kernel during early boot (software virtualization only; bug #5457) + * VMM: fixed invalid state during teleportation + * VMM: fixed OS/2 guest crash with nested paging enabled + * VMM: fixed massive display performance loss (AMD-V with nested paging only) + * GUI: fixed off-by-one bug when passing absolute mouse coordinates to the guest (3.1.6 regression) + * GUI: show the real version of the Guest Additions, not the interface version + * GUI: when adding a DVD or floppy slot in the VM mass storage settings dialog, don't attach a random medium but just leave the slot empty + * GUI: added --seamless and --fullscreen command line switches (bug #4220) + * GUI: fixed a SEGFAULT under rare circumstances + * 2D Video acceleration: fixed display issues when working with non 32-bit modes (bugs 6094 & #6208) + * LsiLogic: Fixed detection of hard disks attached to port 0 when using the drivers from LSI + * ATA: Fixed sporadic crash with Linux guests when having a hard disk and DVD drive on the same channel (bug 6079) + * Network: allow to start a VM even if not all network adapters are attached + * Network: promiscuous mode support for e1000 and simparavirtualized adapters (bug 6519) + * NAT: fixed ICMP latency (non-Windows hosts only; bug 6427) + * SCSI: fixed guest crashes under certain circumstances when booting from SCSI devices + * VBoxManage: fixed modifyvm --natnet default + * Solaris Hosts: fixed a kernel panic when bridged networking might fail to initialize + * Solaris Hosts: fixed priority tagged VLAN packets in bridged networking + * Shared folders: fixed issue with copying read-only files (Linux guests only; bug 4890) + * Shared folders: renamed the guest kernel module from vboxvfs to vboxsf to make it load on demand by the Linux kernel. Fixes mounting from /etc/fstab in Ubuntu 10.04 + * Shared folders: fixed setuid file permissions (Solaris guests only). + * Shared folders: fixed deleting directories recursively (Solaris guests only; bug 6513) + * Guest Additions: support seamless and dynamic resizing on certain older X11 guests (bug 5840) + * Solaris Additions: fixed OpenGL library dependencies (bug 6435) + * Keyboard/Mouse emulation: fixed handling of simultaneous mouse/keyboard events under certain circumstances (bug 5375) + * Mouse emulation: never switch straight back from Explorer to IntelliMouse mode as it confuses the FreeBSD mouse driver (bug 6488) + * SDK: fixed memory leak in IDisplay::takeScreenShotSlow() (bug 6549) + * 3D support: fixed Final frame of Compiz animation not updated to the screen (Mac OS X only) (bug 4653) + * VRDP: allow to bind to localhost only on Mac OS X (bug 5227) + * Linux hosts: add host USB support for Ubuntu 10.04 and other hosts without the hal daemon or usbfs (bug 6343) + * webservice: more structs and array fixes in PHP bindings (bug 5657) + * Windows hosts: make the bridged networking driver notify dll be correctly unregistred on uninstall (bug 5780) +- dropped VBoxRandR.sh (from xorg-x11-driver-virtualbox-ose) by + upstream : VBoxClient now handles dynamic resizing using library + calls, not a shell script see http://www.virtualbox.org/changeset/27601 +- deprecated vbox-fix_PF_storm.diff +- use older version of disable-updates patch +- fix typo in %verify_permissions in spec file +- virtualbox-ose-vboxes init script changes from rbos@opensuse.org + +------------------------------------------------------------------- +Mon Apr 19 00:15:10 CEST 2010 - ro@suse.de + +- buildfix with changed include location for recent libdrm + keep old path as well as to not break when building against older distros + (vbox-drm-includepath.diff) +- fix KMP subpackage naming in specfile + +------------------------------------------------------------------- +Sun Apr 18 12:11:24 CEST 2010 - ro@suse.de + +- add -I/usr/include/libdrm to compiler flags + +------------------------------------------------------------------- +Wed Apr 14 09:32:41 UTC 2010 - mseben@novell.com + +- added vbox-system-xorg.patch to build the X.Org server + additions against our system + +------------------------------------------------------------------- +Fri Apr 9 10:10:55 UTC 2010 - mseben@novell.com + +- added fix_PF_storm.diff to fix crashing during liveCD boot at early + "Loading basic drivers" state (bnc#576681) + +------------------------------------------------------------------- +Mon Apr 5 17:19:36 UTC 2010 - rbos@opensuse.org + +- add script to start virtual boxes during boot, to be configured + via /etc/sysconfig/vbox + +------------------------------------------------------------------- +Mon Apr 5 16:01:09 UTC 2010 - mseben@novell.com + +- fix build : install also dir /etc/X11/xorg.conf.d/ for + 60-vboxmouse.conf config + +------------------------------------------------------------------- +Fri Apr 2 20:55:07 UTC 2010 - mseben@novell.com + +- modified 60-vboxguest.rules and added 60-vboxmouse.conf to fix + lost mouse integration, caused by xorg-server which no longer + use HAL (bnc#592642) + +------------------------------------------------------------------- +Wed Mar 31 11:04:45 UTC 2010 - mseben@novell.com + +- added Obsoletes: virtualbox-ose-kmp to splitted kmp host and + guest packages + +------------------------------------------------------------------- +Fri Mar 26 16:26:05 UTC 2010 - mseben@novell.com + +- updated to 3.1.6 + * Linux hosts: fixed timing issue on hosts with Linux kernels 2.6.31 or later with certain CPUs (asynchronous timer mode; bug #6250) + * Linux hosts: properly handle host suspend/resume events on Linux kernels 2.6.30 or later (bug #5562) + * Mac OS X hosts: fixed VBoxSVC crash while enumerating the host network interfaces under certain circumstances + * Snapshots: fixed image corruption after snapshot merge under certain circumstances (bug #6023) + * Snapshots: fixed crash with VBoxHeadless / OSE + * VMM: fixed reference counting guru meditation (bug #4940) + * VMM: improved guest SMP stability + * VMM: fixed VT-x hardware debug issues (bugs #477 & #5792) + * VMM: fixed PGMDynMapHCPage guru meditation (Mac OS X; VT-x only; bug #6095) + * VMM: fixed pgmPoolTrackFlushGCPhysPTInt guru meditations (Mac OS X; VT-x only; bugs #6095 & #6125) + * VMM: Fixed host crash when running PAE guests in VT-X mode (Mac OS X only; bug #5771). + * GUI: fix displaying of error message (bug #4345) + * GUI: fix inability to enter seamless mode (bugs #6185, #6188) + * 3D support: fixed assertion and flickering when guest application uses several windows with a single OpenGL context (bug #4598) + * 3D support: fixed host crashes when using GL_EXT_compiled_vertex_array and array element calls (bug #6165) + * 3D support: fixed runtime linker errors with OpenGL guest libs (bug #5297) + * 3D support: fixed OpenGL extension viewer crash on startup (bug #4962) + * NAT: fixed a 3.1.4 regression on Windows hosts where graceful connection termination was broken (bug #6237) + * NAT: alternative network setting was not stored persistent (bug #6176) + * NAT: fixed memory corruption during ICMP traffic under certain circumstances + * Network: allow to switch the host interface or the internal network while a VM is running (bug #5781) + * VHD: fix for images with a block size different than 2MB + * USB: fixed filtered device attach regression (bug #6251) + * USB: fixed crash in OHCI under rare circumstances (bug #3571) + * VRDP: fixed hang under rare circumstances when attaching USB devices + * ACPI: prevent guest freezes when accessing /proc/acpi for determining the state of the host battery and the AC adapter (Linux hosts only; bug #2836) + * PulseAudio: fixed guest freezes under certain conditions (3.1.4 regression; bug #6224) + * BIOS: increased space for DMI strings + * BIOS: fixed interrupt routing problem for certain configurations (I/O-APIC enabled, ACPI not used; bug #6098) + * iSCSI: be more robust when handling the INQUIRY response + * iSCSI: be more robust when handling sense data + * BusLogic: fixed FreeBSD guests + * webservice: vboxwebsrv is now multithreaded + * Solaris Installer: fixed netmask to stay persistent across reboots for Host-only interface (bug #4590) + * Linux installer: removed external dependency to libpng12.so (bug #6243) + * Solaris Additions: fixed superfluous kernel logging (bug #6181) + * Linux Additions: fixed hang when starting the X server in Fedora12 guests and in guests with Linux 2.6.33 or later (bug #6198) + * Linux Additions: support Mandriva speedboot runlevel (bug #5484) + * Linux Additions: fixed SELinux security context of mount.vboxsf (bug #6362) + * Linux Additions: support Ubuntu 10.04 (bug #5737) + * Web service: update PHP bindings to fix problems with enums and collections +- deprecated vbox-x_crash.diff + +------------------------------------------------------------------- +Thu Feb 18 10:32:25 UTC 2010 - mseben@novell.com + +- rewritten spec file +- split kmp packages to guest and host parts +- added vbox-x_crash.diff to fix X crash caused by guest additions + see:http://www.virtualbox.org/ticket/6198 + +------------------------------------------------------------------- +Mon Feb 15 15:19:45 UTC 2010 - mseben@novell.com + +- updated to 3.1.4 + * VMM: SMP stability fixes + * VMM: fixed guru meditation in certain rare cases (bug #5968) + * VMM: activate NXE for PAE enabled guests (VT-x and AMD-V on 32 bits hosts only; bug #3578) + * VMM: added workaround for broken BIOSes that make VirtualBox think AMD-V is in use (for details see bug #5639) + * VMM: fixed rare host reboot when restoring a saved state (bug #3945) + * VMM: fixed incompatibility with 2.6.32 Linux kernels (software virtualization only; bug #6100) + * VMM: turn on nested paging by default for new VMs (if available; VT-x and AMD-V only) + * VMM: turn on VPID by default for new VMs (if available; VT-x only) + * VMM: perform strict CPUID compatibility checks when teleporting; to get the old behavior set "VBoxInternal/CPUM/StrictCpuIdChecks" to 0 + * VMM: fixed VM crash with certain 16 bits Windows applications (software virtualization only; bug #5399) + * Snapshots: fixed a 3.1 regression that broke deletion of snapshots when a machine had immutable or writethrough storage attached (bug #5727) + * Saved state: fixed VERR_SSM_LOADED_TOO_MUCH error when loading DisplayScreenshot(bug #6162) + * VBoxManage: add restorecurrent operation to snapshots command + * VBoxManage: fixed broken snapshot lookup by name (bug #6070 + * GUI: fixed the broken "Reload" button that reloads the machine XML when a machine is inaccessible + * GUI: fixed guest fullscreen mode after reboot (bug #5372) + * GUI: handle Ctrl+Break properly on X11 hosts (bug #6122) + * GUI: fixed status LEDs for storage devices + * GUI: workaround for disabling the seamless mode on KDE hosts (KWin bug) + * 3D support: fixed SELinux warning saying VBoxOGL.so requires text relocation (bug #5690) + * 3D support: fixed Corrupted surface rendering (bug #5695) + * 3D support: free textures on guest application termination (bug #5206) + * 3D support: fixed ubigraph_server crashes (#4674) + * 3D support: fixes for 64-bit Solaris guests + * Seamless: disable seamless mode when guest changes screen resolution (bug #5655) + * NAT: fixed high CPU load under certain circumstances (Windows hosts only; bug #5787) + * NAT: fixed handling of the broadcast flag in DHCP requests + * NAT: fixed rare crash due to an assertion in the ICMP code (bug #3217) + * Virtio-net: don't crash when ports accessed beyond the valid range (bug #5923) + * LsiLogic: fix for Windows 7 guests + * ATA: fix for guru meditation when installing Solaris 8 guests (bug #5972) + * VHD: fixed an incompatibility with Virtual PC (bug #5990) + * VHD: update the footer backup after setting a new UUID (bug #5004) + * Host DVD: really fixed loading "passthrough" setting from config file (bug #5681) + * Shared folders: fixed resolving of symlink target on Linux (3.1.2 regression) + * VRDP: fixed VERR_NET_ADDRESS_IN_USE error when restarting a VM (3.1 regression; bug #5902) + * VRDP: fixed crash on Mac OS X when 3D is enabled (3.1 regression) + * PulseAudio: fixed recording (bug #4302) + * USB: fixed a shutdown blue screen (Windows hosts only; bug #5885) + * BIOS: fixed attribute during text scroll (bug #3407) + * OVF: fix strange error messages on disk import errors + * OVF: do not require write access the the .ovf file during import (3.1 regression; bug #5762) + * iSCSI: fix taking snapshots of a running VM (#5849) + * Solaris hosts: several USB fixes (including support for Apple iPod; bug #5873) + * Solaris installer: fixed USB module removal and Solaris 10 "id" binary incompatibility + * Guest Additions: fixed wrong guest time adjustment if the guest clock is ahead (3.1 regression; non-Windows guests only) + * Linux Additions: fixed shared folders for Linux 2.6.32 guests (bug #5891) + * Linux Additions: make the mouse driver work on Debian 5.0.3 guests again (3.1.2 regression, bug #5832) + * Windows Additions: fixed malfunctioning !VBoxService that broke time-sync (bug #5872) + * Windows Additions: fixed uninstallation issues on 64-bit guests + * Windows Additions: fixed some sysprep execution issues + * X.Org Additions: never reject the saved video mode as invalid (bug #5731) + * XFree86 Additions: accept video mode hints for the initial mode again * +- vbox-typecast.diff : deprecated + +------------------------------------------------------------------- +Mon Dec 21 17:41:18 UTC 2009 - poeml@cmdline.net + +- refresh virtualbox-ose-permissions_warning.diff, so it applies on the very + picky Factory (without any fuzz) + +------------------------------------------------------------------- +Mon Dec 21 13:32:47 UTC 2009 - poeml@cmdline.net + +- updated to 3.1.2 (maintenance release) + * VMM: fixed SMP stability regression + * USB: fixed USB related host crashes on 64 bits Windows hosts (#5237) + * Main: wrong default HWVirtExExclusive value for new VMs (bug #5664) + * Main: DVD passthrough setting was lost (bug #5681) + * VBoxManage: iSCSI disks do not support adding a comment (bug #4460) + * VBoxManage: added missing --cpus and --memory options to OVF --import + * GUI: fixed VBox URL in update dialog for German and Dutch languages + * GUI: NLS updates + * OVF: fixed export of non standard storage controller names (bug #5643) + * Solaris hosts: several USB fixes (including support for Apple iPhone) + * Mac OS X hosts: several fixes for the 3D support + * Mac OS X hosts: re-enabled CMD+Key combinations, even if the Host-Key isn't CMD (bug #5684) + * Mac OS X hosts: fixed to fast scrolling if the mouse wheel is used inside the guest (bug #5672) + * Mac OS X hosts: dock & menubar don't disappear in fullscreen when the VM is not running on the primary display (bug #1762) + * Mac OS X hosts: added an option for enabling "Auto show Dock & Menubar in fullscreen" (bug #5636) + * Windows host installer: fixed starting VBox with wrong privileges right after installation (bug #4162) + * Host interface and host-only networking: prevent driver from unloading while a VM is still active (Windows host only) + * Host-only networking: fixed host-only interface creation (Windows host only) (bug #5708) + * Virtio-net: don't crash without an attached network + * Virtio-net: fixed the issue with intermittent network in VM with several virtual CPU cores. + * NAT: fixed port-forwarding regressions (bug #5666) + * NAT: fixed crash under certain conditions (bug #5427) + * NAT: fixed resolving of names containing a slash or underscore when using the host resolver DNS proxy (bug #5698) + * ATA: fixed sporadic crash when resuming after a VM was forcefully paused (e.g. due to iSCSI target being unavailable) + * SATA: fixed raw vmdk disks (bug #5724) + * Linux guests: increased the default memory for Redhat and Fedora guests + * Linux Guest Additions: fixed installation on RHEL 3.9 guests and on some 64bit guests + * Linux Guest Additions: prevent SELinux warnings concerning text relocations in VBoxOGL.so (bug #5690) + * X11 guests: fixed mouse support for some Xorg 1.4 guests (openSUSE 11.0) + * X11 guests: fixed xorg.conf modification for some older Xorg releases (openSUSE 11.1) + * Windows guests: fixed some VBoxService shutdown issues + * Windows guests: fixed VBoxVideo spinlock issues on NT4 + * Windows Guest Additions: fixed uninstallation issues of NT4 + * Shared folders: fixed resolving of symlink target (bug #5631) + * 2D Video acceleration: delay loading of OpenGL dlls for Windows hosts to avoid GUI crashes on misconfigured systems + * 2D Video acceleration: fixed issues with video picture not displayed on playback +- some files have been moved to other places in the source tree, and + virtualbox-ose-disable-updates.diff was adjusted for those changes +- virtualbox-ose-init-scripts.diff was forward ported + +------------------------------------------------------------------- +Fri Dec 4 09:18:13 UTC 2009 - mseben@novell.com + +- small corrections in guest and host init scripts (bnc#560166) + +------------------------------------------------------------------- +Tue Dec 1 08:44:17 UTC 2009 - mseben@novell.com + +- updated to 3.1.0 + - major new futures : + * Teleportation (aka live migration); migrate a live VM session + from one host to another (see the manual for more information) + * VM states can now be restored from arbitrary snapshots instead + of only the last one, and new snapshots can be taken from other + snapshots as well ("branched snapshots"; see the manual for more information) + * 2D video acceleration for Windows guests; use the host video + hardware for overlay stretching and color conversion (see the + manual for more information) + * More flexible storage attachments: CD/DVD drives can be attached + to an arbitrary IDE controller, and there can be more than one + such drive (the manual for more information) + * The network attachment type can be changed while a VM is running + * Complete rewrite of experimental USB support for OpenSolaris + hosts making use of the latest USB enhancements in Solaris Nevada 124 and higher + * Significant performance improvements for PAE and AMD64 guests + (VT-x and AMD-V only; normal (non-nested) paging) + * Experimental support for EFI (Extensible Firmware Interface) + * Support for paravirtualized network adapters (virtio-net) + - the following items were fixed and/or added: + * VMM: guest SMP fixes for certain rare cases + * GUI: snapshots include a screenshot + * GUI: locked storage media can be unmounted by force + * GUI: the a log window grabbed all key events from other GUI windows (bug #5291) + * GUI: allow to disable USB filters (bug #5426) + * GUI: improved memory slider in the VM settings + * GUI: the VirtualBox website couldn't be opened from the help menu (bug #4559) + * 3D support: major performance improvement in VBO processing + * 3D support: added GL_EXT_framebuffer_object, GL_EXT_compiled_vertex_array support + * 3D support: fixed crashes in FarCry, SecondLife, Call of Duty, Unreal Tournament, + Eve Online (bugs #2801, #2791) + * 3D support: fixed graphics corruption in World of Warcraft (#2816) + * 3D support: fixed Final frame of Compiz animation not updated to the screen (#4653) + * 3D support: fixed incorrect rendering of non ARGB textures under compiz + * iSCSI: support iSCSI targets with more than 2TiB capacity + * VRDP: fixed occasional VRDP server crash (bug #5424) + * Network: fixed the E1000 emulation for QNX (and probably other) guests (bug #3206) + * NAT: added host resolver DNS proxy (see the manual for more information) + * VMDK: fixed incorrectly rejected big images split into 2G pieces (bug #5523, #2787) + * VMDK: fixed compatibility issue with fixed or raw disk VMDK files (bug #2723) + * VHD: fixed incompatibility with Hyper-V + * Support for Parallels version 2 disk image (HDD) files; see the manual for more information + * OVF: create manifest files on export and verify the content of an optional manifest file on import + * OVF: fixed memory setting during import (bug #4188) + * Mouse device: now five buttons are passed to the guest (bug #3773) + * VBoxHeadless: fixed loss of saved state when VM fails to start + * VBoxSDL: fixed crash during shutdown (Windows hosts only) + * X11 based hosts: allow the user to specify their own scan code layout (bug #2302) + * Mac OS X hosts: don't auto show the menu and dock in fullscreen (bug #4866) + * Mac OS X hosts (64 bit): don't interpret mouse wheel events as left click (bug #5049) + * Mac OS X hosts: fixed a VM abort during shutdown under certain conditions + * Solaris hosts: combined the kernel interface package into the VirtualBox main package + * Solaris hosts: support for OpenSolaris Boomer architecture (with OSS audio backend). + * Shared folders: VBOXSVR is visible in Network folder (Windows guests, bug #4842) + * Shared folders: performance improvements (Windows guests, bug #1728) + * Windows, Linux and Solaris Additions: added balloon tip notifier if VirtualBox host + version was updated and Additions are out of date + * Solaris guests: fixed keyboard emulation (bug #1589) + * Solaris Additions: fixed as_pagelock() failed errors affecting guest properties (bug #5337) + * Windows Additions: added automatic logon support for Windows Vista and Windows 7 + * Windows Additions: improved file version lookup for guest OS information + * Windows Additions: fixed runtime OS detection on Windows 7 for session information + * Windows Additions: fixed crash in seamless mode (contributed by Huihong Luo) + * Linux Additions: added support for uninstalling the Linux Guest Additions (bug #4039) + * Linux guest shared folders: allow mounting a shared folder if a file of the same name as + the folder exists in the current directory (bug #928) + * SDK: added object-oriented web service bindings for PHP5 +- dropped deprecated vbox-fix_return.diff +- refresh patches to apply with fuzz=0 (new rpm) +- added fix_return.diff : fix no-return-in-nonvoid-function build issue +- added typecast.diff : typecast of pointer using uintptr_t to fix build error +- removed deprecated : kmp-vboxvfs.diff and gcc43-fixes.diff + +------------------------------------------------------------------- +Thu Nov 5 13:36:26 UTC 2009 - mseben@novell.com + +- added debug_hash.diff to fix build issue + +------------------------------------------------------------------- +Thu Nov 5 07:59:15 UTC 2009 - mseben@novell.com + +- updated to 3.0.10 + * VMM: guest SMP stability fixes + * VMM: fixed guru meditation with nested paging and SMP guests (bug #5222) + * VMM: changed VT-x/AMD-V usage to detect other active hypervisors; necessary for e.g. Windows 7 XP compatibility mode (Windows & Mac OS X hosts only; bug #4239) + * VMM: guru meditation during SCO OpenServer installation and reboot (VT-x only; bug #5164) + * VMM: fixed accessed bit handling in certain cases (bug #5248) + * VMM: fixed VPID flushing (VT-x only) + * VMM: fixed broken nested paging for 64 bits guests on 32 bits hosts (AMD-V only; bug #5285) + * VMM: fixed loading of old saved states/snapshots (bug #3984) + * Linux hosts: fixed module compilation against Linux 2.6.32rc4 and later + * Guest Additions: fixed possible guest OS kernel memory exhaustion + * Guest Additions: fixed stability issues with SMP guests + * Linux Additions: sendfile() returned -EOVERFLOW when executed on a shared folder (bug #2921) + * Linux Additions: fixed incorrect disk usage value (non-Windows hosts only) + * Linux installer: register the module sources at DKMS even if the package provides proper modules for the current running kernel + * 3D support: removed invalid OpenGL assertion (bug #5158) + * Network: fixed the Am79C973 PCNet emulation for QNX (and probably other) guests (bug #3206) + * VMDK: fix handling of split image variants + * VHD: do not delay updating the footer when expanding the image to prevent image inconsistency + * USB: stability fix for some USB 2.0 devices + * GUI: added a search index to the .chm help file + * GUI/Windows hosts: fixed CapsLock handling on French keyboards (bug #2025) + * Shared clipboard/X11 hosts: fixed a crash when clipboard initialisation failed (bug #4987) + +------------------------------------------------------------------- +Thu Oct 22 15:27:07 CEST 2009 - dmueller@suse.de + +- update to 3.0.8: + * VMM: fixed 64 bits guest on 32 bits host regression in 3.0.6 (VT-x only; bug #4947) + * VMM: fixed a recompiler triple fault guru meditation (VT-x & AMD-V only; bug #5058) + * VMM: fixed hang after guest state restore (AMD-V, 32 bits Windows guest and IO-APIC enabled only; bug #5059) + * VMM: fixed paging issue with OS/2 guests + * VMM: fixed guru meditation in rare cases (2.0 regression; software virtualization only) + * VMM: fixed release assertion during state restore when using the Sound Blaster 16 emulation (bug #5042) + * Security: fixed vulnerability that allowed to execute commands with root privileges + * Linux hosts: fixed runtime assertion in semaphore implementation which was triggered under certain conditions (bug #616) + * Linux hosts: change the default USB access mode on certain distributions (bugs #3394 and #4291) + * Linux hosts: on hardened Gentoo, the VBoxSVC daemon crashed by opening the VM network settings (bug #3732) + * Linux hosts, Solaris hosts: pass the XAUTHORITY variable along the DISPLAY variable when starting a VM from VBoxManage or from the VM selector (bug #5063) + * Linux hosts: use sysfs to enumerate host drives if hal is not available + * Solaris hosts: fixed a bug which would hang the host sporadically as interrupts were not re-enabled everytime + * Solaris hosts: fixed a kernel panic with bridged and host-only networking (bug #4775) + * Solaris hosts: fixed incorrectly persistent CD/DVD-ROMs when changing them (bug #5077) + * X11-based hosts: support additional function keys on Sun keyboards (bug #4907) + * Mac OS X hosts (Snow Leopard): fixed problem starting headless VMs without a graphical session (bug #5002) + * Mac OS X hosts: fixed problem listing host-only adapter names with trailing garbage (attached VMs won't start) + * Windows Additions: now work with Vista 64-bit Home editions (bug #3865) + * Windows Additions: fixed screen corruption with ZoomText Magnifier + * Windows Additions: fixed NPGetUniversalName failure (bug #4853) + * Windows Additions: fixed Windows NT regression (bug #4946) + * Windows Additions: fixed VBoxService not running if no Shared Folders are installed + * Linux Additions: implemented ftrunctate (bug #4771) + * VRDP: start VM even if configured VRDP port is in use + * Networking: the PCnet network device stopped receiving under rare conditions (bug #4870) + * VBoxManage: implemented controlvm vrdpport command + * iSCSI: fixed issue with NetApp targets (#5072) + * SCSI: add support for virtual disks larger than 2TB + * USB: fixed potential crash when unplugging USB2 devices (bug #5089) + * NAT: IPSEC did not properly work with Linux guests (bug #4801) + +------------------------------------------------------------------- +Thu Oct 15 14:02:30 UTC 2009 - mseben@novell.com + +- fixed security issue with empty LD_LIBRARY_PATH in wrappers (bnc#448246) + +------------------------------------------------------------------- +Fri Oct 9 09:33:03 UTC 2009 - mseben@novell.com + +- fix build (corrected 60-vboxadd.rules) + +------------------------------------------------------------------- +Thu Oct 8 15:59:37 CEST 2009 - mseben@novell.com + +- added udev rules file 60-vboxadd.rules for guest system (bnc#541196) + +------------------------------------------------------------------- +Thu Oct 8 12:58:10 CEST 2009 - mseben@novell.com + +- added checks for setuid on VBoxNetAdpCtl (bnc#533550) + +------------------------------------------------------------------- +Mon Oct 5 16:54:19 CEST 2009 - mseben@novell.com + +- added VBoxNetAdpCtl.diff : use VBoxNetAdpCtl.cpp from upstream svn + which fix security problems with popen and strncpy (see bnc#533550) + +------------------------------------------------------------------- +Thu Oct 1 18:54:33 UTC 2009 - mseben@novell.com + +- fix permissions for VBoxRandR and vboxadd-xclient + +------------------------------------------------------------------- +Tue Sep 29 13:58:59 CEST 2009 - mseben@novell.com + +- moved hal policy file 90-vboxguest.fdi to hal/fdi/policy instead + of hal/fdi/information + +------------------------------------------------------------------- +Thu Sep 24 13:15:14 CEST 2009 - mseben@novell.com + +- added 90-vboxguest.fdi for hal policy, to autodetect the virtualbox + mouse (thanks to Tejas Guruswamy) +- added permissions_warning.diff - implements messagebox, which is + displayed, when user try to start VirtualBox and is not a member + of vboxusers group + +------------------------------------------------------------------- +Tue Sep 22 16:33:13 CEST 2009 - mseben@novell.com + +- added VBoxRandR to guest-tools - support for dynamic display changes (autoresize) +- added vboxadd-xclient.sh to guest-tools - allow automatically start + VBoxClient with support for shared clipboard, autoresize and seamless window + +------------------------------------------------------------------- +Mon Sep 14 10:17:15 CEST 2009 - mseben@novell.com + +- rewritten init-scripts.diff (bnc#537793) and added + /etc/default/virtualbox config, which allow configure type of + session shutdown (thanks to Dennis Olsson) + +------------------------------------------------------------------- +Thu Sep 10 10:15:20 CEST 2009 - mseben@novell.com + +- updated to 3.0.6 + * VMM: fixed IO-APIC overhead for 32 bits Windows NT, 2000, XP and 2003 guests (AMD-V only; bug #4392) + * VMM: fixed a Guru meditation under certain circumstances when enabling a disabled device (bug #4510) + * VMM: fixed a Guru meditation when booting certain Arch Linux guests (software virtualization only; bug #2149) + * VMM: fixed hangs with 64 bits Solaris & OpenSolaris guests (bug #2258) + * VMM: fixed decreasing rdtsc values (AMD-V & VT-x only; bug #2869) + * VMM: small Solaris/OpenSolaris performance improvements (VT-x only) + * VMM: cpuid change to correct reported virtual CPU id in Linux + * VMM: NetBSD 5.0.1 CD hangs during boot (VT-x only; bug #3947) + * Solaris hosts: worked around an issue that caused the host to hang (bug #4486) + * Solaris hosts: fixed a rare host system deadlock when using bridged networking + * Solaris hosts: fixed a potential host system deadlock when CPUs were onlined or offlined + * Solaris hosts installer: added missing dependency for UTF-8 package (bug #4899) + * Linux hosts: don't crash on Linux PAE kernels < 2.6.11 (in particular RHEL/CentOS 4); disable VT-x on Linux kernels < 2.6.13 (bug #1842) + * Linux/Solaris hosts: correctly detect keyboards with fewer keys than usual (bug #4799) + * Mac OS X hosts: prevent password dialogs in 32 bits Snow Leopard + * Python WS: fixed issue with certain enumerations constants having wrong values in Python webservices bindings + * Python API: several threading and platform issues fixed + * Python shell: added exportVM command + * Python shell: various improvements and bugfixes + * Python shell: corrected detection of home directory in remote case + * OVF: fixed XML comment handling that could lead to parser errors + * Main: fixed a rare parsing problem with port numbers of USB device filters in machine settings XML + * Main: restrict guest RAM size to 1.5 GB (32 bits Windows hosts only) + * Main: fixed possible hang during guest reboot (bug #3792) + * GUI: fixed rare crash when removing the last disk from the media manager (bug #4795) + * VBoxManage: fixed setting guest properties with --flags or -flags + * Webservice: fixed a severe memory leak, at least on platforms using XPCOM + * Serial: fixed host mode (Solaris, Linux and Mac OS X hosts; bug #4672) + * VRDP: Remote USB Protocol version 3 + * SATA: fixed hangs and BSODs introduced with 3.0.4 (bugs #4695, #4739, #4710) + * SATA: fixed a bug which prevented Windows 7 from detecting more than one hard disk + * SATA/SCSI: fixed rare random guest crashes and hangs + * SCSI: fixed problem with Fedora 11 refusing to boot after kernel update + * iSCSI: fix logging out when the target has dropped the connection, fix negotiation of simparameters, fix command resend when the connection was dropped, fix processing SCSI status for targets which do not use phase collapse + * BIOS: fixed a bug that caused the OS/2 boot manager to fail (2.1.0 regression, bug #3911) + * PulseAudio: don't hang during VM termination if the connection to the server was unexpectedly terminated (bug #3100) + * Mouse: fixed weird mouse behaviour with SMP (Solaris) guests (bug #4538) + * HostOnly Network: fixed failure in CreateHostOnlyNetworkInterface() on Linux (no GUID) + * HostOnly Network: fixed wrong DHCP server startup while hostonly interface bringup on Linux + * HostOnly Network: fixed incorrect factory and default MAC address on Solaris + * HostOnly Network: fixed the problem with listing host-only interfaces on Mac OS X when all physical interfaces are down (bugs #4698, #4790) + * DHCP: fixed a bug in the DHCP server where it allocated one IP address less than the configured range + * E1000: fixed receiving of multicast packets + * E1000: fixed up/down link notification after resuming a VM + * NAT: fixed ethernet address corruptions (bug #4839) + * NAT: fixed hangs, dropped packets and retransmission problems (bug #4343) + * Bridged Network: fixed packet queue issue which might cause DRIVER_POWER_STATE_FAILURE BSOD for Windows hosts (bug #4821) + * Windows Additions: fixed a bug in VBoxGINA which prevented selecting the right domain when logging in the first time + * Shared clipboard: do not send zero-terminated text to X11 guests and hosts (bug #4712) + * Shared clipboard: use a less CPU intensive way of checking for new data on X11 guests and hosts (bug #4092) + * Guest Additions: do not hide the host mouse cursor when restoring a saved state (bug #4700) + * Windows guests: fixed issues with the display of the mouse cursor image (bugs #2603, #2660 and #4817) + * SUSE 11 guests: fixed Guest Additions installation (bug #4506) + * Guest Additions: support Fedora 12 Alpha guests (bugs #4731, #4733 and #4734) +- drop deprecated pa-interface_change.diff + +------------------------------------------------------------------- +Mon Sep 7 14:53:23 CEST 2009 - mseben@novell.com + +- added pa-interface_change.diff to fix interface change in PulseAudio + +------------------------------------------------------------------- +Sun Aug 23 16:10:54 UTC 2009 - mseben@novell.com + +- added vboxvideo.ko kernel module to virtualbox-ose-kmp-* +- added VBoxOGL libraries to xorg-x11-driver-virtualbox-ose + +------------------------------------------------------------------- +Mon Aug 17 22:03:35 CEST 2009 - suse-tux@gmx.de + +- fixed typo in the vboxadd init script and updated virtualbox-ose-init-scripts.diff + (bnc#530271) + +------------------------------------------------------------------- +Fri Aug 14 10:41:16 CEST 2009 - mseben@suse.cz + +- fix quote symbol (") in vboxdrv.rules (bnc#528310) + +------------------------------------------------------------------- +Thu Aug 6 08:01:43 CEST 2009 - mseben@suse.cz + +- updated to 3.0.4 + * VMM: 64 bits guest stability fixes (AMD-V only; bugs #3923 & #3666) + * VMM: SMP stability fixes (AMD-V only) + * VMM: SMP performance improvement (esp. for Solaris guests) + * VMM: eliminated several bugs which could lead to a host reboot + * VMM: fixed OS/2 ACP2 boot floppy hang (VT-x only) + * VMM: small performance improvement for OpenSolaris guests (AMD-V only) + * VMM: fixed CentOS/Xen reboot (software virtualization only; bug #4509) + * SATA: fixed hangs / BSOD during Windows XP installation (bug #4342) + * SATA: mark the ports as non hotpluggable (bug #3920) + * 3D support: fix deadlocks and context/window tracking for multithreaded applications (bug #3922) + * 3D support: fix memory leaks when terminating OpenGL guest applications + * 3D support: fix crash in Call of Duty + * NAT: using two or more NAT adapters in one VM was broken (3.0.0 regression) + * NAT: fixed network communication corruptions (bugs #4499, #4540, #4591, #4604) + * NAT: fixed passive ftp access to host server (bug #4427) + * iSCSI: fixed cloning to/from iSCSI disks + * GUI: fixed path separator handling for the OVF export on Windows (bug #4354) + * GUI: the mini toolbar was only shown on the first host display (bug #4654) + * GUI: added a VM option to display the mini toolbar on top + * GUI: don’t crash when adding plus configuring host-only network interfaces + * Shared Folders: fixed selection of a drive root directory as a shared folder host path in VirtualBox (Windows host only) + * USB: fixed a bug that may have rendered USB devicefilter settings inactive (3.0.2 regression, bug #4668) + * Guest Additions: report the Guest Additions version to the guest properties (bug #3415) + * Linux hosts: fixed problems leading to wrong colors or transparency in host windows with some graphics drivers (bug #3095) + * Linux hosts: hardware detection fallbacks if the hal service fails to find any DVD drives. + * Linux and Solaris hosts: Work around color handling problems in Qt (bug #4353) + * Solaris Installer: fixed incorrect netmask for Host-only interface (bug #4590) + * Solaris Installer: added package dependency for Python and Python-devel (bug #4570) + * X11 guests: prevent windows from being skipped in seamless mode KDE guests (bugs #1681 and #3574) + * X11 guests: fixed screen corruption in X11 guests when large amounts of video RAM were allocated (bug #4430) + * X11 guests: some fixes when switching between host and guest-drawn mouse pointers. + * X11 guests: fixed an issue which caused seamless mode to stop working as it should (the main issue listed in bug #2238). + +------------------------------------------------------------------- +Mon Aug 3 11:42:08 CEST 2009 - mseben@suse.cz + +- drop qt3-devel-tools,libmudflap-32bit from BuildRequires + +------------------------------------------------------------------- +Thu Jul 30 15:09:54 CEST 2009 - mseben@suse.cz + +- enable generated data for SaX +- added mountvboxsf, VBoxControl, VBoxService to guest-tools +- disable chown of device in vboxadd init script in guest-tools subpackage (bnc#507835) + +------------------------------------------------------------------- +Mon Jul 13 11:04:16 CEST 2009 - mseben@suse.cz + +- updated to 3.0.2 + * VMM: fixed network regressions (guest hangs during network IO) (bug #4343) + * VMM: guest SMP performance improvements + * VMM: fixed hangs and poor performance with Kaspersky Internet Security (VT-x/AMD-V only; bug #1778) + * VMM: fixed crashes when executing certain Linux guests (software virtualization only; bugs #2696 & #3868) + * ACPI: fixed Windows 2000 kernel hangs with IO-APIC enabled (bug #4348) + * APIC: fixed high idle load for certain Linux guests (3.0 regression) + * BIOS: properly handle Ctrl-Alt-Del in real mode + * iSCSI: fixed configuration parsing (bug #4236) + * OVF: fix potential confusion when exporting networks + * OVF: compatibility fix (bug #4452) + * NAT: fixed crashes under certain circumstances (bug #4330) + * 3D support: fixed dynamic linking on Solaris/OpenSolaris guests (bug #4399) + * 3D support: fixed incorrect context/window tracking for multithreaded apps + * Shared Folders: fixed loading from saved state (bug #1595) + * Shared Folders: host file permissions set to 0400 with Windows guest (bug #4381) + * X11 host and guest clipboard: fixed a number of issues, including bug #4380 and #4344 + * X11 Additions: fixed some issues with seamless windows in X11 guests (bug #3727) + * Linux hosts: workaround for buggy graphics drivers showing a black VM window on recent distributions (bug #4335) + * Linux hosts: fixed typo in kernel module startup script (bug #4388) + * OVF: accept ovf:/disk/ specifiers with a single slash in addition to ovf://disk/ (bug #4452) + * Fixed a settings file conversion bug which sometimes caused hardware acceleration to be enabled +- drop vbox-ose-rpmlintrc + +------------------------------------------------------------------- +Wed Jul 1 10:33:19 CEST 2009 - mseben@suse.cz + +- updated to 3.0.0, major new features were added: + * Guest SMP with up to 32 virtual CPUs (VT-x and AMD-V only) + * Windows guests: ability to use Direct3D 8/9 applications / games (experimental) + * Support for OpenGL 2.0 for Windows, Linux and Solaris guests +- deprecated : 64issue.diff , validate-op-gcc43.diff and increment.diff +- disabled Makefile-vboxadd,Makefile-vboxnetflt and Makefile-vboxvfs + +------------------------------------------------------------------- +Fri Jun 19 10:35:46 CEST 2009 - coolo@novell.com + +- disable as-needed for this package as it fails to build with it + +------------------------------------------------------------------- +Wed Jun 17 15:25:56 CEST 2009 - mseben@suse.cz + +- updated to 3.0.0_BETA_2, major new features were added: + * Guest SMP with up to 32 virtual CPUs (VT-x and AMD-V only) + * Windows guests: ability to use Direct3D 8/9 applications / games (experimental) + * Support for OpenGL 2.0 for Windows, Linux and Solaris guests +- deprecated : 64issue.diff , validate-op-gcc43.diff and increment.diff +- disabled Makefile-vboxadd,Makefile-vboxnetflt and Makefile-vboxvfs + +------------------------------------------------------------------- +Tue Jun 9 20:53:16 CEST 2009 - coolo@novell.com + + - Replace pmtools with acpica package required for building. + pmtools package gets split into acpica and dmidecode, + pmtools will be dropped. + +------------------------------------------------------------------- +Thu Jun 4 12:58:54 CEST 2009 - mseben@suse.cz + +- added patch increment.diff : same variable used twiceand post + incremented in the same expression in dnsproxy.c + +------------------------------------------------------------------- +Mon Jun 1 10:09:42 CEST 2009 - mseben@suse.cz + +- updated to 2.2.4 + * Solaris hosts: make it work with Solaris build 114 or later (bug #3981) + * Solaris hosts: fixed a bug serial port character handling found during loopback (bug #3120) + * Linux hosts: adapted vboxdrv.sh to the latest changes in VBoxManage list runningvms (bug #4034) + * Windows hosts: fixed a crash caused by host-only/bridged networking + * Mac OS X hosts: fixed access to host DVD with passthrough disabled (bug #4077) + * Guest Additions: fixed problems with KDE 4 not recognizing mouse clicks + * Windows Additions: fixed incorrect 8-bit guest color depth in Windows 7 guests + * GUI: warn if VT-x/AMD-V could not be enabled for guests that require this setting (bug #4055) + * VMM: fixed occassional crash due to insuffient memory + * VMM: fixed hanging 64 bits Solaris guests + * VMM: restore from a saved state occassionally failed (bugs #3984 and #2742) + * Clipboard: fixed a deadlock while shutting down the shared clipboard on X11 hosts (bug #4020) + * OVF: fixed potential hang during import + * OVF: fixed potential crashes during import/export on Win64 hosts + * VBoxManage modifyhd --compact: fixed bug which could lead to crashes and image corruption (bug #3864) + * VBoxManage metrics collect: now flushes the output stream. + * VHD: made VBoxManage internalcommands sethduuid work for .vhd files (bug #3443) + * VHD: some .vhd files could not be cloned (bug #4080) + * VMDK: fixed creating snapshots + * NAT: improvement of TCP connection establisment (bug #2987) + * NAT: fixed order of DNS servers in DHCP lease (bug #4091) + * NAT: fixed DHCP lease for multiple name servers (bug #3692) + * NAT: fixed a potential segfault if the host lost its connectivity (bug #3964) + * Shared Folders: deny access to parent directories on Windows hosts (bug #4090) + * Shared Folders: make rm/rmdir work with Solaris guests on Windows hosts + * Networking: fixed the problem with blocked receiving thread when a broadcast packet arrives too early + to be handled by uninitialized e1000 adapter. + * Networking: fixed the problem that caused host freezes/crashes when using bridged mode with host’s + interface having RX checksum offloading on (bug #3926 and related). Fixes problems with TX offloading as well (bug #3870) + * PXE boot: Added support for PRO/1000 MT Server adapter. + * Python bindings: fixed keyword conflict + * SCSI: fixed occasional crashes on Win64 + * Serial: allow to redirect the serial port to a raw file (bug #1023) + * VRDP: fixed a rare incorrect screen update + +------------------------------------------------------------------- +Fri May 29 14:26:14 CEST 2009 - mseben@suse.cz + +- included proper version of vboxmouse_drv and vboxvideo_drv in + xorg-x11-driver (bnc#507839) + +------------------------------------------------------------------- +Mon May 25 10:00:23 CEST 2009 - coolo@suse.de + +- fix %endif + +------------------------------------------------------------------- +Sat May 23 10:18:21 CEST 2009 - coolo@suse.de + +- switch to gcc44 + +------------------------------------------------------------------- +Thu May 7 17:36:37 CEST 2009 - mseben@suse.cz + +- fixed ose-init-scripts.diff : don't use vboxusers group for + /dev/vboxdrv (bnc#429725) + +------------------------------------------------------------------- +Thu May 7 16:21:43 CEST 2009 - dmueller@suse.de + +- make sure that the kmp is also updated at the same time + like the main module, otherwise bad things will happen + +------------------------------------------------------------------- +Tue May 5 03:09:09 CEST 2009 - dmueller@suse.de + +- fix build for older distros + +------------------------------------------------------------------- +Wed Apr 29 10:44:55 CEST 2009 - mseben@suse.cz + +- updated to 2.2.2 + * Host and guest clipboard: fixed a number of issues affecting hosts and guests running the X window system. + * Guest Additions: make sure the virtual mouse autodetection works on first reboot after installing the Additions on X.Org server 1.5 and later. + * Guest Additions: properly report process identity number of running services + * Guest Additions: clean up properly if the X Window server terminates + * Linux Additions: fixed installation path for OpenGL libraries in some 64-bit guests (bug #3693) + * Solaris Additions: fixed installation to work when X.Org is not installed on the guest + * Solaris Additions: fixed a bug that could panic the guest when unmounting a busy shared folder + * Windows Additions: fixed mouse pointer integration of some Windows guests (2.2.0 regression, bug #3734) + * Windows Additions: fixed installation on Windows Server 2008 Core (bug #2628) + * Main: do not try to use older versions of D-Bus (Linux hosts only, bug #3732) + * VMM: fixed out-of-memory conditions on Windows hosts (bug #3657) + * VMM: fixed occasional hangs when attaching USB devices during VM startup (2.2.0 regression; bugs #3787) + * VMM: fixed guru meditation related to memory management (software virtualization only) + * Virtual disks: fix possible data corruption when writing to diff images, incorrect detection of redundant writes + * GUI: reworked network settings dialog + * GUI: properly show the detailed settings dialog of NAT networks (bug #3702) + * GUI: HostKey could not be changed (2.2.0 regression, bug #3689) + * GUI: fixed memory textfield size (Windows hosts only; bug #3679) + * GUI: fixed crash when selecting a shared folder path (Windows hosts only; bugs #3694, #3751, #3756) + * VBoxManage modifyhd --compact: implemented again for VDI files, and now supports relative paths (bug #2180, #2833) + * VBoxManage snapshot discard: made it work again (2.1.0 regression; bug #3714) + * NAT: fixed release assertion during poll() (bug #3667) + * Clipboard: fixed random crahes (X11 hosts only, bug #3723) + * Shared Folders: fixed incorrect permissions for Solaris guests + * Shared Folders: fixed wrong file sizes with Solaris guests + * CBindings: fixed possible memory leak while releasing the IVirtualBox and ISession Objects + * Solaris hosts: fixed host-only network interface incompatibility with nwam/dhcpagent (bug #3754) + +------------------------------------------------------------------- +Mon Apr 20 15:43:45 CEST 2009 - mseben@suse.cz + +- updated to 2.2.0 + * VMM: FreeBSD guest related fix for V86 flags (bug #2342) + * VMM: fixed guru meditation when booting an AsteriskNow Linux VM (bug #2342) + * VMM: fixed PGMPOOLKIND_FREE guru meditation (bugs #3356, #3431) + * VMM: fixed Windows XP boot hang (guest PAE + nested paging only) + * VMM: allow mixing of VT-x/AMD-V and software virtualization + * VMM: fixed extremely slow safe mode booting in e.g. Windows 2008 (VT-x/AMD-V only) + * VMM: significant speedup of certain GRUB boot loaders (e.g. Solaris) (VT-x/AMD-V only) + * VMM: real-mode IOPL fix for DOS guests (VT-x only) + * VMM: fixed VT-x detection with certain BIOSes that enable VT-x, but don’t set the lock bit in MSR_IA32_FEATURE_CONTROL + * VMM: fixed hibernation issues on Windows XP hosts (VT-x only; bug #1794) + * VMM: properly emulate RDMSR from the TSC MSR, should fix some NetBSD guests + * VMM: emulate RDPMC; fixes Windows guests crashes when using the Kaspersky virus scanner (bug #1778) + * NAT: fixed truncated downloads (FTP) (bug #3257) + * NAT: blocked UDP packets caused a crash (bug #3426) + * NAT: allow to configure the next server and the boot file via VBoxManage (bug #2759) + * IDE: fixed hard disk upgrade from XML-1.2 settings (bug #1518) + * Hard disk: support more VMDK file variants (including fixed-size ESX server images) + * Hard disks: refuse to start the VM if a disk image is not writable + * USB: further reduced host CPU utilization for OHCI and EHCI + * USB: fixed BSOD on the host with certain USB devices (Windows hosts only; bug #1654) + * E1000: properly handle cable disconnects (bug #3421) + * VRDP: fixed hangs when VRDP server is enabled or disabled in runtime + * Shared folders: respect umask settings on Linux, OSX and Solaris hosts when creating files + * X11 guests: prevented setting the locale in vboxmouse, as this caused problems with Turkish locales (bug #3563) + * X11 guests: show the guest mouse pointer at the right position if the virtual desktop is larger than the guest resolution (bug #2306) + * Linux additions: fixed typo when detecting Xorg 1.6 (bug #3555) + * Solaris guests: added xpg4/xcu4 dependency to the guest additions installer (bug #3524) + * Windows guests: bind the VBoxMouse.sys filter driver to the correct guest pointing device (bug #1324) + * Windows hosts: fixed BSOD when starting a VM with enabled host interface (bug #3414) + * Linux hosts: do proper reference counting to prevent unloading the vboxnetflt module as long as this code is in use (bug #3104) + * Linux hosts: do not leave zombies of VBoxSysInfo.sh (bug #3586) + * Linux installers: fixes for Slackware, Arch Linux and Linux from Scratch systems + * Windows installers: combined installer executable which contains both (32- and 64-bit) architectures. + * VBoxManage: less cryptic command-line error messages + * VBoxManage list vms commands now default to compact format + * VBoxManage controlvm dvdattach did not work if the image was attached before + * VBoxManage: allow creation of all supported disk image variants + * VBoxManage showvminfo: don’t spam the release log if the additions don’t support statistics information (bug #3457) + * VBoxManage: big command line processing cleanup + * Hard disks: improved immutable disk support to auto-reset diff file at VM startup (related to bug #2772) + * GUI: enable the audio adapter by default for new VMs + * GUI: warn if VT-x/AMD-V is not operational when starting a 64-bit guest + * GUI: deactivate 64-bit guest support when the host CPU does not support VT-x/AMD-V + * GUI: removed floppy icon from the status bar + * GUI: show build revision in about dialog + * GUI: fixed sticky status bar text + * GUI: improved error dialogs + * GUI: fail with an appropriate error message when trying to boot a read-only disk image (bug #1745) + * GUI/Mac OS X: fixed disabled close button + * GUI/Windows: re-enabled support for copy and paste (Windows hosts 2.0 regression; bug #2065) + * 3D support: added OpenGL select/feedback support (bug #2920) + * 3D support: close OpenGL subsystem for terminated guest applications (bug #3243) + * 3D support: fixed VM hangs when starting guests with 3D acceleration enabled (bug #3437) + * PXE: fixed boot hangs when hardware virtualization is used (bug #2536) + * LsiLogic: fixed problems with Solaris guests + * Main API: close machine settings XML file when unregistering machine (bug #3548) + +------------------------------------------------------------------- +Wed Apr 15 15:03:44 CEST 2009 - ro@suse.de + +- drop xalan/xerces from buildrequires, not used + +------------------------------------------------------------------- +Fri Feb 27 16:14:55 CET 2009 - dmueller@suse.de + +- merge into Factory + +------------------------------------------------------------------- +Fri Feb 27 15:05:37 CET 2009 - suse-tux@gmx.de + +- added Patch18 (vbox-swab_2.6.29_header.diff) which disables vbox's swab.h file + and uses the one which is shipped with the recent linux-kernel-headers package + (former versions of this file weren't c++ compatible). Fixed factory build. + +------------------------------------------------------------------- +Wed Feb 25 13:48:04 CET 2009 - suse-tux@gmx.de + +- removed the networking part from the README.SUSE file. There's no need + to create a bridge anymore. + +------------------------------------------------------------------- +Tue Feb 24 16:46:46 CET 2009 - dmueller@suse.de + + merge with factory + +------------------------------------------------------------------- +Tue Feb 24 16:46:46 CET 2009 - suse-tux@gmx.de + +- new upstream version 2.1.4 +- updated Patch16 (virtualbox-ose-disable-updates.diff) + +------------------------------------------------------------------- +Wed Feb 11 16:42:25 CET 2009 - dmueller@suse.de + +- use the external yasm again instead of an intree + binary blob +- remove intree binary blob (licensing issues) + +------------------------------------------------------------------- +Wed Feb 4 19:05:36 CET 2009 - dmueller@suse.de + +- gcc41 is no longer required for building + +------------------------------------------------------------------- +Mon Feb 2 18:56:20 CET 2009 - mkudlvasr@suse.cz + +- merge with openSUSE factory +- create tmp dir primary based on uid, then env (bnc#427266) + +------------------------------------------------------------------- +Thu Jan 29 21:58:25 CET 2009 - suse-tux@gmx.de + +- added BuildRequires: udev in order to make rpmlint happy + +------------------------------------------------------------------- +Thu Jan 29 21:31:26 CET 2009 - suse-tux@gmx.de + +- new upstream version 2.1.2 +- updated virtualbox-ose-init-scripts.diff +- build everything with gcc43 + +------------------------------------------------------------------- +Thu Jan 22 01:12:29 CET 2009 - dmueller@suse.de + +- merge with openSUSE factory + +------------------------------------------------------------------- +Wed Jan 7 20:39:59 CET 2009 - suse-tux@gmx.de + +- fixed #463822 (wrapper scripts ignored arguments) + +------------------------------------------------------------------- +Sat Jan 3 22:41:23 CET 2009 - suse-tux@gmx.de + +- finally fixed build of vboxvfs (it seems that this was never working) so that modprobe + doesn't complain about unknown symbols +- fixed vboxadd-timesync init script ("status") + +------------------------------------------------------------------- +Sat Jan 3 02:19:34 CET 2009 - suse-tux@gmx.de + +- yet another x86_64 fix (no VBoxREM2.rel anymore due to the new recompiler) + +------------------------------------------------------------------- +Sat Jan 3 01:14:11 CET 2009 - suse-tux@gmx.de + +- fixed vboxvfs on x86_64 (updated and enabled Patch3 (vbox-kmp-vboxvfs.diff)) +- renamed %%{_sbindir}/mountvboxsf to /sbin/mount.vboxsf + +------------------------------------------------------------------- +Tue Dec 30 00:15:28 CET 2008 - suse-tux@gmx.de + +- new upstream version 2.1.0 +- build the complete source with gcc43 (except the recompiler stuff) in order + to avoid weird linking errors +- the vboxvfs init script was removed because vboxvfs depends on vboxadd so + it is merged in one script (rcvboxadd) +- the vboxnet init script and the VBoxAddIF/VBoxDeleteIF scripts were removed + because the TUN/TAP stuff is replaced with the new networking implementation +- don't ship the vditools binary anymore because it is declared as obsolete +- disabled Patch3 (vbox-kmp-vboxvfs.diff) +- disabled Patch15 (vbox-configure_python26.diff) +- added Source11 (Makefile-vboxnetflt) +- updated %%preun and %%postun scripts for the guest-tools package +- enabled vboxadd-timesync by default +- fixed init scripts + +------------------------------------------------------------------- +Tue Dec 2 17:15:35 CET 2008 - mkudlvasr@suse.cz + +- disable dialog for upstream update [bnc#449099] + +------------------------------------------------------------------- +Sat Nov 29 12:12:28 CET 2008 - dmueller@suse.de + +- add missing requires to make seamless mouse integration work + +------------------------------------------------------------------- +Tue Nov 25 14:17:03 CET 2008 - lnussel@suse.de + +- fix permissions handling (bnc#429725) +- fix permissions of /dev/vboxdrv (bnc#429725) +- don't use %_libdir for binaries + +------------------------------------------------------------------- +Mon Nov 24 22:32:13 CET 2008 - dmueller@suse.de + +- 2.0.6 update (bnc#448240): + * VMM: fixed Guru meditation when running 64 bits Windows guests (bug #2220) + * VMM: fixed Solaris 10U6 boot hangs (VT-x and AMD-V) bug #2565) + * VMM: fixed Solaris 10U6 reboot hangs (AMD-V only; bug #2565) + * GUI: the host key was sometimes not properly displayed (Windows hosts only, bug #1996) + * GUI: the keyboard focus was lost after minimizing and restoring the VM window via the Windows taskbar (bugs #784) + * VBoxManage: properly show SATA disks when showing the VM information (bug #2624) + * SATA: fixed access if the buffer size is not sector-aligned (bug #2024) + * SATA: improved performance + * SATA: fixed snapshot function with ports>1 (bug #2510) + * E1000: fixed crash under rare circumstances + * USB: fixed support for iPhone and Nokia devices (Linux host: bugs #470 & #491) + * Linux/Solaris/Darwin hosts: verify permissions in /tmp/vbox-$USER-ipc + * Linux hosts: fixed assertion on high network load (AMD64 hosts, fix for Linux distributions with glibc 2.6 and newer (bug #616) + * Linux hosts: don’t crash during shutdown with serial ports connected to a host device + * Solaris hosts: fixed incompatibility between IPSEC and host interface networking + * Solaris hosts: fixed a rare race condition while powering off VMs with host interface networking + * Solaris hosts: fixed VBoxSDL on Solaris 10 by shipping the required SDL library (bug #2475) + * Linux additions: fixed compilation of vboxvfs.ko for 64-bit guests (bug #2550) + * SDK: added JAX-WS port caching to speedup connections + +------------------------------------------------------------------- +Wed Nov 12 17:02:10 CET 2008 - dmueller@suse.de + +- create vboxusers group in %pre +- tighten restrictions and make factory build again + +------------------------------------------------------------------- +Fri Nov 7 13:33:34 CET 2008 - dmueller@suse.de + +- install usable permission files for the buildservice +- fix preamble again + +------------------------------------------------------------------- +Wed Nov 5 14:36:56 CET 2008 - sndirsch@suse.de + +- use the appropriate driver version of vboxvideo/vboxmouse for + openSUSE 11.1, 11.0, 10.3 and lower (bnc #374710, bnc #438590) + +------------------------------------------------------------------- +Mon Oct 27 21:15:03 CET 2008 - mkudlvasr@suse.cz + +- add Should-Start: ypbind to rcvboxnet +- add rc symlinks for init scripts + +------------------------------------------------------------------- +Mon Oct 27 13:14:57 CET 2008 - ro@suse.de + +- do not play with permissions files on factory + +------------------------------------------------------------------- +Sat Oct 25 19:29:13 CEST 2008 - dmueller@suse.de + +- update to 2.0.4: + * VMM: better error reporting for VT-x failures + * VMM: don’t overflow the release log with PATM messages (bug #1775) + * VMM: fixed save state restore in real mode (software virtualization only) + * GUI: work around a Qt bug on Mac OS X (bug #2321) + * GUI: properly install the Qt4 accessible plugin (bug #629) + * SATA: error message when starting a VM with a VMDK connected to a SATA port (bug #2182) + * SATA: fixed Guru mediation when booting OpenSolaris/64; most likely applies to other guests as well (bug #2292) + * Network: don’t crash when changing the adapter link state if no host driver is attached (bug #2333) + * VHD: fixed bug which prevents booting from VHD images bigger than 4GB (bug #2085) + * VRDP: fixed a repaint problem when the guest resolution was not equal to the client resolution + * Clipboard: don’t crash when host service initialization takes longer than expected (Linux hosts only; bug #2001) + * Linux hosts: handle jiffies counter overflow (VM stuck after 300 seconds of host uptime; bug #2247) + * Solaris hosts: fixed host or guest side networking going stale while using host interface networking (bug #2474) + * Solaris hosts: added support for using unplumbed network interfaces and Crossbow Virtual Network Interfaces (VNICs) with host interface networking + * Solaris hosts: reworked threading model improves performance for host interface networking + * Windows additions: fixed crash when accessing deep directory structures in a shared folder + * Windows additions: improved shared folder name resolving (bug #1728) + * Windows additions: fixed Windows 2000 shutdown crash (bug #2254) + * Windows additions: fixed error code for MoveFile() if the target exists (bug #2350) + * Linux additions: fixed seek() for files bigger than 2GB (bug #2379) + * Linux additions: support Ubuntu 8.10 + * Linux additions: clipboard fixes (bug #2015) + * Web services: improved documentation and fixed example (bug #1642) + + ------------------------------------------------------------------- +------------------------------------------------------------------- +Sat Oct 25 14:25:40 CEST 2008 - suse-tux@gmx.de + +- new upstream version 2.0.4 + +------------------------------------------------------------------- +Fri Oct 17 08:52:44 CEST 2008 - olh@suse.de + +- add ExclusiveArch x86 x86_64 + +------------------------------------------------------------------- +Thu Sep 25 15:56:18 CEST 2008 - mkudlvasr@suse.cz + +- merge into openSUSE Factory + +------------------------------------------------------------------- +Tue Sep 23 18:29:11 CEST 2008 - suse-tux@gmx.de + +- splitted virtualbox-permissions into virtualbox-ose.easy and virtualbox-ose.secure to + be suse compliant + +------------------------------------------------------------------- +Tue Sep 23 15:19:59 CEST 2008 - suse-tux@gmx.de + +- only apply Patch12 (vbox-buildfix) on factory +- added dir /var/run/VirtualBox (this is needed by the VBoxAddIF/VBoxDeleteIF scripts) + +------------------------------------------------------------------- +Mon Sep 22 20:26:54 CEST 2008 - mkudlvasr@suse.cz + +- modified Config.kmk fix to use realpath for splited kernels +- fixed Required-Stop in init scripts + +------------------------------------------------------------------- +Thu Sep 18 19:13:54 CEST 2008 - suse-tux@gmx.de + +- added Patch15 (vbox-configure_python26.diff) to detect the python installation on + factory + +------------------------------------------------------------------- +Thu Sep 18 16:57:59 CEST 2008 - suse-tux@gmx.de + +- fixed #427266 - now virtualbox uses RUNPATH instead of ORIGIN to locate the + libs because ORIGIN seems to be broken if the hardening feature is enabled +- updated Patch3 (vbox-kmp-vboxvfs.diff) and fixed Makefile-vboxvfs (finally!) + in order to remove undefined symbols +- create wrapper script for VBoxHeadless + +------------------------------------------------------------------- +Sun Sep 14 19:46:37 CEST 2008 - suse-tux@gmx.de + +- new upstream version 2.0.2 + +------------------------------------------------------------------- +Sun Sep 14 18:35:46 CEST 2008 - suse-tux@gmx.de + +- disabled Patch2 (vbox-kmp-vboxadd.diff) +- updated Patch3 (vbox-kmp-vboxvfs.diff) +- fixed Makefile, Makefile-vboxadd and Makefile-vboxvfs to compile on x86_64 + +------------------------------------------------------------------- +Sun Sep 14 12:40:48 CEST 2008 - suse-tux@gmx.de + +- new upstream version 2.0.0 +- replaced Patch14 (old: virtualbox-missing-Makefiles.diff) with vbox-kbuild_unit_paths.diff, + this is needed because our kbuild package doesn't ship these units +- fixed Makefile, Makefile-vboxadd and Makefile-vboxvfs + some cleanups +- modified virtualbox-patch-source so that it doesn't remove the kBuild/units dir +- added Source9 (virtualbox-permissions) because we can't ship suid binaries + +------------------------------------------------------------------- +Thu Sep 11 20:41:05 CEST 2008 - mkudlvasr@suse.cz + +- new upstream version 1.6.6 +- removed Patch14 - not needed any more +- added rc-symlinks to init scripts +- fixed Config.kmk + +------------------------------------------------------------------- +Mon Sep 8 17:09:26 CEST 2008 - dmueller@suse.de + +- merge into openSUSE Factory + +------------------------------------------------------------------- +Sat Aug 9 13:30:21 CEST 2008 - suse-tux@gmx.de + +- new upstream version 1.6.4 +- added Patch14 (virtualbox-missing-Makefiles.diff) because some Makefiles are missing + (Makefiles are taken from http://article.gmane.org/gmane.comp.emulators.virtualbox.devel/706) + +------------------------------------------------------------------- +Wed Jun 25 23:58:34 CEST 2008 - dmueller@suse.de + +- merged factory and OBS package + +------------------------------------------------------------------- +Fri Jun 13 13:09:12 CEST 2008 - suse-tux@gmx.de + +- new upstream version 1.6.2 +- updated Patch12 (vbox-buildfix) and Patch13 (virtualbox-use-intree-yasm.diff) + +------------------------------------------------------------------- +Tue Jun 10 20:43:26 CEST 2008 - mkudlvasr@suse.cz + +- add -y option to %fillup_and_insserv macro (bnc#391878) + +------------------------------------------------------------------- +Thu May 15 16:50:22 CEST 2008 - dmueller@suse.de + +- readd Enhances (bnc#390333) + +------------------------------------------------------------------- +Thu May 8 18:36:27 CEST 2008 - ro@suse.de + +- subpackage needs to be virtualbox-ose-KMP (not -kmp) + +------------------------------------------------------------------- +Mon May 5 20:43:05 CEST 2008 - suse-tux@gmx.de + +- enabled Patch2 (vbox-kmp-vboxadd.diff) and Patch3 (vbox-kmp-vboxvfs.diff) again. They're + needed for x86_64 builds. Updated both patches and the parts for the Makefile.module are + removed now because we don't need them. + +------------------------------------------------------------------- +Mon May 5 17:07:36 CEST 2008 - suse-tux@gmx.de + +- fixed Makefile, Makefile-vboxadd and Makefile-vboxvfs +- added "BuildRequires: xorg-x11-libXext-devel-32bit xorg-x11-libXmu-devel-32bit" + to build on x86_64 + +------------------------------------------------------------------- +Mon May 5 02:20:43 CEST 2008 - suse-tux@gmx.de + +- new upstream version 1.6.0 +- added libxml2-devel libxslt-devel to the BuildRequires +- added configuration file %%{_sysconfdir}/vbox/vbox.cfg +- added x11restore.pl to the guest-tools package +- the former vboxadd-xclient is now called VBoxClient +- disabled Patch2 (vbox-kmp-vboxadd.diff) and Patch3 (vbox-kmp-vboxvfs.diff); they seem to be superfluous +- disabled Patch11 (vbox-vboxfs-2.6.25); everything is fixed in this release +- updated other patches: + * Patch10 (vbox-2.6.25): the vfsmod.c stuff is fixed + * Patch4 (virtualbox-ose-init-scripts.diff): removed patches for vboxadd.sh and vboxvfs.sh + minor fix + * some of the other patches were updated to apply flawlessly +- other minor spec file fixes +- adapted virtualbox-patch-source script so that it still works if the dir in the tarball differs from "basename tarball" + (VirtualBox-1.6.0-OSE != VirtualBox-1.6.0_OSE) + +------------------------------------------------------------------- +Fri May 2 17:02:49 CEST 2008 - dmueller@suse.de + +- fix supplements generation (bnc#384084) + +------------------------------------------------------------------- +Wed Apr 30 14:22:40 CEST 2008 - mkudlvasr@suse.cz + +- add enhances statements for kmp. fixes [bnc #384084] + +------------------------------------------------------------------- +Sun Apr 27 21:22:08 CEST 2008 - mkudlvasr@suse.cz + +- remove sax configuration according to [bnc#374710] +- activate init scripts by default +- solve vboxadd-xclient and vboxadd-timesync file conflict + (they were packaged also in virtualbox-ose by mistake) +- added networking configuration into README.SUSE + +------------------------------------------------------------------- +Mon Apr 14 16:26:42 CEST 2008 - dmueller@suse.de + +- remove the full tarball (bnc#270552) + +------------------------------------------------------------------- +Mon Apr 7 20:52:13 CEST 2008 - dmueller@suse.de + +- revert revert of of kbuild package instead of precompiled binaries +- add patch to always use in-tree yasm + +------------------------------------------------------------------- +Sun Apr 6 15:10:06 CEST 2008 - bwalle@suse.de + +- revert of of kbuild package instead of precompiled binaries + since it didn't work in Factory +- revert removal of precompiled binaries from the tarball since + it didn't work in Factory +- fix build on 2.6.25 + +------------------------------------------------------------------- +Thu Apr 3 01:39:21 CEST 2008 - dmueller@suse.de + +- use kbuild package instead of precompiled binaries in tarball +- remove precompiled binaries from the tarball + +------------------------------------------------------------------- +Mon Mar 10 23:38:21 CET 2008 - mkudlvasr@suse.cz + +- add init scripts for guest tools and x11 configuration script +- update README.suse + +------------------------------------------------------------------- +Thu Feb 28 13:44:34 CET 2008 - dmueller@suse.de + +- merge factory and buildservice packages + +------------------------------------------------------------------- +Wed Feb 27 21:33:03 CET 2008 - mkudlvasr@suse.cz + +- created symlink to VBoxTunctl in /usr/bin. VBoxAddIf should work ok now + +------------------------------------------------------------------- +Tue Feb 26 21:14:45 CET 2008 - mkudlvasr@suse.cz + +- re-added script which strips unneded parts of code [bug 270552] + +------------------------------------------------------------------- +Tue Feb 26 15:47:34 CET 2008 - suse-tux@gmx.de + +- new upstream version 1.5.6 +- fixed Makefile for building the vboxdrv module + +------------------------------------------------------------------- +Thu Feb 21 11:50:50 CET 2008 - suse-tux@gmx.de + +- fixed Requires for the guest-tools (typo which was due to the rename) +- minor spec fixes (replaced some hardcoded paths with the corresponding rpm macros) + +------------------------------------------------------------------- +Wed Feb 20 14:27:04 CET 2008 - dmueller@suse.de + +- fix factory/x86_64 buildrequires + +------------------------------------------------------------------- +Fri Feb 15 14:43:17 CET 2008 - dmueller@suse.de + +- rename xorg-x11-driver-virtualbox to xorg-x11-driver-virtualbox-ose + +------------------------------------------------------------------- +Wed Feb 13 22:02:01 CET 2008 - dmueller@suse.de + +- go back to gcc 4.1 for Factory, otherwise it does not work + +------------------------------------------------------------------- +Tue Feb 12 18:23:16 CET 2008 - dmueller@suse.de + +- rename to virtualbox-ose +- add patch for gcc 4.3 compile failure + +------------------------------------------------------------------- +Fri Feb 8 18:36:00 CET 2008 - suse-tux@gmx.de + +- updated virtualbox-init-script: removed check for the existence of the kernel-module (again) + +------------------------------------------------------------------- +Mon Feb 4 21:16:20 CET 2008 - sndirsch@suse.de + +- xorg-x11-driver-virtualbox: install package by default in + virtualbox (Supplements tag); added SaX2/hwinfo data files + (Bug #358460) + +------------------------------------------------------------------- +Thu Jan 31 21:02:56 CET 2008 - suse-tux@gmx.de + +- added language support + +------------------------------------------------------------------- +Mon Jan 28 20:34:49 CET 2008 - suse-tux@gmx.de + +- enabled Patch2 and Patch3 again - otherwise we cannot build on + x86_64 +- updated Makefile-vboxadd and Makefile-vboxvfs to build on x86_64 + +------------------------------------------------------------------- +Sun Jan 27 21:08:26 CET 2008 - suse-tux@gmx.de + +- updated Makefile-vboxadd and Makefile-vboxvfs (minor fixes) +- updated virtualbox-init-script.diff: enabled check if the kernel module exists +- updated virtualbox-gcc43-fixes.diff: most of it is fixed upstream +- disabled Patch2, Patch3 and Patch5 in the spec file: + Patch2: vbox-kmp-vboxadd.diff: this patch shouldn't be needed anymore + Patch3: vbox-kmp-vboxvfs.diff: this patch shouldn't be needed anymore + Patch5: virtualbox-kernel-2.6.24.diff: this is fixed upstream +- some spec file cleanups +- updated to version 1.5.4 + * USB 2.0 support + * PulseAudio backend + * GUI: fixed accelerators in German translation + * GUI: fixed registration dialog crashes + * GUI: allow to enter unicode characters to the name of the registration dialog + * GUI: pre-select attached media in the disk manager when opened from the VM settings dialog + * GUI: remember the last active VM + * GUI: don't accept empty paths for serial/parallel ports in XML + * GUI: fixed NumLock / CapsLock synchronizazion on Windows hosts + * GUI: don't start the kernel timer if no VM is active (Linux host) + * VMM: improved compatibility with FreeBSD guests + * VMM: properly restore CR4 after leaving VT-x mode + * VMM: patch code and disassembler updates + * VMM: with VT-x a pending interrupt could be cleared behind our back + * VMM: workaround for missed cpuid patch (some Linux guests refuse to boot on multi-core CPUs) + * VMM: fixed code for overriding CPUID values + * API: don't crash when trying to create a VM with a duplicate name + * API: don't crash when trying to access the settings of a VM when some other VMs are not accessible + * API: fixed several memory leaks + * ATA/IDE: fixed SuSE 9.1 CD read installer regression + * Floppy: fixed inverted write protect flag + * USB: virtualize an EHCI controller + * USB: several minor fixes + * Network: fixed MAC address check + * Network: host interface fixes for Solaris guests + * Network: guest networking stopped completely after taking a snapshot + * Network: don't crash if a network card is enabled but not attached + * PXE: fix for PXE-EC8 error on soft reboot + * NAT: update the DNS server IP address on every DNS packet sent by the guest + * VGA: reset VRAM access handers after a fullscreen update + * VGA: don't overwrite guest's VRAM when displaying a blank screen + * ACPI: implemented the sleep button event + * VRDP: fixed crash when querying VRDP properties + * VRDP: netAddress fixes + * VRDP: fixed the Pause/Break keys over VRDP + * VRDP: sync NumLock / CapsLock sync over VRDP + * VRDP: workaround for scrambled icons with a guest video mode of 16bpp + * VRDP: reset modifer keys on RDP_INPUT_SYNCHRONIZE + * VRDP: reset RDP updates after resize to prevent obsolete updates + * Clipboard: Windows host/guest fixes + * Clipboard: fixed a SEGFAULT on VM exit (Linux host) + * Clipboard: fixed a buffer overflow (Linux host) + * Shared Folders: fixed memory leaks + * Linux installer: remove the old kernel module before compiling a new one + * Linux host: compatibility fixes with Linux 2.6.24 + * Linux host: script fixes for ArchLinux + * Linux host: load correct HAL library to determine DVD/Floppy (libhal.so.1 not libhal.so) + * Linux host: make sure the tun kernel module is loaded before initializing static TAP interfaces + * Windows additions: fixed hang during HGCM communication + * Windows additions: fixed delay when shutting down the guest + * Linux additions: added sendfile support to allow HTTP servers to send files on shared folders + * Linux additions: make additions work with Fedora 8 (SELinux policy added) + * Linux additions: sometimes ARGB pointers were display incorrectly + * Linux additions: several small script fixes + +------------------------------------------------------------------- +Tue Dec 11 11:31:43 CET 2007 - anschneider@suse.de + +- Add VBoxAddIF and VBoxDeleteIF scripts + +------------------------------------------------------------------- +Fri Nov 30 15:24:43 CET 2007 - anschneider@suse.de + +- Fix kmp requriement + +------------------------------------------------------------------- +Thu Nov 29 15:21:26 CET 2007 - anschneider@suse.de + +- Fixes that virtualbox compiles with gcc 4.3 + * virtualbox-gcc43-fixes.diff + * virtualbox-validate-op-gcc43.diff + +------------------------------------------------------------------- +Wed Nov 28 13:38:12 CET 2007 - anschneider@suse.de + +- Require the same version for the kmp module as the package self. +- Fix conflicts with Kernel 2.6.24 + * virtualbox-kernel-2.6.24.diff + +------------------------------------------------------------------- +Wed Nov 21 03:20:54 CET 2007 - ro@suse.de + +- buildreq: gcc-42 -> gcc-43 + +------------------------------------------------------------------- +Fri Nov 2 13:00:33 CET 2007 - suse-tux@gmx.de + +- Added own Makefiles for the kernel modules (vboxvfs seems + to be broken though) + +------------------------------------------------------------------- +Thu Nov 1 04:53:48 CET 2007 - mkudlvasr@suse.cz + +- added init scripts for starting kernel module. fixes [bug 328887] +- disabled stripping of VBoxREM2.rel . fixes [bug 307722] +- updating to 1.5.2 fixes [bug 335734] + +------------------------------------------------------------------- +Sun Oct 28 21:51:11 CET 2007 - anschneider@suse.de + +- Added xorg-x11 drivers for mouse and video +- Added kernel moduels for guest systems +- Added guest tools for mounting shares, syncing the time and sharing + the clipboard + +------------------------------------------------------------------- +Sun Oct 28 13:11:47 CET 2007 - anschneider@suse.de + +- updated to version 1.5.2 + * Windows Installer: fixed installation on Windows 2000 hosts + * Windows Installer: proper warning when installing a 32-bit VirtualBox + version on 64-bit Windows and vice versa + * Linux Installer: no longer require license acceptance during install, + instead at first GUI startup (addresses issues with hanging installer + on Debian based distributions) + * GUI: added user registration dialog + * GUI: fixed crashes on 64-bit Linux hosts + * GUI: several fixes and improvements to seamless mode + * GUI: fixed DirectDraw mode with certain video cards (e.g. Intel i915) + * GUI: fixed incorrect guest resolution after leaving fullscreen mode + * GUI: improved keyboard handling on Linux host + * GUI: show fatal VM aborts (aka "Guru Meditation") + * GUI: fixed crashes due to a display update race condition on some systems + * GUI: added ACPI shutdown option to the VM close dialog + * GUI: NLS improvements + * BIOS: fixed floppy boot menu + * BIOS: expose the VM UUID in the DMI/SMBIOS area + * VGA: fixed CGA video modes + * VGA: fixed 8-bit DAC handling (Solaris setup) + * VMM: fixed issue with VT-x on Windows 64-bit hosts + * VMM: improved compatibility with Linux KVM + * VMM: fixed issues with Fedora 8 guests + * VMM: fixed fatal errors while installing Windows guests when using AMD-V + * VMM: fixed sporadic hangs when minimizing VM window and using VT-x/AMD-V + * VMM: fixed high load of ksoftirq on tickless Linux hosts + * VMM: fixed Windows 2000 guests hangs related to IRQ sharing + * VMM: fixed sporadic errors during openSUSE 10.3 installation + * VMM: fixed issue with Linux 2.6.23 guests + * VMM: fixed issues with Solaris guests + * VMM: fixed stability issue related to incorrect relocations + * Serial: significantly reduced CPU utilization + * Network: fixed issues with FreeBSD guests + * Network: added MII support (100MBit detection fix) + * Network: improved MAC address handling + * Network: added PXE release logging + * IDE: large reads from CD could exceed the I/O buffer size + * Audio: load ALSA dynamically on Linux (i.e. do not fail when ALSA is not + present) + * VRDP: support additional RDP clients (SunRay, WinConnect, Mac OS X) + * VRDP: fixed issues when client color depth is higher than server color depth + * VRDP: make PAM authentication service name configurable + * VRDP: increased stack size to deal with stack consuming PAM library calls + * Additions: various fixes and enhancements to clipboard handling + * Windows Additions: fixed issues with Additions on NT 4 guests + * Windows Additions: added support for 8-bit video modes + * Windows Additions: allow specifying custom resolutions for secondary screens + * Windows Additions: several fixes and improvements for DirectDraw + * Windows Additions: improved the mouse filter driver compatibility with other + mouse drivers + * Linux Additions: several fixes and enhancements to Shared Folders + * Linux Additions: added support for X.org Server 1.4 + * Shared folders: fixed MS Powerpoint access issues (Linux host) + * API: fixed RPC_E_CHANGED_MODE startup error on Windows hosts + * API: fixed SMP race condition on Linux hosts + * API: fixed stability issues on Windows hosts in low memory conditions + +------------------------------------------------------------------- +Thu Sep 6 15:35:40 CEST 2007 - mvyskocil@suse.de + +- updated to version 1.5.0 + * Major: Seamless windows + * Major: Virtual serial ports + * Major: Intel PXE 2.1 network boot + * GUI: sometimes two mouse cursors were visible when Windows guest additions became active + * GUI: added VT-x/AMD-V settings + * GUI: disable 'Show log...' menu entry to prevent crash if VM list is empty + * GUI: the log window grabbed the keyboard + * GUI: fixed error handling if Linux host clipboard initialization fails + * GUI: pass the Pause key and the PrtScrn key to the guest (Linux hosts) + * GUI: increased maximum guest RAM to 2 GB (Windows host) + * GUI: improved rendering performance (Windows host) + * GUI: status lights for USB and shared folders + * GUI: properly respect the DISPLAY environment variable + * GUI: download Guest Additions from virtualbox.org in case they are not present locally + * VRDP: support for multimonitor configurations in Windows guests + * VRDP: support for MS RDP6 and MS RDP Mac clients + * VRDP: added support for WinConnect RDP client + * VRDP: performance improvements + * VRDP: fixed sporadic client disconnects + * VBoxManage: never delete existing target during clonevdi + * VBoxManage: properly print the size of currently used hard disks + * VMM: fixed Xandros Desktop 4.1 hang + * VMM: fixed VT-x/AMD-V hang with newer versions of gcc (Linux hosts) + * VMM: improved stability of VT-x + * VMM: check for disabled AMD-V when detecting support + * VMM: fixed AMD-V issue when running OS/2 guests + * VMM: fixed application startup regressions (e.g. VideoReDo) + * VMM: fixed regression that broke disk access in OS/2 and OpenBSD guests (possibly much more) + * VMM: fixed crashes if memory allocation failed (Linux) + * VMM: fixed enabling of Local APIC on AMD hosts (fixed Ubuntu Feisty installation kernel hang during boot) + * VMM: fixed XFree86 4.3 (Debian/Sarge) segfaults when switching to text mode + * VMM: refuse to start when KVM is active (Linux Host) + * VMM: fixed bootup hangs with ReactOS + * VMM: fixed out-of-memory errors under certain environments with enough appropriate memory available + * API: fixed occassional crashes of the VBoxSVC server during VM shutdown (Linux host) + * API: some components were not notified when mounting a CD/DVD + * VMDK: improve geometry compatibility with existing VDMK images + * IDE/Floppy: optionally make non-available host device non-fatal + * IDE: improve emulation accuracy of the IRQ line between master and slave drive + * IDE: guest could freeze when unmounting the CD/DVD drive + * VGA: several text mode fixes in particular with Windows DOS boxes + * USB: fixed some issues with Windows hosts + * USB: fixed race condition between udev and USB filters (Linux host) + * Shared Folders: reversed network provider order to increase mapping performance (Windows guest) + * Shared Folders: browsable from Windows Explorer (Windows guests) + * Shared Folders: stability fixes (Windows guest) + * Shared Folders: case sensitivity fixes (Windows guest and Linux host) + * Audio: fall back to the NULL audio driver if no voice could be opened + * NAT: fixed crash + * Guest Additions: reworked the shared clipboard for Linux hosts and guests based on user feedback about problems with individual applications + * Guest Additions: don't allow to disable mouse pointer integration for Linux guests as an Xorg hardware mouse cursor cannot be turned into a software mouse cursor + * Guest Additions: Linux guests shipping Xorg 1.3 (e.g. Fedora 7, Ubuntu Gutsy) are now supported + * Guest Additions: added DirectDraw support to the Windows display driver + +------------------------------------------------------------------- +Tue Aug 28 15:23:36 CEST 2007 - mkudlvasr@suse.cz + +- update to svn version (Aug 22 2007) +- new licence - FLOSS exceptions + +------------------------------------------------------------------- +Mon Jun 25 19:46:32 CEST 2007 - seife@suse.de + +- fix x86_64 build + +------------------------------------------------------------------- +Thu Jun 14 19:01:12 CEST 2007 - mkudlvasr@suse.cz + +- took new update from autobuild (update to version 1.4.0) +- highlights from changelog: + * OS X supported + * amd64 supported + * easier networking of virtual machines +- stripping unneded parts of code [bug 270552] + +------------------------------------------------------------------- +Fri May 11 16:46:45 CEST 2007 - ro@suse.de + +- use same ksrc-magic in specfile as in configure + +------------------------------------------------------------------- +Mon Apr 23 18:57:32 CEST 2007 - mkudlvasr@suse.cz + +- took package from buildservice and added into autobuild + +------------------------------------------------------------------- +Tue Apr 17 00:00:00 CEST 2007 - Marcus Hüwe + +- fixed XEN problems when building x86_64 packages in the BS +- fixed BuildRequires for factory + +------------------------------------------------------------------- +Mon Apr 09 00:00:00 CEST 2007 - Marcus Hüwe + +- udate to 1.3.8 +- fixed x86_64 problems; added a futex patch from mandriva + (see http://cvs.mandriva.com/cgi-bin/viewvc.cgi/contrib-SPECS/virtualbox/VirtualBox-OSE-1.3.4-futex.patch?view=log + for details) + there is still a problem because on x86_64 you cannot load the + kernel module because of nmi_watchdog +- added Requires: virtualbox-kmp +- added a wrapper for VBoxSDL +- added an icon to the desktop file + +------------------------------------------------------------------- +Sun Mar 11 00:00:00 CEST 2007 - Marcus Hüwe + +- made it work again (i forgot to install the *.r0 and *.gc files) + +------------------------------------------------------------------- +Tue Feb 27 00:00:00 CEST 2007 - Marcus Hüwe + +- slightly modified Patch2 (patch for building on XEN hosts) + and also modified the Patch1 a bit +- removed Patch0 (Patch0 was a USB-patch) + +------------------------------------------------------------------- +Tue Feb 20 00:00:00 CEST 2007 - Marcus Hüwe + +- new upstream version 1.3.6 + +------------------------------------------------------------------- +Sun Feb 18 00:00:00 CEST 2007 - Marcus Hüwe + +- added/removed patches +- fixed some 10.2 XEN-issues - now it builds on 10.2 again +- cleaned up spec file (removed some dirty stuff) + +------------------------------------------------------------------- +Tue Feb 13 00:00:00 CEST 2007 - Marcus Hüwe + +- new upstream version 1.3.4 + +------------------------------------------------------------------- +Sat Feb 03 00:00:00 CEST 2007 - Marcus Hüwe + +- initial build + diff --git a/virtualbox.spec b/virtualbox.spec new file mode 100644 index 0000000..bfe3bbf --- /dev/null +++ b/virtualbox.spec @@ -0,0 +1,1078 @@ +# +# spec file for package virtualbox +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# 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/ +# + + +%if "@BUILD_FLAVOR@" == "kmp" +### macros for virtualbox-kmp ### +%define main_package 0 +%define kmp_package 1 +%if 0%{?suse_version} > 1600 +%define kmp_longterm 1 +%endif +%define name_suffix kmp +%define dash - +%define package_summary Kernel modules for VirtualBox +%if %{undefined kernel_module_directory} +%define kernel_module_directory /lib/modules +%endif +%else +### macros for virtualbox main package ### +%define main_package 1 +%define kmp_package 0 +%define package_summary VirtualBox is an Emulator +%define qt5ver %(rpm -q --queryformat %%{version} libQt5Core5|perl -ne '/(\\d+)\\.(\\d+)\\.(\\d+)?/&&printf "%%d%%02d%%02d\\n",$1,$2,$3') +#Compat macro for new _fillupdir macro introduced in Nov 2017 +%if ! %{defined _fillupdir} + %define _fillupdir %{_localstatedir}/adm/fillup-templates +%endif +%if ! %{defined _distconfdir} +%define _distconfdir %{_sysconfdir} +%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.*$ +# 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 _vbox_instdir %{_prefix}/lib/virtualbox +%define _udevrulesdir %{_prefix}/lib/udev/rules.d +%endif +# ********* If the VB version exceeds 6.1.x, notify the libvirt maintainer!! +Name: virtualbox%{?dash}%{?name_suffix} +Version: 7.0.18 +Release: 0 +Summary: %{package_summary} +License: GPL-2.0-or-later +%if %{kmp_package} +Group: System/Kernel +%else +Group: System/Emulators/PC +%endif +URL: https://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 source +#%%(bash %%{_sourcedir}/virtualbox-patch-source.sh VirtualBox-%%{version}.tar.bz2) +Source0: VirtualBox-%{version}-patched.tar.bz2 +Source1: UserManual.pdf +Source3: virtualbox-60-vboxguest.rules +Source4: virtualbox-default.virtualbox +Source5: virtualbox-kmp-files +Source7: virtualbox-kmp-preamble +Source8: update-extpack.sh +Source9: virtualbox-wrapper.sh +Source10: virtualbox-LocalConfig.kmk +Source11: virtualbox-60-vboxdrv.rules +Source12: vboxclient.service +Source13: vboxservice.service +Source14: vboxdrv.service +Source15: vboxadd-service.service +Source16: vboxconfig.sh +Source17: vboxguestconfig.sh +Source18: fix_usb_rules.sh +Source19: vboxdrv.sh +Source20: README.autostart +Source21: vboxweb-service.service +Source22: vboxweb-service.sh +Source23: vboxautostart-service.service +Source24: vboxautostart-service.sh +Source25: vboxclient.desktop +Source97: README.build +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 +# Fix for GCC13 +Patch3: fixes_for_gcc13.patch +# No Vbox Video +Patch4: remove_vbox_video_build.patch +# SDL Patch +Patch5: fix_sdl_build.patch +# OPENSUSE implement messagebox when user try to start VirtualBox and is not member of vboxusers group +Patch6: vbox-permissions_warning.diff +# Patch to ensure that VirtualBoxVM is SUID +Patch7: vbox-suid-warning.diff +# Disable experimental and incomplete CLOUD_NET +Patch8: turn_off_cloud_net.patch +# Patch to add code to explain USB Passthru +Patch9: vbox-usb-warning.diff +# Patch for 15.5 +Patch10: fix_for_leap15.5.patch +# +# Common BuildRequires for both virtualbox and virtualbox-kmp +BuildRequires: %{kernel_module_package_buildreqs} +%if 0%{?kmp_longterm} +BuildRequires: kernel-syms-longterm +%endif +BuildRequires: acpica +BuildRequires: cmake-full +BuildRequires: dwarves +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: kbuild >= 0.1.9998svn3101 +BuildRequires: libcap-devel +BuildRequires: libcurl-devel +BuildRequires: libopenssl-devel +BuildRequires: libxslt-devel +BuildRequires: module-init-tools +BuildRequires: nasm +BuildRequires: pam-devel +BuildRequires: yasm +BuildRequires: zlib-devel +ExclusiveArch: x86_64 +%if 0%{?sle_version} != 120300 +Source2: VirtualBox.appdata.xml +%endif +### Requirements for virtualbox main package ### +%if %{main_package} +BuildRequires: LibVNCServer-devel +BuildRequires: SDL2-devel +BuildRequires: alsa-devel +BuildRequires: device-mapper-devel +BuildRequires: dmidecode +BuildRequires: e2fsprogs-devel +BuildRequires: fdupes +BuildRequires: glibc-devel-static +BuildRequires: glslang-devel +BuildRequires: gsoap-devel >= 2.8.50 +BuildRequires: java-devel >= 1.6.0 +#BuildRequires: libSDL2-2_0-0 +BuildRequires: libelf-devel +BuildRequires: libidl-devel +BuildRequires: libopenssl-devel +BuildRequires: libopus-devel +BuildRequires: libqt5-linguist +BuildRequires: libqt5-linguist-devel +BuildRequires: libqt5-qtbase-devel +BuildRequires: libqt5-qttools-devel +BuildRequires: libqt5-qtx11extras-devel +BuildRequires: libtpms-devel +BuildRequires: libvpx-devel +BuildRequires: libxslt-devel +BuildRequires: libzio-devel +BuildRequires: lzfse +BuildRequires: lzfse-devel +BuildRequires: pulseaudio-devel +BuildRequires: python-rpm-macros +BuildRequires: python3-devel +BuildRequires: rpm +BuildRequires: sed +BuildRequires: systemd-rpm-macros +BuildRequires: sysuser-tools +BuildRequires: update-desktop-files +BuildRequires: which +BuildRequires: xorg-x11-server +BuildRequires: pkgconfig(fontsproto) +BuildRequires: pkgconfig(glu) +BuildRequires: pkgconfig(glx) +BuildRequires: pkgconfig(libpng) +BuildRequires: pkgconfig(randrproto) +BuildRequires: pkgconfig(renderproto) +BuildRequires: pkgconfig(resourceproto) +BuildRequires: pkgconfig(scrnsaverproto) +BuildRequires: pkgconfig(sdl) +BuildRequires: pkgconfig(udev) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xau) +BuildRequires: pkgconfig(xcomposite) +BuildRequires: pkgconfig(xcursor) +BuildRequires: pkgconfig(xdmcp) +BuildRequires: pkgconfig(xext) +BuildRequires: pkgconfig(xextproto) +BuildRequires: pkgconfig(xf86driproto) +BuildRequires: pkgconfig(xfixes) +BuildRequires: pkgconfig(xinerama) +BuildRequires: pkgconfig(xineramaproto) +BuildRequires: pkgconfig(xmu) +BuildRequires: pkgconfig(xproto) +BuildRequires: pkgconfig(xrandr) +Requires: %{name}-kmp = %{version} +Requires(pre): %fillup_prereq +Requires(pre): permissions +Recommends: %{name}-gui = %{version} +# package i4l-vbox from source package i4l-base shares the directory /etc/vbox +# with us, but with different owner. +Conflicts: i4l-vbox +#rename from ose version: +Provides: %{name}-ose = %{version} +Obsoletes: %{name}-ose < %{version} +%{?systemd_ordering} +%{?sysusers_requires} +%if 0%{?suse_version} > 1325 +BuildRequires: libboost_headers-devel +%else +BuildRequires: boost-devel +%endif +%ifarch amd64 x86_64 ia32e em64t +BuildRequires: gcc-32bit +BuildRequires: gcc-c++-32bit +BuildRequires: xorg-x11-libX11-devel-32bit +BuildRequires: xorg-x11-libXext-devel-32bit +BuildRequires: xorg-x11-libXmu-devel-32bit +BuildRequires: xorg-x11-libXt-devel-32bit +%endif +%if ! 0%{?suse_version} > 1325 +Requires(pre): net-tools-deprecated +%endif +# end of main_package +%endif +### Requirements for virtualbox-kmp ### +%if %{kmp_package} +BuildRequires: alsa-devel +BuildRequires: libiptc-devel +BuildRequires: libpulse-devel +BuildRequires: libxml2-devel +Requires: ca-certificates +Requires: openSUSE-signkey-cert +%kernel_module_package -p %{SOURCE7} -n virtualbox -f %{SOURCE5} -x kdump um xen pae xenpae pv +# end of kmp_package +%endif +### Description and subpackages of virtualbox main package ### +%if %{main_package} +%description +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 +Summary: Qt GUI part for %{name} +Group: System/Emulators/PC +Requires(pre): %{name} = %{version} +Requires(pre): permissions +Provides: %{name}-gui = %{version} +#this is needed during update to trigger installing qt subpackage +#http://en.opensuse.org/openSUSE:Upgrade_dependencies_explanation#Splitting_and_Merging +Provides: %{name}-ose:%{_vbox_instdir}/VirtualBox.so +#rename from "ose" version: +Provides: %{name}-ose-qt = %{version} +Obsoletes: %{name}-ose-qt < %{version} + +%description qt +This package contains the code for the GUI used to control VMs. + +%package websrv +Summary: WebService GUI part for %{name} +Group: System/Emulators/PC +Requires: %{name} = %{version} +Provides: %{name}-gui = %{version} +Obsoletes: %{name}-vboxwebsrv < %{version} + +%description websrv +The VirtualBox web server is used to control headless VMs using a browser. + +%package guest-tools +Summary: VirtualBox guest tools +Group: System/Emulators/PC +Requires: %{name}-kmp = %{version} +Requires: libnotify-tools +# for /usr/lib/virtualbox/vboxadd-service +Requires: which +Supplements: modalias(pci:v000080EEd0000CAFEsv*sd*bc*sc*i*) +#rename from "ose" version: +Provides: %{name}-ose-guest-tools = %{version} +Obsoletes: %{name}-ose-guest-tools < %{version} +Obsoletes: virtualbox-guest-x11 < %{version} +Obsoletes: xorg-x11-driver-virtualbox-ose < %{version} +%if ! 0%{?suse_version} > 1325 +Requires(pre): net-tools-deprecated +%endif +%{?sysusers_requires} + +%description guest-tools +VirtualBox guest addition tools. + +%package -n python3-%{name} +Summary: Python bindings for %{name} +Group: Development/Libraries/Python +Requires: %{name} = %{version} +#rename from "ose" version: +Provides: python3-%{name} = %{version}-%{release} +Obsoletes: python-%{name} < %{version}-%{release} +Obsoletes: python2-%{name} < %{version}-%{release} +Obsoletes: python3-%{name} < %{version}-%{release} +Provides: python3-%{name}-ose = %{version} +Obsoletes: python-%{name}-ose < %{version} +Obsoletes: python2-%{name}-ose < %{version} +Obsoletes: python3-%{name}-ose < %{version} + +%description -n python3-%{name} +Python XPCOM bindings to %{name}. Used e.g. by vboxgtk package. + +%package devel +Summary: Devel files for %{name} +Group: Development/Libraries/Other +Requires: %{name} = %{version} +Requires: python3-%{name} = %{version} +#rename from "ose" version: +Provides: %{name}-ose-devel = %{version} +Obsoletes: %{name}-ose-devel < %{version} + +%description devel +Development file for %{name} + +%package host-source +Summary: Source files for %{name} host kernel modules +Group: Development/Sources +Requires: %{name} = %{version} +Requires: gcc +Requires: kernel-devel +Requires: libelf-devel +Requires: make +BuildArch: noarch + +%description host-source +Source files for %{name} host kernel modules +These can be built for custom kernels using +sudo %{_sbindir}/vboxconfig + +%package guest-source +Summary: Source files for %{name} guest kernel modules +Group: Development/Sources +Requires: gcc +Requires: kernel-devel +Requires: libelf-devel +Requires: make +BuildArch: noarch + +%description guest-source +Source files for %{name} guest kernel modules +These can be built for custom kernels using +sudo %{_sbindir}/vboxguestconfig + +%package guest-desktop-icons +Summary: Icons for guest desktop files +Group: System/Emulators/PC +Requires: %{name} = %{version} +Recommends: %{name}-gui = %{version} +BuildArch: noarch + +%description guest-desktop-icons +This package contains icons for guest desktop files that were created on the desktop. + +%package vnc +Summary: VNC desktop sharing +Group: System/Emulators/PC +Requires: %{name} = %{version} + +%description vnc +Virtual Network Computing (VNC) is a graphical desktop sharing system that uses the Remote Frame Buffer +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. +########################################### +# 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. +# kmp_package +%endif + +%prep +%setup -q -n VirtualBox-%{version} +%patch -P 1 -p1 +%patch -P 2 -p1 +%patch -P 3 -p1 +%patch -P 4 -p1 +%patch -P 5 -p1 +%patch -P 6 -p1 +%patch -P 7 -p1 +%patch -P 8 -p1 +%patch -P 9 -p1 +%patch -P 10 -p1 + +### Documents for virtualbox main package ### +%if %{main_package} +#copy user manual +cp %{SOURCE1} UserManual.pdf +#copy README.build +cp %{SOURCE97} README.build +#copy kbuild config +cp %{SOURCE10} LocalConfig.kmk +#copy autostart doc +cp %{SOURCE20} README.autostart +# main_package +%endif + +# fix build of vboxvideo kernel module: replace relative drm include path with absolute include path +sed -i 's:include/drm:%{_prefix}/src/linux/include/drm:' src/VBox/Additions/linux/drm/Makefile.module.kms + +### %%build, %%install, and %%file sections for virtualbox ### +%if %{main_package} +%build +# Disable LTO - Link Time Optimization + %define _lto_cflags %{nil} + #ensure we don't ever use them +rm -rf src/libs/{libpng-*,libxml2-*,libxslt-*,zlib-*,boost-*} + +# --disable-kmods don't build Linux kernel modules - but use SUSE specific way see few lines under +# NOT an autoconf ceonfigure macro +./configure \ + --enable-vnc \ + --enable-vde \ + --disable-kmods \ + --with-linux="%{_prefix}" \ + --disable-java \ + --disable-docs \ + --enable-webservice \ + --with-makeself=%{_bindir}/true + +# configure actually warns we should source env.sh (which seems like it could influence the build...) +source ./env.sh + +# +# VBOX_PATH_PACKAGE_DOCS set propper path for link to pdf in .desktop file +# VBOX_WITH_REGISTRATION_REQUEST= VBOX_WITH_UPDATE_REQUEST= just disable some functionality in gui +echo "build basic parts" + %{_bindir}/kmk %{?_smp_mflags} \ + VBOX_GCC_WERR= \ + VBOX_USE_SYSTEM_XORG_HEADERS=1 \ + VBOX_WITH_REGISTRATION_REQUEST= VBOX_WITH_UPDATE_REQUEST= \ + TOOL_YASM_AS=yasm \ + VBOX_BUILD_PUBLISHER=_SUSE \ + TOOL_GCC3_CFLAGS="%{optflags}" TOOL_GCC3_CXXFLAGS="%{optflags}" \ + VBOX_GCC_OPT="%{optflags}" + +echo "build VNC extension pack" +# tar must use GNU, not POSIX, format here +sed -i 's/tar /tar --format=gnu /' src/VBox/ExtPacks/VNC/Makefile.kmk +kmk -C src/VBox/ExtPacks/VNC packing + +###################################################### +# system users and groups +cat >> vbox.conf << EOF +g vboxusers - - - - +EOF + +cat >> vbox-guest-tools.conf << EOF +g vboxguest - - - - +g vboxsf - - - - +%if 0%{?suse_version} <= 1500 +g vboxvideo - - - - +%endif +EOF + +%sysusers_generate_pre vbox.conf vbox vbox.conf +%sysusers_generate_pre vbox-guest-tools.conf vbox-guest-tools vbox-guest-tools.conf + +%install +################################# +echo "create directory structure" +################################# +install -d -m 755 %{buildroot}%{_sbindir} +install -d -m 755 %{buildroot}%{_prefix}/lib +install -d -m 755 %{buildroot}%{_bindir} +install -d -m 755 %{buildroot}%{_sbindir} +install -d -m 755 %{buildroot}%{_datadir}/virtualbox/nls +install -d -m 755 %{buildroot}%{_datadir}/virtualbox/UnattendedTemplates +install -d -m 755 %{buildroot}%{_datadir}/pixmaps +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 +install -d -m 755 %{buildroot}%{_libdir}/dri +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 +install -d -m 755 %{buildroot}%{_sysconfdir}/vbox/autostart.d +install -d -m 755 %{buildroot}%{_udevrulesdir} +install -d -m 755 %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d + +########################################### +echo "entering guest-tools install section" +########################################### +install -m 755 out/linux.*/release/bin/additions/VBoxControl %{buildroot}%{_bindir} +install -m 755 out/linux.*/release/bin/additions/VBoxService %{buildroot}%{_sbindir}/VBoxService +install -m 755 out/linux.*/release/bin/additions/mount.vboxsf %{buildroot}%{_sbindir}/mount.vboxsf +install -m 744 src/VBox/Additions/linux/installer/vboxadd-service.sh %{buildroot}%{_vbox_instdir}/vboxadd-service +install -d %{buildroot}%{_userunitdir} +# udev rule for guest (virtualbox-guest-tools) +install -m 644 %{SOURCE3} %{buildroot}%{_udevrulesdir}/90-vboxguest.rules +install -p -m 0644 -D %{SOURCE12} %{buildroot}%{_unitdir}/vboxclient.service +install -p -m 0644 -D %{SOURCE13} %{buildroot}%{_unitdir}/vboxservice.service +# /media is used for auto-mounting of shared folders +#VBoxClient daemon (support for clipboard,autoresize,seamless windows) +install -m 755 out/linux.*/release/bin/additions/VBoxClient %{buildroot}%{_bindir} +install -m 755 out/linux.*/release/bin/additions/VBoxDRMClient %{buildroot}%{_bindir} +# install init script which start VBoxClient daemon (support for clipboard,autoresize,seamless windows) +install -m 755 src/VBox/Additions/x11/Installer/98vboxadd-xclient %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d/ +install -d %{buildroot}%{_sysconfdir}/xdg/autostart/ +install -m 644 %{SOURCE25} %{buildroot}%{_sysconfdir}/xdg/autostart/vboxclient.desktop +%if 0%{?suse_version} > 1320 || 0%{?sle_version} == 120300 +install -d -m 755 %{buildroot}/media +%endif + +########################################### +echo "entering VNC extension install section" +########################################### +pushd out/linux.*/release/packages/ +mkdir -p "%{buildroot}%{_datadir}/virtualbox/extensions/" +install -D -m 644 VNC-*.vbox-extpack "%{buildroot}%{_datadir}/virtualbox/extensions/VNC-%{version}.vbox-extpack" +popd + +############################################## +echo "entering virtualbox(-qt) install section" +############################################## +# copy the main files to %%{_vbox_instdir} +pushd out/linux.*/release/bin +install -m 755 VBoxManage %{buildroot}%{_vbox_instdir} +install -m 755 VBoxHeadless %{buildroot}%{_vbox_instdir} +install -m 755 VBoxSDL %{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} +install -m 755 VBoxDbg.so %{buildroot}%{_vbox_instdir} +install -m 755 VBoxDbg.so %{buildroot}%{_vbox_instdir} +install -m 755 VBoxDxVk.so %{buildroot}%{_vbox_instdir} +install -m 755 UICommon.so %{buildroot}%{_vbox_instdir} +install -m 755 vboximg-mount %{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 +ln -s %{_vbox_instdir}/VBoxSDL %{buildroot}%{_bindir}/VBoxSDL +ln -s %{_vbox_instdir}/vboximg-mount %{buildroot}%{_bindir}/vboximg-mount +install -m 755 VBoxSVC %{buildroot}%{_vbox_instdir} +install -m 755 VBoxXPCOMIPCD %{buildroot}%{_vbox_instdir} +install -m 755 VBoxExtPackHelperApp %{buildroot}%{_vbox_instdir} +install -m 755 VBoxTestOGL %{buildroot}%{_vbox_instdir} +install -m 755 VBoxPermissionMessage %{buildroot}%{_vbox_instdir} +install -m 755 VBoxSUIDMessage %{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}/VirtualBox6 +install -m 755 VirtualBoxVM %{buildroot}%{_vbox_instdir} +# compatibility symlink in order to keep old desktop links functional +ln -s %{_vbox_instdir}/VirtualBoxVM %{buildroot}%{_vbox_instdir}/VirtualBox +install -m 755 VBoxEFI*.fd %{buildroot}%{_vbox_instdir} +install -m 755 VBoxSysInfo.sh %{buildroot}%{_vbox_instdir} +install -m 644 *.so %{buildroot}%{_vbox_instdir} +install -m 644 *.r0 %{buildroot}%{_vbox_instdir} +install -m 644 components/* %{buildroot}%{_vbox_instdir}/components/ +# install languages +install -m 644 nls/* %{buildroot}%{_datadir}/virtualbox/nls/ +install -m 644 UnattendedTemplates/* %{buildroot}%{_datadir}/virtualbox/UnattendedTemplates/ +# install kmp src +mkdir -p %{buildroot}%{_usrsrc}/kernel-modules/virtualbox +mkdir -p %{buildroot}%{_usrsrc}/kernel-modules/additions +tar jcf %{buildroot}%{_usrsrc}/kernel-modules/additions/guest_src.tar.bz2 additions/src +cp -a src %{buildroot}%{_usrsrc}/kernel-modules/virtualbox +install -m 644 %{SOURCE11} %{buildroot}%{_udevrulesdir}/60-vboxdrv.rules +popd + +# install desktop file +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 +install -m 644 out/linux.*/release/bin/VBox.png %{buildroot}%{_datadir}/pixmaps/virtualbox.png +# install config with session shutdown defs +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 +install -m 0644 %{SOURCE15} %{buildroot}%{_unitdir}/vboxadd-service.service +install -m 0755 %{SOURCE16} %{buildroot}%{_sbindir}/vboxconfig +install -m 0755 %{SOURCE17} %{buildroot}%{_sbindir}/vboxguestconfig +install -m 0755 %{SOURCE18} %{buildroot}%{_sbindir}/vbox-fix-usb-rules.sh +install -m 0755 %{SOURCE19} %{buildroot}%{_vbox_instdir}/vboxdrv.sh +install -m 0644 %{SOURCE21} %{buildroot}%{_unitdir}/vboxweb-service.service +install -m 0755 %{SOURCE22} %{buildroot}%{_vbox_instdir}/vboxweb-service.sh +install -m 0644 %{SOURCE23} %{buildroot}%{_unitdir}/vboxautostart-service.service +ln -s -f %{_sbindir}/service %{buildroot}%{_sbindir}/rcvboxautostart +install -m 0755 %{SOURCE24} %{buildroot}%{_vbox_instdir}/vboxautostart-service.sh +# Init scripts to start virtualbox during boot +ln -sf %{_unitdir}/vboxdrv.service %{buildroot}%{_unitdir}/multi-user.target.wants/vboxdrv.service +ln -sf %{_unitdir}/vboxadd-service.service %{buildroot}%{_unitdir}/multi-user.target.wants/vboxadd-service.service +ln -sf %{_unitdir}/vboxautostart-service.service %{buildroot}%{_unitdir}/multi-user.target.wants/vboxautostart-service.service + +# config file for vboxdrv and vboxweb +install -d -m 755 %{buildroot}%{_sysconfdir}/vbox +# install -d -m 775 %{buildroot}%{_sysconfdir}/vbox/autostart.d +echo -e "#settings for vboxwebsrn\nVBOXWEB_USER=root" > %{buildroot}%{_sysconfdir}/vbox/vbox.cfg +# config file for vboxautostart +cat > %{buildroot}%{_sysconfdir}/vbox/autostart.cfg << EOF +default_policy = deny +# Create an entry for each user allowed to use autostart +myusername = { +allow = true +} + +EOF +# install udev helper script for creating usb devices +install -m 0755 -D src/VBox/Installer/linux/VBoxCreateUSBNode.sh %{buildroot}%{_vbox_instdir}/VBoxCreateUSBNode.sh +###################################################### +echo "entering python-virtualbox install section" +###################################################### +pushd out/linux.*/release/bin/sdk/installer +VBOX_INSTALL_PATH=%{_vbox_instdir} python3 vboxapisetup.py install --prefix=%{_prefix} --root=%{buildroot} +popd +install -d -m 755 %{buildroot}%{_vbox_instdir}/sdk/bindings/xpcom +cp -r out/linux.*/release/bin/sdk/bindings/xpcom/python %{buildroot}%{_vbox_instdir}/sdk/bindings/xpcom +%py3_compile %{buildroot}%{_vbox_instdir}/sdk/bindings/xpcom/python + +###################################################### +echo "entering virtualbox-devel install section" +###################################################### +cp -r out/linux.*/release/bin/sdk/bindings/auth %{buildroot}%{_vbox_instdir}/sdk/bindings + +pushd out/linux.*/release/bin/sdk/bindings/xpcom +cp -r include %{buildroot}%{_vbox_instdir}/sdk/bindings/xpcom +cp -r idl %{buildroot}%{_vbox_instdir}/sdk/bindings/xpcom +cp -r samples %{buildroot}%{_vbox_instdir}/sdk/bindings/xpcom +popd + +cp out/linux.*/release/bin/sdk/bindings/VirtualBox.xidl %{buildroot}%{_vbox_instdir}/sdk/bindings + +###################################################### +echo "entering virtualbox-websrv install section" +###################################################### +pushd out/linux.*/release/bin +install -m 755 vboxwebsrv %{buildroot}%{_vbox_instdir} +install -m 755 webtest %{buildroot}%{_vbox_instdir} +popd +ln -sf %{_unitdir}/vboxweb-service.service %{buildroot}%{_unitdir}/multi-user.target.wants/vboxweb-service.service + +# +###################################################### +echo "entering virtualbox-guest-desktop-icons install section" +###################################################### +install -d -m 755 %{buildroot}%{_datadir}/pixmaps/virtualbox + +pushd src/VBox/Frontends/VirtualBox/images +for icon in os_*.png; do + install -m 644 "$icon" %{buildroot}%{_datadir}/pixmaps/virtualbox/"$icon"; +done +popd +# +###################################################### +# system users and groups + +install -Dm0644 vbox.conf %{buildroot}%{_sysusersdir}/vbox.conf +install -Dm0644 vbox-guest-tools.conf %{buildroot}%{_sysusersdir}/vbox-guest-tools.conf +###################################################### +# run fdupes +###################################################### +#run fdupes because we lost link for virtualbox/components directory +%fdupes %{buildroot}/%{_vbox_instdir} +#also some translation files are duplicated +%fdupes %{buildroot}/%{_datadir}/virtualbox/nls +#also some icon files are duplicated +%fdupes %{buildroot}/%{_datadir}/pixmaps/virtualbox + +# +# +###################################################### +# scriptlets - pre +###################################################### + +%pre -f vbox.pre +%service_add_pre vboxdrv.service +%service_add_pre vboxautostart-service.service + +%pre guest-tools -f vbox-guest-tools.pre +%service_add_pre vboxadd-service.service + +%pre websrv +%service_add_pre vboxweb-service.service + +####################################################### +# scriptlets - post +####################################################### + +%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 +%service_add_post vboxdrv.service +%service_add_post vboxautostart-service.service +# add new autostart stuff to the existing default config, if missing +grep -q VBOXAUTOSTART %{_sysconfdir}/default/virtualbox || { + cat >> %{_sysconfdir}/default/virtualbox << EOF +# +# ------------------------------------------------------------------------------------------------- +# Autostart +# ------------------------------------------------------------------------------------------------- +VBOXAUTOSTART_DB=%{_sysconfdir}/vbox/autostart.d +VBOXAUTOSTART_CONFIG=%{_sysconfdir}/vbox/autostart.cfg + +EOF +} +for entry in %{_sysconfdir}/vbox/*.start +do + user=$(basename "$entry" .start) + [ "$user" = "*" ] && break + mv %{_sysconfdir}/vbox/user.start %{_sysconfdir}/vbox/autostart.d/. +done + +%post qt +%set_permissions %{_vbox_instdir}/VirtualBoxVM +%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 + +%verifyscript qt +%verify_permissions -e %{_vbox_instdir}/VirtualBoxVM +%verify_permissions -e %{_vbox_instdir}/VBoxSDL + +%post guest-tools +%service_add_post vboxadd-service.service +%service_add_post vboxclient.service +%service_add_post vboxservice.service + +%post websrv +%service_add_post vboxweb-service.service + +%post vnc +EXTPACK="%{_datadir}/virtualbox/extensions/VNC-%{version}.vbox-extpack" +ACCEPT="$(tar --to-stdout -xf "${EXTPACK}" ./ExtPack-license.txt | sha256sum | head --bytes=64)" +VBoxManage extpack install --replace "${EXTPACK}" --accept-license="${ACCEPT}" > /dev/null + +####################################################### +# scriptlets preun +####################################################### + +%preun +%stop_on_removal vboxautostart-service +%stop_on_removal vboxdrv +%service_del_preun vboxautostart-service.service +%service_del_preun vboxdrv.service +exit 0 + +%preun guest-tools +%stop_on_removal vboxadd-service +%stop_on_removal vboxadd +%service_del_preun vboxadd-service.service +%systemd_preun vboxclient.service +%systemd_preun vboxservice.service +exit 0 + +%preun websrv +%stop_on_removal vboxweb-service +%service_del_preun vboxweb-service.service +exit 0 + +####################################################### +# scriptlets postun +####################################################### + +%postun +/sbin/ldconfig +%restart_on_update vboxdrv +%restart_on_update vboxautostart-service +# 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 +%service_del_postun vboxdrv.service +%else +%service_del_postun_without_restart vboxautostart-service.service +%service_del_postun_without_restart vboxdrv.service +%endif + +%postun guest-tools +%restart_on_update vboxadd +%restart_on_update vboxadd-service +%service_del_postun vboxadd-service.service +%service_del_postun vboxclient.service +%service_del_postun vboxservice.service + +%postun websrv +%restart_on_update vboxweb-service +%service_del_postun vboxweb-service.service +# +####################################################### + +%files +%doc README.autostart UserManual.pdf README.build +%{_bindir}/VBoxManage +%{_bindir}/VBoxHeadless +%{_bindir}/VBoxSDL +%{_bindir}/vboximg-mount +%dir %{_vbox_instdir} +%{_vbox_instdir}/VBoxAutostart +%{_vbox_instdir}/VBoxBalloonCtrl +%{_vbox_instdir}/VBoxDTrace +%{_vbox_instdir}/VBoxNetNAT +%{_vbox_instdir}/VBoxVolInfo +%{_vbox_instdir}/vboxshell.py +%{_vbox_instdir}/VBoxSysInfo.sh +%{_vbox_instdir}/VBoxDD2.so +%{_vbox_instdir}/VBoxDD.so +%{_vbox_instdir}/VBoxDDU.so +%{_vbox_instdir}/VBoxGuestControlSvc.so +%{_vbox_instdir}/VBoxGuestPropSvc.so +%{_vbox_instdir}/VBoxHeadless.so +%{_vbox_instdir}/VBoxNetDHCP.so +%{_vbox_instdir}/VBoxNetNAT.so +%{_vbox_instdir}/VBoxRT.so +%{_vbox_instdir}/VBoxSharedFolders.so +%{_vbox_instdir}/VBoxVMM.so +%{_vbox_instdir}/VBoxXPCOMC.so +%{_vbox_instdir}/VBoxXPCOM.so +%{_vbox_instdir}/VBox*.r0 +%{_vbox_instdir}/VMMR0.r0 +%{_vbox_instdir}/VBoxEFI*.fd +%{_vbox_instdir}/VBoxManage +%{_vbox_instdir}/VBoxSVC +%{_vbox_instdir}/VBoxXPCOMIPCD +%{_vbox_instdir}/VBoxExtPackHelperApp +%{_vbox_instdir}/vboximg-mount +%{_vbox_instdir}/DbgPlugInDiggers.so +%{_vbox_instdir}/VBoxAuth.so +%{_vbox_instdir}/VBoxAuthSimple.so +%{_vbox_instdir}/VBoxDragAndDropSvc.so +%{_vbox_instdir}/VBoxVMMPreload.so +#todo:double check - if this file should be assigned to the host side +%{_vbox_instdir}/VBoxDxVk.so +%{_vbox_instdir}/UICommon.so +%{_vbox_instdir}/VBoxHostChannel.so +%dir %{_vbox_instdir}/components +%{_vbox_instdir}/components/*.so +%{_vbox_instdir}/components/*.xpt +%dir %{_datadir}/virtualbox +%config %{_sysconfdir}/default/virtualbox +%dir %{_prefix}/lib/virtualbox +%dir %{_unitdir} +%dir %{_unitdir}/multi-user.target.wants +%{_prefix}/lib/virtualbox/vboxdrv.sh +%{_prefix}/lib/virtualbox/vboxautostart-service.sh +%{_unitdir}/vboxdrv.service +%{_unitdir}/vboxautostart-service.service +%{_unitdir}/multi-user.target.wants/vboxweb-service.service +%{_unitdir}/multi-user.target.wants/vboxdrv.service +%{_unitdir}/multi-user.target.wants/vboxautostart-service.service +%{_sysusersdir}/vbox.conf +%{_sbindir}/rcvboxdrv +%{_sbindir}/rcvboxautostart +%{_sbindir}/vboxconfig +#rules fixing script is in /usr/sbin +%attr(0755,root,root) %{_sbindir}/vbox-fix-usb-rules.sh +%{_vbox_instdir}/VBoxCreateUSBNode.sh +%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxNetNAT +%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxNetDHCP +%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxNetAdpCtl +%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxHeadless +%dir %{_sysconfdir}/vbox +%dir %{_sysconfdir}/vbox/autostart.d +%attr(755,root,root) %{_sysconfdir}/vbox +%attr(1770,root,vboxusers) %{_sysconfdir}/vbox/autostart.d +%config %attr(644,root,vboxusers) %{_sysconfdir}/vbox/vbox.cfg +%config %attr(644,root,vboxusers) %{_sysconfdir}/vbox/autostart.cfg +%{_datadir}/virtualbox/UnattendedTemplates + +%files qt +%attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxPermissionMessage +%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(0750,root,vboxusers) %{_vbox_instdir}/VirtualBoxVM +%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxSDL +%{_vbox_instdir}/VirtualBox +#wrapper script is in bindir +%attr(0755,root,root) %{_bindir}/VirtualBox +%attr(0755,root,root) %{_bindir}/update-extpack.sh +#ldd shows libQt* dependency +%{_vbox_instdir}/VBoxTestOGL +#qm's translations +%{_datadir}/virtualbox/nls +%{_vbox_instdir}/VBoxSVGA3D.so +%{_vbox_instdir}/VirtualBoxVM.so +%{_vbox_instdir}/VBoxDbg.so +%{_bindir}/VBoxSDL +%{_vbox_instdir}/VBoxSDL.so +%{_vbox_instdir}/VBoxKeyboard.so +%{_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-tools +%{_bindir}/VBoxControl +%{_sbindir}/VBoxService +%{_sbindir}/vboxguestconfig +%{_sbindir}/mount.vboxsf +%{_udevrulesdir}/90-vboxguest.rules +%{_vbox_instdir}/vboxadd-service +%{_unitdir}/vboxadd-service.service +%{_unitdir}/multi-user.target.wants/vboxadd-service.service +%dir %{_libdir}/xorg/modules/drivers +%dir %{_libdir}/xorg/modules/input +%dir %{_libdir}/dri/ +%dir %{_sysconfdir}/X11 +%dir %{_sysconfdir}/X11/xinit +%dir %{_sysconfdir}/X11/xinit/xinitrc.d +%{_bindir}/VBoxClient +%{_bindir}/VBoxDRMClient +%{_sysconfdir}/X11/xinit/xinitrc.d/98vboxadd-xclient +%{_unitdir}/vboxclient.service +%{_unitdir}/vboxservice.service +%{_sysusersdir}/vbox-guest-tools.conf +%dir %{_sysconfdir}/xdg +%dir %{_sysconfdir}/xdg/autostart +%{_sysconfdir}/xdg/autostart/vboxclient.desktop +%if 0%{?suse_version} > 1320 || 0%{?sle_version} == 120300 +%dir /media +%endif + +%files -n python3-%{name} +%dir %{_vbox_instdir}/sdk +%dir %{_vbox_instdir}/sdk/bindings +%dir %{_vbox_instdir}/sdk/bindings/xpcom +%{_vbox_instdir}/sdk/bindings/xpcom/python +%{_vbox_instdir}/VBoxPython*.so +%{python3_sitelib}/vboxapi-1.0-*.egg-info +%{python3_sitelib}/vboxapi/ + +%files devel +%dir %{_vbox_instdir}/sdk +%dir %{_vbox_instdir}/sdk/bindings +%dir %{_vbox_instdir}/sdk/bindings/xpcom +%{_vbox_instdir}/sdk/bindings/VirtualBox.xidl +%{_vbox_instdir}/sdk/bindings/xpcom/idl +%{_vbox_instdir}/sdk/bindings/xpcom/include +%{_vbox_instdir}/sdk/bindings/xpcom/samples +%{_vbox_instdir}/sdk/bindings/auth + +%files host-source +%dir %{_usrsrc}/kernel-modules +%{_usrsrc}/kernel-modules/virtualbox + +%files guest-source +%dir %{_usrsrc}/kernel-modules +%dir %{_usrsrc}/kernel-modules/additions +%{_usrsrc}/kernel-modules/additions/guest_src.tar.bz2 + +%files websrv +%{_unitdir}/vboxweb-service.service +%{_vbox_instdir}/vboxweb-service.sh +%{_vbox_instdir}/webtest +%{_vbox_instdir}/vboxwebsrv + +%files guest-desktop-icons +%dir %{_datadir}/pixmaps/virtualbox +%{_datadir}/pixmaps/virtualbox/*.png + +%files vnc +%license COPYING +%dir %{_datadir}/virtualbox/extensions +%{_datadir}/virtualbox/extensions/VNC-%{version}.vbox-extpack + +# main_package +%endif + +### %%build and %%install sections of virtualbox-kmp ### +%if %{kmp_package} +%build +# Disable LTO - Link Time Optimization +%define _lto_cflags %{nil} +#ensure we don't ever use them +rm -rf src/libs/{libpng-*,libxml2-*,libxslt-*,zlib-*,boost-*} + +./src/VBox/Additions/linux/export_modules.sh --folder kmp_additions +./src/VBox/HostDrivers/linux/export_modules.sh --folder kmp_host + +# build kernel modules for guest and host (check novel-kmp package as example) +# host modules : vboxdrv,vboxnetflt,vboxnetadp +# guest modules : vboxguest,vboxsf,vboxvideo +echo "build kernel modules" +for vbox_module in kmp_host/vbox{drv,netflt,netadp} \ + kmp_additions/vbox{guest,sf,video}; do + #get the module name from path + module_name=$(basename "$vbox_module") + + # go through the all flavors (desktop,default ...) + for flavor in %{flavors_to_build}; do + # 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 + + # copy sources which will be used to build vbox module in last step + cp -r $vbox_module/ modules_build_dir/$flavor/ + + # copy vboxdrv (for host) module symbols which are used by vboxnetflt and vboxnetadp km's: + if [ "$module_name" = "vboxnetflt" -o \ + "$module_name" = "vboxnetadp" ] ; 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: + 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_build -j4 -C %{_prefix}/src/linux-obj/%{_target_cpu}/$flavor %{?linux_make_arch} modules \ + M=$PWD/modules_build_dir/$flavor/$module_name KBUILD_EXTRA_SYMBOLS="$SYMBOLS" V=1 + done +done + +%install +export INSTALL_MOD_PATH=%{buildroot} +export INSTALL_MOD_DIR=extra +#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 + #and through all flavors + for flavor in %{flavors_to_build}; do + make -C %{_prefix}/src/linux-obj/%{_target_cpu}/$flavor modules_install M=$PWD/modules_build_dir/$flavor/$module_name + done +done +# kmp_package +%endif + +%changelog