diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-06-09 13:18:36 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-06-09 13:18:36 +0000 |
commit | 4964b5a9187939f62321079fb9fb976bd48004d7 (patch) | |
tree | b9891808e8175c3ab35a824744716c015bbb6a19 /mail/solidpop3d/files | |
parent | Fix a dependency. (diff) |
Initial import of solidpop3d - a yet another pop3 daemon that has flexibility
as its main goal.
PR: 18782
Submitted by: Marco Rodrigues <drkangel@snickers.org>
Notes
Notes:
svn path=/head/; revision=29444
Diffstat (limited to 'mail/solidpop3d/files')
-rw-r--r-- | mail/solidpop3d/files/patch-aa | 20 | ||||
-rw-r--r-- | mail/solidpop3d/files/patch-ab | 25 | ||||
-rw-r--r-- | mail/solidpop3d/files/patch-ac | 30 | ||||
-rw-r--r-- | mail/solidpop3d/files/patch-ad | 22 |
4 files changed, 97 insertions, 0 deletions
diff --git a/mail/solidpop3d/files/patch-aa b/mail/solidpop3d/files/patch-aa new file mode 100644 index 000000000000..896cc9d611e7 --- /dev/null +++ b/mail/solidpop3d/files/patch-aa @@ -0,0 +1,20 @@ +--- src/const.h.orig Tue Apr 18 19:04:05 2000 ++++ src/const.h Fri Jun 9 14:12:51 2000 +@@ -36,7 +36,7 @@ + #define DEFWCCOUNT 5 + + #ifdef MDMAILBOX +-#define DEFMAILDROPNAME "/var/spool/mail/%s" ++#define DEFMAILDROPNAME "/var/mail/%s" + #else + #define DEFMAILDROPNAME "Maildir" + #endif +@@ -50,7 +50,7 @@ + #define MAXMDTYPENAMELENGTH 40 + #define USERCFG ".spop3d" + #define USERBULL ".spop3d-bull" +-#define POPUSER "spop3d" ++#define POPUSER "pop" + + #define PER_SOURCE 5 + #define MAX_SESSIONS 50 diff --git a/mail/solidpop3d/files/patch-ab b/mail/solidpop3d/files/patch-ab new file mode 100644 index 000000000000..66d81dfeb5cb --- /dev/null +++ b/mail/solidpop3d/files/patch-ab @@ -0,0 +1,25 @@ +--- src/Makefile.in.orig Fri Jun 9 14:16:13 2000 ++++ src/Makefile.in Fri Jun 9 14:16:17 2000 +@@ -60,11 +60,11 @@ + + + noinst_HEADERS = apop.h authenticate.h cmds.h configfile.h const.h fdfgets.h \ +-log.h mailbox.h maildir.h maildrop.h md5.h includes.h options.h response.h \ ++log.h mailbox.h maildir.h maildrop.h includes.h options.h response.h \ + userconfig.h mapping.h spipv6.h + + +-spop3d_SOURCES = authenticate.c cmds.c log.c fdfgets.c maildrop.c main.c md5.c \ ++spop3d_SOURCES = authenticate.c cmds.c log.c fdfgets.c maildrop.c main.c \ + memops.c options.c response.c vsnprintf.c + + +@@ -95,7 +95,7 @@ + LIBS = @LIBS@ + pop_auth_OBJECTS = pop_auth.o fdfgets.o vsnprintf.o + spop3d_OBJECTS = authenticate.o cmds.o log.o fdfgets.o maildrop.o main.o \ +-md5.o memops.o options.o response.o vsnprintf.o ++memops.o options.o response.o vsnprintf.o + CFLAGS = @CFLAGS@ + COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CFLAGS) + CCLD = $(CC) diff --git a/mail/solidpop3d/files/patch-ac b/mail/solidpop3d/files/patch-ac new file mode 100644 index 000000000000..bf6a0e3cf7ef --- /dev/null +++ b/mail/solidpop3d/files/patch-ac @@ -0,0 +1,30 @@ +--- src/mailbox.c.orig Sat May 13 16:18:33 2000 ++++ src/mailbox.c Fri Jun 9 14:56:54 2000 +@@ -45,6 +45,9 @@ + #endif + #endif + ++#define md5_finish_ctx(ctx, dig) MD5Final((unsigned char *)dig, ctx) ++#define md5_init_ctx(ctx) MD5Init(ctx) ++#define md5_process_bytes(buf, len, ctx) MD5Update (ctx, (unsigned char *)buf, len) + + extern void check_wccount(void); + extern char maildrop_name[]; +@@ -207,7 +210,7 @@ + char linebuf[128]; + char msgdate[21]; + struct mb_message *mbspecific; +- struct md5_ctx context; ++ MD5_CTX context; + int header = 1, fixed = 0, newline = 1; + + if (mailboxfd < 0) { +@@ -342,7 +345,7 @@ + off_t act_ofs = 0; + char msgdate[21]; + struct mb_message *tmp; +- struct md5_ctx context; ++ MD5_CTX context; + int tmpmsgnr = 0; + time_t tmpmsg_time; + off_t tmpfrom_where = 0, tmpwhere = 0; diff --git a/mail/solidpop3d/files/patch-ad b/mail/solidpop3d/files/patch-ad new file mode 100644 index 000000000000..ac23c303e8f5 --- /dev/null +++ b/mail/solidpop3d/files/patch-ad @@ -0,0 +1,22 @@ +--- src/maildir.c.orig Sat May 13 16:18:35 2000 ++++ src/maildir.c Fri Jun 9 14:57:07 2000 +@@ -59,6 +59,10 @@ + #endif + #endif + ++#define md5_finish_ctx(ctx, dig) MD5Final((unsigned char *)dig, ctx) ++#define md5_init_ctx(ctx) MD5Init(ctx) ++#define md5_process_bytes(buf, len, ctx) MD5Update (ctx, (unsigned char *)buf, len) ++ + extern void check_wccount(void); + + extern char maildrop_name[]; +@@ -650,7 +654,7 @@ + char *mdir_md5_uidl_message(unsigned int number, char *result) { + size_t length; + char *tmp2, *tmp3; +- struct md5_ctx context; ++ MD5_CTX context; + + md5_init_ctx(&context); + tmp2 = ((struct mdir_message *) (messages[number].md_specific))->filename; |