* IMAP QUOTA extension now returns "MESSAGE" quota, not "MESSAGES". This makes Dovecot now RFC 2087 compliant. Hopefully this change doesn't break anyone's Dovecot-specific quota checking code.. + Added !include and !include_try directives to config file reader. Note that !include doesn't currently work with deliver. The main point here is that ssl_key_password can be placed to a different file with !include_try that deliver can just ignore. + More error/debug message logging improvements. - v1.1.6 gave "userdb didn't return a home directory" error at startup - Some config file parsers (deliver, passwd-file, acl, trash) ignored the file's last line if it didn't end with LF. - fts: SEARCH SUBJECT didn't search messages that weren't already in fts index. - fts-solr: Don't assert-crash if we couldn't connect to Solr. - IMAP: Mailbox deletion gave an error, but still worked, if mails' control directory wasn't the same as index directory. - Several fixes to rarely used mailbox list layout configurations.
64 lines
1.8 KiB
Makefile
64 lines
1.8 KiB
Makefile
# $NetBSD: Makefile,v 1.124 2008/11/24 09:54:29 ghen Exp $
|
|
|
|
DISTNAME= dovecot-1.1.7
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.dovecot.org/releases/1.1/
|
|
|
|
MAINTAINER= ghen@NetBSD.org
|
|
HOMEPAGE= http://www.dovecot.org/
|
|
COMMENT= Secure IMAP and POP3 server
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= pkg-config
|
|
USE_TOOLS+= rpcgen
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
|
|
CONFIGURE_ARGS+= --with-ssldir=${SSLDIR:Q}
|
|
CONFIGURE_ARGS+= --enable-header-install
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.include "options.mk"
|
|
|
|
RCD_SCRIPTS= dovecot
|
|
|
|
DOVECOT_USER?= dovecot
|
|
DOVECOT_GROUP?= dovecot
|
|
PKG_GROUPS= ${DOVECOT_GROUP}
|
|
PKG_USERS= ${DOVECOT_USER}:${DOVECOT_GROUP}
|
|
PKG_GROUPS_VARS+= DOVECOT_GROUP
|
|
PKG_USERS_VARS+= DOVECOT_USER
|
|
|
|
PKG_GECOS.${DOVECOT_USER}= Dovecot IMAP/POP3 user
|
|
|
|
EGDIR= ${PREFIX}/share/examples/dovecot
|
|
CONF_FILES= ${EGDIR}/dovecot-example.conf ${PKG_SYSCONFDIR}/dovecot.conf
|
|
|
|
INSTALLATION_DIRS= libexec/dovecot sbin share/doc/dovecot \
|
|
share/examples/dovecot
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_FILES.paths= dovecot-example.conf
|
|
SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
|
|
SUBST_STAGE.paths= pre-configure
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
post-build:
|
|
${SED} "s|/etc/ssl/|${SSLDIR}/|" ${WRKSRC}/dovecot-example.conf \
|
|
> ${WRKDIR}/dovecot-example.conf
|
|
${SED} "s|/etc/ssl|${SSLDIR}|" ${WRKSRC}/doc/mkcert.sh \
|
|
> ${WRKDIR}/mkcert.sh
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKDIR}/dovecot-example.conf ${DESTDIR}${EGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/dovecot-* ${DESTDIR}${EGDIR}
|
|
${INSTALL_SCRIPT} ${WRKDIR}/mkcert.sh ${DESTDIR}${EGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/src/lib/liblib.a ${DESTDIR}${PREFIX}/lib/dovecot
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|