Ver código fonte

make Fetchmail compatible with QPopper's APOP functionality as mentioned on the fetchmail lists

Ralf S. Engelschall 21 anos atrás
pai
commit
27bc19879a
2 arquivos alterados com 15 adições e 1 exclusões
  1. 14 0
      fetchmail/fetchmail.patch
  2. 1 1
      fetchmail/fetchmail.spec

+ 14 - 0
fetchmail/fetchmail.patch

@@ -10,3 +10,17 @@ Index: socket.c
  #include <ctype.h> /* isspace() */
  #ifdef HAVE_MEMORY_H
  #include <memory.h>
+Index: driver.c
+--- driver.c.orig	2003-10-15 21:22:31 +0200
++++ driver.c	2005-01-29 13:36:30 +0100
+@@ -429,7 +429,9 @@
+ 	/* for POP3, we can get the size of one mail only! Unfortunately, this
+ 	 * protocol specific test cannot be done elsewhere as the protocol
+ 	 * could be "auto". */
+-	if (ctl->server.protocol == P_POP3)
++	if (   ctl->server.protocol == P_POP3
++	    || ctl->server.protocol == P_APOP
++	    || ctl->server.protocol == P_RPOP)
+ 	    fetchsizelimit = 1;
+ 
+ 	/* Time to allocate memory to store the sizes */

+ 1 - 1
fetchmail/fetchmail.spec

@@ -34,7 +34,7 @@ Class:        BASE
 Group:        Mail
 License:      GPL
 Version:      6.2.5
-Release:      20050124
+Release:      20050129
 
 #   list of sources
 Source0:      http://www.catb.org/~esr/fetchmail/fetchmail-%{version}.tar.gz