fastports

virtualbox-ose 6.1.50_18

emulators/virtualbox-ose

General-purpose full virtualizer for x86 hardware

Category
emulators
Maintainer
vbox@FreeBSD.org
WWW
https://www.virtualbox.org/
License
GPLv2
USES
compiler:c++14-lang cpe gnome iconv pkgconfig ssl tar:bzip2 python:3.10-3.11 gl qmake:no_env qt:5 xorg sdl xorg

Description

Oracle VM VirtualBox is a hosted hypervisor for x86 virtualisation.
Supported guests include BSD, Haiku, Linux, OS/2, ReactOS, Solaris and
Windows.

Guest Additions are available from: emulators/virtualbox-ose-additions

For the Extension Pack: FreeBSD is not a supported host platform.
Installation of the Pack will not extend the feature set.

Dependencies

Commit History

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

Commit Credits Log message
6.1.50
87ffb19323 files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose{,-nox11}{,-legacy,-70,-71,-72}: Fix build with custom USERS/GROUPS not in UIDs/GIDs
Sponsored by:	UNIS Labs
MFH:		2026Q2
6.1.50
3862afae6a files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose{,-70,-71,-72,-legacy}: Improve port (non-functional)
- Replace ${PREFIX}/share/applications with ${DESKTOPDIR}.
- Replace "*" with . in COPYTREE_SHARE.
6.1.50
4f2ef91eed files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose*: Add support of "Unattended Installation of Guest OS" feature
Install files required by Unattended Installation of Guest OS feature.
These files were already prepared during the ports' build, so just add
them to the installation.

Details about this feature are here:
https://www.virtualbox.org/manual/topics/create-vm.html#tk_create-vm-unattended-install

