summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2002-08-17 11:02:40 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2002-08-17 11:02:40 +0000
commited3ddf93c470a5819f4119c559176a0a2af2376e (patch)
tree701a0c4c1eb89479235a09e569043bb32982aa3f /mail
parentRespect CFLAGS and USE_GCC for mozilla build. Needed (diff)
cyradm didn't show password prompt correctly.
PR: ports/41438 Submitted by: Mark Cammidge <mark@peralex.com>
Notes
Notes: svn path=/head/; revision=64601
Diffstat (limited to 'mail')
-rw-r--r--mail/cyrus-imapd/Makefile2
-rw-r--r--mail/cyrus-imapd/files/patch-lib::imclient.c12
2 files changed, 13 insertions, 1 deletions
diff --git a/mail/cyrus-imapd/Makefile b/mail/cyrus-imapd/Makefile
index 7b263544d420..6420451a4f5f 100644
--- a/mail/cyrus-imapd/Makefile
+++ b/mail/cyrus-imapd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= cyrus-imapd
PORTVERSION= 2.0.16
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
ftp://ftp.hanse.de/sites/transit/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/
diff --git a/mail/cyrus-imapd/files/patch-lib::imclient.c b/mail/cyrus-imapd/files/patch-lib::imclient.c
new file mode 100644
index 000000000000..003b57a50f55
--- /dev/null
+++ b/mail/cyrus-imapd/files/patch-lib::imclient.c
@@ -0,0 +1,12 @@
+Index: lib/imclient.c
+diff -u lib/imclient.c.orig lib/imclient.c
+--- lib/imclient.c.orig Sat Jul 28 08:30:37 2001
++++ lib/imclient.c Sat Aug 17 16:48:58 2002
+@@ -1154,6 +1154,7 @@
+ t->result = xstrdup(user);
+ } else {
+ printf("%s: ", t->prompt);
++ fflush(stdout);
+ if (t->id == SASL_CB_PASS) {
+ char *ptr = getpass("");
+ strncpy(result, ptr, sizeof(result));