Author: japhy                        Date: Tue Feb 13 08:56:23 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Add --with pam to build with PAM authentication support 
(http://ejabberd.jabber.ru/pam)

---- Files affected:
SPECS:
   ejabberd.spec (1.30 -> 1.31) 

---- Diffs:

================================================================
Index: SPECS/ejabberd.spec
diff -u SPECS/ejabberd.spec:1.30 SPECS/ejabberd.spec:1.31
--- SPECS/ejabberd.spec:1.30    Mon Feb 12 22:23:54 2007
+++ SPECS/ejabberd.spec Tue Feb 13 09:56:17 2007
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with    pam             # PAM authentication support
+#
 Summary:       Fault-tolerant distributed Jabber/XMPP server
 Summary(pl.UTF-8):     Odporny na awarie rozproszony serwer Jabbera/XMPP
 Name:          ejabberd
@@ -16,11 +20,15 @@
 Patch0:                %{name}-makefile.patch
 Patch1:                %{name}-config.patch
 Patch2:                %{name}-mod_muc.patch
+Patch3:                %{name}-auth_pam.patch
 URL:           http://ejabberd.jabber.ru/
 BuildRequires: autoconf
 BuildRequires: erlang >= R9C
 BuildRequires: expat-devel >= 1.95
 BuildRequires: openssl-devel
+%if %{with pam}
+BuildRequires: pam-devel
+%endif
 BuildRequires: rpmbuild(macros) >= 1.268
 BuildRequires: zlib-devel
 Requires(post):        /usr/bin/perl
@@ -45,12 +53,16 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%if %{with pam}
+cd src/
+%patch3 -p0
+%endif
 
 %build
 cd src
 %{__autoconf}
 %configure \
-       --enable-odbc
+       --enable-odbc %{?with_pam --enable-pam}
 %{__make}
 cd ..
 
@@ -113,6 +125,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.31  2007/02/13 08:56:17  japhy
+- Add --with pam to build with PAM authentication support 
(http://ejabberd.jabber.ru/pam)
+
 Revision 1.30  2007/02/12 21:23:54  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ejabberd.spec?r1=1.30&r2=1.31&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to