notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details
virtualbox-ose-legacy General-purpose full virtualizer for x86 hardware
5.2.44_36 emulators on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 5.2.44_35Version of this port present on the latest quarterly branch.
Maintainer: vbox@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2011-05-22 09:02:02
Last Update: 2026-05-05 21:01:13
Commit Hash: 55cdeef
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • vboxheadless
  • vboxwatchdog
  • vboxinit
  • vboxwebsrv
Dependency lines:
  • virtualbox-ose-legacy>0:emulators/virtualbox-ose-legacy
Conflicts:
CONFLICTS_INSTALL:
  • virtualbox-ose-legacy
  • virtualbox-ose
  • virtualbox-ose-70
  • virtualbox-ose-71
  • virtualbox-ose-72
  • virtualbox-ose-nox11-legacy
  • virtualbox-ose-nox11
  • virtualbox-ose-nox11-70
  • virtualbox-ose-nox11-71
  • virtualbox-ose-nox11-72
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
Package flavors (<flavor>: <package>)
  • x11: virtualbox-ose-legacy
  • nox11: virtualbox-ose-nox11-legacy
ONLY_FOR_ARCHS: amd64 i386
distinfo:
TIMESTAMP = 1716914109 SHA256 (VirtualBox-5.2.44.tar.bz2) = ad83b11cfae2734f7d6f619dd2f8bdada7d33492cd7682fab98cb4053122295e SIZE (VirtualBox-5.2.44.tar.bz2) = 124016934

Expand this list (4 items)

Collapse this list.

SHA256 (VBoxGuestAdditions_5.2.44.iso) = 9883ee443a309f4ffa1d5dee2833f9e35ced598686c36d159f410e5edbac1ca4 SIZE (VBoxGuestAdditions_5.2.44.iso) = 49829888 SHA256 (VirtualBox-docs-5.2.44.tar.bz2) = c635a698351beeb0cb54062230cb8fa27328a111be186b3604410dc0e98bff2f SIZE (VirtualBox-docs-5.2.44.tar.bz2) = 3738907

Collapse this list.


No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gtar : archivers/gtar
  2. kmk : devel/kBuild
  3. libIDL-config-2 : devel/libIDL
  4. yasm : devel/yasm
  5. xsltproc : textproc/libxslt
  6. soapcpp2 : devel/gsoap
  7. pkgconf>=1.3.0_1 : devel/pkgconf
  8. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  9. python3.11 : lang/python311
  10. sdl-config : devel/sdl12
  11. xorgproto>=0 : x11/xorgproto
  12. xorgproto>=0 : x11/xorgproto
  13. xcb.pc : x11/libxcb
  14. x11.pc : x11/libX11
  15. xcursor.pc : x11/libXcursor
  16. xext.pc : x11/libXext
  17. xinerama.pc : x11/libXinerama
  18. xmu.pc : x11-toolkits/libXmu
  19. xt.pc : x11-toolkits/libXt
  20. qt5-buildtools>=5.15 : devel/qt5-buildtools
  21. lrelease : devel/qt5-linguisttools
  22. qt5-qmake>=5.15 : devel/qt5-qmake
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. vboxnet : emulators/virtualbox-ose-kmod-legacy
  2. python3.11 : lang/python311
  3. xcb.pc : x11/libxcb
  4. x11.pc : x11/libX11
  5. xcursor.pc : x11/libXcursor
  6. xext.pc : x11/libXext
  7. xinerama.pc : x11/libXinerama
  8. xmu.pc : x11-toolkits/libXmu
  9. xt.pc : x11-toolkits/libXt
Library dependencies:
  1. libpng.so : graphics/png
  2. libcurl.so : ftp/curl
  3. libdbus-1.so : devel/dbus
  4. libvncserver.so : net/libvncserver
  5. libxml2.so : textproc/libxml2
  6. libGL.so : graphics/libglvnd
  7. libSDL.so : devel/sdl12
  8. libQt5Core.so : devel/qt5-core
  9. libQt5DBus.so : devel/qt5-dbus
  10. libQt5Gui.so : x11-toolkits/qt5-gui
  11. libQt5OpenGL.so : graphics/qt5-opengl
  12. libQt5PrintSupport.so : print/qt5-printsupport
  13. libQt5Widgets.so : x11-toolkits/qt5-widgets
  14. libQt5X11Extras.so : x11/qt5-x11extras
Extract dependencies:
  1. GXX3.kmk : devel/kBuild
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for virtualbox-ose-legacy-5.2.44_36: 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:
  1. There is no master site for this port.

Number of commits found: 128 (showing only 28 on this page)

«  1 | 2 

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
4.2.20
14 Dec 2013 18:39:21
Revision:336470Original commit files touched by this commit
mva search for other commits by this committer
- make lang/python an explicit dependency to get rid of the
  implicit one

Reported by:	exp-run (PR 184591)
Approved by:	portmgr (blanket)
4.2.20
13 Dec 2013 11:17:20
Revision:336332Original commit files touched by this commit
decke search for other commits by this committer
- Update to virtualbox-ose 4.2.20_1
- This update pulls in many changes from the port and brings better support
for FreeBSD 10 and GCC from ports. I am doing that in preparation of the
upcoming VirtualBox 4.3 update that should land soon.
4.1.24_1
22 Oct 2013 13:57:35
Revision:331271Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Remove manual creation and removal of share/applications, as it's now in the
mtree (categories starting with [bce])

Approved by:	portmgr (bdrewery)
4.1.24_1
20 Sep 2013 16:43:53
Revision:327721Original commit files touched by this commit
bapt search for other commits by this committer
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
Revision:326509Original commit files touched by this commit
madpilot search for other commits by this committer
Fix build on head after iconv change.

Approved by:	portmgr (bapt, implicit)
4.1.24_1
06 Sep 2013 08:37:48
Revision:326480Original commit files touched by this commit
decke search for other commits by this committer
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
Revision:326133Original commit files touched by this commit
bapt search for other commits by this committer
Add an explicit dependency on pkgconf
4.1.24_1
11 Jul 2013 16:26:27
Revision:322783Original commit files touched by this commit
sunpoet search for other commits by this committer
- 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
Revision:319712Original commit files touched by this commit
eadler search for other commits by this committer
virtualbox-ose-* is incompatible with newer versions of python.

Approved by:	decke
26 Apr 2013 12:35:51
Revision:316600Original commit files touched by this commit Sanity Test Failure Refresh
bapt search for other commits by this committer
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
Revision:309875Original commit files touched by this commit
decke search for other commits by this committer
- 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
Revision:305610Original commit files touched by this commit
linimon search for other commits by this committer
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
Revision:304160Original commit files touched by this commit
decke search for other commits by this committer
- 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
Original commit files touched by this commit
decke search for other commits by this committer
- Add missing VNC IPv6 patch
- Convert to optionsng [1]

Submitted by:	bapt [1]
4.0.16_2
01 Jul 2012 23:43:40
Original commit files touched by this commit
jgh search for other commits by this committer
- revert previous commit, index breakage

PR:     ports/169224
4.0.16_2
01 Jul 2012 23:08:51
Original commit files touched by this commit
jgh search for other commits by this committer
- 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
Original commit files touched by this commit
miwi search for other commits by this committer
- 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
Original commit files touched by this commit
dinoex search for other commits by this committer
- update png to 1.5.10
4.0.16_1
09 Mar 2012 21:57:44
Original commit files touched by this commit
decke search for other commits by this committer
- 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
Original commit files touched by this commit
decke search for other commits by this committer
- Update Guest Additions Mirrorsite

PR:             ports/165597
Submitted by:   Seiji Ariga <freebsd@khaotic.net>
4.0.16
08 Mar 2012 14:20:33
Original commit files touched by this commit
decke search for other commits by this committer
- Remove empty line at end of file

Reported by:    Alex Kozlov <ak@FreeBSD.org>
4.0.16
05 Mar 2012 22:08:22
Original commit files touched by this commit
pav search for other commits by this committer
- 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
Original commit files touched by this commit
decke search for other commits by this committer
- 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
Original commit files touched by this commit
mva search for other commits by this committer
- 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
Original commit files touched by this commit
dougb search for other commits by this committer
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
Original commit files touched by this commit
decke search for other commits by this committer
- 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
Original commit files touched by this commit
decke search for other commits by this committer
- 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
Original commit files touched by this commit
decke search for other commits by this committer
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@

Number of commits found: 128 (showing only 28 on this page)

«  1 | 2