diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2007-01-29 10:14:29 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2007-01-29 10:14:29 +0000 |
commit | cec49cf8f48420d4e91f2d480cf281bd2d79e999 (patch) | |
tree | 26a0b2f13d3c39b0da0fdcdd6f2fdbf06bdc636e /emulators/vmware-guestd6 | |
parent | 6a1c5fb9a79f259c9737a9bfa2ce5a164672585b (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_EOL'.4-eol
Notes
Notes:
svn path=/head/; revision=183609
svn path=/tags/RELEASE_4_EOL/; revision=183610; tag=4-eol
Diffstat (limited to 'emulators/vmware-guestd6')
-rw-r--r-- | emulators/vmware-guestd6/Makefile | 251 | ||||
-rw-r--r-- | emulators/vmware-guestd6/distinfo | 2 | ||||
-rw-r--r-- | emulators/vmware-guestd6/files/vmware-guestd.sh.in | 67 | ||||
-rw-r--r-- | emulators/vmware-guestd6/pkg-descr | 14 | ||||
-rw-r--r-- | emulators/vmware-guestd6/pkg-descr.tools | 21 | ||||
-rw-r--r-- | emulators/vmware-guestd6/pkg-plist | 14 | ||||
-rw-r--r-- | emulators/vmware-guestd6/pkg-plist.tools | 10 |
7 files changed, 0 insertions, 379 deletions
diff --git a/emulators/vmware-guestd6/Makefile b/emulators/vmware-guestd6/Makefile deleted file mode 100644 index c0362691e13e..000000000000 --- a/emulators/vmware-guestd6/Makefile +++ /dev/null @@ -1,251 +0,0 @@ -# New ports collection makefile for: VMware tools for FreeBSD -# Date created: 10 Aug 2000 -# Whom: matusita@jp.FreeBSD.org -# -# $FreeBSD$ -# - -PORTNAME= vmware -PORTVERSION= ${VMWARE_VER}.${BUILD_VER} -PORTREVISION?= 2 -CATEGORIES= emulators -MASTER_SITES= # bundled with VMware Workstation -PKGNAMESUFFIX?= -guestd -DISTNAME= vmware-freebsd-tools - -MAINTAINER= matusita@FreeBSD.org -COMMENT?=VMware guest OS supporting daemon (VMware Workstation 5.x, FreeBSD version) - -.if defined(VMWARE_X_PORTS) -RUN_DEPENDS= ${LOCALBASE}/sbin/vmware-guestd:${PORTSDIR}/emulators/vmware-guestd5 -.endif - -DISTDIR= ${MOUNT_PT} -IGNOREFILES= ${DISTFILES} -WRKSRC= ${WRKDIR}/vmware-tools-distrib - -ONLY_FOR_ARCHS= i386 amd64 -USE_RC_SUBR= vmware-guestd.sh -.if !defined(BATCH) -IS_INTERACTIVE= yes -.endif -.if defined(VMWARE_X_PORTS) -USE_X_PREFIX= yes -NO_BUILD= yes -.if defined(WITH_VMWARE_GTK) -PLIST_SUB+= INSTALLXGTKTOOL:="" -USE_ICONV= yes -USE_GETTEXT= yes -USE_XLIB= yes -USE_GNOME= glib12 gtk12 -LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x -.else -PLIST_SUB+= INSTALLXGTKTOOL:="@comment " -.endif -.endif - -RESTRICTED= "Not sure if we can redistribute this." -NO_PACKAGE= ${RESTRICTED} - -VMWARE_VER= 5.5.1 -BUILD_VER= 19175 - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500000 -MOUNT_DEV?= /dev/acd0c -.else -MOUNT_DEV?= /dev/acd0 -.endif -MOUNT_PT?= /mnt -MOUNT= /sbin/mount -UMOUNT= /sbin/umount - -.if ${ARCH} == i386 -BITS?= 32 -.else # ${ARCH} == amd64 -BITS?= 64 -.endif - -.if defined(VMWARE_X_PORTS) - -.if ${X_WINDOW_SYSTEM:L} == xfree86-3 -.if ${BITS} == 32 -PLIST_SUB+= INSTALLXSERVER3:="" -.else -PLIST_SUB+= INSTALLXSERVER3:="@comment " -.endif -PLIST_SUB+= INSTALLXSERVER4:="@comment " -PLIST_SUB+= INSTALLXVMMOUSE:="@comment " -.elif ${X_WINDOW_SYSTEM:L} == xfree86-4 -PLIST_SUB+= INSTALLXSERVER3:="@comment " -PLIST_SUB+= INSTALLXSERVER4:="" -PLIST_SUB+= INSTALLXVMMOUSE:="" -.else -PLIST_SUB+= INSTALLXSERVER3:="@comment " -PLIST_SUB+= INSTALLXSERVER4:="@comment " -PLIST_SUB+= INSTALLXVMMOUSE:="" -.endif - -.else - -VMWARE_KMODDIR= ${PREFIX}/lib/vmware-tools/modules - -.if !defined(WITHOUT_VMWARE_VMMEMCTL) && exists(/usr/src/sys/Makefile) -WITH_VMWARE_VMMEMCTL=YES -.endif -.if !defined(WITHOUT_VMWARE_VMXNET) && (${BITS} == 32) -WITH_VMWARE_VMXNET=YES -.endif - -.if defined(WITH_VMWARE_VMMEMCTL) -PLIST_SUB+= VMWARE_VMMEMCTL:="" -.else -PLIST_SUB+= VMWARE_VMMEMCTL:="@comment " -.endif - -.if defined(WITH_VMWARE_VMXNET) -.if (${OSVERSION} >= 480000) && (${OSVERSION} < 500000) && (${BITS} == 32) -PLIST_SUB+= VMWARE_VMXNET:="" -VMWARE_VMXNET_PATH= 4.9/vmxnet.ko -.elif (${OSVERSION} >= 500000) && (${OSVERSION} < 600000) -PLIST_SUB+= VMWARE_VMXNET:="" -.if ${BITS} == 32 -VMWARE_VMXNET_PATH= 5.3-i386/vmxnet.ko -.else -VMWARE_VMXNET_PATH= 5.3-amd64/vmxnet.ko -.endif -.else -# VMware doesn't provide vmxnet.ko for other versions -.undef WITH_VMWARE_VMXNET -PLIST_SUB+= VMWARE_VMXNET:="@comment " -.endif -.else -PLIST_SUB+= VMWARE_VMXNET:="@comment " -.endif - -.if defined(WITH_VMWARE_VMMEMCTL) || defined(WITH_VMWARE_VMXNET) -PLIST_SUB+= VMWARE_KMODDIR:="" -.else -PLIST_SUB+= VMWARE_KMODDIR:="@comment " -.endif - -.endif - -fetch-list: - @${DO_NADA} - -do-fetch: - @${ECHO} "" - @${ECHO} "========================================================================" - @${ECHO} "Choose \"VM\" -> \"Install VMware Tools...\" from VMware Workstation" - @${ECHO} "menu to connect VM's CD-ROM drive and installation CD image temporary." - @${ECHO} "Press \"Install\" button when a dialog pops up." - @${ECHO} "========================================================================" - @${ECHO} "" -.if !defined(BATCH) - @${ECHO} "This port mounts ${MOUNT_DEV} to ${MOUNT_PT}." - @${ECHO} "" - @${ECHO} -n "Are you ready? [Y/n]: " - @(read line; \ - case "$${line}" in \ - [Nn]*) \ - ${FALSE} ;; \ - *) \ - ${TRUE} ;; \ - esac) -.endif - ${MKDIR} ${MOUNT_PT} - -${UMOUNT} ${MOUNT_PT} 2>&1 >/dev/null - -${UMOUNT} ${MOUNT_DEV} 2>&1 >/dev/null - ${MOUNT} -t cd9660 ${MOUNT_DEV} ${MOUNT_PT} - -post-extract: - ${UMOUNT} ${MOUNT_PT} -.if defined(WITH_VMWARE_VMMEMCTL) - (cd ${WRKDIR}; ${TAR} xf ${WRKSRC}/lib/modules/source/vmmemctl.tar) -.endif - -.if defined(VMWARE_X_PORTS) - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/lib/bin${BITS}/vmware-toolbox-tcl ${X11BASE}/bin - ${LN} -sfh vmware-toolbox-tcl ${X11BASE}/bin/vmware-toolbox -.if defined(WITH_VMWARE_GTK) - ${INSTALL_PROGRAM} ${WRKSRC}/lib/bin${BITS}/vmware-toolbox-gtk ${X11BASE}/bin -.endif -.if ${X_WINDOW_SYSTEM:L} != xfree86-3 - if [ ! -d ${X11BASE}/lib/modules/input ] ; then \ - ${MKDIR} ${X11BASE}/lib/modules/input ; \ - fi -.endif -.if ${X_WINDOW_SYSTEM:L} == xfree86-3 -.if ${BITS} == 32 - ${INSTALL_PROGRAM} ${WRKSRC}/lib/configurator/XFree86-3/XF86_VMware_4.5 ${X11BASE}/bin/XF86_VMware - ${INSTALL_DATA} ${WRKSRC}/lib/configurator/XFree86-3/XF86Config ${X11BASE}/etc/XF86Config_VMware - @${ECHO} "" - @${ECHO} "You have installed XFree86 3.x X Server for VMware." - @${ECHO} "${X11BASE}/etc/XF86Config_VMware is a sample XF86Config file." - @${ECHO} "Copy this file to /etc/XF86Config before starting X." -.else - @${ECHO} "There is no XFree86 3.x X server for your system." - @${ECHO} "Consider upgrading your X to XFree86 4.x or switch to X.Org." -.endif -.elif ${X_WINDOW_SYSTEM:L} == xfree86-4 - ${INSTALL_DATA} ${WRKSRC}/lib/configurator/XFree86-4/XF86Config-4 ${X11BASE}/etc/XF86Config-4_VMware - if [ ! -d ${X11BASE}/lib/modules/drivers ] ; then \ - ${MKDIR} ${X11BASE}/lib/modules/drivers ; \ - fi -.if ${BITS} == 32 - ${INSTALL_DATA} ${WRKSRC}/lib/configurator/XFree86-4/4.3.x/vmware_drv.o ${X11BASE}/lib/modules/drivers/vmware_drv.o_VMware - ${INSTALL_DATA} ${WRKSRC}/lib/configurator/XFree86-4/4.2.x/vmmouse_drv.o ${X11BASE}/lib/modules/input/vmmouse_drv.o_VMware -.else - ${INSTALL_DATA} ${WRKSRC}/lib/configurator/XFree86-4/4.3.x_64/vmware_drv.o ${X11BASE}/lib/modules/drivers/vmware_drv.o_VMware - ${INSTALL_DATA} ${WRKSRC}/lib/configurator/XFree86-4/4.3.x_64/vmmouse_drv.o ${X11BASE}/lib/modules/input/vmmouse_drv.o_VMware -.endif -.else -.if ${BITS} == 32 - ${INSTALL_DATA} ${WRKSRC}/lib/configurator/XOrg/6.8.x/vmmouse_drv.o ${X11BASE}/lib/modules/input/vmmouse_drv.o_VMware -.else - ${INSTALL_DATA} ${WRKSRC}/lib/configurator/XOrg/6.8.x_64/vmmouse_drv.o ${X11BASE}/lib/modules/input/vmmouse_drv.o_VMware -.endif -.endif - -${WRKSRC}/lib/sbin${BITS}/vmware-guestd --cmd toolinstall.end - -.else - -post-patch: - ${REINPLACE_CMD} "`${PRINTF} 's|\0152\013\0350|\0152\\\n\0350|g'`" \ - ${WRKSRC}/lib/sbin${BITS}/vmware-checkvm - -do-build: -.if defined(WITH_VMWARE_VMMEMCTL) - (cd ${WRKDIR}/vmmemctl-only; make) -.endif - -do-install: - @if [ -f ${PREFIX}/etc/rc.d/${USE_RC_SUBR} ]; then \ - ${ECHO_CMD} "Remove old ${PREFIX}/etc/rc.d/${USE_RC_SUBR} before install."; \ - exit 1; \ - fi - ${INSTALL_PROGRAM} ${WRKSRC}/lib/sbin${BITS}/vmware-guestd ${PREFIX}/sbin - ${INSTALL_PROGRAM} ${WRKSRC}/lib/sbin${BITS}/vmware-checkvm ${PREFIX}/sbin -.if defined(WITH_VMWARE_VMMEMCTL) - ${MKDIR} ${VMWARE_KMODDIR} - ${INSTALL_PROGRAM} ${WRKDIR}/vmmemctl-only/vmmemctl.ko ${VMWARE_KMODDIR} -.endif -.if defined(WITH_VMWARE_VMXNET) - ${MKDIR} ${VMWARE_KMODDIR} - ${INSTALL_PROGRAM} ${WRKSRC}/lib/modules/binary/FreeBSD${VMWARE_VMXNET_PATH} ${VMWARE_KMODDIR} -.endif - -${WRKSRC}/lib/sbin${BITS}/vmware-guestd --cmd toolinstall.end - ${MKDIR} ${PREFIX}/share/vmware-tools - ${LN} -sfh /usr/bin/true ${PREFIX}/share/vmware-tools/poweroff-vm-default - ${LN} -sfh /usr/bin/true ${PREFIX}/share/vmware-tools/poweron-vm-default - ${LN} -sfh /usr/bin/true ${PREFIX}/share/vmware-tools/resume-vm-default - ${LN} -sfh /usr/bin/true ${PREFIX}/share/vmware-tools/suspend-vm-default - ${LN} -sfh ${PREFIX}/share/vmware-tools /etc/vmware-tools - -.endif - -.include <bsd.port.post.mk> diff --git a/emulators/vmware-guestd6/distinfo b/emulators/vmware-guestd6/distinfo deleted file mode 100644 index 33ac5d7c570a..000000000000 --- a/emulators/vmware-guestd6/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (vmware-freebsd-tools.tar.gz) = IGNORE -SHA256 (vmware-freebsd-tools.tar.gz) = IGNORE diff --git a/emulators/vmware-guestd6/files/vmware-guestd.sh.in b/emulators/vmware-guestd6/files/vmware-guestd.sh.in deleted file mode 100644 index 158e88bf56bd..000000000000 --- a/emulators/vmware-guestd6/files/vmware-guestd.sh.in +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: vmware-guestd -# REQUIRE: DAEMON -# BEFORE: LOGIN - -PREFIX=%%PREFIX%% -. %%RC_SUBR%% - -# Global -checkvm_cmd="${PREFIX}/sbin/vmware-checkvm > /dev/null" - -# Functions -vmware_guest_vmmemctl_start() -{ - echo 'Loading vmmemctl kernel module.' - kldload ${PREFIX}/lib/vmware-tools/modules/vmmemctl.ko >/dev/null 2>&1 -} -vmware_guest_vmxnet_start() -{ - echo 'Loading vmxnet kernel module.' - kldload ${PREFIX}/lib/vmware-tools/modules/vmxnet.ko >/dev/null 2>&1 -} - -# VMware kernel module: vmmemctl -name="vmware_guest_vmmemctl" -rcvar=`set_rcvar` -start_precmd="${checkvm_cmd}" -start_cmd="vmware_guest_vmmemctl_start" -stop_precmd="${checkvm_cmd}" -stop_cmd=":" - -load_rc_config $name -[ -z "$vmware_guest_vmmemctl_enable" ] && vmware_guest_vmmemctl_enable="NO" -[ -n "$vmware_guest_kmod_enable" ] && vmware_guest_vmmemctl_enable="$vmware_guest_kmod_enable" -run_rc_command "$1" - -# VMware kernel module: vmxnet -name="vmware_guest_vmxnet" -rcvar=`set_rcvar` -start_precmd="${checkvm_cmd}" -start_cmd="vmware_guest_vmxnet_start" -stop_precmd="${checkvm_cmd}" -stop_cmd=":" - -load_rc_config $name -[ -z "$vmware_guest_vmxnet_enable" ] && vmware_guest_vmxnet_enable="NO" -run_rc_command "$1" - -# VMware guest daemon -name="vmware_guestd" -rcvar=`set_rcvar` -start_precmd="${checkvm_cmd}" -unset start_cmd -stop_precmd="${checkvm_cmd}" -unset stop_cmd -command="${PREFIX}/sbin/vmware-guestd" -command_args="--halt-command '/sbin/shutdown -p now' >/dev/null 2>&1" -pidfile="/var/run/${name}.pid" - -load_rc_config $name -[ -z "$vmware_guestd_enable" ] && vmware_guestd_enable="YES" -[ -z "$vmware_guestd_flags" ] && vmware_guestd_flags="--background ${pidfile}" -run_rc_command "$1" diff --git a/emulators/vmware-guestd6/pkg-descr b/emulators/vmware-guestd6/pkg-descr deleted file mode 100644 index b16e51735850..000000000000 --- a/emulators/vmware-guestd6/pkg-descr +++ /dev/null @@ -1,14 +0,0 @@ -vmware-guestd daemon is for time synchronization with host OS and others. -Beware, this port is for FreeBSD _guest_ OS. You don't need to install -this ports to FreeBSD _host_ OS. This ports also installs a kernel modules -for FreeBSD guest. - -If you want to run FreeBSD as a VMware guest OS, install this port -would help you. If you want to run X, install vmware-tools too. - -This port assumes that a) users want only "must-have" binaries and -b) guest OS runs on a certain architecture and never be changed. For -those want full-feature of VMware Tools, use the installer bundled with -VMware Tools instead. - -WWW: http://www.vmware.com/products/ws/ diff --git a/emulators/vmware-guestd6/pkg-descr.tools b/emulators/vmware-guestd6/pkg-descr.tools deleted file mode 100644 index 2027da8571ce..000000000000 --- a/emulators/vmware-guestd6/pkg-descr.tools +++ /dev/null @@ -1,21 +0,0 @@ -VMware tools support FreeBSD _guest_ OS running on VMware Workstation. -Beware, this port is _not_ for FreeBSD _host_ OS. - -VMware tools for FreeBSD consist of vmware-toolbox which supports -seamless operation between the Host and the Guest OS, dual-boot -configulation files, and special XFree86 3.x server for Guest OS. -However, we cannot install dual-boot configuration since it requires -to modify /etc files. - -This ports will install vmware-toolbox to your computer, and -XFree86 X server if you set XFREE86_VERSION to 3 in /etc/make.conf, -If you already use XFree86 4.1.0 or later, you may use 'vmware' -driver for X server. Vmware-guestd is installed as a separate port, -ports/emulators/vmware-guestd4, but this port install guestd automatically. - -This port assumes that a) users want only "must-have" binaries and -b) guest OS runs on a certain architecture and never be changed. For -those want full-feature of VMware Tools, use the installer bundled with -VMware Tools instead. - -WWW: http://www.vmware.com/products/ws/ diff --git a/emulators/vmware-guestd6/pkg-plist b/emulators/vmware-guestd6/pkg-plist deleted file mode 100644 index 7351cf0bff61..000000000000 --- a/emulators/vmware-guestd6/pkg-plist +++ /dev/null @@ -1,14 +0,0 @@ -@unexec %D/etc/rc.d/vmware-guestd.sh forcestop 2>/dev/null || true -sbin/vmware-checkvm -sbin/vmware-guestd -%%VMWARE_VMMEMCTL:%%lib/vmware-tools/modules/vmmemctl.ko -%%VMWARE_VMXNET:%%lib/vmware-tools/modules/vmxnet.ko -%%VMWARE_KMODDIR:%%@dirrmtry lib/vmware-tools/modules -%%VMWARE_KMODDIR:%%@dirrmtry lib/vmware-tools -share/vmware-tools/poweroff-vm-default -share/vmware-tools/poweron-vm-default -share/vmware-tools/resume-vm-default -share/vmware-tools/suspend-vm-default -@dirrm share/vmware-tools -@cwd / -etc/vmware-tools diff --git a/emulators/vmware-guestd6/pkg-plist.tools b/emulators/vmware-guestd6/pkg-plist.tools deleted file mode 100644 index 01dff9975c77..000000000000 --- a/emulators/vmware-guestd6/pkg-plist.tools +++ /dev/null @@ -1,10 +0,0 @@ -bin/vmware-toolbox -bin/vmware-toolbox-tcl -%%INSTALLXGTKTOOL:%%bin/vmware-toolbox-gtk -%%INSTALLXSERVER3:%%bin/XF86_VMware -%%INSTALLXSERVER3:%%etc/XF86Config_VMware -%%INSTALLXSERVER4:%%etc/XF86Config-4_VMware -%%INSTALLXSERVER4:%%lib/modules/drivers/vmware_drv.o_VMware -%%INSTALLXVMMOUSE:%%lib/modules/input/vmmouse_drv.o_VMware -%%INSTALLXSERVER4:%%@dirrmtry lib/modules/drivers -%%INSTALLXVMMOUSE:%%@dirrmtry lib/modules/input |