Update cyrus-imapd24 to 2.4.11. Changes to the Cyrus IMAP Server since 2.4.10 * fixed replication recovery from different messages at the each end * Bug #3489 - fixed quotalegacy handling of prefixes so only exact subfolders match * Bug #3498 - fixed deletion of users quota files with unixheriarchysep enabled, thanks Leena Heino * Bug #3491 - NOOP and UNAUTHENTICATE for timsieved, thanks Dilyan Palauzov * Bug #3492 - better response codes for timsieved, thanks Dilyan Palauzov * Bug #3497 - fix cmd syslog from master, thanks Kristof Katus * Bug #3503 - compilation of perl libraries on dragonfly and freebsd, thanks OBATA Akio * Bug #3451 - allow CC to have spaces * Bug #3505 - fix sync_reset, thanks David Carter * Bug #3506 - use literal+ for sync_(client|server), thanks David Carter * Bug #3300 - use portable function for TCP constants, thanks OBATA Akio * Bug #3507 - fix replication recovery with non-delayed expunge, thanks Julien Coloos * Bug #3495 - improved duplicate suppression, thanks Kristof Katus * Bug #2772/3463 - fixed crashes in THREAD by correcting folding of references headers * Bug #3439 - fix ugly syslog message for vacation * Bug #3499 - options to disable namespaces to reduce load on big servers with no shared folders. Thanks Olivier ROLAND * Changed skiplist to truncate old files after checkpoint, which can save disk space on tmpfs or small ssds when old copies were held open by other processes * Made Cyrus more robust against corruption in mailboxes.db data, so it will return an error rather than crashing on invalid entries * Fix for CVE-2011-3208, a remotely exploitable buffer overflow in nntpd - thanks Coveritydiff -r1.11 -r1.12 pkgsrc/mail/cyrus-imapd24/Makefile
(obache)
@@ -1,17 +1,16 @@ | @@ -1,17 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.11 2011/08/14 13:25:21 obache Exp $ | 1 | # $NetBSD: Makefile,v 1.12 2011/09/09 12:09:34 obache Exp $ | |
2 | 2 | |||
3 | DISTNAME= cyrus-imapd-2.4.10 | 3 | DISTNAME= cyrus-imapd-2.4.11 | |
4 | PKGREVISION= 1 | |||
5 | CATEGORIES= mail | 4 | CATEGORIES= mail | |
6 | MASTER_SITES= http://cyrusimap.org/releases/ \ | 5 | MASTER_SITES= http://cyrusimap.org/releases/ \ | |
7 | ftp://ftp.cyrusimap.org/cyrus-imapd/ \ | 6 | ftp://ftp.cyrusimap.org/cyrus-imapd/ \ | |
8 | ftp://ftp.cyrusimap.org/cyrus-imapd/OLD-VERSIONS/ | 7 | ftp://ftp.cyrusimap.org/cyrus-imapd/OLD-VERSIONS/ | |
9 | 8 | |||
10 | MAINTAINER= obache@NetBSD.org | 9 | MAINTAINER= obache@NetBSD.org | |
11 | HOMEPAGE= http://www.cyrusimap.org/ | 10 | HOMEPAGE= http://www.cyrusimap.org/ | |
12 | COMMENT= Cyrus IMAP server | 11 | COMMENT= Cyrus IMAP server | |
13 | #LICENSE= original-bsd # like license | 12 | #LICENSE= original-bsd # like license | |
14 | 13 | |||
15 | PKG_DESTDIR_SUPPORT= user-destdir | 14 | PKG_DESTDIR_SUPPORT= user-destdir | |
16 | 15 | |||
17 | USE_TOOLS+= perl makedepend | 16 | USE_TOOLS+= perl makedepend |
@@ -1,23 +1,21 @@ | @@ -1,23 +1,21 @@ | |||
1 | $NetBSD: distinfo,v 1.11 2011/07/06 09:45:45 obache Exp $ | 1 | $NetBSD: distinfo,v 1.12 2011/09/09 12:09:34 obache Exp $ | |
2 | 2 | |||
3 | SHA1 (cyrus-imapd-2.4.10.tar.gz) = b6cb51d67f2b49536ba92daae471d7817929c482 | 3 | SHA1 (cyrus-imapd-2.4.11.tar.gz) = 24fdaf0e57d5c3bdb63b7dcca29fe6df535c6102 | |
4 | RMD160 (cyrus-imapd-2.4.10.tar.gz) = d7ffe3ad56b9e565dc7e1b764d4bb0a597ce9696 | 4 | RMD160 (cyrus-imapd-2.4.11.tar.gz) = 0bb30f7d8c655a03366a8ce59f5a708c30d34ec1 | |
5 | Size (cyrus-imapd-2.4.10.tar.gz) = 2430196 bytes | 5 | Size (cyrus-imapd-2.4.11.tar.gz) = 2446611 bytes | |
6 | SHA1 (patch-aa) = c6dc9d4df5b5f49e1aaaf7a554764ff857638829 | 6 | SHA1 (patch-aa) = c0bd73b9443dc34755428ff7f0813341dd11c448 | |
7 | SHA1 (patch-ab) = a692ae6d85b7121bb9af32cb12ae17417b12affe | 7 | SHA1 (patch-ab) = 2c5c1f695bfba9ac310d7a441097399e260e12e9 | |
8 | SHA1 (patch-ac) = d6b2e8c00a3605773bf7718d29ccfb0b82f59323 | 8 | SHA1 (patch-ac) = d6b2e8c00a3605773bf7718d29ccfb0b82f59323 | |
9 | SHA1 (patch-ad) = 9c97c99996271c5a123d58e94eb7b16bc9086ebb | 9 | SHA1 (patch-ad) = 9c97c99996271c5a123d58e94eb7b16bc9086ebb | |
10 | SHA1 (patch-ae) = 9bee786ad3f0237ee15302c2954e3e90b6fe69fb | 10 | SHA1 (patch-ae) = 9bee786ad3f0237ee15302c2954e3e90b6fe69fb | |
11 | SHA1 (patch-af) = 51ffc6cc37822ea4828eb987039593900f2f1ef0 | 11 | SHA1 (patch-af) = 51ffc6cc37822ea4828eb987039593900f2f1ef0 | |
12 | SHA1 (patch-ag) = 533f146e9ee276af7b8ab716da2f3d4af5f60639 | 12 | SHA1 (patch-ag) = 533f146e9ee276af7b8ab716da2f3d4af5f60639 | |
13 | SHA1 (patch-ah) = 4bc62dfdeafdca83ddac02aff0ffd05db28fe0b9 | 13 | SHA1 (patch-ah) = 4bc62dfdeafdca83ddac02aff0ffd05db28fe0b9 | |
14 | SHA1 (patch-ai) = 9167678988f411479d187b232eb10ad8622b4151 | 14 | SHA1 (patch-ai) = 9167678988f411479d187b232eb10ad8622b4151 | |
15 | SHA1 (patch-aj) = 14f293489a816d2282f0d1a7b289d5a775c74c24 | 15 | SHA1 (patch-aj) = 14f293489a816d2282f0d1a7b289d5a775c74c24 | |
16 | SHA1 (patch-ak) = 2e8a105b30d2c0c38f523020bf79d7e26cfa235b | 16 | SHA1 (patch-ak) = 2e8a105b30d2c0c38f523020bf79d7e26cfa235b | |
17 | SHA1 (patch-al) = 0eaef55760e9a071802bba157a00bdacc84c1932 | 17 | SHA1 (patch-al) = 0eaef55760e9a071802bba157a00bdacc84c1932 | |
18 | SHA1 (patch-am) = e100e13d5137116f5bd7674e954031b2615e5ab1 | 18 | SHA1 (patch-am) = e100e13d5137116f5bd7674e954031b2615e5ab1 | |
19 | SHA1 (patch-an) = 94aac408657e2315246c7cdaac2524c68eeb7c24 | 19 | SHA1 (patch-an) = 94aac408657e2315246c7cdaac2524c68eeb7c24 | |
20 | SHA1 (patch-ao) = c01c9d32b4d73cbc32d2ad8bfca8b8b021ca2474 | 20 | SHA1 (patch-ao) = c01c9d32b4d73cbc32d2ad8bfca8b8b021ca2474 | |
21 | SHA1 (patch-aq) = db1741cfaaf155d60ac446945be1e54f271e602b | |||
22 | SHA1 (patch-ar) = 4ac95c029794afba0f4d398643f354b71efd9ac3 | |||
23 | SHA1 (patch-imap_mailbox.c) = 9f71ae5df3a6ebf024e9bd9e4dfb0c140d0d3d95 | 21 | SHA1 (patch-imap_mailbox.c) = 9f71ae5df3a6ebf024e9bd9e4dfb0c140d0d3d95 |
@@ -1,38 +1,29 @@ | @@ -1,38 +1,29 @@ | |||
1 | $NetBSD: patch-aa,v 1.5 2011/06/22 01:05:37 obache Exp $ | 1 | $NetBSD: patch-aa,v 1.6 2011/09/09 12:09:34 obache Exp $ | |
2 | 2 | |||
3 | --- configure.in.orig 2011-06-21 19:50:39.000000000 +0000 | 3 | --- configure.in.orig 2011-09-08 18:57:42.000000000 +0000 | |
4 | +++ configure.in | 4 | +++ configure.in | |
5 | @@ -403,7 +403,7 @@ if test "$sievedir" != "no"; then | 5 | @@ -403,7 +403,7 @@ if test "$sievedir" != "no"; then | |
6 | 6 | |||
7 | if test "$testpcre" != "no"; then | 7 | if test "$testpcre" != "no"; then | |
8 | AC_CHECK_HEADER(pcreposix.h) | 8 | AC_CHECK_HEADER(pcreposix.h) | |
9 | - if test "$ac_cv_header_pcreposix_h" == "yes"; then | 9 | - if test "$ac_cv_header_pcreposix_h" == "yes"; then | |
10 | + if test "$ac_cv_header_pcreposix_h" = "yes"; then | 10 | + if test "$ac_cv_header_pcreposix_h" = "yes"; then | |
11 | AC_MSG_CHECKING(for utf8 enabled pcre) | 11 | AC_MSG_CHECKING(for utf8 enabled pcre) | |
12 | AC_CACHE_VAL(cyrus_cv_pcre_utf8, AC_TRY_CPP([#include <pcreposix.h> | 12 | AC_CACHE_VAL(cyrus_cv_pcre_utf8, AC_TRY_CPP([#include <pcreposix.h> | |
13 | #ifndef REG_UTF8 | 13 | #ifndef REG_UTF8 | |
14 | @@ -415,13 +415,13 @@ if test "$sievedir" != "no"; then | 14 | @@ -415,13 +415,13 @@ if test "$sievedir" != "no"; then | |
15 | fi | 15 | fi | |
16 | fi | 16 | fi | |
17 | 17 | |||
18 | - if test "$cyrus_cv_pcre_utf8" == "yes"; then | 18 | - if test "$cyrus_cv_pcre_utf8" == "yes"; then | |
19 | + if test "$cyrus_cv_pcre_utf8" = "yes"; then | 19 | + if test "$cyrus_cv_pcre_utf8" = "yes"; then | |
20 | LIBS="$LIBS -lpcre -lpcreposix"; | 20 | LIBS="$LIBS -lpcre -lpcreposix"; | |
21 | AC_DEFINE(ENABLE_REGEX, [], [Do we have a regex library?]) | 21 | AC_DEFINE(ENABLE_REGEX, [], [Do we have a regex library?]) | |
22 | AC_DEFINE(HAVE_PCREPOSIX_H, [], [Do we have usable pcre library?]) | 22 | AC_DEFINE(HAVE_PCREPOSIX_H, [], [Do we have usable pcre library?]) | |
23 | else | 23 | else | |
24 | AC_CHECK_HEADERS(rxposix.h) | 24 | AC_CHECK_HEADERS(rxposix.h) | |
25 | - if test "$ac_cv_header_rxposix_h" == "yes"; then | 25 | - if test "$ac_cv_header_rxposix_h" == "yes"; then | |
26 | + if test "$ac_cv_header_rxposix_h" = "yes"; then | 26 | + if test "$ac_cv_header_rxposix_h" = "yes"; then | |
27 | LIBS="$LIBS -lrx" | 27 | LIBS="$LIBS -lrx" | |
28 | AC_DEFINE(ENABLE_REGEX, [], | 28 | AC_DEFINE(ENABLE_REGEX, [], | |
29 | [Do we have a regex library?]) | 29 | [Do we have a regex library?]) | |
30 | @@ -1171,7 +1171,7 @@ dnl add perl cccdlflags when building li | |||
31 | dnl libraries will be compiled as PIC if perl requires PIC objects | |||
32 | dnl -- this is needed on NetBSD and Linux, but seems to cause problems on atleast Solaris -- | |||
33 | case "${target_os}" in | |||
34 | - linux*|netbsd*) | |||
35 | + linux*|netbsd*|freebsd*|dragonfly*) | |||
36 | AC_MSG_CHECKING(for perl cccdlflags needed on "${target_os}") | |||
37 | eval `${PERL} -V:cccdlflags` | |||
38 | PERL_CCCDLFLAGS="$cccdlflags" |
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | $NetBSD: patch-ab,v 1.5 2011/07/06 09:45:45 obache Exp $ | 1 | $NetBSD: patch-ab,v 1.6 2011/09/09 12:09:34 obache Exp $ | |
2 | 2 | |||
3 | --- configure.orig 2011-07-04 15:06:30.000000000 +0000 | 3 | --- configure.orig 2011-09-08 19:03:38.000000000 +0000 | |
4 | +++ configure | 4 | +++ configure | |
5 | @@ -7201,7 +7201,7 @@ if test "x$ac_cv_header_pcreposix_h" = x | 5 | @@ -7201,7 +7201,7 @@ if test "x$ac_cv_header_pcreposix_h" = x | |
6 | fi | 6 | fi | |
7 | 7 | |||
8 | 8 | |||
9 | - if test "$ac_cv_header_pcreposix_h" == "yes"; then | 9 | - if test "$ac_cv_header_pcreposix_h" == "yes"; then | |
10 | + if test "$ac_cv_header_pcreposix_h" = "yes"; then | 10 | + if test "$ac_cv_header_pcreposix_h" = "yes"; then | |
11 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utf8 enabled pcre" >&5 | 11 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utf8 enabled pcre" >&5 | |
12 | $as_echo_n "checking for utf8 enabled pcre... " >&6; } | 12 | $as_echo_n "checking for utf8 enabled pcre... " >&6; } | |
13 | if ${cyrus_cv_pcre_utf8+:} false; then : | 13 | if ${cyrus_cv_pcre_utf8+:} false; then : | |
14 | @@ -7229,7 +7229,7 @@ $as_echo "$cyrus_cv_pcre_utf8" >&6; } | 14 | @@ -7229,7 +7229,7 @@ $as_echo "$cyrus_cv_pcre_utf8" >&6; } | |
15 | fi | 15 | fi | |
16 | fi | 16 | fi | |
@@ -19,22 +19,13 @@ $NetBSD: patch-ab,v 1.5 2011/07/06 09:45 | @@ -19,22 +19,13 @@ $NetBSD: patch-ab,v 1.5 2011/07/06 09:45 | |||
19 | + if test "$cyrus_cv_pcre_utf8" = "yes"; then | 19 | + if test "$cyrus_cv_pcre_utf8" = "yes"; then | |
20 | LIBS="$LIBS -lpcre -lpcreposix"; | 20 | LIBS="$LIBS -lpcre -lpcreposix"; | |
21 | 21 | |||
22 | $as_echo "#define ENABLE_REGEX /**/" >>confdefs.h | 22 | $as_echo "#define ENABLE_REGEX /**/" >>confdefs.h | |
23 | @@ -7250,7 +7250,7 @@ fi | 23 | @@ -7250,7 +7250,7 @@ fi | |
24 | 24 | |||
25 | done | 25 | done | |
26 | 26 | |||
27 | - if test "$ac_cv_header_rxposix_h" == "yes"; then | 27 | - if test "$ac_cv_header_rxposix_h" == "yes"; then | |
28 | + if test "$ac_cv_header_rxposix_h" = "yes"; then | 28 | + if test "$ac_cv_header_rxposix_h" = "yes"; then | |
29 | LIBS="$LIBS -lrx" | 29 | LIBS="$LIBS -lrx" | |
30 | 30 | |||
31 | $as_echo "#define ENABLE_REGEX /**/" >>confdefs.h | 31 | $as_echo "#define ENABLE_REGEX /**/" >>confdefs.h | |
32 | @@ -10493,7 +10493,7 @@ elif test "${with_perl}" != "no"; then | |||
33 | PERL_SUBDIRS="imap" | |||
34 | PERL="${with_perl}" | |||
35 | case "${target_os}" in | |||
36 | - linux*|netbsd*) | |||
37 | + linux*|netbsd*|freebsd*|dragonfly*) | |||
38 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl cccdlflags needed on \"${target_os}\"" >&5 | |||
39 | $as_echo_n "checking for perl cccdlflags needed on \"${target_os}\"... " >&6; } | |||
40 | eval `${PERL} -V:cccdlflags` |