1
0
forked from pool/virtualbox
Go to file
Larry Finger 7f251d0e0d Accepting request 932012 from home:lwfinger:branches:Virtualization
- Fix builds for Kernel 5.16. File "fixes_for-5.16.patch" is added.
  Reorder some of the patch numbers.

OBS-URL: https://build.opensuse.org/request/show/932012
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=622
2021-11-17 18:23:55 +00:00
_constraints - Fix several problems with the startup scripts. The SysV form is no longer used for most packages as proper systemd 2017-07-10 18:31:23 +00:00
_multibuild Accepting request 820027 from home:lwfinger:branches:Virtualization 2020-07-10 18:39:52 +00:00
_service Accepting request 214248 from home:saschpe:branches:Virtualization 2014-01-19 00:52:50 +00:00
.gitattributes osc copypac from project:home:mseben:branches:Virtualization package:virtualbox-ose revision:7 2010-12-23 10:08:49 +00:00
.gitignore osc copypac from project:home:mseben:branches:Virtualization package:virtualbox-ose revision:7 2010-12-23 10:08:49 +00:00
fix_conflict_between_host_and_guest.patch Accepting request 719647 from home:lwfinger:branches:Virtualization 2019-07-30 19:54:24 +00:00
Fix_for_server_1.19.patch - Version bump to 6.0.4 (released January 28 2019 by Oracle) 2019-01-28 20:37:13 +00:00
fix_lib_search.patch Accepting request 909267 from home:lwfinger:branches:Virtualization 2021-07-30 01:41:47 +00:00
fix_usb_rules.sh - Revise warning screen concerning USB passthru - fixes bnc#1041137. 2017-06-08 22:26:55 +00:00
fix-missing-includes-with-qt-5.15.patch Accepting request 821171 from home:lwfinger:branches:Virtualization 2020-07-16 01:03:58 +00:00
fixes_for_5.14.patch Accepting request 926822 from home:lwfinger:branches:Virtualization 2021-10-21 17:55:02 +00:00
fixes_for_gcc10.patch Accepting request 854343 from home:lwfinger:branches:Virtualization 2020-12-09 20:22:12 +00:00
fixes_for_leap15.2.patch Accepting request 922810 from home:lwfinger:branches:Virtualization 2021-10-02 18:12:15 +00:00
fixes_for_leap15.3.patch Accepting request 907363 from home:lwfinger:branches:Virtualization 2021-07-21 01:05:06 +00:00
fixes_for_leap15.4.patch Accepting request 913869 from home:lwfinger:branches:Virtualization 2021-08-23 16:25:09 +00:00
fixes_for_Leap42.3.patch Accepting request 830373 from home:lwfinger:branches:Virtualization 2020-08-29 19:52:49 +00:00
fixes_for_makefile.patch Accepting request 833132 from home:lwfinger:branches:Virtualization 2020-09-09 13:44:15 +00:00
fixes_for_python.patch Accepting request 833132 from home:lwfinger:branches:Virtualization 2020-09-09 13:44:15 +00:00
fixes_for_qt5.13.patch Accepting request 765913 from home:lwfinger:branches:Virtualization 2020-01-20 20:15:41 +00:00
fixes_for_Qt5.11.patch Accepting request 833132 from home:lwfinger:branches:Virtualization 2020-09-09 13:44:15 +00:00
fixes_for_sle12.patch Accepting request 926822 from home:lwfinger:branches:Virtualization 2021-10-21 17:55:02 +00:00
fixes-for-5.15.patch Accepting request 926822 from home:lwfinger:branches:Virtualization 2021-10-21 17:55:02 +00:00
fixes-for-5.16.patch Accepting request 932012 from home:lwfinger:branches:Virtualization 2021-11-17 18:23:55 +00:00
gcc5-real-support.patch - File "fixes_for_4.14.patch" deleted - upstream fix. 2017-12-29 19:22:29 +00:00
handle_gsoap_208103.patch Accepting request 854343 from home:lwfinger:branches:Virtualization 2020-12-09 20:22:12 +00:00
internal-headers.patch - Version bump to 6.0.4 (released January 28 2019 by Oracle) 2019-01-28 20:37:13 +00:00
modify_for_4_8_bo_move.patch Accepting request 926822 from home:lwfinger:branches:Virtualization 2021-10-21 17:55:02 +00:00
README.autostart Accepting request 888128 from home:lwfinger:branches:Virtualization 2021-04-24 13:48:44 +00:00
README.build Accepting request 729117 from home:lwfinger:branches:Virtualization 2019-09-07 19:41:40 +00:00
remove_vbox_video_build.patch Accepting request 833132 from home:lwfinger:branches:Virtualization 2020-09-09 13:44:15 +00:00
security_fixes.patch Accepting request 696073 from home:lwfinger:branches:openSUSE:Factory 2019-04-30 00:56:27 +00:00
smap.diff Accepting request 420307 from home:lwfinger:branches:Virtualization 2016-08-19 08:55:54 +00:00
switch_to_python3.4+.patch Accepting request 907363 from home:lwfinger:branches:Virtualization 2021-07-21 01:05:06 +00:00
turn_off_cloud_net.patch Accepting request 821171 from home:lwfinger:branches:Virtualization 2020-07-16 01:03:58 +00:00
update-extpack.sh Accepting request 876243 from home:mgerstner:branches:Virtualization 2021-03-02 17:30:32 +00:00
UserManual.pdf Accepting request 926822 from home:lwfinger:branches:Virtualization 2021-10-21 17:55:02 +00:00
vb-6.1.16-modal-dialog-parent.patch Accepting request 867023 from home:lwfinger:branches:Virtualization 2021-01-28 20:53:53 +00:00
vbox_remove_smp_mflags.patch - Removed "vbox_fix_4.10_api_changes.patch" - fixed upstream 2017-03-09 18:59:35 +00:00
vbox-default-os-type.diff - Version bump to 6.0.4 (released January 28 2019 by Oracle) 2019-01-28 20:37:13 +00:00
vbox-deprec-gsoap-service-proxies.diff Accepting request 420307 from home:lwfinger:branches:Virtualization 2016-08-19 08:55:54 +00:00
vbox-disable-updates.diff - Version bump to 6.0.4 (released January 28 2019 by Oracle) 2019-01-28 20:37:13 +00:00
vbox-fpie.diff Accepting request 792829 from home:lwfinger:branches:Virtualization 2020-04-10 09:55:34 +00:00
vbox-gsoapssl-deps.diff Accepting request 414498 from home:luizluca:branches:Virtualization 2016-07-26 16:15:55 +00:00
vbox-no-build-dates.diff Accepting request 811976 from home:lwfinger:branches:Virtualization 2020-06-06 01:25:21 +00:00
vbox-permissions_warning.diff - File "fixes_for_4.14.patch" deleted - upstream fix. 2017-12-29 19:22:29 +00:00
vbox-python-detection.diff - 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 2016-10-19 15:57:33 +00:00
vbox-smc-napa.diff Accepting request 414498 from home:luizluca:branches:Virtualization 2016-07-26 16:15:55 +00:00
vbox-suid-warning.diff Accepting request 716635 from home:lwfinger:branches:Virtualization 2019-07-19 19:54:30 +00:00
vbox-usb-warning.diff Accepting request 789598 from home:lwfinger:branches:Virtualization 2020-03-30 04:53:46 +00:00
vbox-vboxadd-init-script.diff Accepting request 716635 from home:lwfinger:branches:Virtualization 2019-07-19 19:54:30 +00:00
vbox-vboxdrv-init-script.diff Accepting request 765913 from home:lwfinger:branches:Virtualization 2020-01-20 20:15:41 +00:00
vboxadd-service.service Accepting request 893086 from home:dancermak:branches:Virtualization 2021-05-14 18:05:55 +00:00
vboxautostart-service.service Accepting request 888128 from home:lwfinger:branches:Virtualization 2021-04-24 13:48:44 +00:00
vboxautostart-service.sh Accepting request 888128 from home:lwfinger:branches:Virtualization 2021-04-24 13:48:44 +00:00
vboxconfig.sh Accepting request 765913 from home:lwfinger:branches:Virtualization 2020-01-20 20:15:41 +00:00
vboxdrv.service - Fix several problems with the startup scripts. The SysV form is no longer used for most packages as proper systemd 2017-07-10 18:31:23 +00:00
vboxdrv.sh Accepting request 922582 from home:lwfinger:branches:Virtualization 2021-10-01 14:57:38 +00:00
vboxguestconfig.sh Accepting request 877293 from home:lwfinger:branches:Virtualization 2021-03-09 17:15:18 +00:00
vboxweb-service.service - Version bump to 6.0.4 (released January 28 2019 by Oracle) 2019-01-28 20:37:13 +00:00
vboxweb-service.sh - Version bump to 6.0.4 (released January 28 2019 by Oracle) 2019-01-28 20:37:13 +00:00
virtualbox-60-vboxdrv.rules - The printing of the warning about the insecurity in USB passthru had been lost. As most people are likely to want that feature, 2017-01-14 02:16:29 +00:00
virtualbox-60-vboxguest.rules Accepting request 123332 from home:mseben:branches:Virtualization 2012-06-03 08:17:28 +00:00
VirtualBox-6.1.28-patched.tar.bz2 Accepting request 926822 from home:lwfinger:branches:Virtualization 2021-10-21 17:55:02 +00:00
virtualbox-default.virtualbox Accepting request 655353 from home:frispete:kernel 2019-01-03 03:21:14 +00:00
virtualbox-fix-ui-background-color.patch Accepting request 833132 from home:lwfinger:branches:Virtualization 2020-09-09 13:44:15 +00:00
virtualbox-kmp-files Accepting request 926822 from home:lwfinger:branches:Virtualization 2021-10-21 17:55:02 +00:00
virtualbox-kmp-preamble Accepting request 719647 from home:lwfinger:branches:Virtualization 2019-07-30 19:54:24 +00:00
virtualbox-LocalConfig.kmk - Build with system libs for X instead of localy built ones. 2015-05-06 20:07:21 +00:00
virtualbox-patch-source.sh osc copypac from project:home:mseben:branches:Virtualization package:virtualbox-ose revision:7 2010-12-23 10:08:49 +00:00
virtualbox-rpmlintrc - Fix problems with use of files "virtualbox.permissions" and "virtualbox.permissions.paranoid" - they are deleted 2019-04-05 22:17:46 +00:00
virtualbox-sed-params.patch - Version bump to 6.0.4 (released January 28 2019 by Oracle) 2019-01-28 20:37:13 +00:00
virtualbox-snpritnf-buffer-overflow.patch Accepting request 420307 from home:lwfinger:branches:Virtualization 2016-08-19 08:55:54 +00:00
virtualbox-wrapper.sh Accepting request 794392 from home:lwfinger:branches:Virtualization 2020-04-15 23:48:18 +00:00
VirtualBox.appdata.xml Accepting request 741624 from home:hellcp:branches:Virtualization 2019-10-21 22:21:51 +00:00
virtualbox.changes Accepting request 932012 from home:lwfinger:branches:Virtualization 2021-11-17 18:23:55 +00:00
virtualbox.spec Accepting request 932012 from home:lwfinger:branches:Virtualization 2021-11-17 18:23:55 +00:00

Instructions for creating a separate VirtualBox project and building the packages

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

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

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

C. Steps to take with a new release:
   1. When Orable releases a new version, you will need to download then new tarball
      from https://download.virtualbox.org/virtualbox/. While downloading the file, I
      also get the new UserManual.pdf.
   2. openSUSE makes some changes to the tarball by running the command
      bash ./virtualbox-patch-source.sh <name of tarball just downloaded>
      This command unpacks the tar file, makes some modifications to the source, 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 <old version>" and "osc add <new version>" to get the new file into
      osc. The local build will work without these changes, but the remote operations
      will fail.`