diff options
author | Mike Gilbert <floppym@gentoo.org> | 2013-10-19 01:42:17 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2013-10-19 01:42:17 +0000 |
commit | 4182d18eec92a9b449a58ef4daeb13719643b5bc (patch) | |
tree | a11a2d488ffb38b976425502d4388a5830328627 /app-emulation/open-vm-tools-kmod | |
parent | Add keywords for everyone. (diff) | |
download | gentoo-2-4182d18eec92a9b449a58ef4daeb13719643b5bc.tar.gz gentoo-2-4182d18eec92a9b449a58ef4daeb13719643b5bc.tar.bz2 gentoo-2-4182d18eec92a9b449a58ef4daeb13719643b5bc.zip |
Version bump. Exclude modules based on kernel version; thanks to Tomas Mozes for the idea.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'app-emulation/open-vm-tools-kmod')
-rw-r--r-- | app-emulation/open-vm-tools-kmod/ChangeLog | 9 | ||||
-rw-r--r-- | app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2013.09.16.1328054.ebuild | 63 |
2 files changed, 71 insertions, 1 deletions
diff --git a/app-emulation/open-vm-tools-kmod/ChangeLog b/app-emulation/open-vm-tools-kmod/ChangeLog index 8a12225fd37c..c09a3ba8b4ef 100644 --- a/app-emulation/open-vm-tools-kmod/ChangeLog +++ b/app-emulation/open-vm-tools-kmod/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-emulation/open-vm-tools-kmod # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools-kmod/ChangeLog,v 1.35 2013/08/24 19:18:21 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools-kmod/ChangeLog,v 1.36 2013/10/19 01:42:17 floppym Exp $ + +*open-vm-tools-kmod-2013.09.16.1328054 (19 Oct 2013) + + 19 Oct 2013; Mike Gilbert <floppym@gentoo.org> + +open-vm-tools-kmod-2013.09.16.1328054.ebuild: + Version bump. Exclude modules based on kernel version; thanks to Tomas Mozes + for the idea. 24 Aug 2013; Mike Gilbert <floppym@gentoo.org> open-vm-tools-kmod-2013.04.16.1098359.ebuild: diff --git a/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2013.09.16.1328054.ebuild b/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2013.09.16.1328054.ebuild new file mode 100644 index 000000000000..1a84057e5a8c --- /dev/null +++ b/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2013.09.16.1328054.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2013 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-2013.09.16.1328054.ebuild,v 1.1 2013/10/19 01:42:17 floppym Exp $ + +EAPI="5" + +inherit eutils linux-mod versionator + +MY_PN="${PN/-kmod}" +MY_PV="$(replace_version_separator 3 '-')" +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="" + +CONFIG_CHECK=" + ~DRM_VMWGFX + ~VMWARE_BALLOON + ~VMWARE_PVSCSI + ~VMXNET3 +" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}/frozen.patch" + epatch "${FILESDIR}/putname.patch" + epatch_user +} + +src_configure() { + export OVT_SOURCE_DIR="${S}" + export LINUXINCLUDE="${KV_OUT_DIR}/include" + + # See logic in configure.ac. + local MODULES="vmxnet vmhgfs" + kernel_is -lt 3 9 && MODULES+=" vmci vsock" + kernel_is -lt 3 && MODULES+=" vmblock vmsync" + + local mod + for mod in ${MODULES}; do + MODULE_NAMES+=" ${mod}(ovt:modules/linux/${mod})" + done + + BUILD_TARGETS="auto-build" +} + +src_install() { + linux-mod_src_install + + local udevrules="${T}/60-vmware.rules" + cat > "${udevrules}" <<-EOF + KERNEL=="vsock", GROUP="vmware", MODE=660 + EOF + insinto /lib/udev/rules.d/ + doins "${udevrules}" +} |