fastports

virtualbox-ose 6.1.50_1

emulators/virtualbox-ose-kmod

VirtualBox kernel module for FreeBSD

Category
emulators
Maintainer
vbox@FreeBSD.org
WWW
https://www.virtualbox.org/
License
GPLv2
USES
cpe compiler:c++14-lang kmod tar:bzip2

Description

VirtualBox is a family of powerful x86 virtualization products for
enterprise as well as home use. Not only is VirtualBox an extremely
feature rich, high performance product for enterprise customers, it
is also the only professional solution that is freely available as
Open Source Software under the terms of the GNU General Public License.

Dependencies

Commit History

may be incomplete — full history at freebsd-ports on GitHub

Commit Credits Log message
6.1.50
c22c337cf0 files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose*: Exclude from extract bundled binary files of kBuild
Thes is ~430-640 files, ~30-55MB total for different platforms.
We are using devel/kBuild for build VirtualBox ports.
devel/kBuild is a newer version than the one included in the VirtualBox
tarballs.
6.1.50
fba59be432 files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose{,-additions,-kmod}{,-nox11}: Deprecate and set to expire on 2026-12-31
Upstream EOL reaches on 2024-01-31, use emulators/virtualbox-ose-*-72
instead.

PR:	290507
6.1.50
cec1e153ef files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose{,-additions,-kmod}{,-70,-71,-legacy}: Update CONFLICTS_INSTALL before committing new ports with VirtualBox 7.2.x
PR:	289019
6.1.50
f3a57fc3f6 files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose-kmod{,-70,-71,-legacy}: Fix on 15-CURRENT: linker_load_file: /boot/modules/vboxnetflt.ko - unsupported file type
After commit
https://github.com/freebsd/freebsd-src/commit/93b4a54456589e78dcd37f2db8333baff3f3f0b2
  kernel: linker_load_file: /boot/modules/vboxnetflt.ko - unsupported file type
  kernel: KLD vboxnetflt.ko: depends on netgraph - not available or version mismatch

Thanks to Benjamin Close <Benjamin.Close@clearchain.com> and
rkoberman@gmail.com for researching the issue and identifying its cause.

PR:	286204 286717
MFH:	2025Q2
6.1.50
8b659812a2 files touched
Baptiste Daroussin (bapt)
emulators/virtualbox-ose-kmod: fix cross building
For cross building the CC variable is passed quoted with the target

the which configure script from VirtualBox expects it to only be the
name of the command and using which to determine if usable.

Replacing in the which_wrapper function the call of $* with only the
first argument, makes it accept cross building.

Cross building support is important for kmods as they are all cross
built to populate the kmods repositories
6.1.50
806da99dc2 files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose{,-additions,-kmod}{,-70,-legacy}: Update CONFLICTS_INSTALL before committing new ports with VirtualBox 7.1.x
PR:	284439
6.1.50
179f17fc36 files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose{,-additions,-kmod}{,-legacy}: Update CONFLICTS_INSTALL and PORTSCOUT before commit new ports with VirtualBox 7.0.x
PR:	271146
6.1.50
8d72823b38 files touched
Craig Leres (leres)
emulators/virtualbox-ose-kmod: Add check for MAXCPU and mp_maxcpus before load vboxdrv.ko
If the MAXCPU option is not the default for the running kernel, then
'kldload vboxdrv.ko' will result in a kernel panic.
Due to ABI difference (vboxdrv passes cpuset_t parameter (bitfield with
CPU_SETSIZE -> MAXCPU bits) into smp_rendezvous_cpus()) kernel panics
with "ncpus is 0 with non-zero map" message.

PR:	219913
6.1.50
b4a6bc8744 files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose*: Improve ports
* Replace PORTVERSION with DISTVERSION.
* Fix CONFLICTS_INSTALL.
* Fix PYTHON in DEFAULT_OPTIONS in emulators/virtualbox-ose.
* Pet portclippy and portlint.
* Formatting and etc.

PR:	258159
6.1.50
9e318d649a files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose{,-kmod,-additions}: update to 6.1.50
Changelog: https://www.virtualbox.org/wiki/Changelog-6.1#v50

PR:			276437
Approved by:		arrowd (mentor), olce
Differential Revision:	https://reviews.freebsd.org/D43510
MFH:			2024Q1
6.1.48
ae6b467526 files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose{,-kmod,-additions}: update to 6.1.48
Based on patch from Sergey V. Dyatko <sergey.dyatko@gmail.com>.
Changelog: https://www.virtualbox.org/wiki/Changelog-6.1#v48

PR:			274555
Approved by:		arrowd (mentor)
Differential Revision:	https://reviews.freebsd.org/D42322
MFH:			2023Q4
6.1.46
5dd9c30f7d files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose{,-nox11,-kmod,-additions,-additions-nox11}: update to 6.1.46
Changelog: https://www.virtualbox.org/wiki/Changelog-6.1#v46
Also fixed PORTREVISION in master/slave ports.

