head 1.6; access; symbols pkgsrc-2026Q1:1.6.0.96 pkgsrc-2026Q1-base:1.6 pkgsrc-2025Q4:1.6.0.94 pkgsrc-2025Q4-base:1.6 pkgsrc-2025Q3:1.6.0.92 pkgsrc-2025Q3-base:1.6 pkgsrc-2025Q2:1.6.0.90 pkgsrc-2025Q2-base:1.6 pkgsrc-2025Q1:1.6.0.88 pkgsrc-2025Q1-base:1.6 pkgsrc-2024Q4:1.6.0.86 pkgsrc-2024Q4-base:1.6 pkgsrc-2024Q3:1.6.0.84 pkgsrc-2024Q3-base:1.6 pkgsrc-2024Q2:1.6.0.82 pkgsrc-2024Q2-base:1.6 pkgsrc-2024Q1:1.6.0.80 pkgsrc-2024Q1-base:1.6 pkgsrc-2023Q4:1.6.0.78 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.6.0.76 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.74 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.72 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.6.0.70 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.6.0.68 pkgsrc-2022Q3-base:1.6 pkgsrc-2022Q2:1.6.0.66 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.6.0.64 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.6.0.62 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.60 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.58 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.56 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.6.0.54 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.6.0.52 pkgsrc-2020Q3-base:1.6 pkgsrc-2020Q2:1.6.0.48 pkgsrc-2020Q2-base:1.6 pkgsrc-2020Q1:1.6.0.28 pkgsrc-2020Q1-base:1.6 pkgsrc-2019Q4:1.6.0.50 pkgsrc-2019Q4-base:1.6 pkgsrc-2019Q3:1.6.0.46 pkgsrc-2019Q3-base:1.6 pkgsrc-2019Q2:1.6.0.44 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.6.0.42 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.40 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.38 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.36 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.34 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.32 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.30 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.26 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.6.0.24 pkgsrc-2017Q1-base:1.6 pkgsrc-2016Q4:1.6.0.22 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.6.0.20 pkgsrc-2016Q3-base:1.6 pkgsrc-2016Q2:1.6.0.18 pkgsrc-2016Q2-base:1.6 pkgsrc-2016Q1:1.6.0.16 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.14 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.12 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.6.0.10 pkgsrc-2015Q2-base:1.6 pkgsrc-2015Q1:1.6.0.8 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.6.0.6 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.4 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.2 pkgsrc-2014Q2-base:1.6 pkgsrc-2013Q2:1.4.0.6 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.4 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.2 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.3.0.2 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.1.1.1.0.4 pkgsrc-2011Q1-base:1.1.1.1 pkgsrc-2010Q4:1.1.1.1.0.2 pkgsrc-2010Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.6 date 2014.06.17.01.08.59; author obache; state Exp; branches; next 1.5; commitid nGobJgj56kQOqOEx; 1.5 date 2014.06.17.00.32.10; author obache; state Exp; branches; next 1.4; commitid qtJ1rDoZHCW5eOEx; 1.4 date 2011.09.09.12.09.34; author obache; state dead; branches; next 1.3; 1.3 date 2011.07.06.09.45.45; author obache; state Exp; branches; next 1.2; 1.2 date 2011.04.14.02.18.27; author obache; state Exp; branches; next 1.1; 1.1 date 2010.10.30.12.12.35; author obache; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2010.10.30.12.12.35; author obache; state Exp; branches; next ; desc @@ 1.6 log @better handling for 64bit time_t issue. @ text @$NetBSD$ * cast to unsigned long for platform sizeof(time_t) > sizeof(unsigned long). https://bugzilla.cyrusimap.org/show_bug.cgi?id=3376 --- imap/sync_client.c.orig 2012-12-01 19:57:54.000000000 +0000 +++ imap/sync_client.c @@@@ -573,7 +573,7 @@@@ static int folder_unannotation(const cha /* ====================================================================== */ static int sieve_upload(const char *userid, const char *filename, - unsigned long last_update) + time_t last_update) { const char *cmd = "SIEVE"; struct dlist *kl; @@@@ -913,9 +913,9 @@@@ static void log_record(const char *name, struct index_record *record) { syslog(LOG_NOTICE, "SYNCNOTICE: %s uid:%u modseq:" MODSEQ_FMT " " - "last_updated:%lu internaldate:%lu flags:(%s)", + "last_updated:" MODSEQ_FMT " internaldate:" MODSEQ_FMT " flags:(%s)", name, record->uid, record->modseq, - record->last_updated, record->internaldate, + (modseq_t)record->last_updated, (modseq_t)record->internaldate, make_flags(mailbox, record)); } @ 1.5 log @restore patch-aq, lost dureing update. @ text @d17 3 a19 1 @@@@ -915,7 +915,7 @@@@ static void log_record(const char *name, d21 2 a22 1 "last_updated:%lu internaldate:%lu flags:(%s)", d25 1 a25 1 + (unsigned long)record->last_updated, (unsigned long)record->internaldate, @ 1.4 log @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 Coverity @ text @d1 1 a1 1 $NetBSD: patch-aq,v 1.3 2011/07/06 09:45:45 obache Exp $ a2 2 * use IPPROTO_TCP for SOL_TCP if it is not defined https://bugzilla.cyrusimap.org/show_bug.cgi?id=3300 d6 1 a6 1 --- imap/sync_client.c.orig 2011-07-04 15:05:01.000000000 +0000 d8 2 a9 3 @@@@ -93,6 +93,10 @@@@ #include "signals.h" #include "cyrusdb.h" d11 7 a17 8 +#ifndef SOL_TCP +#define SOL_TCP IPPROTO_TCP +#endif + /* signal to config.c */ const int config_need_data = CONFIG_NEED_PARTITION_DATA; @@@@ -911,7 +915,7 @@@@ static void log_record(const char *name, @ 1.3 log @Update cyrus-imapd24 to 2.4.10. While here, * Exactly enable/disable PCRE support with package option, enabled by default. * Add workaround patches for PR#44275, sizeof(time_t) > sizeof(unsigned long). Changes to the Cyrus IMAP Server since 2.4.9 * fixed handling of unparsable emails during append (which would cause invalid cyrus.index records otherwise) * quota: fix a pile of bugs. #1801, virtdomain support; #2728, slow user delete; #3178, "file name too long" with big mailbox names; #3179, quota -f doubles usage. * Bug #3043 - parse multiple groups in headers correctly * Bug #3158 - lmtp backend connection timeout * Bug #3223 - limit MIME parsing depth to avoid stack overflows * Bug #3273 - add SORT=DISPLAY support (but note: still questions about correctness of unicode sorting) * Bug #3504 - convert all sieve scripts to \r\n line endings on upload * Bug #3402 - options to munge 8bit characters in headers during lmtp delivery to avoid backscatter * sync_client: fix broken keepalive TCP options (I doubt anyone ever tried to use it) * Bug #3482 - add "-o" option to ipurge to only purge messages with \Deleted flag set @ text @d1 1 a1 1 $NetBSD: patch-aq,v 1.2 2011/04/14 02:18:27 obache Exp $ @ 1.2 log @Update cyrus-imapd to 2.4.8. Changes to the Cyrus IMAP Server since 2.4.7 * Bug #3428 - allow charset argument to "thread" to be quoted * Bug #3429 - fixed mupdate crash * Bug #3404 - had crept back in! Fix LIST "" user properly * Bug #3388 - fix reconstruct internaldate flap when file hardlinked with different internaldates * Bug #3410 - don't require a partition on murder frontends * Bug #3406 - fix compile on FreeBSD * Bug #3415 - fix nntpd * Bug #3390 - add 'proc_path' config variable * Bug #3364 - allow setting unlimited quota through a proxy server * Bug #3433 - append '0.' file rather than deleting in reconstruct * Fixed bug in reconstruct where a record rewrite lost the cache pointer until you did a SECOND reconstruct (no bug number) * Bug #3440 - fixed cyr_expire crash if run with -x @ text @d1 1 a1 1 $NetBSD: patch-aq,v 1.1.1.1 2010/10/30 12:12:35 obache Exp $ d3 6 a8 1 --- imap/sync_client.c.orig 2011-04-13 14:35:22.000000000 +0000 d21 9 @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- imap/sync_client.c.orig 2010-10-19 03:08:28.000000000 +0000 d5 1 a5 1 @@@@ -92,6 +92,10 @@@@ d14 1 a14 1 const int config_need_data = 0; /* YYY */ @ 1.1.1.1 log @Import cyrus-imapd-2.4.2 as mail/cyrus-imapd24. IMAP (Internet Message Access Protocol) is an Internet standards-track protocol for accessing messages (mail, bboards, news, etc). The Cyrus IMAP server differs from other IMAP server implementations in that it is generally intended to be run on "sealed" servers, where normal users are not permitted to log in. The mailbox database is stored in parts of the filesystem that are private to the Cyrus IMAP system. All user access to mail is through the IMAP, POP3, or KPOP protocols. @ text @@