[or-cvs] r17267: {incognito} open-vm-tools-0.0.20080701.102166 (in incognito/branches/hardened/portage.overlay/app-emulation/open-vm-tools: . files)

anonym at seul.org anonym at seul.org
Fri Nov 14 01:21:21 UTC 2008


Author: anonym
Date: 2008-11-13 20:21:20 -0500 (Thu, 13 Nov 2008)
New Revision: 17267

Added:
   incognito/branches/hardened/portage.overlay/app-emulation/open-vm-tools/files/10-vmware-tools
   incognito/branches/hardened/portage.overlay/app-emulation/open-vm-tools/open-vm-tools-0.0.20081010.123053.ebuild
Removed:
   incognito/branches/hardened/portage.overlay/app-emulation/open-vm-tools/files/makefile-destdir.patch
   incognito/branches/hardened/portage.overlay/app-emulation/open-vm-tools/open-vm-tools-0.0.20080701.102166.ebuild
Modified:
   incognito/branches/hardened/portage.overlay/app-emulation/open-vm-tools/Manifest
Log:
open-vm-tools-0.0.20080701.102166


Modified: incognito/branches/hardened/portage.overlay/app-emulation/open-vm-tools/Manifest
===================================================================
--- incognito/branches/hardened/portage.overlay/app-emulation/open-vm-tools/Manifest	2008-11-13 00:39:46 UTC (rev 17266)
+++ incognito/branches/hardened/portage.overlay/app-emulation/open-vm-tools/Manifest	2008-11-14 01:21:20 UTC (rev 17267)
@@ -1,6 +1,6 @@
+AUX 10-vmware-tools 114 RMD160 381423877ec3368af89bd1860c9ab2237c00ea22 SHA1 0ae176a10bd65358a3c7e449e49bced4375ea9ca SHA256 0c0d8c2bdea3f8fee3f061bc5a2dbfbed33167afa9202767a54192c69f186702
 AUX default-scripts.patch 3525 RMD160 7c3dfd342be245531493a9cf7a8be2be4c67dc4b SHA1 56ba6ca91262f73732a7d806a9c812aea683c2d2 SHA256 99ad1a202335736c50bbb92432371e522934d1a3347e992158b881cf9f810da6
-AUX makefile-destdir.patch 3108 RMD160 e2acae9a7a1eee8b900dea64ffe32da84bfb9cdc SHA1 77663372717e06c0e9e4bd47e02401d76298a298 SHA256 0be2f3ac56c6abee208c771a29f97c6cbc78e8cef128f2ac3a60cf471a6efff2
 AUX open-vm.confd 88 RMD160 5e398024e72a871f258d73e09f02e37a815443b0 SHA1 56133c21c6d29243ac81a9c1ada61616778f3ce2 SHA256 180a2b6d9d18af319b79b2ca6ebf1020b63e5ebf2f601a63c1a9f9f7d2e0b95c
 AUX open-vm.initd 1875 RMD160 9d2cc36fd93e70ae20eecd49b10c4da0e09aad69 SHA1 1702f267d32ca138e0e99d9ed86b4abc32cc3997 SHA256 1799b78836441b389de0b3d92aad80fcf020fe8b57da4f6d6999f86ee87f51bf
-DIST open-vm-tools-2008.07.01-102166.tar.gz 2558112 RMD160 7324a0f7f4f99ee23547bf51aaba316c79ceee55 SHA1 311de7dcc6bf50f017a399180b884150c21a6f32 SHA256 51293ff716bff35ecd03e8747280280be0a748e9fc5ec7c2d02d936b0c86d1c5
-EBUILD open-vm-tools-0.0.20080701.102166.ebuild 2736 RMD160 e42e26dc488ea5f10cae0060d8e3794eb2bdb756 SHA1 9d7def608021f3b15882a787128a2e6cfe81c029 SHA256 7432e9db61a3bc5c01669676d34c84846531935ce6ee3933f4c02689117019ea
+DIST open-vm-tools-2008.10.10-123053.tar.gz 3186908 RMD160 770cb2ccfca24814cbd04fe3b1d076fdd7e23f1e SHA1 c2f3faa67ca40d4b307df5d87659fa898bcb09e7 SHA256 c67e247d85664747363d830d0d893251f0b9978076ac9ac1a364d6cc5aeecc91
+EBUILD open-vm-tools-0.0.20081010.123053.ebuild 2900 RMD160 e1e80326ca1a6f7d003f5bb60132d67073b9673b SHA1 b405283bd634502996427e7b18219e3ea4bedec7 SHA256 577ba06fa64e6ec12ca9db51e1ccc3169ec171dd6f0fbf679f4282bac9ea4442

