From b4033e69c0c7567287df0dcf29b42fb069f186c1 Mon Sep 17 00:00:00 2001 From: Vadim Kuznetsov Date: Thu, 5 Aug 2010 14:40:16 +0000 Subject: added vmware-server-console 1.0.10 svn path=/trunk/; revision=420 --- app-emulation/vmware-server-console/ChangeLog | 8 -- app-emulation/vmware-server-console/Manifest | 5 +- .../vmware-server-console-1.0.10.203137.ebuild | 83 +++++++++++++++++ .../vmware-server-console-1.0.9.156507.ebuild | 83 ----------------- app-emulation/vmware-server/ChangeLog | 12 --- app-emulation/vmware-server/Manifest | 15 +-- .../vmware-server-1.0.10.203137.ebuild | 101 +++++++++++++++++++++ .../vmware-server-1.0.9.156507.ebuild | 101 --------------------- 8 files changed, 188 insertions(+), 220 deletions(-) delete mode 100644 app-emulation/vmware-server-console/ChangeLog create mode 100644 app-emulation/vmware-server-console/vmware-server-console-1.0.10.203137.ebuild delete mode 100644 app-emulation/vmware-server-console/vmware-server-console-1.0.9.156507.ebuild delete mode 100644 app-emulation/vmware-server/ChangeLog create mode 100644 app-emulation/vmware-server/vmware-server-1.0.10.203137.ebuild delete mode 100644 app-emulation/vmware-server/vmware-server-1.0.9.156507.ebuild (limited to 'app-emulation') diff --git a/app-emulation/vmware-server-console/ChangeLog b/app-emulation/vmware-server-console/ChangeLog deleted file mode 100644 index 74788a1..0000000 --- a/app-emulation/vmware-server-console/ChangeLog +++ /dev/null @@ -1,8 +0,0 @@ -# ChangeLog for app-emulation/vmware-server-console -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - - 15 Jan 2009; Mike Auty - vmware-server-console-1.0.8.126538.ebuild: - Stabilize vmware-server-console to match the main tree. - diff --git a/app-emulation/vmware-server-console/Manifest b/app-emulation/vmware-server-console/Manifest index 76c66ca..016e323 100644 --- a/app-emulation/vmware-server-console/Manifest +++ b/app-emulation/vmware-server-console/Manifest @@ -1,6 +1,5 @@ AUX 90vmware-server-console 76 RMD160 22fed127d20bfb758163443dcbd2879bf1d49be6 SHA1 105e3194c134b752a8d5cef1a23ae621cd835d80 SHA256 ff3abe9d58fd673d8f3d2f7e967aa6db426e3e15b4d868dc1483682357a928b8 AUX vmware-server-console.xml 1592 RMD160 0d7e9ed13ebb3c73dd847e95fa95499296609e8c SHA1 02db2ee7ca0abb8b8793c9f56d858bb08c1c715f SHA256 56aafee80ad705e8d832f8853c36d763d37b87d1cb132a41c50eb63085ae854d -DIST VMware-server-linux-client-1.0.9-156507.zip 23772932 RMD160 e96e94e4173f4e5fa05ff74ab5637472e1398d4a SHA1 4aa99c8f72f13f1cbbfa21bf35014c386b1156c4 SHA256 c0735562ab900f02ff954b7f907fd0e57f25c3073ec932f0a684460c8ea4b3e7 -EBUILD vmware-server-console-1.0.9.156507.ebuild 2138 RMD160 10fdf0889d67e49ef26047c6844906a57a489955 SHA1 e75506d8d8d64d44b5eb92b39723b7aa6293bcf6 SHA256 ecfc947ae504161f8ba49662295f6b338048bb06acdd3d00dfd52241b3e6d14d -MISC ChangeLog 285 RMD160 855db2ff4bdc78a9996b4effa9b15bd8c28dd4a8 SHA1 4bd94056b22adb022276d92279d252d923d4ce77 SHA256 ba631fdae853c0a98d2d5f847e8718d802219b6895efde03de85182d717e967f +DIST VMware-server-linux-client-1.0.10-203137.zip 23775696 RMD160 8f5cd2646b68aa0acc93ba6288993e31af8a06b2 SHA1 3f92c98153f5d9dcbbcd0cd524683a6832aaa10e SHA256 143a2ab8604706e2fe0cd9a6f824e8f9338c1db9fc6e51a5ea8316efe934448c +EBUILD vmware-server-console-1.0.10.203137.ebuild 2135 RMD160 a1b0b0740b66e66c70fcd141be6e007f61a66f5d SHA1 9df1b2d776eab3b092d4ba53e21c0f489b789908 SHA256 0eba40f6764f2a7a4da12ff7bb159be6424715fa64b91da8e54deb8419077305 MISC metadata.xml 159 RMD160 fc7f68a382390e5916b0fb43f37a893fad4f9798 SHA1 f46b02a39bcd0165558de67ff4256cfc812418a3 SHA256 8581ae1c90a48f50fa0542c7fb28cb8984baaf12f50fa18f33e467081effb215 diff --git a/app-emulation/vmware-server-console/vmware-server-console-1.0.10.203137.ebuild b/app-emulation/vmware-server-console/vmware-server-console-1.0.10.203137.ebuild new file mode 100644 index 0000000..d6e97a3 --- /dev/null +++ b/app-emulation/vmware-server-console/vmware-server-console-1.0.10.203137.ebuild @@ -0,0 +1,83 @@ +# 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-console/vmware-server-console-1.0.9.156507.ebuild,v 1.2 2010/03/09 12:04:48 abcd 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_PN=${PN/vm/VM} +MY_PV=$(replace_version_separator 3 '-') +MY_P="${MY_PN}-${MY_PV}" +FN="VMware-server-linux-client-${MY_PV}" +S="${WORKDIR}/${PN}-distrib" + +DESCRIPTION="VMware Remote Console for Linux" +HOMEPAGE="http://www.vmware.com/" +SRC_URI="mirror://vmware/software/vmserver/${FN}.zip" + +LICENSE="vmware" +IUSE="" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +RESTRICT="strip" + +DEPEND=">=sys-libs/glibc-2.3.5 + virtual/os-headers + >=dev-lang/perl-5 + >=sys-apps/portage-2.0.54 + app-arch/unzip" + +# vmware-server-console 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-gtklibs ) + !amd64? ( x11-libs/libSM + x11-libs/libICE + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXcursor + x11-libs/libXdmcp + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXft + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXt + x11-libs/libXtst ) + >=dev-lang/perl-5 + ! etc/config + vmware_src_install + + # Fix an ugly GCC error on start + rm -f "${D}${VMWARE_INSTALL_DIR}/lib/lib/libgcc_s.so.1/libgcc_s.so.1" + make_desktop_entry ${PN} "VMWare Remote Console" ${PN} System + + dodir /usr/bin + dosym ${VMWARE_INSTALL_DIR}/bin/${PN} /usr/bin/${PN} +} + +pkg_config() { + einfo "Running ${ROOT}${dir}/bin/vmware-config-server-console.pl" + "${ROOT}${dir}/bin/vmware-config-server-console.pl" +} diff --git a/app-emulation/vmware-server-console/vmware-server-console-1.0.9.156507.ebuild b/app-emulation/vmware-server-console/vmware-server-console-1.0.9.156507.ebuild deleted file mode 100644 index 7db0f21..0000000 --- a/app-emulation/vmware-server-console/vmware-server-console-1.0.9.156507.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-server-console/vmware-server-console-1.0.5.80187.ebuild,v 1.4 2008/04/26 15:40: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_PN=${PN/vm/VM} -MY_PV=$(replace_version_separator 3 '-') -MY_P="${MY_PN}-${MY_PV}" -FN="VMware-server-linux-client-${MY_PV}" -S="${WORKDIR}/${PN}-distrib" - -DESCRIPTION="VMware Remote Console for Linux" -HOMEPAGE="http://www.vmware.com/" -SRC_URI="mirror://vmware/software/vmserver/${FN}.zip" - -LICENSE="vmware" -IUSE="" -SLOT="0" -KEYWORDS="-* amd64 x86" -RESTRICT="strip" - -DEPEND=">=sys-libs/glibc-2.3.5 - virtual/os-headers - >=dev-lang/perl-5 - >=sys-apps/portage-2.0.54 - app-arch/unzip" - -# vmware-server-console 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-gtklibs ) - !amd64? ( x11-libs/libSM - x11-libs/libICE - x11-libs/libX11 - x11-libs/libXau - x11-libs/libXcursor - x11-libs/libXdmcp - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXft - x11-libs/libXi - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/libXt - x11-libs/libXtst ) - >=dev-lang/perl-5 - ! etc/config - vmware_src_install - - # Fix an ugly GCC error on start - rm -f "${D}${VMWARE_INSTALL_DIR}/lib/lib/libgcc_s.so.1/libgcc_s.so.1" - make_desktop_entry ${PN} "VMWare Remote Console" ${PN}.png System - - dodir /usr/bin - dosym ${VMWARE_INSTALL_DIR}/bin/${PN} /usr/bin/${PN} -} - -pkg_config() { - einfo "Running ${ROOT}${dir}/bin/vmware-config-server-console.pl" - "${ROOT}${dir}/bin/vmware-config-server-console.pl" -} diff --git a/app-emulation/vmware-server/ChangeLog b/app-emulation/vmware-server/ChangeLog deleted file mode 100644 index 16c70cc..0000000 --- a/app-emulation/vmware-server/ChangeLog +++ /dev/null @@ -1,12 +0,0 @@ -# ChangeLog for app-emulation/vmware-server -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - - 26 Jan 2009; Mike Auty files/vmware-server-2.rc, - vmware-server-2.0.0.122956.ebuild: - Remove xinetd requirements and add in a dependency on hal. - - 15 Jan 2009; Mike Auty - vmware-server-1.0.8.126538.ebuild: - Stabilize vmware-server to match the main tree. - diff --git a/app-emulation/vmware-server/Manifest b/app-emulation/vmware-server/Manifest index f5c9855..22ddcc9 100644 --- a/app-emulation/vmware-server/Manifest +++ b/app-emulation/vmware-server/Manifest @@ -1,10 +1,3 @@ -AUX 2.0.1.156745/000_all_initd-location.patch 1259 RMD160 edced247443fc535e5a6b98404153e970721e5aa SHA1 9a36424152bc38aba53c66cea983a41f0b23baff SHA256 5e163e7232a260ea6bff570180756807f9587ab5cf836c9c293d7162d788c062 -AUX 2.0.1.156745/001_all_fix-permissions.patch 702 RMD160 9d77ba6ff6cba0b9ee529777870470028c687f22 SHA1 863278b6cfadca04ae539bc858731658074ed01e SHA256 8f5fac381a2eda0f1da8a521fcb0ef17b139bf5b8b926425946534e802ce8307 -AUX 2.0.1.156745/002_all_pagebreak-detection-fix.patch 800 RMD160 f21a51e552d025a5120519d6dcd41efc3835a432 SHA1 06133c332b6b1f57476b1154de108a9dfc35435d SHA256 d327d7cb2166b9ef4c8c286568c3a7eb64542212164d58b8a7a3c5e51e19ed6d -AUX 2.0.1.156745/004_all_do-not-build-modules.patch 553 RMD160 6dd19e4a7626f97354f4cb1725aeba306d72e113 SHA1 7b949213c10681026eb22fe6a6e96af482931e2c SHA256 39884f9af3d85883b06beb6678ad12e5fed32bded8a039b49c680336011425ec -AUX 2.0.1.156745/007_all_use-modprobe-over-insmod.patch 343 RMD160 ef4007c98c8342e00fe8e04c76f08f0901a6539a SHA1 62d4a5ee744c36fa59b44e4382338760e67e88e1 SHA256 68cb51ad4ea3a24faa1101c3a72cd17f61fcdb901af5fa93a9eeaad5b6c9383d -AUX 2.0.1.156745/009_all_init.d-modules-warning.patch 965 RMD160 3a98d59bb591aa6498a7dca9751f441b430c6288 SHA1 5b6b1c1330d1108bb769107c73fdc43c1fe46be5 SHA256 dbeb12905d75f06be519cc99e6e0c070b6e08e34cdb813c518b09a04b55876fb -AUX 2.0.1.156745/011_all_legit-modules-only.patch 535 RMD160 de7fa6a29bf9f7e6670de53fd2dfdc842ec7a097 SHA1 9bd34078eeb012cec94eaac4ab9d899ad4244ca1 SHA256 ed15e9e237bf69dc5ef7803db53011d06b84525d5df6754afa54290d1677f794 AUX 90vmware-server 91 RMD160 2a9e2e9d428a06ceac7faec500e6b1423da34b25 SHA1 e090847500dd99d161a46cd361ed2297b3d3ecae SHA256 3175cd9665850cf0d25a96849135c93ab129127370d55572f0137ba3d210e423 AUX authorization.xml 332 RMD160 f31f4300342a9290634e20187351910d72e7c28d SHA1 28e2b07ed7225c83bef3172d23d4702fe92a3f75 SHA256 a6ce67bb812ca67d26e518da4903cf27338865c0f06beb58d4a8ece6021e1630 AUX general/001_all_no-desktop-icon.patch 1131 RMD160 3ab69d825994cc3bb177143d27091fc292cec46a SHA1 14264460c8500f1ead267059e2b9b9a5dc8c057f SHA256 b4055370b0092e71a2b2b0f27edeb7bc063ad265f95ab4530e52c3ab3167ad62 @@ -19,11 +12,7 @@ AUX vmware-authd 211 RMD160 1bd60030f6f7bb78c0fd3b6d156498121d4be5d4 SHA1 514538 AUX vmware-server-2.rc 1561 RMD160 ea122e81095807e635626a9a8ff1e445137da2b0 SHA1 50262ff622afe0a8d8eab3ad2599193cd56ad211 SHA256 e4cc1591c0cd8ab6e699d4e346ea69e0a0f4d564bc34ae216027338f74517afd AUX vmware-server.rc 1529 RMD160 d6840024f8c7be0a673e5e29660cc75fea9520d8 SHA1 049cf33eb5bac09415f8e2a85f7ecfd0bbc5ab4a SHA256 ef551e4240eea88184c96e286354a53a4983ce80c3332a127767301b42586cb2 AUX vmware-server.xml 1592 RMD160 0d7e9ed13ebb3c73dd847e95fa95499296609e8c SHA1 02db2ee7ca0abb8b8793c9f56d858bb08c1c715f SHA256 56aafee80ad705e8d832f8853c36d763d37b87d1cb132a41c50eb63085ae854d -DIST VMware-server-1.0.9-156507.tar.gz 107164305 RMD160 1ba44b50b1f516eb8f253e475d6b2c7b5eeb8ade SHA1 ba6e7a7b69e312e177d54c8272de25574e3d5ddb SHA256 e1c049328141f6ea77d31b38fa920d2adff5756a063fb38964faefe928cbd94c -DIST VMware-server-2.0.1-156745.i386.tar.gz 489222157 RMD160 5c2cbb13c8ce39d905c5f8071c26df274963e87e SHA1 2cdffb408fad4cd29551eb353ef1875b650f1110 SHA256 5532393b04e9196212234e65010da5e22357f129cc0ab135d25c564ae21d8222 -DIST VMware-server-2.0.1-156745.x86_64.tar.gz 457559901 RMD160 71ce6f19285c5869947fc0673184ae93dd5c0266 SHA1 1a9f383b02ca2b261be5f2a8757b462e57eee77e SHA256 b3792ce14eb9439f06d0e0836ff2018d48779ef0ad5282a141d7f18f2aebd6f8 +DIST VMware-server-1.0.10-203137.tar.gz 107183610 RMD160 0ddaa6a6f5b3c08804eb1b97f13ffd0fc0b87876 SHA1 f21ed65a500b2176166d90ed2821892ce1cb1fd5 SHA256 744d6057daeea5f9a950d164a3d9c5ca6273feed645699cfcf16d8acbcfa504c DIST vmware-server-perl-fixed-rpath-libs.tar.bz2 73834 RMD160 7f64627b5b945e8d7dabe39c165a4b66b71fb4d3 SHA1 9d696750ca3ec92b31ca8112fd80dcd832494044 SHA256 c42299dd033187c67b45b739da66583fbd94cdcba745200b89a25ac96cd9364b -EBUILD vmware-server-1.0.9.156507.ebuild 2996 RMD160 35fe1c2545a88f02765825b507910d604d199e5a SHA1 a145b3b0a2ef11fb5090f848e12610f31f71a88f SHA256 a5858d8b92031b57bcb0c00e3cd7565b7fe4a1e3b06d6a2090614b85fc747f2a -EBUILD vmware-server-2.0.1.156745.ebuild 2639 RMD160 68f9f720a36971d19567a66dade0a8e2aeca37e2 SHA1 04154b2f6a38f39ab9aa1580c927ef7652aae40e SHA256 50ef71c74871f8b6e72e1ae14a51a2906ecd741b69e12403048e5f555fbdd46b -MISC ChangeLog 431 RMD160 4a75f836e76a58f3b23109e62d92a10e47874cad SHA1 a0b3fd8097d96f155913b90d57f936a9bfd07924 SHA256 379e0691ea54d44a51f58b87f731dfa1a9aab10adcb55fae140b2916841aa12e +EBUILD vmware-server-1.0.10.203137.ebuild 3003 RMD160 ab9f2256de79ad33c49baebb0cf1a5a8a7b8dfb9 SHA1 3ca0c501c4a98fb2f9f13ba7a4f11ade6431ede3 SHA256 c05cbcbf8b691b95d75cf676602b17be084ba7552fe39eedc162d4c52004edb5 MISC metadata.xml 159 RMD160 fc7f68a382390e5916b0fb43f37a893fad4f9798 SHA1 f46b02a39bcd0165558de67ff4256cfc812418a3 SHA256 8581ae1c90a48f50fa0542c7fb28cb8984baaf12f50fa18f33e467081effb215 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 new file mode 100644 index 0000000..e702211 --- /dev/null +++ b/app-emulation/vmware-server/vmware-server-1.0.10.203137.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2009 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 $ + +# 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? ( + x11-libs/libX11 + x11-libs/libXft + x11-libs/libXtst + x11-libs/libXext + x11-libs/libXt + x11-libs/libICE + x11-libs/libSM + x11-libs/libXrender ) + >=dev-lang/perl-5 + !=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" +} diff --git a/app-emulation/vmware-server/vmware-server-1.0.9.156507.ebuild b/app-emulation/vmware-server/vmware-server-1.0.9.156507.ebuild deleted file mode 100644 index eaeadab..0000000 --- a/app-emulation/vmware-server/vmware-server-1.0.9.156507.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2009 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.5.80187.ebuild,v 1.3 2008/04/04 06:41:39 opfer 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? ( - x11-libs/libX11 - x11-libs/libXft - x11-libs/libXtst - x11-libs/libXext - x11-libs/libXt - x11-libs/libICE - x11-libs/libSM - x11-libs/libXrender ) - >=dev-lang/perl-5 - !=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" -} -- cgit v1.2.3-65-gdbad