Commit graph

73 commits

Author SHA1 Message Date
Baptiste Daroussin
c0d7b638ed Part 1 at removing now useless FETCH_ARGS redifition 2014-01-03 00:46:47 +00:00
Bernhard Froehlich
c5ddc04682 - 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]
2013-12-10 20:42:40 +00:00
Rene Ladan
bfc52e7104 Convert to USES=kmod, which removes duplicated code and ensures that all
required steps are followed.

There are no user-visible changes.  The exception is multimedia/ptx-kmod,
which now installs the kernel module into /boot/modules instead of
${PREFIX}/libexec/${PORTNAME}, this was something USES=kmod cannot handle.

PR:		ports/183625
Submitted by:	myself
Approved by:	portmgr (bdrewery)
Exp-run by:	bdrewery
2013-11-09 19:13:27 +00:00
Bernhard Froehlich
90903a7bb7 - 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>
2013-09-21 18:41:53 +00:00
Baptiste Daroussin
1089da7dcc Add NO_STAGE all over the place in preparation for the staging support (cat: emulators) 2013-09-20 16:43:52 +00:00
Bernhard Froehlich
aa160f4740 - Update to 4.2.18
Submitted by:	Mikhail Tsatsenko <m.tsatsenko@gmail.com>
2013-09-08 14:40:54 +00:00
Bernhard Froehlich
3dc69257c2 - Update to 4.2.16
Submitted by:	Mikhail Tsatsenko <m.tsatsenko@gmail.com>
2013-07-07 15:53:21 +00:00
Bernhard Froehlich
68b99e5ead - 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]
2013-06-24 06:07:53 +00:00
Bernhard Froehlich
f211bc094c - 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.
2013-05-02 20:54:04 +00:00
Bernhard Froehlich
e75961dd5b - Fix VM_OBJECT patch to properly use WLOCK/WUNLOCK.
Reported by:	Ivan Klymenko <fidaj@ukr.net>
Thanks to:	Konstantin Belousov <kib@FreeBSD.org>
See:		http://lists.freebsd.org/pipermail/freebsd-ports/2013-March/082432.html
2013-03-25 08:02:47 +00:00
Glen Barber
1457d6274b Fix patch indexes. 2013-03-21 02:43:33 +00:00
Sean Bruno
4f0bd6fb09 Add wrapper FreeBSD_Version check at the break point for VM_OBJECT_RLOCK
name change so we still build on stable branches.

Suggested by: bdrewery
2013-03-21 02:29:17 +00:00
Glen Barber
10dc43b694 Set KMODDIR to /boot/modules, since it is always defined to
/boot/kernel otherwise.

PR:		ports/175684, ports/176288
Approved by:	vbox (maintainer timeout, nearly 2 months)
2013-03-21 01:59:22 +00:00
Sean Bruno
d600c214cc Fix port after breakage on src commit svn r248084 on
March 9th, 2013.

Patch kmod to include rwlock.h

Patch kmod to change VM_OBJECT_LOCK to VM_OBJECT_RLOCK

Patch kmod to change VM_OBJECT_UNLOCK to VM_OBJECT_RUNLOCK
2013-03-21 01:24:26 +00:00
Emanuel Haupt
a5b330652b Require ldconfig in vboxnet init script. Without it vboxnet fails to start on
9-STABLE with "VBoxRT.so misses libiconv.so".

While here pacify portlint by replacing a tab in the header with a single space.

Approved by:    decke
2013-01-24 08:24:16 +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
c2de5c9e7f - Update to 4.1.22 [1]
- Cleanup MASTER_SITES and use upstream mirror as primary

Submitted by:	Mikhail Tsatsenko <m.tsatsenko@gmail.com> [1]
2012-09-12 20:15:53 +00:00
Olli Hauer
f1ddff4b92 - fix PORT_OPTIONS s/)/}/ 2012-09-08 11:48:59 +00:00
Bernhard Froehlich
74b732681f - 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>
2012-08-27 12:53:40 +00:00
Bernhard Froehlich
0584205d76 - Fix panic at unload of vboxnetadp
- Bump PORTREVISION

