Commit graph

22 commits

Author SHA1 Message Date
Vladimir Druzenko
23eed6a753 emulators/virtualbox-ose{,-legacy}: sort out options
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
2023-06-28 15:02:00 +03:00
Guido Falsi
a3db7da59f emulators/virtualbox-ose*: Update to 6.1.28
Changelog: https://www.virtualbox.org/wiki/Changelog
2021-10-20 23:03:37 +02:00
Guido Falsi
416b34d584 emulators/virtualbox-ose: Update to 6.1.26
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
2021-08-13 10:52:03 +02:00
Guido Falsi
42d8425b62 - Update VirtualBox OSE to 6.1.18
- 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
2021-03-09 18:27:36 +00:00
Guido Falsi
c7901a4b4e - Update VirtualBox ports to 5.2.44
- 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
2020-07-19 09:19:22 +00:00
Jung-uk Kim
5ac9771135 Update to 5.2.16.
https://www.virtualbox.org/wiki/Changelog#16
2018-07-17 19:19:17 +00:00
Eugene Grosbein
04d446aced emulators/virtualbox-ose: remove extra dependency on cdrtools.
Dependency on cdrtools was introduced 6 years ago for sake of mkisofs:
https://svnweb.freebsd.org/ports/head/emulators/virtualbox-ose/Makefile?revision=274444&view=markup

In fact, VirtualBox build system does not use makeisofs
while building for FreeBSD because it does not even try to buid
VirtualBox Additions ISO image as its documentation says
in the Prerequisites section:

	mkisofs (required only for additions which aren't supported yet)
	=> /usr/ports/sysutils/cdrtools

	https://www.virtualbox.org/wiki/FreeBSD%20build%20instructions

And it never really used mkisofs.
Drop the dependency and bump PORTREVISION.

PR:		225376
Approved by:	vbox (maintainer timeout, 2 weeks)
2018-02-05 21:06:41 +00:00
Jung-uk Kim
a4ab367afe Update to 5.2.0. 2017-10-23 16:49:37 +00:00
Jung-uk Kim
9fc7e23845 Update to 5.1.16. 2017-03-09 00:25:44 +00:00
Tobias C. Berner
f3c180c343 Update Qt5 to 5.7.1, and unify the Qt4 and Qt5 ports some more
* Update Qt5 to 5.7.1
* Move Qt4 binaries to lib/qt4/bin
* Move Qt5 libraries to lib/qt5/lib
  By moving the libraries we should finally be able to get rid of the inplace
  upgrade bug (see ports bugs 194088, 195105 and 198720):  when Qt5's libraries
  were lying in /usr/local/lib, which would often get added by pkgconfig to the
  linker paths via dependencies, the already installed libraries were linked
  against, instead of the ones that were being built. This forced us to make
  sure, that -L${WRKSRC}/lib was always coming before -L/usr/local/lib in the
  linker flags. With this change this should no longer be the case.
* Rename some ports to match the rest (foo-qtX -> qtX-foo)
* Depend on new port misc/qtchooser [see UPDATING & CHANGES]

There are several new Qt5 ports which all have been created by Marie Loise Nolden
<nolden@kde.org>. Thanks again.

PR:		216797
Exp-Run by:	antoine
Reviewed by:	rakuco, mat, groot_kde.org
Approved by:	rakuco (mentor)
Differential Revision:	https://reviews.freebsd.org/D9213
2017-02-18 19:48:05 +00:00
Jung-uk Kim
1563c9ac55 Update to 5.1.6. 2016-09-12 22:52:05 +00:00
Jung-uk Kim
e60871787d Update to 5.1.4. 2016-09-07 21:35:38 +00:00
Jung-uk Kim
8c6cb1ade9 Fix build with ports OpenSSL. 2016-07-24 01:55:39 +00:00
Jung-uk Kim
3721902bc8 Update to 5.0.26. 2016-07-22 20:28:01 +00:00
Jung-uk Kim
61fe94530a Fix build without OpenSSL in the base.
PR:		199377
2015-05-15 19:29:10 +00:00
Bernhard Froehlich
1feafdfaa6 - 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]
2013-01-03 13:40:28 +00:00
Bernhard Froehlich
379ce3f230 - Update to 4.1.8
- Mark broken on FreeBSD < 8.0
- Fix lib32 checks to use /usr/lib32/libc.so
- R0 memobj rewrite [1]
- Fix INVARIANTS warning: acquiring duplicate lock of same type: "IPRT Fast Mutex Semaphore" [1]

Submitted by:	Andriy Gapon <avg@FreeBSD.org> [1]
Obtained from:	redports.org/~virtualbox/
2012-02-21 14:31:55 +00:00
Beat Gaetzi
804cd7e393 - Update to 3.2.2
- Update guest additions to 3.2.2.
- Add option to build with VNC support (Disabled by default)
- Add option to build with VDE support (Disabled by default) [1]
- Add option to build webservice (Disabled by default) [2]
- Fix build with QT4 support disabled and X11 support enabled. [3]
- Fix build with X11 support disabled. [4]
- Replace custom pkg-install.in script with GROUPS framework.
- Do not build Guest Additions in virtualbox-ose port.
- Implement locking/unlocking of host DVD drive. [5]
- Add LICENSE and LICENSE_FILE.

