Fix to work with new emul-linux-* packages, bug #160929.
authorPiotr Jaroszyński <peper@gentoo.org>
Tue, 9 Jan 2007 16:01:37 +0000 (16:01 +0000)
committerPiotr Jaroszyński <peper@gentoo.org>
Tue, 9 Jan 2007 16:01:37 +0000 (16:01 +0000)
Package-Manager: portage-2.1.2_rc4-r7

app-emulation/vmware-server/ChangeLog
app-emulation/vmware-server/Manifest
app-emulation/vmware-server/files/digest-vmware-server-1.0.1.29996-r5 [new file with mode: 0644]
app-emulation/vmware-server/vmware-server-1.0.1.29996-r5.ebuild [new file with mode: 0644]

index 3e33593ca543dd2b8b4fce9014924ec3b9f3a48f..494c397ba25a408bcd22b1c7fe510f10b8f8f6de 100644 (file)
@@ -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,
index d9b23efa1df7985a1b9ab6ff8e0de11fcb326514..ed9ee90ec9da8007c8279b76c909a864bc4064e1 100644 (file)
@@ -58,10 +58,14 @@ EBUILD vmware-server-1.0.1.29996-r4.ebuild 3271 RMD160 3902c18dc6c554a71939053c0
 MD5 bfa6ce9240f87c45b7ec7df81c02d887 vmware-server-1.0.1.29996-r4.ebuild 3271
 RMD160 3902c18dc6c554a71939053c039ac34e6f954817 vmware-server-1.0.1.29996-r4.ebuild 3271
 SHA256 011705da0404ea79b56bfa473ebbe88548a5b06ef408ab727a2e848c74156e67 vmware-server-1.0.1.29996-r4.ebuild 3271
-MISC ChangeLog 3497 RMD160 f33ee805140efc527d236a6ee251ec2f6cdcade6 SHA1 dbb502718e4aadc7898441963aac54d2a9455714 SHA256 8341c33ef9747f8c945bc0ba6e029cbe76aa217042894e0ad34f101739948ba0
-MD5 b985684ab8277e6274371fcec7062e49 ChangeLog 3497
-RMD160 f33ee805140efc527d236a6ee251ec2f6cdcade6 ChangeLog 3497
-SHA256 8341c33ef9747f8c945bc0ba6e029cbe76aa217042894e0ad34f101739948ba0 ChangeLog 3497
+EBUILD vmware-server-1.0.1.29996-r5.ebuild 3257 RMD160 517c019b4a608494632c2c9397920b9bdad37742 SHA1 6b01bb3d30ff20e511a4c1771d7dea4b9f56c127 SHA256 0d9dd253424ccfe1b56b368aa4de7d125634f21e0308f56ef64c5af0c60e483c
+MD5 c0b436be0379a59fe31c85698b365bb0 vmware-server-1.0.1.29996-r5.ebuild 3257
+RMD160 517c019b4a608494632c2c9397920b9bdad37742 vmware-server-1.0.1.29996-r5.ebuild 3257
+SHA256 0d9dd253424ccfe1b56b368aa4de7d125634f21e0308f56ef64c5af0c60e483c vmware-server-1.0.1.29996-r5.ebuild 3257
+MISC ChangeLog 3694 RMD160 99988a95dcf329b7f3a305c22c0e99a6c9ade9f9 SHA1 d1dc0af9df0cca00a8ff21346573783e72f8fa3b SHA256 9c7c96599c2464dbfaafc9b40b2b9ab2856c94b15d667ddef60f69ec55fc3719
+MD5 c1ceb54a25f0d875c5cae87a4522853c ChangeLog 3694
+RMD160 99988a95dcf329b7f3a305c22c0e99a6c9ade9f9 ChangeLog 3694
+SHA256 9c7c96599c2464dbfaafc9b40b2b9ab2856c94b15d667ddef60f69ec55fc3719 ChangeLog 3694
 MISC metadata.xml 159 RMD160 fc7f68a382390e5916b0fb43f37a893fad4f9798 SHA1 f46b02a39bcd0165558de67ff4256cfc812418a3 SHA256 8581ae1c90a48f50fa0542c7fb28cb8984baaf12f50fa18f33e467081effb215
 MD5 7cc95faad4185e8ed375248bc73a17fc metadata.xml 159
 RMD160 fc7f68a382390e5916b0fb43f37a893fad4f9798 metadata.xml 159
@@ -69,10 +73,13 @@ SHA256 8581ae1c90a48f50fa0542c7fb28cb8984baaf12f50fa18f33e467081effb215 metadata
 MD5 d5762e488620359cd76f1c746c1e1ad0 files/digest-vmware-server-1.0.1.29996-r4 1421
 RMD160 b863e2fcd2f423d98b0ab1d8a5d1b39495245556 files/digest-vmware-server-1.0.1.29996-r4 1421
 SHA256 670b8f34f92a76965fb681a0031f5822e95fd4fdebac95a5cb9ae152b43297a1 files/digest-vmware-server-1.0.1.29996-r4 1421
+MD5 d5762e488620359cd76f1c746c1e1ad0 files/digest-vmware-server-1.0.1.29996-r5 1421
+RMD160 b863e2fcd2f423d98b0ab1d8a5d1b39495245556 files/digest-vmware-server-1.0.1.29996-r5 1421
+SHA256 670b8f34f92a76965fb681a0031f5822e95fd4fdebac95a5cb9ae152b43297a1 files/digest-vmware-server-1.0.1.29996-r5 1421
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.1 (GNU/Linux)
 
-iD8DBQFFnpLDu7rWomwgFXoRAg4eAJsGVPYe3XAF2sqqBd94zBJPnxnJAACeN3MC
-Vkdkoj7CvEklEKXdD2uFxXs=
-=8NHV
+iD8DBQFFo7xtppoStNGKGywRAuYDAKDHwa813p2YFErxYOJIs+AozVcFFwCdG1Vv
+378HBdwyCgas+k00DJdvhDo=
+=2dqI
 -----END PGP SIGNATURE-----
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 (file)
index 0000000..5065713
--- /dev/null
@@ -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 (file)
index 0000000..892b5bd
--- /dev/null
@@ -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"
+}
+