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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   08-Aug-2007 14:16:05
  Branch: HEAD                             Handle: 2007080813160200

  Added files:
    openpkg-src/libsieve    libsieve.patch
  Modified files:
    openpkg-src/libsieve    libsieve.spec

  Log:
    I really do not know whether it is _me_ or the just the usual amount
    of problems in our world, but everytime I want to do someting I am
    forced to first step back a few hours and rescue the world of Unix
    software. Today: make the DBMail SIEVE implementation working by
    fixing the matching of escaped characters in the SIEVE ":match"
    operator implementation. Without this fix it is impossible to let
    SpamAssassin tagged SPAM mails to be auto-filed into an IMAP spam
    folder on the server-side.

  Summary:
    Revision    Changes     Path
    1.1         +14 -0      openpkg-src/libsieve/libsieve.patch
    1.9         +3  -1      openpkg-src/libsieve/libsieve.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/libsieve/libsieve.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 libsieve.patch
  --- /dev/null 2007-08-08 14:15:49 +0200
  +++ libsieve.patch    2007-08-08 14:16:03 +0200
  @@ -0,0 +1,14 @@
  +Fix matching of escaped characters in ":match" operator.  
  +
  +Index: src/sv_parser/comparator.c
  +--- src/sv_parser/comparator.c.orig  2006-11-27 21:12:18 +0100
  ++++ src/sv_parser/comparator.c       2007-08-08 11:49:04 +0200
  +@@ -104,7 +104,7 @@
  +             t++;
  +         }
  +     case '\\':
  +-        p++;
  ++        c = *p++;
  +         /* falls through */
  +     default:
  +         if (casemap && (toupper((int)(unsigned char)c) ==
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/libsieve/libsieve.spec
  ============================================================================
  $ cvs diff -u -r1.8 -r1.9 libsieve.spec
  --- openpkg-src/libsieve/libsieve.spec        6 Feb 2007 06:12:15 -0000       
1.8
  +++ openpkg-src/libsieve/libsieve.spec        8 Aug 2007 12:16:02 -0000       
1.9
  @@ -33,10 +33,11 @@
   Group:        Mail
   License:      LGPL/MIT
   Version:      2.2.5
  -Release:      20070206
  +Release:      20070808
   
   #   list of sources
   Source0:      
http://osdn.dl.sourceforge.net/libsieve/libsieve-%{version}.tar.gz
  +Patch0:       libsieve.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -64,6 +65,7 @@
   
   %prep
       %setup -q
  +    %patch -p0
   
   %build
       #   configure library
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to