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: metadata.xml ChangeLog Manifest open-vm-tools-0.0.20071121.64693.ebuild
Date: Sat, 22 Dec 2007 17:32:23
Message-Id: E1J68Cq-0007ZN-Ft@stork.gentoo.org
1 ikelos 07/12/22 17:32:12
2
3 Added: metadata.xml ChangeLog Manifest
4 open-vm-tools-0.0.20071121.64693.ebuild
5 Log:
6 Initial commit. This should be usable for both ESX server, workstation, player and normal server.
7 (Portage version: 2.1.4_rc10)
8
9 Revision Changes Path
10 1.1 app-emulation/open-vm-tools/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <herd>vmware</herd>
21 </pkgmetadata>
22
23
24
25 1.1 app-emulation/open-vm-tools/ChangeLog
26
27 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?rev=1.1&view=markup
28 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/ChangeLog?rev=1.1&content-type=text/plain
29
30 Index: ChangeLog
31 ===================================================================
32 # ChangeLog for app-emulation/open-vm-tools
33 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
34 # $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/ChangeLog,v 1.1 2007/12/22 17:32:11 ikelos Exp $
35
36 *open-vm-tools-0.0.20071121.64693 (22 Dec 2007)
37
38 22 Dec 2007; Mike Auty <ikelos@g.o> +files/disable-toolbox.patch,
39 +files/open-vm.confd, +files/open-vm.initd, +files/tools.conf,
40 +files/xautostart.conf, +metadata.xml,
41 +open-vm-tools-0.0.20071121.64693.ebuild:
42 Initial commit. This should be usable for both ESX server, workstation,
43 player and normal server.
44
45
46
47
48 1.1 app-emulation/open-vm-tools/Manifest
49
50 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/Manifest?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/Manifest?rev=1.1&content-type=text/plain
52
53 Index: Manifest
54 ===================================================================
55 AUX disable-toolbox.patch 4995 RMD160 dcce189c748f6e718d822a05f3fa96196cc9b7fd SHA1 497b488203c07bdb87332718c83ee412eee9c719 SHA256 337bdc179a32495e12931daf2f9c5438cb0dd08ee1009feb905d7f84c3d8115b
56 MD5 022ffa4cf3d85c2faf8a60e672b6d5a8 files/disable-toolbox.patch 4995
57 RMD160 dcce189c748f6e718d822a05f3fa96196cc9b7fd files/disable-toolbox.patch 4995
58 SHA256 337bdc179a32495e12931daf2f9c5438cb0dd08ee1009feb905d7f84c3d8115b files/disable-toolbox.patch 4995
59 AUX open-vm.confd 88 RMD160 5e398024e72a871f258d73e09f02e37a815443b0 SHA1 56133c21c6d29243ac81a9c1ada61616778f3ce2 SHA256 180a2b6d9d18af319b79b2ca6ebf1020b63e5ebf2f601a63c1a9f9f7d2e0b95c
60 MD5 2570d31a242f40eae8f8f2517536dd5f files/open-vm.confd 88
61 RMD160 5e398024e72a871f258d73e09f02e37a815443b0 files/open-vm.confd 88
62 SHA256 180a2b6d9d18af319b79b2ca6ebf1020b63e5ebf2f601a63c1a9f9f7d2e0b95c files/open-vm.confd 88
63 AUX open-vm.initd 1758 RMD160 49d9bf6d72cce10fc2582e595c4015a827f9f612 SHA1 749727f8fa5dd6f1efb5215c3df4b3024f0a2d75 SHA256 c0a4d69784e833be89908e2a9ef4221da46c13f6a8a8b37e7f4a29a138d35a7d
64 MD5 9cdb35f2ab5382c5404e88990ad4aaf1 files/open-vm.initd 1758
65 RMD160 49d9bf6d72cce10fc2582e595c4015a827f9f612 files/open-vm.initd 1758
66 SHA256 c0a4d69784e833be89908e2a9ef4221da46c13f6a8a8b37e7f4a29a138d35a7d files/open-vm.initd 1758
67 AUX tools.conf 21 RMD160 88b5b8c8e088333e9c00b2e1c3f3572553342e7b SHA1 42a670b887751dbe9317624dd11068390d1780b0 SHA256 05dcb62e54991ca5546066e4d04b50be98fb0cc229168d4d73df8cf8a94c068c
68 MD5 818939e99413089dff7a2ab1a660e439 files/tools.conf 21
69 RMD160 88b5b8c8e088333e9c00b2e1c3f3572553342e7b files/tools.conf 21
70 SHA256 05dcb62e54991ca5546066e4d04b50be98fb0cc229168d4d73df8cf8a94c068c files/tools.conf 21
71 AUX xautostart.conf 59 RMD160 ca1ea3f1b82caa6e97d94835d88a39a6f153ff7a SHA1 92ba86e426fdaa3de1a8aad56db2d2ac358949a1 SHA256 13398e0ffcd7005bc8c92f3cd62865d2601e52fc980a4702fa252bef5c1efcc7
72 MD5 1fc0cea9b2ea2303cd2346843dc08803 files/xautostart.conf 59
73 RMD160 ca1ea3f1b82caa6e97d94835d88a39a6f153ff7a files/xautostart.conf 59
74 SHA256 13398e0ffcd7005bc8c92f3cd62865d2601e52fc980a4702fa252bef5c1efcc7 files/xautostart.conf 59
75 DIST open-vm-tools-2007.11.21-64693.tar.gz 2295022 RMD160 e166040e713f4b7f8fae835862128a7ec3fdca75 SHA1 5b5e8edd726a997e3db0585af010a4be3405cc67 SHA256 b00530bf578b07127880ad3107b2b98873d3e5f74876dd94644bac3883be4431
76 EBUILD open-vm-tools-0.0.20071121.64693.ebuild 3902 RMD160 e2a7c112a94ab05d6f3ee754face4378147e7825 SHA1 249fa0031af743cdedd259db75d76f7acbcc6664 SHA256 b3a89f661545bdc5c431c9e966a80a775b29d7281c0de47aadc73235307e639f
77 MD5 8e04a0840e3f4a40fb374e3a2434b44c open-vm-tools-0.0.20071121.64693.ebuild 3902
78 RMD160 e2a7c112a94ab05d6f3ee754face4378147e7825 open-vm-tools-0.0.20071121.64693.ebuild 3902
79 SHA256 b3a89f661545bdc5c431c9e966a80a775b29d7281c0de47aadc73235307e639f open-vm-tools-0.0.20071121.64693.ebuild 3902
80 MISC ChangeLog 505 RMD160 47e6db3b3c7a0e99adc25e9882bba49f8c08eac0 SHA1 9d51512ba931ef351c34c769d83a6e538ad87616 SHA256 fca9de8027b883397634f49b1c812f409b6cfe855736269c01af7505defd278b
81 MD5 60980e6cea3caed24ba36a76224b5f0f ChangeLog 505
82 RMD160 47e6db3b3c7a0e99adc25e9882bba49f8c08eac0 ChangeLog 505
83 SHA256 fca9de8027b883397634f49b1c812f409b6cfe855736269c01af7505defd278b ChangeLog 505
84 MISC metadata.xml 159 RMD160 fc7f68a382390e5916b0fb43f37a893fad4f9798 SHA1 f46b02a39bcd0165558de67ff4256cfc812418a3 SHA256 8581ae1c90a48f50fa0542c7fb28cb8984baaf12f50fa18f33e467081effb215
85 MD5 7cc95faad4185e8ed375248bc73a17fc metadata.xml 159
86 RMD160 fc7f68a382390e5916b0fb43f37a893fad4f9798 metadata.xml 159
87 SHA256 8581ae1c90a48f50fa0542c7fb28cb8984baaf12f50fa18f33e467081effb215 metadata.xml 159
88 MD5 98190eb2fb503544118ea873c5da3d6a files/digest-open-vm-tools-0.0.20071121.64693 295
89 RMD160 1a5ef15378cf57e458f229751345db28f8c67442 files/digest-open-vm-tools-0.0.20071121.64693 295
90 SHA256 f3e44909e659ccdedad3d828d823b688ab875d846989013a7490c4462bd041d1 files/digest-open-vm-tools-0.0.20071121.64693 295
91
92
93
94 1.1 app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693.ebuild
95
96 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693.ebuild?rev=1.1&view=markup
97 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693.ebuild?rev=1.1&content-type=text/plain
98
99 Index: open-vm-tools-0.0.20071121.64693.ebuild
100 ===================================================================
101 # Copyright 1999-2007 Gentoo Foundation
102 # Distributed under the terms of the GNU General Public License v2
103 # $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools/open-vm-tools-0.0.20071121.64693.ebuild,v 1.1 2007/12/22 17:32:11 ikelos Exp $
104
105 inherit eutils linux-mod versionator
106
107 MY_DATE="$(get_version_component_range 3)"
108 MY_BUILD="$(get_version_component_range 4)"
109 MY_PV="${MY_DATE:0:4}.${MY_DATE:4:2}.${MY_DATE:6:2}-${MY_BUILD}"
110 MY_P="${PN}-${MY_PV}"
111
112 S="${WORKDIR}/${MY_P}"
113
114 DESCRIPTION="Opensourced tools for VMware guests"
115 HOMEPAGE="http://open-vm-tools.sourceforge.net/"
116 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
117
118 LICENSE="GPL-2"
119 SLOT="0"
120 KEYWORDS="~x86 ~amd64"
121 IUSE="pam X xinerama"
122 DEPEND="
123 virtual/linux-sources
124 sys-apps/ethtool
125 X? (
126 x11-libs/libX11
127 x11-libs/gtk+
128 )
129 xinerama? (
130 x11-libs/libXinerama
131 )
132 !app-emulation/vmware-workstation-tools
133 !app-emulation/vmware-server-tools
134 !app-emulation/vmware-esx-tools
135 "
136
137 RDEPEND="${DEPEND/virtual\/linux\-sources/}
138 X? (
139 x11-base/xorg-server
140 x11-drivers/xf86-video-vmware
141 x11-drivers/xf86-input-vmmouse
142 )
143 "
144
145 VMWARE_MOD_DIR="modules/linux"
146 VMWARE_MODULE_LIST="vmblock vmhgfs vmsync vmmemctl vmxnet"
147
148 pkg_setup() {
149
150 linux-mod_pkg_setup
151 MODULE_NAMES=""
152 BUILD_TARGETS="auto-build KERNEL_DIR=${KERNEL_DIR} KBUILD_OUTPUT=${KV_OUT_DIR}"
153
154 for mod in ${VMWARE_MODULE_LIST};
155 do
156 if [[ "${mod}" == "vmxnet" ]];
157 then
158 MODTARGET="net"
159 else
160 MODTARGET="openvmtools"
161 fi
162 MODULE_NAMES="${MODULE_NAMES} ${mod}(${MODTARGET}:${S}/${VMWARE_MOD_DIR}/${mod})"
163 done
164
165 enewgroup vmware
166
167 }
168
169 src_unpack() {
170 unpack "${A}"
171 }
172
173 src_compile() {
174 #if ! use X; then
175 # epatch ${FILESDIR}/disable-toolbox.patch
176 # rm -rf ${S}/toolbox
177 #fi
178
179 econf \
180 $(use_with X x) \
181 $(use_enable xinerama multimon) \
182 || die "Error: econf failed!"
183
184 linux-mod_src_compile
185
186 emake || die
187 }
188
189 src_install() {
190
191 linux-mod_src_install
192
193 if use pam; then
194 LIB="$(get_libdir)"
195 PAMFILE="${D}/etc/pam.d/vmware-guestd"
196 dodir "${ROOT}${LIB}"
197 dodir "${ROOT}etc/pam.d"
198 echo '#%PAM-1.0' > "${PAMFILE}"
199 if [[ -e "${ROOT}${LIB}/security/pam_unix2.so" ]];
200 then
201 PAM_VER=2
202 fi
203
204 echo -e "auth\tsufficient\t${ROOT}${LIB}/security/pam_unix${PAM_VER}.so\tshadow\tnullok" >> "${PAMFILE}"
205 echo -e "auth\trequired\t${ROOT}${LIB}/security/pam_unix_auth.so\tshadow\tnullok" >> "${PAMFILE}"
206 echo -e "account\tsufficient\t${ROOT}${LIB}/security/pam_unix${PAM_VER}.so" >> "${PAMFILE}"
207 echo -e "account\trequired\t${ROOT}${LIB}/security/pam_unix_acct.so" >> "${PAMFILE}"
208
209 fi
210
211 # Install the various tools
212 cd "${S}"
213 VMWARE_BIN_LIST="hgfsclient xferlogs"
214 VMWARE_SBIN_LIST="guestd checkvm"
215 if use X; then
216 # Fix up the vmware-user tool's name
217 mv vmware-user/vmware-user vmware-user/user
218 mv vmware-user user
219 VMWARE_BIN_LIST="${VMWARE_BIN_LIST} user toolbox"
220 fi
221 for i in ${VMWARE_BIN_LIST}; do
222 newbin ${i}/${i} vmware-${i} || die "Failed installing ${i}"
223 done
224 for i in ${VMWARE_SBIN_LIST}; do
225 newsbin ${i}/${i} vmware-${i} || die "Failed installing ${i}"
226 done
227
228 dolib libguestlib/.libs/libguestlib.{so.0.0.0,a}
229
230 # Deal with the hgfsmounter
231 into "${ROOT}"
232 newsbin hgfsmounter/hgfsmounter mount.vmhgfs
233 fperms u+s "${ROOT}sbin/mount.vmhgfs"
234 ### FROM THIS POINT ON, into IS SET TO ${ROOT} not /usr !!!
235
236 # Install the /etc/ files
237 exeinto "${ROOT}etc/vmware-tools"
238 doexe scripts/linux/*
239 insinto "${ROOT}etc/vmware-tools"
240 doins "${FILESDIR}/tools.conf"
241 # Only install this, when X is being used. Else it's useless waste of
242 # ressources when checking continuously for processes that will never appear
243 use X && doins "${FILESDIR}/xautostart.conf"
244 newinitd "${FILESDIR}/open-vm.initd" vmware-tools
245 newconfd "${FILESDIR}/open-vm.confd" vmware-tools
246
247 if use X;
248 then
249 elog "To be able to use the drag'n'drop feature of VMware for file"
250 elog "exchange, you need to do this:"
251 elog " Add 'vmware-tools' to your default runlevel"
252 elog " Add the users which should have access to this function"
253 elog " to the group 'vmware'"
254 fi
255 }
256
257
258
259
260 --
261 gentoo-commits@g.o mailing list