Added: incognito/branches/hardened/portage.overlay/app-emulation/open-vm-tools/files/10-vmware-tools
===================================================================
--- incognito/branches/hardened/portage.overlay/app-emulation/open-vm-tools/files/10-vmware-tools	                        (rev 0)
+++ incognito/branches/hardened/portage.overlay/app-emulation/open-vm-tools/files/10-vmware-tools	2008-11-14 01:21:20 UTC (rev 17267)
@@ -0,0 +1,5 @@
+#!/bin/sh
+# launches the open-vm-tool user daemon
+
+/etc/init.d/vmware-tools --quiet status && \
+    vmware-user &

Deleted: incognito/branches/hardened/portage.overlay/app-emulation/open-vm-tools/files/makefile-destdir.patch
===================================================================
--- incognito/branches/hardened/portage.overlay/app-emulation/open-vm-tools/files/makefile-destdir.patch	2008-11-13 00:39:46 UTC (rev 17266)
+++ incognito/branches/hardened/portage.overlay/app-emulation/open-vm-tools/files/makefile-destdir.patch	2008-11-14 01:21:20 UTC (rev 17267)
@@ -1,82 +0,0 @@
-diff --git a/guestd/Makefile.am b/guestd/Makefile.am
-index 68e55bb..c027edb 100644
---- a/guestd/Makefile.am
-+++ b/guestd/Makefile.am
-@@ -96,8 +96,8 @@ endif PAMD
- endif LINUX
- 
- install-exec-hook:
--	$(INSTALL) -d /etc/vmware-tools
--	echo 'disable-tools-version = "true"' > /etc/vmware-tools/tools.conf
-+	$(INSTALL) -d $(DESTDIR)/etc/vmware-tools
-+	echo 'disable-tools-version = "true"' > $(DESTDIR)/etc/vmware-tools/tools.conf
- 
- uninstall-hook:
--	$(RM) -rf /etc/vmware-tools
-+	$(RM) -rf $(DESTDIR)/etc/vmware-tools
-diff --git a/hgfsmounter/Makefile.am b/hgfsmounter/Makefile.am
-index 83dc90a..0202d5d 100644
---- a/hgfsmounter/Makefile.am
-+++ b/hgfsmounter/Makefile.am
-@@ -30,13 +30,13 @@ mount_vmhgfs_SOURCES += stub-user-util.c
- 
- if FREEBSD
- install-exec-hook:
--	$(MV) $(sbindir)/mount.vmhgfs $(sbindir)/mount_vmhgfs
--	chown root $(sbindir)/mount_vmhgfs
--	chmod u+s $(sbindir)/mount_vmhgfs
-+	$(MV) $(DESTDIR)$(sbindir)/mount.vmhgfs $(DESTDIR)$(sbindir)/mount_vmhgfs
-+	chown root $(DESTDIR)$(sbindir)/mount_vmhgfs
-+	chmod u+s $(DESTDIR)$(sbindir)/mount_vmhgfs
- uninstall-hook:
--	$(RM) -f $(sbindir)/mount_vmhgfs
-+	$(RM) -f $(DESTDIR)$(sbindir)/mount_vmhgfs
- else
- install-exec-hook:
--	chown root $(sbindir)/mount.vmhgfs
--	chmod u+s $(sbindir)/mount.vmhgfs
-+	chown root $(DESTDIR)$(sbindir)/mount.vmhgfs
-+	chmod u+s $(DESTDIR)$(sbindir)/mount.vmhgfs
- endif !FREEBSD
-diff --git a/toolbox/Makefile.am b/toolbox/Makefile.am
-index 18508ec..544e9c7 100644
---- a/toolbox/Makefile.am
-+++ b/toolbox/Makefile.am
-@@ -62,14 +62,14 @@ vmware_toolbox_SOURCES += toolboxScripts.c
- vmware_toolbox_SOURCES += toolboxShrink.c
- 
- install-exec-hook:
--	$(INSTALL) -d $(datadir)/applications/
-+	$(INSTALL) -d $(DESTDIR)$(datadir)/applications/
- 	$(INSTALL) -m 644 ../scripts/common/vmware-toolbox.desktop \
--		$(datadir)/applications/
-+		$(DESTDIR)$(datadir)/applications/
- 	$(SED) -i s/Exec=.*/Exec=vmware-toolbox/ \
--		$(datadir)/applications/vmware-toolbox.desktop
--	$(INSTALL) -d /usr/share/pixmaps/vmware
-+		$(DESTDIR)$(datadir)/applications/vmware-toolbox.desktop
-+	$(INSTALL) -d $(DESTDIR)/usr/share/pixmaps/vmware
- 	$(INSTALL) -m 644 bigIcon.xpm \
--		/usr/share/pixmaps/vmware/vmware-toolbox.xpm
-+		$(DESTDIR)/usr/share/pixmaps/vmware/vmware-toolbox.xpm
- uninstall-hook:
--	-$(RM) -f $(datadir)/share/applications/vmware-toolbox.desktop
--	-$(RM) -rf /usr/share/pixmaps/vmware
-+	-$(RM) -f $(DESTDIR)$(datadir)/share/applications/vmware-toolbox.desktop
-+	-$(RM) -rf $(DESTDIR)/usr/share/pixmaps/vmware
-diff --git a/vmware-user/Makefile.am b/vmware-user/Makefile.am
-index 0f64cc9..4a7133e 100644
---- a/vmware-user/Makefile.am
-+++ b/vmware-user/Makefile.am
-@@ -89,8 +89,8 @@ vmware_user_SOURCES += pointer.c
- vmware_user_SOURCES += vmware-user.c
- 
- install-exec-hook:
--	$(INSTALL) -d $(datadir)/applications/
-+	$(INSTALL) -d $(DESTDIR)$(datadir)/applications/
- 	$(INSTALL) -m 644 ../scripts/common/vmware-user.desktop \
--		$(datadir)/applications/
-+		$(DESTDIR)$(datadir)/applications/
- uninstall-hook:
--	-$(RM) -f $(datadir)/applications/vmware-user.desktop
-+	-$(RM) -f $(DESTDIR)$(datadir)/applications/vmware-user.desktop

Deleted: incognito/branches/hardened/portage.overlay/app-emulation/open-vm-tools/open-vm-tools-0.0.20080701.102166.ebuild
===================================================================
--- incognito/branches/hardened/portage.overlay/app-emulation/open-vm-tools/open-vm-tools-0.0.20080701.102166.ebuild	2008-11-13 00:39:46 UTC (rev 17266)
+++ incognito/branches/hardened/portage.overlay/app-emulation/open-vm-tools/open-vm-tools-0.0.20080701.102166.ebuild	2008-11-14 01:21:20 UTC (rev 17267)
@@ -1,117 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693.ebuild,v 1.2 2007/12/22 23:05:54 mr_bones_ Exp $
-
-inherit pam eutils linux-mod autotools versionator
-
-MY_DATE="$(get_version_component_range 3)"
-MY_BUILD="$(get_version_component_range 4)"
-MY_PV="${MY_DATE:0:4}.${MY_DATE:4:2}.${MY_DATE:6:2}-${MY_BUILD}"
-MY_P="${PN}-${MY_PV}"
-
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="Opensourced tools for VMware guests"
-HOMEPAGE="http://open-vm-tools.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE="X xinerama icu"
-DEPEND="
-		virtual/linux-sources
-		sys-apps/ethtool
-		X? (
-			x11-libs/libX11
-			x11-libs/gtk+
-			)
-		xinerama? (
-			x11-libs/libXinerama
-			)
-		!app-emulation/vmware-workstation-tools
-		!app-emulation/vmware-server-tools
-		!app-emulation/vmware-esx-tools
-		sys-process/procps
-		dev-libs/libdnet
-		icu? ( dev-libs/icu )
-		"
-
-RDEPEND="${DEPEND/virtual\/linux\-sources/}
-		 virtual/pam
-		 X? (
-			x11-base/xorg-server
-			x11-drivers/xf86-video-vmware
-			x11-drivers/xf86-input-vmmouse
-		 )
-"
-
-VMWARE_MOD_DIR="modules/linux"
-VMWARE_MODULE_LIST="vmblock vmhgfs vmsync vmmemctl vmxnet"
-
-pkg_setup() {
-
-	linux-mod_pkg_setup
-	MODULE_NAMES=""
-	BUILD_TARGETS="auto-build HEADER_DIR=${KERNEL_DIR}/include BUILD_DIR=${KV_OUT_DIR}"
-
-	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
-
-	ewarn "If you're compiling for a hardened target, please use the hardened"
-	ewarn "toolchain (see bug #200376, comment 18)."
-
-	enewgroup vmware
-
-}
-
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
-	epatch "${FILESDIR}/default-scripts.patch"
-	epatch "${FILESDIR}/makefile-destdir.patch"
-
-	eautoreconf
-}
-
-src_compile() {
-	econf \
-	--without-kernel-modules \
-	$(use_with icu) \
-	$(use_with X x) \
-	$(use_enable xinerama multimon) \
-	|| die "Error: econf failed!"
-
-	linux-mod_src_compile
-
-	emake CFLAGS="${CFLAGS/-fPIE/} -fno-PIE" || die
-}
-
-src_install() {
-
-	linux-mod_src_install
-
-	pamd_mimic_system vmware-guestd auth account
-
-	emake install DESTDIR=${D} || die "Failed to install"
-
-	newinitd "${FILESDIR}/open-vm.initd" vmware-tools
-	newconfd "${FILESDIR}/open-vm.confd" vmware-tools
-
-	if use X;
-	then
-		elog "To be able to use the drag'n'drop feature of VMware for file"
-		elog "exchange, you need to do this:"
-		elog "	Add 'vmware-tools' to your default runlevel"
-		elog "	Add the users which should have access to this function"
-		elog "	to the group 'vmware'"
-	fi
-}

