vmware-workstation14

maintainer voxan24 · 5 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads and executes a large VMware Workstation installer bundle (.bundle file, which is a self-extracting shell script/binary) plus multiple component archives directly from a personal/unofficial host (voxhost.fr) rather than from VMware's official servers. The bundle is then executed via bash in the prepare() function. While sha256sums are provided for all sources (providing integrity checking), the trust anchor is the PKGBUILD itself — if voxhost.fr were compromised or the maintainer replaced the files, users would get malicious binaries executed at build time. VMware's official bundles are available directly from vmware.com, so there is no legitimate reason to mirror them on a personal French hosting service. This is a classic supply-chain concern: executed binary/installer from an unofficial personal host. The checksums mitigate but do not eliminate the risk (they only protect against in-transit tampering, not against the host owner substituting files and updating the PKGBUILD). No piracy flag is warranted as VMware Workstation 14 is a legitimately licensed product being packaged (not cracked), though the macOS guest support note touches on EULA issues.

Triggered rules

MEDIUM source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:73 "https://voxhost.fr/vmware-aur/14/VMware-Workstation-${_pkgver/_/-}.${CARCH}.bundle.tar"
MEDIUM Privileged / out-of-pacman install (sudoers, setuid, or self-update) privileged_install

The package grants elevated privileges or installs an update path outside pacman: a /etc/sudoers.d rule (often passwordless), a setuid/setgid binary, or a self-update script/service that can fetch and run future code with no checksum verification. The initial install may be verified, but the ongoing privilege + update surface is a real supply-chain / privilege-escalation risk.

  • PKGBUILD:387 chmod +s \
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): The PKGBUILD downloads and executes a large VMware Workstation installer bundle (.bundle file, which is a self-extracting shell script/binary) plus multiple component archives directly from a personal/unofficial host (voxhost.fr) rather than from VMware's official servers. The bundle is then executed via bash in the prepare() function. While sha256sums are provided for all sources (providing integrity checking), the trust anchor is the PKGBUILD itself — if voxhost.fr were compromised or the maintainer replaced the files, users would get malicious binaries executed at build time. VMware's official bundles are available directly from vmware.com, so there is no legitimate reason to mirror them on a personal French hosting service. This is a classic supply-chain concern: executed binary/installer from an unofficial personal host. The checksums mitigate but do not eliminate the risk (they only protect against in-transit tampering, not against the host owner substituting files and updating the PKGBUILD). No piracy flag is warranted as VMware Workstation 14 is a legitimately licensed product being packaged (not cracked), though the macOS guest support note touches on EULA issues.

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: Voxan24 <admin "at" hessfr "dot" fr>
2
3# To enable macOS guests support, uncomment the line below:
4#_enable_macOS_guests=y
5# CAUTION: Running macOS on VMware Workstation on non Apple computer is forbidden by
6# Apple and VMware EULAs.
7
8# vmware-keymaps dependency is needed to avoid some conflicts when you install
9# this package with vmware-horizon-client. If you don't plan to install
10# vmware-horizon-client and don't want to add this dependency, you can
11# uncomment the line below:
12#_remove_vmware_keymaps_dependency=y
13
14#PKGEXT=.pkg.tar
15pkgname=vmware-workstation14
16pkgver=14.1.7
17_buildver=12989993
18_pkgver=${pkgver}_${_buildver}
19pkgrel=30
20_tools_version=10.2.5-8068393
21pkgdesc='The industry standard for running multiple operating systems as virtual machines on a single Linux PC.'
22arch=(x86_64)
23url='https://www.vmware.com/products/workstation-for-linux.html'
24license=(custom)
25install="vmware-workstation.install"
26conflicts=(
27 vmware-workstation
28 vmware-modules-dkms
29 vmware-ovftool
30 vmware-patch
31 vmware-systemd-services
32)
33provides=(
34 vmware-workstation=$pkgver
35 vmware-ovftool
36)
37depends=(
38 dkms
39 ncurses5-compat-libs
40 fuse2
41 gtk3 # for gtk-query-settings binary
42 gtkmm3
43 libcanberra
44 libaio
45 pcsclite
46 hicolor-icon-theme
47 libxcrypt-compat # needed for ovftool
48 # needed to replace internal libs:
49 fontconfig
50 freetype2
51 harfbuzz
52)
53optdepends=(
54 'linux-headers: build modules against Arch kernel'
55)
56makedepends=(
57 sqlite
58)
59backup=(
60 'etc/vmware/config'
61 'etc/vmware/hostd/authorization.xml'
62 'etc/vmware/hostd/config.xml'
63 'etc/vmware/hostd/datastores.xml'
64 'etc/vmware/hostd/dispatcher.xml'
65 'etc/vmware/hostd/proxy.xml'
66 'etc/vmware/hostd/tagExtractor.xml'
67 'etc/vmware/netmap.conf'
68 'etc/vmware/ssl/hostd.ssl.config'
69 'etc/pam.d/vmware-authd'
70 'etc/conf.d/vmware'
71)
72source=(
73 "https://voxhost.fr/vmware-aur/14/VMware-Workstation-${_pkgver/_/-}.${CARCH}.bundle.tar"
74 "https://voxhost.fr/vmware-aur/14/vmware-tools-freebsd-${_tools_version/_/-}.${CARCH}.component.tar"
75 "https://voxhost.fr/vmware-aur/14/vmware-tools-linux-${_tools_version/_/-}.${CARCH}.component.tar"
76 "https://voxhost.fr/vmware-aur/14/vmware-tools-linuxPreGlibc25-${_tools_version/_/-}.${CARCH}.component.tar"
77 "https://voxhost.fr/vmware-aur/14/vmware-tools-netware-${_tools_version/_/-}.${CARCH}.component.tar"
78 "https://voxhost.fr/vmware-aur/14/vmware-tools-solaris-${_tools_version/_/-}.${CARCH}.component.tar"
79 "https://voxhost.fr/vmware-aur/14/vmware-tools-windows-${_tools_version/_/-}.${CARCH}.component.tar"
80 "https://voxhost.fr/vmware-aur/14/vmware-tools-winPre2k-${_tools_version/_/-}.${CARCH}.component.tar"
81 "https://voxhost.fr/vmware-aur/14/vmware-tools-winPreVista-${_tools_version/_/-}.${CARCH}.component.tar"
82
83 'vmware-bootstrap'
84 'vmware-vix-bootstrap'
85 'config'
86 'pam.d-vmware-authd'
87 'configure-initscript.sh'
88 'vmware-environment.sh'
89
90 'config.xml'
91 'datastores.xml'
92 'environments.xml'
93 'proxy.xml'
94 'vmAutoStart.xml'
95
96 'vmware-hostd-certificates.service'
97 'vmware-hostd.service'
98 'vmware-authd.service'
99 'vmware-networks-configuration.service'
100 'vmware-networks.service'
101 'vmware-usbarbitrator.service'
102 'vmware-networks.path'
103 'vmware-usbarbitrator.path'
104
105 'dkms.conf.in'
106 'Makefile'
107 'vmmon.patch'
108 'vmnet.patch'
109)
110sha256sums=(
111 '9e1b2b547af81916083cdf2796c4f953237da18a6d3ac84a423929d4b90749a7'
112 '61701b601f23a358d3e51a0797cc4bc36a7a904f4a4b6518d922914089be8d6f'
113 'd0e894abe633ad91fb9262b1b9f46097b586736a94c26c01cfb2a48fa59aef4a'
114 'e51e13e2d8f6f2ce988f31925553ab18053ad7d52b285c5decfd933a3ad829f4'
115 '062b126373fa38a01eefaf5db95905570505114490807df376165b38e242338f'
116 '01cef17eff5e4f59d2728809ea493b3be14e0f9399d315d759f3635d4ee801c7'
117 'd6aaf10b08796191fa4bde65a7a2d57176e7eed67c98d908dab2eb31023ff2a5'
118 'b97ddec79a6b0ea91debadf0305f2528104a76feeeeacefd4877940a41d19e7f'
119 '542029c8bf3b1d294560e694f762467928974020a2ad79e1ed8dfd8d3c2ef718'
120
121 '12e7b16abf8d7e858532edabb8868919c678063c566a6535855b194aac72d55e'
122 'da1698bf4e73ae466c1c7fc93891eba4b9c4581856649635e6532275dbfea141'
123 'dc52138eb01171207b761131f1ef8cbc33d838ff61644d70f5d1fa61f2469a8a'
124 'd50aa0a3fe94025178965d988e18d41eb60aa1ce2b28ee6e3ca15edeabfa2ca7'
125 '8e4d08668a66be79a900521792b39c16a026cc90659241edee80b64e701bfbcd'
126 'de71ada1f5d5132fa75646a4f35cac2e50c54f250c315461633719c4b9cb3614'
127
128 '9f508d5f7ce4b69d9f40f6fb0ff0fb3d5b26a3c48658da994bf63975d1b589ab'
129 '434cd4aa440d36b75ee20e0b588aaad874bb0d796173990bc4046667c66f5099'
130 '57c7568a89e8af1914cf7aea84d8fefd6e7af4155557081292344326d652ae70'
131 '3c802523606184a5e8ebbe931d9c6c70d83ff8c6833b9f48aa264f0bd5a18a88'
132 'ad522a8cbc6103134ce5e677a01b503cd21875cbceb37bd13fd870ebd9ad0e6d'
133
134 'f9440479f3ae5ad0a39bba3150276627878bf83d6879444fb327c53a1dbb5a4d'
135 '42594b60085d0bbef01ab07b9f8b0d18640001107ce61cc0ddf02d0ab415140f'
136 'e4c2e97acf07c52de570dd4333d67acfb593db719937a563c6075ab773dcce33'
137 '9b4fbe0ba83f761a2eb9ecd05d48428f8b0a5b3abd8404ccbd928408e682f02b'
138 'c0a5aea785db06921fb350d36d5e0fd9a14f5eee0c835686ec6fea1af8c92245'
139 'd7a9fbf39a0345ae2f14f7f389f30b1110f605d187e0c241e99bbb18993c250d'
140 '16a73931894a65d43da489ff25d07647c0ecddf60d443b103bceca63504910fe'
141 'fe1b1be8297f4170406f97dd1f8b385d911faf45afe19cbc0c26b8092b3ddf8d'
142
143 '10562d11d50edab9abc2b29c8948714edcb9b084f99b3766d07ddd21259e372e'
144 '273d4357599a3e54259c78cc49054fef8ecfd2c2eda35cbcde3a53a62777a5ac'
145 'd7414c5f8d2b6e389ed70fbc729fb299a4093b222f8a0333575a54d54f31a624'
146 '3c3cf82d16d77594ea0c2e5a3c73628372e0d8d647f427c867d8bf5576dc9ad1'
147)
148options=(!strip emptydirs !debug)
149
150if [ -z "$_remove_vmware_keymaps_dependency" ]; then
151depends+=(
152 vmware-keymaps
153)
154fi
155
156_isoimages=(freebsd linux linuxPreGlibc25 netware solaris windows winPre2k winPreVista)
157
158if [ -n "$_enable_macOS_guests" ]; then
159
160_vmware_fusion_ver=10.1.6
161_vmware_fusion_buildver=12989998
162_vmware_fusion_ver_full=${_vmware_fusion_ver}_${_vmware_fusion_buildver}
163# List of VMware Fusion versions: https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/
164
165makedepends+=(
166 python
167 p7zip
168 uefitool
169)
170
171source+=(
172 "darwinPre15-tools-${_vmware_fusion_ver_full}.zip.tar::https://voxhost.fr/vmware-aur/14/com.vmware.fusion.tools.darwinPre15.zip.tar"
173 "darwin-tools-${_vmware_fusion_ver_full}.zip.tar::https://voxhost.fr/vmware-aur/14/com.vmware.fusion.tools.darwin.zip.tar"
174 "unlocker.py"
175 "efi-patches.txt"
176)
177sha256sums+=(
178 '195313791f2c2cf880b0ba6c9d130e40ab6729335c0980fcc40df4209c1ed52b'
179 'e36fb99a56a65d2c4d82168c8adb1ed19a9a7aaf75807c667c79a79f4968740a'
180 '8a61e03d0edbbf60c1c84a43aa87a6e950f82d2c71b968888f019345c2f684f3'
181 '392c1effcdec516000e9f8ffc97f2586524d8953d3e7d6f2c5f93f2acd809d91'
182)
183
184_fusion_isoimages=(darwin darwinPre15)
185fi
186
187
188_create_database_file() {
189 # Create a database which contains the list of guest tools (necessary to avoid that vmware try to download them)
190 local database_filename="$pkgdir/etc/vmware-installer/database"
191 echo -n "" > "$database_filename"
192
193 sqlite3 "$database_filename" "CREATE TABLE settings(key VARCHAR PRIMARY KEY, value VARCHAR NOT NULL, component_name VARCHAR NOT NULL);"
194 sqlite3 "$database_filename" "INSERT INTO settings(key,value,component_name) VALUES('db.schemaVersion','2','vmware-installer');"
195 sqlite3 "$database_filename" "CREATE TABLE components(id INTEGER PRIMARY KEY, name VARCHAR NOT NULL, version VARCHAR NOT NULL, buildNumber INTEGER NOT NULL, component_core_id INTEGER NOT NULL, longName VARCHAR NOT NULL, description VARCHAR, type INTEGER NOT NULL);"
196
197 for isoimage in ${_isoimages[@]}
198 do
199 local version=$(cat "$srcdir/extracted/vmware-tools-$isoimage/manifest.xml" | grep -oPm1 "(?<=<version>)[^<]+")
200 sqlite3 "$database_filename" "INSERT INTO components(name,version,buildNumber,component_core_id,longName,description,type) VALUES('vmware-tools-$isoimage','$version',${_pkgver#*_},1,'$isoimage','$isoimage',1);"
201 done
202
203if [ -n "$_enable_macOS_guests" ]; then
204 for isoimage in ${_fusion_isoimages[@]}
205 do
206 sqlite3 "$database_filename" "INSERT INTO components(name,version,buildNumber,component_core_id,longName,description,type) VALUES('vmware-tools-$isoimage','1',${_vmware_fusion_ver_full#*_},1,'$isoimage','$isoimage',1);"
207 done
208fi
209}
210
211prepare() {
212 extracted_dir="$srcdir/extracted"
213 [[ -d "$extracted_dir" ]] && rm -r "$extracted_dir"
214
215 bash \
216 "$(readlink -f "$srcdir/VMware-Workstation-${_pkgver/_/-}.${CARCH}.bundle")" \
217 --install-component "vmware-tools-freebsd-${_tools_version/_/-}.${CARCH}.component" \
218 --install-component "vmware-tools-linux-${_tools_version/_/-}.${CARCH}.component" \
219 --install-component "vmware-tools-linuxPreGlibc25-${_tools_version/_/-}.${CARCH}.component" \
220 --install-component "vmware-tools-netware-${_tools_version/_/-}.${CARCH}.component" \
221 --install-component "vmware-tools-solaris-${_tools_version/_/-}.${CARCH}.component" \
222 --install-component "vmware-tools-windows-${_tools_version/_/-}.${CARCH}.component" \
223 --install-component "vmware-tools-winPre2k-${_tools_version/_/-}.${CARCH}.component" \
224 --install-component "vmware-tools-winPreVista-${_tools_version/_/-}.${CARCH}.component" \
225 --extract "$extracted_dir"
226
227if [ -n "$_enable_macOS_guests" ]; then
228 for isoimage in ${_fusion_isoimages[@]}
229 do
230 7z e -y com.vmware.fusion.tools.$isoimage.zip payload/\* -o"fusion-isoimages" > /dev/null
231 done
232
233 sed -i -e "s|/usr/lib/vmware/|${pkgdir}/usr/lib/vmware/|" "$srcdir/unlocker.py"
234fi
235}
236
237package() {
238 local vmware_installer_version=$(cat "$srcdir/extracted/vmware-installer/manifest.xml" | grep -oPm1 "(?<=<version>)[^<]+")
239
240 # Make directories and copy files.
241
242 mkdir -p \
243 "$pkgdir/etc"/{cups,pam.d,modprobe.d,thnuclnt,vmware} \
244 "$pkgdir/usr"/{share,bin} \
245 "$pkgdir/usr/include/vmware-vix" \
246 "$pkgdir/usr/lib"/{vmware/{setup,lib/libvmware-vim-cmd.so},vmware-vix,vmware-ovftool,vmware-installer/"$vmware_installer_version",cups/filter,modules-load.d} \
247 "$pkgdir/usr/share"/{doc/vmware-vix,licenses/"$pkgname"} \
248 "$pkgdir/var/lib/vmware/Shared VMs"
249
250 cd "$srcdir/extracted"
251
252 cp -r \
253 vmware-workstation/share/* \
254 vmware-workstation/man \
255 vmware-network-editor-ui/share/* \
256 vmware-player-app/share/* \
257 "$pkgdir/usr/share"
258
259 cp -r \
260 vmware-workstation/bin/* \
261 vmware-vmx/{,s}bin/* \
262 vmware-vix-core/bin/* \
263 vmware-vprobe/bin/* \
264 vmware-workstation-server/{vmware-hostd,vmware-vim-cmd,vmware-wssc-adminTool} \
265 vmware-network-editor-ui/bin/* \
266 vmware-player-app/bin/* \
267 "$pkgdir/usr/bin"
268
269 cp -r \
270 vmware-workstation/lib/* \
271 vmware-player-app/lib/* \
272 vmware-vmx/{lib/*,roms} \
273 vmware-vprobe/lib/* \
274 vmware-workstation-server/{bin,lib,hostd} \
275 vmware-usbarbitrator/bin \
276 vmware-network-editor/lib \
277 "$pkgdir/usr/lib/vmware"
278
279 cp -r \
280 vmware-player-setup/vmware-config \
281 "$pkgdir/usr/lib/vmware/setup"
282
283 cp -rL \
284 vmware-workstation-server/config/etc/vmware/* \
285 vmware-workstation-server/etc/vmware/* \
286 "$pkgdir/etc/vmware"
287
288 cp -r \
289 vmware-vix-lib-Workstation1400/lib/Workstation-14.0.0 \
290 vmware-vix-core/{lib/*,vixwrapper-config.txt} \
291 "$pkgdir/usr/lib/vmware-vix"
292 cp vmware-vix-core/vix-perl.tar.nogz "$pkgdir/usr/lib/vmware-vix/vix-perl.tar.gz"
293
294 cp -r \
295 vmware-vix-core/doc/* \
296 "$pkgdir/usr/share/doc/vmware-vix"
297
298 cp -r \
299 vmware-ovftool/* \
300 "$pkgdir/usr/lib/vmware-ovftool"
301
302 cp -r \
303 vmware-installer/{python,sopython,vmis,vmis-launcher,vmware-installer,vmware-installer.py} \
304 "$pkgdir/usr/lib/vmware-installer/$vmware_installer_version"
305
306 cp -r \
307 vmware-player-app/etc/cups/* \
308 "$pkgdir/etc/cups"
309 cp -r \
310 vmware-player-app/extras/.thnumod \
311 "$pkgdir/etc/thnuclnt"
312 cp -r \
313 vmware-player-app/extras/thnucups \
314 "$pkgdir/usr/lib/cups/filter"
315
316 cp -r \
317 vmware-vix-core/include/* \
318 "$pkgdir/usr/include/vmware-vix"
319
320 for isoimage in ${_isoimages[@]}
321 do
322 install -Dm 644 "vmware-tools-$isoimage/$isoimage.iso" "$pkgdir/usr/lib/vmware/isoimages/$isoimage.iso"
323 install -Dm 644 "vmware-tools-$isoimage/$isoimage.iso.sig" "$pkgdir/usr/lib/vmware/isoimages/$isoimage.iso.sig"
324 done
325
326 install -Dm 644 "vmware-workstation/doc/EULA" "$pkgdir/usr/share/licenses/$pkgname/VMware Workstation - EULA.txt"
327 install -Dm 644 "$pkgdir/usr/lib/vmware-ovftool/vmware.eula" "$pkgdir/usr/share/licenses/$pkgname/VMware OVF Tool - EULA.txt"
328 install -Dm 644 "vmware-workstation/doc"/open_source_licenses.txt "$pkgdir/usr/share/licenses/$pkgname/VMware Workstation open source license.txt"
329 install -Dm 644 "vmware-workstation/doc"/ovftool_open_source_licenses.txt "$pkgdir/usr/share/licenses/$pkgname/VMware OVF Tool open source license.txt"
330 install -Dm 644 "vmware-vix-core"/open_source_licenses.txt "$pkgdir/usr/share/licenses/$pkgname/VMware VIX open source license.txt"
331 rm "$pkgdir/usr/lib/vmware-ovftool"/{vmware.eula,vmware-eula.rtf,open_source_licenses.txt,manifest.xml}
332
333 install -Dm 755 "$srcdir/configure-initscript.sh" "$pkgdir/usr/lib/vmware-installer/$vmware_installer_version/bin/configure-initscript.sh"
334
335 install -Dm 644 "vmware-vmx/etc/modprobe.d/modprobe-vmware-fuse.conf" "$pkgdir/etc/modprobe.d/vmware-fuse.conf"
336
337 install -Dm 644 vmware-player-app/lib/isoimages/tools-key.pub "$pkgdir/usr/lib/vmware/isoimages/tools-key.pub"
338
339 install -Dm 644 vmware-vmx/extra/modules.xml "$pkgdir"/usr/lib/vmware/modules/modules.xml
340 install -Dm 644 vmware-installer/bootstrap "$pkgdir"/etc/vmware-installer/bootstrap
341 install -Dm 644 "$srcdir"/vmware-vix-bootstrap "$pkgdir"/etc/vmware-vix/bootstrap
342 install -Dm 644 "$srcdir"/vmware-bootstrap "$pkgdir"/etc/vmware/bootstrap
343 install -Dm 644 "$srcdir"/config "$pkgdir"/etc/vmware/config
344
345if [ -z "$_remove_vmware_keymaps_dependency" ]; then
346 rm -r "$pkgdir/usr/lib/vmware/xkeymap" # these files are provided by vmware-keymaps package
347fi
348
349 for hostd_file in config datastores environments proxy vmAutoStart; do
350 install -Dm 644 "$srcdir/$hostd_file.xml" "$pkgdir/etc/vmware/hostd/$hostd_file.xml"
351 done
352
353 install -Dm 644 "$srcdir/pam.d-vmware-authd" "$pkgdir/etc/pam.d/vmware-authd"
354
355 echo -e "vmw_vmci\nvmmon" > "$pkgdir/usr/lib/modules-load.d/vmware.conf"
356
357 for service_file in \
358 vmware-hostd-certificates.service \
359 vmware-hostd.service \
360 vmware-authd.service \
361 vmware-networks-configuration.service \
362 vmware-networks.service \
363 vmware-usbarbitrator.service \
364 vmware-networks.path \
365 vmware-usbarbitrator.path
366 do
367 install -Dm 644 \
368 "$srcdir/$service_file" \
369 "$pkgdir/usr/lib/systemd/system/$service_file"
370 done
371
372
373 # Apply permissions where necessary.
374
375 chmod +x \
376 "$pkgdir/usr/bin"/* \
377 "$pkgdir/usr/lib/vmware/bin"/* \
378 "$pkgdir/usr/lib/vmware/setup"/* \
379 "$pkgdir/usr/lib/vmware/lib"/libvmware-gksu.so/gksu-run-helper \
380 "$pkgdir/usr/lib/vmware-ovftool"/{ovftool,ovftool.bin} \
381 "$pkgdir/usr/lib/vmware-installer/$vmware_installer_version"/{vmware-installer,vmis-launcher} \
382 "$pkgdir/usr/lib/cups/filter"/* \
383 "$pkgdir/usr/lib/vmware-vix/setup"/* \
384 "$pkgdir/etc/thnuclnt/.thnumod"
385
386 chmod -R 600 "$pkgdir/etc/vmware/ssl"
387 chmod +s \
388 "$pkgdir/usr/bin"/vmware-authd \
389 "$pkgdir/usr/lib/vmware/bin"/{vmware-vmx,vmware-vmx-debug,vmware-vmx-stats}
390
391
392 # Add symlinks the installer would create.
393
394 for link in \
395 licenseTool \
396 vmplayer \
397 vmware \
398 vmware-app-control \
399 vmware-enter-serial \
400 vmware-fuseUI \
401 vmware-gksu \
402 vmware-hostd \
403 vmware-modconfig \
404 vmware-modconfig-console \
405 vmware-mount \
406 vmware-netcfg \
407 vmware-tray \
408 vmware-vim-cmd \
409 vmware-vmblock-fuse \
410 vmware-vprobe \
411 vmware-wssc-adminTool \
412 vmware-zenity
413 do
414 ln -s /usr/lib/vmware/bin/appLoader "$pkgdir/usr/lib/vmware/bin/$link"
415 done
416
417 for link in \
418 vmware-mount \
419 vmware-usbarbitrator
420 do
421 ln -s /usr/lib/vmware/bin/$link "$pkgdir/usr/bin/$link"
422 done
423
424 ln -s /usr/lib/vmware/icu "$pkgdir/etc/vmware/icu"
425 ln -s /usr/lib/vmware/lib/diskLibWrapper.so/diskLibWrapper.so "$pkgdir/usr/lib/diskLibWrapper.so"
426 ln -s /usr/lib/vmware/lib/libvmware-hostd.so/libvmware-hostd.so "$pkgdir/usr/lib/vmware/lib/libvmware-vim-cmd.so/libvmware-vim-cmd.so"
427 ln -s /usr/lib/vmware-ovftool/ovftool "$pkgdir/usr/bin/ovftool"
428 ln -s /usr/lib/vmware-vix/libvixAllProducts.so "$pkgdir/usr/lib/libvixAllProducts.so"
429
430
431 # Replace placeholder "variables" with real paths.
432
433 for file in \
434 gtk-3.0/gdk-pixbuf.loaders
435 do
436 sed -i 's,@@LIBCONF_DIR@@,/usr/lib/vmware/libconf,g' "$pkgdir/usr/lib/vmware/libconf/etc/$file"
437 done
438
439 sed -i 's,@@BINARY@@,/usr/bin/vmware,' "$pkgdir/usr/share/applications/vmware-workstation.desktop"
440 sed -i 's,@@BINARY@@,/usr/bin/vmplayer,' "$pkgdir/usr/share/applications/vmware-player.desktop"
441 sed -i 's,@@BINARY@@,/usr/bin/vmware-netcfg,' "$pkgdir/usr/share/applications/vmware-netcfg.desktop"
442
443 sed -i 's,@@AUTHD_PORT@@,902,' "$pkgdir/usr/lib/vmware/hostd/docroot/client/clients.xml"
444
445 sed \
446 -e "s/@@VERSION@@/$vmware_installer_version/" \
447 -e "s,@@VMWARE_INSTALLER@@,/usr/lib/vmware-installer/$vmware_installer_version," \
448 -i "$pkgdir/etc/vmware-installer/bootstrap"
449
450
451 # Patch up the VMware kernel sources and configure DKMS.
452
453 dkms_dir="$pkgdir/usr/src/$pkgname-$_pkgver"
454
455 install -Dm 644 "$srcdir/Makefile" "$dkms_dir/Makefile"
456 install -Dm 644 "$srcdir/dkms.conf.in" "$dkms_dir/dkms.conf"
457
458 sed \
459 -e "s/@PKGNAME@/$pkgname/g" \
460 -e "s/@PKGVER@/$_pkgver/g" \
461 -i "$dkms_dir/dkms.conf"
462
463 for module in vmmon vmnet; do
464 tar -xf "vmware-vmx/lib/modules/source/$module.tar" -C "$dkms_dir"
465 msg "Patching $module module for DKMS"
466 patch -p2 --read-only=ignore --directory="$dkms_dir/$module-only" < "$srcdir/$module.patch"
467 done
468
469 rm -r "$pkgdir/usr/lib/vmware/modules/source"
470
471if [ -n "$_enable_macOS_guests" ]; then
472 msg "Patching VMware to enable macOS guest support"
473 python3 "$srcdir/unlocker.py" > /dev/null
474
475 for isoimage in ${_fusion_isoimages[@]}
476 do
477 install -Dm 644 "$srcdir/fusion-isoimages/$isoimage.iso" "$pkgdir/usr/lib/vmware/isoimages/$isoimage.iso"
478 install -Dm 644 "$srcdir/fusion-isoimages/$isoimage.iso.sig" "$pkgdir/usr/lib/vmware/isoimages/$isoimage.iso.sig"
479 done
480
481 msg "Patching EFI firmwares to disable macOS server checking"
482 _efi_arch=("32" "64")
483 for arch in ${_efi_arch[@]}
484 do
485 uefipatch "$pkgdir/usr/lib/vmware/roms/EFI${arch}.ROM" "$srcdir/efi-patches.txt" -o "$pkgdir/usr/lib/vmware/roms/EFI${arch}.ROM" > /dev/null
486 done
487fi
488
489 _create_database_file
490
491 # Define some environment variables for VMware and remove the tests about kernel modules
492 install -Dm 644 "$srcdir/vmware-environment.sh" "$pkgdir/etc/conf.d/vmware"
493 for program in vmware vmplayer vmware-netcfg vmware-tray; do
494 sed -e '/export PRODUCT_NAME/asource /etc/conf.d/vmware' \
495 -e 's/if "$BINDIR"\/vmware-modconfig --appname=.*/if true ||/' \
496 -i "$pkgdir/usr/bin/$program"
497 done
498
499 # Add StartupWMClass attribute to desktop files
500 sed -i '/^StartupNotify=.*/a StartupWMClass=vmware' "$pkgdir/usr/share/applications/vmware-workstation.desktop"
501 sed -i '/^StartupNotify=.*/a StartupWMClass=vmplayer' "$pkgdir/usr/share/applications/vmware-player.desktop"
502 sed -i '/^StartupNotify=.*/a StartupWMClass=vmware-netcfg' "$pkgdir/usr/share/applications/vmware-netcfg.desktop"
503
504 # use system font rendering
505 ln -sf /usr/lib/libfreetype.so.6 "$pkgdir/usr/lib/vmware/lib/libfreetype.so.6/"
506 ln -sf /usr/lib/libfontconfig.so.1 "$pkgdir/usr/lib/vmware/lib/libfontconfig.so.1/"
507
508 # to solve bugs with incompatibles library versions:
509 ln -sf /usr/lib/libharfbuzz.so.0 "$pkgdir/usr/lib/vmware/lib/libharfbuzz.so.0/"
510}
511

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 3
2026-08-02 00:16:08 MEDIUM 3
2026-08-01 00:11:18 MEDIUM 3
2026-07-31 00:14:10 MEDIUM 3
2026-07-30 00:17:23 MEDIUM 3
2026-07-29 00:25:53 MEDIUM 3
2026-07-28 00:07:28 MEDIUM 3
2026-07-27 00:24:32 MEDIUM 3
2026-07-26 00:07:32 MEDIUM 3
2026-07-25 00:13:44 MEDIUM 3
2026-07-24 00:02:28 MEDIUM 3
2026-07-23 00:14:47 MEDIUM 3
2026-07-22 00:29:32 MEDIUM 3
2026-07-21 00:24:15 MEDIUM 3
2026-07-20 00:19:49 MEDIUM 3
2026-07-19 00:17:08 MEDIUM 3
2026-07-18 00:14:48 MEDIUM 3
2026-07-17 00:06:16 MEDIUM 3
2026-07-16 00:05:41 MEDIUM 3
2026-07-15 00:09:25 MEDIUM 3

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion