summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pazdziora <jpazdziora@redhat.com>2014-06-23 14:38:46 +0200
committerJan Pazdziora <jpazdziora@redhat.com>2014-06-23 14:38:46 +0200
commitdb6c9f4a414ed19419c1405854cd8da1e18e819f (patch)
tree268b93d4f3e79661c8d893c5a733bd30d72fc460
parenta8553855cdee3c69e3f8b2bfff4b3f8570394883 (diff)
downloadmod_authnz_pam-db6c9f4a414ed19419c1405854cd8da1e18e819f.tar.gz
mod_authnz_pam-db6c9f4a414ed19419c1405854cd8da1e18e819f.tar.xz
mod_authnz_pam-db6c9f4a414ed19419c1405854cd8da1e18e819f.zip
Hint about loading in conf.modules.d.
-rw-r--r--mod_authnz_pam.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod_authnz_pam.spec b/mod_authnz_pam.spec
index feed6e1..da755cb 100644
--- a/mod_authnz_pam.spec
+++ b/mod_authnz_pam.spec
@@ -37,7 +37,9 @@ can also be used as full Basic Authentication provider which runs the
%build
%{_httpd_apxs} -c -Wc,"%{optflags} -Wall -pedantic -std=c99" -lpam mod_authnz_pam.c
%if "%{_httpd_modconfdir}" != "%{_httpd_confdir}"
-cp authnz_pam.conf authnz_pam.confx
+echo > authnz_pam.confx
+echo "# Load the module in %{_httpd_modconfdir}/55-authnz_pam.conf" >> authnz_pam.confx
+cat authnz_pam.conf >> authnz_pam.confx
%else
cat authnz_pam.module > authnz_pam.confx
cat authnz_pam.conf >> authnz_pam.confx