2010-03-28 12:21:18 +02:00
|
|
|
# Copyright 1999-2010 Gentoo Foundation
|
2009-11-29 13:10:05 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
EAPI="2"
|
|
|
|
|
|
|
|
GENPATCHES_VER="2"
|
|
|
|
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"
|
2010-03-28 12:21:18 +02:00
|
|
|
ewarn "http://www.it-psycho.de/2009/10/09/vmware-server-1-0-9-und-kernel-2-6-31-3/"
|
2009-11-29 13:10:05 +01:00
|
|
|
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
|
|
|
|
}
|