PR:		ports/146752 [5]
Submitted by:	mtm@ [5]
Requested by:	Mario Lobo <lobo AT bsd.com.br> [1],
		Hubert Tournier <hubert AT frbsd.org> [2]
Reported by:	Emil Mikulic <emil AT dmr.ath.cx> [3], mm@ [4]

Many thanks to the VirtualBox developers (especially Alexander Eichner
for all his work and help), all tester and patch submitter and the whole
vbox@ team especially decke@.
2010-06-07 16:31:58 +00:00
Martin Wilke
2a547baa1b Presenting VirtualBox 3.1.4 for FreeBSD
Changelog from VirtualBox is available here:
http://www.virtualbox.org/wiki/Changelog

Changes in the port:
  - VirtualBox and Guest Additions iso updated to 3.1.4
  - Add UNIQUENAME to fix options file clashes between the virtualbox ports [0]
  - Fixed vtophys problems on CURRENT and STABLE kernes newer than
    January 23th [1]
  - Fixed page double wiring issue in rtR0MemObjNativeAllocPage [2]

PR: 		ports/143361 [0]
Submitted by:	Martin Birgmeier <martin.birgmeier AT aon.at> [0]
		Alexander Eichner <Alexander.Eichner AT Sun.COM> [1]
Thanks To:	All testers on emulation@ and current@ [1]
           	Giovanni Trematerra <giovanni.trematerra AT gmail.com> [1]
		Ian Freislich <ianf AT clue.co.za> [1]
Reported by: 	Alan Cox <alc AT cs dot rice dot edu> [2]
2010-03-15 20:54:35 +00:00
Beat Gaetzi
078a314586 emulators/virtualbox:
- Remove emulators/virtualbox port. Renamed to emulators/virtualbox-ose
  and seperate port for the kernel modules created:
  emulators/virtualbox-ose-kmod.

emulators/virtualbox-ose:
- Update to 3.1.2
- Update guest additions to 3.1.2
- Port has been renamed to virtualbox-ose to reflect that we are using
  the OSE version. [1]
- Added proper PulseAudio support for FreeBSD [2]
- procfs is not required anymore because vbox uses sysctl(3) now [3]
- Update pkg-message to reflect recent changes
- Add nox's FreeBSD host networking patches that are now also in the
  upstream vbox svn (modulo vbox variable naming style adjustments:)
	http://lists.freebsd.org/pipermail/freebsd-emulation/2010-January/007260.html
	http://www.virtualbox.org/changeset/25698
  1. Allow direct tap networking again (for users that need the best
  network performance and/or need more complex network setups, like when
  they want to use routing instead of bridging to e.g. protect from guests
  messing with the lan's arp tables; a tap + routing + proxy arp example
  is in the above freebsd-emulation posting.)
  2. Enable vbox' shared mac feature when using bridged mode on a wifi
  interface, together with the virtualbox-ose-kmod change this
  should fix bridged mode for wifi users. [4]

emulators/virtualbox-ose-kmod:
- Update to 3.1.2
- Add rc.d script to load kernel modules
- Fix build with a non-standard location for the system source [5]
- Merge aeichner's vboxnetflt fix committed to upstream vbox svn
  (thanks!) that makes the shared mac feature enabled above actually work
  on FreeBSD hosts. [6]

Please see http://wiki.freebsd.org/VirtualBox for update instructions.

Many thanks to the VirtualBox developers, all tester, patch submitter and
the whole vbox@ team.

PR:		ports/141630 [2]
Noticed by:	mm@ [1]
Submitted by:	Noriyoshi Kawano <bowie AT nrik.jp> [2],
		Baptiste Daroussin <baptiste.daroussin AT gmail.com> [3]
		and Bernhard Froehlich <decke AT bluelife.at> [3],
		nox@ [4], scf@ [5]
Obtained from:	http://www.virtualbox.org/changeset/25699 [6]
On behalf of:	vbox@ (decke, dhn, itetcu, miwi, nox)
2010-01-13 08:03:17 +00:00
Beat Gaetzi
f9297d2f2b - Fix build if OpenSSL is installed from ports. [1]
- Some options require other ones. Add check for them. [2]

PR:		ports/139391 [1]
Submitted by:	"Y.A." <nexther0 AT gmail.com> [1]
Tested by:	Yuri Gorchakov <yuri.gorchakov AT point-group.ru> [1]
Reported by:	Maxim <maksims.k AT gmail.com> [2]
On behalf of:	vbox@ (decke, dhn, itetcu, miwi, nox)
2009-10-23 14:29:50 +00:00
Martin Wilke
afbf09cc33 VirtualBox is a family of powerful x86 virtualization products for
enterprise as well as home use. Not only is VirtualBox an extremely
feature rich, high performance product for enterprise customers, it
is also the only professional solution that is freely available as
Open Source Software under the terms of the GNU General Public License.

WWW:	http://www.virtualbox.org/

Note:

Please READ pkg-messages carefully, also please
take a look in the Wiki page (http://wiki.freebsd.org/VirtualBox)

Thanks to: thank you to everyone who helped make this possible.
2009-06-15 18:01:41 +00:00