diff options
Diffstat (limited to 'emulators/virtualbox-ose-legacy/files')
4 files changed, 58 insertions, 0 deletions
diff --git a/emulators/virtualbox-ose-legacy/files/patch-Config.kmk b/emulators/virtualbox-ose-legacy/files/patch-Config.kmk new file mode 100644 index 000000000000..81e5f7062b4e --- /dev/null +++ b/emulators/virtualbox-ose-legacy/files/patch-Config.kmk @@ -0,0 +1,11 @@ +--- Config.kmk.orig 2009-06-04 18:02:20.000000000 +0200 ++++ Config.kmk 2009-06-04 18:21:07.000000000 +0200 +@@ -1850,7 +1850,7 @@ + VBOX_OPENSSL_ALL=1 + endif + +-if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), win.x86 win.amd64 linux.x86 linux.amd64 solaris.x86 solaris.amd64 darwin.x86 darwin.amd64 freebsd.x86) ++if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), win.x86 win.amd64 linux.x86 linux.amd64 solaris.x86 solaris.amd64 darwin.x86 darwin.amd64 freebsd.x86 freebsd.amd64) + VBOX_WITH_LIBCURL = 1 + SDK_VBOX_LIBCURL = . + SDK_VBOX_LIBCURL_INCS ?= $(PATH_ROOT)/src/libs/curl-7.19.4/include diff --git a/emulators/virtualbox-ose-legacy/files/patch-configure b/emulators/virtualbox-ose-legacy/files/patch-configure new file mode 100644 index 000000000000..d296d38cd70e --- /dev/null +++ b/emulators/virtualbox-ose-legacy/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orgi 2009-05-31 13:43:50.000000000 +0200 ++++ configure 2009-05-31 13:45:47.000000000 +0200 +@@ -1698,7 +1698,7 @@ + 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 ++ $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-Additions-common-VBoxGuest-VBoxGuest-freebsd.c b/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Additions-common-VBoxGuest-VBoxGuest-freebsd.c new file mode 100644 index 000000000000..64ed1b6899f8 --- /dev/null +++ b/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Additions-common-VBoxGuest-VBoxGuest-freebsd.c @@ -0,0 +1,14 @@ +--- src/VBox/Additions/common/VBoxGuest/VBoxGuest-freebsd.c.old 2009-05-04 20:29:23.000000000 +0200 ++++ src/VBox/Additions/common/VBoxGuest/VBoxGuest-freebsd.c 2009-05-04 20:30:28.000000000 +0200 +@@ -228,7 +228,11 @@ + if (rc) + { + *ppDev = make_dev(&g_VBoxGuestFreeBSDChrDevSW, ++#if __FreeBSD_version < 800062 + unit2minor(iUnit), ++#else ++ iUnit, ++#endif + UID_ROOT, + GID_WHEEL, + 0644, diff --git a/emulators/virtualbox-ose-legacy/files/pkg-install.in b/emulators/virtualbox-ose-legacy/files/pkg-install.in new file mode 100644 index 000000000000..5d5268d8e8ce --- /dev/null +++ b/emulators/virtualbox-ose-legacy/files/pkg-install.in @@ -0,0 +1,22 @@ +#!/bin/sh + +case $2 in +POST-INSTALL) + GROUP=%%VBOXGROUP%% + GID=%%VBOXGID%% + PW=/usr/sbin/pw + + if ${PW} group show "${GROUP}" 2>/dev/null; then + echo "You already have a group \"${GROUP}\", so I will use it." + else + if ${PW} groupadd ${GROUP} -g ${GID}; then + echo "Added group \"${GROUP}\"." + else + echo "Adding group \"${GROUP}\" failed..." + exit 1 + fi + fi + + exit 0 + ;; +esac |