aboutsummaryrefslogtreecommitdiff
path: root/mail/popper
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2004-09-21 18:21:23 +0000
committerBrian Somers <brian@FreeBSD.org>2004-09-21 18:21:23 +0000
commit0be1abc30b2ad9597457f2ebc44280ae707db452 (patch)
treeaa40c1cdeb5d7e5a1a0548f3740668f789decbaa /mail/popper
parenteccfb252a37b7bbd136b3e477c030eeef01d1f00 (diff)
downloadports-0be1abc30b2ad9597457f2ebc44280ae707db452.tar.gz
ports-0be1abc30b2ad9597457f2ebc44280ae707db452.zip
Notes
Diffstat (limited to 'mail/popper')
-rw-r--r--mail/popper/Makefile2
-rw-r--r--mail/popper/files/patch-ao26
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];