summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Jaroszyński <peper@gentoo.org>2007-01-09 16:01:37 +0000
committerPiotr Jaroszyński <peper@gentoo.org>2007-01-09 16:01:37 +0000
commit43c3daa6551db0808cf22d4281efe2555c8c7356 (patch)
tree95e128dfefa335d3913b616cd2384597a21facdd /app-emulation/vmware-server
parentupdate (diff)
downloadgentoo-2-43c3daa6551db0808cf22d4281efe2555c8c7356.tar.gz
gentoo-2-43c3daa6551db0808cf22d4281efe2555c8c7356.tar.bz2
gentoo-2-43c3daa6551db0808cf22d4281efe2555c8c7356.zip
Fix to work with new emul-linux-* packages, bug #160929.
(Portage version: 2.1.2_rc4-r7)
Diffstat (limited to 'app-emulation/vmware-server')
-rw-r--r--app-emulation/vmware-server/ChangeLog8
-rw-r--r--app-emulation/vmware-server/files/digest-vmware-server-1.0.1.29996-r515
-rw-r--r--app-emulation/vmware-server/vmware-server-1.0.1.29996-r5.ebuild105
3 files changed, 127 insertions, 1 deletions
diff --git a/app-emulation/vmware-server/ChangeLog b/app-emulation/vmware-server/ChangeLog
index 3e33593ca543..494c397ba25a 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-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-server/ChangeLog,v 1.15 2007/01/05 18:02:03 ikelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-server/ChangeLog,v 1.16 2007/01/09 16:01:37 peper Exp $
+
+*vmware-server-1.0.1.29996-r5 (09 Jan 2007)
+
+ 09 Jan 2007; Piotr Jaroszyński <peper@gentoo.org>
+ +vmware-server-1.0.1.29996-r5.ebuild:
+ Fix to work with new emul-linux-* packages, bug #160929.
05 Jan 2007; Mike Auty <ikelos@gentoo.org>
files/general/007_all_use-modprobe-over-insmod.patch,
diff --git a/app-emulation/vmware-server/files/digest-vmware-server-1.0.1.29996-r5 b/app-emulation/vmware-server/files/digest-vmware-server-1.0.1.29996-r5
new file mode 100644
index 000000000000..5065713a4a17
--- /dev/null
+++ b/app-emulation/vmware-server/files/digest-vmware-server-1.0.1.29996-r5
@@ -0,0 +1,15 @@
+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 edad0bd1abf80caaf672498e14ad8727 vmware-any-any-update105.tar.gz 296970
+RMD160 5da1b91c81ff1023c8f4dbc3ae02f7f180785e67 vmware-any-any-update105.tar.gz 296970
+SHA256 568939479294b4200e667ec0e3ad0d24f0e37356ccb3267b21de803530694426 vmware-any-any-update105.tar.gz 296970
+MD5 062f83a22822b6e4d4a176e3648c38d8 vmware-libcrypto.so.0.9.7l.tar.bz2 412159
+RMD160 89282ae9fc6e8921a47704bc9cd23cf70a6870e8 vmware-libcrypto.so.0.9.7l.tar.bz2 412159
+SHA256 fae52acf61415959cca763a715a2b61ec49f161a416d418d6a1faffce531db12 vmware-libcrypto.so.0.9.7l.tar.bz2 412159
+MD5 913acecb0f79113de958e6a70618be7f vmware-libssl.so.0.9.7l.tar.bz2 78244
+RMD160 195dd4808e60f81621e6ed12b843ded49c0fa747 vmware-libssl.so.0.9.7l.tar.bz2 78244
+SHA256 3e1e13196066dc5b77d3ef6b5df55a29156eba1f39661e40cd617b538220d089 vmware-libssl.so.0.9.7l.tar.bz2 78244
+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-r5.ebuild b/app-emulation/vmware-server/vmware-server-1.0.1.29996-r5.ebuild
new file mode 100644
index 000000000000..892b5bd66b97
--- /dev/null
+++ b/app-emulation/vmware-server/vmware-server-1.0.1.29996-r5.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2007 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-r5.ebuild,v 1.1 2007/01/09 16:01:37 peper 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/obsolete/${ANY_ANY}.tar.gz
+ http://knihovny.cvut.cz/ftp/pub/vmware/${ANY_ANY}.tar.gz
+ http://knihovny.cvut.cz/ftp/pub/vmware/obsolete/${ANY_ANY}.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
+ http://dev.gentoo.org/~wolf31o2/sources/dump/vmware-libssl.so.0.9.7l.tar.bz2
+ mirror://gentoo/vmware-libssl.so.0.9.7l.tar.bz2
+ http://dev.gentoo.org/~wolf31o2/sources/dump/vmware-libcrypto.so.0.9.7l.tar.bz2
+ mirror://gentoo/vmware-libcrypto.so.0.9.7l.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 )
+ >=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_:/lib32/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
+ 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"
+}
+