From c8b07fac6846e8504713914abc5b61e273a02bb1 Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Sun, 7 Jun 2015 12:53:15 +0000 Subject: [PATCH] emulators/open-vm-tools: Fix pam issue While here, fix a plist issue PR: 200637 --- emulators/open-vm-tools/Makefile | 2 +- .../files/patch-scripts_linux_pam.d_vmtoolsd | 10 ++++++++++ emulators/open-vm-tools/pkg-plist | 2 ++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 emulators/open-vm-tools/files/patch-scripts_linux_pam.d_vmtoolsd diff --git a/emulators/open-vm-tools/Makefile b/emulators/open-vm-tools/Makefile index 650909b380e0..4bee759f2f44 100644 --- a/emulators/open-vm-tools/Makefile +++ b/emulators/open-vm-tools/Makefile @@ -3,7 +3,7 @@ PORTNAME= open-vm-tools PORTVERSION= ${BUILD_VER} -PORTREVISION= 11 +PORTREVISION= 12 PORTEPOCH= 1 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/stable-9.4.x diff --git a/emulators/open-vm-tools/files/patch-scripts_linux_pam.d_vmtoolsd b/emulators/open-vm-tools/files/patch-scripts_linux_pam.d_vmtoolsd new file mode 100644 index 000000000000..838e2a019cbe --- /dev/null +++ b/emulators/open-vm-tools/files/patch-scripts_linux_pam.d_vmtoolsd @@ -0,0 +1,10 @@ +--- scripts/linux/pam.d/vmtoolsd.orig 2013-09-23 15:51:10 UTC ++++ scripts/linux/pam.d/vmtoolsd +@@ -1,7 +1,3 @@ + #%PAM-1.0 +-auth sufficient pam_unix2.so nullok + auth sufficient pam_unix.so shadow nullok +-auth required pam_unix_auth.so shadow nullok +-account sufficient pam_unix2.so + account sufficient pam_unix.so +-account required pam_unix_acct.so diff --git a/emulators/open-vm-tools/pkg-plist b/emulators/open-vm-tools/pkg-plist index 9964bdc43c39..e5017f633d58 100644 --- a/emulators/open-vm-tools/pkg-plist +++ b/emulators/open-vm-tools/pkg-plist @@ -57,3 +57,5 @@ share/vmware-tools/scripts/vmware/network @rmtry share/vmware-tools/tools.conf @rmtry etc/vmware-tools/plugins etc/pam.d/vmtoolsd +@dir %%DATADIR%%/scripts/vmware +@dir %%DATADIR%%/tests