1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-24 21:01:20 +00:00

cyradm didn't show password prompt correctly.

Reported by:	Joseph Scott <joseph@randomnetworks.com>
This commit is contained in:
Hajimu UMEMOTO 2002-08-16 18:55:48 +00:00
parent b55842a961
commit 78436998f8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64586
8 changed files with 52 additions and 0 deletions

View File

@ -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/

View File

@ -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);

View File

@ -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/

View File

@ -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);

View File

@ -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/

View File

@ -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);

View File

@ -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/

View File

@ -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);