Commit graph

76 commits

Author SHA1 Message Date
Adam Weinberger
86150bb805 Update dovecot2 to 2.2.18. This is a bugfix release to address issues
identified in 2.2.17.

Changes:
- director: Login UNIX sockets were normally detected as doveadm or
  director ring sockets, causing it to break in existing installations.
- sdbox: When copying a mail in alt storage, place the destination to
  alt storage as well.

Bump PORTREVISION on antispam-plugin and pigeonhole, like I should have
done last time.
2015-05-15 15:02:07 +00:00
Baptiste Daroussin
6e2c7283d1 Move the big warning on top of the Makefile so maybe next time the bump of
portrevision of plugins won't be missed
2015-05-15 10:41:31 +00:00
Adam Weinberger
32bc9938e0 Update to 2.2.17.
For a full change list, see:
http://dovecot.org/list/dovecot-news/2015-May/000292.html

There are two changes that could potentially break setups:
* Dovecot no longer checks or warns if a mountpoint is removed. This
  was causing more trouble than it was worth. Make sure that all the
  mountpoints that Dovecot accesses aren't writable by mail processes
  when they're unmounted.
* dict server wasn't properly escaping/unescaping data. Fixing this
  broke backwards compatibility with data that contains line feeds.
  This hopefully affects only very few installations. If you're using
  dict to save multiline data (Sieve scripts to SQL), you may be
  affected.

For this release I've introduced many new OPTIONS:
* boehm-gc support
* CDB database support
* icu (for FTS)
* libtextcat FTS
* disabling kqueue support also disables kqueue fs change notification
* databases and FTS plugins moved to their own config sections
2015-05-13 22:00:48 +00:00
Adam Weinberger
64eee532ea Fix installation when DOCS is disabled. 2015-03-24 20:56:02 +00:00
Adam Weinberger
b1a238c853 Move the sample configuration files into ETCDIR.
After talking more with Rozhuk Ivan (submitter of 198792, see r381930),
the sample configuration files don't belong in DOCSDIR, and they really
don't belong underneath an OPTION that many people have disabled by
default.

I still don't think that they're good candidates for @sample, but they
make more sense living in ETCDIR.

While here, shuffle around a few other docs/examples files.

PORTREVISION bump for the plist changes.

PR:		198792
Submitted by:	Rozhuk Ivan
2015-03-24 17:38:34 +00:00
Adam Weinberger
2b79d49ba9 Do a better job of explaining where the default configuration files
come from. Not bumping PORTREVISION as this change will only benefit
people who don't already have dovecot installed.

PR:		198792
2015-03-22 15:36:31 +00:00
Adam Weinberger
317edee6b3 Fix build on FreeBSD < 10. Thanks to oliver@ for sending me the fix. 2015-03-13 14:59:26 +00:00
Adam Weinberger
e865c6a99a Update to 2.2.16.
List of changes is at http://dovecot.org/list/dovecot-news/2015-March/000283.html
2015-03-12 18:21:25 +00:00
Adam Weinberger
5c3ad18a7a rc.d/dovecot allows for multiple concurrent dovecot setups, but in doing
so runs the dovecot binary against each provided configuration file to
obtain configuration data. When the configuration file doesn't exist, it
says:
	doveconf: Fatal: open(/im_not_here) failed: No such file or directory

Mistyping the conf file locations when doing multiple instances deserves
an error message. The real issue here is that in order to set up
dovecot, you have to actually copy files over from ${EXAMPLESDIR}. The
default configuration file intentionally does not exist in a clean
installation. So everybody who installs the dovecot2 port and does not
configure it will receive that message at every boot.

Fix it with a patch from pi that makes sure the conf file exists before
trying to do stuff with it.

PORTREVISION bump.

PR:		197275
Submitted by:	pi
2015-02-02 17:16:12 +00:00
Adam Weinberger
f158485de7 Dovecot reloads its configuration on HUP signal [1], so, add the reload command
to its rc.d script.

