aboutsummaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose
Commit message (Collapse)AuthorAgeFilesLines
* 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> Notes: svn path=/head/; revision=569604
* 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 Notes: svn path=/head/; revision=568745
* Remove trailing spaaces from patch.Guido Falsi2021-03-131-1/+1
| | | | Notes: svn path=/head/; revision=568253
* - 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 Notes: svn path=/head/; revision=567950
* 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 Notes: svn path=/head/; revision=562683
* 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 Notes: svn path=/head/; revision=560502
* 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) Notes: svn path=/head/; revision=553427
* 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) Notes: svn path=/head/; revision=552571
* 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) Notes: svn path=/head/; revision=552134
* 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 Notes: svn path=/head/; revision=549922
* 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 Notes: svn path=/head/; revision=549433
* Fix emulators/virtualbox-os-additions on head after vget(9) change.Jung-uk Kim2020-08-281-1/+5
| | | | Notes: svn path=/head/; revision=546807
* 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). Notes: svn path=/head/; revision=544898
* 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) Notes: svn path=/head/; revision=544846
* Remove a superfluous bzero(3) call to reduce compiler warnings.Jung-uk Kim2020-08-131-3/+2
| | | | | | | PR: 226073 Notes: svn path=/head/; revision=544829
* Fix building emulators/virtualbox-ose-additions on head after vaccess(9) KPIJung-uk Kim2020-08-131-2/+7
| | | | | | | change. Notes: svn path=/head/; revision=544827
* - 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 Notes: svn path=/head/; revision=542551
* 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 Notes: svn path=/head/; revision=538153
* emulators/virtualbox-ose: prepare for Qt5-5.15Tobias C. Berner2020-05-184-0/+40
| | | | Notes: svn path=/head/; revision=535745
* 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 Notes: svn path=/head/; revision=531736
* 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) Notes: svn path=/head/; revision=531689
* - Fix runtime for gcc rpath. [1]Bryan Drewery2020-03-312-2/+14
| | | | | | | | | | | | | | This is a regression of something that was working in the past. Please keep the _GCC_RUNTIME handling even if removing USE_GCC as it may come back again in the future and be forgotten. - Fix build on 11.3 with ports ssl. [2] PR: 245048 [1] PR: 243315 [2] Submitted by: John Hein <jcfyecrayz at liamekaens.com> [2] Notes: svn path=/head/; revision=529993
* emulators/virtualbox-ose: use contemporary GCC instead of old llvmKyle Evans2020-03-125-53/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bug in PR 236616 resulted in virtualbox getting pinned to llvm7. This is less than ideal, and in-fact has been broken by improvements to machine/atomic.h on x86 that require a more modern compiler. Switch the build to USE_GCC= any. The patches that were previously applied if COMPILER_TYPE == clang are actually needed by newer GCCs as well, so make those standard patches instead, folding the Config.kmk patches together. We should put some effort into testing llvm10 and working out why llvm breaks it, but fixing the build is more important at the moment. Q/A: * portlint (pre-existing issues; none in current patch) * testport (-CURRENT, amd64) * run testing by madpilot@ PR: 244603 Approved by: koobs (mentor), bapt (mentor) Approved by: portmgr (blanket: build fix) MFH: 2020Q1 (blanket: build fix) Differential Revision: https://reviews.freebsd.org/D23967 Notes: svn path=/head/; revision=528258
* Update xorg x11 servers to 1.20.7Niclas Zeising2020-02-202-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update xorg x11 servers to 1.20.7. This updates x11-servers/xorg-server, xephyr, xorg-dmx, xorg-nestserver, xorg-vbserver and xwayland. Enable the UDEV backend by default, instead of the DEVD backend, for autoconfiguration of input devices on FreeBSD 12 and later. FreeBSD 11 lacks the needed support in base and will keep on using the DEVD backend. Support for the HAL backend is dropped completely, it has been deprecated for a long time. Update and improve the DEVD backend. Add a pkg message about sysctl configuration that might be needed when using UDEV. Use the upstream fix for glamour issues. Use evdev xkb rules by default in xwayland [2] Add x11-drivers/xf86-input-libinput to the list installed by default by x11-drivers/xorg-drivers. Fix net/tigervnc-server and emulators/virtualbox-ose Bump portrevision of all x11 drivers, as well as other ports dependent on xorg-server. This represents work by many people over a long period. These include wulf, ak, dumbbell, hselasky pete AT nomadlogic DOT org, jbeich, manu, myself and possibly others (I tried to look through history, but might have missed people. If so, I am sorry.) PR: 196678 [1], 244129 [2] Submitted by: hselasky, wulf [1], jbeich [2] Obtained from: https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xserver-1.20 (in part) Notes: svn path=/head/; revision=526589
* Build emulators/virtualbox-ose-additions on head after r355537.Jung-uk Kim2019-12-121-200/+169
| | | | Notes: svn path=/head/; revision=519953
* Add USES=xorg USES=gl, ports categories eNiclas Zeising2019-11-051-1/+1
| | | | | | | | Add USES=xorg, USES=gl and in a few cases USES=gnome to ports in categories starting with 'e'. Notes: svn path=/head/; revision=516802
* Fix build with the recent iasl(8) on head after r353764.Jung-uk Kim2019-10-221-0/+96
| | | | | | | Note this error was added in ACPICA 20190816. Notes: svn path=/head/; revision=515217
* Update to 5.2.34.Jung-uk Kim2019-10-172-10/+9
| | | | | | | https://www.virtualbox.org/wiki/Changelog-5.2#v34 Notes: svn path=/head/; revision=514643
* Qt5 update to 5.13.0Tobias C. Berner2019-10-011-0/+16
| | | | | | | | | | | | For new features, check: https://wiki.qt.io/New_Features_in_Qt_5.13 Thanks to adridg who helped to fix a lot of packages. Exp-run by: antoine PR: 238782 Notes: svn path=/head/; revision=513447
* emulators/virtualbox-ose*: Use ECHO_CMD not ECHO per bsd.commands.mkTobias Kortkamp2019-09-091-32/+32
| | | | | | | | | | - Unbreak `make -s` builds PR: 240433, 240426 Submitted by: Franco Fichtner <franco@opnsense.org> (based on) Notes: svn path=/head/; revision=511620
* Convert to UCL & cleanup pkg-message (categories e-g)Mathieu Arnold2019-08-131-4/+6
| | | | Notes: svn path=/head/; revision=508837
* Bump PORTREVISION for ports depending on the canonical version of GCCGerald Pfeifer2019-07-261-0/+1
| | | | | | | | | | | | | | | | | | as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330 Notes: svn path=/head/; revision=507372
* Update to 5.2.32.Jung-uk Kim2019-07-165-26/+19
| | | | | | | https://www.virtualbox.org/wiki/Changelog-5.2#v32 Notes: svn path=/head/; revision=506783
* Revert r501849 and restore the previous behaviour. No functional change.Jung-uk Kim2019-05-172-10/+26
| | | | Notes: svn path=/head/; revision=501855
* Work around a build issue.Jung-uk Kim2019-05-171-0/+1
| | | | Notes: svn path=/head/; revision=501849
* Update to 5.2.30.Jung-uk Kim2019-05-162-6/+6
| | | | | | | https://www.virtualbox.org/wiki/Changelog-5.2#v30 Notes: svn path=/head/; revision=501807
* set VirtualBox MASTER_SITES to download.oracle.comChristoph Moench-Tegeder2019-04-271-1/+1
| | | | | | | | | | | | The SSL certificate of the host does not have download.virtualbox.org in it's SubjectAltName anymore (download.virtualbox.org points to the same CDN and is the same host as download.oracle.com, and checksums still match). Reported by: Duncan Young Notes: svn path=/head/; revision=500209
* Add USES=sdl when USE_SDL=sdl is set. No functional change.Jung-uk Kim2019-04-241-0/+1
| | | | | | | PR: 237539 Notes: svn path=/head/; revision=499919
* Update to 5.2.28.Jung-uk Kim2019-04-234-29/+46
| | | | | | | https://www.virtualbox.org/wiki/Changelog-5.2#v28 Notes: svn path=/head/; revision=499787
* Update KDE Applications to 19.04.0Tobias C. Berner2019-04-181-0/+2
| | | | | | | | | | The changelog can be found here: - https://kde.org/announcements/announce-applications-19.04.0.php Due to crashes on start, multimedia/kdenlive was kept at 18.12.3 for now. Notes: svn path=/head/; revision=499277
* Apply a bandaid to work around runtime issues with Clang 8.0.Jung-uk Kim2019-04-101-1/+8
| | | | | | | PR: 236616 Notes: svn path=/head/; revision=498595
* Work around build issues with LLD on i386.Jung-uk Kim2019-04-052-22/+50
| | | | Notes: svn path=/head/; revision=497905
* Fix emulators/virtualbox-ose-additions build with lld on i386.Jung-uk Kim2019-04-031-8/+17
| | | | Notes: svn path=/head/; revision=497757
* Fix build with lld on head after r345349.Jung-uk Kim2019-03-261-0/+11
| | | | | | | PR: 236775 Notes: svn path=/head/; revision=496927
* Revert r494756 and r494757 for now. It seems this patch needs more work.Jung-uk Kim2019-03-082-62/+33
| | | | | | | | | | Somehow it prevented executables from starting properly. Reported by: Martin Birgmeier <d8zNeCFG@aon.at> Petyo Milotinov <petyo@petyo.org> Notes: svn path=/head/; revision=495006
* Fix a typo in the previous patch.Jung-uk Kim2019-03-061-1/+1
| | | | Notes: svn path=/head/; revision=494757
* Make linker option for executables closer to Linux equivalent, i.e.,Jung-uk Kim2019-03-062-33/+62
| | | | | | | "-z noexecstack", "-z relro", and "--as-needed". Notes: svn path=/head/; revision=494756