head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.22 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.20 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.18 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.16 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.14 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.12 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.10 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.8 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.6 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.4 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.2 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.3.0.2 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.1.0.4 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.2 pkgsrc-2007Q1-base:1.1; locks; strict; comment @# @; 1.4 date 2007.10.15.15.37.06; author jlam; state dead; branches; next 1.3; 1.3 date 2007.09.23.11.42.43; author jlam; state Exp; branches; next 1.2; 1.2 date 2007.08.10.17.57.18; author jlam; state dead; branches; next 1.1; 1.1 date 2007.02.15.21.51.52; author rillig; state Exp; branches; next ; desc @@ 1.4 log @Update net/couriertcpd to 0.57.1. Changes from version 0.56.0 include: * Avoid hardcoding file descriptor numbers where possible. * Include remote port number in IMAP and POP3 logs. * Ignore SIGPIPE errors in couriertcpd, preventing couriertcpd from being terminated if the stderr logger crashes. * Looping SPF query should abort with SPF UNKNOWN, as per specs. * "SSL23" tries SSLv3 before falling back to SSLv2. * Prime the OpenSSL entropy pool on platforms that don't have a ready source available. @ text @$NetBSD: patch-ab,v 1.3 2007/09/23 11:42:43 jlam Exp $ --- liblock/lockdaemon.c.orig 2007-05-04 23:04:41.000000000 -0400 +++ liblock/lockdaemon.c @@@@ -8,4 +8,5 @@@@ #include #include +#include #include #include @@@@ -31,4 +32,8 @@@@ #endif +#ifndef OPEN_MAX +#define OPEN_MAX 64 +#endif + #define exit(_a_) _exit(_a_) @@@@ -146,5 +151,5 @@@@ int lockfd; } - if (lockfd < 0 || dup2(lockfd, 99) != 99) + if (lockfd < 0 || dup2(lockfd, OPEN_MAX-1) != OPEN_MAX-1) { perror(lockfile); @@@@ -153,5 +158,5 @@@@ int lockfd; close(lockfd); - lockfd=99; + lockfd=OPEN_MAX-1; #ifdef FD_CLOEXEC @ 1.3 log @Don't hardcode the use of "99" as a file descriptor because it may not be available. Instead, use (OPEN_MAX - 1) which uses the same "pick a high number" strategy as choosing "99", but is more likely to be available. This allows users with a soft limit of 64 open files to run courierfilter and courierldapaliasd. Bump the following PKGREVISIONs: mail/courier-mta --> 11 meta-pkgs/courier --> 7 net/couriertcpd --> 3 @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update net/couriertcpd to 0.56.0. Changes from version 0.53.2 include: + Remove BDB_LIB workaround which should already be handled by the wrapper scripts and db1.builtin.mk. + Remove unnecessary patch-aa and patch-ab. * Setting protocol to SSL3 will now disable SSL2. * Send a dummy EHLO before STARTTLS (gmail wants it). * Allow setting the max # of connections on a per-IP address basis. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1 2007/02/15 21:51:52 rillig Exp $ d3 9 a11 3 --- courier/courier.c.orig 2005-01-30 06:22:51.000000000 +0100 +++ courier/courier.c 2006-06-25 18:16:00.000000000 +0200 @@@@ -200,7 +200,7 @@@@ int main(int argc, char **argv) d13 21 a33 7 execl( DATADIR "/courierctl.start", "courierctl.start", (char *)0); - perror("exec"); + perror("exec: " DATADIR "/courierctl.start"); _exit(1); } _exit(0); @ 1.1 log @Made an error message friendlier (patch-ab). Fixed pkglint warnings. @ text @d1 1 a1 1 $NetBSD$ @