aboutsummaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose-legacy/files
Commit message (Collapse)AuthorAgeFilesLines
* emulators/virtualbox-ose*: Improve rc scriptVladimir Druzenko2025-06-211-3/+3
| | | | | | | - 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.
* emulators/virtualbox-ose{,-legacy}: Fix patch for build with libxml2 2.12.6+Vladimir Druzenko2025-06-041-1/+1
| | | | | | | | 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+)
* emulators/virtualbox-ose{,-nox11}{,-legacy}: Fix build with libxml2 2.12.6+Vladimir Druzenko2025-05-221-0/+53
| | | | | | Patch ported from VirtualBox 7.x. PR: 279958
* emulators/virtualbox-ose-additions{,-legacy}: Fix build on 15-CURRENT ↵Takahiro Kurosawa2025-05-121-4/+9
| | | | | | | OSVERSION>=1500038 PR: 286718 MFH: 2025Q2
* emulators/virtualbox-ose-legacy: Backported patch from ↵Vladimir Druzenko2025-05-111-0/+47
| | | | | | | | emulators/virtualbox-ose improve VGA/SVGA emulation While here sort options. MFH: 2025Q2
* emulators/virtualbox-ose{,-70,-legacy}: Fix release memory on VM exit on ↵Mark Johnston2025-05-101-2/+11
| | | | | | | 15-CURRENT PR: 286507 MFH: 2025Q2
* emulators/virtualbox-ose-kmod{,-70,-legacy}: Fix the build after FreeBSD ↵Mark Johnston2025-04-242-31/+55
| | | | | | | | | | 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
* emulators/virtualbox-ose{,-legacy}: Merge patches and unify patch names for ↵Vladimir Druzenko2025-02-011-0/+0
| | | | src/VBox/Devices/PC/ipxe/Makefile.kmk
* emulators/virtualbox-ose{,-nox11}-legacy: Unbreak build with PYTHON option ↵Vladimir Druzenko2025-01-191-0/+11
| | | | | | with python 3.10+ MFH: 2025Q1
* emulators/virtualbox-ose{,-additions}{,-nox11}-legacy: Fix vboxvfs bugstakahiro.kurosawa2025-01-073-105/+149
| | | | | | | | | | 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
* emulators/virtualbox-ose{,-additions}-legacy: Unification of patches with ↵Vladimir Druzenko2025-01-073-4/+10
| | | | | | | | | ports emulators/virtualbox-ose{,-additions} Replace REINPLACE_CMD in Makefiles with patches in files/*. PR: 272991 279257 MFH: 2025Q1
* emulators/virtualbox-ose{,-nox11}{,-legacy}: Fix listen VNC on TCP port on ↵Vladimir Druzenko2025-01-051-0/+67
| | | | | | | | | | | | | | | | | | 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
* emulators/virtualbox-ose-kmod-legacy: Fix build error since 1500027 (struct ↵Vladimir Druzenko2024-12-252-26/+326
| | | | | | | | | ifnet is now hidden) Based on patch from wulf. PR: 282780 Tested by: groenveld@acm.org
* emulators/virtualbox-ose-kmod-legacy: Catch up with FreeBSD KPI changesMark Johnston2024-07-291-8/+27
| | | | | | | After 1500021, kick_proc0() doesn't exist. PR: 280495 Approved by: vvd (maintainer)
* emulators/virtualbox-ose{,-nox11}-legacy: fix USB passthrough fails with: ↵Igor Malyshev2024-07-201-0/+11
| | | | | | | | | | | | | | | | | | | | | | | 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
* emulators/virtualbox-ose-legacy: fix build ↵Vladimir Druzenko2024-07-142-2/+4
| | | | | | | | | | | | emulators/virtualbox-ose-additions{,-nox11}-legacy on main: error: unknown type name 'uma_zone_t' In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_prov.c:42: /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/freebsd/vboxvfs/vboxvfs.h:242:2: error: unknown type name 'uma_zone_t' 242 | uma_zone_t sf_node_pool; | ^ Reported by: pkg-fallout MFH: 2024Q3
* emulators/virtualbox-ose{,-nox11}-legacy: add vboxinit start/stop script for ↵Vladimir Druzenko2024-07-091-0/+91
| | | | | | | | | | | | | | | | 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
* emulators/virtualbox-ose{,-nox11,-kmod,-additions,-additions-nox11}-legacy: ↵Vladimir Druzenko2024-06-282-0/+311
| | | | | | | | | | | | | | fix build with llvm15+, fix run with PAE on i386 * Fix build with llvm15+ from ports and from base: - ISO C++17 does not allow 'register' storage class specifier; - require -fPIC on i386. * Fix load kernel modules on host and guest i386 if kernel compiled with PAE option: add non-default option PAE to ports. Based on patches from mi@. PR: 279257 224616 Approved by: vbox (maintainer, timeout 1 month and 6 years)
* emulators/virtualbox-ose{,-legacy}: sort out optionsVladimir Druzenko2023-06-281-8/+18
| | | | | | | | | | | Sort out options: order (portlint), convert to OPTION_*. Add entry in "Troubleshooting" about "VERR_NO_MEMORY". Force devel/llvm15 for emulators/virtualbox-ose-legacy on recent 14 with llvm16 in base. PR: 200764 252227 Approved by: arrowd (mentor) Differential Revision: https://reviews.freebsd.org/D40751
* emulators/virtualbox-ose[-legacy]: VM VirtualBox Manager: Help menu: unable ↵Vladimir Druzenko2023-05-181-5/+5
| | | | | | | | | | to open external browser While here sort out LOCALBASE, PREFIX, VBOX_DIR, VBOX_ETC PR: 266778 Approved by: arrowd (mentor) Differential Revision: https://reviews.freebsd.org/D40119
* emulators/virtualbox-ose-additions*: Fix patch and build (for non-legacy)Li-Wen Hsu2022-12-281-1/+1
| | | | | PR: 268603 Fixes: c35a71080172 emulators/virtualbox-ose: fix builds on CURRENT
* emulators/virtualbox-ose: fix builds on CURRENTMateusz Guzik2022-12-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | SAVENAME was retired by D36542 https://reviews.freebsd.org/D36542 Bug 267079 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267079 involves failures to build four ports, for VirtualBox guest additions, on FreeBSD-CURRENT: emulators/virtualbox-ose-additions emulators/virtualbox-ose-additions-legacy emulators/virtualbox-ose-additions-nox11 emulators/virtualbox-ose-additions-nox11-legacy Fix bug 267079 for CURRENT 1400068 and greater by hiding the use of SAVENAME in patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c for: emulators/virtualbox-ose emulators/virtualbox-ose-legacy PR: : 267079 Author: : mjg Approved by: : ports-committers (lwhsu), khng Differential revision: https://reviews.freebsd.org/D37074
* emulators/virtualbox-ose-additions-legacy: Remove devclass from ↵John Baldwin2022-08-222-3/+33
| | | | | | | DRIVER_MODULE on recent main. Reviewed by: madpilot Differential Revision: https://reviews.freebsd.org/D35953
* emulators/virtualbox-ose-kmod*: Tie to a specific release branch.John Baldwin2022-05-101-11/+21
| | | | | | | | | | | | | | 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
* emulators/virtualbox-ose-kmod-legacy: Fix kernel panic in DHCP bridge modeNeel Chauhan2022-03-191-15/+25
| | | | PR: 262656
* emulators/virtualbox-ose-additions(-legacy): Fix build on recent headGuido Falsi2022-02-051-3/+11
| | | | | | | | On recent head, after src commit 66c5fbca7719dc, the insmntque1(9) function arguments changed. Adapt virtualbox code, following what has been done in base with other filesystems migrating to insmntque(9).
* emulators/virtualbox-ose-additions-legacy: Import improvements from non ↵Guido Falsi2021-10-171-15/+10
| | | | | | | | | | | | | | | | | | | | | | legacy port Import changes from commit 1b2394551c0385 to legacy port: In the virtualbox virtual filesystem code we ship as a patch some code in an else block is commented out. This produces a code path in which a pointer variable is dereferenced in an unassigned state, causing random crashes. Lacking a better fix, give a default value of NULL to the pointer, which at least avoids the random pointer dereference issue. PR: 255386 Alsso import fix for building on recent head from cec55f41e10f13: Fix build after head commit b4a58fbf640409a1 (vfs: remove cn_thread) MFH: 2021Q4
* emulators/virtualbox-ose(-legacy): Make VirtualBox limit AIO requestsTom Rushworth2021-09-041-0/+59
| | | | | | | | | Import patch to teach VirtualBox to check availability of AIO resources before trying to allocate more. This prevents crashes when using AIO in VirtualBox. PR: 168298
* emulators/virtualbox-ose-legacy: Fix additions build on recent HEADGuido Falsi2021-06-301-2/+6
| | | | | | | | | | Apply same fix used for the main port in commit ef04eff33cf626: Src HEAD commit 6d3e78ad6c11 vfs_quotactl function signature, adapt virtualbox code to be able to compile there too. Reported by: koobs, dim MFH: 2021Q2
* emulators/virtualbox-ose-kmod-legacy: Fix hang at module loading timeGuido Falsi2021-06-142-277/+288
| | | | | | | | | | | | | | | | | | | | | | | 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. Backport fix to legacy port. WHile here also merge a double patch for the smae file. PR: 256505 MFH: 2021Q2
* all: Remove all other $FreeBSD keywords.Mathieu Arnold2021-04-063-6/+0
|
* Add patch to fix OSS audio to virtualbox-ose-legacyGuido Falsi2021-03-141-0/+32
| | | | | | | | PR: 237472 Submitted by: Martin Birgmeier <d8zNeCFG@aon.at> Notes: svn path=/head/; revision=568418
* - Update VirtualBox OSE to 6.1.18Guido Falsi2021-03-09116-0/+8650
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 Notes: svn path=/head/; revision=567950
* Remove virtualbox-*-legacy due to lack of stagingJohn Marino2014-09-0919-652/+0
| | | | | | | | | The virtualbox-ose-kmod-legacy port is staged, but it has no purpose without the unstaged virtualbox-ose-legacy port, so both ports have been removed at the same time. Notes: svn path=/head/; revision=367769
* Remove unused patches.Jung-uk Kim2014-03-203-120/+0
| | | | Notes: svn path=/head/; revision=348713
* Fix build after re-appearance of converters/libiconv on 10+ (r341775).Jung-uk Kim2014-02-211-3/+15
| | | | | | | | Obtained from: svn.redports.org/virtualbox PR: ports/186847 Notes: svn path=/head/; revision=345546
* - Update to 4.2.22Bernhard Froehlich2014-01-161-0/+42
| | | | | | | | | | | | | | - 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] Notes: svn path=/head/; revision=339932
* - Disable stripping away RPATH on FreeBSD for Hardened-R3 binaries.Bernhard Froehlich2013-12-171-7/+16
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=336773
* - Update to virtualbox-ose 4.2.20_1Bernhard Froehlich2013-12-1321-415/+404
| | | | | | | | | - 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. Notes: svn path=/head/; revision=336332
* - Update to 4.1.24Bernhard Froehlich2013-01-0318-123/+444
| | | | | | | | | - Fix building with libxslt newer than 1.1.26 Obtained from: https://www.virtualbox.org/ticket/10940 Notes: svn path=/head/; revision=309875
* - Add missing VNC IPv6 patchBernhard Froehlich2012-08-041-0/+13
| | | | | | | | | - Convert to optionsng [1] Submitted by: bapt [1] Notes: svn path=/head/; revision=302006
* - Unbreak by disabling broken VMM testcase. It seems to be an ↵Bernhard Froehlich2012-03-091-0/+11
| | | | | | | | | | incompatibility with recently updated yasm. Submitted by: pointyhat (via pav) Feature safe: yes Notes: svn path=/head/; revision=293027
* - Update to 4.0.16Bernhard Froehlich2012-02-218-117/+40
| | | | | | | | | - Fix lib32 checks to use /usr/lib32/libc.so Obtained from: redports.org/~virtualbox/ Notes: svn path=/head/; revision=291990
* In the rc.d scripts, change assignments to rcvar to use theDoug Barton2012-01-142-2/+2
| | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=289156
* - Fix build on 9-CURRENT with latest CAM changes [1]Bernhard Froehlich2011-07-012-3/+49
| | | | | | | | | | | - 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] Notes: svn path=/head/; revision=276785
* - Introduce -legacy portsBernhard Froehlich2011-05-222-0/+174
| | | | | | | | | | | | | | | | | | | | - 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] Notes: svn path=/head/; revision=274430
* - Enable createrawvmdk -relative under FreeBSDBernhard Froehlich2011-03-171-0/+48
| | | | | | | | | | - Bump PORTREVISION PR: ports/155236 Submitted by: Dmitry Pryanishnikov <lynx.ripe@gmail.com> Notes: svn path=/head/; revision=271112
* - Add workaround for regression in acpica 20101015 [1]Bernhard Froehlich2010-11-034-28/+32
| | | | | | | | | | | | | | | | | - Remove old patches not needed for newer VirtualBox versions anymore - Fix alignment problem in VBoxHeadless on i386 when DEBUG option is enabled [2] - Bump PORTREVISION PR: ports/144959 [2] Submitted by: Alexander Eichner [2], Anthony Jenkins <ajenkins at vtilt dot com> [2] Reported by: Michael Butler <imb at protected-networks dot net> [1], DomiX (irc on freenode) [2], Monty Hall <kungfu_disciple at sbcglobal dot net> [2], many others [2] Notes: svn path=/head/; revision=263977
* - Update to 3.2.10Beat Gaetzi2010-10-152-28/+3
| | | | Notes: svn path=/head/; revision=263023
* - Add 2D acceleration support for Windows GuestsBernhard Froehlich2010-09-301-0/+19
| | | | | | | | | | - Bump PORTREVISION Submitted by: scf Approved by: beat (co-mentor) Notes: svn path=/head/; revision=262166