Reported by:	xin3qu via IRC (#freebsd-vbox @ Libera.Chat)
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
939d8775e7 files touched
Jan Beich (jbeich)
multimedia/libvpx: update 1.16.0
Changes:	https://chromium.googlesource.com/webm/libvpx/+log/v1.15.2..v1.16.0
Reported by:	Repology
6.1.50
8a712f4016 files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose{,-legacy}: Limit python to 3.10-3.11
This is temporary workaround for build error:

/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.50/src/libs/xpcom18a4/python/src/VariantUtils.cpp:197:7: error: use of undeclared identifier 'PyUnicode_GET_SIZE'; did you mean 'PyDict_GET_SIZE'?
                if (PyUnicode_GET_SIZE(val_use) == 0) {
                    ^~~~~~~~~~~~~~~~~~
                    PyDict_GET_SIZE
/usr/local/include/python3.12/cpython/dictobject.h:53:26: note: 'PyDict_GET_SIZE' declared here
static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
                         ^
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.50/src/libs/xpcom18a4/python/src/VariantUtils.cpp:501:38: error: use of undeclared identifier 'PyUnicode_AS_UNICODE'
                                FILL_SIMPLE_POINTER( PRUnichar, *PyUnicode_AS_UNICODE(val_use) );
                                                                 ^
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.50/src/libs/xpcom18a4/python/src/VariantUtils.cpp:829:8: error: use of undeclared identifier 'PyUnicode_GetSize'
                        if (PyUnicode_GetSize(ob) == 0) {
                            ^

Support for the python 3.12+ was added in the VirtualBox 7.0.
Maybe I'll partially port this in older VirtualBox ports later.

PR:	292189 285957
6.1.50
89de71b8c7 files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose-additions*: Fix "vboxmanage guestproperty" on host does not show interface name for FreeBSD guest
Upstream issue:
https://github.com/VirtualBox/virtualbox/issues/403
Upstream commit:
https://github.com/VirtualBox/virtualbox/commit/3cf64726847e2483c9539ca51c88862a0f1c7414

PR:	291128
MFH:	2025Q4
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
0dad99d889 files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose{,-71,-72,-legacy}: Fix description in rc script
Fix description for option vboxinit_start_delay.

MFH:	2025Q4
6.1.50
64fb50b01e files touched
Max Brazhnikov (makc)
*/*: Fix Qt and LXQt spelling
6.1.50
bf21746ce0 files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose*: Fix vboxvfs build on 16-CURRENT
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-6.1.50/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vnops.c:1271:9: error: use of undeclared identifier 'NULLVP'
 1271 |         *vpp = NULLVP;
      |                ^
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-6.1.50/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vnops.c:1281:3: error: call to undeclared function 'VREF'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
 1281 |                 VREF(dvp);
      |                 ^

Commits that broke the build:
https://cgit.freebsd.org/src/commit/sys/sys/vnode.h?id=7e4c451c12aeb26cc1179221b8230c491b17cf00
https://cgit.freebsd.org/src/commit/sys/sys/vnode.h?id=01c8e2e33df81b242d73a23de49a6b61f33c24c1

PR:		289992
Reported by:	pkg-fallout
MFH:		2025Q4
6.1.50
40fa372043 files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose{,-nox11}{,-70,-71,-72,-legacy}: Fix build with ftp/curl 8.16.0
kBuild: Compiling VBoxRT - /wrkdirs/usr/ports/emulators/virtualbox-ose-72/work/VirtualBox-7.2.0/src/VBox/Runtime/generic/http-curl.cpp
/wrkdirs/usr/ports/emulators/virtualbox-ose-72/work/VirtualBox-7.2.0/src/VBox/Runtime/generic/http-curl.cpp:702:27: error: assigning to 'curl_proxytype' from incompatible type 'long'
  702 |     pThis->enmProxyType = CURLPROXY_HTTP;
      |                           ^~~~~~~~~~~~~~
/usr/local/include/curl/curl.h:791:35: note: expanded from macro 'CURLPROXY_HTTP'
  791 | #define CURLPROXY_HTTP            0L /* added in 7.10, new in 7.19.4 default is
      |                                   ^~

Upstream bug report:
https://github.com/curl/curl/issues/18054#issuecomment-3354156324

PR:	289924
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
3068854dd0 files touched
Baptiste Daroussin (bapt)
libxml2: chase libxml soversion bump
6.1.50
5ab3be27e7 files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose*: Improve rc script
- Add sort VMs by name during auto start and reverse sort during stop -
  with this user can control the order in which VMs are started and stopped.
- Increase default delay between start VMs from 0 to 1 second -
  useful when automatically starting more than "2-3" VMs.
6.1.50
2314a49511 files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose{,-legacy}: Fix patch for build with libxml2 2.12.6+
Remove RT_NOTHROW_DEF: it is defined in VirtualBox itself, but was only
introduced in version 7.0.

PR:	287284 279958
Fixes:	17271d3143c9 (Fix build with libxml2 2.12.6+)
6.1.50
17271d3143 files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose{,-nox11}{,-legacy}: Fix build with libxml2 2.12.6+
Patch ported from VirtualBox 7.x.

PR:	279958
6.1.50
47d943f3cf files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose{,-nox11}: Add patches for better graphics devices support
While here refresh patches for graphics devices

PR:		286748
Tested by:	Martin Birgmeier <d8zNeCFG@aon.at>, rkoberman@gmail.com
MFH:		2025Q2
6.1.50
137787be31 files touched
Takahiro Kurosawa (takahiro.kurosawa)
emulators/virtualbox-ose-additions{,-legacy}: Fix build on 15-CURRENT OSVERSION>=1500038
PR:	286718
MFH:	2025Q2
6.1.50
55c131637a files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose: Add patch with enable "HW accelerated graphics output"
While here sort options.

MFH:	2025Q2
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
3a151cd44b files touched
Mark Johnston (markj)
emulators/virtualbox-ose{,-70,-legacy}: Fix release memory on VM exit on 15-CURRENT
PR:	286507
MFH:	2025Q2
6.1.50
9f3b8e1ffa files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose{,-nox11}: Fix build python library
MFH:	2025Q2
6.1.50
271cb6e766 files touched
Mark Johnston (markj)
emulators/virtualbox-ose-kmod{,-70,-legacy}: Fix the build after FreeBSD kernel changes in 1500038
Update to chase removal of vm_page_next()

PR:		286206 286193 286204
Tested by:	Graham Perrin <grahamperrin@gmail.com>
MFH:		2025Q2
6.1.50
64f3a6bf7e files touched
Jan Beich (jbeich)
multimedia/libvpx: update 1.15.1
Changes:	https://chromium.googlesource.com/webm/libvpx/+log/v1.15.0..v1.15.1
Reported by:	portscout
6.1.50
a347a92e6e files touched
Gleb Popov (arrowd)
*: Bump revisions after dbus update
PR:		285253
Reported by:	Martin Birgmeier <d8zNeCFG@aon.at>
6.1.50
06a08e69f3 files touched
Charlie Li (vishwin)
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
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
d23dace6ec files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose{,-legacy}: Merge patches and unify patch names for src/VBox/Devices/PC/ipxe/Makefile.kmk
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
1a2220ab88 files touched
takahiro.kurosawa (takahiro.kurosawa)
emulators/virtualbox-ose-additions{,-nox11}: Fix vboxvfs bugs
This commit fixes vboxvfs (shared foler) kernel module bugs:
* fix open file leaks on creating files that causes file descriptor
  leaks on host;
* fix halfway lookups.

PR:	245865
MFH:	2025Q1
6.1.50
ed48632461 files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose{,-nox11}{,-legacy}: Fix listen VNC on TCP port on IPv6 address
Four new options are available:
 - "VNCAddress4" -> IPv4 address to use
 - "VNCPort4" -> IPv4 Port to use
 - "VNCAddress6" -> IPv6 address to use
 - "VNCPort6" -> IPv6 port to use

"TCP/Ports" is used for backward compatibility as IPv4 and IPv6 ports if
"VNCPort4" or "VNCPort6" is not defined.

Detailed description is here:
https://www.virtualbox.org/browser/vbox/trunk/src/VBox/ExtPacks/VNC/VBoxVNC.cpp#L361

PR:	193778
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
7481fae4ff files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose: Rename patch from *.bak to *
PR:	282780
Fixes:	1b244fbbf4d6 (Fix build error since 1500027 (struct ifnet is now hidden))
6.1.50
1b244fbbf4 files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose-kmod: Fix build error since 1500027 (struct ifnet is now hidden)
Based on patch from wulf.

PR:		282780
Tested by:	groenveld@acm.org
6.1.50
5505c50fcc files touched
Gleb Popov (arrowd)
*: Bump PORTREVISIONs of Pulseaudio consumers
Sponsored by:	Future Crew, LLC
6.1.50
6e2da9672f files touched
Robert Clausecker (fuz)
filesystems: add new category for file systems and related utilities
The filesystems category houses file systems and file system utilities.
It is added mainly to turn the sysutils/fusefs-* pseudo-category into
a proper one, but is also useful for the sundry of other file systems
related ports found in the tree.

Ports that seem like they belong there are moved to the new category.
Two ports, sysutils/fusefs-funionfs and sysutils/fusefs-fusepak are
not moved as they currently don't fetch and don't have TIMESTAMP set
in their distinfo, but that is required to be able to push a rename
of the port by the pre-receive hook.

Approved by:	portmgr (rene)
Reviewed by:	mat
Pull Request:	https://github.com/freebsd/freebsd-ports/pull/302
PR:		281988
6.1.50
888cea7dee files touched
Jan Beich (jbeich)
multimedia/libvpx: update 1.15.0
Changes:	https://chromium.googlesource.com/webm/libvpx/+log/v1.14.1..v1.15.0
Reported by:	Repology
6.1.50
4485bd8221 files touched
Rene Ladan (rene)
all: drop support for expired FreeBSD 14.0
Simplify expressions for FreeBSD 13.X

Reviewed by:	many

Differential Revision:	https://reviews.freebsd.org/D46601
6.1.50
53bede4bcb files touched
Mark Johnston (markj)
emulators/virtualbox-ose-kmod: Catch up with FreeBSD KPI changes
After 1500021, kick_proc0() doesn't exist.

PR:		280495
Approved by:	vvd (maintainer)
Reported by:	Michael Butler <imb@protected-networks.net>
6.1.50
fb231153bf files touched
Igor Malyshev (bsd)
emulators/virtualbox-ose{,-nox11}: fix USB passthrough fails with: Failed to create a proxy device for the USB device
Failed to create a proxy device for the USB device. (Error: VERR_INVALID_PARAMETER)

00:00:24.961804 usbProxyConstruct: Failed to open '/dev/ugen0.6', rc=VERR_INVALID_PARAMETER

00:00:24.961881 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={Failed to create a proxy device for the USB device. (Error: VERR_INVALID_PARAMETER)}, preserve=false aResultDetail=-2

In commit https://cgit.freebsd.org/src/commit/?id=9b077d72bcc313baea2b9283afc7f568739eaadc
+#define	USB_FS_XFER_MAX 126
-	if (fs_ep_ptr == NULL || ep_index_max > 127)
+	if (fs_ep_ptr == NULL || ep_index_max > USB_FS_XFER_MAX)
To fix VirtualBox decrease USBFBSD_MAXENDPOINTS from 127 to 126:
-#define USBFBSD_MAXENDPOINTS 127
+#define USBFBSD_MAXENDPOINTS 126

PR:		270900
Tested by:	groenveld@acm.org, russo@bogodyn.org
Approved by:	with hat of vbox (maintainer)
MFH:		2024Q3
6.1.50
612ffa0271 files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose: fix build emulators/virtualbox-ose-additions{,-nox11} on main: error: unknown type name 'uma_zone_t'
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-6.1.50/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_prov.c:42:
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-6.1.50/src/VBox/Additions/freebsd/vboxvfs/vboxvfs.h:209:2: error: unknown type name 'uma_zone_t'
  209 |         uma_zone_t      sf_node_pool;
      |         ^

Reported by:	pkg-fallout
MFH:		2024Q3
6.1.50
d0deb35b69 files touched
Vladimir Druzenko (vvd)
emulators/virtualbox-ose{,-nox11}: add vboxinit start/stop script for VMs which is controlled from phpvirtualbox
Set the "Startup Mode" to "Automatic" for the virtual machine in
phpvirtualbox to automatically start the virtual machine during OS boot.

This script also stops virtual machines during reboot even if
vboxinit_enable="YES" is not present in /etc/rc.conf.

phpvirtualbox uses the "Web Service" (WEBSERVICE) to configure and
manage virtual machines, so we install the script only when the
WEBSERVICE option is enabled.

PR:	280062
6.1.50
9d32296c3b files touched
Muhammad Moinur Rahman (bofh)
emulators/virtualbox-ose: Refactor DOCS
Although the documentation builds fine currently however the doc
UserManual.pdf fails to build from the docbook with pdflatex from TeX
2024. So decouple the documentation file from the builds as an
additional DISTFILE. As this version is no longer supported by upstream
it is highly unlikely that the build of the documentation will be fixed
by upstream. Or unless someone has enough enthusiasm to fix the build
of the documentation once TeX 2024 hits the tree.

Approved by: portmgr (blanket)
Sponsored by: Nepustil
6.1.50
0660187ad0 files touched
Mathieu Arnold (mat)
cleanup: remove occurrences of WITH_DEBUG
DEBUG like all ports features, must not ever be set in a port, they are
user facing features, that the user needs to enable in their
environment/make.conf, either by defining WITH_DEBUG globally, or by
setting WITH_DEBUG_PORTS with origin of ports they want DEBUG enabled
in.
6.1.50
589aaaeb09 files touched
Jan Beich (jbeich)
multimedia/libvpx: update 1.14.0
Changes:	https://chromium.googlesource.com/webm/libvpx/+log/v1.13.1..v1.14.0
Reported by:	portscout
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
bbab7f59e9 files touched
Muhammad Moinur Rahman (bofh)
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
  ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
  Also move conditional flags for non sparc64/arm ARCH to fixed flags.

Reviewed by:	brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
6.1.48
6c5da516ce files touched
Eugene Grosbein (eugen)
emulators/virtualbox-ose: add option to build vboximg-mount
Introduce new port option VBOXIMG that enables building and installing
"vboximg-mount" utility. It is not enabled by default as it needs
fusesfs-libs as another dependency.

The utility gives access to insides of VM images like .vdi files etc.
Use "vboximg-mount -g" to get access to files on internal file systems
not supported by native FreeBSD mount command. Refer to utility's
internal online help for syntax details and to original documentation:

https://docs.oracle.com/en/virtualization/virtualbox/6.0/user/vboximg-mount.html

PR:		274817
Tested by:	vvd
Approved by:	vbox (maintainer timeout over 2 weeks)
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

Load all commits →