From 6a0492dd00a3ca23503e3aeafdb686c937adecb9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 13 Jun 2012 18:43:31 +0200 Subject: reorg repo --- mod_auth_kerb-5.4-cachedir.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 mod_auth_kerb-5.4-cachedir.patch (limited to 'mod_auth_kerb-5.4-cachedir.patch') diff --git a/mod_auth_kerb-5.4-cachedir.patch b/mod_auth_kerb-5.4-cachedir.patch new file mode 100644 index 0000000..2c2a1fd --- /dev/null +++ b/mod_auth_kerb-5.4-cachedir.patch @@ -0,0 +1,18 @@ + +Per https://bugzilla.redhat.com//show_bug.cgi?id=796430 +switch the cache dir to be relative to runtimedir. + +--- mod_auth_kerb-5.4/src/mod_auth_kerb.c.cachedir ++++ mod_auth_kerb-5.4/src/mod_auth_kerb.c +@@ -891,7 +891,10 @@ create_krb5_ccache(krb5_context kcontext + int ret; + krb5_ccache tmp_ccache = NULL; + +- ccname = apr_psprintf(r->connection->pool, "FILE:%s/krb5cc_apache_XXXXXX", P_tmpdir); ++ ccname = apr_pstrcat(r->connection->pool, "FILE:", ++ ap_server_root_relative(r->pool, ++ DEFAULT_REL_RUNTIMEDIR ++ "/krb5cc_apache_XXXXXX")); + fd = mkstemp(ccname + strlen("FILE:")); + if (fd < 0) { + log_rerror(APLOG_MARK, APLOG_ERR, 0, r, -- cgit