Commit Graph

350 Commits

Author SHA1 Message Date
Bjørn Forsman
f696376fa7 virtualbox: include Guest Additions ISO
Although virtualbox has code to download it at runtime, I'd like to have
it included at build time because:

* I like programs that are fully functional even when offline.
* Runtime downloading doesn't work, it results in error message
  "During certificate downloading: Unknown reason".

This change increases the closure size 5 % (969 -> 1020 MiB).
2023-08-20 08:25:27 +02:00
Bjørn Forsman
7f9b04a90e virtualbox: install UnattendedTemplates
Fix automated/unattended guest installs by having the missing templates
where virtualbox expects them.

Fixes #247807.
2023-08-16 15:21:00 +02:00
Vladimír Čunát
3c10b650b9
virtualbox: 7.0.8 -> 7.0.10
Includes a "Critical Patch Update to address security vulnerabilities"
https://blogs.oracle.com/virtualization/post/oracle-vm-virtualbox-7010-is-now-available

It also fixes build which probably broke with libxml2 upgrade
https://hydra.nixos.org/build/228189683/nixlog/1/tail
2023-07-23 13:03:30 +02:00
Ryan Lahfa
896be5dc2c
Merge pull request #232770 from erdnaxe/virtualbox-update 2023-06-02 13:57:21 +02:00
Dennis Gosnell
1f8daadffc
virtualbox: remove cdepillabout as maintainer 2023-06-02 07:45:47 +09:00
Alexandre Iooss
38bca18244 virtualbox: 7.0.6 -> 7.0.8 2023-05-19 18:09:55 +02:00
Martin Messer
dc61a2fe6c fix: virtualbox: make alsa as audio backend working 2023-04-14 14:00:10 +02:00
K900
9692e965c6 virtualbox: 6.1.40 -> 7.0.6
- bump versions
- add new dependencies
- lrelease is an unconditional dependency now
- more Qt path hackery
- remove rdesktop-vrdp (removed upstream)
2023-03-04 13:39:50 +03:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Vladimír Čunát
1511e469a6
virtualbox: 6.1.36 -> 6.1.40
In particular this fixes build of linuxPackages*.virtualbox after
updating linuxHeaders to 6.0
2022-10-19 11:18:45 +02:00
André Silva
0426ccf784
virtualbox: 6.1.34 -> 6.1.36 2022-07-30 12:35:06 +01:00
Yarny0
0ad873b44b virtualbox: update patch linux-5.18 -> linux-5.19
Some history:

The linux kernel v5.18-rc contains the commit

> commit 6e8ec2552c7d13991148e551e3325a624d73fac6
> Author: Jason A. Donenfeld <Jason@zx2c4.com>
> Date:   2022-01-16 14:23:10 +0100
>
>     random: use computational hash for entropy extraction
> [...]

which modifies the kernels random number generator.

This change broke VirtualBox 6.1.34 in several ways:
It causes random crashes and filesystem corruption in the guest
(at least on some host CPU models).
More details can be found in the
corresponding ticket in the VirtualBox bug tracker:
https://www.virtualbox.org/ticket/20914

That ticket also contains a patch "vbox-linux-5.18.patch"
for VirtualBox that fixes the problem,
at least for kernels 5.18 and (hopefully) above.
This patch got added to nixpkgs' VirtualBox build recipe with
9c8132494f .

Meanwhile, the kernel patch got backported to LTS kernels.
As the VirtualBox patch contains several `#if RTLNX_VER_MIN(5,18,0)`
clauses to apply the fix,
it can't heal VirtualBox on LTS kernel versions.
The result is that VirtualBox is still broken if used
with linux kernels 5.10 and 5.15
(currenly the default kernel in nixpkgs).

Luckily, VirtualBox developers updated the patch
(now named "vbox-linux-5.19.patch") to not only fix the
problem for the upcoming 5.19 kernel, but also address
backport releases.