[1] http://wiki2.dovecot.org/RunningDovecot#Reloading_Configuration

PR:		195915
Submitted by:	quickfox@abv.bg
2014-12-12 15:21:11 +00:00
Chris Rees
1e94b6fb2f Switch to USES=pgsql 2014-11-22 19:13:49 +00:00
Adam Weinberger
cff1d68402 Allow the port to build on arm.
I don't think this requires a PORTREVISION bump, but someone will
correct me if I'm wrong.

PR:		195168
Submitted by:	Ronald Klop
2014-11-20 03:33:27 +00:00
Adam Weinberger
70f3ad60ae Remove the checkyesno dovecot_enable section, as it prevents onestart/onestop
from working (as well as other things).

I suspect this behaviour is present in other rc-files... a general cleanup on
this might be in order.

PR:		194629
Submitted by:	Reinier Schoof
2014-10-27 15:45:19 +00:00
Adam Weinberger
1beb35f1e7 Update dovecot2 to 2.2.15, and add an LZ4 option that uses liblz4.
ChangeLog:

Some small fixes and changes to v2.2.14. This release is mainly in the hope
that it could still make it into the next Debian stable instead of v2.2.14 -
mainly because of a couple of new assert crashes that started happening in
v2.2.14 and should be fixed now.

	* Plugins can now print a banner comment in doveconf output
	  (typically the plugin version)
	* Replication plugin now triggers low (instead of high) priority for
	  mail copying operations.
	* IMAP/POP3/ManageSieve proxy: If destination server can't be
	  connected to, retry connecting once per second up to the value of
	  proxy_timeout. This allows quick restarts/upgrades on the backend
	  server without returning login failures.
	* Internal passdb lookups (e.g. done by lmtp/doveadm proxy) wasn't
	  returning failure in some situations where it should have (e.g.
	  allow_nets mismatch)
	* LMTP uses mail_log_prefix now for logging mail deliveries instead of
	  a hardcoded prefix. The non-delivery log prefix is still hardcoded
	  though.

	+ passdb allow_nets=local matches lookups that don't contain an IP
	  address (internally done by Dovecot services)
	+ Various debug logging and error logging improvements
	- Various race condition fixes to LAYOUT=index
	- v2.2.14 virtual plugin crashed in some situations
2014-10-26 00:15:42 +00:00
Adam Weinberger
a7c65ac805 Similar to r371306, add USE_OPENSSL=yes so that WITH_OPENSSL_PORT is
honored properly.

Submitted by:	Derek Schrock
2014-10-21 21:47:04 +00:00
Adam Weinberger
3d2a3256c4 Update dovecot2 to 2.2.14. PORTREVISION bumps for dovecot2-pigeonhole and
dovecot2-antispam-plugin.

