summaryrefslogtreecommitdiff
path: root/mail/imap-uw/files/patch-ai
diff options
context:
space:
mode:
authorNick Sayer <nsayer@FreeBSD.org>2001-04-05 03:21:41 +0000
committerNick Sayer <nsayer@FreeBSD.org>2001-04-05 03:21:41 +0000
commit01436013af810a8cc4dba53a30394d502c2ef5e4 (patch)
tree0d2b49359d96fc63fe610173f9f8e4657a051ab3 /mail/imap-uw/files/patch-ai
parentUpgrade to 0.1017. (diff)
Mega cclient port SSL commit redux. This time with maintainer approval.
1. Add support for building cclient with SSL. Warn about the possibility that some ports may have been missed and need ssl added at link time. 2. Update cclient and imap-uw to latest versions. 3. Fix pine4 to add ssl libraries. This can be used as a model for what other ports may need to do. 4. Release MAINTAINERship (by request). Submitted by: anders@fix.no Approved by: petef@databits.net
Notes
Notes: svn path=/head/; revision=40861
Diffstat (limited to 'mail/imap-uw/files/patch-ai')
-rw-r--r--mail/imap-uw/files/patch-ai46
1 files changed, 10 insertions, 36 deletions
diff --git a/mail/imap-uw/files/patch-ai b/mail/imap-uw/files/patch-ai
index 15edac731c55..bdf728892d2c 100644
--- a/mail/imap-uw/files/patch-ai
+++ b/mail/imap-uw/files/patch-ai
@@ -1,15 +1,6 @@
---- src/imapd/imapd.c.orig Tue Jan 9 16:11:44 2001
-+++ src/imapd/imapd.c Tue Mar 27 07:16:48 2001
-@@ -17,7 +17,7 @@
- * The full text of our legal notices is contained in the file called
- * CPYRIGHT, included with this Distribution.
- */
--
-+
- /* Primary I/O calls */
-
- #define PBIN getchar /* primary byte input */
-@@ -43,6 +43,11 @@
+--- src/imapd/imapd.c.old Wed Apr 4 00:31:43 2001
++++ src/imapd/imapd.c Wed Apr 4 00:34:15 2001
+@@ -29,6 +29,11 @@
#include "c-client.h"
#include <sys/stat.h>
@@ -19,40 +10,22 @@
+#include <stdlib.h>
+#endif /* DRAC_AUTH */
- /* Timeouts and timers */
-
-@@ -66,7 +71,7 @@
- #define SELECT 1
- #define OPEN 2
- #define LOGOUT 3
--
-+
- /* Body text fetching */
+ #define CRLF PSOUT ("\015\012") /* primary output terpri */
- typedef struct text_args {
-@@ -98,7 +103,7 @@
- char *date; /* current date */
- STRING *message; /* strintstruct of message */
- } MSGDATA;
--
-+
- /* Function prototypes */
-
- int main (int argc,char *argv[]);
-@@ -181,6 +186,12 @@
+@@ -171,6 +176,12 @@
/* Global storage */
+#ifdef DRAC_AUTH
-+#define DRACTIMEOUT 10*60 /* check every 10 minutes */
-+time_t lastdrac = 0; /* time of last drac check */
++#define DRACTIMEOUT 10*60 /* check every 10 minutes */
++time_t lastdrac = 0; /* time of last drac check */
+extern char *getenv ();
+#endif /* DRAC_AUTH */
+
- char *version = "2000.287"; /* version number of this server */
+ char *version = "2001.297"; /* version number of this server */
time_t alerttime = 0; /* time of last alert */
time_t sysalerttime = 0; /* time of last system alert */
-@@ -1139,6 +1150,44 @@
+@@ -1160,6 +1171,45 @@
lasterror ());
return;
}
@@ -94,6 +67,7 @@
+ }
+ }
+#endif /* DRAC_AUTH */
++
/* change in number of messages? */
if (existsquelled || (nmsgs != stream->nmsgs)) {
PSOUT ("* ");