summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Kuznetsov <vadimk@gentoo.org>2010-02-19 17:53:19 +0000
committerVadim Kuznetsov <vadimk@gentoo.org>2010-02-19 17:53:19 +0000
commitaabaf87ae415937cd3cc457d4d54f599941e7785 (patch)
tree2fa9394aec9c8fe94b6f65a5aba03a47e71afb87 /app-emulation/open-vm-tools-kmod
parentVersion bump <http://my.opera.com/desktopteam/blog/2010/02/19/gstreamer-video... (diff)
downloadgentoo-2-aabaf87ae415937cd3cc457d4d54f599941e7785.tar.gz
gentoo-2-aabaf87ae415937cd3cc457d4d54f599941e7785.tar.bz2
gentoo-2-aabaf87ae415937cd3cc457d4d54f599941e7785.zip
Version bump, fixes bug 296277. vmxnet3 moved to kernel.
(Portage version: 2.1.7.17/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation/open-vm-tools-kmod')
-rw-r--r--app-emulation/open-vm-tools-kmod/ChangeLog10
-rw-r--r--app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-0.0.20100119.226760.ebuild49
2 files changed, 57 insertions, 2 deletions
diff --git a/app-emulation/open-vm-tools-kmod/ChangeLog b/app-emulation/open-vm-tools-kmod/ChangeLog
index edff82823c68..fb8dd8c382ca 100644
--- a/app-emulation/open-vm-tools-kmod/ChangeLog
+++ b/app-emulation/open-vm-tools-kmod/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emulation/open-vm-tools-kmod
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools-kmod/ChangeLog,v 1.3 2009/12/27 13:33:44 vadimk Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools-kmod/ChangeLog,v 1.4 2010/02/19 17:53:19 vadimk Exp $
+
+*open-vm-tools-kmod-0.0.20100119.226760 (19 Feb 2010)
+
+ 19 Feb 2010; Vadim Kuznetsov <vadimk@gentoo.org>
+ +open-vm-tools-kmod-0.0.20100119.226760.ebuild:
+ Version bump, fixes bug 296277. vmxnet3 moved to kernel.
27 Dec 2009; Vadim Kuznetsov <vadimk@gentoo.org>
open-vm-tools-kmod-0.0.20091216.217847.ebuild:
diff --git a/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-0.0.20100119.226760.ebuild b/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-0.0.20100119.226760.ebuild
new file mode 100644
index 000000000000..49394f2e1c1f
--- /dev/null
+++ b/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-0.0.20100119.226760.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-0.0.20100119.226760.ebuild,v 1.1 2010/02/19 17:53:19 vadimk Exp $
+
+inherit linux-mod versionator
+
+MY_DATE="$(get_version_component_range 3)"
+MY_BUILD="$(get_version_component_range 4)"
+MY_PN="${PN/-kmod}"
+MY_PV="${MY_DATE:0:4}.${MY_DATE:4:2}.${MY_DATE:6:2}-${MY_BUILD}"
+MY_P="${MY_PN}-${MY_PV}"
+
+DESCRIPTION="Opensourced tools for VMware guests"
+HOMEPAGE="http://open-vm-tools.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+
+DEPEND="${RDEPEND}
+ virtual/linux-sources
+ "
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ VMWARE_MOD_DIR="modules/linux"
+ VMWARE_MODULE_LIST="pvscsi vmblock vmci vmhgfs vmsync vmmemctl vmxnet vsock"
+
+ MODULE_NAMES=""
+ BUILD_TARGETS="auto-build HEADER_DIR=${KERNEL_DIR}/include BUILD_DIR=${KV_OUT_DIR} OVT_SOURCE_DIR=${S}"
+
+ for mod in ${VMWARE_MODULE_LIST};
+ do
+ if [ "${mod}" == "vmxnet" -o "${mod}" == "vmxnet3" ];
+ then
+ MODTARGET="net"
+ else
+ MODTARGET="openvmtools"
+ fi
+ MODULE_NAMES="${MODULE_NAMES} ${mod}(${MODTARGET}:${S}/${VMWARE_MOD_DIR}/${mod})"
+ done
+}