diff options
author | John Marino <marino@FreeBSD.org> | 2014-09-09 19:18:28 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2014-09-09 19:18:28 +0000 |
commit | efd0d5fc6e279984ac610a97d55f4ccd5ce5016b (patch) | |
tree | 48719dd433652ddad1dbe95ebb24f153c6b77090 /emulators | |
parent | c0dc3135345a3cb933323ac73ba9c304e3023b08 (diff) | |
download | ports-efd0d5fc6e279984ac610a97d55f4ccd5ce5016b.tar.gz ports-efd0d5fc6e279984ac610a97d55f4ccd5ce5016b.zip |
Notes
Diffstat (limited to 'emulators')
43 files changed, 0 insertions, 2334 deletions
diff --git a/emulators/Makefile b/emulators/Makefile index 1bccf94b5250..c5a1eacafeae 100644 --- a/emulators/Makefile +++ b/emulators/Makefile @@ -142,8 +142,6 @@ SUBDIR += virtualbox-ose SUBDIR += virtualbox-ose-additions SUBDIR += virtualbox-ose-kmod - SUBDIR += virtualbox-ose-kmod-legacy - SUBDIR += virtualbox-ose-legacy SUBDIR += visualboyadvance-m SUBDIR += vmips SUBDIR += vmsbackup diff --git a/emulators/virtualbox-ose-kmod-legacy/Makefile b/emulators/virtualbox-ose-kmod-legacy/Makefile deleted file mode 100644 index 9e4f90b99870..000000000000 --- a/emulators/virtualbox-ose-kmod-legacy/Makefile +++ /dev/null @@ -1,99 +0,0 @@ -# Created by: Bernhard Froehlich <decke@bluelife.at> -# $FreeBSD$ - -PORTNAME= virtualbox-ose -DISTVERSION= 4.2.22 -PORTREVISION= 1 -CATEGORIES= emulators -MASTER_SITES= http://download.virtualbox.org/virtualbox/${DISTVERSION}/ \ - http://tmp.chruetertee.ch/ \ - http://disasterarea.chruetertee.ch/ -PKGNAMESUFFIX= -kmod-legacy -DISTNAME= VirtualBox-${DISTVERSION} - -MAINTAINER= vbox@FreeBSD.org -COMMENT= VirtualBox kernel module for FreeBSD - -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING - -BUILD_DEPENDS= kmk:${PORTSDIR}/devel/kBuild - -UNIQUENAME= ${PORTNAME}${PKGNAMESUFFIX} -WRKSRC= ${WRKDIR}/VirtualBox-${PORTVERSION} -USE_RC_SUBR= vboxnet -ONLY_FOR_ARCHS= i386 amd64 - -HAS_CONFIGURE= yes -CONFIGURE_ARGS+=--with-gcc="${CC}" --with-g++="${CXX}" --nofatal \ - --disable-xpcom --disable-sdl-ttf --disable-pulse \ - --disable-alsa --disable-dbus --disable-python \ - --build-headless - -CONFLICTS_INSTALL= virtualbox-ose-kmod-4* virtualbox-ose-kmod-devel-4* - -OPTIONS_DEFINE= DEBUG VIMAGE -DEBUG_DESC= Debug symbols, additional logs and assertions -VIMAGE_DESC= VIMAGE virtual networking support - -USES= kmod tar:bzip2 -.include <bsd.port.options.mk> - -VBOX_BIN= ${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE}/bin/src - -KMK_BUILDTYPE= release -KMK_CONFIG= VBOX_LIBPATH_X11=${LOCALBASE} VBOX_FREEBSD_SRC=${SRC_BASE}/sys -KMK_FLAGS= HostDrivers-scripts vboxdrv-mod VBoxNetFlt-src VBoxNetAdp-src - -MAKE_FLAGS= SYSDIR=${SRC_BASE}/sys - -.if ${PORT_OPTIONS:MDEBUG} -KMK_FLAGS+= BUILD_TYPE=debug -KMK_BUILDTYPE= debug -EXTRA_PATCHES+= ${FILESDIR}/extrapatch-Config.kmk ${FILESDIR}/extrapatch-src-VBox-HostDrivers-Support-freebsd-Makefile -MAKE_FLAGS+= DEBUG_FLAGS="-O1 -g" -PLIST_SUB+= WITH_DEBUG="" -.else -PLIST_SUB+= WITH_DEBUG="@comment " -.endif - -.if ${ARCH} == i386 -KMK_ARCH= freebsd.x86 -.else -KMK_ARCH= freebsd.${ARCH} -.endif - -.include <bsd.port.pre.mk> - -post-patch: - @${ECHO} 'VBOX_WITH_VBOXDRV = 1' > ${WRKSRC}/LocalConfig.kmk - @${ECHO} 'VBOX_WITH_NETFLT = 1' >> ${WRKSRC}/LocalConfig.kmk - @${ECHO} 'VBOX_WITH_NETADP = 1' >> ${WRKSRC}/LocalConfig.kmk - @${ECHO} 'VBOX_WITH_ADDITIONS =' >> ${WRKSRC}/LocalConfig.kmk -.if ${PORT_OPTIONS:MVIMAGE} - @${ECHO} 'VBOX_WITH_NETFLT_VIMAGE = 1' >> ${WRKSRC}/LocalConfig.kmk -.endif - @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ - ${WRKSRC}/Config.kmk \ - ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|\$$KBUILDDIR_BIN/kmk_sed|${LOCALBASE}/bin/kmk_sed|g' ${WRKSRC}/configure - -pre-build: - @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' \ - ${WRKSRC}/env.sh - -do-build: - cd ${WRKSRC} && ${SH} env.sh && cd ${WRKSRC}/src/VBox/HostDrivers && ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS} - cd ${VBOX_BIN} && make ${MAKE_FLAGS} - -do-install: - ${INSTALL_KLD} ${VBOX_BIN}/vboxdrv/vboxdrv.ko ${STAGEDIR}${KMODDIR} - ${INSTALL_KLD} ${VBOX_BIN}/vboxnetadp/vboxnetadp.ko ${STAGEDIR}${KMODDIR} - ${INSTALL_KLD} ${VBOX_BIN}/vboxnetflt/vboxnetflt.ko ${STAGEDIR}${KMODDIR} -.if ${PORT_OPTIONS:MDEBUG} - ${INSTALL_KLD} ${VBOX_BIN}/vboxdrv/vboxdrv.ko.symbols ${STAGEDIR}${KMODDIR} - ${INSTALL_KLD} ${VBOX_BIN}/vboxnetadp/vboxnetadp.ko.symbols ${STAGEDIR}${KMODDIR} - ${INSTALL_KLD} ${VBOX_BIN}/vboxnetflt/vboxnetflt.ko.symbols ${STAGEDIR}${KMODDIR} -.endif - -.include <bsd.port.post.mk> diff --git a/emulators/virtualbox-ose-kmod-legacy/distinfo b/emulators/virtualbox-ose-kmod-legacy/distinfo deleted file mode 100644 index f6a742ba3954..000000000000 --- a/emulators/virtualbox-ose-kmod-legacy/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (VirtualBox-4.2.22.tar.bz2) = 4a017ec5fa0e0cfa830ae6c2b9d680c9b108e5fb96348e1397a7d0ea051f8bc1 -SIZE (VirtualBox-4.2.22.tar.bz2) = 77039185 diff --git a/emulators/virtualbox-ose-kmod-legacy/files/extrapatch-Config.kmk b/emulators/virtualbox-ose-kmod-legacy/files/extrapatch-Config.kmk deleted file mode 100644 index 7df1b0883f27..000000000000 --- a/emulators/virtualbox-ose-kmod-legacy/files/extrapatch-Config.kmk +++ /dev/null @@ -1,11 +0,0 @@ ---- Config.kmk.orig 2012-05-24 01:15:53.393052000 +0200 -+++ Config.kmk 2012-05-24 01:16:15.883067161 +0200 -@@ -3188,7 +3188,7 @@ - | xargs -J% objcopy % $(out) - - ## Strip debug info (comment out if debugging or something). -- objcopy --strip-debug $(out) -+# objcopy --strip-debug $(out) - endef - else # x86 - TOOL_FREEBSDKMODLD_LINK_SYSMOD_OUTPUT = $(outbase).kld diff --git a/emulators/virtualbox-ose-kmod-legacy/files/extrapatch-src-VBox-HostDrivers-Support-freebsd-Makefile b/emulators/virtualbox-ose-kmod-legacy/files/extrapatch-src-VBox-HostDrivers-Support-freebsd-Makefile deleted file mode 100644 index 67361da543f7..000000000000 --- a/emulators/virtualbox-ose-kmod-legacy/files/extrapatch-src-VBox-HostDrivers-Support-freebsd-Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- src/VBox/HostDrivers/Support/freebsd/Makefile.orig 2012-10-18 16:23:16.000000000 +0200 -+++ src/VBox/HostDrivers/Support/freebsd/Makefile 2012-10-20 08:13:07.301179212 +0200 -@@ -27,7 +27,7 @@ - - KMOD = vboxdrv - --CFLAGS += -DRT_OS_FREEBSD -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DSUPDRV_WITH_RELEASE_LOGGER -DVBOX -DRT_WITH_VBOX -Iinclude -I. -Ir0drv -w -DVBOX_WITH_HARDENING -DVBOX_WITH_64_BITS_GUESTS -+CFLAGS += -DRT_OS_FREEBSD -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DSUPDRV_WITH_RELEASE_LOGGER -DVBOX -DRT_WITH_VBOX -Iinclude -I. -Ir0drv -w -DVBOX_WITH_HARDENING -DVBOX_WITH_64_BITS_GUESTS -DDEBUG - - .if (${MACHINE_ARCH} == "i386") - CFLAGS += -DRT_ARCH_X86 diff --git a/emulators/virtualbox-ose-kmod-legacy/files/patch-Config.kmk b/emulators/virtualbox-ose-kmod-legacy/files/patch-Config.kmk deleted file mode 100644 index d7edc886bb4a..000000000000 --- a/emulators/virtualbox-ose-kmod-legacy/files/patch-Config.kmk +++ /dev/null @@ -1,56 +0,0 @@ ---- Config.kmk.orig 2012-12-20 14:44:38.260858319 +0100 -+++ Config.kmk 2012-12-20 14:55:59.491850177 +0100 -@@ -3239,7 +3239,7 @@ - $(VBOX_GCC_WARN) -Wpointer-arith -Winline $(VBOX_GCC_Wno-pointer-sign) $(VBOX_GCC_fdiagnostics-show-option) \ - -Wstrict-prototypes -Wmissing-prototypes -Wstrict-prototypes \ - -Wimplicit-function-declaration -Werror-implicit-function-declaration \ -- -O2 -fformat-extensions -ffreestanding -fno-strict-aliasing -fno-common -finline-limit=8000 \ -+ -O2 -ffreestanding -fno-strict-aliasing -fno-common -finline-limit=8000 \ - $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \ - -nostdinc -std=c99 - TEMPLATE_VBOXR0DRV_CFLAGS.x86 = -m32 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -@@ -3248,7 +3248,7 @@ - -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -Wundef - TEMPLATE_VBOXR0DRV_CXXFLAGS = -fno-exceptions -fno-rtti \ - $(VBOX_GCC_WARN) -Wpointer-arith -Winline \ -- -O2 -fno-format-extensions -fno-strict-aliasing -fno-common -finline-limit=8000 \ -+ -O2 -fno-strict-aliasing -fno-common -finline-limit=8000 \ - $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \ - -nostdinc - TEMPLATE_VBOXR0DRV_CXXFLAGS.x86 = $(TEMPLATE_VBOXR0DRV_CFLAGS.x86) -@@ -3465,8 +3465,6 @@ - /usr/X11R6/include \ - /usr/local/include - TEMPLATE_VBOXR3EXE_LIBPATH += \ -- /usr/lib \ -- /usr/X11R6/lib \ - /usr/local/lib - else ifeq ($(KBUILD_TARGET),solaris) - TEMPLATE_VBOXR3EXE_TOOL = GXX3PLAIN -@@ -3955,8 +3953,6 @@ - /usr/X11R6/include \ - /usr/local/include - TEMPLATE_VBOXMAINEXE_LIBPATH += \ -- /usr/lib \ -- /usr/X11R6/lib \ - /usr/local/lib - else ifeq ($(KBUILD_TARGET),solaris) - TEMPLATE_VBOXMAINEXE_TOOL = GXX3PLAIN -@@ -4371,8 +4367,6 @@ - /usr/X11R6/include \ - /usr/local/include - TEMPLATE_VBOXQT4GUIEXE_LIBPATH += \ -- /usr/lib \ -- /usr/X11R6/lib \ - /usr/local/lib - endif - ifeq ($(KBUILD_TARGET),solaris) -@@ -4555,8 +4549,6 @@ - /usr/X11R6/include \ - /usr/local/include - TEMPLATE_VBOXBLDPROG_LIBPATH += \ -- /usr/lib \ -- /usr/X11R6/lib \ - /usr/local/lib - else ifeq ($(KBUILD_HOST),solaris) - TEMPLATE_VBOXBLDPROG_TOOL = GXX3PLAIN diff --git a/emulators/virtualbox-ose-kmod-legacy/files/patch-include-iprt-x86.h b/emulators/virtualbox-ose-kmod-legacy/files/patch-include-iprt-x86.h deleted file mode 100644 index 53b7a7a34524..000000000000 --- a/emulators/virtualbox-ose-kmod-legacy/files/patch-include-iprt-x86.h +++ /dev/null @@ -1,15 +0,0 @@ ---- include/iprt/x86.h.orig 2014-01-11 03:15:24.000000000 -0500 -+++ include/iprt/x86.h 2014-03-13 14:13:50.000000000 -0400 -@@ -35,6 +35,12 @@ - # pragma D depends_on library vbox-types.d - #endif - -+/* Workaround for FreeBSD machine/specialreg.h defining MSRs */ -+#ifdef RT_OS_FREEBSD -+# undef MSR_IA32_PLATFORM_ID -+# undef MSR_IA32_MISC_ENABLE -+#endif -+ - /* Workaround for Solaris sys/regset.h defining CS, DS */ - #ifdef RT_OS_SOLARIS - # undef CS diff --git a/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-HostDrivers-VBoxNetAdp-Makefile.kmk b/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-HostDrivers-VBoxNetAdp-Makefile.kmk deleted file mode 100644 index 01d25b3ac02a..000000000000 --- a/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-HostDrivers-VBoxNetAdp-Makefile.kmk +++ /dev/null @@ -1,25 +0,0 @@ -Fix kmod panic when VIMAGE is disabled in the kernel and port - -Submitted by: Gleb Kurtsou <gleb@freebsd.org> ---- src/VBox/HostDrivers/VBoxNetAdp/Makefile.kmk.orig 2013-04-12 03:38:10.000000000 -0700 -+++ src/VBox/HostDrivers/VBoxNetAdp/Makefile.kmk 2013-06-11 21:24:05.000000000 -0700 -@@ -143,12 +143,15 @@ - $$(if $$(eq $$(VBoxNetAdp/freebsd/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \ - | $$(dir $$@) - $(QUIET)$(RM) -f -- $@ -- ifndef VBOX_WITH_HARDENING -- $(QUIET)$(SED) -e "s;-DVBOX_WITH_HARDENING;;g" --output $@ $< -- else - $(QUIET)$(CP) -f $< $@ -+ ifndef VBOX_WITH_HARDENING -+ $(QUIET)$(SED) -e "s;-DVBOX_WITH_HARDENING;;g" --output $@.tmp $@ -+ ${QUIET}$(MV) -f $@.tmp $@ -+ endif -+ ifndef VBOX_WITH_NETFLT_VIMAGE -+ $(QUIET)$(SED) -e "s;-DVIMAGE;;g" --output $@.tmp $@ -+ ${QUIET}$(MV) -f $@.tmp $@ - endif -- - endif # freebsd - - include $(FILE_KBUILD_SUB_FOOTER) diff --git a/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-HostDrivers-VBoxNetFlt-freebsd-VBoxNetFlt-freebsd.c b/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-HostDrivers-VBoxNetFlt-freebsd-VBoxNetFlt-freebsd.c deleted file mode 100644 index 6cb5a1ebd30c..000000000000 --- a/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-HostDrivers-VBoxNetFlt-freebsd-VBoxNetFlt-freebsd.c +++ /dev/null @@ -1,72 +0,0 @@ -Add VLAN trunking support to vboxnetflt - -See: http://lists.freebsd.org/pipermail/freebsd-emulation/2012-April/009698.html -See: http://lists.freebsd.org/pipermail/freebsd-emulation/2013-May/010605.html -Submitted by: Landon J Fuller <landonf at plausible.coop> ---- ./src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-freebsd.c.orig 2013-04-12 06:38:11.000000000 -0400 -+++ ./src/VBox/HostDrivers/VBoxNetFlt/freebsd/VBoxNetFlt-freebsd.c 2013-05-25 20:14:52.152180452 -0400 -@@ -51,6 +51,7 @@ - #include <net/if_dl.h> - #include <net/if_types.h> - #include <net/ethernet.h> -+#include <net/if_vlan_var.h> - - #include <netgraph/ng_message.h> - #include <netgraph/netgraph.h> -@@ -427,6 +428,8 @@ - struct ifnet *ifp = pThis->u.s.ifp; - unsigned int cSegs = 0; - bool fDropIt = false, fActive; -+ bool is_vl_tagged = false; -+ uint16_t vl_tag; - PINTNETSG pSG; - - VBOXCURVNET_SET(ifp->if_vnet); -@@ -439,6 +442,19 @@ - if (m == NULL) - break; - -+ /* Prepend a VLAN header for consumption by the virtual switch */ -+ if (m->m_flags & M_VLANTAG) { -+ vl_tag = m->m_pkthdr.ether_vtag; -+ is_vl_tagged = true; -+ -+ m = ether_vlanencap(m, m->m_pkthdr.ether_vtag); -+ if (m == NULL) { -+ printf("vboxflt: unable to prepend VLAN header\n"); -+ break; -+ } -+ m->m_flags &= ~M_VLANTAG; -+ } -+ - for (m0 = m; m0 != NULL; m0 = m0->m_next) - if (m0->m_len > 0) - cSegs++; -@@ -453,6 +469,27 @@ - vboxNetFltFreeBSDMBufToSG(pThis, m, pSG, cSegs, 0); - fDropIt = pThis->pSwitchPort->pfnRecv(pThis->pSwitchPort, NULL /* pvIf */, pSG, INTNETTRUNKDIR_WIRE); - RTMemTmpFree(pSG); -+ -+ /* Restore the VLAN flags before re-injecting the packet */ -+ if (is_vl_tagged && !fDropIt) { -+ struct ether_vlan_header *vl_hdr; -+ -+ /* This shouldn't fail, as the header was just prepended */ -+ if (m->m_len < sizeof(*vl_hdr) && (m = m_pullup(m, sizeof(*vl_hdr))) == NULL) { -+ printf("vboxflt: unable to pullup VLAN header\n"); -+ m_freem(m); -+ break; -+ } -+ -+ /* Copy the MAC dhost/shost over the 802.1q field */ -+ vl_hdr = mtod(m, struct ether_vlan_header *); -+ bcopy((char *)vl_hdr, (char *)vl_hdr + ETHER_VLAN_ENCAP_LEN, ETHER_HDR_LEN - ETHER_TYPE_LEN); -+ m_adj(m, ETHER_VLAN_ENCAP_LEN); -+ -+ m->m_pkthdr.ether_vtag = vl_tag; -+ m->m_flags |= M_VLANTAG; -+ } -+ - if (fDropIt) - m_freem(m); - else diff --git a/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-alloc-r0drv-freebsd.c b/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-alloc-r0drv-freebsd.c deleted file mode 100644 index f8b9743c21c8..000000000000 --- a/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-alloc-r0drv-freebsd.c +++ /dev/null @@ -1,16 +0,0 @@ ---- src/VBox/Runtime/r0drv/freebsd/alloc-r0drv-freebsd.c 2013-09-06 06:30:30.000000000 -0600 -+++ src/VBox/Runtime/r0drv/freebsd/alloc-r0drv-freebsd.c 2013-09-18 12:01:45.000000000 -0600 -@@ -79,8 +79,13 @@ - return VERR_NO_EXEC_MEMORY; - - /* Addr contains a start address vm_map_find will start searching for suitable space at. */ -+#if __FreeBSD_version >= 1000055 -+ int rc = vm_map_find(kernel_map, pVmObject, 0, &Addr, -+ cbAllocated, 0, VMFS_ANY_SPACE, VM_PROT_ALL, VM_PROT_ALL, 0); -+#else - int rc = vm_map_find(kernel_map, pVmObject, 0, &Addr, - cbAllocated, TRUE, VM_PROT_ALL, VM_PROT_ALL, 0); -+#endif - if (rc == KERN_SUCCESS) - { - rc = vm_map_wire(kernel_map, Addr, Addr + cbAllocated, diff --git a/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-memobj-r0drv-freebsd.c b/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-memobj-r0drv-freebsd.c deleted file mode 100644 index b666b7ed0362..000000000000 --- a/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-memobj-r0drv-freebsd.c +++ /dev/null @@ -1,56 +0,0 @@ -From Alan L. Cox on FreeBSD-current: - - I just glanced at the virtualbox code for a couple minutes. For - FreeBSD 9 and 10, these lock acquires are completely unnecessary, and - have been since FreeBSD 9.0. Just delete them. They may be equally - unnecessary under FreeBSD 8, but I didn't look carefully enough to - answer that question. - -[1] http://lists.freebsd.org/pipermail/freebsd-current/2012-November/037963.html ---- - src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c | 9 +++++++++ - 1 file changed, 9 insertions(+) - -diff --git a/src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c b/src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c -index 5c90cf3..1176b51 100644 ---- src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c -+++ src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c -@@ -164,14 +164,19 @@ DECLHIDDEN(int) rtR0MemObjNativeFree(RTR0MEMOBJ pMem) - { - VM_OBJECT_LOCK(pMemFreeBSD->pObject); - vm_page_t pPage = vm_page_find_least(pMemFreeBSD->pObject, 0); -+#if __FreeBSD_version < 900000 -+ /* See http://lists.freebsd.org/pipermail/freebsd-current/2012-November/037963.html */ - vm_page_lock_queues(); -+#endif - for (vm_page_t pPage = vm_page_find_least(pMemFreeBSD->pObject, 0); - pPage != NULL; - pPage = vm_page_next(pPage)) - { - vm_page_unwire(pPage, 0); - } -+#if __FreeBSD_version < 900000 - vm_page_unlock_queues(); -+#endif - VM_OBJECT_UNLOCK(pMemFreeBSD->pObject); - vm_object_deallocate(pMemFreeBSD->pObject); - break; -@@ -263,11 +268,15 @@ static int rtR0MemObjFreeBSDPhysAllocHelper(vm_object_t pObject, u_long cPages, - while (iPage-- > 0) - { - pPage = vm_page_lookup(pObject, iPage); -+#if __FreeBSD_version < 900000 - vm_page_lock_queues(); -+#endif - if (fWire) - vm_page_unwire(pPage, 0); - vm_page_free(pPage); -+#if __FreeBSD_version < 900000 - vm_page_unlock_queues(); -+#endif - } - VM_OBJECT_UNLOCK(pObject); - return rcNoMem; --- -1.7.11.5 - diff --git a/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-memobj-r0drv-freebsd_VM_MAP_FIND.c b/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-memobj-r0drv-freebsd_VM_MAP_FIND.c deleted file mode 100644 index 6dfe0b99208e..000000000000 --- a/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-memobj-r0drv-freebsd_VM_MAP_FIND.c +++ /dev/null @@ -1,48 +0,0 @@ ---- src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c.orig 2013-09-06 12:30:30.000000000 +0000 -+++ src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c 2013-09-21 18:12:53.000000000 +0000 -@@ -286,9 +286,15 @@ - pMemFreeBSD->pObject = vm_object_allocate(OBJT_PHYS, cPages); - - /* No additional object reference for auto-deallocation upon unmapping. */ -+#if __FreeBSD_version >= 1000055 -+ rc = vm_map_find(kernel_map, pMemFreeBSD->pObject, 0, -+ &MapAddress, pMemFreeBSD->Core.cb, 0, VMFS_ANY_SPACE, -+ fExecutable ? VM_PROT_ALL : VM_PROT_RW, VM_PROT_ALL, 0); -+#else - rc = vm_map_find(kernel_map, pMemFreeBSD->pObject, 0, - &MapAddress, pMemFreeBSD->Core.cb, VMFS_ANY_SPACE, - fExecutable ? VM_PROT_ALL : VM_PROT_RW, VM_PROT_ALL, 0); -+#endif - - if (rc == KERN_SUCCESS) - { -@@ -551,6 +557,9 @@ - 0, /* offset */ - &MapAddress, /* addr (IN/OUT) */ - cb, /* length */ -+#if __FreeBSD_version >= 1000055 -+ 0, /* max addr */ -+#endif - pvFixed == (void *)-1 ? VMFS_ANY_SPACE : VMFS_NO_SPACE, - /* find_space */ - VM_PROT_NONE, /* protection */ -@@ -628,6 +637,9 @@ - offSub, /* Start offset in the object */ - &Addr, /* Start address IN/OUT */ - cbSub, /* Size of the mapping */ -+#if __FreeBSD_version >= 1000055 -+ 0, /* Upper bound of mapping */ -+#endif - VMFS_ANY_SPACE, /* Whether a suitable address should be searched for first */ - ProtectionFlags, /* protection flags */ - VM_PROT_ALL, /* Maximum protection flags */ -@@ -704,6 +716,9 @@ - 0, /* Start offset in the object */ - &AddrR3, /* Start address IN/OUT */ - pMemToMap->cb, /* Size of the mapping */ -+#if __FreeBSD_version >= 1000055 -+ 0, /* Upper bound of the mapping */ -+#endif - R3PtrFixed == (RTR3PTR)-1 ? VMFS_ANY_SPACE : VMFS_NO_SPACE, - /* Whether a suitable address should be searched for first */ - ProtectionFlags, /* protection flags */ diff --git a/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-memobj-r0drv-freebsd_VM_OBJECT_RENAME.c b/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-memobj-r0drv-freebsd_VM_OBJECT_RENAME.c deleted file mode 100644 index 103f0f45cb19..000000000000 --- a/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-memobj-r0drv-freebsd_VM_OBJECT_RENAME.c +++ /dev/null @@ -1,115 +0,0 @@ -$FreeBSD$ - ---- src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c.orig 2014-03-14 17:25:46.000000000 -0400 -+++ src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c 2014-03-14 17:34:35.000000000 -0400 -@@ -162,7 +162,11 @@ - case RTR0MEMOBJTYPE_PHYS: - case RTR0MEMOBJTYPE_PHYS_NC: - { -+#if __FreeBSD_version >= 1000030 -+ VM_OBJECT_WLOCK(pMemFreeBSD->pObject); -+#else - VM_OBJECT_LOCK(pMemFreeBSD->pObject); -+#endif - vm_page_t pPage = vm_page_find_least(pMemFreeBSD->pObject, 0); - #if __FreeBSD_version < 900000 - /* See http://lists.freebsd.org/pipermail/freebsd-current/2012-November/037963.html */ -@@ -177,7 +181,11 @@ - #if __FreeBSD_version < 900000 - vm_page_unlock_queues(); - #endif -+#if __FreeBSD_version >= 1000030 -+ VM_OBJECT_WUNLOCK(pMemFreeBSD->pObject); -+#else - VM_OBJECT_UNLOCK(pMemFreeBSD->pObject); -+#endif - vm_object_deallocate(pMemFreeBSD->pObject); - break; - } -@@ -198,17 +206,25 @@ - vm_page_t pPages; - int cTries = 0; - --#if __FreeBSD_version > 1000000 -+#if __FreeBSD_version >= 902508 - int fFlags = VM_ALLOC_INTERRUPT | VM_ALLOC_NOBUSY; - if (fWire) - fFlags |= VM_ALLOC_WIRED; - - while (cTries <= 1) - { -+#if __FreeBSD_version >= 1000030 -+ VM_OBJECT_WLOCK(pObject); -+#else - VM_OBJECT_LOCK(pObject); -+#endif - pPages = vm_page_alloc_contig(pObject, iPIndex, fFlags, cPages, 0, - VmPhysAddrHigh, uAlignment, 0, VM_MEMATTR_DEFAULT); -+#if __FreeBSD_version >= 1000030 -+ VM_OBJECT_WUNLOCK(pObject); -+#else - VM_OBJECT_UNLOCK(pObject); -+#endif - if (pPages) - break; - vm_pageout_grow_cache(cTries, 0, VmPhysAddrHigh); -@@ -264,7 +280,11 @@ - if (!pPage) - { - /* Free all allocated pages */ -+#if __FreeBSD_version >= 1000030 -+ VM_OBJECT_WLOCK(pObject); -+#else - VM_OBJECT_LOCK(pObject); -+#endif - while (iPage-- > 0) - { - pPage = vm_page_lookup(pObject, iPage); -@@ -278,7 +298,11 @@ - vm_page_unlock_queues(); - #endif - } -+#if __FreeBSD_version >= 1000030 -+ VM_OBJECT_WUNLOCK(pObject); -+#else - VM_OBJECT_UNLOCK(pObject); -+#endif - return rcNoMem; - } - } -@@ -417,9 +441,17 @@ - if (fContiguous) - { - Assert(enmType == RTR0MEMOBJTYPE_PHYS); -+#if __FreeBSD_version >= 1000030 -+ VM_OBJECT_WLOCK(pMemFreeBSD->pObject); -+#else - VM_OBJECT_LOCK(pMemFreeBSD->pObject); -+#endif - pMemFreeBSD->Core.u.Phys.PhysBase = VM_PAGE_TO_PHYS(vm_page_find_least(pMemFreeBSD->pObject, 0)); -+#if __FreeBSD_version >= 1000030 -+ VM_OBJECT_WUNLOCK(pMemFreeBSD->pObject); -+#else - VM_OBJECT_UNLOCK(pMemFreeBSD->pObject); -+#endif - pMemFreeBSD->Core.u.Phys.fAllocated = true; - } - -@@ -838,9 +870,17 @@ - case RTR0MEMOBJTYPE_PHYS_NC: - { - RTHCPHYS addr; -+#if __FreeBSD_version >= 1000030 -+ VM_OBJECT_WLOCK(pMemFreeBSD->pObject); -+#else - VM_OBJECT_LOCK(pMemFreeBSD->pObject); -+#endif - addr = VM_PAGE_TO_PHYS(vm_page_lookup(pMemFreeBSD->pObject, iPage)); -+#if __FreeBSD_version >= 1000030 -+ VM_OBJECT_WUNLOCK(pMemFreeBSD->pObject); -+#else - VM_OBJECT_UNLOCK(pMemFreeBSD->pObject); -+#endif - return addr; - } - diff --git a/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-memobj-r0drv-freebsd_VM_PAGEOUT_GROW_CACHE.c b/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-memobj-r0drv-freebsd_VM_PAGEOUT_GROW_CACHE.c deleted file mode 100644 index 95dc2fcc27d5..000000000000 --- a/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-memobj-r0drv-freebsd_VM_PAGEOUT_GROW_CACHE.c +++ /dev/null @@ -1,37 +0,0 @@ ---- src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c.orig 2014-03-17 14:08:04.000000000 -0400 -+++ src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c 2014-03-17 14:09:34.000000000 -0400 -@@ -211,7 +211,7 @@ - if (fWire) - fFlags |= VM_ALLOC_WIRED; - -- while (cTries <= 1) -+ while (1) - { - #if __FreeBSD_version >= 1000030 - VM_OBJECT_WLOCK(pObject); -@@ -225,18 +225,22 @@ - #else - VM_OBJECT_UNLOCK(pObject); - #endif -- if (pPages) -+ if (pPages || cTries >= 1) - break; -+#if __FreeBSD_version >= 1000015 - vm_pageout_grow_cache(cTries, 0, VmPhysAddrHigh); -+#else -+ vm_contig_grow_cache(cTries, 0, VmPhysAddrHigh); -+#endif - cTries++; - } - - return pPages; - #else -- while (cTries <= 1) -+ while (1) - { - pPages = vm_phys_alloc_contig(cPages, 0, VmPhysAddrHigh, uAlignment, 0); -- if (pPages) -+ if (pPages || cTries >= 1) - break; - vm_contig_grow_cache(cTries, 0, VmPhysAddrHigh); - cTries++; diff --git a/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-sleepqueue-r0drv-freebsd.h b/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-sleepqueue-r0drv-freebsd.h deleted file mode 100644 index e1ae4d7ea855..000000000000 --- a/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-sleepqueue-r0drv-freebsd.h +++ /dev/null @@ -1,20 +0,0 @@ -Without this patch any waits for periods shorter than a single tick return -immediately leading to a lot of unnecessary spinning. For example, I observe that -my guest's idle loop does a lot of sleeps with periods slightly shorter than 1 ms -(1/hz), e.g. 900us. All that waiting turns into pure spinning and VirtualBox eats -100% of a core. -The patch improves the situation significantly. Also, it (approximately) follows -what tvtohz does. - -Submitted by: Andriy Gapon <avg@FreeBSD.org> ---- src/VBox/Runtime/r0drv/freebsd/sleepqueue-r0drv-freebsd.h.orig 2012-12-19 19:27:29.000000000 +0100 -+++ src/VBox/Runtime/r0drv/freebsd/sleepqueue-r0drv-freebsd.h 2012-12-20 12:07:48.941861966 +0100 -@@ -82,6 +82,8 @@ - uint64_t cTicks = ASMMultU64ByU32DivByU32(uTimeout, hz, UINT32_C(1000000000)); - if (cTicks >= INT_MAX) - return RTSEMWAIT_FLAGS_INDEFINITE; -+ else if (cTicks == 0 && uTimeout > 0) -+ pWait->iTimeout = 1; - else - pWait->iTimeout = (int)cTicks; - #endif diff --git a/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-the-freebsd-kernel.h b/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-the-freebsd-kernel.h deleted file mode 100644 index 24acae278364..000000000000 --- a/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-the-freebsd-kernel.h +++ /dev/null @@ -1,14 +0,0 @@ -$FreeBSD$ - ---- src/VBox/Runtime/r0drv/freebsd/the-freebsd-kernel.h 2012-12-19 10:27:29.000000000 -0800 -+++ src/VBox/Runtime/r0drv/freebsd/the-freebsd-kernel.h 2013-03-20 19:10:15.854804053 -0700 -@@ -50,6 +50,9 @@ - #include <sys/unistd.h> - #include <sys/kthread.h> - #include <sys/lock.h> -+#if __FreeBSD_version >= 1000030 -+#include <sys/rwlock.h> -+#endif - #include <sys/mutex.h> - #include <sys/sched.h> - #include <sys/callout.h> diff --git a/emulators/virtualbox-ose-kmod-legacy/files/vboxnet.in b/emulators/virtualbox-ose-kmod-legacy/files/vboxnet.in deleted file mode 100644 index 073ee3764176..000000000000 --- a/emulators/virtualbox-ose-kmod-legacy/files/vboxnet.in +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: vboxnet -# REQUIRE: FILESYSTEMS NETWORKING ldconfig -# KEYWORD: nojail - -# -# Add the following lines to /etc/rc.conf.local or /etc/rc.conf -# to enable this service: -# -# vboxnet_enable (bool): Set to NO by default. -# Set it to YES to load network related kernel modules on startup - -. /etc/rc.subr - -name="vboxnet" -rcvar=vboxnet_enable -start_cmd="vboxnet_start" -stop_cmd="vboxnet_stop" - -vboxnet_start() -{ - if ! kldstat -q -m ng_vboxnetflt; - then - if ! kldload vboxnetflt > /dev/null 2>&1; - then - warn "Can't load vboxnetflt module." - return 1 - fi - fi - - if ! kldstat -q -m vboxnetadp; - then - if ! kldload vboxnetadp > /dev/null 2>&1; - then - warn "Can't load vboxnetadp module." - return 1 - fi - fi - - # initialize configured host-only interfaces - %%PREFIX%%/bin/VBoxManage list hostonlyifs >/dev/null -} - -vboxnet_stop() -{ - if kldstat -q -m vboxnetadp; - then - if ! kldunload vboxnetadp > /dev/null 2>&1; - then - warn "Can't unload vboxnetadp module." - return 1 - fi - fi - - if kldstat -q -m ng_vboxnetflt; - then - if ! kldunload vboxnetflt > /dev/null 2>&1; - then - warn "Can't unload vboxnetflt module." - return 1 - fi - fi -} - -load_rc_config $name - -: ${vboxnet_enable="NO"} - -run_rc_command "$1" diff --git a/emulators/virtualbox-ose-kmod-legacy/pkg-descr b/emulators/virtualbox-ose-kmod-legacy/pkg-descr deleted file mode 100644 index d10019c03792..000000000000 --- a/emulators/virtualbox-ose-kmod-legacy/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -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/ diff --git a/emulators/virtualbox-ose-kmod-legacy/pkg-plist b/emulators/virtualbox-ose-kmod-legacy/pkg-plist deleted file mode 100644 index 50d6e52825bb..000000000000 --- a/emulators/virtualbox-ose-kmod-legacy/pkg-plist +++ /dev/null @@ -1,7 +0,0 @@ -@cwd / -%%KMODDIR%%/vboxdrv.ko -%%WITH_DEBUG%%%%KMODDIR%%/vboxdrv.ko.symbols -%%KMODDIR%%/vboxnetadp.ko -%%WITH_DEBUG%%%%KMODDIR%%/vboxnetadp.ko.symbols -%%KMODDIR%%/vboxnetflt.ko -%%WITH_DEBUG%%%%KMODDIR%%/vboxnetflt.ko.symbols diff --git a/emulators/virtualbox-ose-legacy/Makefile b/emulators/virtualbox-ose-legacy/Makefile deleted file mode 100644 index 55ff96ae7e1b..000000000000 --- a/emulators/virtualbox-ose-legacy/Makefile +++ /dev/null @@ -1,293 +0,0 @@ -# Created by: Bernhard Froehlich <decke@bluelife.at> -# $FreeBSD$ - -PORTNAME= virtualbox-ose -DISTVERSION= 4.2.22 -CATEGORIES= emulators -MASTER_SITES= http://download.virtualbox.org/virtualbox/${DISTVERSION}/ \ - http://tmp.chruetertee.ch/ \ - http://disasterarea.chruetertee.ch/ \ - http://download.virtualbox.org/virtualbox/${VBOX_GUEST_VER}/:guestadditions -PKGNAMESUFFIX= -legacy -DISTFILES= VirtualBox-${DISTVERSION}${EXTRACT_SUFX} ${GADISTFILES} -EXTRACT_ONLY= VirtualBox-${DISTVERSION}${EXTRACT_SUFX} - -MAINTAINER= ports@FreeBSD.org -COMMENT= General-purpose full virtualizer for x86 hardware - -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING - -BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm \ - xsltproc:${PORTSDIR}/textproc/libxslt \ - kmk:${PORTSDIR}/devel/kBuild \ - gtar:${PORTSDIR}/archivers/gtar \ - cdrecord:${PORTSDIR}/sysutils/cdrtools \ - python:${PORTSDIR}/lang/python -LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \ - libxslt.so:${PORTSDIR}/textproc/libxslt \ - libcurl.so:${PORTSDIR}/ftp/curl -RUN_DEPENDS= ${KMODDIR}/vboxdrv.ko:${PORTSDIR}/emulators/virtualbox-ose-kmod-legacy \ - cdrecord:${PORTSDIR}/sysutils/cdrtools - -WRKSRC= ${WRKDIR}/VirtualBox-${PORTVERSION} -ONLY_FOR_ARCHS= i386 amd64 -USES= iconv pkgconfig tar:bzip2 -USE_GCC= any -USE_GNOME= libidl -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_PKGNAME= vboxapi -PYDISTUTILS_PKGVERSION= 1.0 -PYDISTUTILS_NOEGGINFO= yes - -HAS_CONFIGURE= yes -CONFIGURE_ARGS+=--with-gcc="${CC}" --with-g++="${CXX}" --passive-mesa -USE_LDCONFIG= ${PREFIX}/lib/virtualbox - -CONFLICTS_INSTALL= virtualbox-ose-4* virtualbox-ose-devel-4* virtualbox-ose-additions-4* virtualbox-ose-additions-devel-4* - -VBOXUSER?= vboxusers -VBOXWSUSER?= vboxusers -VBOXGROUP?= vboxusers -USERS= ${VBOXUSER} -GROUPS= ${VBOXGROUP} -VBOX_FRONTENDS= VBoxAutostart VBoxHeadless -VBOX_GUEST_VER= ${PORTVERSION} - -OPTIONS_DEFINE= QT4 DEBUG GUESTADDITIONS DBUS PULSEAUDIO UDPTUNNEL VDE VNC WEBSERVICE NLS X11 -OPTIONS_DEFAULT= QT4 DBUS X11 UDPTUNNEL VNC -OPTIONS_SUB= X11 QT4 GUESTADDITIONS VNC NLS WEBSERVICE -DEBUG_DESC= Debug symbols, additional logs and assertions -QT4_DESC= Build with QT4 Frontend -GUESTADDITIONS_DESC= Build with Guest Additions -UDPTUNNEL_DESC= Build with UDP tunnel support -VDE_DESC= Build with VDE support -VNC_DESC= Build with VNC support -WEBSERVICE_DESC= Build Webservice - -PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio -PULSEAUDIO_CONFIGURE_OFF= --disable-pulse - -DBUS_LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus -DBUS_CONFIGURE_OFF= --disable-dbus - -VNC_LIB_DEPENDS= libvncserver.so:${PORTSDIR}/net/libvncserver -VNC_CONFIGURE_ON= --enable-vnc - -VDE_RUN_DEPENDS= vde_switch:${PORTSDIR}/net/vde2 -VDE_CONFIGURE_ON= --enable-vde - -# bmake doesn't know about unsetenv=true -.if defined(.PARSEDIR) -ENV= -.export ENV -.else -.SHELL: path="/bin/sh" unsetenv=true -.endif - -NO_STAGE= yes -.include <bsd.port.options.mk> - -KMODDIR= /boot/modules - -PLIST_SUB+= PYTHON_VER=${PYTHON_VER} \ - PYTHON_VERU=${PYTHON_VER:S/./_/} \ - GUEST_VER=${VBOX_GUEST_VER} - -SUB_LIST+= VBOXUSER=${VBOXUSER} \ - VBOXWSUSER=${VBOXWSUSER} -USE_RC_SUBR+= vboxheadless vboxwatchdog - -KMK_BUILDTYPE= release -KMK_CONFIG= VBOX_LIBPATH_X11=${LOCALBASE} VBOX_FREEBSD_SRC=${SRC_BASE}/sys -KMK_FLAGS= -j 1 - -.if empty(PORT_OPTIONS:MQT4) && !empty(PORT_OPTIONS:MNLS) -BROKEN= NLS support requires QT4 frontend. Run 'make config' again! -.endif - -.if empty(PORT_OPTIONS:MX11) && !empty(PORT_OPTIONS:MQT4) -BROKEN= QT4 frontend requires X11 support. Run 'make config' again! -.endif - -.if ${PORT_OPTIONS:MX11} -USE_SDL= sdl -USE_XORG= xcursor xmu inputproto xinerama -VBOX_FRONTENDS+=VBoxBFE VBoxSDL -.else -CONFIGURE_ARGS+=--build-headless -.endif - -.if ${PORT_OPTIONS:MQT4} -QT_NONSTANDARD= yes -USE_QT4= gui network moc_build opengl uic_build rcc_build linguist -INSTALLS_ICONS= yes -VBOX_FRONTENDS+=VirtualBox VBoxTestOGL -.else -CONFIGURE_ARGS+=--disable-qt4 -.endif - -.if ${PORT_OPTIONS:MGUESTADDITIONS} -GUESTADDITIONS= VBoxGuestAdditions_${VBOX_GUEST_VER}.iso -GADISTFILES= ${GUESTADDITIONS}:guestadditions -RESTRICTED= for personal use only -RESTRICTED_FILES= ${GUESTADDITIONS} -.endif - -.if ${PORT_OPTIONS:MDEBUG} -KMK_BUILDTYPE= debug -KMK_FLAGS+= BUILD_TYPE=debug -.endif - -.if ${PORT_OPTIONS:MWEBSERVICE} -BUILD_DEPENDS+= soapcpp2:${PORTSDIR}/devel/gsoap -VBOX_WEB= vboxwebsrv webtest -USE_RC_SUBR+= vboxwebsrv -.endif - -.if ${ARCH} == i386 -KMK_ARCH= freebsd.x86 -PLIST_SUB+= I386="" -.else -KMK_ARCH= freebsd.${ARCH} -PLIST_SUB+= I386="@comment " -.endif - -PLIST_SUB+= ARCH="${KMK_ARCH}" - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 900000 && ${OSVERSION} > 801500 -EXTRA_PATCHES+= ${FILESDIR}/extrapatch-src-VBox-Devices-PC-vbox.dsl -.endif - -pre-everything:: -.if ${ARCH} == "amd64" -.if !exists(/usr/lib32/libc.so) - @${ECHO} 'Requires 32-bit libraries installed under /usr/lib32.' - @${ECHO} 'Do: cd /usr/src; make build32 install32; /etc/rc.d/ldconfig restart' - @${FALSE} -.endif -.endif - -post-patch: - @${ECHO} 'VBOX_PATH_APP_PRIVATE_ARCH = ${PREFIX}/lib/virtualbox' > ${WRKSRC}/LocalConfig.kmk - @${ECHO} 'VBOX_PATH_SHARED_LIBS = ${PREFIX}/lib/virtualbox' >> ${WRKSRC}/LocalConfig.kmk - @var=${_GCC_RUNTIME}; ${ECHO} "VBOX_WITH_RUNPATH = $${var:+$${var}:}${PREFIX}/lib/virtualbox" >> ${WRKSRC}/LocalConfig.kmk - @${ECHO} 'VBOX_PATH_APP_PRIVATE = ${DATADIR}' >> ${WRKSRC}/LocalConfig.kmk - @${ECHO} 'VBOX_PATH_APP_DOCS = ${DOCSDIR}' >> ${WRKSRC}/LocalConfig.kmk - @${ECHO} 'VBOX_WITH_INSTALLER = 1' >> ${WRKSRC}/LocalConfig.kmk - @${ECHO} 'VBOX_WITH_VBOXDRV = ' >> ${WRKSRC}/LocalConfig.kmk - @${ECHO} 'VBOX_WITH_VIDEOHWACCEL = 1' >> ${WRKSRC}/LocalConfig.kmk - @${ECHO} 'VBOX_WITH_NETFLT = 1' >> ${WRKSRC}/LocalConfig.kmk - @${ECHO} 'VBOX_WITH_NETADP = ' >> ${WRKSRC}/LocalConfig.kmk - @${ECHO} 'VBOX_WITH_TESTCASES=' >> ${WRKSRC}/LocalConfig.kmk - @${ECHO} 'SDK_VBOX_LIBPNG_INCS = ${PREFIX}/include/libpng' >> ${WRKSRC}/LocalConfig.kmk - @${ECHO} 'SDK_VBOX_LIBPNG_LIBS = png' >> ${WRKSRC}/LocalConfig.kmk - @${ECHO} 'VBOX_WITH_ADDITIONS=' >> ${WRKSRC}/LocalConfig.kmk - @${ECHO} 'VBOX_WITH_X11_ADDITIONS=' >> ${WRKSRC}/LocalConfig.kmk -.if ${PORT_OPTIONS:MVNC} - @${ECHO} 'VBOX_WITH_EXTPACK_VNC = 1' >> ${WRKSRC}/LocalConfig.kmk -.endif -.if ${PORT_OPTIONS:MUDPTUNNEL} - @${ECHO} 'VBOX_WITH_UDPTUNNEL = 1' >> ${WRKSRC}/LocalConfig.kmk -.endif -.if ${PORT_OPTIONS:MWEBSERVICE} - @${ECHO} 'VBOX_WITH_WEBSERVICES = 1' >> ${WRKSRC}/LocalConfig.kmk - @${ECHO} 'VBOX_GSOAP_INSTALLED = 1' >> ${WRKSRC}/LocalConfig.kmk - @${ECHO} 'VBOX_PATH_GSOAP = ${PREFIX}/lib/gsoap' >> ${WRKSRC}/LocalConfig.kmk - @${ECHO} 'VBOX_PATH_GSOAP_BIN = ${PREFIX}/bin' >> ${WRKSRC}/LocalConfig.kmk - @${ECHO} 'VBOX_PATH_GSOAP_IMPORT = ${PREFIX}/share/gsoap/import' >> ${WRKSRC}/LocalConfig.kmk - @${ECHO} 'VBOX_GCC_PEDANTIC_CXX = -Wshadow $(VBOX_GCC_WARN) -Wno-long-long' >> ${WRKSRC}/LocalConfig.kmk -.endif - @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ - ${WRKSRC}/Config.kmk ${WRKSRC}/configure \ - ${WRKSRC}/kBuild/units/qt3.kmk ${WRKSRC}/kBuild/units/qt4.kmk \ - ${WRKSRC}/kBuild/sdks/LIBSDL.kmk \ - ${WRKSRC}/src/libs/xpcom18a4/python/gen_python_deps.py - @${REINPLACE_CMD} -e 's|\$$KBUILDDIR_BIN/kmk_sed|${LOCALBASE}/bin/kmk_sed|g' ${WRKSRC}/configure -.if empty(ICONV_LIB) - @${REINPLACE_CMD} -e 's|iconv||' ${WRKSRC}/Config.kmk ${WRKSRC}/src/VBox/Runtime/Makefile.kmk - @${ECHO} 'VBOX_ICONV_DEFS = LIBICONV_PLUG' >> ${WRKSRC}/LocalConfig.kmk -.endif - -pre-build: - @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' \ - ${WRKSRC}/env.sh - -do-build: - cd ${WRKSRC} && ${SH} env.sh && ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS} - -do-install: - ${MKDIR} ${DATADIR} - (cd ${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE}/bin/sdk/bindings/xpcom && ${COPYTREE_SHARE} "idl samples" ${DATADIR}) - - ${MKDIR} ${PREFIX}/include/virtualbox - (cd ${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE}/bin/sdk/bindings/xpcom/include && ${COPYTREE_SHARE} "*" ${PREFIX}/include/virtualbox) - - ${MKDIR} ${PREFIX}/lib/virtualbox - (cd ${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE}/bin && ${COPYTREE_SHARE} "*.so *.gc *.r0 *.fd components VBoxExtPackHelperApp" ${PREFIX}/lib/virtualbox) - -.if ${PORT_OPTIONS:MNLS} - ${MKDIR} ${DATADIR}/nls - (cd ${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE}/obj/VirtualBox/qtnls && ${COPYTREE_SHARE} "*.qm" ${DATADIR}/nls) -.endif - - ${MKDIR} ${PREFIX}/bin -.for f in VBoxManage VBoxNetAdpCtl VBoxNetDHCP VBoxSVC VBoxXPCOMIPCD VBoxBalloonCtrl ${VBOX_FRONTENDS} ${VBOX_WEB} - ${INSTALL_PROGRAM} ${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE}/bin/${f} ${PREFIX}/lib/virtualbox/ - ${LN} -sf ${PREFIX}/lib/virtualbox/${f} ${PREFIX}/bin/ -.endfor - -.for f in VBoxNetAdpCtl VBoxNetDHCP ${VBOX_FRONTENDS} - ${CHMOD} 4511 ${PREFIX}/lib/virtualbox/${f} -.endfor - -.for f in VBoxManage VBoxSVC VBoxXPCOMIPCD VBoxExtPackHelperApp VBoxBalloonCtrl - ${CHMOD} 0711 ${PREFIX}/lib/virtualbox/${f} -.endfor - -.if ${PORT_OPTIONS:MVNC} - ${MKDIR} ${PREFIX}/lib/virtualbox/ExtensionPacks - ${CP} -a ${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE}/bin/ExtensionPacks/VNC ${PREFIX}/lib/virtualbox/ExtensionPacks -.endif - -.if ${PORT_OPTIONS:MWEBSERVICE} - ${MKDIR} ${DATADIR}/sdk/bindings/webservice -.for f in vboxweb.wsdl vboxwebService.wsdl - ${INSTALL_DATA} ${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE}/bin/sdk/bindings/webservice/${f} ${DATADIR}/sdk/bindings/webservice/ -.endfor -.endif - -.if ${PORT_OPTIONS:MGUESTADDITIONS} - ${MKDIR} ${PREFIX}/lib/virtualbox/additions - ${INSTALL_DATA} ${DISTDIR}/${GUESTADDITIONS} ${PREFIX}/lib/virtualbox/additions/ - ${LN} -sf ${PREFIX}/lib/virtualbox/additions/${GUESTADDITIONS} ${PREFIX}/lib/virtualbox/additions/VBoxGuestAdditions.iso -.endif - - cd ${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE}/bin/sdk/installer && \ - VBOX_INSTALL_PATH="${PREFIX}/lib/virtualbox" ${PYTHON_CMD} vboxapisetup.py install - - @${MKDIR} ${PYTHON_SITELIBDIR} - (cd ${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE}/bin/sdk/bindings/xpcom/python && ${COPYTREE_SHARE} "*" ${PYTHON_SITELIBDIR}) - ${PYTHON_CMD} -mcompileall ${PYTHON_SITELIBDIR}/xpcom/ - -post-install: -.for f in VBoxManage VBoxNetDHCP VBoxSVC VBoxXPCOMIPCD VBoxExtPackHelperApp VBoxBalloonCtrl ${VBOX_FRONTENDS} - ${CHOWN} root:${VBOXGROUP} ${PREFIX}/lib/virtualbox/${f} -.endfor - - @${FIND} ${DATADIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755 - @${FIND} ${PREFIX}/include/virtualbox -type d -print0 | ${XARGS} -0 ${CHMOD} 755 - @${FIND} ${PREFIX}/lib/virtualbox -type d -print0 | ${XARGS} -0 ${CHMOD} 755 - -.if ${PORT_OPTIONS:MQT4} - ${MKDIR} ${PREFIX}/share/pixmaps/ - ${INSTALL_DATA} ${WRKSRC}/src/VBox/Frontends/VirtualBox/images/OSE/VirtualBox_48px.png ${PREFIX}/share/pixmaps/VBox.png - ${MKDIR} ${PREFIX}/share/applications/ - ${INSTALL_DATA} ${WRKSRC}/src/VBox/Installer/freebsd/virtualbox.desktop ${PREFIX}/share/applications/virtualbox.desktop -.endif - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.post.mk> diff --git a/emulators/virtualbox-ose-legacy/distinfo b/emulators/virtualbox-ose-legacy/distinfo deleted file mode 100644 index c1afb8b75a1e..000000000000 --- a/emulators/virtualbox-ose-legacy/distinfo +++ /dev/null @@ -1,4 +0,0 @@ -SHA256 (VirtualBox-4.2.22.tar.bz2) = 4a017ec5fa0e0cfa830ae6c2b9d680c9b108e5fb96348e1397a7d0ea051f8bc1 -SIZE (VirtualBox-4.2.22.tar.bz2) = 77039185 -SHA256 (VBoxGuestAdditions_4.2.22.iso) = 222e003d038b757cd761361bb5da33123e0f9574af246fb95eb558593c8c7c76 -SIZE (VBoxGuestAdditions_4.2.22.iso) = 59686912 diff --git a/emulators/virtualbox-ose-legacy/files/extrapatch-src-VBox-Devices-PC-vbox.dsl b/emulators/virtualbox-ose-legacy/files/extrapatch-src-VBox-Devices-PC-vbox.dsl deleted file mode 100644 index 0de4a378a79a..000000000000 --- a/emulators/virtualbox-ose-legacy/files/extrapatch-src-VBox-Devices-PC-vbox.dsl +++ /dev/null @@ -1,21 +0,0 @@ -Workaround for an regression in acpica 20101015. - -Compile error: -kBuild: iasl DevicesR3 - src/VBox/Devices/PC/vbox.dsl - 736: Name (_CID, "smc-napa") -Error 4001 - String must be entirely alphanumeric ^ -(smc-napa) - -See: http://lists.freebsd.org/pipermail/freebsd-acpi/2010-October/006795.html - ---- src/VBox/Devices/PC/vbox.dsl.orig 2010-10-08 22:10:12.000000000 +0200 -+++ src/VBox/Devices/PC/vbox.dsl 2010-10-27 14:45:38.000000000 +0200 -@@ -733,7 +733,7 @@ - Device (SMC) - { - Name (_HID, EisaId ("APP0001")) -- Name (_CID, "smc-napa") -+ Name (_CID, "smcnapa") - - Method (_STA, 0, NotSerialized) - { diff --git a/emulators/virtualbox-ose-legacy/files/patch-Config.kmk b/emulators/virtualbox-ose-legacy/files/patch-Config.kmk deleted file mode 100644 index ad27fa4684e3..000000000000 --- a/emulators/virtualbox-ose-legacy/files/patch-Config.kmk +++ /dev/null @@ -1,67 +0,0 @@ ---- Config.kmk.orig 2013-11-28 19:29:52.000000000 +0100 -+++ Config.kmk 2013-12-17 20:15:54.000000000 +0100 -@@ -3260,16 +3260,16 @@ - $(VBOX_GCC_WARN) -Wpointer-arith -Winline $(VBOX_GCC_Wno-pointer-sign) $(VBOX_GCC_fdiagnostics-show-option) \ - -Wstrict-prototypes -Wmissing-prototypes -Wstrict-prototypes \ - -Wimplicit-function-declaration -Werror-implicit-function-declaration \ -- -O2 -fformat-extensions -ffreestanding -fno-strict-aliasing -fno-common -finline-limit=8000 \ -+ -O2 -ffreestanding -fno-strict-aliasing -fno-common -finline-limit=8000 \ - $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \ - -nostdinc -std=c99 --TEMPLATE_VBOXR0DRV_CFLAGS.x86 = -m32 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -+TEMPLATE_VBOXR0DRV_CFLAGS.x86 = -m32 -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 - TEMPLATE_VBOXR0DRV_CFLAGS.amd64 = -m64 --param inline-unit-growth=100 --param large-function-growth=1000 \ - -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx \ - -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -Wundef - TEMPLATE_VBOXR0DRV_CXXFLAGS = -fno-exceptions -fno-rtti \ - $(VBOX_GCC_WARN) -Wpointer-arith -Winline \ -- -O2 -fno-format-extensions -fno-strict-aliasing -fno-common -finline-limit=8000 \ -+ -O2 -fno-strict-aliasing -fno-common -finline-limit=8000 \ - $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) \ - -nostdinc - TEMPLATE_VBOXR0DRV_CXXFLAGS.x86 = $(TEMPLATE_VBOXR0DRV_CFLAGS.x86) -@@ -3486,8 +3486,6 @@ - /usr/X11R6/include \ - /usr/local/include - TEMPLATE_VBOXR3EXE_LIBPATH += \ -- /usr/lib \ -- /usr/X11R6/lib \ - /usr/local/lib - else ifeq ($(KBUILD_TARGET),solaris) - TEMPLATE_VBOXR3EXE_TOOL = GXX3PLAIN -@@ -3670,7 +3668,7 @@ - # not necessary except USE_LIB_PCAP is defined in SUPR3HardenedMain.cpp - # TEMPLATE_VBOXR3HARDENEDEXE_LIBS += cap - endif --ifn1of ($(KBUILD_TARGET), win os2) -+ifn1of ($(KBUILD_TARGET), win os2 freebsd) - TEMPLATE_VBOXR3HARDENEDEXE_LDFLAGS = $(filter-out '$(VBOX_GCC_RPATH_OPT)%,$(TEMPLATE_VBOXR3EXE_LDFLAGS)) - TEMPLATE_VBOXR3HARDENEDEXE_LDFLAGS.linux = $(filter-out $(VBOX_GCC_ORIGIN_OPT),$(TEMPLATE_VBOXR3EXE_LDFLAGS.linux)) - endif -@@ -3976,8 +3974,6 @@ - /usr/X11R6/include \ - /usr/local/include - TEMPLATE_VBOXMAINEXE_LIBPATH += \ -- /usr/lib \ -- /usr/X11R6/lib \ - /usr/local/lib - else ifeq ($(KBUILD_TARGET),solaris) - TEMPLATE_VBOXMAINEXE_TOOL = GXX3PLAIN -@@ -4392,8 +4388,6 @@ - /usr/X11R6/include \ - /usr/local/include - TEMPLATE_VBOXQT4GUIEXE_LIBPATH += \ -- /usr/lib \ -- /usr/X11R6/lib \ - /usr/local/lib - endif - ifeq ($(KBUILD_TARGET),solaris) -@@ -4576,8 +4570,6 @@ - /usr/X11R6/include \ - /usr/local/include - TEMPLATE_VBOXBLDPROG_LIBPATH += \ -- /usr/lib \ -- /usr/X11R6/lib \ - /usr/local/lib - else ifeq ($(KBUILD_HOST),solaris) - TEMPLATE_VBOXBLDPROG_TOOL = GXX3PLAIN diff --git a/emulators/virtualbox-ose-legacy/files/patch-configure b/emulators/virtualbox-ose-legacy/files/patch-configure deleted file mode 100644 index 4bea77d203cc..000000000000 --- a/emulators/virtualbox-ose-legacy/files/patch-configure +++ /dev/null @@ -1,22 +0,0 @@ ---- configure.orig 2012-03-16 10:34:01.000000000 +0100 -+++ configure 2012-03-24 18:52:57.271018829 +0100 -@@ -135,6 +135,8 @@ - LIBPULSE="-L/usr/local/lib" - INCPNG="-I/usr/local/include" - LIBPNG="-L/usr/local/lib -lpng" -+ INCVNCSERVER="-I/usr/local/include" -+ LIBVNCSERVER="-L/usr/local/lib" - else - INCCURL="" - LIBCURL="-lcurl" -@@ -1837,8 +1839,8 @@ - echo "compiling the following source file:" >> $LOG - cat $ODIR.tmp_src.cc >> $LOG - echo "using the following command line:" >> $LOG -- echo "$CXX -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc -I$p/include/$d $p/$b/lib$d.so" >> $LOG -- $CXX -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc -I$p/include/$d $p/$b/lib$d.so >> $LOG 2>&1 -+ echo "$CXX -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc -I$p/include/$d $p/$b/lib$d.so -pthread" >> $LOG -+ $CXX -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc -I$p/include/$d $p/$b/lib$d.so -pthread >> $LOG 2>&1 - if [ $? -eq 0 ]; then - found=1 - break diff --git a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Devices-Audio-ossaudio.c b/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Devices-Audio-ossaudio.c deleted file mode 100644 index 652430cb222e..000000000000 --- a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Devices-Audio-ossaudio.c +++ /dev/null @@ -1,19 +0,0 @@ -Fix recording with OSS Audio backend to record at a proper volume - -Obtained from: https://www.virtualbox.org/ticket/10695 ---- src/VBox/Devices/Audio/ossaudio.c.orig 2012-12-19 19:26:32.000000000 +0100 -+++ src/VBox/Devices/Audio/ossaudio.c 2012-12-20 12:23:18.476851732 +0100 -@@ -795,13 +795,8 @@ - hw->info.align + 1); - } - read_samples += nread >> hwshift; --#ifndef VBOX - hw->conv (hw->conv_buf + bufs[i].add, p, nread >> hwshift, - &nominal_volume); --#else -- hw->conv (hw->conv_buf + bufs[i].add, p, nread >> hwshift, -- &pcm_in_volume); --#endif - } - - if (bufs[i].len - nread) { diff --git a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Devices-Bus-DevPciIch9.cpp b/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Devices-Bus-DevPciIch9.cpp deleted file mode 100644 index 6354f1e1ca65..000000000000 --- a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Devices-Bus-DevPciIch9.cpp +++ /dev/null @@ -1,22 +0,0 @@ -Fix ich9 bios to correctly configure pci bridge1 and pci bridge2 - -avg: I think that it is a valid report, the patch is not perfect, but -avg: it fixes the problem for most configurations and demonstrates the problem well -avg: the explanation for them is that FreeBSD (unlike Linux and maybe other OSes) -avg: entirely relies on platform doing correct bus numbering -avg: currently we can not do any re-numbering/corrections - -See: http://article.gmane.org/gmane.os.freebsd.devel.emulation/10438 -Submitted by: Gustau Perez i Querol <gperez@entel.upc.edu> ---- src/VBox/Devices/Bus/DevPciIch9.cpp.orig 2012-06-15 21:22:15.000000000 +0200 -+++ src/VBox/Devices/Bus/DevPciIch9.cpp 2012-09-02 14:17:49.804118887 +0200 -@@ -1812,7 +1812,8 @@ - PICH9PCIBUS pChildBus = PDMINS_2_DATA(pBridge->pDevIns, PICH9PCIBUS); - ich9pciInitBridgeTopology(pGlobals, pChildBus); - } -- PCIDevSetByte(pBridgeDev, VBOX_PCI_SUBORDINATE_BUS, pGlobals->uBus); -+ PCIDevSetByte(pBridgeDev, VBOX_PCI_PRIMARY_BUS, 0); -+ PCIDevSetByte(pBridgeDev, VBOX_PCI_SUBORDINATE_BUS, (pGlobals->uBus)-1); - Log2(("ich9pciInitBridgeTopology: for bus %p: primary=%d secondary=%d subordinate=%d\n", - pBus, - PCIDevGetByte(pBridgeDev, VBOX_PCI_PRIMARY_BUS), diff --git a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Devices-PC-vbox.dsl b/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Devices-PC-vbox.dsl deleted file mode 100644 index 56437ffcc02c..000000000000 --- a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Devices-PC-vbox.dsl +++ /dev/null @@ -1,20 +0,0 @@ ---- src/VBox/Devices/PC/vbox.dsl.orig 2011-04-28 10:00:53.000000000 +0200 -+++ src/VBox/Devices/PC/vbox.dsl 2011-07-25 19:36:06.000000000 +0200 -@@ -1161,7 +1161,7 @@ - // (all of low memory space) - ResourceProducer, // bit 0 of general flags is 0 - PosDecode, // positive Decode -- MinNotFixed, // Range is not fixed -+ MinFixed, // Range is not fixed - MaxFixed, // Range is fixed - Cacheable, - ReadWrite, -@@ -1170,7 +1170,7 @@ - - 0xffdfffff, // Max = 4GB - 2MB - 0x00000000, // Translation -- 0x00000000, // Range Length (calculated -+ 0xffe00000, // Range Length (calculated - // dynamically) - , // Optional field left blank - , // Optional field left blank diff --git a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Frontends-VirtualBox-Makefile.kmk b/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Frontends-VirtualBox-Makefile.kmk deleted file mode 100644 index 7723674c7961..000000000000 --- a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Frontends-VirtualBox-Makefile.kmk +++ /dev/null @@ -1,13 +0,0 @@ ---- src/VBox/Frontends/VirtualBox/Makefile.kmk.orig 2013-10-16 21:47:09.588793988 +0400 -+++ src/VBox/Frontends/VirtualBox/Makefile.kmk 2013-10-16 21:47:37.458794265 +0400 -@@ -175,10 +175,6 @@ - # Necessary for the hdd backend enumeration - VirtualBox_LIBS = $(LIB_DDU) - --if1of ($(KBUILD_TARGET), linux freebsd netbsd openbsd) -- VirtualBox_LIBS += dl --endif -- - # This library is required for multi-monitor support - VirtualBox_LIBS.linux += Xinerama - VirtualBox_LIBS.solaris += Xinerama diff --git a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Installer-Makefile.kmk b/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Installer-Makefile.kmk deleted file mode 100644 index 7f226b633c9b..000000000000 --- a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Installer-Makefile.kmk +++ /dev/null @@ -1,15 +0,0 @@ ---- src/VBox/Installer/Makefile.kmk.orig 2009-10-05 14:31:40.000000000 +0200 -+++ src/VBox/Installer/Makefile.kmk 2009-10-05 14:32:09.000000000 +0200 -@@ -38,10 +38,12 @@ - if "$(KBUILD_TARGET)" == "win" && "$(KBUILD_HOST)" == "win" - include $(PATH_SUB_CURRENT)/win/Makefile.kmk - endif -+if 0 - if "$(KBUILD_TARGET)" == "freebsd" && "$(KBUILD_HOST)" == "freebsd" - include $(PATH_SUB_CURRENT)/freebsd/Makefile.kmk - endif - endif -+endif - - include $(PATH_SUB_CURRENT)/common/Makefile.kmk - diff --git a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Installer-freebsd-virtualbox.desktop b/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Installer-freebsd-virtualbox.desktop deleted file mode 100644 index 8f43a89b8d8d..000000000000 --- a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Installer-freebsd-virtualbox.desktop +++ /dev/null @@ -1,10 +0,0 @@ ---- src/VBox/Installer/freebsd/virtualbox.desktop.orig 2010-10-07 10:42:04.000000000 +0200 -+++ src/VBox/Installer/freebsd/virtualbox.desktop 2010-10-07 10:43:20.000000000 +0200 -@@ -7,7 +7,6 @@ - Type=Application - Exec=VirtualBox - TryExec=VirtualBox --DocPath=file://$VBOX_DOC_PATH/UserManual.pdf - Icon=VBox - Categories=Emulator;System; - Comment=Run several virtual systems on a single host computer diff --git a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Main-scr-server-freebsd-PerformanceFreeBSD.cpp b/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Main-scr-server-freebsd-PerformanceFreeBSD.cpp deleted file mode 100644 index 9ef5b64d7175..000000000000 --- a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Main-scr-server-freebsd-PerformanceFreeBSD.cpp +++ /dev/null @@ -1,13 +0,0 @@ ---- src/VBox/Main/src-server/freebsd/PerformanceFreeBSD.cpp.orig 2012-10-19 19:51:26.256773940 +0400 -+++ src/VBox/Main/src-server/freebsd/PerformanceFreeBSD.cpp 2012-10-19 19:51:49.835771918 +0400 -@@ -109,5 +109,10 @@ - return E_NOTIMPL; - } - -+int getDiskListByFs(const char *name, DiskList& list) -+{ -+ return VERR_NOT_IMPLEMENTED; -+} -+ - } /* namespace pm */ - diff --git a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Main-src-server-freebsd-HostHardwareFreeBSD.cpp b/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Main-src-server-freebsd-HostHardwareFreeBSD.cpp deleted file mode 100644 index c77c65da5b21..000000000000 --- a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Main-src-server-freebsd-HostHardwareFreeBSD.cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- src/VBox/Main/src-server/freebsd/HostHardwareFreeBSD.cpp.orig 2012-12-19 19:27:17.000000000 +0100 -+++ src/VBox/Main/src-server/freebsd/HostHardwareFreeBSD.cpp 2012-12-20 14:55:59.501850255 +0100 -@@ -40,6 +40,7 @@ - # include <sys/stat.h> - # include <unistd.h> - # include <sys/ioctl.h> -+# include <stdio.h> - # include <fcntl.h> - # include <cam/cam.h> - # include <cam/cam_ccb.h> diff --git a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Main-src-server-freebsd-NetIf-freebsd.cpp b/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Main-src-server-freebsd-NetIf-freebsd.cpp deleted file mode 100644 index e55f2d2bb100..000000000000 --- a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Main-src-server-freebsd-NetIf-freebsd.cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp.orig 2012-12-19 19:27:17.000000000 +0100 -+++ src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp 2012-12-20 14:55:59.492850918 +0100 -@@ -44,6 +44,7 @@ - #include <netinet/in.h> - - #include <stdio.h> -+#include <stdlib.h> - #include <unistd.h> - #include <errno.h> - diff --git a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Main-webservice-Makefile.kmk b/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Main-webservice-Makefile.kmk deleted file mode 100644 index 0f80ecabe040..000000000000 --- a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Main-webservice-Makefile.kmk +++ /dev/null @@ -1,42 +0,0 @@ -Ticket #11803: Fails to build with gSOAP 2.8.13 -https://www.virtualbox.org/ticket/11803 - ---- src/VBox/Main/webservice/Makefile.kmk.orig 2013-12-18 11:10:26.000000000 -0500 -+++ src/VBox/Main/webservice/Makefile.kmk 2014-01-09 15:56:26.000000000 -0500 -@@ -159,7 +159,6 @@ - RECOMPILE_ON_MAKEFILE_CURRENT := $(MAKEFILE_CURRENT) - - PATH_TARGET_SOAPDEMOXML := $(VBOXWEB_OUT_DIR)/demo_soapxml --PATH_TARGET_SOAPDEMOHEADERS := $(VBOXWEB_OUT_DIR)/demo_headers - PATH_TARGET_SOAPDEMONSMAPS := $(VBOXWEB_OUT_DIR)/demo_namespacemaps - PATH_TARGET_WEBTEST := $(VBOXWEB_OUT_DIR)/webtest - -@@ -512,8 +511,6 @@ - $(VBOXWEB_OUT_DIR)/gsoap_copy_all_ts \ - $(wildcard $(PATH_TARGET_SOAPDEMOXML)/*) \ - $(PATH_TARGET_SOAPDEMOXML)/dummy_file \ -- $(wildcard $(PATH_TARGET_SOAPDEMOHEADERS)/*) \ -- $(PATH_TARGET_SOAPDEMOHEADERS)/dummy_file \ - $(wildcard $(PATH_TARGET_SOAPDEMONSMAPS)/*) \ - $(PATH_TARGET_SOAPDEMONSMAPS)/dummy_file - -@@ -690,17 +687,14 @@ - # want to use wildcard (all commands are expaned when the rule is evaluated). - $(VBOXWEB_OUT_DIR)/gsoap_copy_all_ts: $(VBOXWEB_OUT_DIR)/gsoap_generate_all_ts | $$(dir $$@) - $(RM) -f $@ -- $(MKDIR) -p $(PATH_TARGET_SOAPDEMOXML) $(PATH_TARGET_SOAPDEMOHEADERS) $(PATH_TARGET_SOAPDEMONSMAPS) -+ $(MKDIR) -p $(PATH_TARGET_SOAPDEMOXML) $(PATH_TARGET_SOAPDEMONSMAPS) - ifdef VBOX_GSOAP_VERBOSE - $(MV) -f $(wildcard $(VBOXWEB_OUT_DIR)/*.req.xml $(VBOXWEB_OUT_DIR)/*.res.xml) $(PATH_TARGET_SOAPDEMOXML) - endif -- $(MV) -f $(wildcard $(VBOXWEB_OUT_DIR)/soapvbox*.h) $(PATH_TARGET_SOAPDEMOHEADERS) - $(MV) -f $(VBOXWEB_OUT_DIR)/vboxBinding.nsmap $(PATH_TARGET_SOAPDEMONSMAPS) - $(APPEND) $@ done - --$(PATH_TARGET_SOAPDEMONSMAPS) \ --$(PATH_TARGET_SOAPDEMOHEADERS)/soapvboxBindingProxy.h \ --$(PATH_TARGET_SOAPDEMOHEADERS)/soapvboxBindingObject.h: $(VBOXWEB_OUT_DIR)/gsoap_copy_all_ts -+$(PATH_TARGET_SOAPDEMONSMAPS): $(VBOXWEB_OUT_DIR)/gsoap_copy_all_ts - - # soapcpp2 -2: generate SOAP 1.2 calls - # soapcpp2 -S: server-side code only diff --git a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Runtime-Makefile.kmk b/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Runtime-Makefile.kmk deleted file mode 100644 index 436cabc019f5..000000000000 --- a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Runtime-Makefile.kmk +++ /dev/null @@ -1,23 +0,0 @@ ---- src/VBox/Runtime/Makefile.kmk.orig 2014-01-11 03:17:44.000000000 -0500 -+++ src/VBox/Runtime/Makefile.kmk 2014-02-20 19:18:26.000000000 -0500 -@@ -141,6 +141,11 @@ - IPRT_BLDCFG_TYPE=\"$(KBUILD_TYPE)\" - - # -+# Set the defines that utf8-posix.cpp needs. It's used by several targets. -+# -+r3/posix/utf8-posix.cpp_DEFS.freebsd = $(VBOX_ICONV_DEFS) -+ -+# - # Unicode Specification reader used to regenerate unidata.cpp. - # - uniread_TEMPLATE = VBOXBLDPROG -@@ -844,7 +849,7 @@ - r3/posix/RTMemProtect-posix.cpp \ - r3/posix/RTPathUserHome-posix.cpp \ - r3/posix/RTSystemQueryOSInfo-posix.cpp \ -- r3/posix/RTSystemQueryTotalRam-posix.cpp \ -+ r3/freebsd/RTSystemQueryTotalRam-freebsd.cpp \ - r3/posix/RTTimeNow-posix.cpp \ - r3/posix/RTTimeSet-posix.cpp \ - r3/posix/dir-posix.cpp \ diff --git a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Runtime-r3-freebsd-RTSystemQueryTotalRam-freebsd.cpp b/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Runtime-r3-freebsd-RTSystemQueryTotalRam-freebsd.cpp deleted file mode 100644 index 4ecdf4265fa7..000000000000 --- a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Runtime-r3-freebsd-RTSystemQueryTotalRam-freebsd.cpp +++ /dev/null @@ -1,83 +0,0 @@ ---- ./src/VBox/Runtime/r3/freebsd/RTSystemQueryTotalRam-freebsd.cpp.ORIG 2013-06-30 09:27:59.000000000 +0200 -+++ ./src/VBox/Runtime/r3/freebsd/RTSystemQueryTotalRam-freebsd.cpp 2013-06-30 09:51:29.000000000 +0200 -@@ -0,0 +1,80 @@ -+/* $Id: RTSystemQueryTotalRam-freebsd.cpp $ */ -+/** @file -+ * IPRT - RTSystemQueryTotalRam, FreeBSD style -+ */ -+ -+/* -+ * Copyright (C) 2013 Martin Birgmeier, Oracle Corporation -+ * -+ * This file is part of VirtualBox Open Source Edition (OSE), as -+ * available from http://www.virtualbox.org. This file is free software; -+ * you can redistribute it and/or modify it under the terms of the GNU -+ * General Public License (GPL) as published by the Free Software -+ * Foundation, in version 2 as it comes in the "COPYING" file of the -+ * VirtualBox OSE distribution. VirtualBox OSE is distributed in the -+ * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. -+ * -+ * The contents of this file may alternatively be used under the terms -+ * of the Common Development and Distribution License Version 1.0 -+ * (CDDL) only, as it comes in the "COPYING.CDDL" file of the -+ * VirtualBox OSE distribution, in which case the provisions of the -+ * CDDL are applicable instead of those of the GPL. -+ * -+ * You may elect to license modified versions of this file under the -+ * terms and conditions of either the GPL or the CDDL or both. -+ */ -+ -+ -+/******************************************************************************* -+* Header Files * -+*******************************************************************************/ -+#include <iprt/system.h> -+#include "internal/iprt.h" -+ -+#include <iprt/err.h> -+#include <iprt/assert.h> -+#include <iprt/string.h> -+ -+/* FreeBSD */ -+#include <sys/types.h> -+#include <sys/sysctl.h> -+#include <sys/errno.h> -+ -+RTDECL(int) RTSystemQueryTotalRam(uint64_t *pcb) -+{ -+ int mib[2]; -+ size_t pcblen = sizeof(*pcb); -+ -+ AssertPtrReturn(pcb, VERR_INVALID_POINTER); -+ -+ mib[0] = CTL_HW; -+ mib[1] = HW_PHYSMEM; /* HW_REALMEM is also possible, but -+ includes non-main memory as well */ -+ *pcb = 0; -+ if (sysctl(mib, 2, pcb, &pcblen, NULL, 0) == 0) { -+ if (pcblen == sizeof(*pcb) || pcblen == sizeof(uint32_t)) -+ return VINF_SUCCESS; -+ else -+ return VERR_NO_MEMORY; /* XXX */ -+ } -+ return RTErrConvertFromErrno(errno); -+} -+ -+RTDECL(int) RTSystemQueryAvailableRam(uint64_t *pcb) -+{ -+ int mib[2]; -+ size_t pcblen = sizeof(*pcb); -+ -+ AssertPtrReturn(pcb, VERR_INVALID_POINTER); -+ -+ mib[0] = CTL_HW; -+ mib[1] = HW_USERMEM; -+ *pcb = 0; -+ if (sysctl(mib, 2, pcb, &pcblen, NULL, 0) == 0) { -+ if (pcblen == sizeof(*pcb) || pcblen == sizeof(uint32_t)) -+ return VINF_SUCCESS; -+ else -+ return VERR_NO_MEMORY; /* XXX */ -+ } -+ return RTErrConvertFromErrno(errno); -+} diff --git a/emulators/virtualbox-ose-legacy/files/patch-src-recompiler-Sun-testmath.c b/emulators/virtualbox-ose-legacy/files/patch-src-recompiler-Sun-testmath.c deleted file mode 100644 index c4678be05189..000000000000 --- a/emulators/virtualbox-ose-legacy/files/patch-src-recompiler-Sun-testmath.c +++ /dev/null @@ -1,22 +0,0 @@ ---- src/recompiler/Sun/testmath.c.orig 2011-01-14 21:15:07.000000000 +0100 -+++ src/recompiler/Sun/testmath.c 2011-08-05 13:54:49.000000000 +0200 -@@ -261,8 +261,6 @@ - #endif - set_cw(0x27f); - -- CHECK(logl(2.7182818284590452353602874713526625L), 1.0); -- - CHECK(remainderl(1.0L, 1.0L), 0.0); - CHECK(remainderl(1.0L, 1.5L), -0.5); - CHECK(remainderl(42.0L, 34.25L), 7.75); -@@ -315,10 +313,6 @@ - CHECK(tanl(0.0L), 0.0); - CHECK(tanl(0.7853981633974483096156608458198757L), 1.0); - -- CHECK(powl(0.0, 0.0), 1.0); -- CHECK(powl(2.0, 2.0), 4.0); -- CHECK(powl(3.0, 3.0), 27.0); -- - return cErrors; - } - diff --git a/emulators/virtualbox-ose-legacy/files/vboxheadless.in b/emulators/virtualbox-ose-legacy/files/vboxheadless.in deleted file mode 100644 index 544b5912814f..000000000000 --- a/emulators/virtualbox-ose-legacy/files/vboxheadless.in +++ /dev/null @@ -1,138 +0,0 @@ -#!/bin/sh - -# $FreeBSD$ -# -# PROVIDE: vboxheadless -# REQUIRE: LOGIN vboxnet -# KEYWORD: shutdown -# -# Add the following line to /etc/rc.conf[.local] to enable vboxheadless -# -# vboxheadless_enable (bool): Set to "NO" by default. -# Set it to "YES" to enable vboxheadless. -# vboxheadless_machines (str): Space separated list of machines -# vboxheadless_user (str): Default user account to run with. -# (default: %%VBOXUSER%%) -# vboxheadless_stop (str): Default stop cmd for VBoxManage controlvm. -# (default: savestate) -# vboxheadless_delay (int): Default startup/shutdown delay in seconds. -# (default: 0) -# vboxheadless_<machine>_name (str): Virtualbox machine name or UUID. -# vboxheadless_<machine>_user (str): User account to run with. -# vboxheadless_<machine>_flags (str): Additional flags for VBoxHeadless. -# vboxheadless_<machine>_stop (str): Stop command for VBoxManage controlvm. -# vboxheadless_<machine>_delay (int): Startup and shutdown delay in seconds. - -. /etc/rc.subr - -name="vboxheadless" -rcvar=vboxheadless_enable - -command="%%PREFIX%%/bin/VBoxHeadless" -pidbase="/var/run/${name}" - -start_cmd="${name}_start" -stop_cmd="${name}_stop" -status_cmd="${name}_status" - -vboxheadless_start() -{ - local machine mpidfile pid vmname vmuser vmflags vmdelay - - echo "Starting Virtual Machines:" - for machine in ${vboxheadless_machines}; do - mpidfile="${pidbase}_${machine}.pid" - pid=$(check_pidfile $mpidfile $command) - eval vmname="\${vboxheadless_${machine}_name:-${machine}}" - eval vmuser="\${vboxheadless_${machine}_user:-${vboxheadless_user}}" - eval vmflags="\${vboxheadless_${machine}_flags:-}" - eval vmdelay="\${vboxheadless_${machine}_delay:-${vboxheadless_delay}}" - - HOME=$(/usr/sbin/pw usershow -7 -n "${vmuser}" | /usr/bin/cut -d: -f6) - - /usr/bin/printf "%25s " "${vmname}" - - /usr/bin/su ${vmuser} -c "%%PREFIX%%/bin/VBoxManage showvminfo '${vmname}' >/dev/null" 2>/dev/null - - if [ $? != 0 ]; then - echo "Unknown machine" - continue - fi - - if [ -n "${pid}" ]; then - echo "Already running? (pid=${pid})" - continue - fi - - /bin/sleep ${vmdelay} - /usr/bin/install -o ${vmuser} -g wheel -m 644 /dev/null ${mpidfile} - /usr/sbin/daemon -f -p ${mpidfile} -u ${vmuser} ${command} --startvm "${vmname}" ${vmflags} - echo "Started" - done -} - -vboxheadless_stop() -{ - local machine mpidfile pid vmname vmuser vmstop vmdelay - - echo "Saving states for Virtual Machines:" - for machine in ${vboxheadless_machines}; do - mpidfile="${pidbase}_${machine}.pid" - pid=$(check_pidfile $mpidfile $command) - eval vmname="\${vboxheadless_${machine}_name:-${machine}}" - eval vmuser="\${vboxheadless_${machine}_user:-${vboxheadless_user}}" - eval vmstop="\${vboxheadless_${machine}_stop:-${vboxheadless_stop}}" - eval vmdelay="\${vboxheadless_${machine}_delay:-${vboxheadless_delay}}" - - /usr/bin/printf "%25s " "${vmname}" - - if [ -n "${pid}" ]; then - /bin/sleep ${vmdelay} - /usr/bin/su ${vmuser} -c "%%PREFIX%%/bin/VBoxManage controlvm '${vmname}' ${vmstop} >/dev/null" 2>/dev/null - wait_for_pids $pid >/dev/null - echo "Stopped" - else - echo "Not running?" - fi - done -} - -vboxheadless_status() -{ - local machine mpidfile pid vmname vmuser - - /usr/bin/printf "%25s %s\n" "Machine" "Status" - /usr/bin/printf "%25s %s\n" "-------------------------" "------------" - - for machine in ${vboxheadless_machines}; do - mpidfile="${pidbase}_${machine}.pid" - pid=$(check_pidfile $mpidfile $command) - eval vmname="\${vboxheadless_${machine}_name:-${machine}}" - eval vmuser="\${vboxheadless_${machine}_user:-${vboxheadless_user}}" - - /usr/bin/su ${vmuser} -c "/usr/local/bin/VBoxManage showvminfo '${vmname}' >/dev/null" 2>/dev/null - - if [ $? != 0 ]; then - /usr/bin/printf "%20s %s\n" "${vmname}" "Unknown Machine" - elif [ -n "${pid}" ]; then - /usr/bin/printf "%25s %s\n" "${vmname}" "Running" - else - /usr/bin/printf "%25s %s\n" "${vmname}" "Powered Off" - fi - done -} - -load_rc_config $name - -: ${vboxheadless_enable="NO"} -: ${vboxheadless_user="%%VBOXUSER%%"} -: ${vboxheadless_stop="savestate"} -: ${vboxheadless_delay="0"} - -cmd_arg="$1" ; shift - -if [ -n "$*" ]; then - vboxheadless_machines="$*" -fi - -run_rc_command "${cmd_arg}" diff --git a/emulators/virtualbox-ose-legacy/files/vboxwatchdog.in b/emulators/virtualbox-ose-legacy/files/vboxwatchdog.in deleted file mode 100644 index 17be9c243bb5..000000000000 --- a/emulators/virtualbox-ose-legacy/files/vboxwatchdog.in +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/sh - -# $FreeBSD$ -# -# PROVIDE: vboxwatchdog -# REQUIRE: LOGIN -# KEYWORD: shutdown -# -# Add the following line to /etc/rc.conf[.local] to enable vboxwatchdog -# -# vboxwatchdog_enable (bool): Set to "NO" by default. -# Set it to "YES" to enable vboxwatchdog. -# vboxwatchdog_user (str): User account to run with. -# vboxwatchdog_flags (str): Custom flags for VBoxWatchdog. - -. /etc/rc.subr - -name=vboxwatchdog -rcvar=vboxwatchdog_enable - -command="%%PREFIX%%/bin/VBoxBalloonCtrl" -pidfile="/var/run/${name}.pid" - -start_cmd="${name}_start" - -vboxwatchdog_start() -{ - local pid - - HOME=$(/usr/sbin/pw usershow -7 -n "${vboxwatchdog_user}" | /usr/bin/cut -d: -f6) - pid=$(check_pidfile $pidfile $command) - - if [ -n "${pid}" ]; then - echo "${name} already running? (pid=${pid})." - return 1 - fi - - # prevent inheriting this setting to VBoxSVC - unset VBOX_RELEASE_LOG_DEST - - echo -n "Starting ${name}" - /usr/bin/install -o ${vboxwatchdog_user} -g wheel -m 644 /dev/null ${pidfile} - /usr/sbin/daemon -f -p ${pidfile} -u ${vboxwatchdog_user} ${command} ${vboxwatchdog_flags} - echo '.' -} - -load_rc_config $name - -: ${vboxwatchdog_enable="NO"} -: ${vboxwatchdog_user="%%VBOXUSER%%"} -: ${vboxwatchdog_flags="-b"} - -run_rc_command "$1" diff --git a/emulators/virtualbox-ose-legacy/files/vboxwebsrv.in b/emulators/virtualbox-ose-legacy/files/vboxwebsrv.in deleted file mode 100644 index 73dabca8a8b3..000000000000 --- a/emulators/virtualbox-ose-legacy/files/vboxwebsrv.in +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/sh - -# $FreeBSD$ -# -# PROVIDE: vboxwebsrv -# REQUIRE: LOGIN -# KEYWORD: shutdown -# -# Add the following line to /etc/rc.conf[.local] to enable vboxwebsrv -# -# vboxwebsrv_enable (bool): Set to "NO" by default. -# Set it to "YES" to enable vboxwebsrv. -# vboxwebsrv_user (str): User account to run with. -# vboxwebsrv_flags (str): Custom flags for vboxwebsrv. - -. /etc/rc.subr - -name=vboxwebsrv -rcvar=vboxwebsrv_enable - -command="%%PREFIX%%/bin/vboxwebsrv" -pidfile="/var/run/${name}.pid" - -start_cmd="${name}_start" - -vboxwebsrv_start() -{ - local pid - - HOME=$(/usr/sbin/pw usershow -7 -n "${vboxwebsrv_user}" | /usr/bin/cut -d: -f6) - pid=$(check_pidfile $pidfile $command) - - if [ -n "${pid}" ]; then - echo "${name} already running? (pid=${pid})." - return 1 - fi - - echo -n "Starting ${name}" - /usr/bin/install -o ${vboxwebsrv_user} -g wheel -m 644 /dev/null ${pidfile} - /usr/sbin/daemon -f -p ${pidfile} -u ${vboxwebsrv_user} ${command} ${vboxwebsrv_flags} - echo '.' -} - -load_rc_config $name - -: ${vboxwebsrv_enable="NO"} -: ${vboxwebsrv_user="%%VBOXWSUSER%%"} - -run_rc_command "$1" diff --git a/emulators/virtualbox-ose-legacy/pkg-descr b/emulators/virtualbox-ose-legacy/pkg-descr deleted file mode 100644 index d10019c03792..000000000000 --- a/emulators/virtualbox-ose-legacy/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -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/ diff --git a/emulators/virtualbox-ose-legacy/pkg-message b/emulators/virtualbox-ose-legacy/pkg-message deleted file mode 100644 index 93aa94f86927..000000000000 --- a/emulators/virtualbox-ose-legacy/pkg-message +++ /dev/null @@ -1,57 +0,0 @@ -============================================================================= - -VirtualBox was installed. - -You need to load the vboxdrv kernel module via /boot/loader.conf: - -vboxdrv_load="YES" - -You also have to add all users to your vboxusers group in order to use vbox. - -% pw groupmod vboxusers -m jerry - -Reboot the machine to load the needed kernel modules. - - -Bridging Support: -================= - -For bridged networking please add the following line to your /etc/rc.conf: - -vboxnet_enable="YES" - - -USB Support: -============ - -For USB support your user needs to be in the operator group and needs read -and write permissions to the USB device. - -% pw groupmod operator -m jerry - -Add the following to /etc/devfs.rules (create if it doesn't exist): - -[system=10] -add path 'usb/*' mode 0660 group operator - -To load these new rule add the following to /etc/rc.conf: - -devfs_system_ruleset="system" - -Then restart devfs to load the new rules: - -% /etc/rc.d/devfs restart - - -Troubleshooting: -================ - -Running VirtualBox as non-root user may fail with a fatal error -NS_ERROR_FACTORY_NOT_REGISTERED. In this case delete /tmp/.vbox-*-ipc file. - -Check wiki page for known issues and troubleshooting: -http://wiki.freebsd.org/VirtualBox - -Please report any problems to emulation@. Thanks! - -============================================================================= diff --git a/emulators/virtualbox-ose-legacy/pkg-plist b/emulators/virtualbox-ose-legacy/pkg-plist deleted file mode 100644 index 9347ddf05083..000000000000 --- a/emulators/virtualbox-ose-legacy/pkg-plist +++ /dev/null @@ -1,635 +0,0 @@ -bin/VBoxAutostart -bin/VBoxBalloonCtrl -%%X11%%bin/VBoxBFE -bin/VBoxHeadless -bin/VBoxManage -bin/VBoxNetAdpCtl -bin/VBoxNetDHCP -%%X11%%bin/VBoxSDL -bin/VBoxSVC -%%QT4%%bin/VBoxTestOGL -bin/VBoxXPCOMIPCD -%%QT4%%bin/VirtualBox -%%WEBSERVICE%%bin/vboxwebsrv -%%WEBSERVICE%%bin/webtest -%%X11%%lib/virtualbox/VBoxBFE -%%X11%%lib/virtualbox/VBoxBFE.so -lib/virtualbox/DBGCPlugInDiggers.so -lib/virtualbox/VBoxAuth.so -lib/virtualbox/VBoxAutostart -lib/virtualbox/VBoxAuthSimple.so -lib/virtualbox/VBoxBalloonCtrl -%%QT4%%lib/virtualbox/VBoxDbg.so -lib/virtualbox/VBoxDD.so -lib/virtualbox/VBoxDD2.so -lib/virtualbox/VBoxDDU.so -lib/virtualbox/VBoxEFI32.fd -lib/virtualbox/VBoxEFI64.fd -lib/virtualbox/VBoxExtPackHelperApp -lib/virtualbox/VBoxGuestControlSvc.so -lib/virtualbox/VBoxGuestPropSvc.so -lib/virtualbox/VBoxHeadless -lib/virtualbox/VBoxHeadless.so -lib/virtualbox/VBoxHostChannel.so -%%X11%%lib/virtualbox/VBoxKeyboard.so -lib/virtualbox/VBoxManage -lib/virtualbox/VBoxNetAdpCtl -lib/virtualbox/VBoxNetDHCP -lib/virtualbox/VBoxNetDHCP.so -%%X11%%lib/virtualbox/VBoxOGLhostcrutil.so -%%X11%%lib/virtualbox/VBoxOGLhosterrorspu.so -%%X11%%lib/virtualbox/VBoxOGLrenderspu.so -lib/virtualbox/VBoxPython.so -lib/virtualbox/VBoxREM.so -%%QT4%%lib/virtualbox/VBoxTestOGL -%%I386%%lib/virtualbox/VBoxREM32.so -%%I386%%lib/virtualbox/VBoxREM64.so -lib/virtualbox/VBoxRT.so -%%X11%%lib/virtualbox/VBoxSDL -%%X11%%lib/virtualbox/VBoxSDL.so -lib/virtualbox/VBoxSVC -lib/virtualbox/VBoxSharedClipboard.so -%%X11%%lib/virtualbox/VBoxSharedCrOpenGL.so -lib/virtualbox/VBoxSharedFolders.so -lib/virtualbox/VBoxVMM.so -lib/virtualbox/VBoxVMMPreload.so -lib/virtualbox/VBoxXPCOM.so -lib/virtualbox/VBoxXPCOMC.so -lib/virtualbox/VBoxXPCOMIPCD -%%QT4%%lib/virtualbox/VirtualBox -%%QT4%%lib/virtualbox/VirtualBox.so -lib/virtualbox/VBoxDD2GC.gc -lib/virtualbox/VBoxDDGC.gc -lib/virtualbox/VMMGC.gc -lib/virtualbox/VBoxDD2R0.r0 -lib/virtualbox/VBoxDDR0.r0 -%%GUESTADDITIONS%%lib/virtualbox/additions/VBoxGuestAdditions.iso -%%GUESTADDITIONS%%lib/virtualbox/additions/VBoxGuestAdditions_%%GUEST_VER%%.iso -lib/virtualbox/VBoxPython%%PYTHON_VERU%%.so -lib/virtualbox/VMMR0.r0 -%%WEBSERVICE%%lib/virtualbox/vboxwebsrv -%%WEBSERVICE%%lib/virtualbox/webtest -lib/virtualbox/components/VirtualBox_XPCOM.xpt -lib/virtualbox/components/VBoxXPCOMIPCC.so -lib/virtualbox/components/VBoxSVCM.so -lib/virtualbox/components/VBoxC.so -lib/virtualbox/components/VBoxXPCOMBase.xpt -%%VNC%%lib/virtualbox/ExtensionPacks/VNC/%%ARCH%%/VBoxVNC.so -%%VNC%%lib/virtualbox/ExtensionPacks/VNC/%%ARCH%%/VBoxVNCMain.so -%%VNC%%lib/virtualbox/ExtensionPacks/VNC/ExtPack-license.html -%%VNC%%lib/virtualbox/ExtensionPacks/VNC/ExtPack-license.rtf -%%VNC%%lib/virtualbox/ExtensionPacks/VNC/ExtPack-license.txt -%%VNC%%lib/virtualbox/ExtensionPacks/VNC/ExtPack.xml -%%NLS%%%%DATADIR%%/nls/VirtualBox_bg.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_ca.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_ca_VA.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_cs.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_da.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_de.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_en.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_es.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_eu.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_fa_IR.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_fi.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_fr.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_gl_ES.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_hu.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_id.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_it.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_ja.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_km_KH.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_ko.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_lt.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_nl.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_pl.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_pt.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_pt_BR.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_ro.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_ru.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_sk.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_sr.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_sv.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_tr.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_uk.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_zh_CN.qm -%%NLS%%%%DATADIR%%/nls/VirtualBox_zh_TW.qm -%%NLS%%%%DATADIR%%/nls/qt_bg.qm -%%NLS%%%%DATADIR%%/nls/qt_ca.qm -%%NLS%%%%DATADIR%%/nls/qt_ca_VA.qm -%%NLS%%%%DATADIR%%/nls/qt_cs.qm -%%NLS%%%%DATADIR%%/nls/qt_da.qm -%%NLS%%%%DATADIR%%/nls/qt_de.qm -%%NLS%%%%DATADIR%%/nls/qt_en.qm -%%NLS%%%%DATADIR%%/nls/qt_es.qm -%%NLS%%%%DATADIR%%/nls/qt_eu.qm -%%NLS%%%%DATADIR%%/nls/qt_fa_IR.qm -%%NLS%%%%DATADIR%%/nls/qt_fi.qm -%%NLS%%%%DATADIR%%/nls/qt_fr.qm -%%NLS%%%%DATADIR%%/nls/qt_gl_ES.qm -%%NLS%%%%DATADIR%%/nls/qt_hu.qm -%%NLS%%%%DATADIR%%/nls/qt_id.qm -%%NLS%%%%DATADIR%%/nls/qt_it.qm -%%NLS%%%%DATADIR%%/nls/qt_ja.qm -%%NLS%%%%DATADIR%%/nls/qt_km_KH.qm -%%NLS%%%%DATADIR%%/nls/qt_ko.qm -%%NLS%%%%DATADIR%%/nls/qt_lt.qm -%%NLS%%%%DATADIR%%/nls/qt_nl.qm -%%NLS%%%%DATADIR%%/nls/qt_pl.qm -%%NLS%%%%DATADIR%%/nls/qt_pt.qm -%%NLS%%%%DATADIR%%/nls/qt_pt_BR.qm -%%NLS%%%%DATADIR%%/nls/qt_ro.qm -%%NLS%%%%DATADIR%%/nls/qt_ru.qm -%%NLS%%%%DATADIR%%/nls/qt_sk.qm -%%NLS%%%%DATADIR%%/nls/qt_sr.qm -%%NLS%%%%DATADIR%%/nls/qt_sv.qm -%%NLS%%%%DATADIR%%/nls/qt_tr.qm -%%NLS%%%%DATADIR%%/nls/qt_uk.qm -%%NLS%%%%DATADIR%%/nls/qt_zh_CN.qm -%%NLS%%%%DATADIR%%/nls/qt_zh_TW.qm -%%QT4%%share/applications/virtualbox.desktop -%%QT4%%share/pixmaps/VBox.png -%%DATADIR%%/idl/nsIDebug.idl -%%DATADIR%%/idl/nsIInterfaceRequestor.idl -%%DATADIR%%/idl/nsIMemory.idl -%%DATADIR%%/idl/nsIProgrammingLanguage.idl -%%DATADIR%%/idl/nsISupports.idl -%%DATADIR%%/idl/nsITraceRefcnt.idl -%%DATADIR%%/idl/nsIWeakReference.idl -%%DATADIR%%/idl/nsIConsoleMessage.idl -%%DATADIR%%/idl/nsIConsoleService.idl -%%DATADIR%%/idl/nsIConsoleListener.idl -%%DATADIR%%/idl/nsIErrorService.idl -%%DATADIR%%/idl/nsIException.idl -%%DATADIR%%/idl/nsIExceptionService.idl -%%DATADIR%%/idl/nsrootidl.idl -%%DATADIR%%/idl/nsIClassInfo.idl -%%DATADIR%%/idl/nsIFactory.idl -%%DATADIR%%/idl/nsIModule.idl -%%DATADIR%%/idl/nsIComponentRegistrar.idl -%%DATADIR%%/idl/nsIServiceManager.idl -%%DATADIR%%/idl/nsIComponentManager.idl -%%DATADIR%%/idl/nsICategoryManager.idl -%%DATADIR%%/idl/nsINativeComponentLoader.idl -%%DATADIR%%/idl/nsIComponentLoader.idl -%%DATADIR%%/idl/nsIComponentManagerObsolete.idl -%%DATADIR%%/idl/nsISupportsArray.idl -%%DATADIR%%/idl/nsIComponentLoaderManager.idl -%%DATADIR%%/idl/nsICollection.idl -%%DATADIR%%/idl/nsISerializable.idl -%%DATADIR%%/idl/nsIEnumerator.idl -%%DATADIR%%/idl/nsISimpleEnumerator.idl -%%DATADIR%%/idl/nsIObserverService.idl -%%DATADIR%%/idl/nsIObserver.idl -%%DATADIR%%/idl/nsIAtom.idl -%%DATADIR%%/idl/nsIAtomService.idl -%%DATADIR%%/idl/nsIProperties.idl -%%DATADIR%%/idl/nsIPersistentProperties2.idl -%%DATADIR%%/idl/nsIRecyclingAllocator.idl -%%DATADIR%%/idl/nsIStringEnumerator.idl -%%DATADIR%%/idl/nsISupportsPrimitives.idl -%%DATADIR%%/idl/nsISupportsIterators.idl -%%DATADIR%%/idl/nsITimelineService.idl -%%DATADIR%%/idl/nsIVariant.idl -%%DATADIR%%/idl/nsIArray.idl -%%DATADIR%%/idl/nsIPropertyBag.idl -%%DATADIR%%/idl/nsIHashable.idl -%%DATADIR%%/idl/nsIDirectoryService.idl -%%DATADIR%%/idl/nsIDirectoryEnumerator.idl -%%DATADIR%%/idl/nsIFile.idl -%%DATADIR%%/idl/nsILocalFile.idl -%%DATADIR%%/idl/nsIInputStream.idl -%%DATADIR%%/idl/nsILocalFileMac.idl -%%DATADIR%%/idl/nsIObjectInputStream.idl -%%DATADIR%%/idl/nsIBinaryInputStream.idl -%%DATADIR%%/idl/nsIObjectOutputStream.idl -%%DATADIR%%/idl/nsIBinaryOutputStream.idl -%%DATADIR%%/idl/nsIStreamBufferAccess.idl -%%DATADIR%%/idl/nsIOutputStream.idl -%%DATADIR%%/idl/nsIByteArrayInputStream.idl -%%DATADIR%%/idl/nsIFastLoadFileControl.idl -%%DATADIR%%/idl/nsISeekableStream.idl -%%DATADIR%%/idl/nsIInputStreamTee.idl -%%DATADIR%%/idl/nsIFastLoadService.idl -%%DATADIR%%/idl/nsIMultiplexInputStream.idl -%%DATADIR%%/idl/nsIPipe.idl -%%DATADIR%%/idl/nsIAsyncInputStream.idl -%%DATADIR%%/idl/nsIAsyncOutputStream.idl -%%DATADIR%%/idl/nsIScriptableInputStream.idl -%%DATADIR%%/idl/nsIStorageStream.idl -%%DATADIR%%/idl/nsILineInputStream.idl -%%DATADIR%%/idl/nsIStringStream.idl -%%DATADIR%%/idl/nsIProxyObjectManager.idl -%%DATADIR%%/idl/nsIEventQueue.idl -%%DATADIR%%/idl/nsIEventQueueService.idl -%%DATADIR%%/idl/nsIRunnable.idl -%%DATADIR%%/idl/nsIThread.idl -%%DATADIR%%/idl/nsIEventTarget.idl -%%DATADIR%%/idl/nsIEnvironment.idl -%%DATADIR%%/idl/nsITimer.idl -%%DATADIR%%/idl/nsITimerInternal.idl -%%DATADIR%%/idl/nsITimerManager.idl -%%DATADIR%%/idl/nsIInterfaceInfo.idl -%%DATADIR%%/idl/nsIProcess.idl -%%DATADIR%%/idl/nsIXPTLoader.idl -%%DATADIR%%/idl/nsIInterfaceInfoManager.idl -%%DATADIR%%/idl/ipcIMessageObserver.idl -%%DATADIR%%/idl/ipcIService.idl -%%DATADIR%%/idl/ipcIClientObserver.idl -%%DATADIR%%/idl/ipcILockService.idl -%%DATADIR%%/idl/ipcIDConnectService.idl -%%DATADIR%%/idl/ipcITransactionService.idl -%%DATADIR%%/idl/ipcITransactionObserver.idl -%%DATADIR%%/idl/VirtualBox_XPCOM.idl -%%DATADIR%%/samples/tstVBoxAPILinux.cpp -%%DATADIR%%/samples/Makefile -%%WEBSERVICE%%%%DATADIR%%/sdk/bindings/webservice/vboxweb.wsdl -%%WEBSERVICE%%%%DATADIR%%/sdk/bindings/webservice/vboxwebService.wsdl -include/virtualbox/VBoxCAPI_v2_2.h -include/virtualbox/VBoxCAPI_v3_0.h -include/virtualbox/VBoxCAPI_v3_1.h -include/virtualbox/VBoxCAPI_v3_2.h -include/virtualbox/VBoxCAPI_v4_0.h -include/virtualbox/VBoxCAPI_v4_1.h -include/virtualbox/VBoxCAPI_v4_2.h -include/virtualbox/VirtualBox_XPCOM.h -include/virtualbox/ipcIClientObserver.h -include/virtualbox/ipcIDConnectService.h -include/virtualbox/ipcILockService.h -include/virtualbox/ipcIMessageObserver.h -include/virtualbox/ipcIService.h -include/virtualbox/ipcITransactionObserver.h -include/virtualbox/ipcITransactionService.h -include/virtualbox/ipcd/ipcCID.h -include/virtualbox/ipcd/ipcLockCID.h -include/virtualbox/ipcd/ipcMessageReader.h -include/virtualbox/ipcd/ipcMessageWriter.h -include/virtualbox/ipcd/ipcModule.h -include/virtualbox/ipcd/ipcModuleUtil.h -include/virtualbox/ipcd/ipcdclient.h -include/virtualbox/nsIArray.h -include/virtualbox/nsIAsyncInputStream.h -include/virtualbox/nsIAsyncOutputStream.h -include/virtualbox/nsIAtom.h -include/virtualbox/nsIAtomService.h -include/virtualbox/nsIBinaryInputStream.h -include/virtualbox/nsIBinaryOutputStream.h -include/virtualbox/nsIByteArrayInputStream.h -include/virtualbox/nsICategoryManager.h -include/virtualbox/nsIClassInfo.h -include/virtualbox/nsICollection.h -include/virtualbox/nsIComponentLoader.h -include/virtualbox/nsIComponentLoaderManager.h -include/virtualbox/nsIComponentManager.h -include/virtualbox/nsIComponentManagerObsolete.h -include/virtualbox/nsIComponentRegistrar.h -include/virtualbox/nsIConsoleListener.h -include/virtualbox/nsIConsoleMessage.h -include/virtualbox/nsIConsoleService.h -include/virtualbox/nsIDebug.h -include/virtualbox/nsIDirectoryEnumerator.h -include/virtualbox/nsIDirectoryService.h -include/virtualbox/nsIEnumerator.h -include/virtualbox/nsIEnvironment.h -include/virtualbox/nsIErrorService.h -include/virtualbox/nsIEventQueue.h -include/virtualbox/nsIEventQueueService.h -include/virtualbox/nsIEventTarget.h -include/virtualbox/nsIException.h -include/virtualbox/nsIExceptionService.h -include/virtualbox/nsIFactory.h -include/virtualbox/nsIFastLoadFileControl.h -include/virtualbox/nsIFastLoadService.h -include/virtualbox/nsIFile.h -include/virtualbox/nsIHashable.h -include/virtualbox/nsIInputStream.h -include/virtualbox/nsIInputStreamTee.h -include/virtualbox/nsIInterfaceInfo.h -include/virtualbox/nsIInterfaceInfoManager.h -include/virtualbox/nsIInterfaceRequestor.h -include/virtualbox/nsILineInputStream.h -include/virtualbox/nsILocalFile.h -include/virtualbox/nsILocalFileMac.h -include/virtualbox/nsIMemory.h -include/virtualbox/nsIModule.h -include/virtualbox/nsIMultiplexInputStream.h -include/virtualbox/nsINativeComponentLoader.h -include/virtualbox/nsIObjectInputStream.h -include/virtualbox/nsIObjectOutputStream.h -include/virtualbox/nsIObserver.h -include/virtualbox/nsIObserverService.h -include/virtualbox/nsIOutputStream.h -include/virtualbox/nsIPersistentProperties2.h -include/virtualbox/nsIPipe.h -include/virtualbox/nsIProcess.h -include/virtualbox/nsIProgrammingLanguage.h -include/virtualbox/nsIProperties.h -include/virtualbox/nsIPropertyBag.h -include/virtualbox/nsIProxyObjectManager.h -include/virtualbox/nsIRecyclingAllocator.h -include/virtualbox/nsIRunnable.h -include/virtualbox/nsIScriptableInputStream.h -include/virtualbox/nsISeekableStream.h -include/virtualbox/nsISerializable.h -include/virtualbox/nsIServiceManager.h -include/virtualbox/nsISimpleEnumerator.h -include/virtualbox/nsIStorageStream.h -include/virtualbox/nsIStreamBufferAccess.h -include/virtualbox/nsIStringEnumerator.h -include/virtualbox/nsIStringStream.h -include/virtualbox/nsISupports.h -include/virtualbox/nsISupportsArray.h -include/virtualbox/nsISupportsIterators.h -include/virtualbox/nsISupportsPrimitives.h -include/virtualbox/nsIThread.h -include/virtualbox/nsITimelineService.h -include/virtualbox/nsITimer.h -include/virtualbox/nsITimerInternal.h -include/virtualbox/nsITimerManager.h -include/virtualbox/nsITraceRefcnt.h -include/virtualbox/nsIVariant.h -include/virtualbox/nsIWeakReference.h -include/virtualbox/nsIXPTLoader.h -include/virtualbox/nsprpub/nspr.h -include/virtualbox/nsprpub/plarena.h -include/virtualbox/nsprpub/plarenas.h -include/virtualbox/nsprpub/plbase64.h -include/virtualbox/nsprpub/plerror.h -include/virtualbox/nsprpub/plgetopt.h -include/virtualbox/nsprpub/plhash.h -include/virtualbox/nsprpub/plresolv.h -include/virtualbox/nsprpub/plstr.h -include/virtualbox/nsprpub/pratom.h -include/virtualbox/nsprpub/prbit.h -include/virtualbox/nsprpub/prclist.h -include/virtualbox/nsprpub/prcmon.h -include/virtualbox/nsprpub/prcountr.h -include/virtualbox/nsprpub/prcvar.h -include/virtualbox/nsprpub/prdtoa.h -include/virtualbox/nsprpub/prenv.h -include/virtualbox/nsprpub/prerr.h -include/virtualbox/nsprpub/prerror.h -include/virtualbox/nsprpub/prinet.h -include/virtualbox/nsprpub/prinit.h -include/virtualbox/nsprpub/prinrval.h -include/virtualbox/nsprpub/prio.h -include/virtualbox/nsprpub/pripcsem.h -include/virtualbox/nsprpub/prlink.h -include/virtualbox/nsprpub/md/_iprt_atomic.h -include/virtualbox/nsprpub/md/_darwin.h -include/virtualbox/nsprpub/md/_freebsd.h -include/virtualbox/nsprpub/md/_l4v2.h -include/virtualbox/nsprpub/md/_linux.h -include/virtualbox/nsprpub/md/_macos.h -include/virtualbox/nsprpub/md/_netbsd.h -include/virtualbox/nsprpub/md/_openbsd.h -include/virtualbox/nsprpub/md/_os2_errors.h -include/virtualbox/nsprpub/md/_os2.h -include/virtualbox/nsprpub/md/_pcos.h -include/virtualbox/nsprpub/md/_solaris.h -include/virtualbox/nsprpub/md/_unix_errors.h -include/virtualbox/nsprpub/md/_unixos.h -include/virtualbox/nsprpub/md/_pth.h -include/virtualbox/nsprpub/md/prosdep.h -include/virtualbox/nsprpub/md/_freebsd.cfg -include/virtualbox/nsprpub/md/_linux.cfg -include/virtualbox/nsprpub/md/_darwin.cfg -include/virtualbox/nsprpub/md/_netbsd.cfg -include/virtualbox/nsprpub/md/_openbsd.cfg -include/virtualbox/nsprpub/md/_os2.cfg -include/virtualbox/nsprpub/md/_solaris32.cfg -include/virtualbox/nsprpub/md/_l4v2.cfg -include/virtualbox/nsprpub/md/_solaris64.cfg -include/virtualbox/nsprpub/prlock.h -include/virtualbox/nsprpub/prlog.h -include/virtualbox/nsprpub/prlong.h -include/virtualbox/nsprpub/prmem.h -include/virtualbox/nsprpub/prmon.h -include/virtualbox/nsprpub/prmwait.h -include/virtualbox/nsprpub/prnetdb.h -include/virtualbox/nsprpub/prolock.h -include/virtualbox/nsprpub/prpdce.h -include/virtualbox/nsprpub/prprf.h -include/virtualbox/nsprpub/prproces.h -include/virtualbox/nsprpub/prrng.h -include/virtualbox/nsprpub/prrwlock.h -include/virtualbox/nsprpub/prshm.h -include/virtualbox/nsprpub/prshma.h -include/virtualbox/nsprpub/prsystem.h -include/virtualbox/nsprpub/prthread.h -include/virtualbox/nsprpub/prtime.h -include/virtualbox/nsprpub/prtpool.h -include/virtualbox/nsprpub/prtrace.h -include/virtualbox/nsprpub/prtypes.h -include/virtualbox/nsprpub/prvrsion.h -include/virtualbox/nsprpub/prwin16.h -include/virtualbox/nsprpub/prcpucfg.h -include/virtualbox/nsprpub/obsolete/pralarm.h -include/virtualbox/nsprpub/obsolete/probslet.h -include/virtualbox/nsprpub/obsolete/protypes.h -include/virtualbox/nsprpub/obsolete/prsem.h -include/virtualbox/nsprpub/private/pprio.h -include/virtualbox/nsprpub/private/pprthred.h -include/virtualbox/nsprpub/private/prpriv.h -include/virtualbox/nsrootidl.h -include/virtualbox/string/nsAString.h -include/virtualbox/string/nsAlgorithm.h -include/virtualbox/string/nsCharTraits.h -include/virtualbox/string/nsDependentString.h -include/virtualbox/string/nsDependentSubstring.h -include/virtualbox/string/nsEmbedString.h -include/virtualbox/string/nsLiteralString.h -include/virtualbox/string/nsObsoleteAString.h -include/virtualbox/string/nsPrintfCString.h -include/virtualbox/string/nsPromiseFlatString.h -include/virtualbox/string/nsReadableUtils.h -include/virtualbox/string/nsString.h -include/virtualbox/string/nsStringAPI.h -include/virtualbox/string/nsStringFwd.h -include/virtualbox/string/nsStringIterator.h -include/virtualbox/string/nsSubstring.h -include/virtualbox/string/nsSubstringTuple.h -include/virtualbox/string/nsTAString.h -include/virtualbox/string/nsTString.h -include/virtualbox/string/nsTDependentString.h -include/virtualbox/string/nsTDependentSubstring.h -include/virtualbox/string/nsTObsoleteAString.h -include/virtualbox/string/nsTPromiseFlatString.h -include/virtualbox/string/nsTSubstring.h -include/virtualbox/string/nsTSubstringTuple.h -include/virtualbox/string/nsUTF8Utils.h -include/virtualbox/string/nsXPIDLString.h -include/virtualbox/string/string-template-def-char.h -include/virtualbox/string/string-template-def-unichar.h -include/virtualbox/string/string-template-undef.h -include/virtualbox/xpcom/nsAgg.h -include/virtualbox/xpcom/nsAppDirectoryServiceDefs.h -include/virtualbox/xpcom/nsArray.h -include/virtualbox/xpcom/nsArrayEnumerator.h -include/virtualbox/xpcom/nsAtomService.h -include/virtualbox/xpcom/nsAutoBuffer.h -include/virtualbox/xpcom/nsAutoLock.h -include/virtualbox/xpcom/nsAutoPtr.h -include/virtualbox/xpcom/nsBaseHashtable.h -include/virtualbox/xpcom/nsCOMArray.h -include/virtualbox/xpcom/nsCRT.h -include/virtualbox/xpcom/nsCategoryManagerUtils.h -include/virtualbox/xpcom/nsCheapSets.h -include/virtualbox/xpcom/nsClassHashtable.h -include/virtualbox/xpcom/nsCom.h -include/virtualbox/xpcom/nsComponentManagerObsolete.h -include/virtualbox/xpcom/nsComponentManagerUtils.h -include/virtualbox/xpcom/nsCppSharedAllocator.h -include/virtualbox/xpcom/nsID.h -include/virtualbox/xpcom/nsDataHashtable.h -include/virtualbox/xpcom/nsDebugImpl.h -include/virtualbox/xpcom/nsDeque.h -include/virtualbox/xpcom/nsDirectoryService.h -include/virtualbox/xpcom/nsDirectoryServiceDefs.h -include/virtualbox/xpcom/nsDirectoryServiceUtils.h -include/virtualbox/xpcom/nsDoubleHashtable.h -include/virtualbox/xpcom/nsEnumeratorUtils.h -include/virtualbox/xpcom/nsError.h -include/virtualbox/xpcom/nsEscape.h -include/virtualbox/xpcom/nsEventQueueUtils.h -include/virtualbox/xpcom/nsFastLoadPtr.h -include/virtualbox/xpcom/nsFastLoadService.h -include/virtualbox/xpcom/nsFixedSizeAllocator.h -include/virtualbox/xpcom/nsHashKeys.h -include/virtualbox/xpcom/nsHashSets.h -include/virtualbox/xpcom/nsHashtable.h -include/virtualbox/xpcom/nsIAllocator.h -include/virtualbox/xpcom/nsIByteBuffer.h -include/virtualbox/xpcom/nsIID.h -include/virtualbox/xpcom/nsIServiceManagerObsolete.h -include/virtualbox/xpcom/nsIServiceManagerUtils.h -include/virtualbox/xpcom/nsISupportsBase.h -include/virtualbox/xpcom/nsISupportsObsolete.h -include/virtualbox/xpcom/nsIUnicharBuffer.h -include/virtualbox/xpcom/nsIUnicharInputStream.h -include/virtualbox/xpcom/nsInt64.h -include/virtualbox/xpcom/nsInterfaceHashtable.h -include/virtualbox/xpcom/nsLinebreakConverter.h -include/virtualbox/xpcom/nsLocalFile.h -include/virtualbox/xpcom/nsLocalFileUnix.h -include/virtualbox/xpcom/nsLocalFileOS2.h -include/virtualbox/xpcom/nsLocalFileOSX.h -include/virtualbox/xpcom/nsModule.h -include/virtualbox/xpcom/nsMultiplexInputStream.h -include/virtualbox/xpcom/nsNativeCharsetUtils.h -include/virtualbox/xpcom/nsProcess.h -include/virtualbox/xpcom/nsNativeComponentLoader.h -include/virtualbox/xpcom/nsObserverService.h -include/virtualbox/xpcom/nsObsoleteModuleLoading.h -include/virtualbox/xpcom/nsProxiedService.h -include/virtualbox/xpcom/nsProxyEvent.h -include/virtualbox/xpcom/nsProxyRelease.h -include/virtualbox/xpcom/nsQuickSort.h -include/virtualbox/xpcom/nsRecyclingAllocator.h -include/virtualbox/xpcom/nsRefPtrHashtable.h -include/virtualbox/xpcom/nsScriptableInputStream.h -include/virtualbox/xpcom/nsStaticAtom.h -include/virtualbox/xpcom/nsStaticComponent.h -include/virtualbox/xpcom/nsStaticNameTable.h -include/virtualbox/xpcom/nsStorageStream.h -include/virtualbox/xpcom/nsStreamUtils.h -include/virtualbox/xpcom/nsStringEnumerator.h -include/virtualbox/xpcom/nsStringIO.h -include/virtualbox/xpcom/nsTHashtable.h -include/virtualbox/xpcom/nsStringStream.h -include/virtualbox/xpcom/nsSupportsArray.h -include/virtualbox/xpcom/nsSupportsPrimitives.h -include/virtualbox/xpcom/nsTextFormatter.h -include/virtualbox/xpcom/nsTime.h -include/virtualbox/xpcom/nsTraceRefcntImpl.h -include/virtualbox/xpcom/nsUnitConversion.h -include/virtualbox/xpcom/nsValueArray.h -include/virtualbox/xpcom/nsVariant.h -include/virtualbox/xpcom/nsVoidArray.h -include/virtualbox/xpcom/nsWeakPtr.h -include/virtualbox/xpcom/nsXPCOM.h -include/virtualbox/xpcom/nsXPCOMCID.h -include/virtualbox/xpcom/nscore.h -include/virtualbox/xpcom/pldhash.h -include/virtualbox/xpcom/plevent.h -include/virtualbox/xpcom/xcDll.h -include/virtualbox/xpcom/xpt_arena.h -include/virtualbox/xpcom/xpt_struct.h -include/virtualbox/xpcom/xpt_xdr.h -include/virtualbox/xpcom/xptcall.h -include/virtualbox/xpcom/xptcstubsdecl.inc -include/virtualbox/xpcom/xptcstubsdef.inc -include/virtualbox/xpcom/xptinfo.h -include/virtualbox/xpcom/nsIInterfaceRequestorUtils.h -include/virtualbox/xpcom/nsISupportsImpl.h -include/virtualbox/xpcom/nsISupportsUtils.h -include/virtualbox/xpcom/nsIWeakReferenceUtils.h -include/virtualbox/xpcom/nsCOMPtr.h -include/virtualbox/xpcom/nsDebug.h -include/virtualbox/xpcom/nsGenericFactory.h -include/virtualbox/xpcom/nsIGenericFactory.h -include/virtualbox/xpcom/nsMemory.h -include/virtualbox/xpcom/nsTraceRefcnt.h -include/virtualbox/xpcom/nsWeakReference.h -include/virtualbox/xpcom/nsXPCOMGlue.h -include/virtualbox/xpcom/xpcom-config.h -%%PYTHON_SITELIBDIR%%/vboxapi/__init__.py -%%PYTHON_SITELIBDIR%%/vboxapi/__init__.pyc -%%PYTHON_SITELIBDIR%%/vboxapi/VirtualBox_constants.py -%%PYTHON_SITELIBDIR%%/vboxapi/VirtualBox_constants.pyc -%%PYTHON_SITELIBDIR%%/vboxapi-1.0-py%%PYTHON_VER%%.egg-info -%%PYTHON_SITELIBDIR%%/xpcom/__init__.py -%%PYTHON_SITELIBDIR%%/xpcom/__init__.pyc -%%PYTHON_SITELIBDIR%%/xpcom/components.py -%%PYTHON_SITELIBDIR%%/xpcom/components.pyc -%%PYTHON_SITELIBDIR%%/xpcom/file.py -%%PYTHON_SITELIBDIR%%/xpcom/file.pyc -%%PYTHON_SITELIBDIR%%/xpcom/nsError.py -%%PYTHON_SITELIBDIR%%/xpcom/nsError.pyc -%%PYTHON_SITELIBDIR%%/xpcom/primitives.py -%%PYTHON_SITELIBDIR%%/xpcom/primitives.pyc -%%PYTHON_SITELIBDIR%%/xpcom/vboxxpcom.py -%%PYTHON_SITELIBDIR%%/xpcom/vboxxpcom.pyc -%%PYTHON_SITELIBDIR%%/xpcom/xpcom_consts.py -%%PYTHON_SITELIBDIR%%/xpcom/xpcom_consts.pyc -%%PYTHON_SITELIBDIR%%/xpcom/xpt.py -%%PYTHON_SITELIBDIR%%/xpcom/xpt.pyc -%%PYTHON_SITELIBDIR%%/xpcom/client/__init__.py -%%PYTHON_SITELIBDIR%%/xpcom/client/__init__.pyc -%%PYTHON_SITELIBDIR%%/xpcom/server/__init__.py -%%PYTHON_SITELIBDIR%%/xpcom/server/__init__.pyc -%%PYTHON_SITELIBDIR%%/xpcom/server/enumerator.py -%%PYTHON_SITELIBDIR%%/xpcom/server/enumerator.pyc -%%PYTHON_SITELIBDIR%%/xpcom/server/factory.py -%%PYTHON_SITELIBDIR%%/xpcom/server/factory.pyc -%%PYTHON_SITELIBDIR%%/xpcom/server/loader.py -%%PYTHON_SITELIBDIR%%/xpcom/server/loader.pyc -%%PYTHON_SITELIBDIR%%/xpcom/server/module.py -%%PYTHON_SITELIBDIR%%/xpcom/server/module.pyc -%%PYTHON_SITELIBDIR%%/xpcom/server/policy.py -%%PYTHON_SITELIBDIR%%/xpcom/server/policy.pyc -@dirrm %%PYTHON_SITELIBDIR%%/xpcom/server -@dirrm %%PYTHON_SITELIBDIR%%/xpcom/client -@dirrm %%PYTHON_SITELIBDIR%%/xpcom -@dirrm %%PYTHON_SITELIBDIR%%/vboxapi -@dirrm include/virtualbox/xpcom -@dirrm include/virtualbox/string -@dirrm include/virtualbox/nsprpub/private -@dirrm include/virtualbox/nsprpub/obsolete -@dirrm include/virtualbox/nsprpub/md -@dirrm include/virtualbox/nsprpub -@dirrm include/virtualbox/ipcd -@dirrm include/virtualbox -%%VNC%%@dirrm lib/virtualbox/ExtensionPacks/VNC/%%ARCH%% -%%VNC%%@dirrm lib/virtualbox/ExtensionPacks/VNC -%%VNC%%@dirrmtry lib/virtualbox/ExtensionPacks -%%NLS%%@dirrm %%DATADIR%%/nls -%%WEBSERVICE%%@dirrm %%DATADIR%%/sdk/bindings/webservice -%%WEBSERVICE%%@dirrm %%DATADIR%%/sdk/bindings -%%WEBSERVICE%%@dirrm %%DATADIR%%/sdk -@dirrm %%DATADIR%%/samples -@dirrm %%DATADIR%%/idl -@dirrmtry %%DATADIR%% -%%QT4%%@dirrmtry share/applications -@dirrm lib/virtualbox/components -%%GUESTADDITIONS%%@dirrm lib/virtualbox/additions -@dirrmtry lib/virtualbox |