[krb5] Create and own /etc/gss (#1019937)
Nalin Dahyabhai
nalin at fedoraproject.org
Wed Oct 16 22:24:01 UTC 2013
commit 31e8e33c4379fbc0f36ad62d4ab0a4996d4e91ab
Author: Nalin Dahyabhai <nalin at dahyabhai.net>
Date: Wed Oct 16 18:12:24 2013 -0400
Create and own /etc/gss (#1019937)
krb5.spec | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/krb5.spec b/krb5.spec
index 31f1320..e00021e 100644
--- a/krb5.spec
+++ b/krb5.spec
@@ -41,7 +41,7 @@
Summary: The Kerberos network authentication system
Name: krb5
Version: 1.11.3
-Release: 25%{?dist}
+Release: 26%{?dist}
# Maybe we should explode from the now-available-to-everybody tarball instead?
# http://web.mit.edu/kerberos/dist/krb5/1.11/krb5-1.11.3-signed.tar
Source0: krb5-%{version}.tar.gz
@@ -528,6 +528,10 @@ mkdir -p $RPM_BUILD_ROOT%{_var}/kerberos/krb5/user
mkdir -p $RPM_BUILD_ROOT/etc
install -pm 644 %{SOURCE6} $RPM_BUILD_ROOT/etc/krb5.conf
+# Parent of configuration file for list of loadable GSS mechs ("mechs"). This
+# location is not relative to sysconfdir, but is hard-coded in g_initialize.c.
+mkdir -m 755 -p $RPM_BUILD_ROOT/etc/gss
+
# If the default configuration needs to start specifying a default cache
# location, add it now, then fixup the timestamp so that it looks the same.
%if 0%{?configure_default_ccache_name}
@@ -909,6 +913,8 @@ exit 0
%defattr(-,root,root,-)
%doc README NOTICE LICENSE
%docdir %{_mandir}
+# This is a hard-coded, not-dependent-on-the-configure-script path.
+%dir /etc/gss
%verify(not md5 size mtime) %config(noreplace) /etc/krb5.conf
/%{_mandir}/man5/.k5identity.5*
/%{_mandir}/man5/.k5login.5*
@@ -1000,6 +1006,9 @@ exit 0
%{_sbindir}/uuserver
%changelog
+* Wed Oct 16 2013 Nalin Dahyabhai <nalin at redhat.com> - 1.11.3-26
+- create and own /etc/gss (#1019937)
+
* Tue Oct 15 2013 Nalin Dahyabhai <nalin at redhat.com> - 1.11.3-25
- pull up fix for importing previously-exported credential caches in the
gssapi library (RT# 7706, #1019420)
More information about the scm-commits
mailing list