Changes in 2.2.14:

	* lmtp: Delivered-To: header no longer contains <> around the email
	  address. Other MDAs don't have it either.
	* "Out of disk space" errors are now treated as temporary errors
	  (not the same as "Out of disk quota").
	* replication plugin: Use replication only for users who have a
	  non-empty mail_replica setting.

	+ lmtp proxy: Log a line about each mail delivery.
	+ Added login_source_ips setting. This can be used to set the source IP
	  address round-robin from a pool of IPs (in case you run out of TCP
	  ports).
	+ Rawlog settings can use tcp:<host>:<port> as the path.
	+ virtual plugin: Don't keep more than virtual_max_open_mailboxes
	  (default 64) number of backend mailboxes open.
	+ SSL/TLS compression can be disabled with ssl_options=no_compression
	+ acl: Global ACL file now supports "quotes" around patterns.
	+ Added last-login plugin to set user's last-login timestamp on login.
	+ LDAP auth: Allow passdb credentials lookup also with auth_bind=yes
	- IMAP: MODSEQ was sent in FETCH reply even if CONDSTORE/QRESYNC wasn't
	  enabled. This broke at least old Outlooks.
	- passdb static treated missing password field the same as an empty
	  password field.
	- mdbox: Fixed potential infinite looping when scanning a broken
	  mdbox file.
	- imap-login, pop3-login: Fixed potential crashes when client
	  disconnected unexpectedly.
	- imap proxy: The connection was hanging in some usage patterns. This
	  mainly affected older Outlooks.
	- lmtp proxy: The proxy sometimes delivered empty mails in error
	  situations or potentially delivered truncated mails.
	- fts-lucene: If whitespace_chars was set, we may have ended up
	  indexing some garbage words, growing the index size unnecessarily.
	- -c and -i parameters for dovecot/doveadm commands were ignored if
	  the config socket was readable.
	- quota: Quota recalculation didn't include INBOX in some setups.
	- Mail headers were sometimes added to dovecot.index.cache in wrong
	  order. The main problem this caused was with dsync+imapc incremental
	  syncing when the second sync thought the local mailbox had changed.
	- doveadm backup didn't notice if emails were missing from the middle
	  of the destination mailbox. Now it deletes and resyncs the mailbox.
2014-10-14 17:34:59 +00:00
Adam Weinberger
65d8f20e32 Add CPE data to my ports. 2014-08-10 14:47:12 +00:00
Tijl Coosemans
37f54e0f66 net/openldap24-*:
- Convert to USES=libtool and bump dependent ports
- Avoid USE_AUTOTOOLS
- Don't use PTHREAD_LIBS
- Use MAKE_CMD

databases/glom:
- Drop :keepla
- Add INSTALL_TARGET=install-strip

databases/libgda4* databases/libgda5*:
- Convert to USES=libtool and bump dependent ports
- USES=tar:xz
- Use INSTALL_TARGET=install-strip
- Use @sample

databases/libgdamm:
- Drop :keepla
- USES=tar:bzip2
- Use INSTALL_TARGET=install-strip

databases/libgdamm5:
- Add INSTALL_TARGET=install-strip
- Drop --enable-static (inherited from old repocopy)

devel/anjuta x11-toolkits/py-gnome-extras:
- Drop :keepla

dns/powerdns dns/powerdns-devel:
- Convert to USES=libtool
- Add INSTALL_TARGET=install-strip
- Disable static modules
- Stop creating library symlinks with .0 suffix, not needed for dynamically
  opened modules

mail/dovecot2:
- Add USES=libtool

mail/dovecot2-pigeonhole:
- Drop CONFIGURE_TARGET (incorrect for Dragonfly)
- Add USES=libtool and INSTALL_TARGET=install-strip

math/gnumeric:
- USES=libtool tar:xz

Approved by:	portmgr (implicit, bump unstaged ports)
2014-07-24 18:34:16 +00:00
Tijl Coosemans
ec94e4d5eb Bump more ports that depend on libsqlite3.so:
- ports that set USE_SQLITE with the *_USE option helper
- ports that depend on libsqlite3 indirectly as reported by pkg rquery

Approved by:	portmgr (implicit)
2014-07-05 12:19:32 +00:00
Adam Weinberger
ee32e5f7dd Don't depend on dovecot itself to create DOCSDIR.
Noticed by:	Bill Richter <richterb@9500years.com>
2014-07-01 17:19:28 +00:00
Adam Weinberger
e89671740c Enable support for GSSAPI from ports using USES=gssapi magic. PORTREVISION
bump for this.

PR:		ports/187721
Submitted by:	dewayne@heuristicsystems.com.au

While we're here:
- More general cleanups
- Improve COMMENT and pkg-descr
2014-07-01 16:04:13 +00:00
Adam Weinberger
f2e5ba3863 General tidying and cleanups. THe functional changes:
Remove NOOP sed commands, and incorporate the pkg-deinstall message into pkg-plist.
Use install-strip as the INSTALL_TARGET rather than manually stripping libraries.

