dovecot: add LDAP option
Signed-off-by: W. Michael Petullo <mike@flyn.org>
This commit is contained in:
parent
d2d0d41dd9
commit
13af207aaa
1 changed files with 20 additions and 1 deletions
|
@ -27,7 +27,7 @@ include $(INCLUDE_DIR)/package.mk
|
||||||
define Package/dovecot
|
define Package/dovecot
|
||||||
SECTION:=mail
|
SECTION:=mail
|
||||||
CATEGORY:=Mail
|
CATEGORY:=Mail
|
||||||
DEPENDS:=+libopenssl +librt +zlib +libbz2 +libcap
|
DEPENDS:=+DOVECOT_LDAP:libopenldap +libopenssl +librt +zlib +libbz2 +libcap
|
||||||
TITLE:=An IMAP and POP3 daemon
|
TITLE:=An IMAP and POP3 daemon
|
||||||
MAINTAINER:=Peter Wagner <tripolar@gmx.at>
|
MAINTAINER:=Peter Wagner <tripolar@gmx.at>
|
||||||
URL:=http://www.dovecot.org/
|
URL:=http://www.dovecot.org/
|
||||||
|
@ -37,6 +37,17 @@ define Package/dovecot/description
|
||||||
Dovecot is a program which provides POP3 and IMAP services.
|
Dovecot is a program which provides POP3 and IMAP services.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/dovecot/config
|
||||||
|
menu "Select dovecot build options"
|
||||||
|
depends on PACKAGE_dovecot
|
||||||
|
config DOVECOT_LDAP
|
||||||
|
bool "LDAP support"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
Implements LDAP support in dovecot.
|
||||||
|
endmenu
|
||||||
|
endef
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--without-gssapi \
|
--without-gssapi \
|
||||||
--without-pam \
|
--without-pam \
|
||||||
|
@ -45,6 +56,14 @@ CONFIGURE_ARGS += \
|
||||||
--without-lzma \
|
--without-lzma \
|
||||||
--without-lz4
|
--without-lz4
|
||||||
|
|
||||||
|
ifneq ($(strip $(CONFIG_DOVECOT_LDAP)),)
|
||||||
|
CONFIGURE_ARGS+= \
|
||||||
|
--with-ldap=yes
|
||||||
|
else
|
||||||
|
CONFIGURE_ARGS+= \
|
||||||
|
--with-ldap=no
|
||||||
|
endif
|
||||||
|
|
||||||
CONFIGURE_VARS += \
|
CONFIGURE_VARS += \
|
||||||
RPCGEN= \
|
RPCGEN= \
|
||||||
i_cv_signed_size_t=no \
|
i_cv_signed_size_t=no \
|
||||||
|
|
Loading…
Reference in a new issue