summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Kuznetsov <vadimk@gentoo.org>2012-03-24 12:55:45 +0000
committerVadim Kuznetsov <vadimk@gentoo.org>2012-03-24 12:55:45 +0000
commitfbbaed3f0f990db76e96d089ea5eb727a65c0fa9 (patch)
tree6365d480cf561419863c6391b6cad8d41b943f02 /app-emulation
parentAdd Prefix keywords, bug #403413 (diff)
downloadgentoo-2-fbbaed3f0f990db76e96d089ea5eb727a65c0fa9.tar.gz
gentoo-2-fbbaed3f0f990db76e96d089ea5eb727a65c0fa9.tar.bz2
gentoo-2-fbbaed3f0f990db76e96d089ea5eb727a65c0fa9.zip
version bump
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/open-vm-tools-kmod/ChangeLog11
-rw-r--r--app-emulation/open-vm-tools-kmod/files/moduleparam.patch12
-rw-r--r--app-emulation/open-vm-tools-kmod/files/setnlink.patch45
-rw-r--r--app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2012.03.13.651368.ebuild76
-rw-r--r--app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.2.590212.ebuild (renamed from app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.1.528969.ebuild)4
5 files changed, 87 insertions, 61 deletions
diff --git a/app-emulation/open-vm-tools-kmod/ChangeLog b/app-emulation/open-vm-tools-kmod/ChangeLog
index 7a241ef51f07..e5d7ad14b8a6 100644
--- a/app-emulation/open-vm-tools-kmod/ChangeLog
+++ b/app-emulation/open-vm-tools-kmod/ChangeLog
@@ -1,6 +1,15 @@
# 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.23 2012/03/17 17:23:45 vadimk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools-kmod/ChangeLog,v 1.24 2012/03/24 12:55:45 vadimk Exp $
+
+*open-vm-tools-kmod-8.8.2.590212 (24 Mar 2012)
+*open-vm-tools-kmod-2012.03.13.651368 (24 Mar 2012)
+
+ 24 Mar 2012; Vadim Kuznetsov <vadimk@gentoo.org>
+ +open-vm-tools-kmod-2012.03.13.651368.ebuild,
+ +open-vm-tools-kmod-8.8.2.590212.ebuild, -files/moduleparam.patch,
+ -files/setnlink.patch, -open-vm-tools-kmod-8.8.1.528969.ebuild:
+ version bump
17 Mar 2012; Vadim Kuznetsov <vadimk@gentoo.org>
-open-vm-tools-kmod-0.0.20111026.514583.ebuild:
diff --git a/app-emulation/open-vm-tools-kmod/files/moduleparam.patch b/app-emulation/open-vm-tools-kmod/files/moduleparam.patch
deleted file mode 100644
index 6589705a3a1c..000000000000
--- a/app-emulation/open-vm-tools-kmod/files/moduleparam.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/modules/linux/vmhgfs/tcp.c b/modules/linux/vmhgfs/tcp.c
-index c7070a6..31a40df 100644
---- a/modules/linux/vmhgfs/tcp.c
-+++ b/modules/linux/vmhgfs/tcp.c
-@@ -32,6 +32,7 @@
- #include <linux/in.h>
- #include <linux/net.h>
- #include <linux/inet.h>
-+#include <linux/moduleparam.h>
- #include <linux/errno.h>
- #include <linux/kthread.h>
-
diff --git a/app-emulation/open-vm-tools-kmod/files/setnlink.patch b/app-emulation/open-vm-tools-kmod/files/setnlink.patch
deleted file mode 100644
index 9ae4fe7a4fef..000000000000
--- a/app-emulation/open-vm-tools-kmod/files/setnlink.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-diff --git a/modules/linux/vmhgfs/fsutil.c b/modules/linux/vmhgfs/fsutil.c
-index 0c5102b..a978005 100644
---- a/modules/linux/vmhgfs/fsutil.c
-+++ b/modules/linux/vmhgfs/fsutil.c
-@@ -62,6 +62,31 @@ static int HgfsPackGetattrRequest(HgfsReq *req,
- * Private function implementations.
- */
-
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 2, 0)
-+/*
-+ *----------------------------------------------------------------------------
-+ *
-+ * set_nlink --
-+ *
-+ * Set an inode's link count.
-+ *
-+ * Results:
-+ * None
-+ *
-+ * Side effects:
-+ * None
-+ *
-+ *----------------------------------------------------------------------------
-+ */
-+
-+static inline void
-+set_nlink(struct inode *inode, unsigned int nlink)
-+{
-+ inode->i_nlink = nlink;
-+}
-+#endif
-+
-+
- /*
- *----------------------------------------------------------------------
- *
-@@ -607,7 +632,7 @@ HgfsChangeFileAttributes(struct inode *inode, // IN/OUT: Inode
- * account for '.' and ".."), and find printed a hard link error. So until
- * we have getattr support for nlink, everyone gets 1.
- */
-- inode->i_nlink = 1;
-+ set_nlink(inode, 1);
-
- /*
- * Use the stored uid and gid if we were given them at mount-time, or if
diff --git a/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2012.03.13.651368.ebuild b/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2012.03.13.651368.ebuild
new file mode 100644
index 000000000000..41eb59a34a40
--- /dev/null
+++ b/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2012.03.13.651368.ebuild
@@ -0,0 +1,76 @@
+# 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.ebuild,v 1.1 2012/03/24 12:55:45 vadimk Exp $
+
+EAPI="4"
+
+inherit 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
+ "
+
+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 /etc/udev/rules.d/
+ doins "${udevrules}"
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+ elog "vmxnet3 for Linux is now upstream (as of Linux 2.6.32)"
+ elog "pvscsi for Linux is now upstream (vmw_pvscsi) (as of Linux 2.6.33)"
+ elog "vmmemctl for Linux is now upstream (vmw_balloon) (as of Linux 2.6.34)"
+}
diff --git a/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.1.528969.ebuild b/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.2.590212.ebuild
index 1d0def00d634..82f874e6d682 100644
--- a/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.1.528969.ebuild
+++ b/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.2.590212.ebuild
@@ -1,6 +1,6 @@
# 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.1.528969.ebuild,v 1.2 2012/02/04 16:34:59 vadimk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-8.8.2.590212.ebuild,v 1.1 2012/03/24 12:55:45 vadimk Exp $
EAPI="4"
@@ -51,8 +51,6 @@ pkg_setup() {
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}/moduleparam.patch"
- kernel_is ge 3 2 0 && epatch "${FILESDIR}/setnlink.patch"
kernel_is ge 3 2 0 && epatch "${FILESDIR}/fragsize.patch"
}