app-emulation/vmware-server: add proprt lsmod path

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/vmware@2301 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2010-08-19 11:12:48 +00:00
parent fafa727628
commit 0b4f563b0d
3 changed files with 112 additions and 1 deletions

View File

@ -2,6 +2,10 @@
# 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 <mario.fetka@gmail.com>
+vmware-server-1.0.10.203137-r1.ebuild:
add proprt lsmod path
19 Aug 2010; Mario Fetka <mario.fetka@gmail.com>
vmware-server-1.0.10.203137.ebuild, files/vmware-server-2.rc:
Bump

View File

@ -26,10 +26,11 @@ 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-r1.ebuild 3235 RMD160 b0109235281ca0cec263caf02a5ea2d6d5981ec4 SHA1 88828a83b6f6848e9d77e914f1e0dd2897131d77 SHA256 1707a6cfe3907c1acacfd42a3c5268327d59a0c4401aa22080bfa1d26fbdd233
EBUILD vmware-server-1.0.10.203137.ebuild 3235 RMD160 b0109235281ca0cec263caf02a5ea2d6d5981ec4 SHA1 88828a83b6f6848e9d77e914f1e0dd2897131d77 SHA256 1707a6cfe3907c1acacfd42a3c5268327d59a0c4401aa22080bfa1d26fbdd233
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-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 14616 RMD160 0e8aafb9ff166031182e3de6479d6f1035351a11 SHA1 b9c0002887b3871ad19d81a74da336bb4ff9672a SHA256 3323f17b8990a6e11eea473eef4d7320deeaadb625913f20b1a57f0b96ed5e3e
MISC ChangeLog 14734 RMD160 6bb7528e9416029667c527468e91ad10ac91171d SHA1 75df0f921ae9388fda353518d088f81a2ad2af55 SHA256 b3bae5496387e14acf3acbca5a0fa5e921a8143219a315356bef6768d25b241c
MISC metadata.xml 451 RMD160 34ad07edf6d4f6d9b00b8c0ea197fa8ddad2397b SHA1 7983215b3da6bbfb2e5c167b33b0625a5a31280d SHA256 b64b12ed17797856c0f950540b92f134ca8ffafd40eabafb4ef90c889e16a3e3

View File

@ -0,0 +1,106 @@
# 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 $
# 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
!<sys-apps/dbus-0.62
!app-emulation/vmware-player
!app-emulation/vmware-workstation
~app-emulation/vmware-modules-138.10
!<app-emulation/vmware-modules-138.10
!>app-emulation/vmware-modules-138.10
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"
# 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"
}
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"
einfo "on amd64 systems you may have to add -skipstopstart"
"${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"
}