diff options
Diffstat (limited to 'crypto/cyrus-sasl/DEPENDS')
-rwxr-xr-x | crypto/cyrus-sasl/DEPENDS | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/crypto/cyrus-sasl/DEPENDS b/crypto/cyrus-sasl/DEPENDS new file mode 100755 index 0000000000..b2cac636c7 --- /dev/null +++ b/crypto/cyrus-sasl/DEPENDS @@ -0,0 +1,33 @@ +depends automake && +depends autoconf && +depends libmcrypt && + +optional_depends openssl '--with-openssl=/bin' '--without-openssl' 'for OpenSSL' && + +if [[ "$CS_KERBEROS" == 'y' ]]; then + optional_depends krb5 \ + '--enable-gssapi=/usr' \ + '--disable-gssapi' \ + 'for Kerberos authentication' && + optional_depends krb4 \ + '--enable-krb4' \ + '--disable-krb4' \ + 'for Kerberos 4 authentication (not recommended)' +fi && +if [[ "$CS_MECH" =~ 'saslauthd' ]]; then + case "$CS_SASLD" in + shadow) ;; # TODO, didn't find appropriate option for configure + PAM) optional_depends linux-pam '--with-pam=/usr' '--without-pam' 'saslauthd PAM backend' ;; + LDAP) optional_depends openldap '--with-ldap=/usr' '--without-ldap' 'saslauthd LDAP backend';; + KERBEROS) ;; # TODO, what's special about this one? + esac +fi && +if [[ "$CS_MECH" =~ 'auxprop' ]]; then + case "$CS_DB" in + berkeley) depends db '--with-dblib=berkeley';; + gdbm) depends gdbm '--with-dblib=gdbm' ;; + esac && + optional_depends sqlite2 '--enable-sql --with-sqlite=/usr' '--without-sqlite' 'auxprop SQLite backend' && + optional_depends mysql '--enable-sql --with-mysql=/usr' '--without-mysql' 'auxprop MySQL backend' && + optional_depends postgresql '--enable-sql --with-pgsql=/usr' '--without-pgsql' 'auxprop PostgreSQL backend' +fi |