diff options
Diffstat (limited to 'app-emulation/vmware-workstation/files')
5 files changed, 89 insertions, 0 deletions
diff --git a/app-emulation/vmware-workstation/files/4.0.4388/90vmware b/app-emulation/vmware-workstation/files/4.0.4388/90vmware new file mode 100644 index 000000000000..8e00d2bb0587 --- /dev/null +++ b/app-emulation/vmware-workstation/files/4.0.4388/90vmware @@ -0,0 +1,3 @@ +PATH=/opt/vmware/bin +ROOTPATH=/opt/vmware/bin +MANPATH=/opt/vmware/man diff --git a/app-emulation/vmware-workstation/files/4.0.4388/VMwareWorkstation.desktop b/app-emulation/vmware-workstation/files/4.0.4388/VMwareWorkstation.desktop new file mode 100644 index 000000000000..9e42f9c1b4c6 --- /dev/null +++ b/app-emulation/vmware-workstation/files/4.0.4388/VMwareWorkstation.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Name=VMware Workstation +Comment=VMware Workstation +GenericName=Virtual PC Emulator +Exec=vmware +Icon=/opt/vmware/lib/icon/vmware.png +Path= +Terminal=0 +TerminalOptions= +Type=Application +X-KDE-SubstituteUID=false +X-KDE-Username= diff --git a/app-emulation/vmware-workstation/files/4.0.4388/vmware b/app-emulation/vmware-workstation/files/4.0.4388/vmware new file mode 100644 index 000000000000..1c7af05709dc --- /dev/null +++ b/app-emulation/vmware-workstation/files/4.0.4388/vmware @@ -0,0 +1,73 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/files/4.0.4388/vmware,v 1.1 2003/03/27 04:26:13 drobbins Exp $ + +depend() { + need localmount + use logger net +} + +vmware-prettify() { + # Yea, the code is ugly but the output is pretty + state=$1 + waserror=0 + msgtype=0 + while read line + do + [ "$line" == "" ] && continue + if [ "$msgtype" -le "0" ] + then + if [ "$msgtype" == "-1" ] + then + ewarn $line + continue + fi + if [ "${line/*:*/}" == "" ] + then + einfon $line + echo + eend 0 + msgtype=1 + else + ewarn $line + msgtype=-1 + waserror=1 + fi + continue + fi + + # Strip out anything after the <esc> code + message=`echo $line | sed -e "s/^\(.*\).*$/\1/"` + einfon " $message" + echo + + echo $line | grep done > /dev/null + status=$? + eend $status + + if [ "$status" != "0" ] + then + logger -p local0.err -t vmware-${state} "$line" + waserror=$status + fi + done + if [ "$msgtype" == "-1" ] + then + eend 1 "VMware is not properly configured! See above." + fi + return $waserror +} + +start() { + test -x /etc/vmware/init.d/vmware || \ + eend 1 "vmware init script not found. Aborting" || return 1 + + /etc/vmware/init.d/vmware start | vmware-prettify start + return $? +} + +stop() { + /etc/vmware/init.d/vmware stop | vmware-prettify stop + return $? +} diff --git a/app-emulation/vmware-workstation/files/4.0.4388/vmware.png b/app-emulation/vmware-workstation/files/4.0.4388/vmware.png Binary files differnew file mode 100644 index 000000000000..06672aa3f0bf --- /dev/null +++ b/app-emulation/vmware-workstation/files/4.0.4388/vmware.png diff --git a/app-emulation/vmware-workstation/files/digest-vmware-workstation-4.0.4388 b/app-emulation/vmware-workstation/files/digest-vmware-workstation-4.0.4388 new file mode 100644 index 000000000000..a56eeeec9036 --- /dev/null +++ b/app-emulation/vmware-workstation/files/digest-vmware-workstation-4.0.4388 @@ -0,0 +1 @@ +MD5 7783de769394f8020de270af1694c664 VMware-workstation-e.x.p-4388.tar.gz 23150976 |