diff options
author | brian <brian@FreeBSD.org> | 2004-09-22 02:21:23 +0800 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2004-09-22 02:21:23 +0800 |
commit | f23709baaf2ccc7f965c210a0246b08e30dd75ff (patch) | |
tree | d4d2e39ec84008f227bd3f19a76853002813badd /mail | |
parent | 4f368cee63aa0f77d1f44b224c0f9d69fb2fd8db (diff) | |
download | freebsd-ports-gnome-f23709baaf2ccc7f965c210a0246b08e30dd75ff.tar.gz freebsd-ports-gnome-f23709baaf2ccc7f965c210a0246b08e30dd75ff.tar.zst freebsd-ports-gnome-f23709baaf2ccc7f965c210a0246b08e30dd75ff.zip |
Don't free the APOP auth string before checking it.
Bump PORTREVISION.
Approved by: portmgr (marcus@), ache@
Diffstat (limited to 'mail')
-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 504c347fcaae..a9a983e71598 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 000000000000..c07cd3e1d558 --- /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]; |