diff options
author | Philip Walls <malverian@gentoo.org> | 2003-03-22 23:57:15 +0000 |
---|---|---|
committer | Philip Walls <malverian@gentoo.org> | 2003-03-22 23:57:15 +0000 |
commit | 7ed7c0bd0eb725a484f60809e5a0e166636187f2 (patch) | |
tree | 0cfa4b63b2c312fb132e79f37e4aefa3a41d1f1a /app-emulation/vmware-workstation/files | |
parent | Version bump, fixed up ebuild so man pages are now installed with software. (diff) | |
download | gentoo-2-7ed7c0bd0eb725a484f60809e5a0e166636187f2.tar.gz gentoo-2-7ed7c0bd0eb725a484f60809e5a0e166636187f2.tar.bz2 gentoo-2-7ed7c0bd0eb725a484f60809e5a0e166636187f2.zip |
version bump and fixes, see ChangeLog
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.4320/90vmware b/app-emulation/vmware-workstation/files/4.0.4320/90vmware new file mode 100644 index 000000000000..8e00d2bb0587 --- /dev/null +++ b/app-emulation/vmware-workstation/files/4.0.4320/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.4320/VMwareWorkstation.desktop b/app-emulation/vmware-workstation/files/4.0.4320/VMwareWorkstation.desktop new file mode 100644 index 000000000000..9e42f9c1b4c6 --- /dev/null +++ b/app-emulation/vmware-workstation/files/4.0.4320/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.4320/vmware b/app-emulation/vmware-workstation/files/4.0.4320/vmware new file mode 100644 index 000000000000..ef2cedda1d60 --- /dev/null +++ b/app-emulation/vmware-workstation/files/4.0.4320/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.4320/vmware,v 1.1 2003/03/22 23:57:15 malverian 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.4320/vmware.png b/app-emulation/vmware-workstation/files/4.0.4320/vmware.png Binary files differnew file mode 100644 index 000000000000..06672aa3f0bf --- /dev/null +++ b/app-emulation/vmware-workstation/files/4.0.4320/vmware.png diff --git a/app-emulation/vmware-workstation/files/digest-vmware-workstation-4.0.4320 b/app-emulation/vmware-workstation/files/digest-vmware-workstation-4.0.4320 new file mode 100644 index 000000000000..d426c8daf8f5 --- /dev/null +++ b/app-emulation/vmware-workstation/files/digest-vmware-workstation-4.0.4320 @@ -0,0 +1 @@ +MD5 e58ce1097fae6efe2287bd72790bd883 VMware-workstation-e.x.p-4320.tar.gz 23487450 |