head 1.5; access; symbols pkgsrc-2020Q1:1.4.0.68 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.90 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.86 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.84 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.82 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.80 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.78 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.76 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.74 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.72 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.70 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.66 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.64 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.62 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.60 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.58 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.56 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.54 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.52 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.50 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.48 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.46 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.44 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.42 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.40 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.38 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.36 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.34 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.32 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.30 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.28 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.26 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.24 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.22 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.20 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.18 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.16 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.14 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.12 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.10 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.8 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.6 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.4 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.2 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.3.0.24 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.22 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.20 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.18 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.16 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.14 pkgsrc-2008Q1:1.3.0.12 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.10 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.8 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.6 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.4 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.2 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.1.0.4 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.2 pkgsrc-2006Q2-base:1.1; locks; strict; comment @# @; 1.5 date 2020.05.14.16.58.41; author nia; state dead; branches; next 1.4; commitid yeOjACxRtGmSje8C; 1.4 date 2009.05.15.23.29.01; author obache; state Exp; branches; next 1.3; 1.3 date 2006.12.01.13.36.59; author joerg; state Exp; branches 1.3.24.1; next 1.2; 1.2 date 2006.10.04.12.18.14; author obache; state dead; branches; next 1.1; 1.1 date 2006.05.07.17.47.05; author recht; state Exp; branches; next ; 1.3.24.1 date 2009.05.17.15.11.14; author tron; state Exp; branches; next ; desc @@ 1.5 log @Remove old cyrus-imapds that no longer build with pkgsrc OpenSSL @ text @$NetBSD: patch-aq,v 1.4 2009/05/15 23:29:01 obache Exp $ --- imap/fetchnews.c.orig 2005-03-23 00:40:11.000000000 +0000 +++ imap/fetchnews.c @@@@ -268,7 +268,7 @@@@ int main(int argc, char *argv[]) if (geteuid() == 0) fatal("must run as the Cyrus user", EC_USAGE); - while ((opt = getopt(argc, argv, "C:s:w:f:a:p:n:y")) != EOF) { + while ((opt = getopt(argc, argv, "C:s:w:f:a:p:ny")) != EOF) { switch (opt) { case 'C': /* alt config file */ alt_config = optarg; @@@@ -371,7 +371,8 @@@@ int main(int argc, char *argv[]) prot_fgets(buf, sizeof(buf), pin); if (newnews) { - struct tm ctime, *ptime; + struct tm ctime, ptime, ltime; + time_t l_time, l_gmt; /* fetch the server's current time */ prot_printf(pout, "DATE\r\n"); @@@@ -416,8 +417,11 @@@@ int main(int argc, char *argv[]) /* ask for new articles */ if (stamp) stamp -= 180; /* adjust back 3 minutes */ - ptime = gmtime(&stamp); - strftime(buf, sizeof(buf), datefmt, ptime); + gmtime_r(&stamp, &ptime); + localtime_r(&stamp, <ime); + l_gmt = mktime(&ptime); + l_time = mktime(<ime);; + strftime(buf, sizeof(buf), datefmt, &ptime); prot_printf(pout, "NEWNEWS %s %s GMT\r\n", wildmat, buf); if (!prot_fgets(buf, sizeof(buf), pin) || strncmp("230", buf, 3)) { @@@@ -433,7 +437,9 @@@@ int main(int argc, char *argv[]) We can't change this, otherwise we'd be incompatible with an old localtime timestamp. */ - stamp -= timezone; + stamp += l_time - l_gmt; + if (ltime.tm_isdst) + stamp += 3600; } if (!newnews) { @ 1.4 log @Fixes `-n' option handling for fetchnews(1). Patch provided by Jukka Salmi in PR 41432. While here, add DESTDIR support. @ text @d1 1 a1 1 $NetBSD: patch-aq,v 1.3 2006/12/01 13:36:59 joerg Exp $ @ 1.3 log @Replace use of timezone (on BSDs traditionally a function, not a variable) with the portable equivalent. Bump revision. @ text @d1 1 a1 1 $NetBSD$ d5 9 @ 1.3.24.1 log @Pullup ticket #2774 - requested by obache cyrus-imapd: bug fix and destdir support Revisions pulled up: - mail/cyrus-imapd/Makefile 1.79 - mail/cyrus-imapd/distinfo 1.29 - mail/cyrus-imapd/patches/patch-aq 1.4 --- Module Name: pkgsrc Committed By: obache Date: Fri May 15 23:29:02 UTC 2009 Modified Files: pkgsrc/mail/cyrus-imapd: Makefile distinfo pkgsrc/mail/cyrus-imapd/patches: patch-aq Log Message: Fixes `-n' option handling for fetchnews(1). Patch provided by Jukka Salmi in PR 41432. While here, add DESTDIR support. @ text @a4 9 @@@@ -268,7 +268,7 @@@@ int main(int argc, char *argv[]) if (geteuid() == 0) fatal("must run as the Cyrus user", EC_USAGE); - while ((opt = getopt(argc, argv, "C:s:w:f:a:p:n:y")) != EOF) { + while ((opt = getopt(argc, argv, "C:s:w:f:a:p:ny")) != EOF) { switch (opt) { case 'C': /* alt config file */ alt_config = optarg; @ 1.2 log @Update cyrus-imapd to 2.2.13. Patch provided by Jukka Salmi via PR 33576. Changes to the Cyrus IMAP Server since 2.2.12 * Allow sieve scripts to be run on shared mailboxes (via sieve annotation). * Updated nntpd to be compliant with latest draft (soon to be RFC3977). * Updated IMAP UIDPLUS extension to be compliant with latest specification (RFC4315). * Performance improvements to quota utility. * Fixed possible race condition in IMAP IDLE. * Made ptloader runtime configurable. * Added more extensive output to arbitron. * Allow responses of any length from backend when proxing IMAP/POP3/NNTP traffic. * Added plaintextloginalert option. * Only allow mbpath to be run as Cyrus user. * Added berkeley_hash and berkeley_hash_nosync cyrusdb backends (seem to perform better under heavy loads). * Added lastpop mailbox annotation. * Added subscribe/unsubscribe support to cyradm. * Fixed miscellaneous bugs and build issues. @ text @d1 1 a1 1 $NetBSD: patch-aq,v 1.1 2006/05/07 17:47:05 recht Exp $ d3 4 a6 5 --- lib/cyrusdb_berkeley.c.orig 2006-05-07 19:27:50.000000000 +0200 +++ lib/cyrusdb_berkeley.c 2006-05-07 19:28:04.000000000 +0200 @@@@ -104,7 +104,7 @@@@ exit(EC_TEMPFAIL); } d8 32 a39 5 -static void db_err(const char *db_prfx, char *buffer) +static void db_err(const DB_ENV *dbenv, const char *db_prfx, char *buffer) { syslog(LOG_WARNING, "DBERROR %s: %s", db_prfx, buffer); } @ 1.1 log @Adapt the db_err function to bdb 4.4. Addresses PR 32739 by John Kohl. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @