summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sssd-1.9-man-change-default-ccache.patch21
-rw-r--r--contrib/sssd.spec.in8
2 files changed, 28 insertions, 1 deletions
diff --git a/contrib/sssd-1.9-man-change-default-ccache.patch b/contrib/sssd-1.9-man-change-default-ccache.patch
new file mode 100644
index 00000000..9e7f8cb3
--- /dev/null
+++ b/contrib/sssd-1.9-man-change-default-ccache.patch
@@ -0,0 +1,21 @@
+diff -up sssd-1.8.97/src/man/sssd-krb5.5.xml.ccachepath sssd-1.8.97/src/man/sssd-krb5.5.xml
+--- sssd-1.8.97/src/man/sssd-krb5.5.xml.ccachepath 2012-08-24 12:14:27.459225839 +0200
++++ sssd-1.8.97/src/man/sssd-krb5.5.xml 2012-08-24 12:14:43.845079652 +0200
+@@ -148,7 +148,7 @@
+ </citerefentry> for details) is created.
+ </para>
+ <para>
+- Default: /tmp
++ Default: /run/user/%U
+ </para>
+ </listitem>
+ </varlistentry>
+@@ -208,7 +208,7 @@
+ used to create a unique filename in a safe way.
+ </para>
+ <para>
+- Default: FILE:%d/krb5cc_%U_XXXXXX
++ Default: DIR:%d/krb5cc
+ </para>
+ </listitem>
+ </varlistentry>
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index 838e9f54..44690f08 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -19,7 +19,7 @@
%endif
%if (0%{?fedora} >= 17)
- %global with_ccache --with-default-ccache-dir='/run/user/%U' --with-default-ccname-template="DIR:%d/ccdir"
+ %global with_ccache --with-default-ccache-dir='/run/user/%U' --with-default-ccname-template="DIR:%d/krb5cc"
%endif
%global enable_experimental 1
@@ -42,6 +42,9 @@ Source0: %{name}-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
### Patches ###
+%if (0%{?fedora} >= 17)
+Patch0001: sssd-1.9-man-change-default-ccache.patch
+%endif
### Dependencies ###
@@ -221,6 +224,9 @@ A utility library to allow communication between SUDO and SSSD
%prep
%setup -q
+%if (0%{?fedora} >= 17)
+%patch0001 -p1
+%endif
%build