PR:		ports/169565
Submitted by:	Thomas Eberhardt <sneakywumpus@googlemail.com>
Obtained from:	virtualbox r41199
2012-07-25 19:15:14 +00:00
Bernhard Froehlich
4136328e14 - Follow vm_contig_grow_cache() renaming to vm_pageout_grow_cache() in r238561
PR:		ports/170056
Submitted by:	Garrett Cooper <yanegomi@gmail.com>
Thanks to:	alc, avg
2012-07-25 19:12:39 +00:00
Akinori MUSHA
d48b60ff76 Add SF to master sites.
PR:		ports/167514
Approved by:	maintainer timeout
2012-07-02 06:06:36 +00:00
Bernhard Froehlich
10d9e7caf3 - Update to 4.1.18 [1]
- Convert to OptionsNG [2]
- Install DEBUG symbols for kernel modules [1]

Submitted by:	Mikhail Tsatsenko <m.tsatsenko@gmail.com> [1]
		bapt@ [2]
2012-06-30 07:21:54 +00:00
Bernhard Froehlich
9f028aea1d - Update to 4.1.16
- Update wiki link to troubleshooting page
2012-05-23 12:39:20 +00:00
Bernhard Froehlich
d3d5da97e3 - 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]
2012-04-30 17:18:04 +00:00
Bernhard Froehlich
9fb658ddc3 - Remove patches from sobomax again because they cause
more trouble than they solve.

With hat:	vbox
Reported by:	various people on emulation@
2012-04-20 08:11:47 +00:00
Maxim Sobolev
a03ecba7da Fix build on FreeBSD 9.0. It needs some black magic around MK_CLANG_IS_CC,
hopefully somebody would fix bsd.kmod.mk, but for now we need this.
2012-04-12 18:16:51 +00:00
Bernhard Froehlich
9291a32e0c - Update to 4.1.12
- Fix PAM authentication for vboxwebsrv  [1]

PR:		ports/166614 [1]
Submitted by:	Landon Fuller <landonf@plausible.coop> [1]
Feature safe:	yes
2012-04-05 11:16:31 +00:00
Bernhard Froehlich
bdb61663a4 - Mark BROKEN on < 8.2 because vm_page_find_least() was not available before
Reported by:	pointyhat (via pav)
Feature safe:	yes
2012-03-30 12:37:46 +00:00
Bernhard Froehlich
d97f13f37b - Update to 4.1.10
Feature safe:	yes
2012-03-15 09:32:29 +00:00
Bernhard Froehlich
31bc87dae9 - Reenabled fixed memobj r0 patch
- Bump PORTREVISION

Submitted by:	avg
Feature safe:	yes
2012-03-09 21:46:18 +00:00
Bernhard Froehlich
948e653bff - Revert memobj r0 patch until the problems on i386 are solved
- Bump PORTREVISION

Reported by:	dougb, Frank Bartels
Discussed with:	avg
2012-02-22 22:09:41 +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
Doug Barton
83eb2c3700 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.
2012-01-14 08:57:23 +00:00
Bernhard Froehlich
f79d5901a5 - Add fix for build failure on FreeBSD 10-CURRENT after r228444
include/iprt/types.h:174: error: redefinition of typedef 'bool'
@/sys/types.h:271: error: previous declaration of 'bool' was here

Submitted by:	Daichi GOTO <daichi@freebsd.org>
2011-12-23 10:03:42 +00:00
Bernhard Froehlich
423f6e98ed - Update to 4.0.14
Feature safe:	yes
2011-12-02 17:34:39 +00:00
Bernhard Froehlich
d6d01011a0 - Fix panic: mutex vm page queue free mutex not owned on 10-CURRENT
- Fix compile error: 'D_PSEUDO' undeclared here on 10-CURRENT
- Bump PORTREVISION

PR:		ports/162186
Submitted by:	Jung-uk Kim <jkim@FreeBSD.org>
Feature safe:	yes
2011-12-02 13:38:42 +00:00
Bernhard Froehlich
395d49b829 - Bump PORTREVISION which was missing since adding PG_UNMANAGED patch for HEAD
- Pet portlint about LICENSE variables

