2007-03-14 15:14:52 +01:00
|
|
|
# $NetBSD: Makefile,v 1.89 2007/03/14 14:14:52 ghen Exp $
|
2003-05-14 06:17:31 +02:00
|
|
|
|
2007-03-14 15:14:52 +01:00
|
|
|
DISTNAME= dovecot-1.0.rc27
|
2006-07-02 11:29:17 +02:00
|
|
|
PKGNAME= ${DISTNAME:S/.rc/rc/}
|
2003-09-23 15:54:25 +02:00
|
|
|
CATEGORIES= mail
|
2004-07-14 20:09:00 +02:00
|
|
|
MASTER_SITES= http://www.dovecot.org/releases/
|
2003-05-14 06:17:31 +02:00
|
|
|
|
- Update mail/dovecot to 1.0beta2. The 1.0 betas are very stable, and
recommended by the Dovecot author (the 0.99.x series are deprecated).
Major changes:
v1.0.beta2 2006-01-22 Timo Sirainen <tss@iki.fi>
+ Added SQLite support. Patch by Jakob Hirsch.
+ Added auth_debug_passwords setting. If it's not enabled, hide all
password strings from logs.
+ Added mail_cache_min_mail_count and mbox_min_index_size settings
which can be used to make Dovecot do less disk writes in small
mailboxes where they don't benefit that much.
+ Added --build-ssl-parameters parameter to dovecot binary
- SSL parameters were being regenerated every 10 minutes, although not
with all systems.
- Fixed dovecot-auth crashing at startup. Happened only with some
specific compilers.
- base_dir was supposed to be set world-readable, not world-writable
v1.0.beta1 2006-01-16 Timo Sirainen <tss@iki.fi>
* Almost a complete rewrite since 0.99.x, but some of the major
changes are:
+ Index file code rewritten to do less disk I/O, wait locks less and in
generate be smarter. They also support being in clustered filesystems
and NFS support is mostly working also.
+ Mail caching is smarter. Only the data that client requests is
cached. Before Dovecot opened and cached all mails when mailbox was
opened the first time, which was slow.
+ Mbox handling code rewritten to be much faster, safer and correct
+ New authentication mechanisms: APOP, GSSAPI, LOGIN, NTLM and RPA.
+ LDAP supports authentication binds
+ Authentication server can cache password database lookups
+ Support for multiple authentication databases
+ Namespace configuration
+ Dovecot works with shared
- Add an option for sqlite support.
- Take over maintainership.
All suggested (and ok'ed) by xtraeme.
2006-02-06 16:54:37 +01:00
|
|
|
MAINTAINER= ghen@NetBSD.org
|
2004-07-14 20:09:00 +02:00
|
|
|
HOMEPAGE= http://www.dovecot.org/
|
2003-09-23 15:54:25 +02:00
|
|
|
COMMENT= Secure IMAP and POP3 server
|
|
|
|
|
2004-07-28 17:22:07 +02:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
2006-12-15 18:35:20 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2004-07-28 17:22:07 +02:00
|
|
|
|
2005-01-08 20:58:16 +01:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2006-07-04 08:54:07 +02:00
|
|
|
USE_TOOLS+= pkg-config
|
2003-05-14 06:17:31 +02:00
|
|
|
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
|
2006-08-09 13:26:36 +02:00
|
|
|
CONFIGURE_ARGS+= --with-ssldir=${SSLDIR:Q}
|
2003-05-14 06:17:31 +02:00
|
|
|
|
2003-06-23 17:06:10 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2004-08-01 09:04:45 +02:00
|
|
|
.include "options.mk"
|
2003-11-02 18:24:06 +01:00
|
|
|
|
- Update mail/dovecot to 1.0beta2. The 1.0 betas are very stable, and
recommended by the Dovecot author (the 0.99.x series are deprecated).
Major changes:
v1.0.beta2 2006-01-22 Timo Sirainen <tss@iki.fi>
+ Added SQLite support. Patch by Jakob Hirsch.
+ Added auth_debug_passwords setting. If it's not enabled, hide all
password strings from logs.
+ Added mail_cache_min_mail_count and mbox_min_index_size settings
which can be used to make Dovecot do less disk writes in small
mailboxes where they don't benefit that much.
+ Added --build-ssl-parameters parameter to dovecot binary
- SSL parameters were being regenerated every 10 minutes, although not
with all systems.
- Fixed dovecot-auth crashing at startup. Happened only with some
specific compilers.
- base_dir was supposed to be set world-readable, not world-writable
v1.0.beta1 2006-01-16 Timo Sirainen <tss@iki.fi>
* Almost a complete rewrite since 0.99.x, but some of the major
changes are:
+ Index file code rewritten to do less disk I/O, wait locks less and in
generate be smarter. They also support being in clustered filesystems
and NFS support is mostly working also.
+ Mail caching is smarter. Only the data that client requests is
cached. Before Dovecot opened and cached all mails when mailbox was
opened the first time, which was slow.
+ Mbox handling code rewritten to be much faster, safer and correct
+ New authentication mechanisms: APOP, GSSAPI, LOGIN, NTLM and RPA.
+ LDAP supports authentication binds
+ Authentication server can cache password database lookups
+ Support for multiple authentication databases
+ Namespace configuration
+ Dovecot works with shared
- Add an option for sqlite support.
- Take over maintainership.
All suggested (and ok'ed) by xtraeme.
2006-02-06 16:54:37 +01:00
|
|
|
RCD_SCRIPTS= dovecot
|
2003-05-14 06:17:31 +02:00
|
|
|
|
- Update mail/dovecot to 1.0beta2. The 1.0 betas are very stable, and
recommended by the Dovecot author (the 0.99.x series are deprecated).
Major changes:
v1.0.beta2 2006-01-22 Timo Sirainen <tss@iki.fi>
+ Added SQLite support. Patch by Jakob Hirsch.
+ Added auth_debug_passwords setting. If it's not enabled, hide all
password strings from logs.
+ Added mail_cache_min_mail_count and mbox_min_index_size settings
which can be used to make Dovecot do less disk writes in small
mailboxes where they don't benefit that much.
+ Added --build-ssl-parameters parameter to dovecot binary
- SSL parameters were being regenerated every 10 minutes, although not
with all systems.
- Fixed dovecot-auth crashing at startup. Happened only with some
specific compilers.
- base_dir was supposed to be set world-readable, not world-writable
v1.0.beta1 2006-01-16 Timo Sirainen <tss@iki.fi>
* Almost a complete rewrite since 0.99.x, but some of the major
changes are:
+ Index file code rewritten to do less disk I/O, wait locks less and in
generate be smarter. They also support being in clustered filesystems
and NFS support is mostly working also.
+ Mail caching is smarter. Only the data that client requests is
cached. Before Dovecot opened and cached all mails when mailbox was
opened the first time, which was slow.
+ Mbox handling code rewritten to be much faster, safer and correct
+ New authentication mechanisms: APOP, GSSAPI, LOGIN, NTLM and RPA.
+ LDAP supports authentication binds
+ Authentication server can cache password database lookups
+ Support for multiple authentication databases
+ Namespace configuration
+ Dovecot works with shared
- Add an option for sqlite support.
- Take over maintainership.
All suggested (and ok'ed) by xtraeme.
2006-02-06 16:54:37 +01:00
|
|
|
DOVECOT_USER?= dovecot
|
|
|
|
DOVECOT_GROUP?= dovecot
|
|
|
|
PKG_GROUPS= ${DOVECOT_GROUP}
|
2006-04-23 02:12:35 +02:00
|
|
|
PKG_USERS= ${DOVECOT_USER}:${DOVECOT_GROUP}
|
|
|
|
|
|
|
|
PKG_GECOS.${DOVECOT_USER}= Dovecot IMAP/POP3 user
|
2003-05-14 06:17:31 +02:00
|
|
|
|
- Update mail/dovecot to 1.0beta2. The 1.0 betas are very stable, and
recommended by the Dovecot author (the 0.99.x series are deprecated).
Major changes:
v1.0.beta2 2006-01-22 Timo Sirainen <tss@iki.fi>
+ Added SQLite support. Patch by Jakob Hirsch.
+ Added auth_debug_passwords setting. If it's not enabled, hide all
password strings from logs.
+ Added mail_cache_min_mail_count and mbox_min_index_size settings
which can be used to make Dovecot do less disk writes in small
mailboxes where they don't benefit that much.
+ Added --build-ssl-parameters parameter to dovecot binary
- SSL parameters were being regenerated every 10 minutes, although not
with all systems.
- Fixed dovecot-auth crashing at startup. Happened only with some
specific compilers.
- base_dir was supposed to be set world-readable, not world-writable
v1.0.beta1 2006-01-16 Timo Sirainen <tss@iki.fi>
* Almost a complete rewrite since 0.99.x, but some of the major
changes are:
+ Index file code rewritten to do less disk I/O, wait locks less and in
generate be smarter. They also support being in clustered filesystems
and NFS support is mostly working also.
+ Mail caching is smarter. Only the data that client requests is
cached. Before Dovecot opened and cached all mails when mailbox was
opened the first time, which was slow.
+ Mbox handling code rewritten to be much faster, safer and correct
+ New authentication mechanisms: APOP, GSSAPI, LOGIN, NTLM and RPA.
+ LDAP supports authentication binds
+ Authentication server can cache password database lookups
+ Support for multiple authentication databases
+ Namespace configuration
+ Dovecot works with shared
- Add an option for sqlite support.
- Take over maintainership.
All suggested (and ok'ed) by xtraeme.
2006-02-06 16:54:37 +01:00
|
|
|
EGDIR= ${PREFIX}/share/examples/dovecot
|
|
|
|
CONF_FILES= ${EGDIR}/dovecot.conf.default ${PKG_SYSCONFDIR}/dovecot.conf
|
2003-05-14 06:17:31 +02:00
|
|
|
|
2004-08-01 09:04:45 +02:00
|
|
|
INSTALLATION_DIRS= libexec/dovecot sbin share/doc/dovecot \
|
|
|
|
share/examples/dovecot
|
2004-07-28 17:22:07 +02:00
|
|
|
|
2006-01-19 03:31:12 +01:00
|
|
|
SUBST_CLASSES+= paths
|
|
|
|
SUBST_FILES.paths= dovecot-example.conf
|
|
|
|
SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
|
2006-02-06 18:28:09 +01:00
|
|
|
SUBST_STAGE.paths= pre-configure
|
2003-05-14 06:17:31 +02:00
|
|
|
|
2006-08-09 13:26:36 +02:00
|
|
|
post-build:
|
|
|
|
${SED} "s|/etc/ssl/|${SSLDIR}/|" ${WRKSRC}/dovecot-example.conf \
|
|
|
|
> ${WRKDIR}/dovecot-example.conf
|
|
|
|
${SED} "s|/etc/ssl|${SSLDIR}|" ${WRKSRC}/doc/mkcert.sh \
|
|
|
|
> ${WRKDIR}/mkcert.sh
|
|
|
|
|
2003-05-14 06:17:31 +02:00
|
|
|
post-install:
|
2006-08-09 13:26:36 +02:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/dovecot-example.conf \
|
2006-12-15 18:35:20 +01:00
|
|
|
${DESTDIR}${EGDIR}/dovecot.conf.default
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/dovecot-* ${DESTDIR}${EGDIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/mkcert.sh ${DESTDIR}${EGDIR}
|
2003-05-14 06:17:31 +02:00
|
|
|
|
2006-02-06 18:28:09 +01:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2003-05-14 06:17:31 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|