app-emulation/open-vm-tools: Bump to new naming schema

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/vmware@1751 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-12-26 08:29:32 +00:00
parent 3e07006521
commit c3ae0c032b
13 changed files with 564 additions and 473 deletions

View File

@ -1,58 +1,186 @@
# ChangeLog for app-emulation/open-vm-tools
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.29 2009/12/20 14:05:42 vadimk Exp $
*open-vm-tools-0.1.2009.07.22_p179896 (26 Jul 2009)
26 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
-open-vm-tools-0.0.2009.05.22_p167859.ebuild,
+open-vm-tools-0.0.20091015.201664.ebuild,
+open-vm-tools-0.0.20091216.217847.ebuild,
-open-vm-tools-0.1.2009.06.18_p172495.ebuild,
-open-vm-tools-0.1.2009.07.22_p179896.ebuild,
-open-vm-tools-0.1.2009.10.15_p201664.ebuild,
+files/checkvm-pie-safety.patch, +files/open-vm-tools.initd,
+files/tools.conf, +files/xautostart.conf, metadata.xml:
Bump to new naming schema
26 Jul 2009; Mario Fetka <mario.fetka@gmail.com>
+open-vm-tools-0.1.2009.07.22_p179896.ebuild:
Bump
*open-vm-tools-0.0.20091216.217847 (20 Dec 2009)
*open-vm-tools-0.1.2009.06.18_p172495 (08 Jul 2009)
20 Dec 2009; Vadim Kuznetsov <vadimk@gentoo.org>
+open-vm-tools-0.0.20091216.217847.ebuild, files/open-vm-tools.initd:
Version bump. Bug 297603.
Bug 291236. Bug 283654. Thanks to Brandon Holbrook et al.
Bug 294968. Thanks to Vladimir Kulev.
08 Jul 2009; Mario Fetka <mario.fetka@gmail.com>
-open-vm-tools-0.0.2009.06.18_p172495.ebuild,
+open-vm-tools-0.1.2009.06.18_p172495.ebuild:
Bump
10 Nov 2009; Vadim Kuznetsov vadimk@gentoo.org
open-vm-tools-0.0.20091015.201664.ebuild:
Bug 292176.
*open-vm-tools-0.0.2009.06.18_p172495 (08 Jul 2009)
07 Nov 2009; Vadim Kuznetsov vadimk@gentoo.org
open-vm-tools-0.0.20091015.201664.ebuild, +files/checkvm-pie-safety.patch:
Bug 200376. Thanks to Gordon Malm and Anthony Basile.
08 Jul 2009; Mario Fetka <mario.fetka@gmail.com>
+open-vm-tools-0.0.2009.06.18_p172495.ebuild:
Bump
*open-vm-tools-0.0.20091015.201664 (29 Oct 2009)
*open-vm-tools-0.0.2009.05.22_p167859 (12 Jun 2009)
29 Oct 2009; Vadim Kuznetsov vadimk@gentoo.org
+files/default-scripts1.patch, -open-vm-tools-0.0.20090522.167859.ebuild,
-open-vm-tools-0.0.20090618.172495.ebuild,
+open-vm-tools-0.0.20091015.201664.ebuild, -files/wiper-warning-fix.patch:
version bump. ebuild split. see open-vm-tools-kmod.
12 Jun 2009; Mario Fetka <mario.fetka@gmail.com>
+open-vm-tools-0.0.2009.05.22_p167859.ebuild,
-open-vm-tools-2009.05.22_p167859.ebuild,
+files/open-vm-tools-2009.05.22-167859-libproc-1.patch:
correct libproc and DnD build fix
*open-vm-tools-0.0.20090824.187411 (27 Aug 2009)
10 Jun 2009; Mario Fetka <mario.fetka@gmail.com>
open-vm-tools-2009.05.22_p167859.ebuild,
+files/open-vm-tools-build-fix.patch:
fix build
27 Aug 2009; Vadim Kuznetsov vadimk@gentoo.org -files/10-vmware-tools,
-open-vm-tools-0.0.20090121.142982.ebuild,
+open-vm-tools-0.0.20090824.187411.ebuild,
-files/2.6.28.1-api-break.patch,
-open-vm-tools-0.0.20090318.154848.ebuild:
version bump. clean old ebuilds
02 Jun 2009; Mario Fetka <mario.fetka@gmail.com>
23 Aug 2009; Vadim Kuznetsov vadimk@gentoo.org
-open-vm-tools-0.0.20080515.93241.ebuild,
-open-vm-tools-0.0.20080808.109361-r1.ebuild,
-open-vm-tools-0.0.20081223.137496.ebuild:
clean up old ebuilds
*open-vm-tools-0.0.20090722.179896 (24 Jul 2009)
24 Jul 2009; Vadim Kuznetsov vadimk@gentoo.org
+open-vm-tools-0.0.20090722.179896.ebuild:
Version bump.
*open-vm-tools-0.0.20090618.172495-r2 (10 Jul 2009)
10 Jul 2009; Vadim Kuznetsov vadimk@gentoo.org
-open-vm-tools-0.0.20090618.172495-r1.ebuild,
+open-vm-tools-0.0.20090618.172495-r2.ebuild:
re-fixing wmtoolsd plugin path
*open-vm-tools-0.0.20090618.172495-r1 (09 Jul 2009)
09 Jul 2009; Vadim Kuznetsov vadimk@gentoo.org
+open-vm-tools-0.0.20090618.172495-r1.ebuild, metadata.xml:
Fixes bugs 273211, 270433, 260878. Hardcoded procpc, Werror, general
ebuild clean up and missing dependencies. USE flags are added: doc, fuse.
However, vmblock-fuse still needs init script changes.
*open-vm-tools-0.0.20090618.172495 (30 Jun 2009)
30 Jun 2009; Vadim Kuznetsov vadimk@gentoo.org
open-vm-tools-0.0.20090522.167859.ebuild,
+open-vm-tools-0.0.20090618.172495.ebuild:
Version bump. Bug 273887 - missing dev-libs/glib dependency.
08 Jun 2009; Vadim Kuznetsov vadimk@gentoo.org
open-vm-tools-0.0.20090522.167859.ebuild:
with-x is correct.
08 Jun 2009; Vadim Kuznetsov vadimk@gentoo.org
+files/wiper-warning-fix.patch:
add gcc 4.4 patch
Missing patch.
04 Feb 2009; Mike Auty <ikelos@gentoo.org> files/open-vm-tools.desktop:
Add in Type=Application to open-vm-tools.desktop file.
*open-vm-tools-0.0.20090522.167859 (07 Jun 2009)
31 Jan 2009; Mike Auty <ikelos@gentoo.org> -files/10-vmware-tools,
-files/disable-toolbox.patch, +files/open-vm-tools.desktop,
-files/tools.conf, -files/xautostart.conf,
open-vm-tools-0.0.20090121.142982.ebuild:
Update open-vm-tools to use XDG autostart.
07 Jun 2009; Vadim Kuznetsov vadimk@gentoo.org
+open-vm-tools-0.0.20090522.167859.ebuild, +files/open-vm-tools.initd:
Version bump.
*open-vm-tools-0.0.20090121.142982 (30 Jan 2009)
*open-vm-tools-0.0.20090318.154848 (04 Jun 2009)
30 Jan 2009; Mike Auty <ikelos@gentoo.org>
+files/2.6.28.1-api-break.patch,
-open-vm-tools-0.0.20081223.137496.ebuild,
04 Jun 2009; Vadim Kuznetsov vadimk@gentoo.org
+open-vm-tools-0.0.20090318.154848.ebuild:
Version bump. ebuild from overlay.
*open-vm-tools-0.0.20090121.142982 (08 Feb 2009)
08 Feb 2009; Mike Auty <ikelos@gentoo.org>
+files/2.6.28.1-api-break.patch, +files/open-vm-tools.desktop,
+open-vm-tools-0.0.20090121.142982.ebuild:
Update open-vm-tools and add in a patch to fix bug 256678, since they
broke the 2.6.28 api with .1.
Version bump, fixes bug 256678. Thanks to John Plesmid for the testing.
25 Jan 2009; Mike Auty <ikelos@gentoo.org>
open-vm-tools-0.0.20081223.137496.ebuild:
Remove warning about hardened from latest open-vm-tools. Closes bug
200376.
05 Jan 2009; Markus Meier <maekke@gentoo.org> metadata.xml:
drop local icu USE-flag description, as it's global now
*open-vm-tools-0.0.20081223.137496 (31 Dec 2008)
31 Dec 2008; Mike Auty <ikelos@gentoo.org>
-open-vm-tools-0.0.20080123.74039.ebuild,
-open-vm-tools-0.0.20080414.87182.ebuild,
+open-vm-tools-0.0.20081223.137496.ebuild:
Version bump, builds with 2.6.27+ and fixes unity/xinerama issue (bug
249293 and bug 247324).
19 Nov 2008; Mike Auty <ikelos@gentoo.org>
open-vm-tools-0.0.20080808.109361-r1.ebuild:
Alter the hardened warning message.
*open-vm-tools-0.0.20080808.109361-r1 (19 Oct 2008)
19 Oct 2008; Mike Auty <ikelos@gentoo.org>
-open-vm-tools-0.0.20080808.109361.ebuild,
+open-vm-tools-0.0.20080808.109361-r1.ebuild:
Bump to fix bug 231525.
31 Aug 2008; Mike Auty <ikelos@gentoo.org> +files/10-vmware-tools:
Add missing file 10-vmware-tools
*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
*open-vm-tools-0.0.20080414.87182 (26 Apr 2008)
26 Apr 2008; Mike Auty <ikelos@gentoo.org>
+open-vm-tools-0.0.20080414.87182.ebuild:
Version bump.
01 Feb 2008; Diego Pettenò <flameeyes@gentoo.org> files/open-vm.initd:
Update init script to work with current development version of OpenRC
(checkroot -> root; checkfs -> fsck).
31 Jan 2008; Mike Auty <ikelos@gentoo.org> ChangeLog:
Re-sign digestless manifest.
*open-vm-tools-0.0.20080123.74039 (30 Jan 2008)
30 Jan 2008; Mike Auty <ikelos@gentoo.org>
-files/open-vm-tools-kernel_stdint-soren.patch,
-open-vm-tools-0.0.20071121.64693-r1.ebuild,
+open-vm-tools-0.0.20080123.74039.ebuild:
Version bump and remove the broken masked version.
*open-vm-tools-0.0.20071121.64693-r1 (28 Jan 2008)
28 Jan 2008; Mike Auty <ikelos@gentoo.org>
+files/open-vm-tools-kernel_stdint-soren.patch,
+open-vm-tools-0.0.20071121.64693-r1.ebuild:
Fix kernel build issues.
*open-vm-tools-0.0.20071121.64693 (22 Dec 2007)
22 Dec 2007; Mike Auty <ikelos@gentoo.org> +files/disable-toolbox.patch,
+files/open-vm.confd, +files/open-vm.initd, +files/tools.conf,
+files/xautostart.conf, +metadata.xml,
+open-vm-tools-0.0.20071121.64693.ebuild:
Initial commit. This should be usable for both ESX server, workstation,
player and normal server.

