On Sat, May 31, 2014 at 12:48:55PM -0400, James Turner wrote:
> Attached is a new port for pop3d. Tested on amd64.

Also tested on macppc, and using in production on i386
 
> You might remember this as the daemon Sunil sent to tech@ awhile back.
> I've been running it in production with great success. It was developed
> specifically for OpenBSD in the same vein as smtpd.

> It will require a new _pop3d user/group which would be 733 at the time
> of this mailing.
> 
> For POP3S you need a server.crt and server.key file. The man page covers
> this so I didn't feel a README file was necessary, but I can add one if
> needed.
> 
> oks?

To ensure that setting CFLAGS in mk.conf doesn't break this port I think
the preprocessor directives should be set with CPPFLAGS:

--- Makefile.orig       Sat May 31 22:35:55 2014
+++ Makefile    Sat May 31 23:12:32 2014
@@ -3,7 +3,7 @@ MAN=            pop3d.8
 CFLAGS+=       -Wall -Wstrict-prototypes -Wmissing-prototypes
 CFLAGS+=       -Wmissing-declarations -Wshadow -Wpointer-arith
 CFLAGS+=       -Wcast-qual -Wsign-compare
-CFLAGS+=       -DIO_SSL
+CPPFLAGS+=     -DIO_SSL
 DEBUG=         -g
 SRCS=          pop3d.c pop3e.c session.c maildrop.c maildir.c mbox.c util.c
 SRCS+=         imsgev.c iobuf.c ioev.c

Reply via email to