PR:			272572
Approved by:		arrowd (mentor)
Differential Revision:	https://reviews.freebsd.org/D41110
MFH:			2023Q3
6.1.44
1d37fcd831 files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose{-*}: Update to 6.1.44
Changes:		https://www.virtualbox.org/wiki/Changelog-6.1#v44
Author:			lwhsu@FreeBSD.org
Note:			BROKEN on 14

PR:			266907
Reported by:		Ian Dickens <ian@south-border.com>
Approved by:		arrowd (mentor), joneum (ports-secteam)
Differential Revision:	https://reviews.freebsd.org/D40088
6.1.36
8d3e020ed0 files touched
Gerald Pfeifer (gerald)
*: Bump PORTREVISIONs for math/mpc update to 1.3.1
6.1.36
fb16dfecae files touched
Stefan Eßer (se)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
6.1.36
b7f05445c0 files touched
Stefan Eßer (se)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
6.1.36
99d29ee89f files touched
Guido Falsi (madpilot)
emulators/virtualbox-ose: Update to 6.1.36
Changelog: https://www.virtualbox.org/wiki/Changelog

PR:		265351
6.1.34
27d033713d files touched
Bernhard Froehlich (decke)
*/*: Release my babies from my "created by" comments
6.1.34
bc6d5725ed files touched
John Baldwin (jhb)
emulators/virtualbox-ose-kmod*: Tie to a specific release branch.
Use a more restricted range of supported __FreeBSD_version values for
the virtualbox kernel module since it uses internal KPIs for which KBI
stability is not guaranteed.  DECLARE_MODULE_TIED would tie the module
to a specific __FreeBSD_version which would cause the module to stop
loading when an SA or EN is pushed on a release branch.  Instead, use
DECLARE_MODULE_MAXVER with an upper bound that is limited to the range
of a releng branch so that a module built on X.Y will load on X.Y with
SAs or ENs applied but will fail to load on X.Y-1 or X.Y+1.

Reviewed by:	kevans, imp, madpilot, lwhsu (earlier version)
Differential Revision:	https://reviews.freebsd.org/D16119
6.1.34
4017132e11 files touched
Guido Falsi (madpilot)
emulators/virtualbox-ose*: Update to 6.1.34
PR:		263439
6.1.32
b1d24b891b files touched
Neel Chauhan (nc)
emulators/virtualbox-ose-kmod: Fix kernel panic in DHCP bridge mode
PR:		262656
Approved by:	madpilot
6.1.32
6348afa698 files touched
Guido Falsi (madpilot)
emulators/virtualbox-ose*: Update to 6.1.32
Changelog: https://www.virtualbox.org/wiki/Changelog-6.1#v32
6.1.30
bcaf25a8c8 files touched
Stefan Eßer (se)
Fix CONFLICTS entries of multiple ports
There have been lots of missing CONFLICTS_INSTALL entries, either
because conflicting ports were added without updating existing ports,
due to name changes of generated packages, due to mis-understanding
the format and semantics of the conflicts entries, or just due to
typoes in package names.

This patch is the result of a comparison of all files contained in
the official packages with each other. This comparison was based on
packages built with default options and may therefore have missed
further conflicts with optionally installed files.

Where possible, version numbers in conflicts entries have been
generalized, some times taking advantage of the fact that a port
cannot conflict with itself (due to logic in bsd.port.mk that
supresses the pattern match result in that case).

A few ports that set the conflicts variables depending on complex
conditions (e.g. port options), have been left unmodified, despite
probably containing outdated package names.

These changes should only affect the installation of locally built
ports, not the package building with poudriere. They should give an
early indication of the install conflict in cases where currently
the pkg command aborts an installation when it detects that an
existing file would be overwritten,

Approved by:	portmgr (implicit)
6.1.30
04b9da4140 files touched
Stefan Eßer (se)
*/*: Remove redundant '-*' from CONFLICTS definitions
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Approved by: portmgr (blanket)
6.1.30
28c743aa5d files touched
Guido Falsi (madpilot)
emulators/virtualbox-ose: Update to 6.1.30
6.1.28
32c43c5052 files touched
Guido Falsi (madpilot)
emulators/virtualbox-ose*: Fix mistake in patch
In the commit to update virtualbox-ose to 6.1.28 I made a one line
mistake when reapplying a patch which failed to apply as is.

In the patch
files/patch-src_VBox_HostDrivers_Support_freebsd_SUPDrv-freebsd.c
I did not replay a part removing the line:

rc = copyout(pHdr, pvUser, cbOut);

which was rewriting some data that it should not. The correct code
was anyway present after this leftover statement.

