aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2002-08-17 19:02:40 +0800
committerume <ume@FreeBSD.org>2002-08-17 19:02:40 +0800
commitf4e8c6041b03716b6998cc35686966e17e4e7de1 (patch)
treebfd94dbf8756125747a02d1555ca6c07c3254053 /mail
parentb0edbc301b40d74e68b437419d1075c84f32d5c3 (diff)
downloadfreebsd-ports-gnome-f4e8c6041b03716b6998cc35686966e17e4e7de1.tar.gz
freebsd-ports-gnome-f4e8c6041b03716b6998cc35686966e17e4e7de1.tar.zst
freebsd-ports-gnome-f4e8c6041b03716b6998cc35686966e17e4e7de1.zip
cyradm didn't show password prompt correctly.
PR: ports/41438 Submitted by: Mark Cammidge <mark@peralex.com>
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));