[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#4583: popclient compiled without APOP support



Package: popclient
Version: 3.05-3   

Popclient doesn't work in APOP mode (which md5 hashes passwords so that they
don't travel in cleartext anymore) which is too bad as I just installed it to
get APOP ...

There are two problems in the package. First, configure has to be told that
APOP is desired. Second, there is actually a buglet in the upstream source.

This patch fixed both problems for me.


diff -up popclient-3.05.orig/debian.rules popclient-3.05/debian.rules
--- popclient-3.05.orig/debian.rules    Tue Sep 10 16:24:33 1996
+++ popclient-3.05/debian.rules Wed Sep 25 00:09:38 1996
@@ -19,7 +19,7 @@ build:

 config:
        CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
-          ./configure --prefix=/usr
+          ./configure --prefix=/usr --with-APOP
        touch stamp-config

 clean:
diff -up popclient-3.05.orig/pop3.c popclient-3.05/pop3.c
--- popclient-3.05.orig/pop3.c  Wed Aug 28 18:34:41 1996
+++ popclient-3.05/pop3.c       Wed Sep 25 00:27:46 1996
@@ -99,7 +99,9 @@ struct hostrec *queryctl;

 #if defined(HAVE_APOP_SUPPORT)
   /* build MD5 digest from greeting timestamp + password */
-  if (queryctl->whichpop == P_APOP)
+  if (queryctl->protocol == P_APOP)  /* changed from queryctl->whichpop
+                                       which doesn't exist in the structure
+                                       edd@debian.org  24 Sep 96 */
     if (POP3_BuildDigest(buf,queryctl) != 0) {
       ok = PS_AUTHFAIL;
       goto closeUp;                  




-- 
Dirk Eddelb"uttel                             http://qed.econ.queensu.ca/~edd



Reply to: