Browse Source

qmail: added option to enable BIGBROTHER in qmail-ldap

early
Alejandro Mery 16 years ago
parent
commit
ea12d1990e
  1. 4
      mail/qmail/config.in
  2. 4
      mail/qmail/qmail-ldap.conf

4
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

4
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 )"

Loading…
Cancel
Save