]> git.pld-linux.org Git - packages/cyrus-sasl.git/commitdiff
- added heimdal bcond
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 29 Jun 2009 13:51:12 +0000 (13:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cyrus-sasl.spec -> 1.176

cyrus-sasl.spec

index 769410f014a7e78c0443baef95e5b856c70d384f..01a53e288250a7d4aa229363ec461ccc521e296e 100644 (file)
@@ -13,6 +13,7 @@
 %bcond_with    srp             # build srp pluggin
 %bcond_with    pwcheck         # build pwcheck helper (deprecated)
 %bcond_with    x509            # build x509 plugin (no sources in package???)
+%bcond_with    heimdal         # build GSSAPI against Heimdal
 #
 %if %{without mysql} && %{without pgsql}
 %undefine with_cryptedpw
@@ -55,7 +56,11 @@ BuildRequires:       automake
 BuildRequires: db-devel
 BuildRequires: ed
 BuildRequires: groff
+%if %{with heimdal}
+%{?with_gssapi:BuildRequires:  heimdal-devel}
+%else
 %{?with_gssapi:BuildRequires:  krb5-devel}
+%endif
 BuildRequires: libtool >= 1.4
 %{?with_mysql:BuildRequires:   mysql-devel}
 %{?with_ldap:BuildRequires:    openldap-devel >= 2.4.6}
@@ -485,7 +490,11 @@ cd ..
        %{?with_cryptedpw: LDFLAGS=-lcrypt} \
        --disable-krb4 \
        %{!?with_gssapi: --disable-gssapi} \
+%if %{with heimdal}
+       %{?with_gssapi: --enable-gssapi --with-gss_impl=heimdal} \
+%else
        %{?with_gssapi: --enable-gssapi --with-gss_impl=mit} \
+%endif
        --enable-login \
        --enable-sample \
        --enable-httpform \
This page took 0.127578 seconds and 4 git commands to generate.