OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  r...@openpkg.org
  Module: openpkg-src                      Date:   05-Jul-2009 20:22:05
  Branch: HEAD                             Handle: 2009070519220500

  Modified files:
    openpkg-src/milter      milter.patch

  Log:
    support DATA Milter command

  Summary:
    Revision    Changes     Path
    1.7         +15 -6      openpkg-src/milter/milter.patch
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/milter/milter.patch
  ============================================================================
  $ cvs diff -u -r1.6 -r1.7 milter.patch
  --- openpkg-src/milter/milter.patch   5 Jul 2009 17:54:28 -0000       1.6
  +++ openpkg-src/milter/milter.patch   5 Jul 2009 18:22:05 -0000       1.7
  @@ -1,7 +1,16 @@
   Index: Sendmail-PMilter-0.97/lib/Sendmail/PMilter/Context.pm
  ---- Sendmail-PMilter-0.97/lib/Sendmail/PMilter/Context.pm.orig       
2004-08-04 19:07:51 +0200
  -+++ Sendmail-PMilter-0.97/lib/Sendmail/PMilter/Context.pm    2007-02-13 
22:36:55 +0100
  -@@ -245,6 +245,12 @@
  +--- Sendmail-PMilter-0.97/lib/Sendmail/PMilter/Context.pm.orig       
2009-02-24 00:38:20 +0100
  ++++ Sendmail-PMilter-0.97/lib/Sendmail/PMilter/Context.pm    2009-07-05 
20:09:37 +0200
  +@@ -200,6 +200,8 @@
  +                             $this->call_hooks('abort');
  +                     } elsif ($cmd eq SMFIC_BODY) {
  +                             $this->call_hooks('body', $buf, length($buf));
  ++                        } elsif ($cmd eq SMFIC_DATA) {
  ++                            $this->call_hooks('data', $buf, length($buf));
  +                     } elsif ($cmd eq SMFIC_CONNECT) {
  +                             # Perl RE doesn't like matching multiple \0 
instances.
  +                             # To avoid problems, we slice the string to the 
first null,
  +@@ -245,6 +247,12 @@
                                        $this->{symbols}{$code}{$name} = $value;
                                }
                        } elsif ($cmd eq SMFIC_BODYEOB) {
  @@ -15,8 +24,8 @@
                        } elsif ($cmd eq SMFIC_HELO) {
                                my $helo = &$split_buf;
   Index: sendmail-8.14.3/include/libmilter/mfapi.h
  ---- sendmail-8.14.3/include/libmilter/mfapi.h.orig   2006-11-02 03:44:07 
+0100
  -+++ sendmail-8.14.3/include/libmilter/mfapi.h        2007-02-13 22:37:32 
+0100
  +--- sendmail-8.14.3/include/libmilter/mfapi.h.orig   2008-02-27 23:30:34 
+0100
  ++++ sendmail-8.14.3/include/libmilter/mfapi.h        2009-07-05 20:08:58 
+0200
   @@ -28,7 +28,7 @@
    # include <sys/types.h>
    # include <sys/socket.h>
  @@ -28,7 +37,7 @@
    
   Index: sendmail-8.14.3/include/libmilter/milter.h
   --- sendmail-8.14.3/include/libmilter/milter.h.orig  2006-05-23 01:23:55 
+0200
  -+++ sendmail-8.14.3/include/libmilter/milter.h       2007-02-13 22:37:42 
+0100
  ++++ sendmail-8.14.3/include/libmilter/milter.h       2009-07-05 20:08:58 
+0200
   @@ -18,7 +18,7 @@
    # define _LIBMILTER_MILTER_H        1
    
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to