]> git.pld-linux.org Git - packages/samba.git/commitdiff
- added (conditional) LDAP support
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 15 Feb 2002 09:38:05 +0000 (09:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    samba.spec -> 1.82

samba.spec

index 72dac953816ee5c283b444066af26fc8ddd8abd4..5f0f7f82b880e14df39a4d484061204a897f6173 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+# _with_ldap   - with LDAP support
+#
 Summary:       SMB server
 Summary(pl):   Serwer SMB
 Summary(cs):   Server SMB
@@ -42,6 +46,7 @@ BuildRequires:        autoconf
 BuildRequires: ncurses-devel >= 5.2
 BuildRequires: readline-devel >= 4.2
 BuildRequires: pam-devel > 0.66
+%{?_with_ldap:BuildRequires:   openldap-devel}
 BuildRequires: openssl-devel >= 0.9.6a
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -220,7 +225,8 @@ autoconf
        --with-mmap \
        --with-pam \
        --with-ssl \
-       --with-sslinc=%{_prefix}
+       --with-sslinc=%{_prefix} \
+       %{?_with_ldap:--with-ldapsam}
        
 %{__make} all 
 
This page took 0.051362 seconds and 4 git commands to generate.