View File

@ -1,18 +1,18 @@
AUX checkvm-pie-safety.patch 2043 RMD160 c73a1e3afe0085d26d7814410bc26fb8ea5062e7 SHA1 1b86588a3447b09924751ef38b914912d671f4b5 SHA256 e3e27f36c8ffad08b3ca038d9ebb13c5d1b36e003fb9a7d8eaa265fde802b1e0
AUX default-scripts.patch 3525 RMD160 7c3dfd342be245531493a9cf7a8be2be4c67dc4b SHA1 56ba6ca91262f73732a7d806a9c812aea683c2d2 SHA256 99ad1a202335736c50bbb92432371e522934d1a3347e992158b881cf9f810da6
AUX default-scripts1.patch 4787 RMD160 3186d91d1f6f840bb7fb2e757b802ba05675894b SHA1 5843708e342b8c57f600a6cbd7d0b12f7f14a35b SHA256 3190fe24e2b03e99fa0b7b9f93d413c7b886138c1e964ca7917a45099f29609e
AUX open-vm-tools-2009.05.22-167859-libproc-1.patch 735 RMD160 84fb9eff574b0a3649d81d486f254961023581c9 SHA1 f8bad2ca564256e249d32dac2a8c78c9a377a853 SHA256 8c4dd0efa7405d358b18c7447da34288245206795d0ab9b9b261fae71bb588a2
AUX open-vm-tools-build-fix.patch 836 RMD160 463fd9f2fb2b704fe8d3eab41c211f21ae47818c SHA1 075d14e85e46eabe5a6a1a0a5d318453c323b9e9 SHA256 07d9c7bb228e7d5d1299e5fb5052109218e5d1ad074b4ea8fe2b54f22cc26ed6
AUX open-vm-tools.desktop 127 RMD160 375ec8cd688a5fe0609076798e515c048be81c15 SHA1 6b6adcb93fbcb11e1638d6a80b3828256f880dcf SHA256 7cb78f0d94f1849aa964bc8e9d9a6c49955ba1a9b937174b1c266a9cc8eb4bc3
AUX open-vm-tools.initd 1879 RMD160 bfccf434f969272b5c910b7c8e5b90de223ff410 SHA1 14314bfc1db3ddc724804c14ab9ddbd892948b10 SHA256 a01fe6ac2f2eeaf14808cc54d44b0cbdd3989e5cdc99feb3efb97b3959b6655a
AUX open-vm.confd 88 RMD160 5e398024e72a871f258d73e09f02e37a815443b0 SHA1 56133c21c6d29243ac81a9c1ada61616778f3ce2 SHA256 180a2b6d9d18af319b79b2ca6ebf1020b63e5ebf2f601a63c1a9f9f7d2e0b95c
AUX open-vm.initd 1875 RMD160 9d2cc36fd93e70ae20eecd49b10c4da0e09aad69 SHA1 1702f267d32ca138e0e99d9ed86b4abc32cc3997 SHA256 1799b78836441b389de0b3d92aad80fcf020fe8b57da4f6d6999f86ee87f51bf
AUX tools.conf 21 RMD160 88b5b8c8e088333e9c00b2e1c3f3572553342e7b SHA1 42a670b887751dbe9317624dd11068390d1780b0 SHA256 05dcb62e54991ca5546066e4d04b50be98fb0cc229168d4d73df8cf8a94c068c
AUX wiper-warning-fix.patch 418 RMD160 d3595ca361e1b330e22ec10b33b19813df94ff82 SHA1 ff644d5fa4e5d4e5017ce843cd09ab282e4dcd9a SHA256 3678c0ab683336e645a0c2e1c2167ad6fd094784722b63c6e66c435d685ed712
DIST open-vm-tools-2009.05.22-167859.tar.gz 3417843 RMD160 c8403e0fe1ff32ec356ce997b7e621ee7fe87d22 SHA1 a38e16e8cc6bb3b9d9ce88244aef8332a233b7e4 SHA256 99f3726f86e53abac4efcf70a871e2003d2f245fd83b663ae8ad756322c48a2b
DIST open-vm-tools-2009.06.18-172495.tar.gz 3424675 RMD160 7fceacdc3e2e1857a85fd348625ed906383bb52f SHA1 3f2273e2366dc8bca60a3f84e0933580aa4c066d SHA256 27d529553c9a62172876a9a88289102d77bc6307b6fc10b7a2bc17cbbb54251e
DIST open-vm-tools-2009.07.22-179896.tar.gz 3455624 RMD160 5d6b7bc27cf93061d6fb250db8271c8891699721 SHA1 66aae7773445dc3589420278b0b55bc8a107cb5b SHA256 50eff9fc275b2ceb73cac64cd671ddbd0602337c7190cfda85103c290805a556
AUX xautostart.conf 59 RMD160 ca1ea3f1b82caa6e97d94835d88a39a6f153ff7a SHA1 92ba86e426fdaa3de1a8aad56db2d2ac358949a1 SHA256 13398e0ffcd7005bc8c92f3cd62865d2601e52fc980a4702fa252bef5c1efcc7
DIST open-vm-tools-2009.10.15-201664.tar.gz 3507956 RMD160 14a26a7423c97398afe007902ffd50b90328dd38 SHA1 f678d96dad4107c811f312a8bb1da97127b96ce3 SHA256 2a70d2ed605b898192def775958b596c7c4f26dc02de30165a3325af18e16ff5
EBUILD open-vm-tools-0.0.2009.05.22_p167859.ebuild 2330 RMD160 95591bd7ed4bb5ba9d07fb725d6deceea0c538cd SHA1 3d9fe2096ecf7ae8d2c3148d83b0f656960283f2 SHA256 a3a43bc3d8e93245db6ab7f01e572d2fdf0c898f78b5d284b64ec9a35ac2f7f4
EBUILD open-vm-tools-0.1.2009.06.18_p172495.ebuild 2332 RMD160 6bc13ad30488c390b90bce56faf780f0b1b20920 SHA1 93453fe8ac44dff42933e2eedacd59750aa09c54 SHA256 dba620d4e83212952471715854d0a78cffb0fb8ae4cd4cb09cce672021153ecd
EBUILD open-vm-tools-0.1.2009.07.22_p179896.ebuild 2332 RMD160 6bc13ad30488c390b90bce56faf780f0b1b20920 SHA1 93453fe8ac44dff42933e2eedacd59750aa09c54 SHA256 dba620d4e83212952471715854d0a78cffb0fb8ae4cd4cb09cce672021153ecd
EBUILD open-vm-tools-0.1.2009.10.15_p201664.ebuild 2333 RMD160 82458f5245f7d28fccf314c9e7c5547eba26c705 SHA1 98b0d87fa3d664c8bd9d491a7022fa04c6cbb610 SHA256 f64145b2fb3ddad9881c5d0344a48cf49895e001320cb6fb07ee90204a18ebaf
MISC ChangeLog 1923 RMD160 f395b14e586294dd615c31375a4b8bb0dd39a2fb SHA1 114a02c5077a0ba78f4d84ca88894750ac23a0ce SHA256 3782bca65a1eabac0bfab5a3240634395aad0ec377cd71218b418666a3365835
MISC metadata.xml 273 RMD160 868f3e6ce2b19d6874be333eb73f9320df75605f SHA1 a5fa804bbe72aee73c241218da87736c81ff3815 SHA256 3528eb8ce4ae248c296a08cd9c3d252fbb4421fe5369ec3b5353b3c4f0da025d
DIST open-vm-tools-2009.12.16-217847.tar.gz 3557356 RMD160 ed473e82672178acb2de4c9d8fcd95dd6655735f SHA1 6bf9dc1441415ccad6fcfb1cfccaf75c64d05424 SHA256 55554d22a9733532416e76eaa7ff1bad68f4b695fb75d03dfa3fb6bf32210ace
EBUILD open-vm-tools-0.0.20091015.201664.ebuild 2735 RMD160 a276ca210f22eb2894efb1e906ba358d329e4703 SHA1 0962a2515b0d69258ca3ef0744d936ed5108ab8d SHA256 065746ed7f22c9c911a8eefe5202095888f45929b628e52fed9bd64a876f01fe
EBUILD open-vm-tools-0.0.20091216.217847.ebuild 2833 RMD160 1dbd07be0ea6f371aef0b31c22bb88642893eac5 SHA1 2076c2c888afa4ea514c4234065ac12312153c1b SHA256 d816b78921be8d3b23186e32da7bd09743344b04074c610e4b14fe97daf7612d
MISC ChangeLog 6786 RMD160 479f718ce5fc0d868a4ee69c721f090775d4b0cc SHA1 1d8202ffc1eb41c38f6dbe0efbb1c2fcc74b2579 SHA256 b4b766b282ff78a9a5c2d002a607e221318bbdc203a103c767c504f860adc5b1
MISC metadata.xml 791 RMD160 fdc392df0eb6c2b1ee6bb9cf2b96b87c23c5883d SHA1 1dbba034c610754769c810a38a0adf4c3aded1f6 SHA256 85ee302699fd64bd96f311935e21847e0d5d2c11d0654c1a9eac7ded2a1bf1b2

View File

@ -0,0 +1,67 @@
From: Gordon Malm <gengor@gentoo.org>
Make inline asm PIC-safe (do not clobber ebx).
Thanks and credit to Anthony Basile for all his help and testing.
Reference: http://bugs.gentoo.org/200376
--- a/checkvm/checkvm.c
+++ b/checkvm/checkvm.c
@@ -79,8 +79,16 @@
{
uint32 eax, ebx, ecx, edx;
- __asm__ volatile("inl (%%dx)" :
- "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) :
+ __asm__ volatile(
+#if defined __PIC__ && !vm_x86_64 // %ebx is reserved by the compiler.
+ "movl %%ebx, %3 \n\t"
+ "inl (%%dx) \n\t"
+ "xchgl %%ebx, %3 \n\t" :
+ "=a"(eax), "=c"(ecx), "=d"(edx), "=r"(ebx) :
+#else
+ "inl (%%dx)" :
+ "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) :
+#endif
"0"(BDOOR_MAGIC), "1"(BDOOR_CMD_GETVERSION),
"2"(BDOOR_PORT) : "memory");
version[0] = eax;
@@ -96,8 +104,16 @@
{
uint32 eax, ebx, ecx, edx;
- __asm__ volatile("inl (%%dx)" :
- "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) :
+ __asm__ volatile(
+#if defined __PIC__ && !vm_x86_64 // %ebx is reserved by the compiler.
+ "movl %%ebx, %3 \n\t"
+ "inl (%%dx) \n\t"
+ "xchgl %%ebx, %3 \n\t" :
+ "=a"(eax), "=c"(ecx), "=d"(edx), "=r"(ebx) :
+#else
+ "inl (%%dx)" :
+ "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) :
+#endif
"0"(BDOOR_MAGIC), "1"(BDOOR_CMD_GETHWVERSION),
"2"(BDOOR_PORT) : "memory");
*hwVersion = eax;
@@ -112,8 +128,16 @@
{
uint32 eax, ebx, ecx, edx;
- __asm__ volatile("inl (%%dx)" :
- "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) :
+ __asm__ volatile(
+#if defined __PIC__ && !vm_x86_64 // %ebx is reserved by the compiler.
+ "movl %%ebx, %3 \n\t"
+ "inl (%%dx) \n\t"
+ "xchgl %%ebx, %3 \n\t" :
+ "=a"(eax), "=c"(ecx), "=d"(edx), "=r"(ebx) :
+#else
+ "inl (%%dx)" :
+ "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) :
+#endif
"0"(BDOOR_MAGIC), "1"(BDOOR_CMD_GETSCREENSIZE),
"2"(BDOOR_PORT) : "memory");
*screensize = eax;

View File

@ -0,0 +1,76 @@
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/files/open-vm-tools.initd,v 1.2 2009/12/20 14:05:43 vadimk Exp $
DND_TMPDIR="/tmp/VMwareDnD"
USER_GROUP="root:vmware"
DND_TMPDIR_PERMS="1777"
GUESTD_BIN="/usr/bin/vmtoolsd"
PIDFILE="/var/run/vmtoolsd.pid"
MOUNTPOINT="/proc/fs/vmblock/mountPoint"
depend() {
before checkfs fsck net X
}
start() {
if [ "${VM_DRAG_AND_DROP}" == "yes" ];
then
if ! grep -q -w vmblock /proc/modules;
then
ebegin "Loading vmblock module"
modprobe vmblock
eend $?
sleep 0.25
fi
if [[ ! -d "${DND_TMPDIR}" ]];
then
# einfo "Creating the VM drag and drop directory"
mkdir "${DND_TMPDIR}"
chown "${USER_GROUP}" "${DND_TMPDIR}"
chmod "${DND_TMPDIR_PERMS}" "${DND_TMPDIR}"
fi
# DnD_TMPDIR must exist before vmblock can be mounted
ebegin "Mounting vmblock device"
mount -t vmblock none ${MOUNTPOINT}
eend $?
fi
ebegin "Starting vmtoolsd"
start-stop-daemon --chuid "${USER_GROUP}" --start --quiet --background --make-pidfile --pidfile "${PIDFILE}" --exec ${GUESTD_BIN}
eend $?
}
stop() {
local ret
if [ "${VM_DRAG_AND_DROP}" == "yes" ];
then
ebegin "Cleaning the contents of ${DND_TMPDIR}"
# First check, whether ${DND_TMPDIR} isn valid... we shouldn't risk deleting the content of ""/*
if [[ ! -z "${DND_TMPDIR}" ]] && [[ "${DND_TMPDIR}" != "/" ]];
then
rm -rf ${DND_TMPDIR}/*
ret=0
else
eerror "Not cleaning up ${DND_TMPDIR}, please check definition of variable"
ret=1
fi
eend $ret
ebegin "Unmounting vmblock device"
if grep -q -w "${MOUNTPOINT}" /proc/mounts;
then
umount ${MOUNTPOINT} 1>&2 > /dev/null
fi
eend 0
fi
ebegin "Stopping vmtoolsd"
start-stop-daemon --stop --quiet --pidfile "${PIDFILE}"
eend $?
}

View File

@ -0,0 +1,2 @@
bindir = "/usr/bin"

View File

@ -0,0 +1,7 @@
gnome-panel
ksmserver
startkde
kwrapper
panel
xfce4-panel

View File

@ -1,9 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>vmware</herd>
<use>
<flag name='unity'>Enable host unity support</flag>
<flag name='gtkmm'>Enable gtkmm support</flag>
</use>
<herd>vmware</herd>
<maintainer>
<email>vadimk@gentoo.org</email>
</maintainer>
<longdescription>
The Open Virtual Machine Tools (open-vm-tools) are the open source
implementation of VMware Tools. They are a set of guest operating system
virtualization components that enhance performance and user experience
of virtual machines.
</longdescription>
<use>
<flag name='doc'>Generate API documantation</flag>
<flag name='fuse'>Build vmblock-fuse in favor of FUSE based blocking
mechanism for DnD</flag>
<flag name="pic">Force shared libraries to be build as PIC</flag>
<flag name='unity'>Enable host unity support</flag>
</use>
</pkgmetadata>

View File

@ -1,105 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit pam eutils autotools
MY_PP="${P/0.0./}"
MY_P="${MY_PP/_p/-}"
VMWARE_GROUP="vmware"
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 gtkmm"
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
)
gtkmm? (
dev-cpp/gtkmm
)
!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
app-emulation/open-vm-modules )
"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
use unity && ! use xinerama && \
die 'The Unity USE flag requires USE="xinerama" as well'
enewgroup ${VMWARE_GROUP}
}
src_prepare() {
epatch "${FILESDIR}/default-scripts.patch"
epatch "${FILESDIR}/wiper-warning-fix.patch"
epatch "${FILESDIR}/open-vm-tools-build-fix.patch"
epatch "${FILESDIR}/open-vm-tools-2009.05.22-167859-libproc-1.patch"
eautoreconf
}
src_configure() {
econf \
--without-kernel-modules \
$(use_with icu) \
$(use_with X x) \
$(use_with gtkmm) \
$(use_enable unity) \
$(use_enable xinerama multimon) \
|| die "Error: econf failed!"
}
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/xdg/autostart
doins "${FILESDIR}/open-vm-tools.desktop"
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
}

View File

@ -0,0 +1,108 @@
# Copyright 1999-2009 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.20091015.201664.ebuild,v 1.3 2009/11/10 16:51:16 vadimk Exp $
EAPI="2"
inherit eutils pam 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}"
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="~amd64 ~x86"
IUSE="X doc fuse icu +pic unity xinerama"
RDEPEND="!app-emulation/open-vm-tools-kmod
app-emulation/open-vm-modules
>=dev-libs/glib-2
dev-libs/libdnet
sys-apps/ethtool
sys-process/procps
virtual/pam
X? (
dev-cpp/gtkmm
x11-base/xorg-server
x11-drivers/xf86-input-vmmouse
x11-drivers/xf86-video-vmware
x11-libs/gtk+
x11-libs/libnotify
x11-libs/libX11
x11-libs/libXtst
)
fuse? ( sys-fs/fuse )
icu? ( dev-libs/icu )
unity? (
dev-libs/uriparser
x11-libs/libXScrnSaver
)
xinerama? ( x11-libs/libXinerama )
"
DEPEND="${RDEPEND}
dev-util/pkgconfig
virtual/linux-sources
doc? ( app-doc/doxygen )
"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
use unity && ! use xinerama && die 'The Unity USE flag requires USE="xinerama" as well'
enewgroup vmware
}
src_prepare() {
epatch "${FILESDIR}/default-scripts1.patch"
epatch "${FILESDIR}/checkvm-pie-safety.patch"
sed -i -e 's/proc-3.2.7/proc/g' configure || die "sed configure failed"
sed -i -e 's/CFLAGS=.*Werror/#&/g' configure || die "sed comment out Werror failed"
}
src_configure() {
econf \
--with-procps \
--with-dnet \
--without-kernel-modules \
$(use_with X x) \
$(use_with X gtk2) \
$(use_with X gtkmm) \
$(use_with icu) \
$(use_with pic) \
$(use_enable unity) \
$(use_enable xinerama multimon)
}
src_compile() {
emake || die "failed to compile"
}
src_install() {
emake DESTDIR="${D}" install || die "failed to install"
rm "${D}"/etc/pam.d/vmtoolsd
pamd_mimic_system vmtoolsd auth account
newinitd "${FILESDIR}/open-vm-tools.initd" vmware-tools || die "failed to newinitd"
newconfd "${FILESDIR}/open-vm.confd" vmware-tools || die "failed to newconfd"
if use X;
then
insinto /etc/xdg/autostart
doins "${FILESDIR}/open-vm-tools.desktop" || die "failed to install .desktop"
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
}

View File

@ -0,0 +1,111 @@
# Copyright 1999-2009 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.20091216.217847.ebuild,v 1.1 2009/12/20 14:05:42 vadimk Exp $
EAPI="2"
inherit eutils pam 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}"
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="~amd64 ~x86"
IUSE="X doc fuse icu +pic unity xinerama"
RDEPEND="!app-emulation/open-vm-tools-kmod
app-emulation/open-vm-modules
>=dev-libs/glib-2
dev-libs/libdnet
sys-apps/ethtool
sys-process/procps
virtual/pam
X? (
dev-cpp/gtkmm
x11-base/xorg-server
x11-drivers/xf86-input-vmmouse
x11-drivers/xf86-video-vmware
x11-libs/gtk+
x11-libs/libnotify
x11-libs/libX11
x11-libs/libXtst
)
fuse? ( sys-fs/fuse )
icu? ( dev-libs/icu )
unity? (
dev-libs/uriparser
x11-libs/libXScrnSaver
)
xinerama? ( x11-libs/libXinerama )
"
DEPEND="${RDEPEND}
dev-util/pkgconfig
virtual/linux-sources
doc? ( app-doc/doxygen )
"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
use unity && ! use xinerama && die 'The Unity USE flag requires USE="xinerama" as well'
enewgroup vmware
}
src_prepare() {
epatch "${FILESDIR}/default-scripts1.patch"
epatch "${FILESDIR}/checkvm-pie-safety.patch"
sed -i -e 's/proc-3.2.7/proc/g' configure || die "sed configure failed"
sed -i -e 's/CFLAGS=.*Werror/#&/g' configure || die "sed comment out Werror failed"
}
src_configure() {
econf \
--with-procps \
--with-dnet \
--without-kernel-modules \
$(use_with X x) \
$(use_with X gtk2) \
$(use_with X gtkmm) \
$(use_with icu) \
$(use_with pic) \
$(use_enable unity) \
$(use_enable xinerama multimon)
}
src_compile() {
emake || die "failed to compile"
}
src_install() {
emake DESTDIR="${D}" install || die "failed to install"
rm "${D}"/etc/pam.d/vmtoolsd
pamd_mimic_system vmtoolsd auth account
rm "${D}"/usr/$(get_libdir)/*.la
rm "${D}"/usr/$(get_libdir)/open-vm-tools/plugins/common/*.la
newinitd "${FILESDIR}/open-vm-tools.initd" vmware-tools || die "failed to newinitd"
newconfd "${FILESDIR}/open-vm.confd" vmware-tools || die "failed to newconfd"
if use X;
then
insinto /etc/xdg/autostart
doins "${FILESDIR}/open-vm-tools.desktop" || die "failed to install .desktop"
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
}

View File

@ -1,105 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit pam eutils autotools
MY_PP="${P/0.1./}"
MY_P="${MY_PP/_p/-}"
VMWARE_GROUP="vmware"
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 gtkmm"
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
)
gtkmm? (
dev-cpp/gtkmm
)
!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
app-emulation/open-vm-modules )
"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
use unity && ! use xinerama && \
die 'The Unity USE flag requires USE="xinerama" as well'
enewgroup ${VMWARE_GROUP}
}
src_prepare() {
epatch "${FILESDIR}/default-scripts.patch"
# epatch "${FILESDIR}/wiper-warning-fix.patch"
# epatch "${FILESDIR}/open-vm-tools-build-fix.patch"
epatch "${FILESDIR}/open-vm-tools-2009.05.22-167859-libproc-1.patch"
eautoreconf
}
src_configure() {
econf \
--without-kernel-modules \
$(use_with icu) \
$(use_with X x) \
$(use_with gtkmm) \
$(use_enable unity) \
$(use_enable xinerama multimon) \
|| die "Error: econf failed!"
}
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/xdg/autostart
doins "${FILESDIR}/open-vm-tools.desktop"
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
}

View File

@ -1,105 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit pam eutils autotools
MY_PP="${P/0.1./}"
MY_P="${MY_PP/_p/-}"
VMWARE_GROUP="vmware"
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 gtkmm"
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
)
gtkmm? (
dev-cpp/gtkmm
)
!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
app-emulation/open-vm-modules )
"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
use unity && ! use xinerama && \
die 'The Unity USE flag requires USE="xinerama" as well'
enewgroup ${VMWARE_GROUP}
}
src_prepare() {
epatch "${FILESDIR}/default-scripts.patch"
# epatch "${FILESDIR}/wiper-warning-fix.patch"
# epatch "${FILESDIR}/open-vm-tools-build-fix.patch"
epatch "${FILESDIR}/open-vm-tools-2009.05.22-167859-libproc-1.patch"
eautoreconf
}
src_configure() {
econf \
--without-kernel-modules \
$(use_with icu) \
$(use_with X x) \
$(use_with gtkmm) \
$(use_enable unity) \
$(use_enable xinerama multimon) \
|| die "Error: econf failed!"
}
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/xdg/autostart
doins "${FILESDIR}/open-vm-tools.desktop"
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
}

View File

@ -1,105 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit pam eutils autotools
MY_PP="${P/0.1./}"
MY_P="${MY_PP/_p/-}"
VMWARE_GROUP="vmware"
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 gtkmm"
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
)
gtkmm? (
dev-cpp/gtkmm
)
!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
app-emulation/open-vm-modules )
"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
use unity && ! use xinerama && \
die 'The Unity USE flag requires USE="xinerama" as well'
enewgroup ${VMWARE_GROUP}
}
src_prepare() {
epatch "${FILESDIR}/default-scripts1.patch"
# epatch "${FILESDIR}/wiper-warning-fix.patch"
# epatch "${FILESDIR}/open-vm-tools-build-fix.patch"
epatch "${FILESDIR}/open-vm-tools-2009.05.22-167859-libproc-1.patch"
eautoreconf
}
src_configure() {
econf \
--without-kernel-modules \
$(use_with icu) \
$(use_with X x) \
$(use_with gtkmm) \
$(use_enable unity) \
$(use_enable xinerama multimon) \
|| die "Error: econf failed!"
}
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/xdg/autostart
doins "${FILESDIR}/open-vm-tools.desktop"
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
}