The commit at hand replaces "vbox-linux-5.18.patch"
with the new "vbox-linux-5.19.patch",
fixing VirtualBox for LTS kernel releases.
2022-07-04 22:15:03 +02:00
Alyssa Ross
97a16f52d7
linuxPackages.virtualboxGuestAdditions: properly mark platforms
This saves a lot of defensive checking inside the expression.
2022-06-26 18:12:06 +00:00
Alyssa Ross
943fd5ea4b
pkgsi686Linux.linuxPackages.virtualboxGuestAdditions: mark broken
Hasn't built since the upgrade to Linux 5.10.

https://forums.virtualbox.org/viewtopic.php?t=104819
2022-06-26 18:11:58 +00:00
Robert Scott
466c2e342a treewide/applications: add sourceType binaryNativeCode for many packages 2022-06-23 18:38:19 +01:00
André Silva
9c8132494f
virtualbox: 6.1.30 -> 6.1.34 2022-05-30 19:32:49 +01:00
Artturin
c1fffdfffb treewide: change some glibc to stdenv.cc.libc 2022-05-27 05:57:43 +03:00
Artturin
0c4d65b21e treewide: stdenv.glibc -> glibc 2022-05-25 15:51:20 +03:00
Vladimír Čunát
b8c192b98e
linuxPackages.virtualboxGuestAdditions: xserverABI cleanup 2022-04-19 14:20:31 +02:00
Vladimír Čunát
54979403b9
linuxPackages.virtualboxGuestAdditions: xserverABI
Fix build after xorg-server upgrade.  I suppose we'll keep using 118?
  vboxvideo_drv_13.so
  vboxvideo_drv_14.so
  vboxvideo_drv_15.so
  vboxvideo_drv_16.so
  vboxvideo_drv_17.so
  vboxvideo_drv_18.so
  vboxvideo_drv_19.so
  vboxvideo_drv_70.so
  vboxvideo_drv_71.so
  vboxvideo_drv_110.so
  vboxvideo_drv_111.so
  vboxvideo_drv_112.so
  vboxvideo_drv_113.so
  vboxvideo_drv_114.so
  vboxvideo_drv_115.so
  vboxvideo_drv_116.so
  vboxvideo_drv_117.so
  vboxvideo_drv_118.so
