pkgsrc/mail/dovecot/Makefile

60 lines
1.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.31 2005/01/08 19:58:16 schmonz Exp $
DISTNAME= dovecot-0.99.13
CATEGORIES= mail
MASTER_SITES= http://www.dovecot.org/releases/
.if 0
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.11.diff
PATCH_DIST_STRIP= -p1
.endif
MAINTAINER= tom@replic8.net
HOMEPAGE= http://www.dovecot.org/
COMMENT= Secure IMAP and POP3 server
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}/${DISTNAME:S/.1$//}
USE_BUILDLINK3= yes
USE_LIBTOOL= yes
USE_PKGINSTALL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
2004-06-21 10:32:05 +02:00
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
CONFIGURE_ARGS+= --with-ssldir=${SSLCERTS}
.include "../../mk/bsd.prefs.mk"
2004-08-01 09:04:45 +02:00
.include "options.mk"
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
2004-08-01 09:04:45 +02:00
INSTALLATION_DIRS= libexec/dovecot sbin share/doc/dovecot \
share/examples/dovecot
post-configure:
2004-02-10 01:32:35 +01:00
@cd ${WRKSRC}; \
for i in dovecot-example.conf; do \
${SED} ${FILES_SUBST_SED} $$i > $$i.new; \
${MV} -f $$i.new $$i; \
2004-02-10 01:32:35 +01:00
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"