[ejabberd] Fixed rhbz #758601 (no /etc/pam.d/password-auth in EL5)

Peter Lemenkov peter at fedoraproject.org
Sun Jul 15 07:32:15 UTC 2012


commit 36e37caf9945667e0ae65572432bff73948b1251
Author: Peter Lemenkov <lemenkov at gmail.com>
Date:   Sun Jul 15 11:31:57 2012 +0400

    Fixed rhbz #758601 (no /etc/pam.d/password-auth in EL5)
    
    Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>

 ejabberd.spec |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/ejabberd.spec b/ejabberd.spec
index 05c4cea..10d126e 100644
--- a/ejabberd.spec
+++ b/ejabberd.spec
@@ -11,7 +11,7 @@
 
 Name:           ejabberd
 Version:        2.1.11
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A distributed, fault-tolerant Jabber/XMPP server
 
 Group:          Applications/Internet
@@ -161,6 +161,11 @@ ln -s consolehelper %{buildroot}%{_bindir}/ejabberdctl
 install -D -p -m 0644 %{S:9} %{buildroot}%{_sysconfdir}/pam.d/ejabberdctl
 install -D -p -m 0644 %{S:10} %{buildroot}%{_sysconfdir}/security/console.apps/ejabberdctl
 install -D -p -m 0644 %{S:11} %{buildroot}%{_sysconfdir}/pam.d/ejabberd
+%if 0%{?el5}
+# No password-auth PAM scheme in EL5 - see rhbz #758601
+sed -i -e "s,password-auth,system-auth,g" %{buildroot}%{_sysconfdir}/pam.d/ejabberd
+%endif
+
 
 %if 0%{?fedora} > 14
 # install systemd entry
@@ -387,9 +392,13 @@ rm -rf %{buildroot}
 %doc %{_docdir}/%{name}-%{version}/*.txt
 
 %changelog
+* Sun Jul 15 2012 Peter Lemenkov <lemenkov at gmail.com> - 2.1.11-3
+- Fixed rhbz #758601 (no /etc/pam.d/password-auth in EL5)
+
 * Sun Jul 15 2012 Peter Lemenkov <lemenkov at gmail.com> - 2.1.11-2
-- Updated mod_Admin_extra to work with R15B (see rhbz #840039)
+- Updated mod_admin_extra to work with R15B (see rhbz #840039)
 - Updated list of arches where we don't have hevea
+- Dropped abandonded and not working modules
 
 * Sun May 06 2012 Peter Lemenkov <lemenkov at gmail.com> - 2.1.11-1
 - Ver. 2.1.11


More information about the scm-commits mailing list