Reported by:	avg
2011-11-07 15:40:39 +00:00
Bernhard Froehlich
a9293b1e11 - Fix PG_UNMANAGED compile problem on HEAD after r224746.
Remove explicit initialization of m->flags and m->oflags because per
default vm_phys_alloc_contig() already initializes the page as unmanaged.
Chase move of PG_UNMANAGED flag from m->flags to m->oflags and renaming
to VPO_UNMANAGED for an additional assert.

PR:		ports/159675
Reported by:	Kyryll A Mirnenko <xmirya@gmail.com>,
		Michael Butler <imb@protected-networks.net>
Thanks to:	beat
2011-08-12 14:45:17 +00:00
Bernhard Froehlich
3d9d3b7e75 - Update to 4.0.12 2011-07-18 16:06:58 +00:00
Bernhard Froehlich
ea253ac9b9 - Update to 4.0.10
- Fix kmod build on 9-CURRENT after removal of cpumask_t [1]

Submitted by:	Jung-uk Kim <jkim@FreeBSD.org> [1]
2011-07-01 13:29:48 +00:00
Bernhard Froehlich
cd2186d43c - Fix panic: spin lock held too long on FreeBSD 7.x
- Bump PORTREVISION

PR:		ports/157290
Submitted by:	Alexander Eichner <Alexander.Eichner@oracle.com>
Reported by:	Oleksii Krykun <kryol@bigmir.net>,
		Martin Birgmeier <xxllxrvt@aon.at>,
		Peter Klett <peter@netkey.at>
2011-06-02 17:02:22 +00:00
Bernhard Froehlich
b9fb4c08e1 - Clarify VIMAGE option
PR:		ports/157253
Submitted by:	Warren Block <wblock@wonkity.com>
2011-05-23 07:59:06 +00:00
Bernhard Froehlich
662a124702 - Update to 4.0.8
- Add vboxheadless startscript [1]
- Add vboxwebsrv startscript [2]
- Change CONFLICTS to CONFLICTS_INSTALL [3]
- Relax hardening for PC-BSD 9 [4]
- Add VIMAGE support [5]
- Install VBoxExtPackHelperApp [6]
- Remove stale mirror
- Extend pkg-message for USB configuration
- Fix link_elf_obj: symbol RTStrCopy undefined [7]

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]
		Kris Moore <kris@pcbsd.org>, [4]
		Mikolaj Golub <to.my.trociny@gmail.com>, [5]
		Mattia Rossi <mrossi@swin.edu.au>, [6]
		Florian Smeets <flo@FreeBSD.org> [7]
Thanks to:	dougb@, [1][2]
		Cr4zi3/EFNet, [2]
		crsd, [2]
		beat@,
		hps@,
		Alexander Eichner,
		all testers!
Approved by:	bapt (vbox hat)
2011-05-22 13:51:59 +00:00
Baptiste Daroussin
15de8793d4 Fix building with LOCALBASE != PREFIX 2011-04-20 11:39:40 +00:00
Bernhard Froehlich
755770b0bb - Fix build on current after removal of uio_yield()
- Bump PORTREVISION

Submitted by:	Michael Butler <imb at protected-networks dot net>
2011-02-11 13:41:47 +00:00
Beat Gaetzi
88e2a9fd48 - Update to 3.2.12
- Remove check for FreeBSD 6.x
- Drop MD5 checksums
2010-12-23 14:57:39 +00:00
Beat Gaetzi
d0c63501c2 - Update to 3.2.10
- Add LICENSE and LICENSE_FILE
2010-10-15 06:31:25 +00:00
Beat Gaetzi
7cca3f6501 - Update to 3.2.8 2010-08-09 14:40:06 +00:00
Beat Gaetzi
c6da10cdfd - Update to 3.2.6
- No longer BROKEN on CURRENT

Feature safe:	yes
2010-06-29 19:00:13 +00:00