Date: Wednesday, May 17, 2023 @ 08:28:05
  Author: eworm
Revision: 1462924

upgpkg: open-vm-tools 6:12.2.0-2: fix pam configuration

Added:
  open-vm-tools/trunk/vmtoolsd.pam
Modified:
  open-vm-tools/trunk/PKGBUILD

--------------+
 PKGBUILD     |   10 ++++++++--
 vmtoolsd.pam |    5 +++++
 2 files changed, 13 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-17 07:49:25 UTC (rev 1462923)
+++ PKGBUILD    2023-05-17 08:28:05 UTC (rev 1462924)
@@ -4,7 +4,7 @@
 pkgname=open-vm-tools
 epoch=6
 pkgver=12.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc='The Open Virtual Machine Tools (open-vm-tools) are the open source 
implementation of VMware Tools'
 arch=('x86_64')
 url='https://github.com/vmware/open-vm-tools'
@@ -18,12 +18,15 @@
             'libxtst: DnD/CP, resolution set plugins'
             'netctl: suspend-resume network state'
             'networkmanager: suspend-resume network state')
-backup=('etc/xdg/autostart/vmware-user.desktop')
+backup=('etc/pam.d/vmtoolsd'
+        'etc/xdg/autostart/vmware-user.desktop')
 options=('docs')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/vmware/open-vm-tools/archive/stable-${pkgver/_/-}.tar.gz";
+        'vmtoolsd.pam'
         'vmtoolsd.service'
         'vmware-vmblock-fuse.service')
 sha256sums=('5127dd8643e4c89a22a93728ea5420d236cd4083bc07d665f70fee08a581d635'
+            '9848f4b621bb1134e463fea099f03933cf3f48f1ac5e580228abef264d26137e'
             '0626cc86232f75a7286c24c52d6b44260bba55e2e96c17fa22ed36decb61a4d9'
             '99e3cc1da20a751049144cc02dec77174a55109b5b5960e1facd78709da7724f')
 
@@ -61,6 +64,9 @@
   # install vmware-xdg-detect-de
   install -D -m0755 scripts/common/vmware-xdg-detect-de 
"$pkgdir"/usr/bin/vmware-xdg-detect-de
 
+  # install pam configuration
+  install -D -m0644 "$srcdir"/vmtoolsd.pam "$pkgdir"/etc/pam.d/vmtoolsd
+
   # install systemd files
   install -D -m0644 "$srcdir"/vmtoolsd.service 
"$pkgdir"/usr/lib/systemd/system/vmtoolsd.service
   install -D -m0644 "$srcdir"/vmware-vmblock-fuse.service 
"$pkgdir"/usr/lib/systemd/system/vmware-vmblock-fuse.service

Added: vmtoolsd.pam
===================================================================
--- vmtoolsd.pam                                (rev 0)
+++ vmtoolsd.pam        2023-05-17 08:28:05 UTC (rev 1462924)
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth        include     system-services
+account     include     system-services
+password    include     system-services
+session     include     system-services

Reply via email to