From 7e8abb3bc2dba4748d3a5e5053ad3fa57ac54fc4 Mon Sep 17 00:00:00 2001 From: milisbir Date: Wed, 28 Feb 2018 14:25:23 +0200 Subject: [PATCH] vmware --- talimatname/genel/v/vmware/Makefile | 24 + talimatname/genel/v/vmware/bootstrap | 11 + talimatname/genel/v/vmware/config | 25 + talimatname/genel/v/vmware/config.xml | 880 ++++++++++++++++++ talimatname/genel/v/vmware/datastores.xml | 16 + talimatname/genel/v/vmware/environments.xml | 46 + talimatname/genel/v/vmware/pam.d-vmware-authd | 5 + talimatname/genel/v/vmware/proxy.xml | 50 + talimatname/genel/v/vmware/talimat | 234 +++++ talimatname/genel/v/vmware/vmmon.patch | 16 + talimatname/genel/v/vmware/vmnet.patch | 16 + .../genel/v/vmware/vmware-environment.sh | 9 + .../genel/v/vmware/vmware-vix-bootstrap | 2 + 13 files changed, 1334 insertions(+) create mode 100644 talimatname/genel/v/vmware/Makefile create mode 100644 talimatname/genel/v/vmware/bootstrap create mode 100644 talimatname/genel/v/vmware/config create mode 100644 talimatname/genel/v/vmware/config.xml create mode 100644 talimatname/genel/v/vmware/datastores.xml create mode 100644 talimatname/genel/v/vmware/environments.xml create mode 100644 talimatname/genel/v/vmware/pam.d-vmware-authd create mode 100644 talimatname/genel/v/vmware/proxy.xml create mode 100644 talimatname/genel/v/vmware/talimat create mode 100644 talimatname/genel/v/vmware/vmmon.patch create mode 100644 talimatname/genel/v/vmware/vmnet.patch create mode 100644 talimatname/genel/v/vmware/vmware-environment.sh create mode 100644 talimatname/genel/v/vmware/vmware-vix-bootstrap diff --git a/talimatname/genel/v/vmware/Makefile b/talimatname/genel/v/vmware/Makefile new file mode 100644 index 000000000..4b5899215 --- /dev/null +++ b/talimatname/genel/v/vmware/Makefile @@ -0,0 +1,24 @@ +#!/usr/bin/make -f + +MODULES = \ + vmmon \ + vmnet \ + #vmblock \ + #vmci \ + #vsock + +all: $(foreach m, $(MODULES), $m.ko) + +%.ko: % + $(MAKE) KVERSION=$(KVERSION) VM_KBUILD=yes -C $*-only + +$(MODULES): %: + cp -r $(SRCDIR)/$*-only $*-only + +vsock.ko: vmci.ko + +clean: + rm -rf $(MODULES) + rm -rf $(foreach m, $(MODULES), $m-only) + rm -f $(foreach m, $(MODULES), $m.ko) + rm -f $(foreach m, $(MODULES), $m.o) diff --git a/talimatname/genel/v/vmware/bootstrap b/talimatname/genel/v/vmware/bootstrap new file mode 100644 index 000000000..981b82191 --- /dev/null +++ b/talimatname/genel/v/vmware/bootstrap @@ -0,0 +1,11 @@ +PREFIX="/usr" +BINDIR="/usr/bin" +SBINDIR="/usr/sbin" +LIBDIR="/usr/lib" +DATADIR="/usr/share" +SYSCONFDIR="/etc" +DOCDIR="/usr/share/doc" +MANDIR="/usr/share/man" +INCLUDEDIR="/usr/include" +INITDIR="" +INITSCRIPTDIR="/usr/lib/systemd/scripts" diff --git a/talimatname/genel/v/vmware/config b/talimatname/genel/v/vmware/config new file mode 100644 index 000000000..cab1f3338 --- /dev/null +++ b/talimatname/genel/v/vmware/config @@ -0,0 +1,25 @@ +.encoding = "UTF-8" +VMCI_CONFED = "yes" +NETWORKING = "yes" +VMBLOCK_CONFED = "yes" +authd.fullpath = "/usr/bin/vmware-authd" +gksu.rootMethod = "su" +VSOCK_CONFED = "yes" +libdir = "/usr/lib/vmware" +bindir = "/usr/bin" +vmware.fullpath = "/usr/bin/vmware" +vix.libdir = "/usr/lib/vmware-vix" +installerDefaults.componentDownloadEnabled = "no" +installerDefaults.autoSoftwareUpdateEnabled.epoch = "4641104763" +vix.config.version = "1" +player.product.version = "14.0.0" +installerDefaults.dataCollectionEnabled.epoch = "7910652514" +installerDefaults.dataCollectionEnabled = "no" +installerDefaults.transferVersion = "1" +installerDefaults.autoSoftwareUpdateEnabled = "no" +product.buildNumber = "6661328" +authd.client.port = "902" +authd.proxy.nfc = "vmware-hostd:ha-nfc" +product.version = "14.0.0" +workstation.product.version = "14.0.0" +product.name = "VMware Workstation" diff --git a/talimatname/genel/v/vmware/config.xml b/talimatname/genel/v/vmware/config.xml new file mode 100644 index 000000000..68f851ad7 --- /dev/null +++ b/talimatname/genel/v/vmware/config.xml @@ -0,0 +1,880 @@ + + + + + ./ + + + /etc/vmware/ + + + /usr/lib/vmware + + + + + + + + + + + + + + + + + + + + + + + + 32 + + + ws + + + + false + + 128 + + + + + + + + + /var/log/vmware/ + + + hostd + + + true + + + false + + + + + + + + Hostd + + + local4 + + + /var/run/vmware/hostdLogHeader.txt + + + + + + + + + + + verbose + + + + + + + + + + + + + false + + + + SoapAdapter.HTTPService + info + false + + + + TCP + error + false + + + + + + + + + + + /etc/vmware/ssl/rui.key + + + /etc/vmware/ssl/rui.crt + + + + + + + /vmimages + + + + + + + + + + + + + + + + + + + + ./ + + + 2 + 32 + 2 + 12 + 2048 + 8 + 600 + 256 + hostd + + + + + + + + + + + + + + + + + + + + + false + /usr/lib/vmware + + + + + + + + + + + + + + + 128 + + + + + + + + + + + + + true + + + false + + + + + + + + 104857600 + + 524288 + + 1000 + + + + + + + + + + + + + + + + /etc/vmware/hostd/dispatcher.xml + + + /etc/vmware/hostd/tagExtractor.xml + + + + + libvimsvc.so + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + true + + hostsvc solo + + + + libhostsvc.so + + + vfc + 0 + 30 + + + + + + + + + + + + + + + + + false + + + /etc/vmware/hostd/mockup-host-config.xml + + /etc/vmware/hostd/vmResources.xml + + + + + + + + + /etc/vmware/service/ + + + + + + + + + + + + + + + 120 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + /etc/vmware/netmap.conf + + + + + false + 5 + 100 + 30 + + + + libvmsvc.so + + false + + false + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + vimsvc + + + + libvcsvc.so + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + hostsvc + + + + libsolo.so + + false + + + + /etc/vmware/hostd/environments.xml + + + /etc/vmware/hostd/vmInventory.xml + + + + + + + + + /etc/vmware/hostd/env/provisioningPolicy.xml + + + /etc/vmware/hostd/hwInfo.xml + + + + + + + + + + + + + + + + + + 8307 + + + + + + + false + + + + + + + + + verbose + + + + + + + + + + + + + disklib + 0 + + + + + + + + + + + + /usr/lib/vmware/hostd/docroot/ + /usr/lib/vmware/hostd/cgi-bin/ + + + + + + + + + + + false + + + true + ha-dynamic-type-manager-python + soap-stdio + + /usr/bin/sh + -l + -c + /usr/bin/python -m PyVmomiServer -g --loglevel info -s PyVmomiServer + + + + + false + ha-dynamic-type-manager-vapi + soap-http + + 8088 + /usr/bin/sh + -l + -c + /sbin/vapid -s vapid + + + + + true + ha-dynamic-type-manager-local-cli + vmware-cli + + /usr/lib/vmware/esxcli + + + + + + + + + + hostsvc + + + + + libproxysvc.so + + + /etc/vmware/hostd/proxy.xml + + /etc/vmware/rhttpproxy/endpoints.conf + hostsvc + + + + + libstatssvc.so + false + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + libpartitionsvc.so + false + + + + libinternalsvc.so + hostsvc + + + + + libnfcsvc.so + true + + false + + + + + false + libsnmpsvc.so + + + + libblklistsvc.so + false + + + + + + libcimsvc.so + false + 40 + 90 + + + + libdirectorysvc.so + false + + false + + + + + libvdisksvc.so + false + + false + + + + + libvslmsvc.so + false + + false + + + + + libhttpnfcsvc.so + false + + false + + proxysvc + + + + libovfmgrsvc.so + true + + + + libdynsvc.so + false + true + + + + libguestsvc.so + false + + + + libhbrsvc.so + false + + + false + + vmsvc + + + + libcbrcsvc.so + false + + + + libhostspecsvc.so + false + + + + + + + + + + + \ No newline at end of file diff --git a/talimatname/genel/v/vmware/datastores.xml b/talimatname/genel/v/vmware/datastores.xml new file mode 100644 index 000000000..a457a9524 --- /dev/null +++ b/talimatname/genel/v/vmware/datastores.xml @@ -0,0 +1,16 @@ + + + <_length>1 + <_type>hostd.host.LocalDatastoreEntry[] + + <_type>hostd.host.LocalDatastoreEntry + 1 + standard + /var/lib/vmware/Shared VMs + + + + <_length>0 + <_type>hostd.host.NasDatastoreEntry[] + + \ No newline at end of file diff --git a/talimatname/genel/v/vmware/environments.xml b/talimatname/genel/v/vmware/environments.xml new file mode 100644 index 000000000..57a099d3a --- /dev/null +++ b/talimatname/genel/v/vmware/environments.xml @@ -0,0 +1,46 @@ + + + /etc/vmware/hostd/env/ws-hw3.xml + /etc/vmware/hostd/env/vmconfigoption-ws-hw3.xml + + + /etc/vmware/hostd/env/ws-hw4.xml + /etc/vmware/hostd/env/vmconfigoption-ws-hw4.xml + + + /etc/vmware/hostd/env/ws-hw6.xml + /etc/vmware/hostd/env/vmconfigoption-ws-hw6.xml + + + /etc/vmware/hostd/env/ws-hw7.xml + /etc/vmware/hostd/env/vmconfigoption-ws-hw7.xml + + + /etc/vmware/hostd/env/ws-hw8.xml + /etc/vmware/hostd/env/vmconfigoption-ws-hw8.xml + + + /etc/vmware/hostd/env/ws-hw9.xml + /etc/vmware/hostd/env/vmconfigoption-ws-hw9.xml + + + /etc/vmware/hostd/env/ws-hw10.xml + /etc/vmware/hostd/env/vmconfigoption-ws-hw10.xml + + + /etc/vmware/hostd/env/ws-hw11.xml + /etc/vmware/hostd/env/vmconfigoption-ws-hw11.xml + + + /etc/vmware/hostd/env/ws-hw12.xml + /etc/vmware/hostd/env/vmconfigoption-ws-hw12.xml + + + /etc/vmware/hostd/env/ws-hw13.xml + /etc/vmware/hostd/env/vmconfigoption-ws-hw13.xml + + + /etc/vmware/hostd/env/ws-hw14.xml + /etc/vmware/hostd/env/vmconfigoption-ws-hw14.xml + + diff --git a/talimatname/genel/v/vmware/pam.d-vmware-authd b/talimatname/genel/v/vmware/pam.d-vmware-authd new file mode 100644 index 000000000..44391264e --- /dev/null +++ b/talimatname/genel/v/vmware/pam.d-vmware-authd @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth required pam_unix.so +account required pam_unix.so +password required pam_permit.so +session required pam_unix.so diff --git a/talimatname/genel/v/vmware/proxy.xml b/talimatname/genel/v/vmware/proxy.xml new file mode 100644 index 000000000..d9ab50398 --- /dev/null +++ b/talimatname/genel/v/vmware/proxy.xml @@ -0,0 +1,50 @@ + + -1 + 443 + + <_length>7 + <_type>vim.ProxyService.EndpointSpec[] + + <_type>vim.ProxyService.NamedPipeServiceSpec + httpAndHttps + /var/run/vmware/proxy-webserver + / + + + <_type>vim.ProxyService.LocalServiceSpec + httpsWithRedirect + 8307 + /sdk + + + <_type>vim.ProxyService.LocalServiceSpec + httpsWithRedirect + 8308 + /ui + + + <_type>vim.ProxyService.NamedPipeServiceSpec + httpsOnly + /var/run/vmware/proxy-vpxa + /vpxa + + + <_type>vim.ProxyService.NamedPipeServiceSpec + httpsWithRedirect + /var/run/vmware/proxy-mob + /mob + + + <_type>vim.ProxyService.LocalServiceSpec + httpAndHttps + 12001 + /ha-nfc + + + <_type>vim.ProxyService.LocalServiceSpec + httpAndHttps + 12000 + /nfc + + + diff --git a/talimatname/genel/v/vmware/talimat b/talimatname/genel/v/vmware/talimat new file mode 100644 index 000000000..152e1d98d --- /dev/null +++ b/talimatname/genel/v/vmware/talimat @@ -0,0 +1,234 @@ +# Tanım: Vmware sanal makine uygulaması +# URL: https://www.vmware.com/products/workstation-for-linux.html +# Paketçi: milisarge +# Gerekler: sqlite3 xorg-app +# Grup: sistem + +isim=vmware +surum=14.1.1 +devir=1 +_derlemeno=7528167 +_surum=${surum}_${_derlemeno} +kaynak=(https://download3.vmware.com/software/wkst/file/VMware-Workstation-Full-${_surum/_/-}.x86_64.bundle + vmware-vix-bootstrap + config + bootstrap + pam.d-vmware-authd + vmware-environment.sh + config.xml + datastores.xml + environments.xml + proxy.xml + Makefile + vmmon.patch + vmnet.patch) + +derle() { + extracted_dir="$SRC/extracted" + + [[ -d "$extracted_dir" ]] && rm -r "$extracted_dir" + + bash $(readlink -f "$SRC/VMware-Workstation-Full-${_surum/_/-}.x86_64.bundle") --extract "$extracted_dir" + local vmware_installer_version=$(cat "$SRC/extracted/vmware-installer/manifest.xml" | grep -oPm1 "(?<=)[^<]+") + + mkdir -p \ + "$PKG/etc"/{cups,pam.d,modprobe.d,profile.d,thnuclnt,vmware} \ + "$PKG/usr"/{share,bin} \ + "$PKG/usr/include/vmware-vix" \ + "$PKG/usr/lib"/{vmware/{setup,lib/libvmware-vim-cmd.so},vmware-vix,vmware-ovftool,vmware-installer/"$vmware_installer_version",cups/filter,modules-load.d} \ + "$PKG/usr/share"/{doc/vmware-vix,licenses/"$isim"} \ + "$PKG/var/lib/vmware/Shared VMs" + + cd "$SRC/extracted" + + cp -r \ + vmware-workstation/share/* \ + vmware-workstation/man \ + vmware-network-editor-ui/share/* \ + vmware-player-app/share/* \ + "$PKG/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/* \ + "$PKG/usr/bin" + + cp -r \ + vmware-workstation/lib/* \ + vmware-player-app/lib/* \ + vmware-vmx/{lib/*,roms} \ + vmware-vprobe/lib/* \ + vmware-workstation-server/{bin,lib,hostd} \ + vmware-usbarbitrator/bin \ + vmware-network-editor/lib \ + "$PKG/usr/lib/vmware" + + cp -r \ + vmware-player-setup/vmware-config \ + "$PKG/usr/lib/vmware/setup" + + cp -rL \ + vmware-workstation-server/config/etc/vmware/* \ + vmware-workstation-server/etc/vmware/* \ + "$SRC"/{bootstrap,config} \ + "$PKG/etc/vmware" + + cp -r \ + vmware-vix-lib-Workstation1400/lib/Workstation-14.0.0 \ + vmware-vix-core/{lib/*,vixwrapper-config.txt} \ + "$PKG/usr/lib/vmware-vix" + cp vmware-vix-core/vix-perl.tar.nogz "$PKG/usr/lib/vmware-vix/vix-perl.tar.gz" + + cp -r \ + vmware-vix-core/doc/* \ + "$PKG/usr/share/doc/vmware-vix" + + cp -r \ + vmware-ovftool/* \ + "$PKG/usr/lib/vmware-ovftool" + + cp -r \ + vmware-installer/{python,sopython,vmis,vmis-launcher,vmware-installer,vmware-installer.py} \ + "$PKG/usr/lib/vmware-installer/$vmware_installer_version" + + cp -r \ + vmware-player-app/etc/cups/* \ + "$PKG/etc/cups" + cp -r \ + vmware-player-app/extras/.thnumod \ + "$PKG/etc/thnuclnt" + cp -r \ + vmware-player-app/extras/thnucups \ + "$PKG/usr/lib/cups/filter" + + cp -r \ + vmware-vix-core/include/* \ + "$PKG/usr/include/vmware-vix" + + install -Dm 644 "vmware-workstation/doc/EULA" "$PKG/usr/share/licenses/$isim/VMware Workstation - EULA.txt" + install -Dm 644 "vmware-workstation/doc"/*open_source_licenses.txt "$PKG/usr/share/licenses/$isim" + mv "$PKG/usr/lib/vmware-ovftool/vmware.eula" "$PKG/usr/share/licenses/$isim/VMware OVF Tool component for Linux - EULA.txt" + rm "$PKG/usr/lib/vmware-ovftool"/{vmware-eula.rtf,open_source_licenses.txt,manifest.xml} + + install -Dm 644 "vmware-vmx/etc/modprobe.d/modprobe-vmware-fuse.conf" "$PKG/etc/modprobe.d/vmware-fuse.conf" + + install -Dm 644 vmware-player-app/lib/isoimages/tools-key.pub "$PKG/usr/lib/vmware/isoimages/tools-key.pub" + + install -Dm 644 vmware-vmx/extra/modules.xml "$PKG/usr/lib/vmware/modules/modules.xml" + install -Dm 644 vmware-installer/bootstrap "$PKG/etc/vmware-installer/bootstrap" + install -Dm 644 "$SRC/vmware-vix-bootstrap" "$PKG/etc/vmware-vix/bootstrap" + + for hostd_file in config datastores environments proxy; do + install -Dm 644 "$SRC/$hostd_file.xml" "$PKG/etc/vmware/hostd/$hostd_file.xml" + done + + install -Dm 644 "$SRC/pam.d-vmware-authd" "$PKG/etc/pam.d/vmware-authd" + + echo -e "vmw_vmci\nvmmon" > "$PKG/usr/lib/modules-load.d/vmware.conf" + + chmod +x \ + "$PKG/usr/bin"/* \ + "$PKG/usr/lib/vmware/bin"/* \ + "$PKG/usr/lib/vmware/setup"/* \ + "$PKG/usr/lib/vmware/lib"/libvmware-gksu.so/gksu-run-helper \ + "$PKG/usr/lib/vmware-ovftool"/{ovftool,ovftool.bin} \ + "$PKG/usr/lib/vmware-installer/$vmware_installer_version"/{vmware-installer,vmis-launcher} \ + "$PKG/usr/lib/cups/filter"/* \ + "$PKG/usr/lib/vmware-vix/setup"/* \ + "$PKG/etc/thnuclnt/.thnumod" + + chmod -R 600 "$PKG/etc/vmware/ssl" + chmod +s \ + "$PKG/usr/bin"/vmware-authd \ + "$PKG/usr/lib/vmware/bin"/{vmware-vmx,vmware-vmx-debug,vmware-vmx-stats} + + # Add symlinks the installer would create. + + for link in \ + licenseTool \ + vmplayer \ + vmware \ + vmware-app-control \ + vmware-enter-serial \ + vmware-fuseUI \ + vmware-gksu \ + vmware-hostd \ + vmware-modconfig \ + vmware-modconfig-console \ + vmware-mount \ + vmware-netcfg \ + vmware-tray \ + vmware-vim-cmd \ + vmware-vmblock-fuse \ + vmware-vprobe \ + vmware-wssc-adminTool \ + vmware-zenity + do + ln -s /usr/lib/vmware/bin/appLoader "$PKG/usr/lib/vmware/bin/$link" + done + + for link in \ + vmware-mount \ + vmware-usbarbitrator + do + ln -s /usr/lib/vmware/bin/$link "$PKG/usr/bin/$link" + done + + ln -s /usr/lib/vmware/icu "$PKG/etc/vmware/icu" + ln -s /usr/lib/vmware/lib/diskLibWrapper.so/diskLibWrapper.so "$PKG/usr/lib/diskLibWrapper.so" + ln -s /usr/lib/vmware/lib/libvmware-hostd.so/libvmware-hostd.so "$PKG/usr/lib/vmware/lib/libvmware-vim-cmd.so/libvmware-vim-cmd.so" + ln -s /usr/lib/vmware-ovftool/ovftool "$PKG/usr/bin/ovftool" + ln -s /usr/lib/vmware-vix/libvixAllProducts.so "$PKG/usr/lib/libvixAllProducts.so" + + # Replace placeholder "variables" with real paths. + + for file in \ + gtk-3.0/gdk-pixbuf.loaders + do + sed -i 's,@@LIBCONF_DIR@@,/usr/lib/vmware/libconf,g' "$PKG/usr/lib/vmware/libconf/etc/$file" + done + + sed -i 's,@@BINARY@@,/usr/bin/vmware,' "$PKG/usr/share/applications/vmware-workstation.desktop" + sed -i 's,@@BINARY@@,/usr/bin/vmplayer,' "$PKG/usr/share/applications/vmware-player.desktop" + sed -i 's,@@BINARY@@,/usr/bin/vmware-netcfg,' "$PKG/usr/share/applications/vmware-netcfg.desktop" + + sed -i 's,@@AUTHD_PORT@@,902,' "$PKG/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 "$PKG/etc/vmware-installer/bootstrap" + + # Patch up the VMware kernel sources + + dkms_dir="$PKG/usr/src/$isim-$_surum" + + install -Dm 644 "$SRC/Makefile" "$dkms_dir/Makefile" + + for module in vmmon vmnet; do # vmblock vmci vsock + tar -xf "vmware-vmx/lib/modules/source/$module.tar" -C "$dkms_dir" + patch -p2 --read-only=ignore --directory="$dkms_dir/$module-only" < "$SRC/$module.patch" + done + + rm -r "$PKG/usr/lib/vmware/modules/source" + + local database_filename="$PKG/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);" + + # Define some environment variables for VMware and remove the tests about kernel modules + install -Dm 644 "$SRC/vmware-environment.sh" "$PKG/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 "$PKG/usr/bin/$program" + done +} diff --git a/talimatname/genel/v/vmware/vmmon.patch b/talimatname/genel/v/vmware/vmmon.patch new file mode 100644 index 000000000..d69f3135c --- /dev/null +++ b/talimatname/genel/v/vmware/vmmon.patch @@ -0,0 +1,16 @@ +diff --git a/vmmon/Makefile b/vmmon/Makefile +index de8162e..6124a71 100644 +--- a/vmmon/Makefile ++++ b/vmmon/Makefile +@@ -43,7 +43,11 @@ INCLUDE += -I$(SRCROOT)/shared + endif + + ++ifdef KVERSION ++VM_UNAME = $(KVERSION) ++else + VM_UNAME = $(shell uname -r) ++endif + + # Header directory for the running kernel + ifdef LINUXINCLUDE diff --git a/talimatname/genel/v/vmware/vmnet.patch b/talimatname/genel/v/vmware/vmnet.patch new file mode 100644 index 000000000..d2c620705 --- /dev/null +++ b/talimatname/genel/v/vmware/vmnet.patch @@ -0,0 +1,16 @@ +diff --git a/vmnet/Makefile b/vmnet/Makefile +index 459846e..cd29652 100644 +--- a/vmnet/Makefile ++++ b/vmnet/Makefile +@@ -43,7 +43,11 @@ INCLUDE += -I$(SRCROOT)/shared + endif + + ++ifdef KVERSION ++VM_UNAME = $(KVERSION) ++else + VM_UNAME = $(shell uname -r) ++endif + + # Header directory for the running kernel + ifdef LINUXINCLUDE diff --git a/talimatname/genel/v/vmware/vmware-environment.sh b/talimatname/genel/v/vmware/vmware-environment.sh new file mode 100644 index 000000000..a6f550a61 --- /dev/null +++ b/talimatname/genel/v/vmware/vmware-environment.sh @@ -0,0 +1,9 @@ +# Uncomment the line below if you have a problem of incompatible libraries +#export VMWARE_USE_SHIPPED_LIBS=yes + +# Uncomment and fill the line below to change GTK theme +#export GTK_THEME="" + + +# Avoid an issue with some keyboard layouts using iBus +export GTK_IM_MODULE_FILE=/dev/null diff --git a/talimatname/genel/v/vmware/vmware-vix-bootstrap b/talimatname/genel/v/vmware/vmware-vix-bootstrap new file mode 100644 index 000000000..425074de8 --- /dev/null +++ b/talimatname/genel/v/vmware/vmware-vix-bootstrap @@ -0,0 +1,2 @@ +BINDIR="/usr/bin" +