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.
===> The following configuration options are available for virtualbox-ose-6.1.50_20:
AIO=on: Enable Asyncronous IO support (check pkg-message)
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)
OPUS=off: Use libvpx for audio recording (requires VPX)
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
VBOXIMG=off: Build vboximg-mount (requires fuse-libs)
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
Reason:
In order to comply to hier(7), VirtualBox's configuration of non-default
IP ranges to be used in host-only mode moved from /etc/vbox/networks.conf
to ${LOCALBASE}/etc/vbox/networks.conf.
Reason:
emulators/virtualbox-ose has been updated to 6.1.18. This new
version only works on amd64 hardware.
Previous version 5.x of the virtualbox ports have been preserved
as emulators/virtualbox-ose-legacy and similarly named ports for
the other parts.
If you can't run the latest version or wish to stay with the old
version, please install the legacy ports.
Also the additions at present build successfully only for amd64.
If you need i386 additions you can fallback to the old legacy
ones.
NOTE: There is no support for moving saved running machine states
across major updates of virtualbox. It is recommended to properly
shutdown all virtual machines before upgrading. Otherwise the saved
state can simply be discarded after the upgrade, if it's not
important to preserve it.
It should also be possible to downgrade to the legacy ports and
shutdown the machine properly from the saved state and then upgrade
back again.
Fix the executable wrapper to properly check its installation directory when
QT4 option is disabled.
Reported by: raul@b2n.org, abi@abinet.ru
Submitted by: gpalmer (initial patch)
- Reduce diff from Linux OpenGL support. Note we do not have to manually
turn off AIGLX any more.
- Do not install vboxvideo.ko when OPENGL is disabled. It is only required
for OpenGL support.
- Install vboxvideo.ko.symbols when both DEBUG and OPENGL are enabled.
- Do not try to load vboxvideo.ko if it does not exist.
Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it. Bump PORTREVISION on their dependent
ports except the ones that depend on these:
audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt
In these cases the same trick as in the recent gettext update is used.
(Only the first 15 lines of the commit message are shown above )
Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.
Part II, Bump PORTREVISIONs.
PR: 192025
Tested by: antoine (-exp runs)
Approved by: portmgr (implicit)
Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. Categories D-F.
CR: D196
Approved by: portmgr (bapt)
- Fix plist when both PYTHON and WEBSERVICE options are disabled. [1]
- Build and install correctly when DEBUG option is enabled. [2]
Reported by: Mike Jakubik <mike.jakubik@intertainservices.com> [1]
PR: ports/190227 [1]
Reported by: Ron Thomas <ron@vopenhouse.ca> [2]
Tested by: Ron Thomas <ron@vopenhouse.ca> [2]
Remove cruft from r350637. The patches requiring the hack was removed in
the previous commit (r354896) because the problem was fixed in 4.3.12:
https://www.virtualbox.org/changeset/50940/vbox
- Fix dependencies. devel/qt4-linguist is not needed at run-time. [1]
- Fix VPX option to actually enable video capture for FreeBSD. [2]
PR: ports/189417 [1]
PR: ports/189430 [2]
- Update to 4.3.10.
- Build with base C/C++ compiler, i.e., clang on 10.0+, as much as we can
to remove GCC run-time dependency and to reduce possible C++ ABI conflicts.
- Remove devel/dev86 from BUILD_DEPENDS and devel/bcc from CONFLICTS. It
has not been used for very long time.
- Remove devel/yasm from BUILD_DEPENDS for kernel module. It is actually
unnecessary for building kmod.
- Update to 4.2.22
- Remove 3D crOpenGl patches that are already included in the new release
- Convert USE_PYDISTUTILS=easy_install to USE_PYDISTUTILS=yes
- Add patch to fix building with new gsoap [1]
- Add direct dependency on qt4-opengl [2]
PR: ports/185579 [2]
Security: CVE-2013-5892
Submitted by: Jung-uk Kim <jkim@FreeBSD.org> [1]
Jimmy Olgeni <olgeni@FreeBSD.org> [2]
- Disable stripping away RPATH on FreeBSD for Hardened-R3 binaries.
This fixes the remaining compat9x problems because the virtualbox
buildsystem did remove our RPATH on some binaries if hardening is
enabled. The hardening is a collection of additional safety checks
for all virtualbox suid binaries and is always enabled.
Reported by: many FreeBSD 10 users
- Properly add $_GCC_RUNTIME to RPATH because that variable is evaluated
after bsd.port.post.mk so it's hard to test for it.
This fixes various issues that look like these ...
VirtualBox: Error -610 in supR3HardenedMainInitRuntime!
VirtualBox: dlopen("/usr/local/lib/virtualbox/VBoxRT.so",) failed:
/usr/local/lib/compat/libstdc++.so.6: version GLIBCXX_3.4.15 required
by /usr/local/lib/virtualbox/VBoxRT.so not found
Type Manifest File: /root/.VirtualBox/xpti.dat
nsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: autoregistering succeeded
VBoxManage: error: Failed to create the VirtualBox object!
VBoxManage: error: Code NS_ERROR_ABORT (0x80004004) - Operation aborted
(extended info not available)
VBoxManage: error: Most likely, the VirtualBox COM server is not running or
failed to start.
PR: ports/182468
PR: ports/183085
Submitted by: bapt
- Add misc/compat9x port as conflicting because it causes the wrong
libstdc++.so.6
to be found by rtld. In fact vbox links to libstdc++.so.6 from lang/gcc46
because of
USE_GCC=yes but we have another shared object with the same shlib version in
compat9x
which is incompatible.
VirtualBox: Error -610 in supR3HardenedMainInitRuntime!
VirtualBox: dlopen("/usr/local/lib/virtualbox/VBoxRT.so",) failed:
/usr/local/lib/compat/libstdc++.so.6: version GLIBCXX_3.4.15 required
by /usr/local/lib/virtualbox/VBoxRT.so not found
PR: ports/182468
Reported by: various FreeBSD 10 users
- Update to 4.2.20 [1]
- Add $_GCC_RUNTIME to vbox runpath when building with gcc from ports [2]
- Add vboxwatchdog rc.d script
- Fix building with gcc 4.6 from ports and remove FreeBSD specific
-mno-align-long-strings
- Remove checks for EoL FreeBSD versions
- Support staging
- Convert LIB_DEPENDS to new shlib format
- Adopt OPTIONS_SUB and new OPTION_CONFIGURE_ON|OFF
PR: ports/182468 [2]
Submitted by: Mikhail Tsatsenko [1]
- Fix calls of vm_map_find() after r255426 broke it and added
a mmap flag.
PR: ports/181971,
ports/182121
Submitted by: Lawrence Stewart <lstewart@FreeBSD.org>,
Dan McGregor <dan.mcgregor@usask.ca>
- Revert VNC IPv6 patch because it causes an incompatibility.
Per default the VNC ports are stored in "TCP/Ports" but with
that change "VNCAddress4", "VNCPort4", "VNCAddress6" and
"VNCPort6" are used which breaks phpvirtualbox and also
confused VBoxManage/VBoxHeadless.
Reported by: VVD
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>
Approved by: portmgr (bapt, implicit)
- Make ports use the libc provided iconv implementation on 10-CURRENT
after r254273
- Fix a bunch of ports to properly work after this
- Mark converters/libiconv as IGNORE for systems with iconv in libc
Reviewed by: bapt
Approved by: portmgr (bapt)
Discussed with: bapt, bsam (who both contributed ideas and code)
- Changing RAM for a VM was broken in the GUI because there was no
implementation for FreeBSD that could calculate available RAM.
PR: ports/180086
Submitted by: Martin Birgmeier <Martin.Birgmeier@aon.at>
- Update to 4.2.14
- Fix VLAN trunking support in vboxnetflt [1]
- Fix panic in kmod when VIMAGE is disabled in the kernel and port [2]
- Enable IPv6 support for VNC per default to be able to set the VRDE properties
VNCPort4 and VNCPort6 [3]
- Pet portlint (WWW, Created by lines)
This update was mainly done by Mikhail Tsatsenko.
Submitted by: Landon J Fuller <landonf at plausible.coop> [1],
Gleb Kurtsou <gleb@freebsd.org> [2],
Stefan Bethke <stb@FreeBSD.org> [3]
- Update to 4.2.12
- Add missing patch to additions to fix building after r248084
which renamed VM_OBJECT_LOCK() to VM_OBJECT_WLOCK(). The patch
was already included in the kmod port but additions also need
it.
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
Set KMODDIR to /boot/modules, since it is always defined to
/boot/kernel otherwise.
PR: ports/175684, ports/176288 (related to)
Prodded by: Nikolai Lifanov <lifanov@mail.lifanov.com>
Approved by: vbox (maintainer timeout, nearly 2 months)
- Update to 4.2.6
- Remove custom FreeBSD compiler flags that are only supported by our old
base GCC 4.2 [1]
- Fix building with ports GCC 4.6 [1]
- Fix build on 10-CURRENT after removal of vm_page_lock_queues() in r242941 [2]
- Improve waits for periods shorter than a single tick [1]
- Fix dependency check when building with custom KMODDIR [3]
- Fix recording with OSS Audio backend to record at a proper volume [4]
- Initialize host-only interfaces at boot time so that other scripts and
daemons can properly use them [2]
- Fix build if $ENV not ash-compatible [5]
- Fix ich9 bios to correctly configure pci bridge1 and pci bridge2 [6]
- Add VLAN trunking support to vboxnetflt [7]
PR: ports/171730 [1], ports/167521 [5]
Submitted by: Andriy Gapon <avg@FreeBSD.org> [1]
Submitted by: Ed Maste <emaste@FreeBSD.org> [2]
Submitted by: Kurt Jaeger <fbsd-ports@opsec.eu> [5]
Submitted by: Gustau Perez i Querol <gperez@entel.upc.edu> [6]
Submitted by: Landon J Fuller <landonf at plausible.coop> [7]
Reported by: Daniel Braniss <danny@cs.huji.ac.il> [3]
Obtained from: https://www.virtualbox.org/ticket/10695 [4]
See: http://article.gmane.org/gmane.os.freebsd.devel.emulation/10438 [6]
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.
- Update to 4.1.20
- Remove VNC IPv6 patch because it has been fixed upstream
- Pet portlint once again (LICENSE section)
Submitted by: Mikhail Tsatsenko <m.tsatsenko@gmail.com>
- re-order, include bsd.port.pre.mk so SRC_BASE is defined before referenced
- pet portlint on placement of LICENSE
PR: ports/169223
Submitted by: jgh@
Approved by: maintainer timeout ( 14 days )
- Also assign IPv6 TCP port otherwise it's using the default 5900
port for IPv6 and allows only to start one VM that uses VNC.
rfbListenOnTCP6Port: error in bind IPv6 socket: Address already in use
Submitted by: Gary Palmer <gpalmer@freebsd.org>
Tested by: Steve Tuts <yiz5hwi@gmail.com>
- Update to 4.1.14
- Remove debugging fprintf in MachineImpl.cpp to fix build with GCC 4.6 [1]
- Add support for VLAN interfaces to NetIfList() [2]
- Add support for VIMAGE to VBoxNetAdp [3]
- Fix a kernel crash on FreeBSD 10-CURRENT hosts with VIMAGE enabled when a VM
is powered off [3]
Submitted by: Andriy Gapon <avg at FreeBSD.org> [1]
Landon J Fuller <landonf at plausible dot coop> [2]
Mikolaj Golub <trociny at freebsd.org> [3]
Sponsored by: Plausible Labs Cooperative, Inc [2]
- Fix compile error on recent current
include/iprt/stdint.h:162: error: 'intptr_t' has a previous declaration as
'typedef long int intptr_t'
/usr/include/sys/_stdint.h:78: error: conflicting declaration 'typedef uintptr_t
uintptr_t'
include/iprt/stdint.h:165: error: 'uintptr_t' has a previous declaration as
'typedef long unsigned int uintptr_t'
kBuild: Compiling tstAsmStructsasm - src/VBox/VMM/testcase/tstAsmStructsAsm.asm
kBuild: Compiling tstGlobalConfig - src/VBox/VMM/testcase/tstGlobalConfig.cpp
kmk: * [out/freebsd.amd64/release/obj/tstVMStructRC/tstVMStructRC.o]
Submitted by: Tijl Coosemans <tijl@freebsd.org>
Feature safe: yes
- 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
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.