blob: 1873dce330c6550c8760ba1b184b872e42857d5c (
plain)
1 diff -Nru popa3d-1.0.1.orig/Makefile popa3d-1.0.1/Makefile
2 --- popa3d-1.0.1.orig/Makefile 2006-03-12 11:39:29.000000000 +0100
3 +++ popa3d-1.0.1/Makefile 2006-03-12 11:39:40.000000000 +0100
4 @@ -3,13 +3,13 @@
5 RM = rm -f
6 MKDIR = mkdir -p
7 INSTALL = install -c
8 -CFLAGS = -Wall -O2 -fomit-frame-pointer
9 +CFLAGS += -Wall -fomit-frame-pointer
10 # You may use OpenSSL's MD5 routines instead of the ones supplied here
11 #CFLAGS += -DHAVE_OPENSSL
12 LDFLAGS = -s
13 LIBS =
14 # Linux with glibc, FreeBSD, NetBSD
15 -#LIBS += -lcrypt
16 +LIBS += -lcrypt
17 # HP-UX trusted system
18 #LIBS += -lsec
19 # Solaris (POP_STANDALONE, POP_VIRTUAL)
20 @@ -24,7 +24,7 @@
21 #LIBS += -lcrypto
22
23 DESTDIR =
24 -PREFIX = /usr/local
25 +PREFIX = /usr
26 SBINDIR = $(PREFIX)/sbin
27 MANDIR = $(PREFIX)/man
28
29 diff -Nru popa3d-1.0.1.orig/params.h popa3d-1.0.1/params.h
30 --- popa3d-1.0.1.orig/params.h 2006-03-12 11:39:29.000000000 +0100
31 +++ popa3d-1.0.1/params.h 2006-03-12 11:39:40.000000000 +0100
32 @@ -13,7 +13,7 @@
33 /*
34 * Are we going to be a standalone server or start via an inetd clone?
35 */
36 -#define POP_STANDALONE 0
37 +#define POP_STANDALONE 1
38
39 #if POP_STANDALONE
40
41 @@ -103,7 +103,7 @@
42 * A pseudo-user to run as before authentication. The user and its UID
43 * must not be used for any other purpose.
44 */
45 -#define POP_USER POP_SERVER
46 +#define POP_USER "mail"
47
48 /*
49 * An empty directory to chroot to before authentication. The directory
50 @@ -191,7 +191,7 @@
51 *
52 * #undef this for qmail-style $HOME/Mailbox mailboxes.
53 */
54 -#define MAIL_SPOOL_PATH "/var/mail"
55 +#define MAIL_SPOOL_PATH "/var/spool/mail"
56
57 #ifndef MAIL_SPOOL_PATH
58 /*
59 @@ -216,7 +216,7 @@
60 */
61 #define SYSLOG_IDENT POP_SERVER
62 #define SYSLOG_OPTIONS LOG_PID
63 -#define SYSLOG_FACILITY LOG_DAEMON
64 +#define SYSLOG_FACILITY LOG_MAIL
65 #define SYSLOG_PRI_LO LOG_INFO
66 #define SYSLOG_PRI_HI LOG_NOTICE
67 #define SYSLOG_PRI_ERROR LOG_CRIT
|