virtualization/app-emulation/vmware-modules/vmware-modules-138.10.ebuild

38 lines
1.1 KiB
Bash
Raw Normal View History

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
GENPATCHES_VER="4"
VM_SRC_URI="mirror://vmware/software/vmserver/VMware-server-1.0.10-203137.tar.gz"
VM_MODULE_LIST="vmmon vmnet"
inherit vmware-mod-2
KEYWORDS="~amd64 ~x86"
IUSE="init_mm-patch"
S="${WORKDIR}"/vmware-server-distrib/lib/modules/source/
pkg_setup() {
if kernel_is ge 2 6 25; then
CONFIG_CHECK="UNUSED_SYMBOLS"
fi
if kernel_is ge 2 6 29; then
if use init_mm-patch ; then
ewarn "starting with kernel version 2.6.29 the deprecated"
ewarn "symbole init_mm isn't exported."
ewarn "plz recompile your kenel with applied init_mm patch"
ewarn "http://www.insecure.ws/2009/09/11/vmware-specific-specific-5-5-x-and-kernel-2-6-31"
ewarn "http://www.it-psycho.de/2009/10/09/vmware-server-1-0-9-und-kernel-2-6-31-3/"
ewarn "http://ftp.disconnected-by-peer.at/vmware/kernel-2.6.31.3.mm_init.it-psycho.patch"
else
ewarn "starting with kernel version 2.6.29 the deprecated"
ewarn "symbole init_mm isn't exported."
die "kernel not supported!"
fi
fi
vmware-mod-2_pkg_setup
}