1 |
commit: 98eb5bccd994c2fc299702efb0e61bc3fc145362 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 15 21:21:05 2019 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 15 21:21:05 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98eb5bcc |
7 |
|
8 |
app-emulation/open-vm-tools: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.59_p2, Repoman-2.3.12_p67 |
11 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
12 |
|
13 |
app-emulation/open-vm-tools/Manifest | 3 - |
14 |
app-emulation/open-vm-tools/metadata.xml | 4 - |
15 |
.../open-vm-tools/open-vm-tools-10.1.10.ebuild | 152 ------------------- |
16 |
.../open-vm-tools/open-vm-tools-10.1.15.ebuild | 156 -------------------- |
17 |
.../open-vm-tools/open-vm-tools-10.2.5.ebuild | 163 --------------------- |
18 |
5 files changed, 478 deletions(-) |
19 |
|
20 |
diff --git a/app-emulation/open-vm-tools/Manifest b/app-emulation/open-vm-tools/Manifest |
21 |
index 5da3cfa869b..df97d993c4a 100644 |
22 |
--- a/app-emulation/open-vm-tools/Manifest |
23 |
+++ b/app-emulation/open-vm-tools/Manifest |
24 |
@@ -1,4 +1 @@ |
25 |
-DIST open-vm-tools-10.1.10-6082533.tar.gz 5111726 BLAKE2B 22e2e901c542ae14b7537bc26ff848359f30bde6824a16968b70070dd6e57c92fbf76dca0d02e35ef45bda257725e207632b0602a4336bd2d9c97d10fb094967 SHA512 60c52a24509cb0630f2ad649fe6717fefff624fc2a5c736ced35cbdb8f639264d482e063e8140eedb39216adfb1231d58232bfef0233ebc477ba4f9a732c5965 |
26 |
-DIST open-vm-tools-10.1.15-6677369.tar.gz 5153995 BLAKE2B 03c6b359df8f42f1ba65331dcac67e8ce86b0fce9a572c1665d3f385cae14f1757611d3948d30bb5b2e40bb2b4673bb244c45f56098faf09d6de515bb937ea3f SHA512 fe3699a7f704bdadc4c274c963d177f4700067e7436074554b7cf113ffa341ad0e4753016214f947418fd5a7cb4a6f2c0342acf074b6b414b3fd18fd2ea2bc58 |
27 |
-DIST open-vm-tools-10.2.5-8068406.tar.gz 4818035 BLAKE2B 87e3edc42afceaf9efe69ae8cbd1abfbbf959fe09a721dbe4737ca30c6b57dcf1d8bff23bb3ed3d2236c31e7f3e6fd4d10a689b40b3b725eb580609a68bb7090 SHA512 da2f26b4b22e195af111cc16d5819aeb963f0dfa18b5d2677d897549836ec8679808315646f7f86ae36862df9e623bbcb5d553dae97a68b3ef928a5c07ea2e68 |
28 |
DIST open-vm-tools-10.3.5-10430147.tar.gz 4623854 BLAKE2B a2bc0ed099cd713820aea17f01131fb4ffcdefedc04b2edb217b4a96c6c9a4007f8ecc80c40445580abffaf3fb0f67be3ca9f3df7a55d368109a53da91e0db77 SHA512 2f2b3d9a8d39b01904cf845936b51a468ba61a29ca64635f842451ca9fd90bf5a770967e4c332319327c6f920ac4fb06d304e185c18ab8898aeb4fcd491a4a1f |
29 |
|
30 |
diff --git a/app-emulation/open-vm-tools/metadata.xml b/app-emulation/open-vm-tools/metadata.xml |
31 |
index 9e8e61bb812..fffabeca19b 100644 |
32 |
--- a/app-emulation/open-vm-tools/metadata.xml |
33 |
+++ b/app-emulation/open-vm-tools/metadata.xml |
34 |
@@ -16,7 +16,6 @@ |
35 |
of virtual machines. |
36 |
</longdescription> |
37 |
<use> |
38 |
- <flag name="caf">Build Common Agent Framework</flag> |
39 |
<flag name="deploypkg">Build deploypkg plugin</flag> |
40 |
<flag name="dnet">Enable support for nicinfo</flag> |
41 |
<flag name="doc">Generate API documentation</flag> |
42 |
@@ -24,11 +23,8 @@ |
43 |
<flag name="grabbitmqproxy">Build grabbitmqproxy plugin</flag> |
44 |
<flag name="gtkmm">Compile with Gtkmm and sigc++ (Recommended)</flag> |
45 |
<flag name="multimon">Enable multimon (Requires X)</flag> |
46 |
- <flag name="pic">Force shared libraries to be built as PIC</flag> |
47 |
<flag name="resolutionkms">Build the linux/unix resolutionkms module</flag> |
48 |
<flag name="vgauth">Build vgauth</flag> |
49 |
- <flag name="xml-security-c">Build vgauth with xml-security-c instead of xmlsec1</flag> |
50 |
- <flag name="xmlsec">Build vgauth with xmlsec1 instead of xml-security-c</flag> |
51 |
</use> |
52 |
<upstream> |
53 |
<remote-id type="github">vmware/open-vm-tools</remote-id> |
54 |
|
55 |
diff --git a/app-emulation/open-vm-tools/open-vm-tools-10.1.10.ebuild b/app-emulation/open-vm-tools/open-vm-tools-10.1.10.ebuild |
56 |
deleted file mode 100644 |
57 |
index 5ba66d7b94f..00000000000 |
58 |
--- a/app-emulation/open-vm-tools/open-vm-tools-10.1.10.ebuild |
59 |
+++ /dev/null |
60 |
@@ -1,152 +0,0 @@ |
61 |
-# Copyright 1999-2017 Gentoo Foundation |
62 |
-# Distributed under the terms of the GNU General Public License v2 |
63 |
- |
64 |
-EAPI=6 |
65 |
-MODULES_OPTIONAL_USE="modules" |
66 |
- |
67 |
-inherit autotools linux-mod pam systemd toolchain-funcs user |
68 |
- |
69 |
-DESCRIPTION="Opensourced tools for VMware guests" |
70 |
-HOMEPAGE="https://github.com/vmware/open-vm-tools" |
71 |
-MY_P="${P}-6082533" |
72 |
-SRC_URI="https://github.com/vmware/open-vm-tools/releases/download/stable-${PV}/${MY_P}.tar.gz" |
73 |
- |
74 |
-LICENSE="LGPL-2" |
75 |
-SLOT="0" |
76 |
-KEYWORDS="~amd64 ~x86" |
77 |
-IUSE="X doc grabbitmqproxy icu pam +pic vgauth xinerama" |
78 |
- |
79 |
-COMMON_DEPEND=" |
80 |
- dev-libs/glib:2 |
81 |
- dev-libs/libdnet |
82 |
- sys-fs/fuse:0 |
83 |
- >=sys-process/procps-3.3.2 |
84 |
- grabbitmqproxy? ( dev-libs/openssl:0 ) |
85 |
- icu? ( dev-libs/icu:= ) |
86 |
- pam? ( virtual/pam ) |
87 |
- vgauth? ( |
88 |
- dev-libs/openssl:0 |
89 |
- dev-libs/xerces-c |
90 |
- dev-libs/xml-security-c |
91 |
- ) |
92 |
- X? ( |
93 |
- dev-cpp/gtkmm:3.0 |
94 |
- x11-libs/gtk+:3 |
95 |
- x11-libs/libICE |
96 |
- x11-libs/libSM |
97 |
- x11-libs/libX11 |
98 |
- x11-libs/libXcomposite |
99 |
- x11-libs/libXext |
100 |
- x11-libs/libXi |
101 |
- x11-libs/libXrender |
102 |
- x11-libs/libXrandr |
103 |
- x11-libs/libXtst |
104 |
- xinerama? ( x11-libs/libXinerama ) |
105 |
- ) |
106 |
-" |
107 |
- |
108 |
-DEPEND="${COMMON_DEPEND} |
109 |
- doc? ( app-doc/doxygen ) |
110 |
- virtual/pkgconfig |
111 |
-" |
112 |
- |
113 |
-RDEPEND="${COMMON_DEPEND} |
114 |
-" |
115 |
- |
116 |
-S="${WORKDIR}/${MY_P}" |
117 |
- |
118 |
-PATCHES=( |
119 |
- "${FILESDIR}/10.1.0-mount.vmhgfs.patch" |
120 |
- "${FILESDIR}/10.1.0-vgauth.patch" |
121 |
- "${FILESDIR}/10.1.0-Werror.patch" |
122 |
-) |
123 |
- |
124 |
-pkg_setup() { |
125 |
- linux-info_get_any_version |
126 |
- local CONFIG_CHECK="~VMWARE_BALLOON ~VMWARE_PVSCSI ~VMXNET3" |
127 |
- use X && CONFIG_CHECK+=" ~DRM_VMWGFX" |
128 |
- kernel_is -lt 3 9 || CONFIG_CHECK+=" ~VMWARE_VMCI ~VMWARE_VMCI_VSOCKETS" |
129 |
- kernel_is -lt 3 || CONFIG_CHECK+=" ~FUSE_FS" |
130 |
- if use modules; then |
131 |
- linux-mod_pkg_setup |
132 |
- else |
133 |
- linux-info_pkg_setup |
134 |
- fi |
135 |
-} |
136 |
- |
137 |
-src_prepare() { |
138 |
- eapply -p2 "${PATCHES[@]}" |
139 |
- eapply_user |
140 |
- eautoreconf |
141 |
-} |
142 |
- |
143 |
-src_configure() { |
144 |
- local myeconfargs=( |
145 |
- --disable-deploypkg |
146 |
- --disable-static |
147 |
- --disable-tests |
148 |
- --with-procps |
149 |
- --with-dnet |
150 |
- $(use_enable doc docs) |
151 |
- $(use_enable grabbitmqproxy) |
152 |
- $(use_enable vgauth) |
153 |
- $(use_enable xinerama multimon) |
154 |
- $(use_with icu) |
155 |
- $(use_with pam) |
156 |
- $(use_with pic) |
157 |
- --without-gtk2 |
158 |
- --without-gtkmm |
159 |
- $(use_with X gtk3) |
160 |
- $(use_with X gtkmm3) |
161 |
- $(use_with X x) |
162 |
- |
163 |
- # configure locates the kernel object directory by looking for |
164 |
- # "/lib/modules/${KERNEL_RELEASE}/build". |
165 |
- # This will fail if the user is building against an uninstalled kernel. |
166 |
- # Fixing this would mean reworking the build system. |
167 |
- $(use_with modules kernel-modules) |
168 |
- --without-root-privileges |
169 |
- --with-kernel-release="${KV_FULL}" |
170 |
- ) |
171 |
- |
172 |
- econf "${myeconfargs[@]}" |
173 |
-} |
174 |
- |
175 |
-src_compile() { |
176 |
- use modules && set_arch_to_kernel |
177 |
- default |
178 |
-} |
179 |
- |
180 |
-src_install() { |
181 |
- default |
182 |
- prune_libtool_files --modules |
183 |
- |
184 |
- if use pam; then |
185 |
- rm "${ED%/}"/etc/pam.d/vmtoolsd || die |
186 |
- pamd_mimic_system vmtoolsd auth account |
187 |
- fi |
188 |
- |
189 |
- newinitd "${FILESDIR}/open-vm-tools.initd" vmware-tools |
190 |
- newconfd "${FILESDIR}/open-vm-tools.confd" vmware-tools |
191 |
- systemd_dounit "${FILESDIR}"/vmtoolsd.service |
192 |
- |
193 |
- # Replace mount.vmhgfs with a wrapper |
194 |
- mv "${ED%/}"/usr/sbin/{mount.vmhgfs,hgfsmounter} || die |
195 |
- dosbin "${FILESDIR}/mount.vmhgfs" |
196 |
- |
197 |
- # Make fstype = vmhgfs-fuse work in fstab |
198 |
- dosym vmhgfs-fuse /usr/bin/mount.vmhgfs-fuse |
199 |
- |
200 |
- if use X; then |
201 |
- fperms 4711 /usr/bin/vmware-user-suid-wrapper |
202 |
- dobin scripts/common/vmware-xdg-detect-de |
203 |
- |
204 |
- elog "To be able to use the drag'n'drop feature of VMware for file" |
205 |
- elog "exchange, please add the users to the 'vmware' group." |
206 |
- fi |
207 |
-} |
208 |
- |
209 |
-pkg_postinst() { |
210 |
- enewgroup vmware |
211 |
- linux-mod_pkg_postinst |
212 |
-} |
213 |
|
214 |
diff --git a/app-emulation/open-vm-tools/open-vm-tools-10.1.15.ebuild b/app-emulation/open-vm-tools/open-vm-tools-10.1.15.ebuild |
215 |
deleted file mode 100644 |
216 |
index 3829a224743..00000000000 |
217 |
--- a/app-emulation/open-vm-tools/open-vm-tools-10.1.15.ebuild |
218 |
+++ /dev/null |
219 |
@@ -1,156 +0,0 @@ |
220 |
-# Copyright 1999-2017 Gentoo Foundation |
221 |
-# Distributed under the terms of the GNU General Public License v2 |
222 |
- |
223 |
-EAPI=6 |
224 |
-MODULES_OPTIONAL_USE="modules" |
225 |
- |
226 |
-inherit autotools flag-o-matic linux-mod pam systemd toolchain-funcs user |
227 |
- |
228 |
-DESCRIPTION="Opensourced tools for VMware guests" |
229 |
-HOMEPAGE="https://github.com/vmware/open-vm-tools" |
230 |
-MY_P="${P}-6677369" |
231 |
-SRC_URI="https://github.com/vmware/open-vm-tools/releases/download/stable-${PV}/${MY_P}.tar.gz" |
232 |
- |
233 |
-LICENSE="LGPL-2" |
234 |
-SLOT="0" |
235 |
-KEYWORDS="~amd64 ~x86" |
236 |
-IUSE="X doc grabbitmqproxy icu pam +pic vgauth xinerama" |
237 |
- |
238 |
-COMMON_DEPEND=" |
239 |
- dev-libs/glib:2 |
240 |
- dev-libs/libdnet |
241 |
- net-libs/libtirpc:0= |
242 |
- sys-fs/fuse:0 |
243 |
- >=sys-process/procps-3.3.2 |
244 |
- grabbitmqproxy? ( dev-libs/openssl:0 ) |
245 |
- icu? ( dev-libs/icu:= ) |
246 |
- pam? ( virtual/pam ) |
247 |
- vgauth? ( |
248 |
- dev-libs/openssl:0 |
249 |
- dev-libs/xerces-c |
250 |
- dev-libs/xml-security-c |
251 |
- ) |
252 |
- X? ( |
253 |
- dev-cpp/gtkmm:3.0 |
254 |
- x11-libs/gtk+:3 |
255 |
- x11-libs/libICE |
256 |
- x11-libs/libSM |
257 |
- x11-libs/libX11 |
258 |
- x11-libs/libXcomposite |
259 |
- x11-libs/libXext |
260 |
- x11-libs/libXi |
261 |
- x11-libs/libXrender |
262 |
- x11-libs/libXrandr |
263 |
- x11-libs/libXtst |
264 |
- xinerama? ( x11-libs/libXinerama ) |
265 |
- ) |
266 |
-" |
267 |
- |
268 |
-DEPEND="${COMMON_DEPEND} |
269 |
- doc? ( app-doc/doxygen ) |
270 |
- net-libs/rpcsvc-proto |
271 |
- virtual/pkgconfig |
272 |
-" |
273 |
- |
274 |
-RDEPEND="${COMMON_DEPEND} |
275 |
-" |
276 |
- |
277 |
-S="${WORKDIR}/${MY_P}" |
278 |
- |
279 |
-PATCHES=( |
280 |
- "${FILESDIR}/10.1.0-mount.vmhgfs.patch" |
281 |
- "${FILESDIR}/10.1.0-vgauth.patch" |
282 |
- "${FILESDIR}/10.1.0-Werror.patch" |
283 |
-) |
284 |
- |
285 |
-pkg_setup() { |
286 |
- linux-info_get_any_version |
287 |
- local CONFIG_CHECK="~VMWARE_BALLOON ~VMWARE_PVSCSI ~VMXNET3" |
288 |
- use X && CONFIG_CHECK+=" ~DRM_VMWGFX" |
289 |
- kernel_is -lt 3 9 || CONFIG_CHECK+=" ~VMWARE_VMCI ~VMWARE_VMCI_VSOCKETS" |
290 |
- kernel_is -lt 3 || CONFIG_CHECK+=" ~FUSE_FS" |
291 |
- if use modules; then |
292 |
- linux-mod_pkg_setup |
293 |
- else |
294 |
- linux-info_pkg_setup |
295 |
- fi |
296 |
-} |
297 |
- |
298 |
-src_prepare() { |
299 |
- eapply -p2 "${PATCHES[@]}" |
300 |
- eapply_user |
301 |
- eautoreconf |
302 |
-} |
303 |
- |
304 |
-src_configure() { |
305 |
- append-cppflags "$($(tc-getPKG_CONFIG) --cflags libtirpc)" |
306 |
- export LIBVMTOOLS_LIBADD="$($(tc-getPKG_CONFIG) --libs libtirpc)" |
307 |
- local myeconfargs=( |
308 |
- --disable-deploypkg |
309 |
- --disable-static |
310 |
- --disable-tests |
311 |
- --with-procps |
312 |
- --with-dnet |
313 |
- $(use_enable doc docs) |
314 |
- $(use_enable grabbitmqproxy) |
315 |
- $(use_enable vgauth) |
316 |
- $(use_enable xinerama multimon) |
317 |
- $(use_with icu) |
318 |
- $(use_with pam) |
319 |
- $(use_with pic) |
320 |
- --without-gtk2 |
321 |
- --without-gtkmm |
322 |
- $(use_with X gtk3) |
323 |
- $(use_with X gtkmm3) |
324 |
- $(use_with X x) |
325 |
- |
326 |
- # configure locates the kernel object directory by looking for |
327 |
- # "/lib/modules/${KERNEL_RELEASE}/build". |
328 |
- # This will fail if the user is building against an uninstalled kernel. |
329 |
- # Fixing this would mean reworking the build system. |
330 |
- $(use_with modules kernel-modules) |
331 |
- --without-root-privileges |
332 |
- --with-kernel-release="${KV_FULL}" |
333 |
- ) |
334 |
- |
335 |
- econf "${myeconfargs[@]}" |
336 |
-} |
337 |
- |
338 |
-src_compile() { |
339 |
- use modules && set_arch_to_kernel |
340 |
- default |
341 |
-} |
342 |
- |
343 |
-src_install() { |
344 |
- default |
345 |
- prune_libtool_files --modules |
346 |
- |
347 |
- if use pam; then |
348 |
- rm "${ED%/}"/etc/pam.d/vmtoolsd || die |
349 |
- pamd_mimic_system vmtoolsd auth account |
350 |
- fi |
351 |
- |
352 |
- newinitd "${FILESDIR}/open-vm-tools.initd" vmware-tools |
353 |
- newconfd "${FILESDIR}/open-vm-tools.confd" vmware-tools |
354 |
- systemd_dounit "${FILESDIR}"/vmtoolsd.service |
355 |
- |
356 |
- # Replace mount.vmhgfs with a wrapper |
357 |
- mv "${ED%/}"/usr/sbin/{mount.vmhgfs,hgfsmounter} || die |
358 |
- dosbin "${FILESDIR}/mount.vmhgfs" |
359 |
- |
360 |
- # Make fstype = vmhgfs-fuse work in fstab |
361 |
- dosym vmhgfs-fuse /usr/bin/mount.vmhgfs-fuse |
362 |
- |
363 |
- if use X; then |
364 |
- fperms 4711 /usr/bin/vmware-user-suid-wrapper |
365 |
- dobin scripts/common/vmware-xdg-detect-de |
366 |
- |
367 |
- elog "To be able to use the drag'n'drop feature of VMware for file" |
368 |
- elog "exchange, please add the users to the 'vmware' group." |
369 |
- fi |
370 |
-} |
371 |
- |
372 |
-pkg_postinst() { |
373 |
- enewgroup vmware |
374 |
- linux-mod_pkg_postinst |
375 |
-} |
376 |
|
377 |
diff --git a/app-emulation/open-vm-tools/open-vm-tools-10.2.5.ebuild b/app-emulation/open-vm-tools/open-vm-tools-10.2.5.ebuild |
378 |
deleted file mode 100644 |
379 |
index bddd12cadf2..00000000000 |
380 |
--- a/app-emulation/open-vm-tools/open-vm-tools-10.2.5.ebuild |
381 |
+++ /dev/null |
382 |
@@ -1,163 +0,0 @@ |
383 |
-# Copyright 1999-2018 Gentoo Foundation |
384 |
-# Distributed under the terms of the GNU General Public License v2 |
385 |
- |
386 |
-EAPI=6 |
387 |
- |
388 |
-inherit autotools flag-o-matic linux-info pam systemd toolchain-funcs user |
389 |
- |
390 |
-DESCRIPTION="Opensourced tools for VMware guests" |
391 |
-HOMEPAGE="https://github.com/vmware/open-vm-tools" |
392 |
-MY_P="${P}-8068406" |
393 |
-SRC_URI="https://github.com/vmware/open-vm-tools/releases/download/stable-${PV}/${MY_P}.tar.gz" |
394 |
- |
395 |
-LICENSE="LGPL-2.1" |
396 |
-SLOT="0" |
397 |
-KEYWORDS="~amd64 ~x86" |
398 |
-IUSE="X caf +deploypkg +dnet doc +fuse +grabbitmqproxy gtkmm +icu multimon pam +resolutionkms +ssl static-libs test +vgauth +xml-security-c xmlsec" |
399 |
-REQUIRED_USE=" |
400 |
- multimon? ( X ) |
401 |
- vgauth? ( |
402 |
- ^^ ( xmlsec xml-security-c ) |
403 |
- ssl |
404 |
- ) |
405 |
- caf? ( vgauth ssl ) |
406 |
- grabbitmqproxy? ( ssl ) |
407 |
-" |
408 |
- |
409 |
-RDEPEND=" |
410 |
- dev-libs/glib |
411 |
- net-libs/libtirpc |
412 |
- deploypkg? ( dev-libs/libmspack ) |
413 |
- fuse? ( sys-fs/fuse:0 ) |
414 |
- pam? ( virtual/pam ) |
415 |
- ssl? ( dev-libs/openssl:0 ) |
416 |
- vgauth? ( |
417 |
- xml-security-c? ( dev-libs/xerces-c dev-libs/xml-security-c ) |
418 |
- xmlsec? ( dev-libs/libxml2 dev-libs/xmlsec ) |
419 |
- ) |
420 |
- X? ( |
421 |
- x11-libs/libXext |
422 |
- multimon? ( x11-libs/libXinerama ) |
423 |
- x11-libs/libXi |
424 |
- x11-libs/libXrender |
425 |
- x11-libs/libXrandr |
426 |
- x11-libs/libXtst |
427 |
- x11-libs/libSM |
428 |
- x11-libs/libXcomposite |
429 |
- x11-libs/gdk-pixbuf:2 |
430 |
- x11-libs/gtk+:3 |
431 |
- gtkmm? ( |
432 |
- dev-cpp/gtkmm:3.0 |
433 |
- dev-libs/libsigc++:2 |
434 |
- ) |
435 |
- ) |
436 |
- dnet? ( dev-libs/libdnet ) |
437 |
- icu? ( dev-libs/icu:= ) |
438 |
- caf? ( |
439 |
- dev-libs/log4cpp |
440 |
- net-libs/rabbitmq-c |
441 |
- ) |
442 |
- resolutionkms? ( |
443 |
- x11-libs/libdrm[video_cards_vmware] |
444 |
- virtual/libudev |
445 |
- ) |
446 |
-" |
447 |
- |
448 |
-DEPEND="${RDEPEND} |
449 |
- virtual/pkgconfig |
450 |
- net-libs/rpcsvc-proto |
451 |
- doc? ( app-doc/doxygen ) |
452 |
- test? ( dev-util/cunit ) |
453 |
-" |
454 |
- |
455 |
-S="${WORKDIR}/${MY_P}" |
456 |
- |
457 |
-PATCHES=( |
458 |
- "${FILESDIR}/10.1.0-mount.vmhgfs.patch" |
459 |
- "${FILESDIR}/10.1.0-Werror.patch" |
460 |
- "${FILESDIR}/10.2.5-libtirpc.patch" |
461 |
-) |
462 |
- |
463 |
-pkg_setup() { |
464 |
- local CONFIG_CHECK="~VMWARE_BALLOON ~VMWARE_PVSCSI ~VMXNET3" |
465 |
- use X && CONFIG_CHECK+=" ~DRM_VMWGFX" |
466 |
- kernel_is -lt 3 9 || CONFIG_CHECK+=" ~VMWARE_VMCI ~VMWARE_VMCI_VSOCKETS" |
467 |
- kernel_is -lt 3 || CONFIG_CHECK+=" ~FUSE_FS" |
468 |
- linux-info_pkg_setup |
469 |
-} |
470 |
- |
471 |
-src_prepare() { |
472 |
- eapply -p2 "${PATCHES[@]}" |
473 |
- eapply_user |
474 |
- eautoreconf |
475 |
-} |
476 |
- |
477 |
-src_configure() { |
478 |
- # On >=sys-libs/glibc-2.26, SunRPC no longer provided |
479 |
- # Use libtirpc and rpcsvc-proto instead |
480 |
- append-cppflags "$($(tc-getPKG_CONFIG) --cflags libtirpc)" |
481 |
- export LIBVMTOOLS_LIBADD="$($(tc-getPKG_CONFIG) --libs libtirpc)" |
482 |
- local myeconfargs=( |
483 |
- --without-root-privileges |
484 |
- $(use_enable multimon) |
485 |
- $(use_with X x) |
486 |
- $(use_with X gtk3) |
487 |
- $(use_with gtkmm gtkmm3) |
488 |
- $(use_enable doc docs) |
489 |
- $(use_enable test tests) |
490 |
- $(use_enable resolutionkms) |
491 |
- $(use_enable static-libs static) |
492 |
- $(use_enable deploypkg) |
493 |
- $(use_enable grabbitmqproxy) |
494 |
- $(use_with pam) |
495 |
- $(use_enable vgauth) |
496 |
- $(use vgauth && use_enable xmlsec xmlsec1) |
497 |
- $(use vgauth && use_enable xml-security-c xmlsecurity) |
498 |
- $(use_enable caf) |
499 |
- $(use_with dnet) |
500 |
- $(use_with icu) |
501 |
- ) |
502 |
- # Avoid a bug in configure.ac |
503 |
- use ssl || myeconfargs+=( --without-ssl ) |
504 |
- |
505 |
- econf "${myeconfargs[@]}" |
506 |
-} |
507 |
- |
508 |
-src_install() { |
509 |
- default |
510 |
- find "${D}" -name '*.la' -delete || die |
511 |
- |
512 |
- if use pam; then |
513 |
- rm "${ED%/}"/etc/pam.d/vmtoolsd || die |
514 |
- pamd_mimic_system vmtoolsd auth account |
515 |
- fi |
516 |
- |
517 |
- newinitd "${FILESDIR}/open-vm-tools.initd" vmware-tools |
518 |
- newconfd "${FILESDIR}/open-vm-tools.confd" vmware-tools |
519 |
- |
520 |
- if use vgauth; then |
521 |
- systemd_newunit "${FILESDIR}"/vmtoolsd.vgauth.service vmtoolsd.service |
522 |
- systemd_dounit "${FILESDIR}"/vgauthd.service |
523 |
- else |
524 |
- systemd_dounit "${FILESDIR}"/vmtoolsd.service |
525 |
- fi |
526 |
- |
527 |
- # Replace mount.vmhgfs with a wrapper |
528 |
- mv "${ED%/}"/usr/sbin/{mount.vmhgfs,hgfsmounter} || die |
529 |
- dosbin "${FILESDIR}/mount.vmhgfs" |
530 |
- |
531 |
- # Make fstype = vmhgfs-fuse work in fstab |
532 |
- dosym vmhgfs-fuse /usr/bin/mount.vmhgfs-fuse |
533 |
- |
534 |
- if use X; then |
535 |
- fperms 4711 /usr/bin/vmware-user-suid-wrapper |
536 |
- dobin scripts/common/vmware-xdg-detect-de |
537 |
- |
538 |
- elog "To be able to use the drag'n'drop feature of VMware for file" |
539 |
- elog "exchange, please add the users to the 'vmware' group." |
540 |
- fi |
541 |
-} |
542 |
- |
543 |
-pkg_postinst() { |
544 |
- enewgroup vmware |
545 |
-} |