[exim-cvs] cvs commit: exim/exim-doc/doc-misc WishList exim…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: exim-cvs
Sujet: [exim-cvs] cvs commit: exim/exim-doc/doc-misc WishList exim/exim-doc/doc-txt ChangeLog exim/exim-src/src exim_dbmbuild.c exim/exim-src/util cramtest.pl
ph10 2005/08/30 10:19:34 BST

  Modified files:
    exim-doc/doc-misc    WishList 
    exim-doc/doc-txt     ChangeLog 
    exim-src/src         exim_dbmbuild.c 
    exim-src/util        cramtest.pl 
  Log:
  (1) a new wish (2) minor tweaks to dbmbuild and cramtest when setting up
  new tests.


  Revision  Changes    Path
  1.48      +8 -1      exim/exim-doc/doc-misc/WishList
  1.212     +4 -0      exim/exim-doc/doc-txt/ChangeLog
  1.5       +4 -2      exim/exim-src/src/exim_dbmbuild.c
  1.2       +10 -10    exim/exim-src/util/cramtest.pl


  Index: WishList
  ===================================================================
  RCS file: /home/cvs/exim/exim-doc/doc-misc/WishList,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- WishList    9 Aug 2005 13:31:52 -0000    1.47
  +++ WishList    30 Aug 2005 09:19:33 -0000    1.48
  @@ -1,4 +1,4 @@
  -$Cambridge: exim/exim-doc/doc-misc/WishList,v 1.47 2005/08/09 13:31:52 ph10 Exp $
  +$Cambridge: exim/exim-doc/doc-misc/WishList,v 1.48 2005/08/30 09:19:33 ph10 Exp $


EXIM 4 WISH LIST
----------------
@@ -1967,5 +1967,12 @@
This wish is for an option to log the name of the file that is written in
maildir format (e.g. time.pid.host).
------------------------------------------------------------------------------
---- HWM 339 ------------------------------------------------------------------
+
+(340) 30-Aug-05 M Match more than one item
+
+match_address, for instance, matches one address to a list. The wish is to be
+able to supply two lists; for each address in the first list, search the
+second. Maybe something like ${match_any{...}{...}} is needed.
+------------------------------------------------------------------------------
+--- HWM 340 ------------------------------------------------------------------
---------------------------- End of WishList ---------------------------------

  Index: ChangeLog
  ===================================================================
  RCS file: /home/cvs/exim/exim-doc/doc-txt/ChangeLog,v
  retrieving revision 1.211
  retrieving revision 1.212
  diff -u -r1.211 -r1.212
  --- ChangeLog    23 Aug 2005 11:25:38 -0000    1.211
  +++ ChangeLog    30 Aug 2005 09:19:33 -0000    1.212
  @@ -1,4 +1,4 @@
  -$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.211 2005/08/23 11:25:38 ph10 Exp $
  +$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.212 2005/08/30 09:19:33 ph10 Exp $


Change log file for Exim from version 4.21
-------------------------------------------
@@ -121,6 +121,10 @@

   PH/29 Added "crypteq" to the list of supported features that Exim outputs when
         -bV or -d is used.
  +
  +PH/30 Fixed (presumably very longstanding) bug in exim_dbmbuild: if it failed
  +      because an input line was too long, either on its own, or by virtue of
  +      too many continuations, the temporary file was not being removed.



Exim version 4.52

  Index: exim_dbmbuild.c
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/src/exim_dbmbuild.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- exim_dbmbuild.c    27 Jun 2005 14:29:43 -0000    1.4
  +++ exim_dbmbuild.c    30 Aug 2005 09:19:33 -0000    1.5
  @@ -1,4 +1,4 @@
  -/* $Cambridge: exim/exim-src/src/exim_dbmbuild.c,v 1.4 2005/06/27 14:29:43 ph10 Exp $ */
  +/* $Cambridge: exim/exim-src/src/exim_dbmbuild.c,v 1.5 2005/08/30 09:19:33 ph10 Exp $ */


   /*************************************************
   *     Exim - an Internet mail transport agent    *
  @@ -234,7 +234,8 @@
     if (len >= max_insize - 1 && p[-1] != '\n')
       {
       printf("Overlong line read: max permitted length is %d\n", max_insize - 1);
  -    return 1;
  +    yield = 2;
  +    goto TIDYUP;
       }


     if (line[0] == '#') continue;
  @@ -260,7 +261,8 @@
         {
         printf("Continued set of lines is too long: max permitted length is %d\n",
           max_outsize -1);
  -      return 1;
  +      yield = 2;
  +      goto TIDYUP;
         }


       Ustrcpy(bptr, s);


  Index: cramtest.pl
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/util/cramtest.pl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- cramtest.pl    7 Oct 2004 10:39:03 -0000    1.1
  +++ cramtest.pl    30 Aug 2005 09:19:33 -0000    1.2
  @@ -1,10 +1,10 @@
   #!/usr/bin/perl
  -# $Cambridge: exim/exim-src/util/cramtest.pl,v 1.1 2004/10/07 10:39:03 ph10 Exp $
  +# $Cambridge: exim/exim-src/util/cramtest.pl,v 1.2 2005/08/30 09:19:33 ph10 Exp $


-# This script is contributed by Vadim Vygonets to aid in debugging CRAM-MD5
-# authentication.
+# This script is contributed by Vadim Vygonets to aid in debugging CRAM-MD5
+# authentication.

-# A patch was contributed by Jon Warbrick to upgrade it to use the Digest::MD5
+# A patch was contributed by Jon Warbrick to upgrade it to use the Digest::MD5
# module instead of the deprecated MD5 module.

# The script prompts for three data values: a user name, a password, and the
@@ -22,11 +22,11 @@


   # Copyright (c) 2002
  -#    Vadim Vygonets <vadik-exim@???>.  All rights reserved.
  +#       Vadim Vygonets <vadik-exim@???>.  All rights reserved.
   # Public domain is OK with me.


use MIME::Base64;
-use DIGEST::MD5;
+use Digest::MD5;

print "User: ";
chop($user = <>);
@@ -38,15 +38,15 @@

   $context = new Digest::MD5;
   if (length($passwd) > 64) {
  -    $context->add($passwd);
  -    $passwd = $context->digest();
  -    $context->reset();
  +        $context->add($passwd);
  +        $passwd = $context->digest();
  +        $context->reset();
   }


   @passwd = unpack("C*", pack("a64", $passwd));
   for ($i = 0; $i < 64; $i++) {
  -    $pass_ipad[$i] = $passwd[$i] ^ 0x36;
  -    $pass_opad[$i] = $passwd[$i] ^ 0x5C;
  +        $pass_ipad[$i] = $passwd[$i] ^ 0x36;
  +        $pass_opad[$i] = $passwd[$i] ^ 0x5C;
   }
   $context->add(pack("C64", @pass_ipad), decode_base64($chal));
   $digest = $context->digest();