summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2010-06-04 21:23:02 +0000
committergdt <gdt@pkgsrc.org>2010-06-04 21:23:02 +0000
commit8b0f7e25d12c2fbcd2cdca3ac61ff58874b6fdaa (patch)
tree66b916b9154cb4297b0ab323891c6aa1b7b330b8 /mail
parente8665de3a8b26f23d5e2fdf310330cc371e66609 (diff)
downloadpkgsrc-8b0f7e25d12c2fbcd2cdca3ac61ff58874b6fdaa.tar.gz
add patch file missing from last commit
Diffstat (limited to 'mail')
-rw-r--r--mail/spamass-milter/files/spamass-milter.20100504.patch65
1 files changed, 65 insertions, 0 deletions
diff --git a/mail/spamass-milter/files/spamass-milter.20100504.patch b/mail/spamass-milter/files/spamass-milter.20100504.patch
new file mode 100644
index 00000000000..124df3c4fa9
--- /dev/null
+++ b/mail/spamass-milter/files/spamass-milter.20100504.patch
@@ -0,0 +1,65 @@
+Patch from upstream CVS, generated on 20100504 via
+
+ cvs -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/spamass-milt co spamass-milt
+ cd spamass-milt && cvs diff -r RELEASE_0_3_1
+
+
+Index: README
+===================================================================
+RCS file: /sources/spamass-milt/spamass-milt/README,v
+retrieving revision 1.6
+retrieving revision 1.7
+diff -u -p -r1.6 -r1.7
+--- README 15 Aug 2005 15:10:47 -0000 1.6
++++ README 19 Apr 2006 15:40:36 -0000 1.7
+@@ -1,4 +1,4 @@
+-$Id: spamass-milter.20100504.patch,v 1.1 2010/06/04 21:23:02 gdt Exp $
++$Id: spamass-milter.20100504.patch,v 1.1 2010/06/04 21:23:02 gdt Exp $
+
+ Spamass-Milter, a small
+ - SpamAssassin Sendmail Mail Filter (Milter) Plugin
+@@ -57,6 +57,7 @@ adding the lines
+ INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/sendmail/spamass.sock, F=, T=C:15m;S:4m;R:4m;E:10m')dnl
+ define(`confMILTER_MACROS_CONNECT',`t, b, j, _, {daemon_name}, {if_name}, {if_addr}')dnl
+ define(`confMILTER_MACROS_HELO',`s, {tls_version}, {cipher}, {cipher_bits}, {cert_subject}, {cert_issuer}')dnl
++define(`confMILTER_MACROS_ENVRCPT',`r, v, Z')dnl
+
+ should do the trick. Of course you need to modify the path of the
+ socket if you put another one into the startup script. The timeouts
+Index: spamass-milter.cpp
+===================================================================
+RCS file: /sources/spamass-milt/spamass-milt/spamass-milter.cpp,v
+retrieving revision 1.90
+retrieving revision 1.91
+diff -u -p -r1.90 -r1.91
+--- spamass-milter.cpp 23 Mar 2006 21:41:36 -0000 1.90
++++ spamass-milter.cpp 24 Jul 2006 19:59:17 -0000 1.91
+@@ -1,6 +1,6 @@
+ //
+ //
+-// $Id: spamass-milter.20100504.patch,v 1.1 2010/06/04 21:23:02 gdt Exp $
++// $Id: spamass-milter.20100504.patch,v 1.1 2010/06/04 21:23:02 gdt Exp $
+ //
+ // SpamAss-Milter
+ // - a rather trivial SpamAssassin Sendmail Milter plugin
+@@ -127,7 +127,7 @@ int daemon(int nochdir, int noclose);
+
+ // }}}
+
+-static const char Id[] = "$Id: spamass-milter.20100504.patch,v 1.1 2010/06/04 21:23:02 gdt Exp $";
++static const char Id[] = "$Id: spamass-milter.20100504.patch,v 1.1 2010/06/04 21:23:02 gdt Exp $";
+
+ struct smfiDesc smfilter =
+ {
+@@ -1002,9 +1002,9 @@ mlfi_envrcpt(SMFICTX* ctx, char** envrcp
+
+ assassin->output((string)
+ "Received: from "+macro_s+" ("+macro__+")\r\n\t"+
+- "by "+macro_j+"("+macro_v+"/"+macro_Z+") with "+macro_r+" id "+macro_i+"\r\n\t"+
++ "by "+macro_j+"("+macro_v+"/"+macro_Z+") with "+macro_r+" id "+macro_i+";\r\n\t"+
+ macro_b+"\r\n\t"+
+- "(envelope-from "+assassin->from()+"\r\n");
++ "(envelope-from "+assassin->from()+")\r\n");
+
+ } else
+ assassin->output((string)"X-Envelope-To: "+envrcpt[0]+"\r\n");