add a LDAP FLAVOR.
This commit is contained in:
parent
36b490b1c8
commit
79bd6b5864
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.22 2005/09/23 14:44:05 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.23 2005/10/06 17:03:21 brad Exp $
|
||||
|
||||
COMMENT= "compact IMAP/POP3 server"
|
||||
|
||||
DISTNAME= dovecot-1.0.alpha3
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= ${HOMEPAGE}releases/
|
||||
|
||||
@ -19,9 +20,14 @@ WANTLIB= c crypto ssl
|
||||
|
||||
MODULES= converters/libiconv
|
||||
|
||||
FLAVORS+= mysql postgresql
|
||||
FLAVORS+= ldap mysql postgresql
|
||||
FLAVOR?=
|
||||
|
||||
.if ${FLAVOR:L:Mldap}
|
||||
CONFIGURE_ARGS+= --with-ldap
|
||||
LIB_DEPENDS+= lber,ldap::databases/openldap
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR:L:Mmysql}
|
||||
CONFIGURE_ARGS+= --with-mysql
|
||||
LIB_DEPENDS+= lib/mysql/mysqlclient.10::databases/mysql
|
||||
@ -51,6 +57,7 @@ post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dovecot
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/dovecot-openssl.cnf \
|
||||
${WRKSRC}/doc/dovecot-sql.conf \
|
||||
${WRKSRC}/doc/dovecot-ldap.conf \
|
||||
${WRKSRC}/dovecot-example.conf \
|
||||
${PREFIX}/share/examples/dovecot
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh \
|
||||
|
@ -7,5 +7,6 @@ accessing the mailboxes directly.
|
||||
|
||||
Flavors:
|
||||
|
||||
ldap - Build with LDAP support as an authentication source
|
||||
mysql - Build with MySQL support as an authentication source
|
||||
postgresql - Build with PostgreSQL support as an authentication source
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.10 2005/09/04 18:22:30 brad Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.11 2005/10/06 17:03:22 brad Exp $
|
||||
@newgroup _dovecot:518
|
||||
@newuser _dovecot:518:_dovecot:daemon:Dovecot Account:/nonexistent:/sbin/nologin
|
||||
libexec/dovecot/
|
||||
@ -28,6 +28,7 @@ share/doc/dovecot/variables.txt
|
||||
share/examples/dovecot/
|
||||
share/examples/dovecot/dovecot-example.conf
|
||||
@sample ${SYSCONFDIR}/dovecot.conf
|
||||
share/examples/dovecot/dovecot-ldap.conf
|
||||
share/examples/dovecot/dovecot-sql.conf
|
||||
share/examples/dovecot/dovecot-openssl.cnf
|
||||
@sample ${SYSCONFDIR}/ssl/dovecot-openssl.cnf
|
||||
|
Loading…
Reference in New Issue
Block a user