diff options
3 files changed, 124 insertions, 1 deletions
diff --git a/app-emulation/vmware-server/ChangeLog b/app-emulation/vmware-server/ChangeLog index 990eeef7f6a5..cbf3f74639e1 100644 --- a/app-emulation/vmware-server/ChangeLog +++ b/app-emulation/vmware-server/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-emulation/vmware-server # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-server/ChangeLog,v 1.6 2006/08/25 20:12:57 ikelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-server/ChangeLog,v 1.7 2006/09/27 19:06:10 ikelos Exp $ + +*vmware-server-1.0.1.29996-r1 (27 Sep 2006) + + 27 Sep 2006; Mike Auty <ikelos@gentoo.org> + -vmware-server-1.0.0.28343.ebuild, -vmware-server-1.0.1.29996.ebuild, + +vmware-server-1.0.1.29996-r1.ebuild: + Revision bump to force an upgrade due to bug 25 Aug 2006; Mike Auty <ikelos@gentoo.org> files/digest-vmware-server-1.0.0.28343, diff --git a/app-emulation/vmware-server/files/digest-vmware-server-1.0.1.29996-r1 b/app-emulation/vmware-server/files/digest-vmware-server-1.0.1.29996-r1 new file mode 100644 index 000000000000..acc2feedf9c9 --- /dev/null +++ b/app-emulation/vmware-server/files/digest-vmware-server-1.0.1.29996-r1 @@ -0,0 +1,9 @@ +MD5 9846bff6c3c8af97d4e3ae2700f8dd3a VMware-server-1.0.1-29996.tar.gz 105500734 +RMD160 f4d5805a230afd45ee2234065ffc7c172dd12e18 VMware-server-1.0.1-29996.tar.gz 105500734 +SHA256 08cfa19d9e5475fdaf12114d99bdeecacfd703dd3ec129958bf6f7e98d11641b VMware-server-1.0.1-29996.tar.gz 105500734 +MD5 8cba16d3f6b3723b43d555a5f7cbf850 vmware-any-any-update104.tar.gz 297243 +RMD160 426616f026de409ca057ec1a0913dc9b3d43ef03 vmware-any-any-update104.tar.gz 297243 +SHA256 c0a9efad2677e93ed914e296131916f8b316377644c5d8c716e6575cd58b3c69 vmware-any-any-update104.tar.gz 297243 +MD5 e494568dd025080cc80e7ad801f0b743 vmware-server-perl-fixed-rpath-libs.tar.bz2 73834 +RMD160 7f64627b5b945e8d7dabe39c165a4b66b71fb4d3 vmware-server-perl-fixed-rpath-libs.tar.bz2 73834 +SHA256 c42299dd033187c67b45b739da66583fbd94cdcba745200b89a25ac96cd9364b vmware-server-perl-fixed-rpath-libs.tar.bz2 73834 diff --git a/app-emulation/vmware-server/vmware-server-1.0.1.29996-r1.ebuild b/app-emulation/vmware-server/vmware-server-1.0.1.29996-r1.ebuild new file mode 100644 index 000000000000..b8a6a5a02a0a --- /dev/null +++ b/app-emulation/vmware-server/vmware-server-1.0.1.29996-r1.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2006 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.1.29996-r1.ebuild,v 1.1 2006/09/27 19:06:10 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="http://download3.vmware.com/software/vmserver/${MY_P}.tar.gz + http://ftp.cvut.cz/vmware/${ANY_ANY}.tar.gz + http://ftp.cvut.cz/vmware/obselete/${ANY_ANY}.tar.gz + http://knihovny.cvut.cz/ftp/pub/vmware/${ANY_ANY}.tar.gz + http://knihovny.cvut.cz/ftp/pub/vmware/obselete/${ANY_ANY}.tar.gz + http://dev.gentoo.org/~ikelos/devoverlay-distfiles/${PN}-perl-fixed-rpath-libs.tar.bz2" + +LICENSE="vmware" +IUSE="" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +RESTRICT="nostrip" + +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 + 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 + ) + virtual/x11 + ) + ) + >=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 + sys-apps/pciutils + virtual/pam + sys-apps/xinetd" + +S=${WORKDIR}/vmware-server-distrib + +RUN_UPDATE="no" +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_:/emul/linux/x86/lib/security/pam_:" ${config_dir}/pam.d/vmware-authd + + 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 + einfo "Remember by default xinetd only allows connections from localhost" + einfo "To allow external users access to vmware-server you must edit" + einfo " /etc/xinetd.d/vmware-authd" + einfo "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" +} + |