diff --git a/mail/qmail/config.in b/mail/qmail/config.in index 720596942..d6941037e 100644 --- a/mail/qmail/config.in +++ b/mail/qmail/config.in @@ -3,7 +3,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../qmail/config.in -# Copyright (C) 2007 The OpenSDE Project +# Copyright (C) 2007 - 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -24,6 +24,8 @@ if pkgcheck qmail X; then if [ "$SDECFG_PKG_QMAIL_LDAP" == 1 ]; then bool 'Enable Domain aliasing' \ SDECFG_PKG_QMAIL_LDAP_DOMAINALIAS 0 + bool 'Enable Big Brother' \ + SDECFG_PKG_QMAIL_LDAP_BIGBROTHER 0 SDECFGSET_PKG_QMAIL_QMTP=0 SDECFGSET_PKG_QMAIL_QUEUE=0 fi diff --git a/mail/qmail/qmail-ldap.conf b/mail/qmail/qmail-ldap.conf index cd93e5c1e..9f0888757 100644 --- a/mail/qmail/qmail-ldap.conf +++ b/mail/qmail/qmail-ldap.conf @@ -34,6 +34,10 @@ if [ "$SDECFG_PKG_QMAIL_LDAP_DOMAINALIAS" == "1" ] ; then var_append LDAPFLAGS ' ' "-DDOMAIN_ALIAS" fi +if [ "$SDECFG_PKG_QMAIL_LDAP_BIGBROTHER" == "1" ] ; then + var_append LDAPFLAGS ' ' "-DBIGBROTHER" +fi + var_append makeopt ' ' "LDAPLIBS='-L$( pkgprefix libdir openldap ) -lldap -llber'" var_append makeopt ' ' "SHADOWLIBS='-lcrypt -lshadow'" var_append makeopt ' ' "LDAPINCLUDES=-I$( pkgprefix includedir openldap )"