summaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose (follow)
Commit message (Collapse)AuthorAgeFilesLines
* emulators/virtualbox-ose: Put vbox/networks.conf in the right placeMichael Gmelin2022-03-114-3/+42
| | | | | | | | | | | | | | | | | | Since virtualbox-ose 6.1.26 a new networks.conf file has been introduced and the software looks for it in /etc/vbox. This commit introduces a patch to make virtualbox look for it in PREFIX/etc/vbox. To help users with configurations already using this file in /etc/vbox notes to UPDATING, pkg-message and to the main virtualbox executable script have been added. Also adding some comments to the Makefile to note that QA warning due to reinplace being run but not having changed any file are expected due to the design of this port Makefile. PR: 261522
* emulators/virtualbox-ose(-legacy): Take advantage of ccacheDerek Schrock2022-02-091-3/+3
| | | | | | | This patch teaches the virtualbox ports to take advantage of ccache if the ports are configured to use it. PR: 254616
* 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*: Update to 6.1.32Guido Falsi2022-01-204-10/+30
| | | | Changelog: https://www.virtualbox.org/wiki/Changelog-6.1#v32
* */*: Remove redundant '-[0-9]*' from CONFLICTS_INSTALLStefan Eßer2021-11-231-5/+5
| | | | | | | | | The conflict checks compare the patterns first against the package names without version (as reported by "pkg query "%n"), then - if there was no match - agsinst the full package names including the version (as reported by "pkg query "%n-%v"). Approved by: portmgr (blanket)
* emulators/virtualbox-ose: Update to 6.1.30Guido Falsi2021-11-232-7/+6
|
* emulators/virtualbox-ose: Fix unintentional changeGuido Falsi2021-11-231-12/+12
| | | | | | | | | AAn unintentional change slipped in a previous commit. Revert that part. No change in the produced packages. Fixes: 32c43c50524246
* emulators/virtualbox-ose*: Fix mistake in patchGuido Falsi2021-10-252-25/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | In the commit to update virtualbox-ose to 6.1.28 I made a one line mistake when reapplying a patch which failed to apply as is. In the patch files/patch-src_VBox_HostDrivers_Support_freebsd_SUPDrv-freebsd.c I did not replay a part removing the line: rc = copyout(pHdr, pvUser, cbOut); which was rewriting some data that it should not. The correct code was anyway present after this leftover statement. This error made virtualbox log a lot of warnings about Bad CPU context like this: vboxdrv: Bad CPU context error at line 373 in SUPDrv-freebsd.c: ulCmd=0x2000568a: 0x282->0x287! These seem to be unharmful, but anyway indicate a problem that this commit fixes. Reported by: Kevin Oberman <rkoberman@gmail.com> (via mailing list) Fixes: a3db7da59f9498
* emulators/virtualbox-ose: Update description and message filesGraham Perrin2021-10-221-5/+8
| | | | | | | | | | | | - Add updated information about supported versions, installation commands and mitigation for a known issue. - Removed reference to the wiki page. Reviewed on github: https://github.com/freebsd/freebsd-ports/pull/115 PR: 254412
* emulators/virtualbox-ose*: Update to 6.1.28Guido Falsi2021-10-207-70/+69
| | | | Changelog: https://www.virtualbox.org/wiki/Changelog
* emulators/virtualbox-ose-additons: Fix build on recent headGuido Falsi2021-10-171-1/+5
| | | | | | Fix build after head commit b4a58fbf640409a1 (vfs: remove cn_thread) MFH: 2021Q4
* INSTALLS_ICONS: retire the macro and rework the related dependenciesBaptiste Daroussin2021-10-101-1/+0
| | | | | | | While here, make sure gtk-update-icon-cache is only on run dependency where added as a dependency Enforce gtk3 to depend on gtk-update-icon-cache (previously it was inheriting the dependency)
* multimedia/libvpx: update 1.11.0Jan Beich2021-10-091-1/+1
| | | | | Changes: https://chromium.googlesource.com/webm/libvpx/+log/v1.10.0..v1.11.0 Reported by: portscout, Repology
* emulators/virtualbox-ose-additions: Assign default value to pointerMartin Ilavsky2021-09-111-2/+2
| | | | | | | | | | | | 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
* emulators/virtualbox-ose(-legacy): Make VirtualBox limit AIO requestsTom Rushworth2021-09-042-1/+60
| | | | | | | | | 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: don't hardcode compiler versionMaxim Sobolev2021-09-041-1/+1
| | | | PR: 257921
* emulators/virtualbox-ose: Avoid overwriting slave ports OPTIONS_EXCLUDEGuido Falsi2021-09-031-1/+2
| | | | | | | | | | | | | | | | | To disable the PULSEAUDIO option I used the OPTIONS_EXCLUDE variable in commit 416b34d584e268. Turns out this overwrites OPTIONS_EXCLUDE from slave ports. I'm fixing this by only adding the PULSEAUDIO exclusion to the existing EXCLUDE variable if defined. NOTE: While it would be enough to bump PORTREVISION in the slave port, I'm bumping PORTREVISION on master port to avoid adding variables that are easily forgotten in future changes and could cause even more breakage. PR: 258256 Pointy Hat: myself
* emulators/virtualbox-ose: Update to 6.1.26Guido Falsi2021-08-136-74/+45
| | | | | | | | | | | | | | | | | | | | | | This new version has a regression in the pulseaudio host audio driver. If enabled any VMs configured to use it fails to start. Since no fix has been found the PULSEAUDIO option is forcibly disabled. If you have any VM configured to use pulseaudio for audio input/output, please reconfigure them to use a different driver. Upstream ticket: https://www.virtualbox.org/ticket/20484 Other changes: - Remove old patches that don't apply, the audio system has been reworked upstream and the behavior of these patches is included in the new code - Add upgrading pkg-message note about the PULSEAUDIO option issue described above Reviewed by: koobs Differential Revision: https://reviews.freebsd.org/D31264
* emulators/virtualbox-ose: Add back missing extra patch fileGuido Falsi2021-08-111-0/+11
| | | | | | | | | Looks like this patch was removed in commit df5c241ed2d1 It is required to build with the DEBUG optioni (not default). PR: 257777 Reported by: Mario Felicioni <marietto2008@gmail.com>
* graphics/mesa-libs: Bump reverse deps for libglvndKevin Bowling2021-06-221-0/+1
| | | | | | | | | | Per discussion with bapt on helping pkg handle the changing of these deps and avoiding impossible upgrade senarios. PR: 246767 Reviewed by: manu, bapt Approved by: x11 Differential Revision: https://reviews.freebsd.org/D30824
* emulators/virtualbox-ose-kmod: Fix hang at module loading timeGuido Falsi2021-06-141-21/+38
| | | | | | | | | | | | | | | | | | | | 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. PR: 256505 Tested by: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> MFH: 2021Q2 Differential Revision: https://reviews.freebsd.org/D30722
* emulators/virtualbox-ose: Fix additions build on recent HEADGuido Falsi2021-06-041-3/+7
| | | | | | | Src HEAD commit 6d3e78ad6c11 vfs_quotactl function signature, adapt virtualbox code to be able to compile there too. MFH: 2021Q2
* *: Three ports missed in the RESTRICTED removal.Mathieu Arnold2021-05-061-2/+5
|
* emulators/virtualbox-ose: Update to 6.1.22Guido Falsi2021-05-012-6/+6
|
* emulators/virtualbox-ose: Update to 6.1.20Guido Falsi2021-04-237-47/+35
| | | | | | | | | | - Also update related kmod and additions ports - In additions, use INSTALL_LIB to install X11 modules, so binaries get stripped - Trim some `#if __FreeBSD_version` checks for unsupported FreeBSD versions from patches PR: 255301
* emulators/virtualbox-ose-additions: Fix vboxvfs panicGuido Falsi2021-04-221-1/+4
| | | | | | | | Fix panic on mount when trying to use vbox VFS after base r355790 (or git commit hash 6fa079fc3f5e). PR: 255208 MFH: 2021Q2
* emulators/virtualbox-ose: Fix build with ports provided SSL library on 11.xGuido Falsi2021-04-111-0/+13
| | | | | | | | | | | | | | | | Due to a compiler/linker command line ordering issue, VirtualBox 6 fails to compile on 11.x when a ports provided SSL library is used. Fix the order of -L options passed to the linker where the ssl library is used. Thanks to Chad Jacob Milios <milios@ccsys.com> for suggesting the correct fix. PR: 254295 Submitted by: russo@bogodyn.org MFH: 2021Q2
* all: Remove all other $FreeBSD keywords.Mathieu Arnold2021-04-063-6/+0
|
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* Reimplement patch to disable Asyncronous IO in virtualbox-ose 6 asGuido Falsi2021-03-301-2/+7
| | | | | | | an option, leaving AIO enabled by default, so no functional change in default build. Requested/Suggested by: David G Lawrence <dg@dglawrence.com>
* emulators/virtualbox-ose-kmod: Fix kernel panic on 13/14 with bridge mode by ↵Neel Chauhan2021-03-181-21/+49
| | | | | | | | | | | adding EPOCH support In r560502, I added a patch to support EPOCH to VirtualBox 5. When we upgraded to VirtualBox 6, that patch was (unintentionally) removed, making it impossible to use bridge move without this current patch. Approved by: jkim, madpilot Differential Revision: https://reviews.freebsd.org/D29319
* Remove trailing spaaces from patch.Guido Falsi2021-03-131-1/+1
|
* - Update VirtualBox OSE to 6.1.18Guido Falsi2021-03-09113-1851/+1059
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* Fix VirtualBox build on recent head and 13 after src commitGuido Falsi2021-01-261-5/+10
| | | | | | | | | | | 0659df6faddf PR: 252675 Submitted by: O. Hartmann <ohartmann@walstatt.org> Mateusz Piotrowski <0mp@FreeBSD.org> (duplicate) Reported by: se (mailing lists), others Approved by: ports-secteam (fluffy) MFH: 2020Q1
* emulators/virtualbox-ose-kmod: Fix kernel panic on 13-CURRENT with EPOCH and ↵Neel Chauhan2021-01-061-0/+34
| | | | | | | | bridge mode. Reviewed by: kp, jkim (previous version) Approved by: kp, jkim (previous version), 0mp (mentor) Differential Revision: https://reviews.freebsd.org/D26359
* Fix patch to virtualbox-ose-additions OpenGL ssupport to actuallyGuido Falsi2020-10-275-0/+199
| | | | | | | | | | | | | | | | work at runtime as much as possible. The OpenGL bits in VirtualBox 5 are an old implementation that does not play too well with what wee have in the tree now. Thesse patches simply change the funzionn prototypess in VirtualBox to match the ones from mesa so it caan compile and interface as much as possible with it. Thanks to Ronald Klop <ronald-lists@klop.ws> for testing. PR: 250315 Submitted by: rozhuk.im@gmail.com Approved by: portmgr (fixit blanket)
* Fix emulators/virtualbox-ose build after r552109.Guido Falsi2020-10-171-0/+9
| | | | | | | | | | | | VirtualBox embeds an outdated version of glext.h, causing it to fail to build due to symbols being redefined incorrectly. Import patch which forces virtualbox to append it's own include paths, thus not "obscuring" the system provided OpenGL include file. PR: 250315 Submitted by: rozhuk.im@gmail.com Approved by: portmgr (fixit blanket)
* emulators/virtualbox-ose: Turn off aio usage and make VirtualBox use generic ↵Gleb Popov2020-10-122-2/+11
| | | | | | | | | Unix implementation. This fixes instabilities on some loads involving disk IO. PR: 168298, 221294 Approved by: vbox (timeout)
* emulators/virtualbox-ose-kmod: Fix a pair of VM bugsAdriaan de Groot2020-09-243-27/+58
| | | | | | | | | | | | | | | | | | | | | | - Use vm_pager_allocate() to allocate OBJT_PHYS objects. This ensures that they're initialized properly. - Don't assume that user wiring will succeed. This had been a team effort, with multiple independent reports, a wide variety of experiments, and patches written by kib@ and refined by markj@. I'm bumping PORTREVISION and aligning the revision of both kmod and application; it's possible the application bump isn't actually needed but let's make sure they both get rebuilt with this important (because of changed kernel assumptions) fix. PR: 249326 Submitted by: kib, markj Reported by: adridg, Rainer Hurling Reviewed by: adridg Approved by: koobs (vbox) MFH: 2020Q3
* Fix crash when accessing physical CD/DVDGanael LAPLANCHE2020-09-212-1/+12
| | | | | | | PR: 248333 Reported by: mfv@bway.net Approved by: koobs (vbox) MFH: 2020Q3
* Fix emulators/virtualbox-os-additions on head after vget(9) change.Jung-uk Kim2020-08-281-1/+5
|
* Do not allow compiling C++ files for drivers with built-in functions.Jung-uk Kim2020-08-142-2/+10
| | | | This change lets us do "kldload vboxvfs.ko" (although it is still broken).
* Remove unncessary memcpy(3) and fix file system ID handling.Jung-uk Kim2020-08-131-2/+2
| | | | | | | | I removed a bzero() call to reduce compiler warnings in the previous commit (r544829). It turned out the next memcpy() call was also wrong. Just use natural assignments here not to obfuscate the code. Reported by: Martin Simmons (martin at lispworks dot com) (some time ago)
* Remove a superfluous bzero(3) call to reduce compiler warnings.Jung-uk Kim2020-08-131-3/+2
| | | | PR: 226073
* Fix building emulators/virtualbox-ose-additions on head after vaccess(9) KPIJung-uk Kim2020-08-131-2/+7
| | | | change.
* - Update VirtualBox ports to 5.2.44Guido Falsi2020-07-1950-435/+346
| | | | | | | | | | | | | | | | | | | - Adapt and regenerate patches - Reduce differences in patch-src_VBox_Devices_PC_vbox-cpuhotplug.dsl [1] Patch based on one provided by Mario Lobo <lobo@bsd.com.br>. Many thanks to people who provided ideas and suggetions in the PR and review. PR: 244212 Submitted by: Nikita Stepanov <nikitastepan0v@bk.ru> Reviewed by: kevans [1] Tested by: lwshu Approved by: ports-secteam (joneum) MFH: 2020Q3 Security: 1e7b316b-c6a8-11ea-a7d5-001999f8d30b Differential Revision: https://reviews.freebsd.org/D25496
* emulators/virtualbox-ose: UNBREAK with gsoap 2.8.103Muhammad Moinur Rahman2020-06-071-0/+2
| | | | | | | | | - gSoap 2.8.103 macro soap_socket_errno changed from: soap_socket_errno(s) -> soap_socket_errno PR: 246910 Submitted by: dereks@lifeofadishwasher.com Reported by: transitive@gmail.com
* emulators/virtualbox-ose: prepare for Qt5-5.15Tobias C. Berner2020-05-184-0/+40
|
* Fix r531689 i386 build.Cy Schubert2020-04-152-1/+12
| | | | | | | PR: 236616, 244847 Submitted by: kevans MFH: 2020Q2 (blanket: major runtime build fix) MFH-with: r531689
* emulators/virtualbox-ose: Switch build to USES= compiler:c++14-langKyle Evans2020-04-143-7/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | The runtime breakage that started occurring after the LLVM 7 -> 8 transition has been diagnosed with help from cem@, and the attached patch fixes it. The problem ended up being that tail-call optimization was being applied to this function (which should probably be written in assembly instead) and moving the tail-call to later on after some stack manipulations. The problem with this is that this particular function uses alloca() to carefully craft a stack that it's expecting to be used for the function it's calling at the end. The new patch fixes this using a technique that was committed later on in upstream changeset 75061 to address a similar failure with GCC sanitizers enabled. The FreeBSD-specific component of this patch is using the different stack setup if __clang__ is defined as well. The extra hunk in the Config patch has been added because the VirtualBox build system cannot cope with LLVM version numbers in the way it's expecting. Hardcode it to GCC 4.2 for FreeBSD, which is what the clang __GNU* macros describe, to fix build breakage that happens with newer LLVM as the build system decides our LLVM is an even older and more broken version of GCC with a broken regparm. PR: 236616, 244847 Approved by: koobs (mentor) MFH: 2020Q2 (blanket: major runtime build fix)