Commit graph

29 commits

Author SHA1 Message Date
tron
655b505589 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.
2011-06-14 09:37:17 +00:00
adam
4911859d0d 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.
2011-05-13 07:34:48 +00:00
ghen
9f5bcfd3c8 Automatically include dovecot-(manage)sieve options when generating distinfo. 2010-07-23 07:44:51 +00:00
ghen
128c2de8b9 Fix some pkglint nits. 2010-04-30 10:50:21 +00:00
ghen
ce5f386ee7 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.
2010-04-30 10:43:26 +00:00
ghen
36554a8a40 Option dovecot-managesieve without dovecot-sieve not supported.
Set PKG_FAIL_REASON in that case.
2010-01-25 12:31:08 +00:00
ghen
21c901cacf 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
2009-12-11 20:52:21 +00:00
ghen
206e6907c4 There is no sasl option, unlist it. 2009-07-02 11:38:34 +00:00
ghen
fa208fd590 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 \
2008-06-22 17:41:23 +00:00
ghen
f51dee6045 pkglint. 2008-01-03 14:06:20 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
tv
d7a4ba6699 Use PKG_HAVE_KQUEUE. Older versions of BSDs don't have kqueue, so only
suggest the option if mk/platform/*.mk says it exists.
2006-08-18 14:59:17 +00:00
ghen
e42aca7e33 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.
2006-08-16 20:56:02 +00:00
ghen
2eca3d9f2c 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.
2006-05-31 18:22:23 +00:00
markd
dd839ec120 Add option to enable GSSAPI support and patch a bug in the GSSAPI code. 2006-02-12 19:13:49 +00:00
grant
bc0be5a13e - 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.
2006-02-12 02:47:31 +00:00
ghen
b606dc9661 Remove ssl from PKG_SUPPORTED_OPTIONS because it's in a PKG_OPTIONS_GROUP now. 2006-02-09 09:09:28 +00:00
ghen
e868349ff9 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@.
2006-02-06 17:28:09 +00:00
ghen
0b7a2ecb2b - 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 15:54:37 +00:00
ghen
9598e44942 Use mk/mysql.buildlink3.mk instead of databases/mysqlX-client/bl3.mk,
same for pgsql.bl3.mk.  Bump PKGREVISION.  Ok by wiz.
2006-01-10 12:39:03 +00:00
tv
c7c990d358 ...and likewise, option "gnutls" is no longer supported here. 2005-08-29 13:15:34 +00:00
tv
83785c5168 Make this not fail if gnutls is specified; rather, just fall back to
openssl (or no ssl) anyway.
2005-08-29 13:14:43 +00:00
grant
d9a446615b 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.
2005-08-19 04:57:01 +00:00
schmonz
371dbaab81 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.
2005-01-08 19:58:16 +00:00
xtraeme
54d05fa49a Remove obsolete variables. You'll want to use:
PKG_OPTIONS.<pkg>+= foo blah
2004-11-17 19:56:49 +00:00
jlam
9d5426ff76 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.
2004-08-22 19:32:51 +00:00
jlam
e2a1c15e4c Document each of the options. 2004-08-05 02:22:19 +00:00
salo
eb2ae740fa Fix wrong assignment in USE_OPENLDAP case, PKG_OPTIONS wants "ldap", not
"openldap".
From PR pkg/26548 by Douglas Brebner.
2004-08-04 17:12:46 +00:00
jlam
6a1fcb90b7 Convert to use bsd.options.mk. 2004-08-01 07:04:45 +00:00