pkgsrc/mail/dovecot/Makefile

83 lines
2.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.15 2004/03/01 15:19:41 jmmv Exp $
Update to 0.99.10.4 provided by Charlie Allom in PR pkg/23696. Changes: v0.99.10.4 2003-11-24 Timo Sirainen <tss@iki.fi> - Fixed reference counters in imap-login and pop3-login. IMAP AUTHENTICATE and POP3 AUTH commands could have left the process stuck doing nothing forever. v0.99.10.3 2003-11-24 Timo Sirainen <tss@iki.fi> - FETCH RFC822.HEADER returned message body as well - SUBSCRIBE broke subscription lists - LIST code rewritten, children flags should be correct now - SORT and THREAD could have given invalid replies - Partial BODY[...] fetches might have returned wrong data or at least performed worse than was necessary v0.99.10.1 2003-11-10 Timo Sirainen <tss@iki.fi> * mbox: \Draft and \Deleted flags used opposite flag chars in X-Status header. We were incompatible with other mbox accessing software. WARNING: Upgrading from previous version doesn't automatically swap the flags, so be careful not to accidentally expunge messages that had their \Draft flag changed to \Deleted. * Configuration file changes: - Whitespace at end of line is stripped, use quotes if you need it - # comments are supported after key=value lines. if you need '#' character, quote the value - Both " and ' quotes are supported. If you need to use them, '\' can be used for escaping. - mbox: COPY into same mailbox didn't work and could have corrupted the mailbox - Using Dovecot without index files would crash after using a while - Partial BODY[header] or BODY[part] fetches were buggy if client requested more data than was available in the header/part. - Partial BODY[...] fetches were buggy with messages that had CRLFs - Some BODY and BODYSTRUCTURE replies missed data for message/rfc822 MIME parts causing clients to break - SORT (SUBJECT) was buggy - Timezone fixes with Date-header This also includes Joshua Goodall's patch (now in the CVS tree) for CRAM-MD5 for the -release tag.
2003-12-09 05:06:37 +01:00
DISTNAME= dovecot-0.99.10.4
PKGREVISION= 1
CATEGORIES= mail
2004-01-01 04:38:33 +01:00
MASTER_SITES= http://dovecot.fi/
Update to 0.99.10.4 provided by Charlie Allom in PR pkg/23696. Changes: v0.99.10.4 2003-11-24 Timo Sirainen <tss@iki.fi> - Fixed reference counters in imap-login and pop3-login. IMAP AUTHENTICATE and POP3 AUTH commands could have left the process stuck doing nothing forever. v0.99.10.3 2003-11-24 Timo Sirainen <tss@iki.fi> - FETCH RFC822.HEADER returned message body as well - SUBSCRIBE broke subscription lists - LIST code rewritten, children flags should be correct now - SORT and THREAD could have given invalid replies - Partial BODY[...] fetches might have returned wrong data or at least performed worse than was necessary v0.99.10.1 2003-11-10 Timo Sirainen <tss@iki.fi> * mbox: \Draft and \Deleted flags used opposite flag chars in X-Status header. We were incompatible with other mbox accessing software. WARNING: Upgrading from previous version doesn't automatically swap the flags, so be careful not to accidentally expunge messages that had their \Draft flag changed to \Deleted. * Configuration file changes: - Whitespace at end of line is stripped, use quotes if you need it - # comments are supported after key=value lines. if you need '#' character, quote the value - Both " and ' quotes are supported. If you need to use them, '\' can be used for escaping. - mbox: COPY into same mailbox didn't work and could have corrupted the mailbox - Using Dovecot without index files would crash after using a while - Partial BODY[header] or BODY[part] fetches were buggy if client requested more data than was available in the header/part. - Partial BODY[...] fetches were buggy with messages that had CRLFs - Some BODY and BODYSTRUCTURE replies missed data for message/rfc822 MIME parts causing clients to break - SORT (SUBJECT) was buggy - Timezone fixes with Date-header This also includes Joshua Goodall's patch (now in the CVS tree) for CRAM-MD5 for the -release tag.
2003-12-09 05:06:37 +01:00
PATCH_SITES= http://www.roughtrade.net/dovecot/
PATCHFILES= dovecot-crammd5-0.99.10.2.diff
PATCH_DIST_STRIP= -p1
MAINTAINER= tom@replic8.net
2004-01-01 04:38:33 +01:00
HOMEPAGE= http://dovecot.fi/
COMMENT= Secure IMAP and POP3 server
2004-02-10 01:32:35 +01:00
USE_BUILDLINK3= YES
USE_LIBTOOL= YES
USE_PKGINSTALL= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --localstatedir=/var
CONFIGURE_ARGS+= --with-ssldir=${SSLCERTS}
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= DOVECOT_USE_GNUTLS DOVECOT_USE_PGSQL \
USE_INET6 USE_OPENLDAP USE_SASL2
.if !empty(DOVECOT_USE_GNUTLS:M[Yy][Ee][Ss])
CONFIGURE_ARGS+= --enable-ssl=gnutls
2004-02-10 01:32:35 +01:00
. include "../../security/gnutls/buildlink3.mk"
.else
CONFIGURE_ARGS+= --enable-ssl=openssl
2004-02-10 01:32:35 +01:00
. include "../../security/openssl/buildlink3.mk"
.endif
.if !empty(DOVECOT_USE_PGSQL:M[Yy][Ee][Ss])
CONFIGURE_ARGS+= --with-pgsql
CPPFLAGS= -I${BUILDLINK_DIR}/include/pgsql
2004-02-10 01:32:35 +01:00
. include "../../databases/postgresql-lib/buildlink3.mk"
.endif
.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
CONFIGURE_ARGS+= --enable-ipv6
.endif
.if !empty(USE_OPENLDAP:M[Yy][Ee][Ss])
CONFIGURE_ARGS+= --with-ldap
2004-02-10 01:32:35 +01:00
. include "../../databases/openldap/buildlink3.mk"
.endif
.if defined(USE_SASL2) && !empty(USE_SASL2:M[Yy][Ee][Ss])
CONFIGURE_ARGS+= --with-cyrus-sasl2
2004-02-10 01:32:35 +01:00
. include "../../security/cyrus-sasl2/buildlink3.mk"
.endif
RCD_SCRIPTS= dovecot
DOVECOT_USER?= dovecot
DOVECOT_GROUP?= dovecot
PKG_GROUPS= ${DOVECOT_GROUP}
PKG_USERS= ${DOVECOT_USER}:${DOVECOT_GROUP}::Dovecot\\ IMAP/POP3\\ user
EGDIR= ${PREFIX}/share/examples/dovecot
CONF_FILES= ${EGDIR}/dovecot.conf.default ${PKG_SYSCONFDIR}/dovecot.conf
post-configure:
2004-02-10 01:32:35 +01:00
@cd ${WRKSRC}; \
for file in dovecot-example.conf; do \
${SED} ${FILES_SUBST_SED} $$file > $$file.new; \
${MV} -f $$file.new $$file; \
done
post-install:
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/dovecot-example.conf \
${EGDIR}/dovecot.conf.default
${INSTALL_DATA} ${WRKSRC}/doc/dovecot-* ${EGDIR}
${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh ${EGDIR}
.include "../../mk/bsd.pkg.mk"