vmware-workstation12
The package downloads prebuilt VMware binaries and tools from a non-official, untrusted third-party S3 host (hessfr.s3.lyn.io.hostmyservers.net), which presents a supply-chain risk due to the potential for silent replacement of proprietary, unverifiable executables; however, it does not execute remote code or exfiltrate data.
Triggered rules
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:71
"https://hessfr.s3.lyn.io.hostmyservers.net/vmware/12/VMware-Workstation-${_pkgver/_/-}.${CARCH}.bundle.tar"
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:384
chmod +s \
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 85%): The package downloads prebuilt VMware binaries and tools from a non-official, untrusted third-party S3 host (hessfr.s3.lyn.io.hostmyservers.net), which presents a supply-chain risk due to the potential for silent replacement of proprietary, unverifiable executables; however, it does not execute remote code or exfiltrate data.
PKGBUILD
2 offending line(s) highlighted# Maintainer: Voxan24 <admin "at" hessfr "dot" fr>
# To enable macOS guests support, uncomment the line below:
#_enable_macOS_guests=y
# CAUTION: Running macOS on VMware Workstation on non Apple computer is forbidden by
# Apple and VMware EULAs.
# vmware-keymaps dependency is needed to avoid some conflicts when you install
# this package with vmware-horizon-client. If you don't plan to install
# vmware-horizon-client and don't want to add this dependency, you can
# uncomment the line below:
#_remove_vmware_keymaps_dependency=y
#PKGEXT=.pkg.tar
pkgname=vmware-workstation12
pkgver=12.5.9
_buildver=7535481
_pkgver=${pkgver}_${_buildver}
pkgrel=37
_tools_version=10.1.6-5214329
pkgdesc='The industry standard for running multiple operating systems as virtual machines on a single Linux PC.'
arch=(x86_64)
url='https://www.vmware.com/products/workstation-for-linux.html'
license=(custom)
install="vmware-workstation.install"
conflicts=(
vmware-workstation
vmware-modules-dkms
vmware-ovftool
vmware-patch
vmware-systemd-services
)
provides=(
vmware-workstation=$pkgver
vmware-ovftool
)
depends=(
dkms
ncurses5-compat-libs
fuse2
gtkmm
libcanberra
hicolor-icon-theme
libxcrypt-compat # needed for ovftool
# needed to replace internal libs:
fontconfig
freetype2
zlib
)
optdepends=(
'linux-headers: build modules against Arch kernel'
)
makedepends=(
sqlite
)
backup=(
'etc/vmware/config'
'etc/vmware/hostd/authorization.xml'
'etc/vmware/hostd/config.xml'
'etc/vmware/hostd/datastores.xml'
'etc/vmware/hostd/dispatcher.xml'
'etc/vmware/hostd/proxy.xml'
'etc/vmware/hostd/tagExtractor.xml'
'etc/vmware/netmap.conf'
'etc/vmware/ssl/hostd.ssl.config'
'etc/pam.d/vmware-authd'
'etc/conf.d/vmware'
)
#Mirrored from the VMware CDN.
source=(
"https://hessfr.s3.lyn.io.hostmyservers.net/vmware/12/VMware-Workstation-${_pkgver/_/-}.${CARCH}.bundle.tar"
"https://hessfr.s3.lyn.io.hostmyservers.net/vmware/12/vmware-tools-freebsd-${_tools_version/_/-}.${CARCH}.component.tar"
"https://hessfr.s3.lyn.io.hostmyservers.net/vmware/12/vmware-tools-linux-${_tools_version/_/-}.${CARCH}.component.tar"
"https://hessfr.s3.lyn.io.hostmyservers.net/vmware/12/vmware-tools-linuxPreGlibc25-${_tools_version/_/-}.${CARCH}.component.tar"
"https://hessfr.s3.lyn.io.hostmyservers.net/vmware/12/vmware-tools-netware-${_tools_version/_/-}.${CARCH}.component.tar"
"https://hessfr.s3.lyn.io.hostmyservers.net/vmware/12/vmware-tools-solaris-${_tools_version/_/-}.${CARCH}.component.tar"
"https://hessfr.s3.lyn.io.hostmyservers.net/vmware/12/vmware-tools-windows-${_tools_version/_/-}.${CARCH}.component.tar"
"https://hessfr.s3.lyn.io.hostmyservers.net/vmware/12/vmware-tools-winPre2k-${_tools_version/_/-}.${CARCH}.component.tar"
"https://hessfr.s3.lyn.io.hostmyservers.net/vmware/12/vmware-tools-winPreVista-${_tools_version/_/-}.${CARCH}.component.tar"
'vmware-bootstrap'
'vmware-vix-bootstrap'
'config'
'pam.d-vmware-authd'
'configure-initscript.sh'
'vmware-environment.sh'
'config.xml'
'datastores.xml'
'environments.xml'
'proxy.xml'
'vmAutoStart.xml'
'vmware-hostd-certificates.service'
'vmware-hostd.service'
'vmware-authd.service'
'vmware-networks-configuration.service'
'vmware-networks.service'
'vmware-usbarbitrator.service'
'vmware-networks.path'
'vmware-usbarbitrator.path'
'dkms.conf.in'
'Makefile'
'vmmon.patch'
'vmnet.patch'
)
sha256sums=(
'bcc7d49d5d93f397920f8ea6e5166b49f1a91ce6a1b4366e9e686ad7530bf9fe'
'32f6b9ad4f8bce35796cbee51faa4f12f5b7bcd94b5d0622e5377167aafff394'
'409aacb7413a6f8cda959b35b778d3a167e08c0afa365e3e6755601412a4c5cf'
'b504f04a8a95e018a8e9d94dcb6d60da22bd65e4bbb0b6b482bfc791367acfc2'
'7fbd9063e5cd993b16741e335f602139735df0cf91f18afdb0cefa954620c554'
'ed79d279e61f3227d01b73c0cce2400af47edc1253b43b50a384590332efb176'
'eb6d2e89bec8f6ec8c946cabd7a8e27b4fc95b23cad38e7f2697ab33722b4308'
'40f37a11279b7c55f9dae3acb533a3cf8dafd083d6b10048857a6d5749fe79ed'
'f0a6d5992cd3ee188f1974b2a93285ab215d69afb0e9952ad0173caedb5a5a50'
'12e7b16abf8d7e858532edabb8868919c678063c566a6535855b194aac72d55e'
'da1698bf4e73ae466c1c7fc93891eba4b9c4581856649635e6532275dbfea141'
'8e3a6302ed8798a6b14780be41dbc05dd4cfbda88c87b97df1c2bea960e15db7'
'd50aa0a3fe94025178965d988e18d41eb60aa1ce2b28ee6e3ca15edeabfa2ca7'
'8e4d08668a66be79a900521792b39c16a026cc90659241edee80b64e701bfbcd'
'b94959a11b28e51b541321be0588190eb10825e9ff55cbd16eb01483a839a69f'
'd0806b6cb99af04232585def7b8043df3104b9b17470ea70abbd5bedc1e7ca16'
'434cd4aa440d36b75ee20e0b588aaad874bb0d796173990bc4046667c66f5099'
'25c5aa39489d14a60f9cb30bdd7b21d36399c3355daee8bf5fbebcb62fe9f45f'
'3c802523606184a5e8ebbe931d9c6c70d83ff8c6833b9f48aa264f0bd5a18a88'
'ad522a8cbc6103134ce5e677a01b503cd21875cbceb37bd13fd870ebd9ad0e6d'
'f9440479f3ae5ad0a39bba3150276627878bf83d6879444fb327c53a1dbb5a4d'
'42594b60085d0bbef01ab07b9f8b0d18640001107ce61cc0ddf02d0ab415140f'
'e4c2e97acf07c52de570dd4333d67acfb593db719937a563c6075ab773dcce33'
'9b4fbe0ba83f761a2eb9ecd05d48428f8b0a5b3abd8404ccbd928408e682f02b'
'c0a5aea785db06921fb350d36d5e0fd9a14f5eee0c835686ec6fea1af8c92245'
'd7a9fbf39a0345ae2f14f7f389f30b1110f605d187e0c241e99bbb18993c250d'
'16a73931894a65d43da489ff25d07647c0ecddf60d443b103bceca63504910fe'
'fe1b1be8297f4170406f97dd1f8b385d911faf45afe19cbc0c26b8092b3ddf8d'
'10562d11d50edab9abc2b29c8948714edcb9b084f99b3766d07ddd21259e372e'
'273d4357599a3e54259c78cc49054fef8ecfd2c2eda35cbcde3a53a62777a5ac'
'b0e01be6f0521da8a70fc4e34418aeed1b6825ea9b2dbf3353528427b4bad482'
'23f91cb28603dfdf48216450136c948d417fc0b95d52e024729846d168624b0c'
)
options=(!strip emptydirs !debug)
if [ -z "$_remove_vmware_keymaps_dependency" ]; then
depends+=(
vmware-keymaps
)
fi
_isoimages=(freebsd linux linuxPreGlibc25 netware solaris windows winPre2k winPreVista)
if [ -n "$_enable_macOS_guests" ]; then
#old var, latest version mirrored
_vmware_fusion_ver=8.5.10
_vmware_fusion_buildver=7527438
_vmware_fusion_ver_full=${_vmware_fusion_ver}_${_vmware_fusion_buildver}
# List of VMware Fusion versions: https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/ -- Dead now
makedepends+=(
python
p7zip
uefitool
)
source+=(
"darwinPre15-tools-${_vmware_fusion_ver_full}.zip.tar::https://hessfr.s3.lyn.io.hostmyservers.net/vmware/12/com.vmware.fusion.tools.darwinPre15.zip.tar"
"darwin-tools-${_vmware_fusion_ver_full}.zip.tar::https://hessfr.s3.lyn.io.hostmyservers.net/vmware/12/com.vmware.fusion.tools.darwin.zip.tar"
"unlocker.py"
"efi-patches.txt"
)
sha256sums+=(
'78aaa6ba65d178d6242ad73b7e2e552ec707798ce5f4925a0adebf30f844dc17'
'6327a76c2503f56d8bc67279f289ed4bb53e236d965ad78c0fcf7ee9e2bbb6c6'
'8a61e03d0edbbf60c1c84a43aa87a6e950f82d2c71b968888f019345c2f684f3'
'392c1effcdec516000e9f8ffc97f2586524d8953d3e7d6f2c5f93f2acd809d91'
)
_fusion_isoimages=(darwin darwinPre15)
fi
_create_database_file() {
# Create a database which contains the list of guest tools (necessary to avoid that vmware try to download them)
local database_filename="$pkgdir/etc/vmware-installer/database"
echo -n "" > "$database_filename"
sqlite3 "$database_filename" "CREATE TABLE settings(key VARCHAR PRIMARY KEY, value VARCHAR NOT NULL, component_name VARCHAR NOT NULL);"
sqlite3 "$database_filename" "INSERT INTO settings(key,value,component_name) VALUES('db.schemaVersion','2','vmware-installer');"
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);"
for isoimage in ${_isoimages[@]}
do
local version=$(cat "$srcdir/extracted/vmware-tools-$isoimage/manifest.xml" | grep -oPm1 "(?<=<version>)[^<]+")
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);"
done
if [ -n "$_enable_macOS_guests" ]; then
for isoimage in ${_fusion_isoimages[@]}
do
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);"
done
fi
}
prepare() {
extracted_dir="$srcdir/extracted"
[[ -d "$extracted_dir" ]] && rm -r "$extracted_dir"
bash \
"$(readlink -f "$srcdir/VMware-Workstation-${_pkgver/_/-}.${CARCH}.bundle")" \
--install-component "vmware-tools-freebsd-${_tools_version/_/-}.${CARCH}.component" \
--install-component "vmware-tools-linux-${_tools_version/_/-}.${CARCH}.component" \
--install-component "vmware-tools-linuxPreGlibc25-${_tools_version/_/-}.${CARCH}.component" \
--install-component "vmware-tools-netware-${_tools_version/_/-}.${CARCH}.component" \
--install-component "vmware-tools-solaris-${_tools_version/_/-}.${CARCH}.component" \
--install-component "vmware-tools-windows-${_tools_version/_/-}.${CARCH}.component" \
--install-component "vmware-tools-winPre2k-${_tools_version/_/-}.${CARCH}.component" \
--install-component "vmware-tools-winPreVista-${_tools_version/_/-}.${CARCH}.component" \
--extract "$extracted_dir"
if [ -n "$_enable_macOS_guests" ]; then
for isoimage in ${_fusion_isoimages[@]}
do
7z e -y com.vmware.fusion.tools.$isoimage.zip payload/\* -o"fusion-isoimages" > /dev/null
done
sed -i -e "s|/usr/lib/vmware/|${pkgdir}/usr/lib/vmware/|" "$srcdir/unlocker.py"
fi
}
package() {
local vmware_installer_version=$(cat "$srcdir/extracted/vmware-installer/manifest.xml" | grep -oPm1 "(?<=<version>)[^<]+")
# Make directories and copy files.
mkdir -p \
"$pkgdir/etc"/{cups,pam.d,modprobe.d,thnuclnt,vmware} \
"$pkgdir/usr"/{share,bin} \
"$pkgdir/usr/include/vmware-vix" \
"$pkgdir/usr/lib"/{vmware/setup,vmware-vix,vmware-ovftool,vmware-installer/"$vmware_installer_version",cups/filter,modules-load.d} \
"$pkgdir/usr/share"/{doc/vmware-vix,licenses/"$pkgname"} \
"$pkgdir/var/lib/vmware/Shared VMs"
cd "$srcdir/extracted"
cp -r \
vmware-workstation/share/* \
vmware-workstation/man \
vmware-network-editor-ui/share/* \
vmware-player-app/share/* \
"$pkgdir/usr/share"
cp -r \
vmware-workstation/bin/* \
vmware-vmx/{,s}bin/* \
vmware-vix-core/bin/* \
vmware-vprobe/bin/* \
vmware-workstation-server/{vmware-hostd,vmware-vim-cmd,vmware-wssc-adminTool} \
vmware-network-editor-ui/bin/* \
vmware-player-app/bin/* \
"$pkgdir/usr/bin"
cp -r \
vmware-workstation/lib/* \
vmware-player-app/lib/* \
vmware-vmx/lib/* \
vmware-vprobe/lib/* \
vmware-workstation-server/{bin,lib,hostd} \
vmware-usbarbitrator/bin \
vmware-network-editor/lib \
"$pkgdir/usr/lib/vmware"
cp -r \
vmware-player-setup/vmware-config \
"$pkgdir/usr/lib/vmware/setup"
cp -rL \
vmware-workstation-server/config/etc/vmware/* \
vmware-workstation-server/etc/vmware/* \
"$pkgdir/etc/vmware"
cp -r \
vmware-vix-lib-Workstation1200/lib/Workstation-12.0.0 \
vmware-vix-core/{lib/*,vixwrapper-config.txt} \
"$pkgdir/usr/lib/vmware-vix"
cp vmware-vix-core/vix-perl.tar.nogz "$pkgdir/usr/lib/vmware-vix/vix-perl.tar.gz"
cp -r \
vmware-vix-core/doc/* \
"$pkgdir/usr/share/doc/vmware-vix"
cp -r \
vmware-ovftool/* \
"$pkgdir/usr/lib/vmware-ovftool"
cp -r \
vmware-installer/{python,sopython,vmis,vmis-launcher,vmware-installer,vmware-installer.py} \
"$pkgdir/usr/lib/vmware-installer/$vmware_installer_version"
cp -r \
vmware-player-app/etc/cups/* \
"$pkgdir/etc/cups"
cp -r \
vmware-player-app/extras/thnucups \
"$pkgdir/usr/lib/cups/filter"
cp -r \
vmware-vix-core/include/* \
"$pkgdir/usr/include/vmware-vix"
for isoimage in ${_isoimages[@]}
do
install -Dm 644 "vmware-tools-$isoimage/$isoimage.iso" "$pkgdir/usr/lib/vmware/isoimages/$isoimage.iso"
install -Dm 644 "vmware-tools-$isoimage/$isoimage.iso.sig" "$pkgdir/usr/lib/vmware/isoimages/$isoimage.iso.sig"
done
install -Dm 644 "vmware-player-app/doc/LearnMore.txt" "$pkgdir/usr/share/licenses/$pkgname/Privacy.txt"
install -Dm 644 "vmware-workstation/doc/EULA" "$pkgdir/usr/share/licenses/$pkgname/VMware Workstation - EULA.txt"
install -Dm 644 "$pkgdir/usr/lib/vmware-ovftool/vmware.eula" "$pkgdir/usr/share/licenses/$pkgname/VMware OVF Tool - EULA.txt"
install -Dm 644 "vmware-workstation/doc"/open_source_licenses.txt "$pkgdir/usr/share/licenses/$pkgname/VMware Workstation open source license.txt"
install -Dm 644 "vmware-workstation/doc"/ovftool_open_source_licenses.txt "$pkgdir/usr/share/licenses/$pkgname/VMware OVF Tool open source license.txt"
install -Dm 644 "vmware-vix-core"/open_source_licenses.txt "$pkgdir/usr/share/licenses/$pkgname/VMware VIX open source license.txt"
rm "$pkgdir/usr/lib/vmware-ovftool"/{vmware.eula,vmware-eula.rtf,open_source_licenses.txt,manifest.xml}
install -Dm 755 "$srcdir/configure-initscript.sh" "$pkgdir/usr/lib/vmware-installer/$vmware_installer_version/bin/configure-initscript.sh"
install -Dm 644 "vmware-vmx/etc/modprobe.d/modprobe-vmware-fuse.conf" "$pkgdir/etc/modprobe.d/vmware-fuse.conf"
install -Dm 644 vmware-player-app/lib/isoimages/tools-key.pub "$pkgdir/usr/lib/vmware/isoimages/tools-key.pub"
install -Dm 644 vmware-vmx/extra/modules.xml "$pkgdir"/usr/lib/vmware/modules/modules.xml
install -Dm 644 vmware-installer/bootstrap "$pkgdir"/etc/vmware-installer/bootstrap
install -Dm 644 "$srcdir"/vmware-vix-bootstrap "$pkgdir"/etc/vmware-vix/bootstrap
install -Dm 644 "$srcdir"/vmware-bootstrap "$pkgdir"/etc/vmware/bootstrap
install -Dm 644 "$srcdir"/config "$pkgdir"/etc/vmware/config
if [ -z "$_remove_vmware_keymaps_dependency" ]; then
rm -r "$pkgdir/usr/lib/vmware/xkeymap" # these files are provided by vmware-keymaps package
fi
for hostd_file in config datastores environments proxy vmAutoStart; do
install -Dm 644 "$srcdir/$hostd_file.xml" "$pkgdir/etc/vmware/hostd/$hostd_file.xml"
done
install -Dm 644 "$srcdir/pam.d-vmware-authd" "$pkgdir/etc/pam.d/vmware-authd"
echo -e "vmw_vmci\nvmmon" > "$pkgdir/usr/lib/modules-load.d/vmware.conf"
for service_file in \
vmware-hostd-certificates.service \
vmware-hostd.service \
vmware-authd.service \
vmware-networks-configuration.service \
vmware-networks.service \
vmware-usbarbitrator.service \
vmware-networks.path \
vmware-usbarbitrator.path
do
install -Dm 644 \
"$srcdir/$service_file" \
"$pkgdir/usr/lib/systemd/system/$service_file"
done
# Apply permissions where necessary.
chmod +x \
"$pkgdir/usr/bin"/* \
"$pkgdir/usr/lib/vmware/bin"/* \
"$pkgdir/usr/lib/vmware/setup"/* \
"$pkgdir/usr/lib/vmware/lib"/{wrapper-gtk24.sh,libgksu2.so.0/gksu-run-helper} \
"$pkgdir/usr/lib/vmware-ovftool"/{ovftool,ovftool.bin} \
"$pkgdir/usr/lib/vmware-installer/$vmware_installer_version"/{vmware-installer,vmis-launcher} \
"$pkgdir/usr/lib/cups/filter"/* \
"$pkgdir/usr/lib/vmware-vix/setup"/*
chmod -R 600 "$pkgdir/etc/vmware/ssl"
chmod +s \
"$pkgdir/usr/bin"/{vmware-authd,vmware-mount} \
"$pkgdir/usr/lib/vmware/bin"/{vmware-vmx,vmware-vmx-debug,vmware-vmx-stats}
# Add symlinks the installer would create.
for link in \
licenseTool \
thnuclnt \
vmplayer \
vmware \
vmware-app-control \
vmware-enter-serial \
vmware-fuseUI \
vmware-gksu \
vmware-modconfig \
vmware-modconfig-console \
vmware-netcfg \
vmware-tray \
vmware-unity-helper \
vmware-vmblock-fuse \
vmware-zenity
do
ln -s /usr/lib/vmware/bin/appLoader "$pkgdir/usr/lib/vmware/bin/$link"
done
for floppy in \
pvscsi-Windows2003 \
pvscsi-Windows2008 \
pvscsi-WindowsXP \
vmscsi
do
ln -s /usr/lib/vmware/floppies/${floppy}.flp "$pkgdir/usr/lib/vmware/resources/${floppy}.flp"
done
ln -s /usr/lib/vmware/icu "$pkgdir/etc/vmware/icu"
ln -s /usr/lib/vmware/bin/vmware-usbarbitrator "$pkgdir/usr/bin/vmware-usbarbitrator"
ln -s /usr/lib/vmware/bin/vmware-hostd "$pkgdir/usr/lib/vmware/bin/vmware-vim-cmd"
ln -s /usr/lib/vmware/bin/appLoader "$pkgdir/etc/thnuclnt/.thnumod"
ln -s /usr/lib/vmware/lib/diskLibWrapper.so/diskLibWrapper.so "$pkgdir/usr/lib/diskLibWrapper.so"
ln -s /usr/lib/vmware-vix/libvixAllProducts.so "$pkgdir/usr/lib/libvixAllProducts.so"
ln -s /usr/lib/vmware-ovftool/ovftool "$pkgdir/usr/bin/ovftool"
# Replace placeholder "variables" with real paths.
for file in \
pango/pangorc \
pango/pango.modules \
pango/pangox.aliases \
gtk-2.0/gdk-pixbuf.loaders \
gtk-2.0/gtk.immodules
do
sed -i 's,@@LIBCONF_DIR@@,/usr/lib/vmware/libconf,g' "$pkgdir/usr/lib/vmware/libconf/etc/$file"
done
sed -i 's,@@BINARY@@,/usr/bin/vmware,' "$pkgdir/usr/share/applications/vmware-workstation.desktop"
sed -i 's,@@BINARY@@,/usr/bin/vmplayer,' "$pkgdir/usr/share/applications/vmware-player.desktop"
sed -i 's,@@BINARY@@,/usr/bin/vmware-netcfg,' "$pkgdir/usr/share/applications/vmware-netcfg.desktop"
sed -i 's,@@AUTHD_PORT@@,902,' "$pkgdir/usr/lib/vmware/hostd/docroot/client/clients.xml"
sed \
-e "s/@@VERSION@@/$vmware_installer_version/" \
-e "s,@@VMWARE_INSTALLER@@,/usr/lib/vmware-installer/$vmware_installer_version," \
-i "$pkgdir/etc/vmware-installer/bootstrap"
# Patch up the VMware kernel sources and configure DKMS.
dkms_dir="$pkgdir/usr/src/$pkgname-$_pkgver"
install -Dm 644 "$srcdir/Makefile" "$dkms_dir/Makefile"
install -Dm 644 "$srcdir/dkms.conf.in" "$dkms_dir/dkms.conf"
sed \
-e "s/@PKGNAME@/$pkgname/g" \
-e "s/@PKGVER@/$_pkgver/g" \
-i "$dkms_dir/dkms.conf"
for module in vmmon vmnet; do
tar -xf "vmware-vmx/lib/modules/source/$module.tar" -C "$dkms_dir"
msg "Patching $module module for DKMS"
patch -p2 --read-only=ignore --directory="$dkms_dir/$module-only" < "$srcdir/$module.patch"
done
rm -r "$pkgdir/usr/lib/vmware/modules/source"
if [ -n "$_enable_macOS_guests" ]; then
msg "Patching VMware to enable macOS guest support"
python3 "$srcdir/unlocker.py" > /dev/null
for isoimage in ${_fusion_isoimages[@]}
do
install -Dm 644 "$srcdir/fusion-isoimages/$isoimage.iso" "$pkgdir/usr/lib/vmware/isoimages/$isoimage.iso"
install -Dm 644 "$srcdir/fusion-isoimages/$isoimage.iso.sig" "$pkgdir/usr/lib/vmware/isoimages/$isoimage.iso.sig"
done
msg "Patching EFI firmwares to disable macOS server checking"
_efi_arch=("32" "64")
for arch in ${_efi_arch[@]}
do
objcopy "$pkgdir"/usr/lib/vmware/bin/vmware-vmx -O binary -j efi${arch} --set-section-flags efi${arch}=a efi${arch}.rom.Z
perl -e 'use Compress::Zlib; my $v; read STDIN, $v, '$(stat -c%s "./efi${arch}.rom.Z")'; $v = uncompress($v); print $v;' < efi${arch}.rom.Z > efi${arch}.rom
uefipatch efi${arch}.rom "$srcdir/efi-patches.txt" -o efi${arch}.rom > /dev/null
perl -e 'use Compress::Zlib; my $v; read STDIN, $v, '$(stat -c%s "./efi${arch}.rom")'; $v = compress($v); print $v;' < efi${arch}.rom > efi${arch}.rom.Z
objcopy "$pkgdir"/usr/lib/vmware/bin/vmware-vmx --update-section efi${arch}=efi${arch}.rom.Z
rm efi${arch}.rom efi${arch}.rom.Z
done
fi
_create_database_file
# Define some environment variables for VMware and remove the tests about kernel modules
install -Dm 644 "$srcdir/vmware-environment.sh" "$pkgdir/etc/conf.d/vmware"
for program in vmware vmplayer vmware-netcfg vmware-tray; do
sed -e '/export PRODUCT_NAME/asource /etc/conf.d/vmware' \
-e 's/if "$BINDIR"\/vmware-modconfig --appname=.*/if true ||/' \
-i "$pkgdir/usr/bin/$program"
done
# Add StartupWMClass attribute to desktop files
sed -i '/^StartupNotify=.*/a StartupWMClass=vmware' "$pkgdir/usr/share/applications/vmware-workstation.desktop"
sed -i '/^StartupNotify=.*/a StartupWMClass=vmplayer' "$pkgdir/usr/share/applications/vmware-player.desktop"
sed -i '/^StartupNotify=.*/a StartupWMClass=vmware-netcfg' "$pkgdir/usr/share/applications/vmware-netcfg.desktop"
# use system font rendering
ln -sf /usr/lib/libfreetype.so.6 "$pkgdir/usr/lib/vmware/lib/libfreetype.so.6/"
ln -sf /usr/lib/libfontconfig.so.1 "$pkgdir/usr/lib/vmware/lib/libfontconfig.so.1/" # avoid a conflict with fontconfig when VMWARE_USE_SHIPPED_LIBS is defined
# to solve bugs with incompatibles library versions:
ln -sf /usr/lib/libz.so.1 "$pkgdir/usr/lib/vmware/lib/libz.so.1/"
}
Changes since previous scan
--- PKGBUILD @ 2026-09-15 00:25+++ PKGBUILD @ 2026-09-17 00:27@@ -68,15 +68,15 @@ ) #Mirrored from the VMware CDN. source=(- "https://voxhost.fr/vmware-aur/12/VMware-Workstation-${_pkgver/_/-}.${CARCH}.bundle.tar"- "https://voxhost.fr/vmware-aur/12/vmware-tools-freebsd-${_tools_version/_/-}.${CARCH}.component.tar"- "https://voxhost.fr/vmware-aur/12/vmware-tools-linux-${_tools_version/_/-}.${CARCH}.component.tar"- "https://voxhost.fr/vmware-aur/12/vmware-tools-linuxPreGlibc25-${_tools_version/_/-}.${CARCH}.component.tar"- "https://voxhost.fr/vmware-aur/12/vmware-tools-netware-${_tools_version/_/-}.${CARCH}.component.tar"- "https://voxhost.fr/vmware-aur/12/vmware-tools-solaris-${_tools_version/_/-}.${CARCH}.component.tar"- "https://voxhost.fr/vmware-aur/12/vmware-tools-windows-${_tools_version/_/-}.${CARCH}.component.tar"- "https://voxhost.fr/vmware-aur/12/vmware-tools-winPre2k-${_tools_version/_/-}.${CARCH}.component.tar"- "https://voxhost.fr/vmware-aur/12/vmware-tools-winPreVista-${_tools_version/_/-}.${CARCH}.component.tar"+ "https://hessfr.s3.lyn.io.hostmyservers.net/vmware/12/VMware-Workstation-${_pkgver/_/-}.${CARCH}.bundle.tar"+ "https://hessfr.s3.lyn.io.hostmyservers.net/vmware/12/vmware-tools-freebsd-${_tools_version/_/-}.${CARCH}.component.tar"+ "https://hessfr.s3.lyn.io.hostmyservers.net/vmware/12/vmware-tools-linux-${_tools_version/_/-}.${CARCH}.component.tar"+ "https://hessfr.s3.lyn.io.hostmyservers.net/vmware/12/vmware-tools-linuxPreGlibc25-${_tools_version/_/-}.${CARCH}.component.tar"+ "https://hessfr.s3.lyn.io.hostmyservers.net/vmware/12/vmware-tools-netware-${_tools_version/_/-}.${CARCH}.component.tar"+ "https://hessfr.s3.lyn.io.hostmyservers.net/vmware/12/vmware-tools-solaris-${_tools_version/_/-}.${CARCH}.component.tar"+ "https://hessfr.s3.lyn.io.hostmyservers.net/vmware/12/vmware-tools-windows-${_tools_version/_/-}.${CARCH}.component.tar"+ "https://hessfr.s3.lyn.io.hostmyservers.net/vmware/12/vmware-tools-winPre2k-${_tools_version/_/-}.${CARCH}.component.tar"+ "https://hessfr.s3.lyn.io.hostmyservers.net/vmware/12/vmware-tools-winPreVista-${_tools_version/_/-}.${CARCH}.component.tar" 'vmware-bootstrap' 'vmware-vix-bootstrap'@@ -168,8 +168,8 @@ ) source+=(- "darwinPre15-tools-${_vmware_fusion_ver_full}.zip.tar::https://voxhost.fr/vmware-aur/12/com.vmware.fusion.tools.darwinPre15.zip.tar"- "darwin-tools-${_vmware_fusion_ver_full}.zip.tar::https://voxhost.fr/vmware-aur/12/com.vmware.fusion.tools.darwin.zip.tar"+ "darwinPre15-tools-${_vmware_fusion_ver_full}.zip.tar::https://hessfr.s3.lyn.io.hostmyservers.net/vmware/12/com.vmware.fusion.tools.darwinPre15.zip.tar"+ "darwin-tools-${_vmware_fusion_ver_full}.zip.tar::https://hessfr.s3.lyn.io.hostmyservers.net/vmware/12/com.vmware.fusion.tools.darwin.zip.tar" "unlocker.py" "efi-patches.txt" )Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Medium | 3 |
| 2026-09-16 00:03:17 | Medium | 3 |
| 2026-09-15 17:20:16 | Medium | 3 |
| 2026-09-15 00:25:31 | Medium | 3 |
| 2026-09-14 00:27:57 | Medium | 3 |
| 2026-09-13 00:19:54 | Medium | 3 |
| 2026-09-12 00:25:17 | Medium | 3 |
| 2026-09-11 00:19:22 | Medium | 3 |
| 2026-09-10 00:22:44 | Medium | 3 |
| 2026-09-09 00:04:09 | Medium | 3 |
| 2026-09-08 00:18:08 | Medium | 3 |
| 2026-09-07 00:30:15 | Medium | 3 |
| 2026-09-06 00:17:06 | Medium | 3 |
| 2026-09-05 00:16:27 | Medium | 3 |
| 2026-09-04 00:03:13 | Medium | 3 |
| 2026-09-03 00:15:47 | Medium | 3 |
| 2026-09-02 00:02:31 | Medium | 3 |
| 2026-09-01 00:11:19 | Medium | 3 |
| 2026-08-31 00:19:57 | Medium | 3 |
| 2026-08-30 00:04:14 | Medium | 3 |