aboutsummaryrefslogtreecommitdiffstats
path: root/mail/cyrus-imapd22
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2002-08-17 02:55:48 +0800
committerume <ume@FreeBSD.org>2002-08-17 02:55:48 +0800
commit4fd77fb14f53a1b32b9bd70cb09a678512dd895c (patch)
treef3f8d07e66e10a9a2ac1c084d35662c947859acd /mail/cyrus-imapd22
parentf8870c0613d13973b16422d10cbc74f202dba335 (diff)
downloadfreebsd-ports-gnome-4fd77fb14f53a1b32b9bd70cb09a678512dd895c.tar.gz
freebsd-ports-gnome-4fd77fb14f53a1b32b9bd70cb09a678512dd895c.tar.zst
freebsd-ports-gnome-4fd77fb14f53a1b32b9bd70cb09a678512dd895c.zip
cyradm didn't show password prompt correctly.
Reported by: Joseph Scott <joseph@randomnetworks.com>
Diffstat (limited to 'mail/cyrus-imapd22')
-rw-r--r--mail/cyrus-imapd22/Makefile1
-rw-r--r--mail/cyrus-imapd22/files/patch-perl::imap::IMAP.xs12
2 files changed, 13 insertions, 0 deletions
diff --git a/mail/cyrus-imapd22/Makefile b/mail/cyrus-imapd22/Makefile
index aee2af81b283..dddb3984c423 100644
--- a/mail/cyrus-imapd22/Makefile
+++ b/mail/cyrus-imapd22/Makefile
@@ -7,6 +7,7 @@
PORTNAME= cyrus-imapd
PORTVERSION= 2.1.5
+PORTREVISION= 1
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-imapd22/files/patch-perl::imap::IMAP.xs b/mail/cyrus-imapd22/files/patch-perl::imap::IMAP.xs
new file mode 100644
index 000000000000..9e93043123d3
--- /dev/null
+++ b/mail/cyrus-imapd22/files/patch-perl::imap::IMAP.xs
@@ -0,0 +1,12 @@
+Index: perl/imap/IMAP.xs
+diff -u perl/imap/IMAP.xs.orig perl/imap/IMAP.xs
+--- perl/imap/IMAP.xs.orig Sun May 26 04:57:49 2002
++++ perl/imap/IMAP.xs Sat Aug 17 03:47:36 2002
+@@ -194,6 +194,7 @@
+ if(!text->password) {
+ char *ptr;
+ printf("Password: ");
++ fflush(stdout);
+ ptr = getpass("");
+ text->password = safemalloc(sizeof(sasl_secret_t) + strlen(ptr));
+ text->password->len = strlen(ptr);