2022-04-18 16:36:03 +02:00
Alyssa Ross
69af0d1717 linuxPackages.virtualboxGuestAdditions: mark broken on Linux 5.17
This package is slightly out of date, but 6.1.32 doesn't fix 5.17
compatibility either.
2022-03-21 13:22:59 +00:00
Matthieu Coudron
f1a3e3e21c virtualbox: set meta.mainProgram
because it's convenient <3
2022-01-29 23:47:18 +01:00
Alyssa Ross
dcabc91904
virtualbox: 6.1.28 -> 6.1.30
The guest additions currently don't build, either before or after this
change, but upgrading is still good because it gets us Linux 5.16
compatibility for the kernel module.
2022-01-10 03:54:09 +00:00
Sandro Jäckel
df17da7729
virtualbox: remove ? null from inputs, remove optional (), other minor cleanups 2021-11-10 01:40:47 +01:00
Magicloud
40c83d1e0a
virtualbox: Add option to build vboxwebsrv tool
`vboxwebsrv`, a.k.a, Virtualbox Web Service, provides a way to manage VMs via SOAP interface. This is very useful on headless servers.
2021-11-07 08:34:47 +01:00
Bernardo Meurer
b232c81a32
virtualbox: 6.1.26 -> 6.1.28 2021-10-30 19:42:07 -07:00
Matt McHenry
c97f15e81a
virtualbox: fix audio driver loading (#136048)
virtualbox: fix audio driver loading

fixes #123851

patch by @jcumming
2021-09-16 14:11:38 +03:00
Artturin
e740711cf6 virtualbox: remove components/VBoxREM.so when
hardened or headless is enabled
arch does it as well
1b2aaf4113/trunk/PKGBUILD (L184)
2021-09-08 19:06:33 +03:00
Kid
b43389f49d iasl: drop pacakge 2021-08-10 03:46:01 +00:00
Markus Partheymueller
5701e5bc3b
virtualbox: 6.1.22 -> 6.1.26 (#132223)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-08-02 16:40:32 +02:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
William Kral
ba0da8a076 virtualbox: 6.1.18 -> 6.1.22 2021-05-16 16:54:18 -07:00
André Silva
4499318712
virtualbox: fix build on linux 5.11 2021-03-01 10:12:27 +00:00
Sandro Jäckel
b02c411492
virtualbox:
virtualbox: remove unused input
2021-02-17 23:12:25 +01:00
Bryan A. S
72e688c973 virtualbox: 6.1.16 -> 6.1.18
Signed-off-by: Bryan A. S <bryanasdev000@gmail.com>
2021-01-22 19:36:45 -03:00
Ben Siraphob
5d566c43b4 pkgs/applications: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob
108bdac3d9 pkgs/applications: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Magicloud
e416dc89a1 virtualbox: 6.1.14 -> 6.1.16
6.1.16 is the latest release of Virtualbox. And it is necessary to have it when using Linux 5.9 kernel.
2020-10-24 02:53:08 +08:00
Maximilian Bosch
579404c4a5
virtualbox: re-add support for virtio
For some reason the original source tarball for version 6.1.14 didn't
bundle the sources for `virtio`-support causing a build-failure.

After this was reported, a new tarball named
`VirtualBox-6.1.14a.tar.bz2` was published which fixes the issue[1].

[1] https://www.virtualbox.org/ticket/19862
2020-09-25 12:37:39 +02:00
Magicloud
e1538e43b9 virtualbox: 6.1.10 -> 6.1.14
6.1.14 is the latest release of Virtualbox.

Also disabled VirtIO since the source tarball does not include necessary source code.
2020-09-09 19:58:36 +08:00
Florian Klink
d5f7c6ed3c
Merge pull request #89798 from nthorne/virtualbox6110
virtualbox: 6.1.6 -> 6.1.10
2020-07-21 14:32:18 +02:00
Domen Kožar
347ab190c7
remove usage of patchelfUnstable now that it's released 2020-07-08 21:55:09 +02:00
Pascal Bach
9c300b6e2c virtualbox-guest-additions: fix dlopen of libXrandr
The library could not be loaded which prevented autoresizing
when using the VMSVGA adapter.
2020-06-17 18:43:27 +02:00
Niklas Thorne
081aa8f724 virtualbox: 6.1.6 -> 6.1.10 2020-06-08 12:37:06 +02:00
Julian Stecklina
7c995a4532 virtualbox: build BIOS from C instead of alternative sources
VirtualBox ships with "alternative BIOS sources" for its virtual BIOS.
These are generated by first compiling the BIOS C sources with the
Open Watcom toolchain, disassembling the output and checking in the
disassembly into the VirtualBox repo.

The result means that the BIOS C code cannot be patched, because it's
not compiled from the C sources, if Open Watcom is not there.

As Open Watcom is now available in nixpkgs, we can just ignore the
alternative BIOS sources and compile it from C directly.
2020-04-28 13:36:50 +02:00
Fabian Möller
0481e09ad3
virtualbox: 6.1.4 -> 6.1.6 2020-04-19 14:04:17 +02:00
Fabian Möller
93e8f5d90f
virtualbox: add update script 2020-04-19 14:03:58 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Fabian Möller
2c77f1c049
virtualboxExtpack: synchronize version with virtualbox 2020-03-17 11:23:06 +01:00
Matteo Scarlata
2b99b29136 virtualbox: 6.0.14 -> 6.1.4
Update Virtualbox to its latest version. This allows compilation against
kernel >= 5.4 to succeed without further patches (see #74260, build
would fail for linux-5.5.5 to 5.5.9).
2020-03-13 22:36:31 +00:00