pkgsrc/mail/dovecot2/Makefile
adam 6794e53556 Changes 2.2.2:
+ zlib: Keep the last mail cached uncompressed in a temp file. This
  fixes performance when doing small partial fetches from a large
  mail.
+ acl: If plugin { acl_defaults_from_inbox = yes } is set, get the
  default ACLs for private and shared namespaces from the user's INBOX.
  (This probably will become default in v2.3.)
+ pop3: Added pop3_deleted_flag setting to switch POP3 deletions to
  only hide the messages from POP3, but still be visible via IMAP.
- ACL plugin: Mailbox creation wasn't actually checking any ACLs
  and always succeeded (due to some v2.2 API changes). The created
  mailbox couldn't have been accessed though, so this couldn't have
  caused any data leak.
- IMAP: Various URLAUTH fixes.
- IMAP: Fixed a hang with invalid APPEND parameters.
- IMAP LIST-EXTENDED: INBOX was never listed with \Subscribed flag.
- mailbox_list_index=yes still caused crashes.
- maildir: Fixed a crash after dovecot-keywords file was re-read.
- maildir: If files had reappeared unexpectedly to a Maildir, they
  were ignored until index files were deleted.
- Maildir: Fixed handling over 26 keywords in a mailbox.
- Maildir++: Fixed mail_shared_explicit_inbox=no
- namespace { prefix="" list=no } was listing mailboxes.
- imap/pop3-login proxying: Fixed a crash if TCP connection succeeded,
  but the remote login timed out.
- Case-insensitive search/sort didn't work correctly for all unicode
  characters, as specified by i;unicode-casemap comparator. If full
  text search indexes were used, they need to be rebuilt for old mails
  to be handled correctly. (This bug has existed always in Dovecot.)
2013-05-23 19:45:50 +00:00

71 lines
2.1 KiB
Makefile

# $NetBSD: Makefile,v 1.45 2013/05/23 19:45:50 adam Exp $
DISTNAME= dovecot-2.2.2
CATEGORIES= mail
MASTER_SITES= http://www.dovecot.org/releases/2.2/
MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://www.dovecot.org/
COMMENT= Secure IMAP and POP3 server
LICENSE= mit AND gnu-lgpl-v2.1 AND modified-bsd
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config rpcgen
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-ssldir=${SSLDIR}
.include "../../mk/bsd.prefs.mk"
RCD_SCRIPTS= dovecot
DOVECOT_USER?= dovecot
DOVECOT_GROUP?= dovecot
DOVENULL_USER?= dovenull
DOVENULL_GROUP?= dovenull
PKG_GROUPS= ${DOVECOT_GROUP} ${DOVENULL_GROUP}
PKG_USERS= ${DOVECOT_USER}:${DOVECOT_GROUP} \
${DOVENULL_USER}:${DOVENULL_GROUP}
PKG_GROUPS_VARS= DOVECOT_GROUP DOVENULL_GROUP
PKG_USERS_VARS= DOVECOT_USER DOVENULL_USER
PKG_GECOS.${DOVECOT_USER}= Dovecot IMAP/POP3 user
PKG_GECOS.${DOVENULL_USER}= Dovecot login user
SUBST_CLASSES+= ssldir
SUBST_MESSAGE.ssldir= Fixing SSLDIR
SUBST_FILES.ssldir= doc/example-config/conf.d/10-ssl.conf
SUBST_STAGE.ssldir= pre-configure
SUBST_SED.ssldir= -e 's,/etc/ssl,${SSLDIR},'
EGDIR= ${PREFIX}/share/examples/dovecot
CNFS_cmd= ${SED} -ne "s,^share/examples/dovecot/,,p" PLIST
CNFS= ${CNFS_cmd:sh}
CONF_FILES= ${EGDIR}/dovecot.conf ${PKG_SYSCONFDIR}/dovecot/dovecot-example.conf
.for file in ${CNFS}
CONF_FILES+= ${EGDIR}/${file:Q} ${PKG_SYSCONFDIR}/dovecot/${file:Q}
.endfor
INSTALLATION_DIRS= libexec/dovecot sbin share/doc/dovecot
INSTALLATION_DIRS+= share/examples/dovecot share/examples/dovecot/conf.d
OWN_DIRS= ${PKG_SYSCONFDIR}/dovecot/
OWN_DIRS+= ${PKG_SYSCONFDIR}/dovecot/conf.d
BUILD_DEFS+= VARBASE
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/dovecot-openssl.cnf ${DESTDIR}${EGDIR}
${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh ${DESTDIR}${EGDIR}
.include "options.mk"
# Don't compress manual pages as they include each other.
.undef MANZ
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"