diff options
-rw-r--r-- | mail/popper/Makefile | 2 | ||||
-rw-r--r-- | mail/popper/files/patch-ao | 26 |
2 files changed, 27 insertions, 1 deletions
diff --git a/mail/popper/Makefile b/mail/popper/Makefile index 504c347fcaa..a9a983e7159 100644 --- a/mail/popper/Makefile +++ b/mail/popper/Makefile @@ -7,7 +7,7 @@ PORTNAME= qpopper PORTVERSION= 2.53 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= mail MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/old/ DISTNAME= ${PORTNAME}${PORTVERSION} diff --git a/mail/popper/files/patch-ao b/mail/popper/files/patch-ao new file mode 100644 index 00000000000..c07cd3e1d55 --- /dev/null +++ b/mail/popper/files/patch-ao @@ -0,0 +1,26 @@ +--- pop_apop.c.orig Fri Jul 10 00:44:07 1998 ++++ pop_apop.c Tue Sep 14 23:02:05 2004 +@@ -180,17 +180,18 @@ + return(pop_auth_fail(p, POP_FAILURE, "not authorized")); + } + +-#ifdef GDBM +- gdbm_close (db); +-#else +- dbm_close (db); +-#endif + (void) close(f); + + MD5Init(&mdContext); + MD5Update(&mdContext, (unsigned char *)p->md5str, strlen(p->md5str)); + MD5Update(&mdContext, (unsigned char *)obscure(ddatum.dptr), (ddatum.dsize - 1)); + MD5Final(digest, &mdContext); ++ ++#ifdef GDBM ++ gdbm_close (db); ++#else ++ dbm_close (db); ++#endif + + cp = buffer; + for (ep = (dp = digest) + sizeof digest / sizeof digest[0]; |