summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2000-11-12 03:56:30 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2000-11-12 03:56:30 +0000
commit7ef83fad1b143c61ee2a80ff0e458ac4e8314666 (patch)
tree263d6a572fe6fdaafda0e1fd4e1b101f2923c368
parentUpgrade to 3.26. (diff)
Enable some feture by default.
Notes
Notes: svn path=/head/; revision=35035
-rw-r--r--mail/solidpop3d/Makefile11
-rw-r--r--mail/solidpop3d/files/patch-aa4
-rw-r--r--mail/solidpop3d/files/patch-ab12
-rw-r--r--mail/solidpop3d/files/patch-ac4
-rw-r--r--mail/solidpop3d/files/patch-ad4
-rw-r--r--mail/solidpop3d/files/patch-src_apop.c19
6 files changed, 44 insertions, 10 deletions
diff --git a/mail/solidpop3d/Makefile b/mail/solidpop3d/Makefile
index 302f9d2f1c83..f585bcd693dc 100644
--- a/mail/solidpop3d/Makefile
+++ b/mail/solidpop3d/Makefile
@@ -15,8 +15,16 @@ DISTNAME= solid-pop3d-${PORTVERSION}
MAINTAINER= drkangel@drkangel.org
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-pam --enable-apop --enable-bulletins \
+ --enable-last --enable-mapping --enable-nonip --enable-connect
CONFIGURE_ENV= LDFLAGS="-lmd"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 400014
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
+
MAN1= pop_auth.1
MAN5= spop3d.conf.5 dot-spop3d.5
MAN8= spop3d.8
@@ -31,5 +39,6 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/man/dot-spop3d.5 ${PREFIX}/man/man5
${INSTALL_MAN} ${WRKSRC}/man/spop3d.8 ${PREFIX}/man/man8
${INSTALL_DATA} ${WRKSRC}/doc/config.example ${PREFIX}/etc/spop3d.conf.sample
+ ${MKDIR} /var/spool/spop3d
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/mail/solidpop3d/files/patch-aa b/mail/solidpop3d/files/patch-aa
index 896cc9d611e7..5636763ad2f1 100644
--- a/mail/solidpop3d/files/patch-aa
+++ b/mail/solidpop3d/files/patch-aa
@@ -1,5 +1,5 @@
---- src/const.h.orig Tue Apr 18 19:04:05 2000
-+++ src/const.h Fri Jun 9 14:12:51 2000
+--- src/const.h.orig Wed Apr 19 00:04:05 2000
++++ src/const.h Tue Nov 7 08:59:40 2000
@@ -36,7 +36,7 @@
#define DEFWCCOUNT 5
diff --git a/mail/solidpop3d/files/patch-ab b/mail/solidpop3d/files/patch-ab
index 66d81dfeb5cb..3b8faf4312ff 100644
--- a/mail/solidpop3d/files/patch-ab
+++ b/mail/solidpop3d/files/patch-ab
@@ -1,5 +1,5 @@
---- src/Makefile.in.orig Fri Jun 9 14:16:13 2000
-+++ src/Makefile.in Fri Jun 9 14:16:17 2000
+--- src/Makefile.in.orig Fri Apr 21 04:55:44 2000
++++ src/Makefile.in Tue Nov 7 09:18:04 2000
@@ -60,11 +60,11 @@
@@ -14,7 +14,13 @@
memops.c options.c response.c vsnprintf.c
-@@ -95,7 +95,7 @@
+@@ -90,12 +90,12 @@
+
+
+ DEFS = @DEFS@ -DDEFCONFIGFILENAME=\"$(sysconfdir)/spop3d.conf\" \
+--DBULLDIR=\"$(localstatedir)/bulletins/\" -I. -I$(srcdir) -I..
++-DBULLDIR=\"/var/spool/spop3d\" -I. -I$(srcdir) -I..
+ LDFLAGS = @LDFLAGS@
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 \
diff --git a/mail/solidpop3d/files/patch-ac b/mail/solidpop3d/files/patch-ac
index bf6a0e3cf7ef..5bb51164fc2d 100644
--- a/mail/solidpop3d/files/patch-ac
+++ b/mail/solidpop3d/files/patch-ac
@@ -1,5 +1,5 @@
---- src/mailbox.c.orig Sat May 13 16:18:33 2000
-+++ src/mailbox.c Fri Jun 9 14:56:54 2000
+--- src/mailbox.c.orig Sat May 13 21:18:33 2000
++++ src/mailbox.c Tue Nov 7 08:59:40 2000
@@ -45,6 +45,9 @@
#endif
#endif
diff --git a/mail/solidpop3d/files/patch-ad b/mail/solidpop3d/files/patch-ad
index ac23c303e8f5..2816732e5e3d 100644
--- a/mail/solidpop3d/files/patch-ad
+++ b/mail/solidpop3d/files/patch-ad
@@ -1,5 +1,5 @@
---- src/maildir.c.orig Sat May 13 16:18:35 2000
-+++ src/maildir.c Fri Jun 9 14:57:07 2000
+--- src/maildir.c.orig Sat May 13 21:18:35 2000
++++ src/maildir.c Tue Nov 7 08:59:40 2000
@@ -59,6 +59,10 @@
#endif
#endif
diff --git a/mail/solidpop3d/files/patch-src_apop.c b/mail/solidpop3d/files/patch-src_apop.c
new file mode 100644
index 000000000000..1e1a2b5fdc41
--- /dev/null
+++ b/mail/solidpop3d/files/patch-src_apop.c
@@ -0,0 +1,19 @@
+--- src/apop.c.orig Tue Nov 7 09:00:11 2000
++++ src/apop.c Tue Nov 7 09:02:38 2000
+@@ -26,11 +26,15 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+
++#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 char apop_secret[];
+
+ int apop_authenticate(char *username, char *apoptimestamp, char *udigest) {
+ char adigest[16], digest[16];
+- struct md5_ctx context;
++ MD5_CTX context;
+ int tmp;
+
+ for (tmp = 0; tmp < 16; tmp++) {