summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPreston A. Elder <prez@gentoo.org>2003-04-10 15:19:08 +0000
committerPreston A. Elder <prez@gentoo.org>2003-04-10 15:19:08 +0000
commitb2fb6bd81db7b13f06500dcbef5acd82db1290f6 (patch)
tree2cdff550bee683e189786e33c2a0ddb51826f8b3 /app-emulation/vmware-workstation
parentAdded 4.0.4460 (diff)
downloadhistorical-b2fb6bd81db7b13f06500dcbef5acd82db1290f6.tar.gz
historical-b2fb6bd81db7b13f06500dcbef5acd82db1290f6.tar.bz2
historical-b2fb6bd81db7b13f06500dcbef5acd82db1290f6.zip
Added supplementary VMware files for 4.0.4460
Diffstat (limited to 'app-emulation/vmware-workstation')
-rw-r--r--app-emulation/vmware-workstation/files/4.0.4460/90vmware3
-rw-r--r--app-emulation/vmware-workstation/files/4.0.4460/VMwareWorkstation.desktop12
-rw-r--r--app-emulation/vmware-workstation/files/4.0.4460/vmware73
-rw-r--r--app-emulation/vmware-workstation/files/4.0.4460/vmware.pngbin0 -> 470 bytes
4 files changed, 88 insertions, 0 deletions
diff --git a/app-emulation/vmware-workstation/files/4.0.4460/90vmware b/app-emulation/vmware-workstation/files/4.0.4460/90vmware
new file mode 100644
index 000000000000..8e00d2bb0587
--- /dev/null
+++ b/app-emulation/vmware-workstation/files/4.0.4460/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.4460/VMwareWorkstation.desktop b/app-emulation/vmware-workstation/files/4.0.4460/VMwareWorkstation.desktop
new file mode 100644
index 000000000000..9e42f9c1b4c6
--- /dev/null
+++ b/app-emulation/vmware-workstation/files/4.0.4460/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.4460/vmware b/app-emulation/vmware-workstation/files/4.0.4460/vmware
new file mode 100644
index 000000000000..b7ab7dca7ba0
--- /dev/null
+++ b/app-emulation/vmware-workstation/files/4.0.4460/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.4460/vmware,v 1.1 2003/04/10 15:19:08 prez 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.4460/vmware.png b/app-emulation/vmware-workstation/files/4.0.4460/vmware.png
new file mode 100644
index 000000000000..06672aa3f0bf
--- /dev/null
+++ b/app-emulation/vmware-workstation/files/4.0.4460/vmware.png
Binary files differ