]> git.pld-linux.org Git - packages/samba.git/commitdiff
- ads requires krb5 _and_ ldap auto/ac/samba-3_0_8-0_pre1_1
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 12 Oct 2004 14:01:43 +0000 (14:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    samba.spec -> 1.229

samba.spec

index d4fe071b7d7dbff1af63a17f0e0bbda0d067e53c..8708f3e80a2bb16f15d208bb64efa838fee477d4 100644 (file)
@@ -7,6 +7,7 @@
 # - new package with McAfee vscan - I dunno what to do with daemon
 #
 # Conditional build:
+%bcond_without ads             # without ActiveDirectory support
 %bcond_without cups            # without CUPS support
 %bcond_without mysql           # without MySQL support
 %bcond_without pgsql           # without PostgreSQL support
 %bcond_without krb5            # without Kerberos5/Heimdal support
 %bcond_without python          # without python libs/utils
 #
+# ADS requires krb5 and LDAP
+%if %{without krb5} || %{without ldap}
+%undefine      with_ads
+%endif
 %define                vscan_version 0.3.5
 Summary:       SMB server
 Summary(cs):   Server SMB
@@ -862,7 +867,7 @@ cd source
        --with-libsmbclient \
        --with-pam \
        --with-pam_smbpass \
-       --with%{!?with_ldap:out}-ads \
+       --with%{!?with_ads:out}-ads \
        --with-privatedir=%{_sysconfdir}/samba \
        --with-quotas \
        --with-readline \
This page took 0.18242 seconds and 4 git commands to generate.