diff options
author | Mike Gilbert <floppym@gentoo.org> | 2015-09-17 23:10:50 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2015-09-17 23:10:50 -0400 |
commit | 8c82bd88df90e12bbfd24db415c8977794c9a737 (patch) | |
tree | f85ff04707b1bd50e0547d0b6134dc8648fa1215 /app-emulation | |
parent | app-emulation/open-vm-tools: Bump to 10.0.0 (diff) | |
download | gentoo-8c82bd88df90e12bbfd24db415c8977794c9a737.tar.gz gentoo-8c82bd88df90e12bbfd24db415c8977794c9a737.tar.bz2 gentoo-8c82bd88df90e12bbfd24db415c8977794c9a737.zip |
app-emulation/open-vm-tools-kmod: Bump to 10.0.0
Package-Manager: portage-2.2.20
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/open-vm-tools-kmod/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-10.0.0_p3000743.ebuild | 69 |
2 files changed, 70 insertions, 0 deletions
diff --git a/app-emulation/open-vm-tools-kmod/Manifest b/app-emulation/open-vm-tools-kmod/Manifest index 3850fcc05cba..81d520606297 100644 --- a/app-emulation/open-vm-tools-kmod/Manifest +++ b/app-emulation/open-vm-tools-kmod/Manifest @@ -1,2 +1,3 @@ +DIST open-vm-tools-10.0.0-3000743.tar.gz 4161070 SHA256 5adef80f43186aff426f4f22b4b31b514d18a1dcc3334d56ed22d2e308803971 SHA512 0529e619b7cc012f3ebb78252157cb6d54c640a701de16516e1125b7147ea2e49f685fbdbbff6de73f2c3d8db87c5f406f8128ba0fcf12e37bc3d66085578c54 WHIRLPOOL f4355d86a4f7d835b6481ff4d7d09786d46ce8107e139fb603f117df41c00a380b7e4f69773b48944ae347d762a02497093828f7820209e7c1c6b5a814312167 DIST open-vm-tools-9.10.0-2476743.tar.gz 4093306 SHA256 e146ad53d744d7793ee72c5271fc49a916613534c14827c227fdaef4b3579c96 SHA512 8c8e4a559c0374e020c8261d4c8f6855efbe3f509745ee02ec03ab9ebce7e1327ec1e5e18f674cb464630ace9dc33b4262ffd119fc237c286ee44327e4590385 WHIRLPOOL 162aba889e249ac229e003a57753ff78b86f612a0753ae83f9de52eb1d0ae0a11aee0279c192eb073dabc76d718747c614d4122395abfc8c8d0f9d80a903189a DIST open-vm-tools-9.4.0-1280544.tar.gz 3659504 SHA256 5d30652eb0f6dc5e930781029c184837e700be5543b6a7116db4c62a6f3ca399 SHA512 07b36f49713140606f74864b59c2e01c9ed83a960dd3f5d172b84fc75e760f7370065774a0e26897924af60454c86b682ca0fd32276b0e9fb17b268247f8cbdf WHIRLPOOL 88533768cf718de3b5f64e688597209fa2029d02cdf350d7fd05ec8dd8ca0f0c125a8d1445c1ec9287bc486076d5c335f3cc615c3f0b9aa7bac84e921da4c9e6 diff --git a/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-10.0.0_p3000743.ebuild b/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-10.0.0_p3000743.ebuild new file mode 100644 index 000000000000..faf5874a1136 --- /dev/null +++ b/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-10.0.0_p3000743.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils linux-mod udev + +MY_PN=${PN%-kmod} +MY_P=${MY_PN}-${PV/_p/-} + +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" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + CONFIG_CHECK="~DRM_VMWGFX ~VMWARE_BALLOON ~VMWARE_PVSCSI ~VMXNET3" + + # See logic in configure.ac. + local MODULES= + + if kernel_is -lt 3 3; then + MODULES+=" vmxnet" + fi + + if kernel_is -lt 4; then + MODULES+=" vmhgfs" + fi + + if kernel_is -lt 3 9; then + MODULES+=" vmci vsock" + else + CONFIG_CHECK+=" ~VMWARE_VMCI ~VMWARE_VMCI_VSOCKETS" + fi + + if kernel_is -lt 3; then + MODULES+=" vmblock vmsync" + else + CONFIG_CHECK+=" ~FUSE_FS" + fi + + local mod + for mod in ${MODULES}; do + MODULE_NAMES+=" ${mod}(ovt:modules/linux/${mod})" + done + + linux-mod_pkg_setup +} + +src_prepare() { + epatch_user +} + +src_configure() { + BUILD_TARGETS="auto-build" + export OVT_SOURCE_DIR="${S}" + export LINUXINCLUDE="${KV_OUT_DIR}/include" +} + +src_install() { + linux-mod_src_install + udev_dorules "${FILESDIR}/60-vmware.rules" +} |