* [gentoo-commits] gentoo-x86 commit in app-emulation/open-vm-tools-kmod: open-vm-tools-kmod-2012.03.13.651368-r1.ebuild open-vm-tools-kmod-8.8.2.590212-r1.ebuild ChangeLog open-vm-tools-kmod-8.8.2.590212.ebuild open-vm-tools-kmod-2012.03.13.651368.ebuild
@ 2012-03-26 15:54 Vadim Kuznetsov (vadimk)
0 siblings, 0 replies; only message in thread
From: Vadim Kuznetsov (vadimk) @ 2012-03-26 15:54 UTC (permalink / raw
To: gentoo-commits
vadimk 12/03/26 15:54:37
Modified: ChangeLog
Added: open-vm-tools-kmod-2012.03.13.651368-r1.ebuild
open-vm-tools-kmod-8.8.2.590212-r1.ebuild
Removed: open-vm-tools-kmod-8.8.2.590212.ebuild
open-vm-tools-kmod-2012.03.13.651368.ebuild
Log:
config checks and udev rules
(Portage version: 2.1.10.51/cvs/Linux x86_64)
Revision Changes Path
1.25 app-emulation/open-vm-tools-kmod/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools-kmod/ChangeLog?rev=1.25&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools-kmod/ChangeLog?rev=1.25&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools-kmod/ChangeLog?r1=1.24&r2=1.25
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools-kmod/ChangeLog,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- ChangeLog 24 Mar 2012 12:55:45 -0000 1.24
+++ ChangeLog 26 Mar 2012 15:54:37 -0000 1.25
@@ -1,6 +1,16 @@
# ChangeLog for app-emulation/open-vm-tools-kmod
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools-kmod/ChangeLog,v 1.24 2012/03/24 12:55:45 vadimk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools-kmod/ChangeLog,v 1.25 2012/03/26 15:54:37 vadimk Exp $
+
+*open-vm-tools-kmod-2012.03.13.651368-r1 (26 Mar 2012)
+*open-vm-tools-kmod-8.8.2.590212-r1 (26 Mar 2012)
+
+ 26 Mar 2012; Vadim Kuznetsov vadimk@gentoo.org
+ +open-vm-tools-kmod-2012.03.13.651368-r1.ebuild,
+ +open-vm-tools-kmod-8.8.2.590212-r1.ebuild,
+ -open-vm-tools-kmod-2012.03.13.651368.ebuild,
+ -open-vm-tools-kmod-8.8.2.590212.ebuild:
+ config checks and udev rules
*open-vm-tools-kmod-8.8.2.590212 (24 Mar 2012)
*open-vm-tools-kmod-2012.03.13.651368 (24 Mar 2012)
1.1 app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2012.03.13.651368-r1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2012.03.13.651368-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2012.03.13.651368-r1.ebuild?rev=1.1&content-type=text/plain
Index: open-vm-tools-kmod-2012.03.13.651368-r1.ebuild
===================================================================
# Copyright 1999-2012 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-2012.03.13.651368-r1.ebuild,v 1.1 2012/03/26 15:54:37 vadimk Exp $
EAPI="4"
inherit linux-info 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=""
RDEPEND=""
DEPEND="${RDEPEND}
virtual/linux-sources
"
CONFIG_CHECK="
~DRM_VMWGFX
~VMWARE_BALLOON
~VMWARE_PVSCSI
~VMXNET3
"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
linux-mod_pkg_setup
VMWARE_MOD_DIR="modules/linux"
VMWARE_MODULE_LIST="vmblock vmci vmhgfs vmsync 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" ];
then
MODTARGET="net"
else
MODTARGET="openvmtools"
fi
MODULE_NAMES="${MODULE_NAMES} ${mod}(${MODTARGET}:${S}/${VMWARE_MOD_DIR}/${mod})"
done
}
src_prepare() {
sed -i.bak -e '/\smake\s/s/make/$(MAKE)/g' modules/linux/{vmblock,vmci,vmhgfs,vmsync,vmxnet,vsock}/Makefile\
|| die "Sed failed."
}
src_configure() {
: # do nothing at all
}
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}"
}
1.1 app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.2.590212-r1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.2.590212-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.2.590212-r1.ebuild?rev=1.1&content-type=text/plain
Index: open-vm-tools-kmod-8.8.2.590212-r1.ebuild
===================================================================
# Copyright 1999-2012 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-8.8.2.590212-r1.ebuild,v 1.1 2012/03/26 15:54:37 vadimk Exp $
EAPI="4"
inherit linux-info 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=""
RDEPEND=""
DEPEND="${RDEPEND}
virtual/linux-sources
"
CONFIG_CHECK="
~DRM_VMWGFX
~VMWARE_BALLOON
~VMWARE_PVSCSI
~VMXNET3
"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
linux-mod_pkg_setup
VMWARE_MOD_DIR="modules/linux"
VMWARE_MODULE_LIST="vmblock vmci vmhgfs vmsync 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" ];
then
MODTARGET="net"
else
MODTARGET="openvmtools"
fi
MODULE_NAMES="${MODULE_NAMES} ${mod}(${MODTARGET}:${S}/${VMWARE_MOD_DIR}/${mod})"
done
}
src_prepare() {
sed -i.bak -e '/\smake\s/s/make/$(MAKE)/g' modules/linux/{vmblock,vmci,vmhgfs,vmsync,vmxnet,vsock}/Makefile\
|| die "Sed failed."
kernel_is ge 3 2 0 && epatch "${FILESDIR}/fragsize.patch"
}
src_configure() {
: # do nothing at all
}
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}"
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-03-26 15:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-26 15:54 [gentoo-commits] gentoo-x86 commit in app-emulation/open-vm-tools-kmod: open-vm-tools-kmod-2012.03.13.651368-r1.ebuild open-vm-tools-kmod-8.8.2.590212-r1.ebuild ChangeLog open-vm-tools-kmod-8.8.2.590212.ebuild open-vm-tools-kmod-2012.03.13.651368.ebuild Vadim Kuznetsov (vadimk)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox