2009-05-30 00:31:49 +02:00
|
|
|
# Copyright 1999-2009 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
EAPI="2"
|
|
|
|
|
2009-06-01 09:43:39 +02:00
|
|
|
GENPATCHES_VER="4"
|
2009-05-31 12:53:35 +02:00
|
|
|
VM_SRC_URI="mirror://vmware/software/vmserver/VMware-server-1.0.9-156507.tar.gz"
|
2009-06-06 18:13:29 +02:00
|
|
|
VM_MODULE_LIST="vmmon vmnet"
|
2009-05-30 00:31:49 +02:00
|
|
|
|
|
|
|
inherit vmware-mod-2
|
|
|
|
|
2009-05-31 12:53:35 +02:00
|
|
|
KEYWORDS="~amd64 ~x86"
|
2009-06-02 16:09:35 +02:00
|
|
|
IUSE="init_mm-patch"
|
2009-05-31 12:53:35 +02:00
|
|
|
|
|
|
|
S="${WORKDIR}"/vmware-server-distrib/lib/modules/source/
|
|
|
|
|
2009-05-30 00:31:49 +02:00
|
|
|
pkg_setup() {
|
2009-05-30 08:31:40 +02:00
|
|
|
if kernel_is ge 2 6 25; then
|
2009-05-30 00:31:49 +02:00
|
|
|
CONFIG_CHECK="UNUSED_SYMBOLS"
|
|
|
|
fi
|
2009-05-30 08:31:40 +02:00
|
|
|
if kernel_is ge 2 6 29; then
|
2009-06-02 16:09:35 +02:00
|
|
|
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/04/21/vmware-specific-specific-55x-and-kernel-2629"
|
|
|
|
else
|
|
|
|
ewarn "starting with kernel version 2.6.29 the deprecated"
|
|
|
|
ewarn "symbole init_mm isn't exported."
|
|
|
|
die "kernel not supported!"
|
|
|
|
fi
|
2009-05-30 08:31:40 +02:00
|
|
|
fi
|
2009-05-30 00:31:49 +02:00
|
|
|
vmware-mod-2_pkg_setup
|
|
|
|
}
|