[packages/pam] fix mkhomedir patch chunk
glen
glen at pld-linux.org
Thu Apr 30 11:34:56 CEST 2015
commit 62c4d422ff52629e75dea249dd2c0f5f8515a9ea
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Apr 30 12:34:50 2015 +0300
fix mkhomedir patch chunk
pam-mkhomedir-notfound.patch | 2 +-
pam.spec | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/pam.spec b/pam.spec
index b429dc9..cf160c0 100644
--- a/pam.spec
+++ b/pam.spec
@@ -1,5 +1,6 @@
# TODO
# - check and package docs: https://fedorahosted.org/releases/l/i/linux-pam/Linux-PAM-1.1.8-docs.tar.bz2
+# - fix pdf gen or disable it: No fo2pdf processor installed, skip PDF generation
#
# Conditional build:
%bcond_without doc # don't build documentation
diff --git a/pam-mkhomedir-notfound.patch b/pam-mkhomedir-notfound.patch
index 5816e6f..4f36bf4 100644
--- a/pam-mkhomedir-notfound.patch
+++ b/pam-mkhomedir-notfound.patch
@@ -80,7 +80,7 @@ diff -urN Linux-PAM-0.99.7.1.orig/modules/pam_mkhomedir/pam_mkhomedir.8.xml Linu
- return create_homedir(pamh, &opt, user, pwd->pw_dir);
+ if (opt.ctrl & HOMEDIR_CREATE)
-+ return create_homedir(pamh, &opt, pwd);
++ return create_homedir(pamh, &opt, user, pwd->pw_dir);
+ else if (opt.ctrl & HOMEDIR_DENY)
+ return PAM_PERM_DENIED;
+ else
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pam.git/commitdiff/62c4d422ff52629e75dea249dd2c0f5f8515a9ea
More information about the pld-cvs-commit
mailing list