[pam_krb5] adjust to the new location of the per-user tmp

Nalin Dahyabhai nalin at fedoraproject.org
Thu Jul 5 15:37:29 UTC 2012


commit 0ba081f6ec08d853d10ff16939feaf3a40fefbb6
Author: Nalin Dahyabhai <nalin at redhat.com>
Date:   Thu Jul 5 11:37:11 2012 -0400

    adjust to the new location of the per-user tmp

 pam_krb5.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/pam_krb5.spec b/pam_krb5.spec
index 32f9b6b..749a5e8 100644
--- a/pam_krb5.spec
+++ b/pam_krb5.spec
@@ -1,7 +1,7 @@
 Summary: A Pluggable Authentication Module for Kerberos 5
 Name: pam_krb5
 Version: 2.3.14
-Release: 1%{?dist}
+Release: 2%{?dist}
 Source0: https://fedorahosted.org/released/pam_krb5/pam_krb5-%{version}-1.tar.gz
 Source1: https://fedorahosted.org/released/pam_krb5/pam_krb5-%{version}-1.tar.gz.sig
 License: BSD or LGPLv2+
@@ -23,7 +23,7 @@ The included pam_krb5afs module also gets AFS tokens if so configured.
 %build
 configure_flags=
 %if 0%{?fedora} > 17 || 0%{?rhel} > 6
-configure_flags=--enable-default-ccname-template=FILE:/run/user/%u/krb5cc_XXXXXX
+configure_flags=--enable-default-ccname-template=FILE:/run/user/%%U/krb5cc_XXXXXX
 %endif
 %configure --libdir=/%{_lib} \
 	--with-default-use-shmem="sshd" \
@@ -60,6 +60,10 @@ sed -ri -e 's|/lib(64)?/|/\$LIB/|g' $RPM_BUILD_ROOT/%{_mandir}/man*/pam_krb5*.8*
 %{_mandir}/man8/*
 
 %changelog
+* Thu Jul 05 2012 Nalin Dahyabhai <nalin at redhat.com> - 2.3.14-2
+- on Fedora 18 and later, override the default ccname template and specify that
+  it be FILE:/run/user/%%U/krb5cc_XXXXXX
+
 * Thu May 24 2012 Nalin Dahyabhai <nalin at redhat.com> - 2.3.14-1
 - update to 2.3.14
   - attempt to drop to the user's privileges when reinitializing/refreshing


More information about the scm-commits mailing list