Up to [cvs.NetBSD.org] / pkgsrc / mail / dovecot
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
dovecot: Remove, broken now we're OpenSSL 1.1 - see dovecot2 "This package contains version 1.2 of dovecot, which has not been maintained since 2011. See pkgsrc/mail/dovecot2 for the current version."
*: Remove obsolete BUILDLINK_API_DEPENDS.openssl.
mail: align variable assignments pkglint -Wall -F --only aligned -r No manual corrections.
Enable "pam" option in "dovecot" packages by default as most platforms supported by "pkgsrc" provide PAM support out of the box. Change approved by Geert Hendrickx.
Changes 1.2.17: * Fixed potential crashes and other problems when parsing header names that contained NUL characters. * IMAP: Fixed a memory leak with ESEARCH command handling * Quota warnings could have been executed at incorrect times with some configs.
Automatically include dovecot-(manage)sieve options when generating distinfo.
Fix some pkglint nits.
Update the Pigeonhole Sieve plugin to 0.1.16, bump dovecot's PKGREVISION. The main thing that this new release adds is full support for the spamtest, spamtestplus and virustest extensions. These extensions implement a uniform means of testing the content spam/virus status headers in mail messages: http://ietfreport.isoc.org/idref/rfc5235/ Not many people have tested these new features yet and therefore these are currently considered experimental. Test these thoroughly before you start using them! Documentation is available in share/doc/dovecot/spamtest-virustest.txt Changelog Sieve v0.1.16: * Finished implementation of spamtest, spamtestplus and virustest extensions. These are not enabled by default and need to be activated with the sieve_extensions setting. Documentation available in doc/spamtest-virustest.txt + Vacation extension: the from address of the generated reply is now by default equal to whatever known recipient alias matched the headers of the message. If it is one of the aliases specified with :addresses, it is used in stead of the envelope recipient address that was used before. + Restructured and optimized the lexical scanner. + Added --with-docs configure option to allow disabling installation of documentation. - Accidentally omitted 'extern' in two declarations of global variables in header files, causing compile failures on certain systems. - Deprecated imapflags extension: fixed implicit assignment of flags. Turns out this never really worked, but the effect of this bug was obscured by the removeflag bug fixed in the previous release. - Fixed various memset argument mixups in enotify extension. This caused warnings on certain systems, but luckily no adverse effects at runtime.
Option dovecot-managesieve without dovecot-sieve not supported. Set PKG_FAIL_REASON in that case.
Update to Dovecot 1.2.8, imported from pkgsrc-wip and based on work of Edgar Fuß <ef@math.uni-bonn.de>. The package now contains Stephan Bosch' new Dovecot Sieve plugin as a pkgsrc option (instead of the old CMU Sieve plugin that was a separate package), as well as the ManageSieve extension. The dovecot-sieve package will be removed. Upgrading from Dovecot 1.1.x may require changes to your configuration file, see this webpage for more information: http://wiki.dovecot.org/Upgrading/1.2 Major changes since Dovecot 1.1: * When creating files or directories to mailboxes, Dovecot now uses the mailbox directory's permissions and GID for them. Previous versions simply used 0600 mode always. For backwards compatibility dovecot-shared file's permissions still override these with Maildir. * SQL dictionary (quota) configuration file is different than in v1.1. See doc/dovecot-dict-sql-example.conf for the new format. * deliver -m: Mailbox name is now assumed to be in UTF-8 format, not modified-UTF7. Stephan Bosch's new Sieve implementation also assumes UTF-8 format in fileinto parameters. + Full support for shared mailboxes and IMAP ACL extension. The code is mainly from Sascha Wilde and Bernhard Herzog. + IMAP: Added support for extensions: CONDSTORE, QRESYNC, ESEARCH, ESORT, SEARCHRES, WITHIN, ID and CONTEXT=SEARCH. + SEARCH supports INTHREAD search key, but the rest of the INTHREAD draft isn't implemented yet so it's not advertised in capability. + THREAD REFS algorithm where threads are sorted by their latest message instead of the thread root message. There is also no base subject merging. + IMAP: Implemented imap-response-codes draft. + Thread indexes for optimizing IMAP THREAD command and INTHREAD search key. + Added userdb checkpassword (by Sascha Wilde) + Virtual mailboxes: http://wiki.dovecot.org/Plugins/Virtual + Autocreate plugin: http://wiki.dovecot.org/Plugins/Autocreate + Listescape plugin: http://wiki.dovecot.org/Plugins/Listescape
There is no sasl option, unlist it.
Update to Dovecot 1.1.1. Beta's and RC's have been tracked in pkgsrc-wip, copy from there. Update the Sieve plugin accordingly to 1.1.5. Major changes since 1.0: * After Dovecot v1.1 has modified index or dovecot-uidlist files, they can't be opened anymore with Dovecot versions earlier than v1.0.2. * See doc/wiki/Upgrading.1.1.txt (or for latest changes, http://wiki.dovecot.org/Upgrading/1.1) for list of changes since v1.0 that you should be aware of when upgrading. + IMAP: Added support for UIDPLUS and LIST-EXTENDED extensions. + IMAP SORT: Sort keys are indexed, which makes SORT commands faster. + When saving messages, update cache file immediately with the data that we expect client to fetch later. + NFS caches are are flushed whenever needed. See mail_nfs_storage and mail_nfs_index settings. + Out of order command execution (SEARCH, FETCH, LIST), nonstandard command cancellation (X-CANCEL <tag>) + IMAP: STATUS-IN-LIST draft implementation + Expire plugin can be used to keep track of oldest messages in specific mailboxes. A nightly run can then quickly expunge old messages from the mailboxes that have them. The tracking is done using lib-dict, so you can use either Berkeley DB or SQL database. + Namespaces are supported everywhere now. + Namespaces have new list and subscriptions settings. + Full text search indexing support with Lucene and Squat backends. + OTP and S/KEY authentication mechanisms (by Andrey Panin). + mbox and Maildir works with both Maildir++ and FS layouts. You can change these by appending :LAYOUT=3Dmaildir++ or :LAYOUT=3Dfs to mail_location. + LDAP: Support templates in pass_attrs and user_attrs + Support for listening in multiple IPs/ports. + Quota plugin rewrite: Support for multiple quota roots, warnings, allow giving storage size in bytes or kilo/mega/giga/terabytes, per-mailbox quota rules. + Filesystem quota backend supports inode limits, group quota and RPC quota for NFS. + SEARCH and SORT finally compare non-ASCII characters case-insensitively. We use i;unicode-casemap algorithm. + Config files support splitting values to multiple lines with \
pkglint.
Whitespace cleanup, courtesy of pkglint. Patch provided by Sergey Svishchev in private mail.
Use PKG_HAVE_KQUEUE. Older versions of BSDs don't have kqueue, so only suggest the option if mk/platform/*.mk says it exists.
When adding --with-ioloop=best last week, I did not see there already was a pkgsrc option for kqueue support. Hence, remove --with-ioloop=best again, and enable the "kqueue" option by default on *BSD platforms (as already suggested by grant when he first added the option). The pkg's default behaviour does not change, so don't bump PKGREVISION.
The databases/openldap package has been split in -client and -server component packages. Convert LDAP-based applications to depend on openldap-client, and bump PKGREVISION for those that depend on it by default.
Add option to enable GSSAPI support and patch a bug in the GSSAPI code.
- add kqueue option (off by default - perhaps it should be on by default at the next version bump?) - set SSL_{CFLAGS,LIBS} when calling configure script so they are found correctly on Solaris, and make the configure script do what it claims and ignore pkg-config when these are set. - add lib-sql Makefile patch from Dovecot CVS so this builds correctly when no SQL auth support is built.
Remove ssl from PKG_SUPPORTED_OPTIONS because it's in a PKG_OPTIONS_GROUP now.
Import some improvements from the pkgsrc-wip/dovecot package (by tv@) and correct a mistake in my previous commit: - add dependency on zlib - add option for GNU TLS as an alternative to OpenSSL - drop SASL option, it's no longer supported - explicitly disable some options with --disable-* - "s,/usr/pkg,@PREFIX@," in patch-ab -- I accidentally diffed it after the SUBST stage - change SUBST_STAGE from post-patch to pre-configure to avoid this in the future - bump PKGREVISION for all this Thanks to tv@.
- 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.
Use mk/mysql.buildlink3.mk instead of databases/mysqlX-client/bl3.mk, same for pgsql.bl3.mk. Bump PKGREVISION. Ok by wiz.
...and likewise, option "gnutls" is no longer supported here.
Make this not fail if gnutls is specified; rather, just fall back to openssl (or no ssl) anyway.
add pam as a supported option. bump PKGREVISION since this is a change from the previous behaviour, where PAM support was autodetected. it must now be explicitly enabled via PKG_OPTIONS.dovecot.
Update to 0.99.13. From the changelog: * GNUTLS support hasn't been working for a while, so it's not even tried to be used anymore unless explicitly wanted. + Added CRAM-MD5 authentication mechanism. Patch by Joshua Goodall + Added SMD5 and LDAP-MD5 password schemes and changed MD5 scheme to use LDAP-MD5 if the password isn't in MD5crypt format. Patch by Joshua Goodall + Workaround for some POP3 client bugs: if message doesn't contain the "end of headers" empty line, add it automatically. + vpopmail supports now all password schemes, most importantly MD5crypt works now without support from libc's crypt() - SQL and LDAP authentication was broken - SEARCH UNKEYWORD wasn't working pkgsrc changes: * Disable GNU TLS support for the time being. * Move the workaround for the gcc2 sparc64 ICE into hacks.mk. * Format DESCR.
Remove obsolete variables. You'll want to use: PKG_OPTIONS.<pkg>+= foo blah
Change the way that legacy USE_* and FOO_USE_* options are converted into the bsd.options.mk framework. Instead of appending to ${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS. This causes the default options to be the union of PKG_DEFAULT_OPTIONS and any old USE_* and FOO_USE_* settings. This fixes PR pkg/26590.
Document each of the options.
Fix wrong assignment in USE_OPENLDAP case, PKG_OPTIONS wants "ldap", not "openldap". From PR pkg/26548 by Douglas Brebner.
Convert to use bsd.options.mk.