summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Glover <jmglov@gentoo.org>2004-06-04 03:39:06 +0000
committerJosh Glover <jmglov@gentoo.org>2004-06-04 03:39:06 +0000
commitc57ca6909a5caf135388264e867bb6647be26a63 (patch)
tree473126d87b0d76aa35a125172fc3d8165f5f7d2c /app-emulation
parentstable on ppc64 for 2004.2 profile (Manifest recommit) (diff)
downloadgentoo-2-c57ca6909a5caf135388264e867bb6647be26a63.tar.gz
gentoo-2-c57ca6909a5caf135388264e867bb6647be26a63.tar.bz2
gentoo-2-c57ca6909a5caf135388264e867bb6647be26a63.zip
Cleaned up ebuild for 3.0.0-7592, adding 'esx' local USE flag to override the default of using GSX docs; changed maintainer to jmglov
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/vmware-console/ChangeLog7
-rw-r--r--app-emulation/vmware-console/Manifest6
-rw-r--r--app-emulation/vmware-console/metadata.xml6
-rw-r--r--app-emulation/vmware-console/vmware-console-3.0.0.7592.ebuild83
4 files changed, 76 insertions, 26 deletions
diff --git a/app-emulation/vmware-console/ChangeLog b/app-emulation/vmware-console/ChangeLog
index ae7cbc44ffd4..8beb30172773 100644
--- a/app-emulation/vmware-console/ChangeLog
+++ b/app-emulation/vmware-console/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/vmware-console
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-console/ChangeLog,v 1.4 2004/05/30 14:50:26 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-console/ChangeLog,v 1.5 2004/06/04 03:39:06 jmglov Exp $
+
+ 03 Jun 2004; <jmglov@gentoo.org> metadata.xml,
+ vmware-console-3.0.0.7592.ebuild:
+ Cleaned up ebuild for 3.0.0-7592, adding 'esx' local USE flag to override the
+ default of using GSX docs
30 May 2004; Chris Gianelloni <wolf31o2@gentoo.org>
vmware-console-2.5.1.5336.ebuild:
diff --git a/app-emulation/vmware-console/Manifest b/app-emulation/vmware-console/Manifest
index dac8933f4464..1e1f968792eb 100644
--- a/app-emulation/vmware-console/Manifest
+++ b/app-emulation/vmware-console/Manifest
@@ -1,6 +1,6 @@
-MD5 0951b5da49a76d73d48ea25f75f6dbd4 vmware-console-3.0.0.7592.ebuild 1004
-MD5 a347c77bda71bc87fca5fecf62541d15 vmware-console-2.5.1.5336.ebuild 1003
MD5 dca447655b1ed301d27b0c6ee0cb0658 ChangeLog 894
-MD5 99560b45f907ab3e2987031dbfbb9e3e metadata.xml 332
+MD5 a347c77bda71bc87fca5fecf62541d15 vmware-console-2.5.1.5336.ebuild 1003
+MD5 42799bbd6476a6166f6ab16962d9628d metadata.xml 331
+MD5 5e0fa3656f140d1598d4707412164ba9 vmware-console-3.0.0.7592.ebuild 2419
MD5 481a0d1dcbaa9ab5162fbc4dd9a847f2 files/digest-vmware-console-2.5.1.5336 78
MD5 63c753940be74f7933bb1ebbc6c525bc files/digest-vmware-console-3.0.0.7592 79
diff --git a/app-emulation/vmware-console/metadata.xml b/app-emulation/vmware-console/metadata.xml
index 05dce076e791..75b290827703 100644
--- a/app-emulation/vmware-console/metadata.xml
+++ b/app-emulation/vmware-console/metadata.xml
@@ -2,10 +2,10 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
- <email>wolf31o2@gentoo.org</email>
- <name>Chris Gianelloni</name>
+ <email>jmglov@gentoo.org</email>
+ <name>Josh Glover</name>
</maintainer>
<longdescription>
-VMWare Console is a remote console for a VMWare GSX server.
+VMWare Console is a remote console for VMware ESX and GSX Server.
</longdescription>
</pkgmetadata>
diff --git a/app-emulation/vmware-console/vmware-console-3.0.0.7592.ebuild b/app-emulation/vmware-console/vmware-console-3.0.0.7592.ebuild
index c7c9e229e675..54b1202f939b 100644
--- a/app-emulation/vmware-console/vmware-console-3.0.0.7592.ebuild
+++ b/app-emulation/vmware-console/vmware-console-3.0.0.7592.ebuild
@@ -1,43 +1,88 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-console/vmware-console-3.0.0.7592.ebuild,v 1.1 2004/05/21 19:09:03 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-console/vmware-console-3.0.0.7592.ebuild,v 1.2 2004/06/04 03:39:06 jmglov Exp $
-MY_PN="VMware-console-3.0.0-7592.tar.gz"
+MY_PN="VMware-console"
+MY_PV=`echo ${PV} | sed -e 's/\.\([0-9]\+\)$/-\1/'`
+MY_P="${MY_PN}-${MY_PV}"
+FN="${MY_P}.tar.gz"
S="${WORKDIR}/vmware-console-distrib"
DESCRIPTION="VMware Remote Console for Linux"
HOMEPAGE="http://www.vmware.com/"
-SRC_URI="${MY_PN}"
+SRC_URI="${FN}"
-LICENSE="vmware-console"
+LICENSE="vmware"
SLOT="0"
KEYWORDS="~x86"
RESTRICT="fetch nostrip"
-IUSE=""
+IUSE="esx"
DEPEND="virtual/glibc
virtual/x11"
pkg_nofetch() {
- einfo "Please place ${FN} in ${DISTDIR}"
+ einfo "Please obtain ${FN} and place it in ${DISTDIR}"
}
src_install () {
- dodir /opt/vmware/bin
- cp -a bin/* ${D}/opt/vmware/bin/
+ # Set up config database
+ echo 'libdir = "/opt/vmware-console/lib"' >etc/config
+ cat >etc/locations <<EOF
+file /opt/vmware-console/etc/locations
+answer BINDIR /opt/vmware-console/bin
+answer LIBDIR /opt/vmware-console/lib
+answer DOCDIR /usr/share/doc/${P}
+answer MANDIR /usr/share/man
+file /opt/vmware-console/etc/not_configured 1085493247
+file /opt/vmware-console/etc/config 1085493247
+EOF
- dodir /opt/vmware/lib
- cp -dr lib/* ${D}/opt/vmware/lib/
+ # Install docs and man pages
+ dodoc doc/*
+ find man -name \*.\?.gz | xargs doman
+ dohtml -r lib/help lib/help-guestinstall lib/help-manual
+ wd=`pwd`
+ cd ${D}/usr/share/doc/${P}/html
+ for i in help help-guestinstall help-manual; do
+ cd $i
+ if use esx; then
+ for j in esx/*; do
+ ln -s $j
+ done
+ else
+ for j in gsx/*; do
+ ln -s $j
+ done
+ fi
+ cd ..
+ done
+ cd ${wd}
- dodir /opt/vmware/doc
- cp -a doc/* ${D}/opt/vmware/doc/
+ # Install everything else
+ into /opt/vmware-console
+ dobin bin/*
+ dodir /opt/vmware-console/etc
+ cp -dr etc/* ${D}/opt/vmware-console/etc/
+ dodir /etc
+ dosym /opt/vmware-console/etc /etc/vmware-console
- dodir /opt/vmware/man/
- cp -a man/* ${D}/opt/vmware/man/
-
- dodir /usr/bin
- dosym /opt/vmware/bin/vmware-console /usr/bin/vmware-console
+ # We already installed the HTML docs, so we can use symlinks
+ dodir /opt/vmware-console/lib
+ rm -rf lib/help lib/help-guestinstall lib/help-manual
+ cp -dr lib/* ${D}/opt/vmware-console/lib/
+ dosym /usr/share/doc/${P}/html/help /opt/vmware-console/lib/help
+ dosym /usr/share/doc/${P}/html/help /opt/vmware-console/lib/help-guestinstall
+ dosym /usr/share/doc/${P}/html/help /opt/vmware-console/lib/help-manual
+}
- dodir /usr/lib
- dosym /opt/vmware/lib /usr/lib/vmware
+pkg_postinst() {
+ if use esx; then
+ ewarn "By setting the 'esx' USE flag, the documentation that is accessed from the Help menu will be for ESX Server"
+ ewarn "You can still access the GSX Server documentation in /usr/share/doc/${P}/html"
+ else
+ ewarn "The documentation that is accessed from the Help menu will be for GSX Server"
+ ewarn "You may select ESX Server documentation by setting the 'esx' USE flag"
+ ewarn "You can still access the ESX Server documentation in /usr/share/doc/${P}/html"
+ fi
}