| Port details |
- virtualbox-ose-legacy General-purpose full virtualizer for x86 hardware
- 5.2.44_35 emulators
=2 5.2.44_33Version of this port present on the latest quarterly branch. - Maintainer: vbox@FreeBSD.org
 - Port Added: 2011-05-22 09:02:02
- Last Update: 2026-02-22 23:19:43
- Commit Hash: 3862afa
- People watching this port, also watch:: fluxbox, virtualbox-ose-kmod-legacy
- License: GPLv2
- WWW:
- https://www.virtualbox.org/
- Description:
- Oracle VM VirtualBox is a hosted hypervisor for x86 virtualisation.
Supported guests include BSD, Haiku, Linux, OS/2, ReactOS, Solaris and
Windows.
emulators/virtualbox-ose is recommended for most use cases.
emulators/virtualbox-ose-legacy is for exceptional legacy (5.2.x) cases.
<https://www.virtualbox.org/wiki/Changelog-5.2> emphasises that
5.2.x is no longer supported by Oracle.
Guest Additions are available:
emulators/virtualbox-ose-additions-legacy
For the Extension Pack: FreeBSD is not a supported host platform.
Installation of the Pack will not extend the feature set.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- vboxheadless
- vboxwatchdog
- vboxinit
- vboxwebsrv
- Dependency lines:
-
- virtualbox-ose-legacy>0:emulators/virtualbox-ose-legacy
- Conflicts:
- CONFLICTS_INSTALL:
- virtualbox-ose
- virtualbox-ose-nox11
- virtualbox-ose-70
- virtualbox-ose-nox11-70
- virtualbox-ose-71
- virtualbox-ose-nox11-71
- virtualbox-ose-72
- virtualbox-ose-nox11-72
- virtualbox-ose-nox11-legacy
- To install the port:
- cd /usr/ports/emulators/virtualbox-ose-legacy/ && make install clean
- To add the package, run one of these commands:
- pkg install emulators/virtualbox-ose-legacy
- pkg install virtualbox-ose-legacy
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: virtualbox-ose-legacy
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: amd64 i386
- distinfo:
- TIMESTAMP = 1716914109
SHA256 (VirtualBox-5.2.44.tar.bz2) = ad83b11cfae2734f7d6f619dd2f8bdada7d33492cd7682fab98cb4053122295e
SIZE (VirtualBox-5.2.44.tar.bz2) = 124016934
Packages (timestamps in pop-ups are UTC):
- Slave ports:
-
- emulators/virtualbox-ose-nox11-legacy
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gtar : archivers/gtar
- kmk : devel/kBuild
- libIDL-config-2 : devel/libIDL
- yasm : devel/yasm
- xsltproc : textproc/libxslt
- soapcpp2 : devel/gsoap
- pkgconf>=1.3.0_1 : devel/pkgconf
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- sdl-config : devel/sdl12
- xorgproto>=0 : x11/xorgproto
- xorgproto>=0 : x11/xorgproto
- xcb.pc : x11/libxcb
- x11.pc : x11/libX11
- xcursor.pc : x11/libXcursor
- xext.pc : x11/libXext
- xinerama.pc : x11/libXinerama
- xmu.pc : x11-toolkits/libXmu
- xt.pc : x11-toolkits/libXt
- qt5-buildtools>=5.15 : devel/qt5-buildtools
- lrelease : devel/qt5-linguisttools
- qt5-qmake>=5.15 : devel/qt5-qmake
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- vboxnet : emulators/virtualbox-ose-kmod-legacy
- python3.11 : lang/python311
- xcb.pc : x11/libxcb
- x11.pc : x11/libX11
- xcursor.pc : x11/libXcursor
- xext.pc : x11/libXext
- xinerama.pc : x11/libXinerama
- xmu.pc : x11-toolkits/libXmu
- xt.pc : x11-toolkits/libXt
- Library dependencies:
-
- libpng.so : graphics/png
- libcurl.so : ftp/curl
- libdbus-1.so : devel/dbus
- libvncserver.so : net/libvncserver
- libxml2.so : textproc/libxml2
- libGL.so : graphics/libglvnd
- libSDL.so : devel/sdl12
- libQt5Core.so : devel/qt5-core
- libQt5DBus.so : devel/qt5-dbus
- libQt5Gui.so : x11-toolkits/qt5-gui
- libQt5OpenGL.so : graphics/qt5-opengl
- libQt5PrintSupport.so : print/qt5-printsupport
- libQt5Widgets.so : x11-toolkits/qt5-widgets
- libQt5X11Extras.so : x11/qt5-x11extras
-
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for virtualbox-ose-legacy-5.2.44_35:
ALSA=off: ALSA audio architecture support
DBUS=on: D-Bus IPC system support
DEBUG=off: Debug symbols, additional logs and assertions
DOCS=on: Build and/or install documentation
GUESTADDITIONS=off: Build with Guest Additions
NLS=on: Native language support (requires QT5)
PULSEAUDIO=off: PulseAudio sound server support
PYTHON=on: Python bindings or support
QT5=on: Build with Qt5 frontend (requires X11)
R0LOGGING=off: Enable R0 logging (requires DEBUG)
UDPTUNNEL=on: Build with UDP tunnel support
VDE=off: Build with VDE support
VNC=on: Build with VNC support
VPX=off: Use libvpx for video recording
WEBSERVICE=on: Build Webservice
X11=on: X11 (graphics) support
===> Use 'make config' to modify these settings
- Options name:
- emulators_virtualbox-ose-legacy
- 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
- pkg-message:
- For install:
- VirtualBox was installed.
You need to load the vboxdrv kernel module via /boot/loader.conf:
vboxdrv_load="YES"
You also have to add all users to your vboxusers group in order to use vbox.
% pw groupmod vboxusers -m jerry
Reboot the machine to load the needed kernel modules.
Bridging Support:
=================
For bridged networking please add the following line to your /etc/rc.conf:
vboxnet_enable="YES"
USB Support:
============
For USB support your user needs to be in the operator group and needs read
and write permissions to the USB device.
% pw groupmod operator -m jerry
Add the following to /etc/devfs.rules (create if it doesn't exist):
[system=10]
add path 'usb/*' mode 0660 group operator
To load these new rule add the following to /etc/rc.conf:
devfs_system_ruleset="system"
Then restart devfs to load the new rules:
% /etc/rc.d/devfs restart
Troubleshooting:
================
Running VirtualBox as non-root user may fail with a fatal error
NS_ERROR_FACTORY_NOT_REGISTERED. In this case delete /tmp/.vbox-*-ipc file.
If you experience "Network: write Failed: Cannot allocate memory" errors
try to increase net.graph.maxdata in /boot/loader.conf
If you are using AIO, then increase these limits (https://bugs.freebsd.org/168298):
vfs.aio.max_buf_aio=8192
vfs.aio.max_aio_queue_per_proc=65536
vfs.aio.max_aio_per_proc=8192
vfs.aio.max_aio_queue=65536
To check if AIO is used use: kldstat -v | grep aio
If you are experiencing VMs freezes with an error in VBox.log such as:
"
00:01:29.590192 AssertLogRel /usr/ports/emulators/virtualbox-ose-legacy/work/VirtualBox-5.2.44
/src/VBox/VMM/VMMR3/PGMPhys.cpp(5148) int PGMR3PhysAllocateHandyPages(PVM): RT_SUCCESS(rc)
00:01:29.590221 87/128: idPage=0x3d400 HCPhysGCPhys=000000027eaed000 rc=VERR_NO_MEMORY
00:01:29.590247 Changing the VM state from 'RUNNING' to 'GURU_MEDITATION'
00:01:29.590261 Console: Machine state changed to 'GuruMeditation'
00:01:29.590695 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
00:01:29.590696 !!
00:01:29.590697 !! VCPU0: Guru Meditation -8 (VERR_NO_MEMORY)
"
and see a lot of free RAM, then increase sysctl vm.max_user_wired
(https://bugs.freebsd.org/252227).
For dedicated VM servers, a good start is:
("RAM in GB" - max(1, "RAM in GB" / 32)) * 1024*1024*1024 / PAGE_SIZE
PAGE_SIZE on x86 is 4096.
Examples with different RAM sizes in GB:
16: ( 16-max(1, 16/32)*1024*1024*1024/4096 = 3932160 => 15GB
32: ( 32-max(1, 32/32)*1024*1024*1024/4096 = 8126464 => 31GB
48: ( 48-max(1, 48/32)*1024*1024*1024/4096 = 12189696 => 46.5GB
64: ( 64-max(1, 64/32)*1024*1024*1024/4096 = 16252928 => 62GB
128: (128-max(1,128/32)*1024*1024*1024/4096 = 32505856 => 124GB
256: (256-max(1,256/32)*1024*1024*1024/4096 = 65011712 => 248GB
Check the wiki page for known issues and troubleshooting:
https://wiki.freebsd.org/VirtualBox
Please report any problems to emulation@. Thanks!
- Master Sites:
- There is no master site for this port.
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
4.1.24_1 20 Sep 2013 16:43:53
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
emulators) |
4.1.24_1 06 Sep 2013 15:06:25
  |
madpilot  |
Fix build on head after iconv change.
Approved by: portmgr (bapt, implicit) |
4.1.24_1 06 Sep 2013 08:37:48
  |
decke  |
Add explicit iconv dependency. The port requires variable ICONV_LIB
defined in the iconv USES Makefile to build correctly on 8.x and
9.x after the iconv migration of the ports tree.
PR: ports/181854
Submitted by: Dave Hayes <dave@jetcafe.org> |
4.1.24_1 03 Sep 2013 10:23:55
  |
bapt  |
Add an explicit dependency on pkgconf |
4.1.24_1 11 Jul 2013 16:26:27
  |
sunpoet  |
- Update to 7.31.0
- Bump PORTREVISION for ftp/curl shlib change
- Add TEST_DEPENDS
- Convert to new options framework
- Adjust options:
- Add COOKIES
- Add CYASSL, NSS, POLARSSL, THREADED_RESOLVER, TLS_SRP [1]
- Add GSSAPI and SPNEGO [2]
- Remove KERBEROS4
- Rename LIBIDN to IDN
- Remove TRACKMEMORY [1]
- Sort option handler
- Add SLAVEDIRS: ftp/curl-hiphop
- Cosmetic change
- Cleanup Makefile header
- While I'm here, fix typo (PORTREVSION) in x11-wm/ede/Makefile
Changes: http://curl.haxx.se/changes.html
PR: ports/172325 (-exp run), ports/177369 (based on) [1]
Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp> [1], hrs (via email) [2]
Exp run by: miwi |
4.1.24 02 Jun 2013 18:55:09
  |
eadler  |
virtualbox-ose-* is incompatible with newer versions of python.
Approved by: decke |
26 Apr 2013 12:35:51

|
bapt  |
Remove USE_CDRTOOLS from bsd.port.mk
This macros has been useless since cdrtools-cjk port has gone.
This macros also lead to badly handled dependencies assuming that the dependency
on cdrtools was most BUILD and RUN dependency. While most of the time it is
simply a RUN dependency and sometime a build one.
While here:
- Trim some headers
- Convert some ports to optionsng
- Convert some ports to USES= gettext |
4.1.24 03 Jan 2013 13:37:13
  |
decke  |
- Update to 4.1.24
- Fix building with libxslt newer than 1.1.26
Obtained from: https://www.virtualbox.org/ticket/10940 |
4.0.16_2 09 Oct 2012 22:12:14
  |
linimon  |
Force numerous ports that fail to build with clang over to instead always
rely on gcc. The patch uses the new USE_GCC=any code in Mk/bsd.gcc.mk to
accomplish this.
The ports chosen were ports that blocked 2 or more ports from building with
clang. (There are several hundred other ports that still fail to build with
clang, even with this patch. This is merely one step along the way.)
Those interested in fixing these ports with clang, and have clang as their
default compiler, can simply set FORCE_BASE_CC_FOR_TESTING=yes.
For those who have gcc as their default compiler, this change is believed
to cause no change.
Hat: portmgr
Tested with: multiple runs on amd64-8-exp-bcm and 9-exp-clang, with various
combinations of patch/no-patch and flag settings. |
4.0.16_2 12 Sep 2012 20:13:35
  |
decke  |
- Cleanup MASTER_SITES and use upstream mirror as primary
Discussed with: beat (for chruetertee mirrors) |
4.0.16_2 04 Aug 2012 07:54:44
 |
decke  |
- Add missing VNC IPv6 patch
- Convert to optionsng [1]
Submitted by: bapt [1] |
4.0.16_2 01 Jul 2012 23:43:40
 |
jgh  |
- revert previous commit, index breakage
PR: ports/169224 |
4.0.16_2 01 Jul 2012 23:08:51
 |
jgh  |
- re-order, include bsd.port.pre.mk so SRC_BASE is defined before referenced
- pet portlint on placement of LICENSE
PR: ports/169224
Submitted by: jgh@
Approved by: maintainer timeout ( 14 days ) |
4.0.16_2 06 Jun 2012 06:44:38
 |
miwi  |
- Convert USE_QT_VER=4 and QT_COMPONETS to USE_QT4
Review by: bapt, David Naylor (kde team) |
4.0.16_2 01 Jun 2012 05:26:28
 |
dinoex  |
- update png to 1.5.10 |
4.0.16_1 09 Mar 2012 21:57:44
 |
decke  |
- Unbreak by disabling broken VMM testcase. It seems to be an incompatibility
with recently updated yasm.
Submitted by: pointyhat (via pav)
Feature safe: yes |
4.0.16 08 Mar 2012 15:23:53
 |
decke  |
- Update Guest Additions Mirrorsite
PR: ports/165597
Submitted by: Seiji Ariga <freebsd@khaotic.net> |
4.0.16 08 Mar 2012 14:20:33
 |
decke  |
- Remove empty line at end of file
Reported by: Alex Kozlov <ak@FreeBSD.org> |
4.0.16 05 Mar 2012 22:08:22
 |
pav  |
- Mark BROKEN on amd64: fails to compile
kmk: ***
[/work/a/ports/emulators/virtualbox-ose-legacy/work/VirtualBox-4.0.16_OSE/out/freebsd.amd64/release/obj/VMM/tstAsmStructsAsm.mac]
Error 1
kmk: *** Deleting file
Reported by: pointyhat |
4.0.16 21 Feb 2012 12:43:15
 |
decke  |
- Update to 4.0.16
- Fix lib32 checks to use /usr/lib32/libc.so
Obtained from: redports.org/~virtualbox/ |
3.2.12_4 18 Feb 2012 10:18:33
 |
mva  |
- Update devel/sdl12 to 1.2.15
- Update audio/sdl_mixer to 1.2.15
- Update graphics/sdl_image to 1.2.12
- Update graphics/sdl_ttf to 2.0.11
- Update graphics/sdl_gfx to 2.0.23
- Update net/sdl_net to 1.2.8
- Bump PORTREVISIONs on ports that depend on one or more packages due to
ABI and shared library version changes
- Update Mk/bsd.sdl.mk accordingly for the new shared library versions
Tested by: exp-run by pav |
3.2.12_3 14 Jan 2012 08:57:23
 |
dougb  |
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other. |
3.2.12_3 01 Jul 2011 13:24:43
 |
decke  |
- Fix build on 9-CURRENT with latest CAM changes [1]
- Add stop command and delay parameter to vboxheadless rc script [2]
- Bump PORTREVISION
Submitted by: Jung-uk Kim <jkim@FreeBSD.org> [1],
Franco Ricci <franco.ricci@phys.uniroma1.it> [2] |
3.2.12_2 22 May 2011 09:15:09
 |
decke  |
- Introduce -legacy ports
- Add vboxheadless startscript [1]
- Add vboxwebsrv startscript [2]
- Change CONFLICTS to CONFLICTS_INSTALL [3]
- Remove stale mirror
- Bump PORTREVISION
PR: ports/156699 (based on) [3]
Submitted by: Stefan Tollkuehn <stefan.tollkuehn@editura.de>, [1][2]
Raul Gigea <raul.gigea@editura.de>, [1]
Tobias Oberstein <tobias.oberstein@tavendo.de>, [1]
Emil <the_mix_room@hotmail.com> [3]
Thanks to: dougb@, [1][2]
Cr4zi3/EFNet, [2]
crsd [2] |
3.2.12_1 22 May 2011 09:01:20
 |
decke  |
Force commit to note the repocopy: emulators/virtualbox-ose to
emulators/virtualbox-ose-legacy and emulators/virtualbox-ose-kmod to
emulators/virtualbox-ose-kmod-legacy
PR: ports/156843
Repocopy by: marcus@ |