head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2003.03.23.12.22.15; author swiergot; state Exp; branches; next 1.1; 1.1 date 2003.03.20.17.06.00; author swiergot; state Exp; branches; next ; desc @@ 1.2 log @- Improved the slack patch (changed log facility to MAIL). @ text @diff -u Makefile.orig Makefile --- Makefile.orig 2003-03-02 04:16:40.000000000 +0100 +++ Makefile 2003-03-23 13:11:44.000000000 +0100 @@@@ -5,11 +5,11 @@@@ INSTALL = install CFLAGS = -c -Wall -O2 -fomit-frame-pointer # You may use OpenSSL's MD5 routines instead of the ones supplied here -#CFLAGS += -DHAVE_OPENSSL +CFLAGS += -DHAVE_OPENSSL LDFLAGS = -s LIBS = # Linux with glibc, FreeBSD, NetBSD -#LIBS += -lcrypt +LIBS += -lcrypt # HP-UX trusted system #LIBS += -lsec # Solaris (POP_STANDALONE, POP_VIRTUAL) @@@@ -21,10 +21,10 @@@@ # libwrap may also want this #LIBS += -lnsl # OpenSSL (-DHAVE_OPENSSL) -#LIBS += -lcrypto +LIBS += -lcrypto DESTDIR = -PREFIX = /usr/local +PREFIX = /usr SBINDIR = $(PREFIX)/sbin MANDIR = $(PREFIX)/man diff -u params.h.orig params.h --- params.h.orig 2002-09-08 11:49:24.000000000 +0200 +++ params.h 2003-03-23 13:19:23.000000000 +0100 @@@@ -13,7 +13,7 @@@@ /* * Are we going to be a standalone server or start via an inetd clone? */ -#define POP_STANDALONE 0 +#define POP_STANDALONE 1 #if POP_STANDALONE @@@@ -99,13 +99,13 @@@@ * A pseudo-user to run as before authentication. The user and its UID * must not be used for any other purpose. */ -#define POP_USER POP_SERVER +#define POP_USER "pop" /* * An empty directory to chroot to before authentication. The directory * and its parent directories must not be writable by anyone but root. */ -#define POP_CHROOT "/var/empty" +#define POP_CHROOT "/var/spool/pop" /* * Sessions will be closed if idle for longer than POP_TIMEOUT seconds. @@@@ -179,7 +179,7 @@@@ * * #undef this for qmail-style $HOME/Mailbox mailboxes. */ -#define MAIL_SPOOL_PATH "/var/mail" +#define MAIL_SPOOL_PATH "/var/spool/mail" #ifndef MAIL_SPOOL_PATH /* @@@@ -204,7 +204,7 @@@@ */ #define SYSLOG_IDENT POP_SERVER #define SYSLOG_OPTIONS LOG_PID -#define SYSLOG_FACILITY LOG_DAEMON +#define SYSLOG_FACILITY LOG_MAIL #define SYSLOG_PRI_LO LOG_INFO #define SYSLOG_PRI_HI LOG_NOTICE #define SYSLOG_PRI_ERROR LOG_CRIT @ 1.1 log @- Initial release. - Version 0.6.2. @ text @d1 3 a3 2 --- Makefile.orig 2001-10-27 18:10:49.000000000 -0700 +++ Makefile 2003-02-01 22:45:57.000000000 -0800 d31 3 a33 2 --- params.h.orig 2001-10-15 21:10:34.000000000 -0700 +++ params.h 2003-02-01 22:46:08.000000000 -0800 d59 1 a59 1 @@@@ -178,7 +178,7 @@@@ d68 9 @ .