diff options
author | Jean-Marc Lenoir | 2017-05-19 16:51:26 +0200 |
---|---|---|
committer | Jean-Marc Lenoir | 2017-05-19 20:19:09 +0200 |
commit | dbf71715961afff46b85e7920d2219214cc04901 (patch) | |
tree | ef32b08e723b406e5f5c1d77978a5d15178dbe18 | |
parent | 8462a4ed5e218d293da0ce4f2fc19d67687bd5ad (diff) | |
download | aur-dbf71715961afff46b85e7920d2219214cc04901.tar.gz |
Fix a bug when enter license key
Now vmware-hostd service is not necessary to start vmware
-rw-r--r-- | PKGBUILD | 27 | ||||
-rw-r--r-- | bootstrap | 2 | ||||
-rw-r--r-- | config | 14 | ||||
-rw-r--r-- | pam.d-vmware-authd | 5 | ||||
-rw-r--r-- | vmware-hostd.service | 2 | ||||
-rw-r--r-- | vmware-workstation.install | 14 |
6 files changed, 45 insertions, 19 deletions
@@ -34,6 +34,7 @@ depends=( dkms # needed to replace internal libs: fontconfig + freetype2 zlib ) optdepends=( @@ -42,12 +43,20 @@ optdepends=( makedepends=( sqlite ) -backup=('etc/vmware/config') +backup=( + 'etc/vmware/config' + 'etc/pam.d/vmware-authd' + 'etc/vmware/hostd/config.xml' + 'etc/vmware/hostd/datastores.xml' + 'etc/vmware/hostd/environments.xml' + 'etc/vmware/hostd/proxy.xml' +) source=( "https://download3.vmware.com/software/wkst/file/VMware-Workstation-Full-${pkgver/_/-}.x86_64.bundle" 'bootstrap' 'config' + 'pam.d-vmware-authd' 'config.xml' 'datastores.xml' @@ -71,8 +80,9 @@ source=( sha256sums=( '60635d69b765dd50b38189bcb0842b6d3cddd20cf429b4d2238f6e6b5eb19bdc' - '67edc40e39686281f5101ced1a250648ae32e4cd5dffe4fd47bc3c7aed929d50' - 'caa37259dec46da46c37e840368445dbe53a82ba9985c6a5ec987efca7813886' + '12e7b16abf8d7e858532edabb8868919c678063c566a6535855b194aac72d55e' + '5f640c641e72e0d1aedfbf0a82ae61d19ac1672cfa7078c36df51bccb84b26e3' + 'd50aa0a3fe94025178965d988e18d41eb60aa1ce2b28ee6e3ca15edeabfa2ca7' 'd0806b6cb99af04232585def7b8043df3104b9b17470ea70abbd5bedc1e7ca16' '04375658fed0cad4a18d5da1589d4dc1e5171753891ecaadd05f3c3e50c8156f' @@ -80,7 +90,7 @@ sha256sums=( '3c802523606184a5e8ebbe931d9c6c70d83ff8c6833b9f48aa264f0bd5a18a88' 'f9440479f3ae5ad0a39bba3150276627878bf83d6879444fb327c53a1dbb5a4d' - 'b8027d87f2b2fed37edbbf781da9ae6963d788a655e72c1bb281b27eb1a09872' + 'd1f9d6dccafee7a8fbc0bf9584e30babec1ddefca4b89973fb634276a8bd407f' 'e3812b78158672c7d96b6a58877681462f3fbdfe99a948b32c80c755c8682450' 'f9297948eba55fbaa6c9d1846b92070f27fda17afe78b41ed0e4c2eaa452b56c' 'd7a9fbf39a0345ae2f14f7f389f30b1110f605d187e0c241e99bbb18993c250d' @@ -189,7 +199,7 @@ package() { cp -r \ vmware-workstation/bin/* \ - vmware-vmx/bin/* \ + vmware-vmx/{,s}bin/* \ vmware-vix-core/bin/* \ vmware-workstation-server/{vmware-hostd,vmware-vim-cmd,vmware-wssc-adminTool} \ vmware-network-editor-ui/bin/* \ @@ -234,8 +244,6 @@ package() { install -Dm 644 "vmware-tools-$isoimage/$isoimage.iso.sig" "$pkgdir/usr/lib/vmware/isoimages/$isoimage.iso.sig" done - mv "$pkgdir/usr/lib/vmware/licenses"/* "$pkgdir/usr/share/licenses/$pkgname" - rmdir "$pkgdir/usr/lib/vmware/licenses" mv "$pkgdir/usr/share/doc"/{EULA,*open_source_licenses.txt} "$pkgdir/usr/share/licenses/$pkgname" install -Dm 644 vmware-player-app/lib/isoimages/tools-key.pub "$pkgdir/usr/lib/vmware/isoimages/tools-key.pub" @@ -247,6 +255,11 @@ package() { 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" + + mkdir -p "$pkgdir/usr/lib/modules-load.d" + echo -e "vmci\nvmmon" > "$pkgdir/usr/lib/modules-load.d/vmware.conf" + for service_file in \ vmware-hostd-certificates.service \ vmware-hostd.service \ diff --git a/bootstrap b/bootstrap index 2abeeba254ae..981b82191cca 100644 --- a/bootstrap +++ b/bootstrap @@ -8,4 +8,4 @@ DOCDIR="/usr/share/doc" MANDIR="/usr/share/man" INCLUDEDIR="/usr/include" INITDIR="" -INITSCRIPTDIR="/etc/init.d" +INITSCRIPTDIR="/usr/lib/systemd/scripts" @@ -1,26 +1,26 @@ .encoding = "UTF-8" VMCI_CONFED = "yes" NETWORKING = "yes" -initscriptdir = "/etc/init.d" +initscriptdir = "/usr/lib/systemd/scripts" VMBLOCK_CONFED = "yes" -authd.fullpath = "/usr/sbin/vmware-authd" +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 = "yes" +installerDefaults.componentDownloadEnabled = "no" installerDefaults.autoSoftwareUpdateEnabled.epoch = "5971871847" vix.config.version = "1" -player.product.version = "12.5.2" +player.product.version = "12.5.5" installerDefaults.dataCollectionEnabled.epoch = "2097005183" installerDefaults.dataCollectionEnabled = "no" installerDefaults.transferVersion = "1" installerDefaults.autoSoftwareUpdateEnabled = "no" -product.buildNumber = "4638234" +product.buildNumber = "5234757" authd.client.port = "902" authd.proxy.nfc = "vmware-hostd:ha-nfc" -product.version = "12.5.2" -workstation.product.version = "12.5.2" +product.version = "12.5.5" +workstation.product.version = "12.5.5" product.name = "VMware Workstation" diff --git a/pam.d-vmware-authd b/pam.d-vmware-authd new file mode 100644 index 000000000000..44391264ebf9 --- /dev/null +++ b/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/vmware-hostd.service b/vmware-hostd.service index 52b7d99a4fa4..99cd898b91d5 100644 --- a/vmware-hostd.service +++ b/vmware-hostd.service @@ -4,8 +4,6 @@ Wants=vmware-hostd-certificates.service After=vmware-hostd-certificates.service [Service] -ExecStartPre=/usr/bin/modprobe vmci -ExecStartPre=/usr/bin/modprobe vmmon ExecStart=/usr/bin/vmware-hostd -a /etc/vmware/hostd/config.xml [Install] diff --git a/vmware-workstation.install b/vmware-workstation.install index 51ffcf879d64..989587210b37 100644 --- a/vmware-workstation.install +++ b/vmware-workstation.install @@ -1,8 +1,18 @@ post_install() { cat << EOF -Before using VMware, you will need to enable some services. -For example: systemctl enable --now vmware-hostd.service vmware-networks.service vmware-usbarbitrator.service +==> Before using VMware, you may need to enable some services: +- vmware-networks.service: to have network access in VMs +- vmware-usbarbitrator.service: to use USB devices inside VMs +- vmware-hostd.service: to start VMware as a server + +EOF +} + +post_remove() { + cat << EOF + +==> To uninstall your VMware settings, remove /etc/vmware and /etc/vmware-installer directories. EOF } |