diff --git a/app-emulation/vmware-server/ChangeLog b/app-emulation/vmware-server/ChangeLog index 94dd83b..b6c70a7 100644 --- a/app-emulation/vmware-server/ChangeLog +++ b/app-emulation/vmware-server/ChangeLog @@ -1,7 +1,12 @@ # ChangeLog for app-emulation/vmware-server -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-server/ChangeLog,v 1.61 2009/12/18 16:14:42 vadimk Exp $ + 19 Aug 2010; Mario Fetka + vmware-server-1.0.8.126538.ebuild, vmware-server-1.0.10.203137.ebuild, + vmware-server-2.0.2.203138.ebuild, +vmware-server-2.0.2.203138-r1.ebuild: + Bump + 26 Dec 2009; Mario Fetka vmware-server-1.0.8.126538.ebuild, vmware-server-1.0.9.156507.ebuild, vmware-server-1.0.10.203137.ebuild: diff --git a/app-emulation/vmware-server/Manifest b/app-emulation/vmware-server/Manifest index a727fe9..3481ac7 100644 --- a/app-emulation/vmware-server/Manifest +++ b/app-emulation/vmware-server/Manifest @@ -26,9 +26,10 @@ DIST VMware-server-1.0.9-156507.tar.gz 107164305 RMD160 1ba44b50b1f516eb8f253e47 DIST VMware-server-2.0.2-203138.i386.tar.gz 506047036 RMD160 3119bf56e1ef9c63dfcb969d951cd78bd9c667e1 SHA1 2917c8d4e521cb9af186be8fcaf2043b1a516a6c SHA256 b4779515e2a8ecc4d768c07f9264aeb94e45986262626a3a557466e77f371662 DIST VMware-server-2.0.2-203138.x86_64.tar.gz 474415801 RMD160 0778f78122ee6b701543df5885ad1e8d3325fb82 SHA1 b65d3d46dc947fc7995bda354c4947afabd23474 SHA256 a1230f43f6b668a751e9ce2c9d2f6a2c75e4d4cea88f583901f67dbd67412e25 DIST vmware-server-perl-fixed-rpath-libs.tar.bz2 73834 RMD160 7f64627b5b945e8d7dabe39c165a4b66b71fb4d3 SHA1 9d696750ca3ec92b31ca8112fd80dcd832494044 SHA256 c42299dd033187c67b45b739da66583fbd94cdcba745200b89a25ac96cd9364b -EBUILD vmware-server-1.0.10.203137.ebuild 3182 RMD160 6ff05395f2781419270f98be7a805fa9d4e89d77 SHA1 10a200dce825c013fe6ee6a5b9c8c92bf78a0cc6 SHA256 a50e15207c534793a95a4288472542c17d5c9528996d66ce5de5b044d531b313 -EBUILD vmware-server-1.0.8.126538.ebuild 2988 RMD160 efc1d892e31ca2d94089af801ac164e707b86866 SHA1 b2d7ecf3ca7e92acc43a27d2bdd49e2c7cd4c912 SHA256 6fb920cccd2509a4fed4278eea36d693d8f7dc025abdf3eb7b0d9c858656de2e +EBUILD vmware-server-1.0.10.203137.ebuild 2996 RMD160 412f5bf6d4be368ee46bfbd7db053568eb6652e3 SHA1 b8a4849d87337460da4916c9bf22cdbd82630e9e SHA256 4f92a569d7e3924585356d65d366bfe3735d4debf08b2ef813bebfec9a154e18 +EBUILD vmware-server-1.0.8.126538.ebuild 2988 RMD160 f2357cd81b4dec02049a61e6819bdc42bbaf62fb SHA1 f8cf7a291f1832a0f51153318ce99b5c4d57f643 SHA256 ef04d90fb43477e7d6e8bb0f1820d3ff61dcc93c47e2681ffc847b5138ae4ddf EBUILD vmware-server-1.0.9.156507.ebuild 2988 RMD160 94ae0854fc4c33eb36180c457a2f6d237c1be541 SHA1 12248abfb16a02a7a1edc28b196f18555df46383 SHA256 238560397076cd27bafbf15ca7370724fbe5c0fdb944d1a79acb7675cc79cc5a -EBUILD vmware-server-2.0.2.203138.ebuild 9607 RMD160 ad3febab5eb3eea7af50ae615dacea010485e23e SHA1 89a0a7c7f757659f795a72bc40451157179f53c8 SHA256 0a31f29a384e8616d59ee4f1b8c72078a702f3479cc28211b6134987891a2f0f -MISC ChangeLog 14285 RMD160 c0f02e5a4ecf55a2bd1791e27cd1f3fbcb250ee2 SHA1 53688ca8c9f87c875a036c562060de384ddf2914 SHA256 b68d90ef47454c31840fad23673c0798da4445377287b32c772fd5577746a69a +EBUILD vmware-server-2.0.2.203138-r1.ebuild 10059 RMD160 799135f4f398f8326cc2b73d2dd87408ff91c0a7 SHA1 34f9f0731b932a485b8fa5b78e8445b8ae96a86f SHA256 eee06445795d9bc322ecd079ea9850e572445d2823b5a47a8fefbf532391ed85 +EBUILD vmware-server-2.0.2.203138.ebuild 10059 RMD160 799135f4f398f8326cc2b73d2dd87408ff91c0a7 SHA1 34f9f0731b932a485b8fa5b78e8445b8ae96a86f SHA256 eee06445795d9bc322ecd079ea9850e572445d2823b5a47a8fefbf532391ed85 +MISC ChangeLog 14493 RMD160 410ec881bdf8934e878dc13e81dc6209b20cb4b7 SHA1 c959bdc0e2f91fc03809b69d6efbfc92e288b483 SHA256 719e1433f0bce62ce729b077f841199a600481c1739971f94fce7b10f95a084a MISC metadata.xml 451 RMD160 34ad07edf6d4f6d9b00b8c0ea197fa8ddad2397b SHA1 7983215b3da6bbfb2e5c167b33b0625a5a31280d SHA256 b64b12ed17797856c0f950540b92f134ca8ffafd40eabafb4ef90c889e16a3e3 diff --git a/app-emulation/vmware-server/vmware-server-1.0.10.203137.ebuild b/app-emulation/vmware-server/vmware-server-1.0.10.203137.ebuild index 86049ca..2f68433 100644 --- a/app-emulation/vmware-server/vmware-server-1.0.10.203137.ebuild +++ b/app-emulation/vmware-server/vmware-server-1.0.10.203137.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 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.10.203137.ebuild,v 1.1 2009/12/18 16:14:42 vadimk Exp $ @@ -78,10 +78,6 @@ src_install() { 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" - - # Proper lsmod - sed -i -e "s:/sbin/lsmod:/bin/lsmod:" "${S}"/installer/services.sh || die "sed" - sed -i -e "s:/sbin/lsmod:/bin/lsmod:" "${S}"/lib/net-services.sh || die "sed" echo "${VMWARE_GROUP}" > "${D}${config_dir}/vmwaregroup" 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 index 11b66e4..4963e41 100644 --- a/app-emulation/vmware-server/vmware-server-1.0.8.126538.ebuild +++ b/app-emulation/vmware-server/vmware-server-1.0.8.126538.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 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.4 2009/01/12 21:48:07 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-server/vmware-server-1.0.9.156507.ebuild,v 1.3 2009/08/01 14:24:50 maekke 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 @@ -47,9 +47,9 @@ RDEPEND=">=sys-libs/glibc-2.3.5 !app-emulation/vmware-modules-138.8 + ~app-emulation/vmware-modules-138.9 + !app-emulation/vmware-modules-138.9 sys-apps/pciutils virtual/pam sys-apps/xinetd" diff --git a/app-emulation/vmware-server/vmware-server-2.0.2.203138-r1.ebuild b/app-emulation/vmware-server/vmware-server-2.0.2.203138-r1.ebuild new file mode 100644 index 0000000..a51af1e --- /dev/null +++ b/app-emulation/vmware-server/vmware-server-2.0.2.203138-r1.ebuild @@ -0,0 +1,320 @@ +# Copyright 1999-2010 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.2.203138-r1.ebuild,v 1.4 2010/05/13 22:33:47 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. + +EAPI="2" + +inherit eutils pam pax-utils versionator + +MY_PV=$(replace_version_separator 3 '-' ) +MY_PN="VMware-server-${MY_PV}" + +DESCRIPTION="VMware Server for Linux" +HOMEPAGE="http://www.vmware.com/" +DOWNLOAD_URL="http://downloads.vmware.com/d/info/datacenter_downloads/vmware_server/2_0" +SRC_URI=" x86? ( mirror://vmware/software/vmserver/${MY_PN}.i386.tar.gz ) + amd64? ( mirror://vmware/software/vmserver/${MY_PN}.x86_64.tar.gz ) " + +LICENSE="vmware" +IUSE="" +SLOT="0" +KEYWORDS="-* ~x86 ~amd64" +RESTRICT="fetch strip" + +CDEPEND=" + >=dev-lang/perl-5 + >=sys-libs/glibc-2.3.5 + sys-apps/pciutils" +DEPEND="${CDEPEND} + sys-apps/findutils + x11-misc/shared-mime-info + virtual/os-headers" +# vmware-server should not use virtual/libc as this is a +# precompiled binary package thats linked to glibc. +RDEPEND="${CDEPEND} + ~app-emulation/vmware-modules-208.2 + dev-libs/expat + dev-libs/glib + dev-libs/libxml2 + =media-libs/libpng-1.2* + sys-apps/hal + sys-fs/fuse + sys-libs/zlib + virtual/pam + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXdmcp + x11-libs/libXext + x11-libs/libXft + x11-libs/libXt + x11-libs/libXtst + x11-misc/xdg-utils + !> ${locations} + echo "answer LIBDIR ${VMWARE_INSTALL_DIR}/lib" >> ${locations} + echo "answer MANDIR ${VMWARE_INSTALL_DIR}/man" >> ${locations} + echo "answer DOCDIR ${VMWARE_INSTALL_DIR}/doc" >> ${locations} + echo "answer SBINDIR ${VMWARE_INSTALL_DIR}/sbin" >> ${locations} + echo "answer RUN_CONFIGURATOR no" >> ${locations} + echo "answer INITDIR ${config_dir}/init.d" >> ${locations} + echo "answer INITSCRIPTSDIR ${config_dir}/init.d" >> ${locations} + echo "answer VMCI_CONFED yes" >> ${locations} + echo "answer VSOCK_CONFED yes" >> ${locations} +} + +pkg_config() { + einfo "Running ${VMWARE_INSTALL_DIR}/bin/vmware-config.pl" + "${VMWARE_INSTALL_DIR}/bin/vmware-config.pl" +} + +pkg_preinst() { + # This must be done after the install to get the mtimes on each file + # right. + + #Note: it's a bit weird to use ${D} in a preinst script but it should work + #(drobbins, 1 Feb 2002) + + einfo "Generating ${config_dir}/locations file." + d=`echo ${D} | wc -c` + for x in `find ${D}${VMWARE_INSTALL_DIR} ${D}${config_dir}` ; do + x="`echo ${x} | cut -c ${d}-`" + if [ -d "${D}/${x}" ] ; then + echo "directory ${x}" >> "${D}${config_dir}"/locations + else + echo -n "file ${x}" >> "${D}${config_dir}"/locations + if [ "${x}" == "${config_dir}/locations" ] ; then + echo "" >> "${D}${config_dir}"/locations + elif [ "${x}" == "${config_dir}/not_configured" ] ; then + echo "" >> "${D}${config_dir}"/locations + else + echo -n " " >> "${D}${config_dir}"/locations + find "${D}${x}" -printf %T@ >> "${D}${config_dir}"/locations + echo "" >> "${D}${config_dir}"/locations + fi + fi + done +} + +pkg_postinst() { + update-mime-database /usr/share/mime + [[ -d "${config_dir}" ]] && chown -R root:${VMWARE_GROUP} ${config_dir} + + # This is to fix the problem where the not_configured file doesn't get + # removed when the configuration is run. This doesn't remove the file + # It just tells the vmware-config.pl script it can delete it. + einfo "Updating ${config_dir}/locations" + for x in "${config_dir}"/._cfg????_locations ; do + if [ -f $x ] ; then + cat $x >> "${config_dir}"/locations + rm $x + fi + done + + ewarn "Use " + ewarn " emerge vmware-server --config" + ewarn "to configure your installation of ${product_name}." + + ewarn "In order to run ${product_name}, you have to" + ewarn "be in the '${VMWARE_GROUP}' group." + + #ewarn "By default xinetd only allows connections from localhost" + #ewarn "To allow external users access to vmware-server you must edit" + #ewarn " /etc/xinetd.d/vmware-authd" + #ewarn "and specify a new 'only_from' line" + + 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" +} + +pkg_prerm() { + einfo "Stopping ${product_name} for safe unmerge" + /etc/init.d/vmware stop +} + +pkg_postrm() { + if ! has_version app-emulation/${PN}; then + elog "To remove all traces of ${product} you will need to remove the files" + elog "in ${config_dir} and /etc/init.d/${product}." + elog "If the vmware-modules package is installed, you may no longer need it." + fi +} diff --git a/app-emulation/vmware-server/vmware-server-2.0.2.203138.ebuild b/app-emulation/vmware-server/vmware-server-2.0.2.203138.ebuild index fb576cc..a51af1e 100644 --- a/app-emulation/vmware-server/vmware-server-2.0.2.203138.ebuild +++ b/app-emulation/vmware-server/vmware-server-2.0.2.203138.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 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.2.203138.ebuild,v 1.1 2009/10/29 13:24:13 vadimk Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-server/vmware-server-2.0.2.203138-r1.ebuild,v 1.4 2010/05/13 22:33:47 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 @@ -37,10 +37,10 @@ DEPEND="${CDEPEND} # precompiled binary package thats linked to glibc. RDEPEND="${CDEPEND} ~app-emulation/vmware-modules-208.2 - !>app-emulation/vmware-modules-208.2 - !