This error made virtualbox log a lot of warnings about Bad CPU
context like this:

vboxdrv: Bad CPU context error at line 373 in SUPDrv-freebsd.c:
ulCmd=0x2000568a: 0x282->0x287!

These seem to be unharmful, but anyway indicate a problem that this
commit fixes.

Reported by:		Kevin Oberman <rkoberman@gmail.com> (via mailing list)
Fixes:			a3db7da59f9498
6.1.28
a3db7da59f files touched
Guido Falsi (madpilot)
emulators/virtualbox-ose*: Update to 6.1.28
Changelog: https://www.virtualbox.org/wiki/Changelog
6.1.26
416b34d584 files touched
Guido Falsi (madpilot)
emulators/virtualbox-ose: Update to 6.1.26
This new version has a regression in the pulseaudio host audio
driver. If enabled any VMs configured to use it fails to start.

Since no fix has been found the PULSEAUDIO option is forcibly
disabled. If you have any VM configured to use pulseaudio for audio
input/output, please reconfigure them to use a different driver.

Upstream ticket:	https://www.virtualbox.org/ticket/20484

Other changes:

- Remove old patches that don't apply, the audio system has been
  reworked upstream and the behavior of these patches is included in
  the new code
- Add upgrading pkg-message note about the PULSEAUDIO option issue
  described above

Reviewed by:		koobs
Differential Revision:	https://reviews.freebsd.org/D31264
6.1.22
082999790a files touched
Guido Falsi (madpilot)
emulators/virtualbox-ose-kmod: Fix hang at module loading time
After src commit e266a0f7f001 a module is not allowed to call
kern_kldload while being loaded. The virtualbox module is doing
exactly this though. virutalbox used to do this because the ng_ether
netgraph node did not provide version information in the past and
there was no way to properly depend on it.

ng_ether has gained versioning information in base r238844 more
than ten years ago, so we can now unconditionally properly depend
on it, since this revision is now included in all supported FreeBSD
versions.

Thanks to Tomoaki AOKI for identifying the base commuit exposing
the issue.
PR:			256505
Tested by:		Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
MFH:			2021Q2
Differential Revision:	https://reviews.freebsd.org/D30722
6.1.22
5224c9f5d7 files touched
Guido Falsi (madpilot)
emulators/virtualbox-ose: Update to 6.1.22
6.1.20
d2441db781 files touched
Guido Falsi (madpilot)
emulators/virtualbox-ose: Update to 6.1.20
- Also update related kmod and additions ports
- In additions, use INSTALL_LIB to install X11 modules, so binaries
  get stripped
- Trim some `#if __FreeBSD_version` checks for unsupported FreeBSD
  versions from patches

PR:		255301
6.1.18
135fdeebb9 files touched
Mathieu Arnold (mat)
all: Remove all other $FreeBSD keywords.
6.1.18
305f148f48 files touched
Mathieu Arnold (mat)
Remove # $FreeBSD$ from Makefiles.
6.1.18
bcb2160bcc files touched
Tobias Kortkamp (tobik)
emulators/virtualbox-ose-kmod: Spell PORTREVISION correctly
6.1.18
b6a2222fb3 files touched
Neel Chauhan (nc)
emulators/virtualbox-ose-kmod: Fix kernel panic on 13/14 with bridge mode by adding EPOCH support
In r560502, I added a patch to support EPOCH to VirtualBox 5. When we upgraded
to VirtualBox 6, that patch was (unintentionally) removed, making it impossible
to use bridge move without this current patch.

Approved by:	jkim, madpilot
Differential Revision:	https://reviews.freebsd.org/D29319
6.1.18
42d8425b62 files touched
Guido Falsi (madpilot)
- Update VirtualBox OSE to 6.1.18 - Old VirtualBox OSE 5.2.44 preserved as "-legacy" versions of the ports (repocopied) - Add back extra patch removed in r528258, actually required to build DEBUG kmod - Correctly define WITH_DEBUG when enabling the DEBUG option, so binaries are not stripped
Please note that this new version supports only amd64 CPUs. If you need
to use older hardware please install the legacy ports.

Note that moving VM snapshots across major updates is unsupported, it's
strongly suggested to properly shutdown VMs before upgrading, please
check UPDATING for further details.

This update is the result of work from many people, and thanks to all
who gave feedback and tested things.

Patch based on work from: Mario Lobo <lobo@bsd.com.br> and jkim.

PR:			234878
Submitted by:		kunda <chitty_cloud@me.com>
Approved by:		vbox (implicit)
Reviewed by:		decke
Tested by:		jwb,
			martin ilavsky <ilavsky.martin@gmail.com>,
			Mario Lobo <lobo@bsd.com.br>
