vmware-workstation16

maintainer voxan24 · 3 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads VMware Workstation installer bundles (.bundle files) and VMware Tools component files from a personal/unofficial host (voxhost.fr) rather than from VMware/Broadcom's official distribution servers. These are executed binaries: the .bundle file is explicitly run with bash in the prepare() function to extract its contents. While the files have sha256sums listed (providing some integrity guarantee), those checksums were presumably generated by the maintainer from files they control on their own server — there is no way to verify these match what VMware/Broadcom actually ships. The official VMware Workstation bundles are available directly from Broadcom's download portal, and the PKGBUILD even sets up a custom DLAGENT to route through Cloudflare for softwareupdate-prod.broadcom.com, suggesting the maintainer knows the official source but chose to mirror on their personal server instead. This is a genuine supply-chain concern: a compromised or malicious voxhost.fr could serve modified installer bundles that execute arbitrary code during the extraction step. The risk is real but not confirmed malicious, placing this squarely in the medium category.

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:70 "https://voxhost.fr/vmware-aur/16/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:350 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 VMware Workstation installer bundles (.bundle files) and VMware Tools component files from a personal/unofficial host (voxhost.fr) rather than from VMware/Broadcom's official distribution servers. These are executed binaries: the .bundle file is explicitly run with bash in the prepare() function to extract its contents. While the files have sha256sums listed (providing some integrity guarantee), those checksums were presumably generated by the maintainer from files they control on their own server — there is no way to verify these match what VMware/Broadcom actually ships. The official VMware Workstation bundles are available directly from Broadcom's download portal, and the PKGBUILD even sets up a custom DLAGENT to route through Cloudflare for softwareupdate-prod.broadcom.com, suggesting the maintainer knows the official source but chose to mirror on their personal server instead. This is a genuine supply-chain concern: a compromised or malicious voxhost.fr could serve modified installer bundles that execute arbitrary code during the extraction step. The risk is real but not confirmed malicious, placing this squarely in the medium category.

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-workstation16
16pkgver=16.2.5
17_buildver=20904516
18_pkgver=${pkgver}_${_buildver}
19pkgrel=16
20_tools_version=11.3.5_18557794
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)
33
34provides=(
35 vmware-workstation=$pkgver
36 vmware-ovftool
37)
38
39depends=(
40 dkms
41 fuse2
42 gtkmm3
43 libcanberra
44 libaio
45 pcsclite
46 hicolor-icon-theme
47 libxcrypt-compat # needed for ovftool
48 # needed to use Arch GTK3 library (for theme integration)
49 gtk3
50 gcr
51)
52
53optdepends=(
54 'linux-headers: build modules against Arch kernel'
55)
56
57makedepends=(
58 sqlite
59)
60
61backup=(
62 'etc/vmware/config'
63 'etc/conf.d/vmware'
64)
65
66DLAGENTS=("https::/usr/bin/curl -fLC - --connect-to softwareupdate-prod.broadcom.com:443:softwareupdate-prod.broadcom.com.cdn.cloudflare.net:443 --retry 3 --retry-delay 3 -o %o %u")
67
68
69source=(
70 "https://voxhost.fr/vmware-aur/16/VMware-Workstation-${_pkgver/_/-}.${CARCH}.bundle.tar"
71 "https://voxhost.fr/vmware-aur/16/vmware-tools-linux-${_tools_version/_/-}.${CARCH}.component.tar"
72 "https://voxhost.fr/vmware-aur/16/vmware-tools-linuxPreGlibc25-${_tools_version/_/-}.${CARCH}.component.tar"
73 "https://voxhost.fr/vmware-aur/16/vmware-tools-netware-${_tools_version/_/-}.${CARCH}.component.tar"
74 "https://voxhost.fr/vmware-aur/16/vmware-tools-solaris-${_tools_version/_/-}.${CARCH}.component.tar"
75 "https://voxhost.fr/vmware-aur/16/vmware-tools-windows-${_tools_version/_/-}.${CARCH}.component.tar"
76 "https://voxhost.fr/vmware-aur/16/vmware-tools-winPre2k-${_tools_version/_/-}.${CARCH}.component.tar"
77 "https://voxhost.fr/vmware-aur/16/vmware-tools-winPreVista-${_tools_version/_/-}.${CARCH}.component.tar"
78
79 'vmware-bootstrap'
80 'vmware-vix-bootstrap'
81 'config'
82 'configure-initscript.sh'
83 'vmware-environment.sh'
84
85 'vmware-networks-configuration.service'
86 'vmware-networks.service'
87 'vmware-usbarbitrator.service'
88 'vmware-networks.path'
89 'vmware-usbarbitrator.path'
90
91 'dkms.conf.in'
92 'Makefile'
93 'vmmon.patch'
94 'vmnet.patch'
95 'linux6_15.patch'
96 'linux6_16.patch'
97)
98
99sha256sums=(
100 '8052da7cf74a476474d3bfbca25db28ce8a63f97061ff19751942e9153c536fe'
101 'c6bfc203db32ac402c4570da19b138b372ba8eeb7879f511b2a1072beb15ebd7'
102 '389f7a9466a4fbe04b663a78e7b193b46607e58b1e588188196927dd8a6b1c7a'
103 'adae6b511b149a070abb5e08341b4c9b9259b1ecdb6ec1461bc2856c7129e204'
104 '23be28317d929133df70a88147d1a9e18e040dd495ee417195bb47883bc50853'
105 'dd9d620acd1a008168babe6973c673ceec763754a5a5a1670643a3fa5c911805'
106 'e7a3b9f747d4bf09b2bc6641a2eff78793b49721076af4db8a1b07bbba697544'
107 'b65127f2896870ee88cfb98ab6f2a38b40fcfc83a2dd0b2f069e11e4f99e4e65'
108
109 '12e7b16abf8d7e858532edabb8868919c678063c566a6535855b194aac72d55e'
110 'da1698bf4e73ae466c1c7fc93891eba4b9c4581856649635e6532275dbfea141'
111 '6bc68f19f46735220419c15efcd41d7d609c376441b57e316056d12e69d52d58'
112 '48d203450db426e8780f3696a2cf85ee08db004e93f8aca50a9aa24129b1e839'
113 'b94959a11b28e51b541321be0588190eb10825e9ff55cbd16eb01483a839a69f'
114
115 '9b4fbe0ba83f761a2eb9ecd05d48428f8b0a5b3abd8404ccbd928408e682f02b'
116 'c0a5aea785db06921fb350d36d5e0fd9a14f5eee0c835686ec6fea1af8c92245'
117 'd7a9fbf39a0345ae2f14f7f389f30b1110f605d187e0c241e99bbb18993c250d'
118 '16a73931894a65d43da489ff25d07647c0ecddf60d443b103bceca63504910fe'
119 'fe1b1be8297f4170406f97dd1f8b385d911faf45afe19cbc0c26b8092b3ddf8d'
120
121 'SKIP'
122 '273d4357599a3e54259c78cc49054fef8ecfd2c2eda35cbcde3a53a62777a5ac'
123 'e9a2f40a0cb0ca6cad4a562040573c3d8105f0f5f1748a94e907b0fe46e09c6e'
124 '696011a5e97772878f4714325d50e3acb9dabe79c54bd0fcee072e96a7e72a7d'
125 'SKIP'
126 'SKIP'
127)
128
129options=(!strip emptydirs !debug)
130
131if [ -z "$_remove_vmware_keymaps_dependency" ]; then
132depends+=(
133 vmware-keymaps
134)
135fi
136
137
138_isoimages=(linux linuxPreGlibc25 netware solaris windows winPre2k winPreVista)
139_isovirtualprinterimages=(Linux Windows)
140
141if [ -n "$_enable_macOS_guests" ]; then
142
143_vmware_fusion_ver=12.2.5
144_vmware_fusion_buildver=20904517
145_vmware_fusion_ver_full=${_vmware_fusion_ver}_${_vmware_fusion_buildver}
146# List of VMware Fusion versions: https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/
147
148makedepends+=(
149 python
150 p7zip
151 uefitool
152)
153
154source+=(
155 "VMware-Fusion-${_vmware_fusion_ver_full/_/-}_x86.zip.tar::https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/${_vmware_fusion_ver}/${_vmware_fusion_buildver}/x86/core/com.vmware.fusion.zip.tar"
156 "unlocker.py"
157 "efi-patches.txt"
158)
159
160sha256sums+=(
161 '2cf20b4b79a8b96e6c77c26fc7487db97946e158e3cb65dd52848b78770db1da'
162 '8a61e03d0edbbf60c1c84a43aa87a6e950f82d2c71b968888f019345c2f684f3'
163 '392c1effcdec516000e9f8ffc97f2586524d8953d3e7d6f2c5f93f2acd809d91'
164)
165
166_fusion_isoimages=(darwin darwinPre15)
167fi
168
169
170_create_database_file() {
171 # Create a database which contains the list of guest tools (necessary to avoid that vmware try to download them)
172 local database_filename="$pkgdir/etc/vmware-installer/database"
173 echo -n "" > "$database_filename"
174
175 sqlite3 "$database_filename" "CREATE TABLE settings(key VARCHAR PRIMARY KEY, value VARCHAR NOT NULL, component_name VARCHAR NOT NULL);"
176 sqlite3 "$database_filename" "INSERT INTO settings(key,value,component_name) VALUES('db.schemaVersion','2','vmware-installer');"
177 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);"
178
179 for isoimage in ${_isoimages[@]}
180 do
181 local version=$(cat "$srcdir/extracted/vmware-tools-$isoimage/manifest.xml" | grep -oPm1 "(?<=<version>)[^<]+")
182 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);"
183 done
184
185if [ -n "$_enable_macOS_guests" ]; then
186 for isoimage in ${_fusion_isoimages[@]}
187 do
188 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);"
189 done
190fi
191}
192
193prepare() {
194 extracted_dir="$srcdir/extracted"
195 [[ -d "$extracted_dir" ]] && rm -r "$extracted_dir"
196
197 bash \
198 "$(readlink -f "$srcdir/VMware-Workstation-${_pkgver/_/-}.${CARCH}.bundle")" \
199 --install-component "vmware-tools-linux-${_tools_version/_/-}.${CARCH}.component" \
200 --install-component "vmware-tools-linuxPreGlibc25-${_tools_version/_/-}.${CARCH}.component" \
201 --install-component "vmware-tools-netware-${_tools_version/_/-}.${CARCH}.component" \
202 --install-component "vmware-tools-solaris-${_tools_version/_/-}.${CARCH}.component" \
203 --install-component "vmware-tools-windows-${_tools_version/_/-}.${CARCH}.component" \
204 --install-component "vmware-tools-winPre2k-${_tools_version/_/-}.${CARCH}.component" \
205 --install-component "vmware-tools-winPreVista-${_tools_version/_/-}.${CARCH}.component" \
206 --extract "$extracted_dir"
207
208if [ -n "$_enable_macOS_guests" ]; then
209 7z e -y com.vmware.fusion.zip payload/VMware\ Fusion.app/Contents/Library/isoimages/\* -o"fusion-isoimages" > /dev/null
210
211 sed -i -e "s|/usr/lib/vmware/|${pkgdir}/usr/lib/vmware/|" "$srcdir/unlocker.py"
212fi
213}
214
215package() {
216 local vmware_installer_version=$(cat "$srcdir/extracted/vmware-installer/manifest.xml" | grep -oPm1 "(?<=<version>)[^<]+")
217
218 # Make directories and copy files.
219
220 mkdir -p \
221 "$pkgdir/etc"/{cups,pam.d,modprobe.d,thnuclnt,vmware} \
222 "$pkgdir/usr"/{share,bin} \
223 "$pkgdir/usr/include/vmware-vix" \
224 "$pkgdir/usr/lib"/{vmware/setup,vmware-vix,vmware-ovftool,vmware-installer/"$vmware_installer_version",cups/filter,modules-load.d} \
225 "$pkgdir/usr/share"/{doc/vmware-vix,licenses/"$pkgname"} \
226 "$pkgdir/var/lib/vmware/Shared VMs"
227
228 cd "$srcdir/extracted"
229
230 cp -r \
231 vmware-workstation/share/* \
232 vmware-workstation/man \
233 vmware-network-editor-ui/share/* \
234 vmware-player-app/share/* \
235 "$pkgdir/usr/share"
236
237 cp -r \
238 vmware-workstation/bin/* \
239 vmware-vmx/{,s}bin/* \
240 vmware-vix-core/bin/* \
241 vmware-vprobe/bin/* \
242 vmware-player-app/bin/* \
243 "$pkgdir/usr/bin"
244
245 cp -r \
246 vmware-workstation/lib/* \
247 vmware-player-app/lib/* \
248 vmware-vmx/{lib/*,roms} \
249 vmware-vprobe/lib/* \
250 vmware-usbarbitrator/bin \
251 vmware-network-editor/lib \
252 "$pkgdir/usr/lib/vmware"
253
254 cp -r \
255 vmware-player-setup/vmware-config \
256 "$pkgdir/usr/lib/vmware/setup"
257
258 cp -r \
259 vmware-vix-lib-Workstation1600/lib/Workstation-16.0.0 \
260 vmware-vix-core/{lib/*,vixwrapper-config.txt} \
261 "$pkgdir/usr/lib/vmware-vix"
262
263 cp -r \
264 vmware-vix-core/doc/* \
265 "$pkgdir/usr/share/doc/vmware-vix"
266
267 cp -r \
268 vmware-ovftool/* \
269 "$pkgdir/usr/lib/vmware-ovftool"
270
271 cp -r \
272 vmware-installer/{python,sopython,vmis,vmis-launcher,vmware-installer,vmware-installer.py} \
273 "$pkgdir/usr/lib/vmware-installer/$vmware_installer_version"
274
275 cp -r \
276 vmware-player-app/etc/cups/* \
277 "$pkgdir/etc/cups"
278 cp -r \
279 vmware-player-app/extras/.thnumod \
280 "$pkgdir/etc/thnuclnt"
281 cp -r \
282 vmware-player-app/extras/thnucups \
283 "$pkgdir/usr/lib/cups/filter"
284
285 cp -r \
286 vmware-vix-core/include/* \
287 "$pkgdir/usr/include/vmware-vix"
288
289 for isoimage in ${_isoimages[@]}
290 do
291 install -Dm 644 "vmware-tools-$isoimage/$isoimage.iso" "$pkgdir/usr/lib/vmware/isoimages/$isoimage.iso"
292 done
293
294 for isoimage in ${_isovirtualprinterimages[@]}
295 do
296 install -Dm 644 "vmware-virtual-printer/VirtualPrinter-$isoimage.iso" "$pkgdir/usr/lib/vmware/isoimages/VirtualPrinter-$isoimage.iso"
297 done
298
299 install -Dm 644 "vmware-workstation/doc/EULA" "$pkgdir/usr/share/doc/vmware-workstation/EULA"
300 ln -s "/usr/share/doc/vmware-workstation/EULA" "$pkgdir/usr/share/licenses/$pkgname/VMware Workstation - EULA.txt"
301 ln -s "/usr/lib/vmware-ovftool/vmware.eula" "$pkgdir/usr/share/licenses/$pkgname/VMware OVF Tool - EULA.txt"
302 install -Dm 644 "vmware-workstation/doc"/open_source_licenses.txt "$pkgdir/usr/share/licenses/$pkgname/VMware Workstation open source license.txt"
303 install -Dm 644 "vmware-workstation/doc"/ovftool_open_source_licenses.txt "$pkgdir/usr/share/licenses/$pkgname/VMware OVF Tool open source license.txt"
304 install -Dm 644 "vmware-vix-core"/open_source_licenses.txt "$pkgdir/usr/share/licenses/$pkgname/VMware VIX open source license.txt"
305 rm "$pkgdir/usr/lib/vmware-ovftool"/{vmware-eula.rtf,open_source_licenses.txt,manifest.xml}
306
307 install -d -m 755 "$pkgdir/usr/lib/vmware-installer/$vmware_installer_version"/{lib/lib,artwork}
308 install -Dm 755 "$srcdir/configure-initscript.sh" "$pkgdir/usr/lib/vmware-installer/$vmware_installer_version/bin/configure-initscript.sh"
309
310 install -Dm 644 "vmware-vmx/etc/modprobe.d/modprobe-vmware-fuse.conf" "$pkgdir/etc/modprobe.d/vmware-fuse.conf"
311
312 install -Dm 644 vmware-vmx/extra/modules.xml "$pkgdir"/usr/lib/vmware/modules/modules.xml
313 install -Dm 644 vmware-installer/bootstrap "$pkgdir"/etc/vmware-installer/bootstrap
314 install -Dm 644 "$srcdir"/vmware-vix-bootstrap "$pkgdir"/etc/vmware-vix/bootstrap
315 install -Dm 644 "$srcdir"/vmware-bootstrap "$pkgdir"/etc/vmware/bootstrap
316 install -Dm 644 "$srcdir"/config "$pkgdir"/etc/vmware/config
317
318if [ -z "$_remove_vmware_keymaps_dependency" ]; then
319 rm -r "$pkgdir/usr/lib/vmware/xkeymap" # these files are provided by vmware-keymaps package
320fi
321
322 echo -e "vmw_vmci\nvmmon" > "$pkgdir/usr/lib/modules-load.d/vmware.conf"
323
324 for service_file in \
325 vmware-networks-configuration.service \
326 vmware-networks.service \
327 vmware-usbarbitrator.service \
328 vmware-networks.path \
329 vmware-usbarbitrator.path
330 do
331 install -Dm 644 \
332 "$srcdir/$service_file" \
333 "$pkgdir/usr/lib/systemd/system/$service_file"
334 done
335
336
337 # Apply permissions where necessary.
338
339 chmod +x \
340 "$pkgdir/usr/bin"/* \
341 "$pkgdir/usr/lib/vmware/bin"/* \
342 "$pkgdir/usr/lib/vmware/setup"/* \
343 "$pkgdir/usr/lib/vmware/lib"/libvmware-gksu.so/gksu-run-helper \
344 "$pkgdir/usr/lib/vmware-ovftool"/{ovftool,ovftool.bin} \
345 "$pkgdir/usr/lib/vmware-installer/$vmware_installer_version"/{vmware-installer,vmis-launcher} \
346 "$pkgdir/usr/lib/cups/filter"/* \
347 "$pkgdir/usr/lib/vmware-vix/setup"/* \
348 "$pkgdir/etc/thnuclnt/.thnumod"
349
350 chmod +s \
351 "$pkgdir/usr/bin"/vmware-authd \
352 "$pkgdir/usr/lib/vmware/bin"/{vmware-vmx,vmware-vmx-debug,vmware-vmx-stats}
353
354
355 # Add symlinks the installer would create.
356
357 for link in \
358 licenseTool \
359 vmplayer \
360 vmware \
361 vmware-app-control \
362 vmware-enter-serial \
363 vmware-fuseUI \
364 vmware-gksu \
365 vmware-modconfig \
366 vmware-modconfig-console \
367 vmware-mount \
368 vmware-netcfg \
369 vmware-setup-helper \
370 vmware-tray \
371 vmware-vmblock-fuse \
372 vmware-vprobe \
373 vmware-zenity
374 do
375 ln -s /usr/lib/vmware/bin/appLoader "$pkgdir/usr/lib/vmware/bin/$link"
376 done
377
378 for link in \
379 vmrest
380 do
381 ln -s /usr/lib/vmware/bin/appLoader "$pkgdir/usr/bin/$link"
382 done
383
384 for link in \
385 vmware-fuseUI \
386 vmware-mount \
387 vmware-netcfg \
388 vmware-usbarbitrator
389 do
390 ln -s /usr/lib/vmware/bin/$link "$pkgdir/usr/bin/$link"
391 done
392
393 ln -s /usr/lib/vmware/icu "$pkgdir/etc/vmware/icu"
394 ln -s /usr/lib/vmware-ovftool/ovftool "$pkgdir/usr/bin/ovftool"
395 ln -s /usr/lib/vmware-vix/libvixAllProducts.so "$pkgdir/usr/lib/libvixAllProducts.so"
396
397
398 # Replace placeholder "variables" with real paths.
399
400 for file in \
401 gtk-3.0/gdk-pixbuf.loaders
402 do
403 sed -i 's,@@LIBCONF_DIR@@,/usr/lib/vmware/libconf,g' "$pkgdir/usr/lib/vmware/libconf/etc/$file"
404 done
405
406 sed -i 's,@@BINARY@@,/usr/bin/vmware,' "$pkgdir/usr/share/applications/vmware-workstation.desktop"
407 sed -i 's,@@BINARY@@,/usr/bin/vmplayer,' "$pkgdir/usr/share/applications/vmware-player.desktop"
408 sed -i 's,@@BINARY@@,/usr/bin/vmware-netcfg,' "$pkgdir/usr/share/applications/vmware-netcfg.desktop"
409
410 sed \
411 -e "s/@@VERSION@@/$vmware_installer_version/" \
412 -e "s,@@VMWARE_INSTALLER@@,/usr/lib/vmware-installer/$vmware_installer_version," \
413 -i "$pkgdir/etc/vmware-installer/bootstrap"
414
415
416 # Patch up the VMware kernel sources and configure DKMS.
417
418 dkms_dir="$pkgdir/usr/src/$pkgname-$_pkgver"
419
420 install -Dm 644 "$srcdir/Makefile" "$dkms_dir/Makefile"
421 install -Dm 644 "$srcdir/dkms.conf.in" "$dkms_dir/dkms.conf"
422
423 sed \
424 -e "s/@PKGNAME@/$pkgname/g" \
425 -e "s/@PKGVER@/$_pkgver/g" \
426 -i "$dkms_dir/dkms.conf"
427
428 for module in vmmon vmnet; do
429 tar -xf "vmware-vmx/lib/modules/source/$module.tar" -C "$dkms_dir"
430 msg "Patching $module module for DKMS"
431 patch -p2 --read-only=ignore --directory="$dkms_dir/$module-only" < "$srcdir/$module.patch"
432 done
433 patch -p1 --read-only=ignore --directory="$dkms_dir/" < "$srcdir/linux6_15.patch"
434 patch -p1 --read-only=ignore --directory="$dkms_dir/" < "$srcdir/linux6_16.patch"
435 rm -r "$pkgdir/usr/lib/vmware/modules/source"
436
437if [ -n "$_enable_macOS_guests" ]; then
438 msg "Patching VMware to enable macOS guest support"
439 python3 "$srcdir/unlocker.py" > /dev/null
440
441 for isoimage in ${_fusion_isoimages[@]}
442 do
443 install -Dm 644 "$srcdir/fusion-isoimages/$isoimage.iso" "$pkgdir/usr/lib/vmware/isoimages/$isoimage.iso"
444 done
445
446 msg "Patching EFI firmwares to disable macOS server checking"
447 _efi_arch=("32" "64")
448 for arch in ${_efi_arch[@]}
449 do
450 uefipatch "$pkgdir/usr/lib/vmware/roms/EFI${arch}.ROM" "$srcdir/efi-patches.txt" -o "$pkgdir/usr/lib/vmware/roms/EFI${arch}.ROM" > /dev/null
451 done
452fi
453
454 _create_database_file
455
456 # Define some environment variables for VMware and remove the tests about kernel modules
457 install -Dm 644 "$srcdir/vmware-environment.sh" "$pkgdir/etc/conf.d/vmware"
458 for program in vmware vmplayer vmware-tray; do
459 sed -e '/export PRODUCT_NAME/asource /etc/conf.d/vmware' \
460 -e 's/if "$BINDIR"\/vmware-modconfig --appname=.*/if true ||/' \
461 -i "$pkgdir/usr/bin/$program"
462 done
463
464 # Add StartupWMClass attribute to desktop files
465 sed -i '/^StartupNotify=.*/a StartupWMClass=vmware' "$pkgdir/usr/share/applications/vmware-workstation.desktop"
466 sed -i '/^StartupNotify=.*/a StartupWMClass=vmplayer' "$pkgdir/usr/share/applications/vmware-player.desktop"
467 sed -i '/^StartupNotify=.*/a StartupWMClass=vmware-netcfg' "$pkgdir/usr/share/applications/vmware-netcfg.desktop"
468}
469

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