diff options
-rw-r--r-- | app-emulation/open-vm-tools/ChangeLog | 8 | ||||
-rw-r--r-- | app-emulation/open-vm-tools/Manifest | 12 | ||||
-rw-r--r-- | app-emulation/open-vm-tools/metadata.xml | 1 | ||||
-rw-r--r-- | app-emulation/open-vm-tools/open-vm-tools-0.0.20080808.109361.ebuild | 126 |
4 files changed, 141 insertions, 6 deletions
diff --git a/app-emulation/open-vm-tools/ChangeLog b/app-emulation/open-vm-tools/ChangeLog index 024fab0705f9..8113f19014dd 100644 --- a/app-emulation/open-vm-tools/ChangeLog +++ b/app-emulation/open-vm-tools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-emulation/open-vm-tools # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.7 2008/07/28 18:57:03 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.8 2008/08/30 20:04:43 ikelos Exp $ + +*open-vm-tools-0.0.20080808.109361 (30 Aug 2008) + + 30 Aug 2008; Mike Auty <ikelos@gentoo.org> metadata.xml, + +open-vm-tools-0.0.20080808.109361.ebuild: + Version bump, now with unity and 2.6.26 support. 28 Jul 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml: add GLEP 56 USE flag desc from use.local.desc diff --git a/app-emulation/open-vm-tools/Manifest b/app-emulation/open-vm-tools/Manifest index 452e8b963d24..62274112475e 100644 --- a/app-emulation/open-vm-tools/Manifest +++ b/app-emulation/open-vm-tools/Manifest @@ -9,15 +9,17 @@ AUX xautostart.conf 59 RMD160 ca1ea3f1b82caa6e97d94835d88a39a6f153ff7a SHA1 92ba DIST open-vm-tools-2008.01.23-74039.tar.gz 2332290 RMD160 b8a78e28abb63f50b5b9f49ad5ebaa727eee4619 SHA1 9d3fb1c2b71533a6d6ee67ee8bbf21edb26e9d59 SHA256 78754c0ab0cb39aad96d80bd1ade4ac2174c4067625d603e2a6afcce6359cace DIST open-vm-tools-2008.04.14-87182.tar.gz 2430703 RMD160 2003b86f881b8a9b51c61e833b0b7d4aca70e083 SHA1 0394f73975a34699b92ce90822803fdb365abc6f SHA256 34c19a50650e70fbaa3c1d01803cc96fd86dde4d5f1349bf444026a4b1016b07 DIST open-vm-tools-2008.05.15-93241.tar.gz 2462536 RMD160 6482557a2bfd5628093e7d02262c6cb1f072c334 SHA1 58c1861ffdedb205fe58f65b29ad47bf72ded836 SHA256 465657c6c59b88458bb6bf8a5411ab7d1e5aef548e931b4291c8cec1cba55ea3 +DIST open-vm-tools-2008.08.08-109361.tar.gz 2971141 RMD160 4ea0a6aa2edda2bc404c865dc5b58f3a177ae411 SHA1 1c44c3524cd9cbc5870f1c6065b03a6b31859a25 SHA256 b7abff74f87b05cf1d78c5076c1e5c83b37639eed84498834becdfc20e4f798e EBUILD open-vm-tools-0.0.20080123.74039.ebuild 3420 RMD160 50cfa6520b7c38e3438e36ba819c4eba94c84df7 SHA1 ea7f16d65e49a9837e797a4aa25aee4cbfc94d49 SHA256 b303bc1efcf3c1dd8c74f316c42934523992ebdc130a996fe7c35a468d8da3fd EBUILD open-vm-tools-0.0.20080414.87182.ebuild 3590 RMD160 2650240432ce16d71772c98261fd44bc5e196920 SHA1 3081fbfcf454bbe5b9a6ec5975659769fb9927f4 SHA256 beac0ff33c79779e54ebd2ac556c9e8939d0772d0be0a3ff50e677b7bdcfff10 EBUILD open-vm-tools-0.0.20080515.93241.ebuild 3725 RMD160 b7996ef3e6bc4b49aab3528ec18b848c3105d2df SHA1 f08ab357f3173e069b000edbec27ec25baa77f8e SHA256 5834278bf5563a3c976af6170b0c64ba47971536d397f98c07a9e003c8c22758 -MISC ChangeLog 1658 RMD160 14a6f15f4f2b665a4e66d008714c0099aa0e91a3 SHA1 6d1acac6596f13e0374596088d20368331b1b61b SHA256 bf08870d5891b1a245e2dcff78d7ddbae4a1f42a8f5421c6ba869a7dfecbbf17 -MISC metadata.xml 250 RMD160 124685df95af895e6dc1ea19a137f010e5a4cb57 SHA1 ca6eda03c353e8a028926cad92fc8bd52a9eeb91 SHA256 493201f1f9f38434a7a483159c4931cf057a591be5feb2d75f83a9939d60a86c +EBUILD open-vm-tools-0.0.20080808.109361.ebuild 2863 RMD160 8cdb7f00e9c9c16732470bdbb44e091f7098e689 SHA1 df5329b899876cb93ba62c5c8b2a4328d13e260c SHA256 45d5b596b250d343d73bd914562f0e4237713e39d1a6993b72336818994775da +MISC ChangeLog 1864 RMD160 f344bf0d1613d825bfb0079480d1eb4f1ffefb2c SHA1 6c87cf5392289eee889567ed62d57abe69d7d46f SHA256 f28dc4de0efd0e650eaaec5fdd76e1c80d6b785d9a13edc9f3b322415589d411 +MISC metadata.xml 303 RMD160 35e660de6ed310820def91a93593769e32b48190 SHA1 ba4835abb8272ced34e96479c9584d581cb810c0 SHA256 3392aa6a14ba60d46c2253e80e1671cd42a83593de80a552dfaa2419f97e013f -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkiOFoUACgkQoeSe8B0zEfxMOACeK//kk80raUC1hIIZtqeSwTBV -3m8AninPzWAJHrMbemx8vW4JYhdrRtgm -=lTlO +iEYEARECAAYFAki5p+cACgkQu7rWomwgFXq2AACfbpcgz3cmH7gvuD3wWrWt/a7H +0aAAoKNzson6WuYAbkDIMdr3fV1piG3H +=Qy36 -----END PGP SIGNATURE----- diff --git a/app-emulation/open-vm-tools/metadata.xml b/app-emulation/open-vm-tools/metadata.xml index 5df2a8b0c02c..4186fedf6928 100644 --- a/app-emulation/open-vm-tools/metadata.xml +++ b/app-emulation/open-vm-tools/metadata.xml @@ -4,5 +4,6 @@ <herd>vmware</herd> <use> <flag name='icu'>Enable unicode support using <pkg>dev-libs/icu</pkg></flag> + <flag name='unity'>Enable host unity support</flag> </use> </pkgmetadata> diff --git a/app-emulation/open-vm-tools/open-vm-tools-0.0.20080808.109361.ebuild b/app-emulation/open-vm-tools/open-vm-tools-0.0.20080808.109361.ebuild new file mode 100644 index 000000000000..07654fa609bc --- /dev/null +++ b/app-emulation/open-vm-tools/open-vm-tools-0.0.20080808.109361.ebuild @@ -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.20080808.109361.ebuild,v 1.1 2008/08/30 20:04:43 ikelos 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 || 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 + insinto /etc/X11/xinit/xinitrc.d + doins "${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 +} |