Technically it needs a PORTREVISION bump for the pkg-deinstall/pkg-plist thing,
but I'm going to need to bump PORTREVISION for some other changes soon and I'd
rather not force everyone to rebuild an extra time for a differently-phrased message.
2014-06-30 21:06:53 +00:00
Adam Weinberger
478ea62d4e Take this. 2014-06-30 11:43:58 +00:00
John Marino
8004db30c9 mail/dovecot2: Reset maintainer after numerous PR timeouts 2014-06-29 15:57:17 +00:00
Jimmy Olgeni
b886c66850 Upgrade to version 2.2.13.
PR:		190182
Submitted by:	Larry Rosenman
Approved by:	maintainer timeout (14 days)
2014-06-07 17:12:07 +00:00
Olli Hauer
d68082f466 - bring back CPPFLAGS / LDFLAGS
this is required if PGSQL is not selected
2014-04-29 08:06:35 +00:00
Olli Hauer
7241ddcb0a - update to 2.2.12
- cleanup Makefile, (leftovers from copy dovecot e.g PLIST_SUB+= SQL)
- use new OPTIONS syntax
- use explicit username for USERS (instead ${PORTNAME})
- fix pkg-plist (add missing files + sort)

PR:		ports/188870
Submitted by:	ohauer
Approved by:	Nagy Attila <bra@fsn.hu> (maintainer)
2014-04-28 12:58:24 +00:00
Pawel Pekala
9f79b33220 Fix linking on FreeBSD 10 when GSSAPI=on
PR:		ports/186745
Submitted by:	Jyrki Ahpola <jyrkia@gmail.com>
Approved by:	maintainer timeout
2014-03-15 14:31:48 +00:00
Pawel Pekala
d211628467 - Update mail/dovecot2 to version 2.2.10
- Bump affected plugin ports

PR:		ports/185904
Submitted by:	maintainer
2014-01-31 15:07:46 +00:00
Mathieu Arnold
7650a97958 Fix pkgname collisions. 2014-01-09 15:51:57 +00:00
Danilo Egea Gondolfo
d0b583057c - Update from 2.2.6 to 2.2.9
- And, following the instructions in Makefile, bump PORTREVISION of mail/dovecot2-antispam-plugin and mail/dovecot-pigeonhole

PR:		ports/184273
Submitted by:	Attila Nagy <bra@fsn.hu> (maintainer)
2013-11-25 19:03:16 +00:00
William Grzybowski
462ffd0f1b mail/dovecot2: fix build without KQUEUE
- Fix build without KQUEUE

PR:		ports/182594
Submitted by:	Eero Hänninen <fax nohik.ee>
Approved by:	maintainer
2013-10-26 12:36:17 +00:00
William Grzybowski
501e0cfeb3 mail/dovecot2: fix package without DOCS option
- Fix package without DOCS option

PR:		ports/182585
2013-10-14 17:49:26 +00:00
William Grzybowski
edd33790f7 mail/dovecot2: use PORTEXAMPLES unconditionally
- Use PORTEXAMPLES unconditionally

Reported by:	sunpoet
2013-10-03 16:39:10 +00:00
William Grzybowski
ddad6a2059 mail/dovecot2: update to 2.2.6
- Update to 2.2.6 [1]
- Convert lib depends to new format
- Allow staging
- Bump antispam plugin (pigenhole update comming next)

PR:		ports/182543 [1]
Submitted by:	Attila Nagy <bra fsn.hu> (maintainer) [1]
2013-10-01 23:23:07 +00:00
Baptiste Daroussin
fd61959c15 Add NO_STAGE all over the place in preparation for the staging support (cat: mail) 2013-09-20 19:59:12 +00:00
William Grzybowski
07fa6416f1 mail/dovecot2: update to 2.2.5
- Update to 2.2.5 [1]
- Bump antispam plugin (pigeonhole update comming soon)
- Fix SSL pkg-plist
- Fix MAN1 list

