New commits:
commit 7ee537cd9da38cdc631bcc6c2050cc182c4d17e5
Author: Elisamuel Resto <ryuji AT sourcemage.org>
Commit: Elisamuel Resto <ryuji AT sourcemage.org>
mail/postfix: added dovecot dependency for dovecot's SASL authentication
mechanism
diff --git a/mail/postfix/BUILD b/mail/postfix/BUILD
index 8bb84d1..c8a30fa 100755
--- a/mail/postfix/BUILD
+++ b/mail/postfix/BUILD
@@ -23,9 +23,18 @@ if is_depends_enabled $SPELL linux-pam; then
message "${MESSAGE_COLOR}Linux-PAM requested: Using
Linux-PAM${DEFAULT_COLOR}"
fi &&
+if is_depends_enabled $SPELL dovecot || is_depends_enabled $SPELL
cyrus-sasl; then
+ CCARGS="$CCARGS -DUSE_SASL_AUTH"
+fi &&
+
+if is_depends_enabled $SPELL dovecot; then
+ CCARGS="$CCARGS -DDEF_SERVER_SASL_TYPE=\\\"dovecot\\\"" &&
+ message "${MESSAGE_COLOR}Dovecot SASL requested: Using Dovecot
SASL${DEFAULT_COLOR}"
+fi &&
+
if is_depends_enabled $SPELL cyrus-sasl; then
AUXLIBS="$AUXLIBS -lsasl2" &&
- CCARGS="$CCARGS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL
-I$INSTALL_ROOT/usr/include/sasl" &&
+ CCARGS="$CCARGS -DUSE_CYRUS_SASL -I$INSTALL_ROOT/usr/include/sasl" &&
message "${MESSAGE_COLOR}Cyrus-SASL requested: Using
Cyrus-SASL${DEFAULT_COLOR}"
fi &&