summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPreston A. Elder <prez@gentoo.org>2002-09-16 20:24:30 +0000
committerPreston A. Elder <prez@gentoo.org>2002-09-16 20:24:30 +0000
commitc4ef3a2301f8b92a03403041cc687a89a967ba0c (patch)
tree1b92f678514a17db8f409b814cd8ddd3a0d67660 /app-emulation/vmware-workstation/files
parentVersion bumped, including openmosix-2.4.18-4 and evms 1.1.0 (diff)
downloadhistorical-c4ef3a2301f8b92a03403041cc687a89a967ba0c.tar.gz
historical-c4ef3a2301f8b92a03403041cc687a89a967ba0c.tar.bz2
historical-c4ef3a2301f8b92a03403041cc687a89a967ba0c.zip
Added VMware 3.2.0 (2230).
Diffstat (limited to 'app-emulation/vmware-workstation/files')
-rw-r--r--app-emulation/vmware-workstation/files/3.2.0.2230/90vmware3
-rw-r--r--app-emulation/vmware-workstation/files/3.2.0.2230/VMwareWorkstation.desktop12
-rw-r--r--app-emulation/vmware-workstation/files/3.2.0.2230/vmware73
-rw-r--r--app-emulation/vmware-workstation/files/3.2.0.2230/vmware.pngbin0 -> 470 bytes
-rw-r--r--app-emulation/vmware-workstation/files/digest-vmware-workstation-3.2.0.22301
5 files changed, 89 insertions, 0 deletions
diff --git a/app-emulation/vmware-workstation/files/3.2.0.2230/90vmware b/app-emulation/vmware-workstation/files/3.2.0.2230/90vmware
new file mode 100644
index 000000000000..8e00d2bb0587
--- /dev/null
+++ b/app-emulation/vmware-workstation/files/3.2.0.2230/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/3.2.0.2230/VMwareWorkstation.desktop b/app-emulation/vmware-workstation/files/3.2.0.2230/VMwareWorkstation.desktop
new file mode 100644
index 000000000000..9e42f9c1b4c6
--- /dev/null
+++ b/app-emulation/vmware-workstation/files/3.2.0.2230/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/3.2.0.2230/vmware b/app-emulation/vmware-workstation/files/3.2.0.2230/vmware
new file mode 100644
index 000000000000..8183578d7ba5
--- /dev/null
+++ b/app-emulation/vmware-workstation/files/3.2.0.2230/vmware
@@ -0,0 +1,73 @@
+#!/sbin/runscript
+# Copyright 1999-2002 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/3.2.0.2230/vmware,v 1.1 2002/09/16 20:24:30 prez Exp $
+
+depend() {
+ need localmount net
+ use logger
+}
+
+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/3.2.0.2230/vmware.png b/app-emulation/vmware-workstation/files/3.2.0.2230/vmware.png
new file mode 100644
index 000000000000..06672aa3f0bf
--- /dev/null
+++ b/app-emulation/vmware-workstation/files/3.2.0.2230/vmware.png
Binary files differ
diff --git a/app-emulation/vmware-workstation/files/digest-vmware-workstation-3.2.0.2230 b/app-emulation/vmware-workstation/files/digest-vmware-workstation-3.2.0.2230
new file mode 100644
index 000000000000..3fcf4a53a48b
--- /dev/null
+++ b/app-emulation/vmware-workstation/files/digest-vmware-workstation-3.2.0.2230
@@ -0,0 +1 @@
+MD5 be6a12e7c835d027adfe533e1744759e VMware-workstation-3.2.0-2230.tar.gz 12575521