head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.46 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.44 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.42 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.40 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.38 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.36 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.34 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.32 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.30 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.28 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.26 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.24 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.22 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.20 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.18 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.16 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.14 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.12 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.10 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.8 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.6 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.4 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.2 pkgsrc-2004Q4-base:1.2; locks; strict; comment @# @; 1.2 date 2004.11.28.14.34.07; author recht; state dead; branches; next 1.1; 1.1 date 2004.09.26.20.40.37; author seb; state Exp; branches; next ; desc @@ 1.2 log @update to cyrus-imapd-2.2.10. Patch by adrianp@@. While at it also make it build on OSX. Changes to the Cyrus IMAP Server since 2.2.9 Fix 0 termination in mysasl_canon_user. Check for imap magic plus buffer overflow in proxyd also (CAN-2004-1015). Changes to the Cyrus IMAP Server since 2.2.8 Change ACLs correctly when renaming a user Do not abandon std{in,out,err} file descriptors; syslog assumes it can use stderr if syslogd isn't running. Clean up imap magic plus to avoid buffer overrun (CAN-2004-1011) Fix lack of bounds checking in PARTIAL and FETCH (CAN-2004-1012, CAN-2004-10 13) Do not attempt to reuse a freed connection in lmtpproxyd. Allow login without authentication with -N switch in proxyd. Fix use of xrealloc and fold pointers in lmtpengine. @ text @$NetBSD: patch-ao,v 1.1 2004/09/26 20:40:37 seb Exp $ --- master/service.c.orig 2004-03-22 20:05:47.000000000 +0000 +++ master/service.c @@@@ -68,6 +68,7 @@@@ #include #include "service.h" +#include "libconfig.h" #include "xmalloc.h" extern int optind, opterr; @@@@ -145,7 +146,6 @@@@ static int libwrap_ask(struct request_in #endif extern void cyrus_init(const char *, const char *, unsigned); -extern const char *config_getstring(const char *key, const char *def); extern const char *config_dir; static int getlockfd(char *service, int id) @@@@ -365,7 +365,7 @@@@ int main(int argc, char **argv, char **e if (call_debugger) { char debugbuf[1024]; int ret; - const char *debugger = config_getstring("debug_command", NULL); + const char *debugger = config_getstring(IMAPOPT_DEBUG_COMMAND); if (debugger) { snprintf(debugbuf, sizeof(debugbuf), debugger, argv[0], getpid(), service); @ 1.1 log @Add patch from cyrus imap cvs repository: fix master(8) support for debugging Cyrus services. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @