From: Frank Brehm Date: Tue, 12 Feb 2008 12:04:18 +0000 (+0000) Subject: VmWare Tools auf neuere Version X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=9f08519eb048165288d90909b08eb257dd123702;p=portage.git VmWare Tools auf neuere Version git-svn-id: http://svn.brehm-online.com/svn/portage@51 18afd0d2-9f2f-0410-a0ac-b8d70fd81a6b --- diff --git a/app-emulation/vmware-esx-tools/Manifest b/app-emulation/vmware-esx-tools/Manifest new file mode 100644 index 0000000..9ebfb1b --- /dev/null +++ b/app-emulation/vmware-esx-tools/Manifest @@ -0,0 +1,4 @@ +AUX 90vmware-tools 88 RMD160 0b7743c0c55d5ab36684c274f3bba3d92239090e SHA1 f56dae84f0fdd0844184c9e497e87c9201893d51 SHA256 137040e747111019299cf7c3a4d668fec68ee848e1131e54802fd164e9b98f27 +AUX vmware-esx-tools.rc 1458 RMD160 4f1f3db71c45a972d26a8e1918829113e464180d SHA1 500732eff62d0f90cb9ff9f022222a8586107615 SHA256 75a27c384636cc5b6bbf1eb0fb3f3e394fcb9f34627eaeac434e6fd9a27a44e4 +AUX xorg.conf 2646 RMD160 c3e2e153b3b9520fc8d5fa20e9e8f7a6c3790084 SHA1 a44f4240f19390a6707da4313139160ee6972da0 SHA256 2503352f7fd53f23e51d53017f76167a2da0fdfbb9eb434c85573108c6bc53c8 +EBUILD vmware-esx-tools-3.5.0.ebuild 862 RMD160 2b5f08b46de0791e2f301090d18665a52b08768d SHA1 e15122ff8eab9c2f932d5f73c3069d1e6f73c8b4 SHA256 97a7b9e5ff0131e36dd776ee111c28762880183c10f74ff56673a5c4586f6464 diff --git a/app-emulation/vmware-esx-tools/files/90vmware-tools b/app-emulation/vmware-esx-tools/files/90vmware-tools new file mode 100644 index 0000000..40def35 --- /dev/null +++ b/app-emulation/vmware-esx-tools/files/90vmware-tools @@ -0,0 +1,3 @@ +PATH=/opt/vmware/tools/bin +ROOTPATH=/opt/vmware/tools/bin +MANPATH=/opt/vmware/tools/man diff --git a/app-emulation/vmware-esx-tools/files/vmware-esx-tools.rc b/app-emulation/vmware-esx-tools/files/vmware-esx-tools.rc new file mode 100644 index 0000000..d19f8fc --- /dev/null +++ b/app-emulation/vmware-esx-tools/files/vmware-esx-tools.rc @@ -0,0 +1,72 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation-tools/files/vmware-workstation-tools.rc,v 1.3 2006/06/13 22:07:13 wolf31o2 Exp $ + +depend() { + before checkfs 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 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-tools/init.d/vmware-tools || \ + eend 1 "vmware init script not found. Aborting" || return 1 + + /etc/vmware-tools/init.d/vmware-tools start | vmware-prettify start + return $? +} + +stop() { + /etc/vmware-tools/init.d/vmware-tools stop | vmware-prettify stop + return $? +} diff --git a/app-emulation/vmware-esx-tools/files/xorg.conf b/app-emulation/vmware-esx-tools/files/xorg.conf new file mode 100644 index 0000000..9fcf4ba --- /dev/null +++ b/app-emulation/vmware-esx-tools/files/xorg.conf @@ -0,0 +1,111 @@ +Section "ServerLayout" + Identifier "X.org Configured" + Screen 0 "Screen0" 0 0 + InputDevice "Mouse0" "CorePointer" + InputDevice "Keyboard0" "CoreKeyboard" +EndSection + +Section "Files" + RgbPath "/usr/lib/X11/rgb" + ModulePath "/usr/lib/modules" + FontPath "/usr/share/fonts/misc/" + FontPath "/usr/share/fonts/TTF/" + FontPath "/usr/share/fonts/Type1/" + FontPath "/usr/share/fonts/CID/" + FontPath "/usr/share/fonts/75dpi/" + FontPath "/usr/share/fonts/100dpi/" +EndSection + +Section "Module" + Load "extmod" + Load "dri" + Load "dbe" + Load "record" + Load "xtrap" + Load "glx" + Load "type1" + Load "freetype" +EndSection + +Section "InputDevice" + Identifier "Keyboard0" + Driver "kbd" +EndSection + +Section "InputDevice" + Identifier "Mouse0" + Driver "mouse" + Option "Protocol" "auto" + Option "Device" "/dev/mouse" +EndSection + +Section "Monitor" + Identifier "Monitor0" + VendorName "Monitor Vendor" + ModelName "Monitor Model" + + HorizSync 1-10000 + VertRefresh 1-10000 + + ModeLine "640x480" 100 640 700 800 900 480 500 600 700 + ModeLine "800x600" 100 800 900 1000 1100 600 700 800 900 + ModeLine "1024x768" 100 1024 1100 1200 1300 768 800 900 1000 + ModeLine "1152x864" 100 1152 1200 1300 1400 864 900 1000 1100 + ModeLine "1152x900" 100 1152 1200 1300 1400 900 1000 1100 1200 + ModeLine "1280x1024" 100 1280 1300 1400 1500 1024 1100 1200 1300 + ModeLine "1376x1032" 100 1376 1400 1500 1600 1032 1100 1200 1300 + ModeLine "1600x1200" 100 1600 1700 1800 1900 1200 1300 1400 1500 + ModeLine "2364x1773" 100 2364 2400 2500 2600 1773 1800 1900 2000 + +EndSection + +Section "Device" + ### Available Driver options are:- + ### Values: : integer, : float, : "True"/"False", + ### : "String", : " Hz/kHz/MHz" + ### [arg]: arg optional + #Option "HWcursor" # [] + #Option "NoAccel" # [] + Identifier "Card0" + Driver "vmware" + VendorName "VMWare Inc" + BoardName "Unknown Board" + BusID "PCI:0:15:0" +EndSection + +Section "Screen" + Identifier "Screen0" + Device "Card0" + Monitor "Monitor0" + + SubSection "Display" + Viewport 0 0 + Depth 4 + Modes "1024x768" + EndSubSection + + SubSection "Display" + Viewport 0 0 + Depth 8 + Modes "1024x768" + EndSubSection + + SubSection "Display" + Viewport 0 0 + Depth 15 + Modes "1024x768" + EndSubSection + + SubSection "Display" + Viewport 0 0 + Depth 16 + Modes "1024x768" + EndSubSection + + SubSection "Display" + Viewport 0 0 + Depth 24 + Modes "1024x768" + EndSubSection +EndSection + diff --git a/app-emulation/vmware-esx-tools/vmware-esx-tools-3.5.0.ebuild b/app-emulation/vmware-esx-tools/vmware-esx-tools-3.5.0.ebuild new file mode 100644 index 0000000..7f4fd38 --- /dev/null +++ b/app-emulation/vmware-esx-tools/vmware-esx-tools-3.5.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation-tools/vmware-workstation-tools-5.5.1.ebuild,v 1.2 2006/06/12 20:44:35 wolf31o2 Exp $ + +inherit eutils vmware + +DESCRIPTION="Guest-os tools for VMware ESX" +HOMEPAGE="http://www.vmware.com/" +SRC_URI="" + +LICENSE="vmware" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="X" +RESTRICT="" + +RDEPEND="sys-apps/pciutils" + +S=${WORKDIR}/vmware-tools-distrib + +RUN_UPDATE="no" + +dir=/opt/vmware/esx/tools +Ddir=${D}/${dir} + +ANY_ANY= +TARBALL="VMwareTools-3.5.0-64607.tar.gz" +MY_P=${TARBALL/.tar.gz/} + +src_install() { + vmware_src_install + + dodir ${dir}/sbin ${dir}/bin + keepdir ${dir}/sbin ${dir}/bin + + # if we have X, install the default config + if use X ; then + insinto /etc/X11 + doins ${FILESDIR}/xorg.conf + fi +}