# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-server/vmware-server-1.0.5.80187.ebuild,v 1.1 2008/03/22 10:57:37 ikelos Exp $ # Unlike many other binary packages the user doesn't need to agree to a licence # to download VMWare. The agreeing to a licence is part of the configure step # which the user must run manually. inherit eutils versionator vmware #MY_PV=$(replace_version_separator 3 '-' ) MY_PV="e.x.p-84186" MY_P="VMware-server-${MY_PV}" DESCRIPTION="VMware Server for Linux" #HOMEPAGE="http://www.vmware.com/" HOMEPAGE="http://www.vmware.com/beta/server/download.html" URL_BASE="http://download3.vmware.com/software/vmserver" #SRC_URI="${URL_BASE}/${MY_P}.i386.rpm # ${URL_BASE}/${MY_P}.i386.tar.gz # ${URL_BASE}/${MY_P}.x86_64.rpm # ${URL_BASE}/${MY_P}.x86_64.tar.gz" SRC_URI="x86? ( ${URL_BASE}/${MY_P}.i386.tar.gz ) amd64? ( ${URL_BASE}/${MY_P}.x86_64.tar.gz)" LICENSE="vmware" IUSE="" SLOT="0" KEYWORDS="-* ~amd64 ~x86" RESTRICT="strip" DEPEND=">=sys-libs/glibc-2.3.5 >=dev-lang/perl-5 sys-apps/pciutils sys-apps/findutils virtual/os-headers" # vmware-server should not use virtual/libc as this is a # precompiled binary package thats linked to glibc. # amd64? ( # >=app-emulation/emul-linux-x86-baselibs-2.5.5-r3 # app-emulation/emul-linux-x86-gtklibs ) # !amd64? ( # ) RDEPEND=">=sys-libs/glibc-2.3.5 virtual/xft x11-libs/libX11 x11-libs/libXtst x11-libs/libXext x11-libs/libXt x11-libs/libICE x11-libs/libSM x11-libs/libXrender >=dev-lang/perl-5 ! "${D}${config_dir}/vmwaregroup" # # dosym /etc/init.d/xinetd ${config_dir}/init.d } pkg_config() { einfo "Running ${ROOT}${dir}/bin/vmware-config.pl" "${ROOT}${dir}/bin/vmware-config.pl" } pkg_postinst() { vmware_pkg_postinst elog "Remember by default xinetd only allows connections from localhost" elog "To allow external users access to vmware-server you must edit" elog " /etc/xinetd.d/vmware-authd" elog "and specify a new 'only_from' line" echo ewarn "VMWare Server also has issues when running on a JFS filesystem. For more" ewarn "information see http://bugs.gentoo.org/show_bug.cgi?id=122500#c94" }