[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.51, Fri May 12 11:02:48 2006 UTC (13 years, 7 months ago) by grant
Branch: MAIN
Changes since 1.50: +2 -2 lines

update dovecot to 1.0beta8.

changes since 1.0beta7:

        * Fixed a security hole with mbox: "1 LIST .. *" command could
          list all directories and files under the mbox root directory, so
          if your mails were stored in eg. /var/mail/%u/ directory, the
          command would list everything under /var/mail.
        + Unless nfs_check=no or mmap_disable=yes, check for the first login
          if the user's index directory exists in NFS mount. If so, refuse to
          run. This is done only on first login to avoid constant extra
          overhead.
        + If we have plugins set and imap_capability unset, figure out the
          IMAP capabilities automatically by running imap binary at startup.
          The generated capability list isn't updated until Dovecot is
          restarted completely, so if you add or remove IMAP plugins you
          should restart. If you have problems related to this, set
          imap_capabilities setting manually to work around it.
        + Added auth_username_format setting
        - pop3_lock_session setting wasn't really working
        - Lots of fixes related to quota handling. It's still not working
          perfectly though.
        - Lots of index handling fixes, especially with mmap_disable=yes
        - Maildir: saving mails could have sometimes caused "Append with UID
          n, but next_uid = m" errors
        - flock() locking never timeouted because ignoring SIGALRM caused the
          system call just to be restarted when SIGALRM occurred (probably not
          with all OSes though?)
        - kqueue: Fixed "Unrecognized event". Patch by Vaclav Haisman

# $NetBSD: Makefile,v 1.51 2006/05/12 11:02:48 grant Exp $

DISTNAME=		dovecot-1.0.beta8
PKGNAME=		${DISTNAME:S/.beta/beta/}
CATEGORIES=		mail
MASTER_SITES=		http://www.dovecot.org/releases/

MAINTAINER=		ghen@NetBSD.org
HOMEPAGE=		http://www.dovecot.org/
COMMENT=		Secure IMAP and POP3 server

PKG_INSTALLATION_TYPES=	overwrite pkgviews

USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes

CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+=	--localstatedir=${VARBASE:Q}
CONFIGURE_ARGS+=	--with-ssldir=${SSLCERTS:Q}

.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_GECOS.${DOVECOT_USER}=	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

SUBST_CLASSES+=		paths
SUBST_FILES.paths=	dovecot-example.conf
SUBST_SED.paths+=	-e 's,@PREFIX@,${PREFIX},g'
SUBST_STAGE.paths=	pre-configure

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 "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"