Relnotes:		https://www.virtualbox.org/wiki/Changelog-6.1
Differential Revision:	https://reviews.freebsd.org/D28871
5.2.44
cecf695082 files touched
Neel Chauhan (nc)
emulators/virtualbox-ose-kmod: Fix kernel panic on 13-CURRENT with EPOCH and bridge mode.
Reviewed by:		kp, jkim (previous version)
Approved by:		kp, jkim (previous version), 0mp (mentor)
Differential Revision:	https://reviews.freebsd.org/D26359
5.2.44
22e1fe798c files touched
Adriaan de Groot (adridg)
emulators/virtualbox-ose-kmod: Fix a pair of VM bugs
- Use vm_pager_allocate() to allocate OBJT_PHYS objects.  This ensures
  that they're initialized properly.
- Don't assume that user wiring will succeed.

This had been a team effort, with multiple independent reports,
a wide variety of experiments, and patches written by kib@
and refined by markj@.

I'm bumping PORTREVISION and aligning the revision of both kmod and
application; it's possible the application bump isn't actually
needed but let's make sure they both get rebuilt with this
important (because of changed kernel assumptions) fix.

PR:		249326
Submitted by:	kib, markj
Reported by:	adridg, Rainer Hurling
Reviewed by:	adridg
Approved by:	koobs (vbox)
MFH:		2020Q3
5.2.44
018654eec7 files touched
Jung-uk Kim (jkim)
Belatedly update PORTREVISION. It had to be done with r544898.
5.2.44
c7901a4b4e files touched
Guido Falsi (madpilot)
- Update VirtualBox ports to 5.2.44 - Adapt and regenerate patches - Reduce differences in patch-src_VBox_Devices_PC_vbox-cpuhotplug.dsl [1]
Patch based on one provided by Mario Lobo <lobo@bsd.com.br>.

Many thanks to people who provided ideas and suggetions in the
PR and review.

PR:			244212
Submitted by:		Nikita Stepanov <nikitastepan0v@bk.ru>
Reviewed by:		kevans [1]
Tested by:		lwshu
Approved by:		ports-secteam (joneum)
MFH:			2020Q3
Security:		1e7b316b-c6a8-11ea-a7d5-001999f8d30b
Differential Revision:	https://reviews.freebsd.org/D25496
5.2.34
e4f412cb1b files touched
Kyle Evans (kevans)
emulators/virtualbox-ose-{additions,kmod}: Remove missing patch
extrapatch-Config.kmk was merged in ports r528258 into the standard
Config.kmk patch out of necessity, but inadvertently missed that it was also
referenced in two other spots.

No PORTREVISION bump, as these are build-only fixes to fix the entirety of
virtualbox-ose-additions and the DEBUG option of virtualbox-ose-kmod.

PR:		245239
Approved by:	koobs (mentor)
Approved by:	portmgr (blanket: build fix, just-fix-it)
MFH:		2020Q2 (blanket: build fix)
Differential Revision:	https://reviews.freebsd.org/D24260
5.2.34
fa86e7a147 files touched
Jung-uk Kim (jkim)
Update to 5.2.34.
https://www.virtualbox.org/wiki/Changelog-5.2#v34
5.2.32
d611e8e342 files touched
Dmitry Marakasov (amdmi3)
- Update WWW
Approved by:	portmgr blanket
5.2.32
1a78aa8c30 files touched
Tobias Kortkamp (tobik)
emulators/virtualbox-ose*: Use ECHO_CMD not ECHO per bsd.commands.mk
- Unbreak `make -s` builds

PR:		240433, 240426
Submitted by:	Franco Fichtner <franco@opnsense.org> (based on)
5.2.32
ea8c8ec7da files touched
Gerald Pfeifer (gerald)
Bump PORTREVISION for ports depending on the canonical version of GCC as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
5.2.32
48de8a4b8c files touched
Jung-uk Kim (jkim)
Update to 5.2.32.
https://www.virtualbox.org/wiki/Changelog-5.2#v32
5.2.30
1353ce32bd files touched
Jung-uk Kim (jkim)
Update to 5.2.30.
https://www.virtualbox.org/wiki/Changelog-5.2#v30
5.2.28
e320d59467 files touched
Christoph Moench-Tegeder (cmt)
set VirtualBox MASTER_SITES to download.oracle.com
The SSL certificate of the host does not have download.virtualbox.org
in it's SubjectAltName anymore (download.virtualbox.org points to the
same CDN and is the same host as download.oracle.com, and checksums still
match).

Reported by:	Duncan Young
5.2.28
3c53b6d151 files touched
Jung-uk Kim (jkim)
Update to 5.2.28.
https://www.virtualbox.org/wiki/Changelog-5.2#v28
5.2.26
10c4fcdc0f files touched
Jung-uk Kim (jkim)
Prefer HTTPS for MASTER_SITES.

Load all commits →