summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Auty <ikelos@gentoo.org>2008-11-09 21:15:42 +0000
committerMike Auty <ikelos@gentoo.org>2008-11-09 21:15:42 +0000
commitc34ccbe19a8de1b145eb1b5c339e1288d5d77852 (patch)
treefc12f1004e6904028155fc561681522f25b4e702 /app-emulation/vmware-server
parentFix importing of newer gnome desktop library (diff)
downloadgentoo-2-c34ccbe19a8de1b145eb1b5c339e1288d5d77852.tar.gz
gentoo-2-c34ccbe19a8de1b145eb1b5c339e1288d5d77852.tar.bz2
gentoo-2-c34ccbe19a8de1b145eb1b5c339e1288d5d77852.zip
Add in vmware-server-1.0.8 for bug 245941.
(Portage version: 2.2_rc13/cvs/Linux 2.6.27-gentoo-r1 i686)
Diffstat (limited to 'app-emulation/vmware-server')
-rw-r--r--app-emulation/vmware-server/ChangeLog8
-rw-r--r--app-emulation/vmware-server/vmware-server-1.0.8.126538.ebuild101
2 files changed, 108 insertions, 1 deletions
diff --git a/app-emulation/vmware-server/ChangeLog b/app-emulation/vmware-server/ChangeLog
index a0ba9224cf99..1371ebad90ba 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-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-server/ChangeLog,v 1.46 2008/09/30 19:55:11 ikelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-server/ChangeLog,v 1.47 2008/11/09 21:15:42 ikelos Exp $
+
+*vmware-server-1.0.8.126538 (09 Nov 2008)
+
+ 09 Nov 2008; Mike Auty <ikelos@gentoo.org>
+ +vmware-server-1.0.8.126538.ebuild:
+ Add in vmware-server-1.0.8 for bug 245941.
*vmware-server-1.0.7.108231 (30 Sep 2008)
diff --git a/app-emulation/vmware-server/vmware-server-1.0.8.126538.ebuild b/app-emulation/vmware-server/vmware-server-1.0.8.126538.ebuild
new file mode 100644
index 000000000000..c3265bb82405
--- /dev/null
+++ b/app-emulation/vmware-server/vmware-server-1.0.8.126538.ebuild
@@ -0,0 +1,101 @@
+# 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.8.126538.ebuild,v 1.1 2008/11/09 21:15:42 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_P="VMware-server-${MY_PV}"
+
+DESCRIPTION="VMware Server for Linux"
+HOMEPAGE="http://www.vmware.com/"
+SRC_URI="mirror://vmware/software/vmserver/${MY_P}.tar.gz
+ http://dev.gentoo.org/~ikelos/devoverlay-distfiles/${PN}-perl-fixed-rpath-libs.tar.bz2
+ mirror://gentoo/${PN}-perl-fixed-rpath-libs.tar.bz2"
+
+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.
+RDEPEND=">=sys-libs/glibc-2.3.5
+ amd64? (
+ >=app-emulation/emul-linux-x86-baselibs-2.5.5-r3
+ app-emulation/emul-linux-x86-gtklibs )
+ !amd64? (
+ 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
+ !<sys-apps/dbus-0.62
+ !app-emulation/vmware-player
+ !app-emulation/vmware-workstation
+ ~app-emulation/vmware-modules-1.0.0.15
+ !<app-emulation/vmware-modules-1.0.0.15
+ !>=app-emulation/vmware-modules-1.0.0.16
+ sys-apps/pciutils
+ virtual/pam
+ sys-apps/xinetd"
+
+S=${WORKDIR}/vmware-server-distrib
+
+RUN_UPDATE="no"
+ANY_ANY=""
+PATCHES="general"
+
+src_unpack() {
+ EPATCH_SUFFIX="patch"
+ vmware_src_unpack
+ #cd "${WORKDIR}"
+ #unpack ${PN}-perl-fixed-rpath-libs.tar.bz2
+
+ # patch the vmware /etc/pam.d file to ensure that only
+ # vmware group members can log in
+ cp "${FILESDIR}/vmware-authd" "${S}/etc/pam.d/vmware-authd"
+}
+
+src_install() {
+ vmware_src_install
+
+ # Fix the amd64 emulation pam stuff
+ use amd64 && dosed "s:pam_:/lib32/security/pam_:" ${config_dir}/pam.d/vmware-authd
+ # Remove libpam on amd64 because it's linked against the wrong paths
+ use amd64 && rm "${D}/opt/vmware/server/lib/lib/libpam.so.0/libpam.so"
+
+ echo "${VMWARE_GROUP}" > "${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"
+}