diff options
Diffstat (limited to 'emulators/vmware-guestd6')
-rw-r--r-- | emulators/vmware-guestd6/Makefile | 159 | ||||
-rw-r--r-- | emulators/vmware-guestd6/distinfo | 1 | ||||
-rw-r--r-- | emulators/vmware-guestd6/files/vmware-guestd.sh | 50 | ||||
-rw-r--r-- | emulators/vmware-guestd6/files/vmware-guestd.sh.in | 50 | ||||
-rw-r--r-- | emulators/vmware-guestd6/pkg-descr | 9 | ||||
-rw-r--r-- | emulators/vmware-guestd6/pkg-descr.tools | 16 | ||||
-rw-r--r-- | emulators/vmware-guestd6/pkg-plist | 6 | ||||
-rw-r--r-- | emulators/vmware-guestd6/pkg-plist.tools | 6 |
8 files changed, 0 insertions, 297 deletions
diff --git a/emulators/vmware-guestd6/Makefile b/emulators/vmware-guestd6/Makefile deleted file mode 100644 index 8f55d3514a9c..000000000000 --- a/emulators/vmware-guestd6/Makefile +++ /dev/null @@ -1,159 +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= 1 -CATEGORIES= emulators -MASTER_SITES= # bundled with VMware itself -PKGNAMESUFFIX?= -guestd -DISTNAME= vmware-freebsd-tools - -MAINTAINER= matusita@FreeBSD.org -COMMENT?=VMware time synchronization daemon for FreeBSD guest OS (for VMware 4.x) - -.if defined(VMWARE_X_PORTS) -RUN_DEPENDS= ${LOCALBASE}/sbin/vmware-guestd:${PORTSDIR}/emulators/vmware-guestd4 -.endif - -DISTDIR= ${MOUNT_PT} -IGNOREFILES= ${DISTFILES} -WRKSRC= ${WRKDIR}/vmware-tools-distrib - -ONLY_FOR_ARCHS= i386 -USE_REINPLACE= yes -USE_RC_SUBR= yes -RC_SCRIPT= ${PREFIX}/etc/rc.d/vmware-guestd.sh -RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} -.if !defined(BATCH) -IS_INTERACTIVE= yes -.endif -.if defined(VMWARE_X_PORTS) -USE_X_PREFIX= yes -NO_BUILD= yes -.endif - -RESTRICTED= "Not sure if we can redistribute this." -NO_PACKAGE= ${RESTRICTED} - -VMWARE_VER= 4.5.2 -BUILD_VER= 8848 - -MOUNT_DEV?= /dev/acd0 -MOUNT_PT?= /mnt -MOUNT= /sbin/mount -UMOUNT= /sbin/umount - -.include <bsd.port.pre.mk> - -.if defined(VMWARE_X_PORTS) - -.if ${X_WINDOW_SYSTEM:L} == xfree86-3 -PLIST_SUB+= INSTALLXSERVER3:="" -PLIST_SUB+= INSTALLXSERVER4:="@comment " -.else -PLIST_SUB+= INSTALLXSERVER3:="@comment " -PLIST_SUB+= INSTALLXSERVER4:="" -.endif - -.else - -.if !defined(WITHOUT_VMWARE_VMMEMCTL) -.if exists(/usr/src/sys/Makefile) -WITH_VMWARE_VMMEMCTL=YES -.endif -.endif -VMWARE_KMODDIR= ${PREFIX}/lib/vmware-tools/modules -.if defined(WITH_VMWARE_VMMEMCTL) -PLIST_SUB+= VMWARE_VMMEMCTL:="" -PLIST_SUB+= VMWARE_KMODDIR:="${VMWARE_KMODDIR}" -.else -PLIST_SUB+= VMWARE_VMMEMCTL:="@comment " -PLIST_SUB+= VMWARE_KMODDIR:="@comment " -.endif - -.endif - -fetch-list: - @${DO_NADA} - -do-fetch: - @${ECHO} "" - @${ECHO} "========================================================================" - @${ECHO} "Choose \"VM\" -> \"Install VMware Tools...\" from the Workstation menu" - @${ECHO} "to connect the VM's CD-ROM drive temporarily to installation CD image." - @${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 - -post-patch: -.if defined(WITH_VMWARE_VMMEMCTL) - ${REINPLACE_CMD} -e 's|vmmemctl1.o||' ${WRKDIR}/vmmemctl-only/Makefile - ${ECHO_CMD} "OBJS+=vmmemctl1.o" >> ${WRKDIR}/vmmemctl-only/Makefile -.endif - -.if defined(VMWARE_X_PORTS) - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bin/vmware-toolbox ${X11BASE}/bin -.if ${X_WINDOW_SYSTEM:L} == xfree86-3 - ${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 - ${INSTALL_DATA} ${WRKSRC}/lib/configurator/XFree86-4/XF86Config-4 ${X11BASE}/etc/XF86Config-4_VMware - ${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 -.endif - -${LOCALBASE}/sbin/vmware-guestd --cmd toolinstall.end - -.else - -do-build: -.if defined(WITH_VMWARE_VMMEMCTL) - (cd ${WRKDIR}/vmmemctl-only; make) -.endif - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/sbin/vmware-guestd ${PREFIX}/sbin - ${INSTALL_PROGRAM} ${WRKSRC}/sbin/vmware-checkvm ${PREFIX}/sbin -.if defined(WITH_VMWARE_VMMEMCTL) - ${MKDIR} ${VMWARE_KMODDIR} - ${INSTALL_PROGRAM} ${WRKDIR}/vmmemctl-only/vmmemctl.ko ${VMWARE_KMODDIR} -.endif - @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${FILESDIR}/vmware-guestd.sh > ${WRKDIR}/vmware-guestd.sh - @${INSTALL_SCRIPT} ${WRKDIR}/vmware-guestd.sh ${RC_SCRIPT} - -${LOCALBASE}/sbin/vmware-guestd --cmd toolinstall.end - -.endif - -.include <bsd.port.post.mk> diff --git a/emulators/vmware-guestd6/distinfo b/emulators/vmware-guestd6/distinfo deleted file mode 100644 index 9a33295bd1da..000000000000 --- a/emulators/vmware-guestd6/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (vmware-freebsd-tools.tar.gz) = IGNORE diff --git a/emulators/vmware-guestd6/files/vmware-guestd.sh b/emulators/vmware-guestd6/files/vmware-guestd.sh deleted file mode 100644 index 47ceb24b2c00..000000000000 --- a/emulators/vmware-guestd6/files/vmware-guestd.sh +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: vmware-guestd -# REQUIRE: DAEMON -# BEFORE: LOGIN -# KEYWORD: FreeBSD - -PREFIX=%%PREFIX%% -. %%RC_SUBR%% - -# Global -checkvm_cmd="${PREFIX}/sbin/vmware-checkvm > /dev/null" - -# Functions -vmware_guest_kmod_start() -{ - echo 'Loading vmmemctl kernel module.' - kldload ${PREFIX}/lib/vmware-tools/modules/vmmemctl.ko >/dev/null 2>&1 -} - -# VMware kernel modules -name="vmware_guest_kmod" -rcvar=`set_rcvar` -start_precmd="${checkvm_cmd}" -start_cmd="vmware_guest_kmod_start" -stop_precmd="${checkvm_cmd}" -stop_cmd=":" - -load_rc_config $name -[ -z "$vmware_guest_kmod_enable" ] && vmware_guest_kmod_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=">/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/files/vmware-guestd.sh.in b/emulators/vmware-guestd6/files/vmware-guestd.sh.in deleted file mode 100644 index 47ceb24b2c00..000000000000 --- a/emulators/vmware-guestd6/files/vmware-guestd.sh.in +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: vmware-guestd -# REQUIRE: DAEMON -# BEFORE: LOGIN -# KEYWORD: FreeBSD - -PREFIX=%%PREFIX%% -. %%RC_SUBR%% - -# Global -checkvm_cmd="${PREFIX}/sbin/vmware-checkvm > /dev/null" - -# Functions -vmware_guest_kmod_start() -{ - echo 'Loading vmmemctl kernel module.' - kldload ${PREFIX}/lib/vmware-tools/modules/vmmemctl.ko >/dev/null 2>&1 -} - -# VMware kernel modules -name="vmware_guest_kmod" -rcvar=`set_rcvar` -start_precmd="${checkvm_cmd}" -start_cmd="vmware_guest_kmod_start" -stop_precmd="${checkvm_cmd}" -stop_cmd=":" - -load_rc_config $name -[ -z "$vmware_guest_kmod_enable" ] && vmware_guest_kmod_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=">/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 920d9d0dbbc7..000000000000 --- a/emulators/vmware-guestd6/pkg-descr +++ /dev/null @@ -1,9 +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. - -WWW: http://www.vmware.com/products/desktop/ws_features.html diff --git a/emulators/vmware-guestd6/pkg-descr.tools b/emulators/vmware-guestd6/pkg-descr.tools deleted file mode 100644 index 68165f70e46f..000000000000 --- a/emulators/vmware-guestd6/pkg-descr.tools +++ /dev/null @@ -1,16 +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. - -WWW: http://www.vmware.com/products/desktop/ws_features.html diff --git a/emulators/vmware-guestd6/pkg-plist b/emulators/vmware-guestd6/pkg-plist deleted file mode 100644 index c27ee799e7d5..000000000000 --- a/emulators/vmware-guestd6/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -sbin/vmware-checkvm -sbin/vmware-guestd -etc/rc.d/vmware-guestd.sh -%%VMWARE_VMMEMCTL:%%lib/vmware-tools/modules/vmmemctl.ko -%%VMWARE_VMMEMCTL:%%@unexec rmdir %D/lib/vmware-tools/modules 2>/dev/null || true -%%VMWARE_VMMEMCTL:%%@unexec rmdir %D/lib/vmware-tools 2>/dev/null || true diff --git a/emulators/vmware-guestd6/pkg-plist.tools b/emulators/vmware-guestd6/pkg-plist.tools deleted file mode 100644 index acc0046b6340..000000000000 --- a/emulators/vmware-guestd6/pkg-plist.tools +++ /dev/null @@ -1,6 +0,0 @@ -bin/vmware-toolbox -%%INSTALLXSERVER3:%%bin/XF86_VMware -%%INSTALLXSERVER3:%%etc/XF86Config_VMware -%%INSTALLXSERVER4:%%etc/XF86Config-4_VMware -%%INSTALLXSERVER4:%%lib/modules/drivers/vmware_drv.o_VMware -%%INSTALLXSERVER4:%%lib/modules/input/vmmouse_drv.o_VMware |