SPECS: opensips.spec - ldap bcond added
jajcus
jajcus at pld-linux.org
Fri Aug 22 15:46:18 CEST 2008
Author: jajcus Date: Fri Aug 22 13:46:18 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- ldap bcond added
---- Files affected:
SPECS:
opensips.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/opensips.spec
diff -u SPECS/opensips.spec:1.4 SPECS/opensips.spec:1.5
--- SPECS/opensips.spec:1.4 Fri Aug 22 15:38:44 2008
+++ SPECS/opensips.spec Fri Aug 22 15:46:12 2008
@@ -6,6 +6,7 @@
%bcond_without odbc # ODBC support
%bcond_without radius # radius support
%bcond_without carrierroute # carrierroute support
+%bcond_without ldap # LDAP support
%bcond_with osp # ETSI OSP VoIP Peering support
#
Summary: SIP proxy, redirect and registrar server
@@ -29,6 +30,7 @@
BuildRequires: libxml2-devel
%{?with_mysql:BuildRequires: mysql-devel}
BuildRequires: net-snmp-devel
+%{?with_ldap:BuildRequires: openldap-devel}
BuildRequires: openssl-devel
BuildRequires: perl-devel
%{?with_radius:BuildRequires: radiusclient-ng-devel}
@@ -157,6 +159,9 @@
%build
exclude_modules="%{exclude_modules}"
+%if %{without ldap}
+exclude_modules="$exclude_modules h350 ldap"
+%endif
%if %{without carrierroute}
exclude_modules="$exclude_modules carrierroute"
%endif
@@ -270,10 +275,14 @@
%attr(755,root,root) %{_libdir}/opensips/modules/exec.so
%attr(755,root,root) %{_libdir}/opensips/modules/gflags.so
%attr(755,root,root) %{_libdir}/opensips/modules/group.so
+%if %{with ldap}
%attr(755,root,root) %{_libdir}/opensips/modules/h350.so
+%endif
%attr(755,root,root) %{_libdir}/opensips/modules/imc.so
%attr(755,root,root) %{_libdir}/opensips/modules/lcr.so
+%if %{with ldap}
%attr(755,root,root) %{_libdir}/opensips/modules/ldap.so
+%endif
%attr(755,root,root) %{_libdir}/opensips/modules/mangler.so
%attr(755,root,root) %{_libdir}/opensips/modules/maxfwd.so
%attr(755,root,root) %{_libdir}/opensips/modules/mediaproxy.so
@@ -380,6 +389,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2008/08/22 13:46:12 jajcus
+- ldap bcond added
+
Revision 1.4 2008/08/22 13:38:44 jajcus
- excluded module names fixed
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/opensips.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list