Added: incognito/branches/hardened/portage.overlay/app-emulation/open-vm-tools/open-vm-tools-0.0.20081010.123053.ebuild
===================================================================
--- incognito/branches/hardened/portage.overlay/app-emulation/open-vm-tools/open-vm-tools-0.0.20081010.123053.ebuild	                        (rev 0)
+++ incognito/branches/hardened/portage.overlay/app-emulation/open-vm-tools/open-vm-tools-0.0.20081010.123053.ebuild	2008-11-14 01:21:20 UTC (rev 17267)
@@ -0,0 +1,126 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693.ebuild,v 1.2 2007/12/22 23:05:54 mr_bones_ Exp $
+
+inherit pam eutils linux-mod versionator
+
+MY_DATE="$(get_version_component_range 3)"
+MY_BUILD="$(get_version_component_range 4)"
+MY_PV="${MY_DATE:0:4}.${MY_DATE:4:2}.${MY_DATE:6:2}-${MY_BUILD}"
+MY_P="${PN}-${MY_PV}"
+
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="Opensourced tools for VMware guests"
+HOMEPAGE="http://open-vm-tools.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="X xinerama icu unity"
+DEPEND="
+		virtual/linux-sources
+		sys-apps/ethtool
+		X? (
+			x11-libs/libX11
+			x11-libs/gtk+
+			)
+		unity? (
+			x11-libs/libXScrnSaver
+			dev-libs/uriparser
+		)
+		xinerama? (
+			x11-libs/libXinerama
+			)
+		!app-emulation/vmware-workstation-tools
+		!app-emulation/vmware-server-tools
+		!app-emulation/vmware-esx-tools
+		sys-process/procps
+		dev-libs/libdnet
+		icu? ( dev-libs/icu )
+		"
+
+RDEPEND="${DEPEND/virtual\/linux\-sources/}
+		 virtual/pam
+		 X? (
+			x11-base/xorg-server
+			x11-drivers/xf86-video-vmware
+			x11-drivers/xf86-input-vmmouse
+		 )
+		 unity? (
+			x11-libs/libXScrnSaver
+			dev-libs/uriparser
+		 )
+"
+
+VMWARE_MOD_DIR="modules/linux"
+VMWARE_MODULE_LIST="vmblock vmhgfs vmsync vmmemctl vmxnet"
+
+pkg_setup() {
+
+	linux-mod_pkg_setup
+	MODULE_NAMES=""
+	BUILD_TARGETS="auto-build HEADER_DIR=${KERNEL_DIR}/include BUILD_DIR=${KV_OUT_DIR}"
+
+	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
+
+	ewarn "If you're compiling for a hardened target, please use the hardened"
+	ewarn "toolchain (see bug #200376, comment 18)."
+
+	enewgroup vmware
+
+}
+
+src_unpack() {
+	unpack ${A}
+	cd "${S}"
+	epatch "${FILESDIR}/default-scripts.patch"
+}
+
+src_compile() {
+	econf \
+	--without-kernel-modules \
+	$(use_with icu) \
+	$(use_with X x) \
+	$(use_enable unity) \
+	$(use_enable xinerama multimon) \
+	|| die "Error: econf failed!"
+
+	linux-mod_src_compile
+
+	emake CFLAGS="${CFLAGS/-fPIE/} -fno-PIE" || die
+}
+
+src_install() {
+
+	linux-mod_src_install
+
+	pamd_mimic_system vmware-guestd auth account
+
+	emake install DESTDIR="${D}" || die "Failed to install"
+
+	newinitd "${FILESDIR}/open-vm.initd" vmware-tools
+	newconfd "${FILESDIR}/open-vm.confd" vmware-tools
+
+	if use X;
+	then
+		exeinto /etc/X11/xinit/xinitrc.d
+		doexe "${FILESDIR}/10-vmware-tools"
+
+		elog "To be able to use the drag'n'drop feature of VMware for file"
+		elog "exchange, you need to do this:"
+		elog "	Add 'vmware-tools' to your default runlevel"
+		elog "	Add the users which should have access to this function"
+		elog "	to the group 'vmware'"
+	fi
+}



More information about the tor-commits mailing list