Changes: http://www.dovecot.org/doc/NEWS-2.2

PR:		ports/181081 [1]
Submitted by:	Attila Nagy <bra fsn.hu> (maintainer)
2013-08-06 11:56:37 +00:00
William Grzybowski
44bc15ee49 mail/dovecot2: update to 2.2.4
- Update to 2.2.4 [1]
- Bump plugins PORTREVISION
- Add LICENSE (LGPL21 MIT)

PR:		ports/179953
Submitted by:	Attila Nagy <bra@fsn.hu> [1] (maintainer)
2013-06-25 12:36:58 +00:00
Martin Wilke
7d6d4bd5b2 - Update dovecot2 to 2.2.2
- Update dovecot2-pigeonhole to 0.4.0

PR:		178832
Submitted by:	maintainer
2013-05-23 17:58:48 +00:00
Xin LI
7d93f12c6b Update mail/dovecot2 to 2.1.16 and mail/dovecot2-pigeonhole to 0.34.
PR:		ports/178428
Approved by:	maintainer
2013-05-09 17:39:27 +00:00
Marcus von Appen
a3a0715f38 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	zeising
2013-04-27 11:59:28 +00:00
Martin Wilke
25b65047f6 - Update to 2.1.15
- Bump Portrevision for dovecot plugins
PR:		176102
Submitted by:	maintainer
2013-02-14 07:46:57 +00:00
Raphael Kubo da Costa
26686cd2a7 Update dovecot2 to 2.1.14.
PR:		ports/175738
Submitted by:	Attila Nagy <bra@fsn.hu> (maintainer)
2013-02-04 10:30:16 +00:00
Jung-uk Kim
707cdcbc55 Add an optional support for full-text search with CLucene 2.3.x.
PR:		ports/174779
Submitted by:	Veniamin Gvozdikov <g.veniamin@googlemail.com>
Approved by:	Attila Nagy <bra@fsn.hu> (maintainer)
2013-01-28 23:38:32 +00:00
Ruslan Makhmatkhanov
1ebcd18f74 - update to 2.1.12
- chase update in dovecot2-pigeonhole

while here, do some changes in dovecot2-pigeonhole:
- remove indefinite article from COMMENT
- tab -> scape in pkg-descr:WWW
- remove trailing whitespace in pkg-message
- fix pkg-plist

PR:		174014
Submitted by:	Attila Nagy <bra@fsn.hu> (maintainer)
Feature safe:	yes
2012-12-02 12:11:34 +00:00
Jase Thew
e84eade7db - Update to 2.1.10 [1]
- Convert to new format Makefile header

Changes:	http://www.dovecot.org/list/dovecot-news/2012-September/000231.html

PR:		ports/172082 [1]
Submitted by:	Attila Nagy <bra@fsn.hu> (maintainer)
Approved by:	flo, culot (mentors, implicit)
2012-09-26 22:48:25 +00:00
Mark Linimon
07192a24ed Mark as broken on ARM.
PR:		ports/170946
Submitted by:	linimon
Hat:		portmgr
2012-09-04 03:05:23 +00:00
Tom Judge
f58cc04b02 Correct typo.
PR:		ports/170797
Submitted by:	Artis Caune <Artis.Caune@gmail.com>
Approved by:	Attila Nagy bra@fsn.hu (maintainer)
Approved by:	eadler (mentor)
2012-09-01 18:19:31 +00:00
Doug Barton
9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00
Niclas Zeising
312decad68 Add an optional dependency on libwrap, using option LIBWRAP.
PR:		ports/169932 (minor modifications)
Submitted by:	vfx9as <vfx9as [AT] gmail.com>
Approved by:	maintainer, kwm (mentor)
2012-07-18 11:04:42 +00:00