head 1.4; access; symbols 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.66 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.64 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.62 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.60 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.58 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.56 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.54 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.52 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.50 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.48 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.46 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.44 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.42 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.40 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.38 pkgsrc-2008Q1:1.3.0.36 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.34 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.32 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.30 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.28 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.26 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.24 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.22 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.20 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.18 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.16 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.14 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.12 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.10 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.8 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.6 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.4 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.2.0.2 netbsd-1-6-1-base:1.2; locks; strict; comment @# @; 1.4 date 2011.09.16.12.07.32; author obache; state dead; branches; next 1.3; 1.3 date 2003.08.16.09.23.59; author recht; state Exp; branches; next 1.2; 1.2 date 2003.01.08.21.26.35; author chris; state Exp; branches; next 1.1; 1.1 date 2003.01.07.18.25.21; author christos; state Exp; branches; next ; desc @@ 1.4 log @Remove cyrus-imapd21, unsupported version by upstream. @ text @$NetBSD: patch-ak,v 1.3 2003/08/16 09:23:59 recht Exp $ --- imap/ctl_cyrusdb.c.orig 2003-05-02 17:23:05.000000000 +0200 +++ imap/ctl_cyrusdb.c 2003-07-26 14:21:45.000000000 +0200 @@@@ -231,9 +231,9 @@@@ /* create the names of the backup directories */ strcpy(backup1, dirname); - strcat(backup1, ".backup1/"); + strcat(backup1, ".backup1"); strcpy(backup2, dirname); - strcat(backup2, ".backup2/"); + strcat(backup2, ".backup2"); syslog(LOG_NOTICE, "%s", msg); @@@@ -289,6 +289,7 @@@@ struct dirent *dirent; tail = backup2 + strlen(backup2); + *tail++ = '/'; /* remove db.backup2 */ dirp = opendir(backup2); @@@@ -302,7 +303,7 @@@@ closedir(dirp); } - *tail = '\0'; + tail[-1] = '\0'; r2 = rmdir(backup2); /* move db.backup1 to db.backup2 */ @ 1.3 log @Update to 2.1.14. Changes to the Cyrus IMAP Server since 2.1.13 * Be more forgiving in the parsing of MIME boundry headers, specificly those generated by eudora where the outer boundries are substrings of the inner boundries. This feature can be disabled by enabling the rfc2046_strict option. * Allow cyradm to handle aggregate mailbox sets for ACL and DELETE operations. * Add a lmtp_downcase_rcpt option to force the lowercasing of recipient addresses (Henrique de Moraes Holschuh ). * Include more MIME headers in sieve rejection notices * Add an mbexamine command for debugging purposes * LMTP will now fatal error if we cannot initialize the duplicate delivery database. * Continued audit by Security Appraisers and Bynari * Correctly terminate the processes by calling service_abort even on successful exit (helps to fix a db3 lockers problem) * Fix some murder+altnamespace/unixhiersep issues * Fix imclient's handling of literals. * Add support for the windows-1256 character set * Don't log 'could not shut down filedescriptor' messages when the socket is already not connected * Now include a script to convert sieve script names to the altnamespace format * Added a --with-extraident configure option to make it easier to set the extra version information that is compiled into the binary. * Minor build fixes. * Minor other bug fixes. OK'ed by chris@@ @ text @d1 1 a1 1 $NetBSD: patch-ak,v 1.2 2003/01/08 21:26:35 chris Exp $ @ 1.2 log @Add NetBSD tag to patch file. @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- imap/ctl_cyrusdb.c.orig Wed May 29 12:49:14 2002 +++ imap/ctl_cyrusdb.c Tue Jan 7 13:03:45 2003 a16 9 @@@@ -274,7 +274,7 @@@@ r2 = (dblist[i].env)->sync(); if (r2) { syslog(LOG_ERR, "DBERROR: sync %s: %s", dirname, - cyrusdb_strerror(r)); + cyrusdb_strerror(r2)); fprintf(stderr, "ctl_cyrusdb: unable to sync environment\n"); } a33 18 @@@@ -323,7 +324,7 @@@@ if (r2) { syslog(LOG_ERR, "DBERROR: archive %s: %s", dirname, - cyrusdb_strerror(r)); + cyrusdb_strerror(r2)); fprintf(stderr, "ctl_cyrusdb: unable to archive environment\n"); } @@@@ -342,7 +343,7 @@@@ r2 = (dblist[i].env)->done(); if (r2) { - syslog(LOG_ERR, "DBERROR: done: %s", cyrusdb_strerror(r)); + syslog(LOG_ERR, "DBERROR: done: %s", cyrusdb_strerror(r2)); } } @ 1.1 log @- deal with NetBSD failing on mkdir("foo/"), rmdir("foo/") etc. - print the correct errors, not from a stale error code. @ text @d1 2 @