head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.22 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.20 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.18 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.16 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.14 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.12 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.10 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.8 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.6 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.4 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.2 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.2.0.2 pkgsrc-2007Q3-base:1.2; locks; strict; comment @# @; 1.3 date 2007.10.15.15.37.15; author jlam; state dead; branches; next 1.2; 1.2 date 2007.09.06.04.05.40; author jlam; state Exp; branches; next 1.1; 1.1 date 2007.08.10.17.57.06; author jlam; state Exp; branches; next ; desc @@ 1.3 log @Update mail/courier-mta to 0.57.1. Changes from version 0.56.0 include: * Major code cleanup. * "User unknown" reports complete local address, including extensions. * Only run courierfilters after all control files are closed. * "opt BOFHHEADERLIMIT" replaces hardcoded limit of 100,000 bytes of headers per message. * Reject <@@domain.com> for a recipient's address. * Tolerate newline-less responses from the filter. * Document that sysexit 100 from .courier is a permanent failure. * "courier show all" and "courier clear all" commands for managing backscatter suppression list. @ text @$NetBSD: patch-aq,v 1.2 2007/09/06 04:05:40 jlam Exp $ --- courier/webmlmdsublist.C.orig Sat Jun 16 02:21:24 2007 +++ courier/webmlmdsublist.C @@@@ -196,7 +196,8 @@@@ public: std::fstream &getSubListFp() { return sublist; } }; -WSubList::WSubList() : sublist(SUBLIST), idxsublist(SUBLIST ".idx"), +WSubList::WSubList() : sublist(SUBLIST, std::fstream::in|std::fstream::out), + idxsublist(SUBLIST ".idx"), idxEntryCount(0) { } @@@@ -319,7 +320,7 @@@@ static void dodel(WSubList &sub_list) unsubscribe.mk_received_header(); - FILE *fp=unsubscribe.stdin(); + FILE *fp=unsubscribe.standard_input(); fprintf(fp, "Subject: admin unsubscribe\n" @@@@ -578,7 +579,7 @@@@ HANDLER("SUBINFO", emit_subinfo) char linebuf[256]; - while (fgets(linebuf, sizeof(linebuf), subinfo.stdout())) + while (fgets(linebuf, sizeof(linebuf), subinfo.standard_output())) { std::cout << webmlmd::html_escape(linebuf); } @ 1.2 log @Allow this code to compile with an older version of GCC and on an older version of FreeBSD. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Update mail/courier-mta to 0.56.0. Changes from version 0.53.2 include: + Drop the uucp module from the default option set. + Patch the webmlm sources to not use "stdin" and "stdout" as function or member names as they can be macros according to the C standards. * webadmin: Remove check that prevents multiple virtual domains to be aliased to the same account. * webmlmd: new CGI module that can manage a Courier mailing list created with couriermlm. * Rewrite and code cleanup of couriermlm. * Use domain name, not MX hostname, for looking up authenticated SMTP passwords in esmtpauthclient @ text @d3 1 a3 1 --- courier/webmlmdsublist.C.orig 2007-06-15 22:21:24.000000000 -0400 d5 11 a15 1 @@@@ -319,7 +319,7 @@@@ static void dodel(WSubList &sub_list) d24 1 a24 1 @@@@ -578,7 +578,7 @@@@ HANDLER("SUBINFO", emit_subinfo) @