Gentoo Archives: gentoo-commits

From: "Mike Auty (ikelos)" <ikelos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/open-vm-tools: ChangeLog open-vm-tools-0.0.20071121.64693.ebuild open-vm-tools-0.0.20080414.87182.ebuild
Date: Sat, 26 Apr 2008 14:04:27
Message-Id: E1Jpl0p-0001ml-Ba@stork.gentoo.org
1 ikelos 08/04/26 14:04:23
2
3 Modified: ChangeLog open-vm-tools-0.0.20071121.64693.ebuild
4 Added: open-vm-tools-0.0.20080414.87182.ebuild
5 Log:
6 Version bump, closes bug #215630.
7 (Portage version: 2.1.5_rc6)
8
9 Revision Changes Path
10 1.6 app-emulation/open-vm-tools/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?rev=1.6&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?rev=1.6&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?r1=1.5&r2=1.6
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v
19 retrieving revision 1.5
20 retrieving revision 1.6
21 diff -u -r1.5 -r1.6
22 --- ChangeLog 1 Feb 2008 12:33:36 -0000 1.5
23 +++ ChangeLog 26 Apr 2008 14:04:22 -0000 1.6
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-emulation/open-vm-tools
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.5 2008/02/01 12:33:36 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.6 2008/04/26 14:04:22 ikelos Exp $
29 +
30 +*open-vm-tools-0.0.20080414.87182 (26 Apr 2008)
31 +
32 + 26 Apr 2008; Mike Auty <ikelos@g.o>
33 + +open-vm-tools-0.0.20080414.87182.ebuild:
34 + Version bump.
35
36 01 Feb 2008; Diego Pettenò <flameeyes@g.o> files/open-vm.initd:
37 Update init script to work with current development version of OpenRC
38
39
40
41 1.4 app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693.ebuild?rev=1.4&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693.ebuild?rev=1.4&content-type=text/plain
45 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693.ebuild?r1=1.3&r2=1.4
46
47 Index: open-vm-tools-0.0.20071121.64693.ebuild
48 ===================================================================
49 RCS file: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693.ebuild,v
50 retrieving revision 1.3
51 retrieving revision 1.4
52 diff -u -r1.3 -r1.4
53 --- open-vm-tools-0.0.20071121.64693.ebuild 28 Jan 2008 17:59:29 -0000 1.3
54 +++ open-vm-tools-0.0.20071121.64693.ebuild 26 Apr 2008 14:04:22 -0000 1.4
55 @@ -1,6 +1,6 @@
56 # Copyright 1999-2008 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693.ebuild,v 1.3 2008/01/28 17:59:29 ikelos Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693.ebuild,v 1.4 2008/04/26 14:04:22 ikelos Exp $
60
61 inherit eutils linux-mod versionator
62
63 @@ -67,7 +67,7 @@
64 }
65
66 src_unpack() {
67 - unpack "${A}"
68 + unpack ${A}
69 }
70
71 src_compile() {
72
73
74
75 1.1 app-emulation/open-vm-tools/open-vm-tools-0.0.20080414.87182.ebuild
76
77 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20080414.87182.ebuild?rev=1.1&view=markup
78 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20080414.87182.ebuild?rev=1.1&content-type=text/plain
79
80 Index: open-vm-tools-0.0.20080414.87182.ebuild
81 ===================================================================
82 # Copyright 1999-2008 Gentoo Foundation
83 # Distributed under the terms of the GNU General Public License v2
84 # $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20080414.87182.ebuild,v 1.1 2008/04/26 14:04:22 ikelos Exp $
85
86 inherit pam eutils linux-mod autotools versionator
87
88 MY_DATE="$(get_version_component_range 3)"
89 MY_BUILD="$(get_version_component_range 4)"
90 MY_PV="${MY_DATE:0:4}.${MY_DATE:4:2}.${MY_DATE:6:2}-${MY_BUILD}"
91 MY_P="${PN}-${MY_PV}"
92
93 S="${WORKDIR}/${MY_P}"
94
95 DESCRIPTION="Opensourced tools for VMware guests"
96 HOMEPAGE="http://open-vm-tools.sourceforge.net/"
97 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
98
99 LICENSE="LGPL-2"
100 SLOT="0"
101 KEYWORDS="~x86 ~amd64"
102 IUSE="X xinerama"
103 DEPEND="
104 virtual/linux-sources
105 sys-apps/ethtool
106 X? (
107 x11-libs/libX11
108 x11-libs/gtk+
109 )
110 xinerama? (
111 x11-libs/libXinerama
112 )
113 !app-emulation/vmware-workstation-tools
114 !app-emulation/vmware-server-tools
115 !app-emulation/vmware-esx-tools
116 sys-process/procps
117 dev-libs/libdnet
118 "
119
120 RDEPEND="${DEPEND/virtual\/linux\-sources/}
121 virtual/pam
122 X? (
123 x11-base/xorg-server
124 x11-drivers/xf86-video-vmware
125 x11-drivers/xf86-input-vmmouse
126 )
127 "
128
129 VMWARE_MOD_DIR="modules/linux"
130 VMWARE_MODULE_LIST="vmblock vmhgfs vmsync vmmemctl vmxnet"
131
132 pkg_setup() {
133
134 linux-mod_pkg_setup
135 MODULE_NAMES=""
136 BUILD_TARGETS="auto-build HEADER_DIR=${KERNEL_DIR}/include BUILD_DIR=${KV_OUT_DIR}"
137
138 for mod in ${VMWARE_MODULE_LIST};
139 do
140 if [[ "${mod}" == "vmxnet" ]];
141 then
142 MODTARGET="net"
143 else
144 MODTARGET="openvmtools"
145 fi
146 MODULE_NAMES="${MODULE_NAMES} ${mod}(${MODTARGET}:${S}/${VMWARE_MOD_DIR}/${mod})"
147 done
148
149 ewarn "If you're compiling for a hardened target, please use the hardened"
150 ewarn "toolchain (see bug #200376, comment 18)."
151
152 enewgroup vmware
153
154 }
155
156 src_unpack() {
157 unpack ${A}
158 cd "${S}"
159 # epatch "${FILESDIR}/${PN}-as-needed.patch"
160
161 eautoreconf
162 }
163
164 src_compile() {
165 econf \
166 $(use_with X x) \
167 $(use_enable xinerama multimon) \
168 || die "Error: econf failed!"
169
170 linux-mod_src_compile
171
172 emake || die
173 }
174
175 src_install() {
176
177 linux-mod_src_install
178
179 pamd_mimic_system vmware-guestd auth account
180
181 # Install the various tools
182 cd "${S}"
183 VMWARE_BIN_LIST="hgfsclient xferlogs"
184 VMWARE_SBIN_LIST="guestd checkvm"
185 if use X; then
186 # Fix up the vmware-user tool's name
187 mv vmware-user/vmware-user vmware-user/user
188 mv vmware-user user
189 VMWARE_BIN_LIST="${VMWARE_BIN_LIST} user toolbox"
190 fi
191 for i in ${VMWARE_BIN_LIST}; do
192 newbin ${i}/${i} vmware-${i} || die "Failed installing ${i}"
193 done
194 for i in ${VMWARE_SBIN_LIST}; do
195 newsbin ${i}/${i} vmware-${i} || die "Failed installing ${i}"
196 done
197
198 dolib libguestlib/.libs/libguestlib.{so.0.0.0,a}
199
200 # Deal with the hgfsmounter
201 into /
202 newsbin hgfsmounter/hgfsmounter mount.vmhgfs
203 fperms u+s /sbin/mount.vmhgfs
204 ### FROM THIS POINT ON, into IS SET TO ${ROOT}/ not ${ROOT}/usr !!!
205
206 # Install the /etc/ files
207 exeinto /etc/vmware-tools
208 doexe scripts/linux/*
209 insinto /etc/vmware-tools
210 doins "${FILESDIR}/tools.conf"
211 # Only install this, when X is being used. Else it's useless waste of
212 # ressources when checking continuously for processes that will never appear
213 use X && doins "${FILESDIR}/xautostart.conf"
214 newinitd "${FILESDIR}/open-vm.initd" vmware-tools
215 newconfd "${FILESDIR}/open-vm.confd" vmware-tools
216
217 if use X;
218 then
219 elog "To be able to use the drag'n'drop feature of VMware for file"
220 elog "exchange, you need to do this:"
221 elog " Add 'vmware-tools' to your default runlevel"
222 elog " Add the users which should have access to this function"
223 elog " to the group 'vmware'"
224 fi
225 }
226
227
228
229 --
230 gentoo-commits@l.g.o mailing list