[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / mail / dovecot

File: [cvs.NetBSD.org] / pkgsrc / mail / dovecot / Makefile (download)

Revision 1.29, Tue Dec 21 00:00:34 2004 UTC (14 years, 11 months ago) by xtraeme
Branch: MAIN
Changes since 1.28: +5 -2 lines

Update to 0.9.12.1

Changes:

        - Fix memory leaks in LDAP, MySQL and PGSQL userdb/passdb
        - Fix hanging when parsing mails that have over 4096 bytes in one
          line (SMTP servers normally don't allow over 1000 bytes so it
          shouldn't be much of a problem)
        - FETCH BODYSTRUCTURE sometimes gave a wrong reply
          (eg. with FETCH (BODYSTRUCTURE RFC822.SIZE) if it wasn't cached)
        - Never return more than one INBOX in LIST even if there are such
          files. They don't work anyway and it just confuses clients.
        - mbox: Don't allow creating INBOX directory by creating/renaming
          mailboxes under it. They just wouldn't work.
        - POP3: Don't return PLAIN in SASL list. We don't support initial SASL
          responses, so it only breaks with most clients that try to use it.
        - IMAP and POP3 login processes may have sent each line in two IP
          packets, one with the data and another with CR+LF. Some clients
          didn't work because of this.

# $NetBSD: Makefile,v 1.29 2004/12/21 00:00:34 xtraeme Exp $

DISTNAME=		dovecot-0.99.12.1
CATEGORIES=		mail
MASTER_SITES=		http://www.dovecot.org/releases/

.if 0
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}
CONFIGURE_ARGS+=	--localstatedir=${VARBASE}
CONFIGURE_ARGS+=	--with-ssldir=${SSLCERTS}

# Avoid an ICE in gcc2 on sparc64
CONFIGURE_ENV+=		F77=${FALSE}

.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}::Dovecot\\ IMAP/POP3\\ user

EGDIR=		${PREFIX}/share/examples/dovecot
CONF_FILES=	${EGDIR}/dovecot.conf.default ${PKG_SYSCONFDIR}/dovecot.conf

INSTALLATION_DIRS=	libexec/dovecot sbin share/doc/dovecot		\
			share/examples/dovecot

post-configure:
	@cd ${WRKSRC};							\
	for i in dovecot-example.conf; do				\
		${SED} ${FILES_SUBST_SED} $$i > $$i.new;		\
		${MV} -f $$i.new $$i;					\
	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"