summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Kuznetsov <vadimk@gentoo.org>2009-06-14 15:43:35 +0000
committerVadim Kuznetsov <vadimk@gentoo.org>2009-06-14 15:43:35 +0000
commita0706ba41e26e2589b16734602c07d7d10c6d542 (patch)
tree275b3c9d52dfa18ae3ab80280554c56b2a71c19f
parentBug 273750. EAPI changed to 2. (diff)
downloadgentoo-2-a0706ba41e26e2589b16734602c07d7d10c6d542.tar.gz
gentoo-2-a0706ba41e26e2589b16734602c07d7d10c6d542.tar.bz2
gentoo-2-a0706ba41e26e2589b16734602c07d7d10c6d542.zip
Bug 273750.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
-rw-r--r--app-emulation/vmware-server/ChangeLog8
-rw-r--r--app-emulation/vmware-server/metadata.xml2
-rw-r--r--app-emulation/vmware-server/vmware-server-2.0.1.156745-r1.ebuild105
3 files changed, 113 insertions, 2 deletions
diff --git a/app-emulation/vmware-server/ChangeLog b/app-emulation/vmware-server/ChangeLog
index 6d6cf3e4ca9c..124db1cc4849 100644
--- a/app-emulation/vmware-server/ChangeLog
+++ b/app-emulation/vmware-server/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emulation/vmware-server
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-server/ChangeLog,v 1.53 2009/06/09 15:35:04 vadimk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-server/ChangeLog,v 1.54 2009/06/14 15:43:35 vadimk Exp $
+
+*vmware-server-2.0.1.156745-r1 (14 Jun 2009)
+
+ 14 Jun 2009; Vadim Kuznetsov vadimk@gentoo.org
+ +vmware-server-2.0.1.156745-r1.ebuild, metadata.xml:
+ Bug 273750.
09 Jun 2009; Vadim Kuznetsov vadimk@gentoo.org
vmware-server-2.0.1.156745.ebuild, metadata.xml:
diff --git a/app-emulation/vmware-server/metadata.xml b/app-emulation/vmware-server/metadata.xml
index 411d102b5561..4df7eb03a614 100644
--- a/app-emulation/vmware-server/metadata.xml
+++ b/app-emulation/vmware-server/metadata.xml
@@ -2,7 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>vmware</herd>
- <maintainer>
+ <maintainer>
<email>vadimk@g.o</email>
</maintainer>
<longdescription>
diff --git a/app-emulation/vmware-server/vmware-server-2.0.1.156745-r1.ebuild b/app-emulation/vmware-server/vmware-server-2.0.1.156745-r1.ebuild
new file mode 100644
index 000000000000..87639ad6e815
--- /dev/null
+++ b/app-emulation/vmware-server/vmware-server-2.0.1.156745-r1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-server/vmware-server-2.0.1.156745-r1.ebuild,v 1.1 2009/06/14 15:43:35 vadimk 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-$(get_version_component_range 4)"
+MY_PN="VMware-server-${MY_PV}"
+
+DESCRIPTION="VMware Server for Linux"
+HOMEPAGE="http://www.vmware.com/"
+SRC_URI="
+ x86? (
+ mirror://vmware/software/vmserver/${MY_PN}.i386.tar.gz
+ http://download.softpedia.ro/linux/${MY_PN}.i386.tar.gz )
+ amd64? (
+ mirror://vmware/software/vmserver/${MY_PN}.x86_64.tar.gz
+ http://download.softpedia.ro/linux/${MY_PN}.x86_64.tar.gz )
+ "
+
+LICENSE="vmware"
+IUSE=""
+SLOT="0"
+KEYWORDS="-* ~x86 ~amd64"
+RESTRICT="strip"
+
+CDEPEND=">=sys-libs/glibc-2.3.5
+ >=dev-lang/perl-5
+ sys-apps/pciutils"
+DEPEND="${CDEPEND}
+ sys-apps/findutils
+ virtual/os-headers"
+# vmware-server should not use virtual/libc as this is a
+# precompiled binary package thats linked to glibc.
+RDEPEND="${CDEPEND}
+ dev-libs/libxml2
+ dev-libs/glib
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libXft
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXt
+ x11-libs/libXtst
+ x11-misc/xdg-utils
+ sys-fs/fuse
+ sys-apps/hal
+ sys-libs/zlib
+ virtual/pam
+ !<sys-apps/dbus-0.62
+ !app-emulation/vmware-player
+ !app-emulation/vmware-workstation
+ ~app-emulation/vmware-modules-1.0.0.24
+ !<app-emulation/vmware-modules-1.0.0.24
+ !>=app-emulation/vmware-modules-1.0.0.25
+ "
+
+S=${WORKDIR}/vmware-server-distrib
+
+ANY_ANY=""
+RUN_UPDATE="no"
+
+pkg_setup() {
+ if use x86; then
+ MY_P="${MY_PN}.i386"
+ elif use amd64; then
+ MY_P="${MY_PN}.x86_64"
+ fi
+
+ vmware_pkg_setup
+}
+
+src_install() {
+ vmware_src_install
+
+ newinitd "${FILESDIR}/vmware-server-2.rc" vmware
+ insinto /etc/vmware/hostd
+ doins "${FILESDIR}/authorization.xml"
+
+ sed -i -e "s:/sbin/lsmod:/bin/lsmod:" "${D}"/etc/vmware/init.d/vmware
+ sed -i -e "s:/sbin/lsmod:/bin/lsmod:" "${D}"/opt/vmware/server/lib/net-services.sh
+}
+
+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"
+}