summaryrefslogtreecommitdiff
path: root/mail/popa3d/patches/patch-aa
blob: 6ece860c816ef518afd87b0c6f26420a49a239ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
$NetBSD: patch-aa,v 1.8 2002/11/07 03:49:42 dillo Exp $

--- params.h.orig	Sun Sep  8 11:49:24 2002
+++ params.h
@@ -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
 
@@ -38,7 +38,7 @@
  * option is provided primarily as a way to meet conventions of certain
  * systems where all services obey libwrap access controls.
  */
-#define DAEMON_LIBWRAP			0
+#define DAEMON_LIBWRAP			1
 
 #if DAEMON_LIBWRAP
 /*
@@ -143,8 +143,8 @@
  *
  * Note that there's no built-in password aging support.
  */
-#define AUTH_PASSWD			0
-#define AUTH_SHADOW			1
+#define AUTH_PASSWD			1
+#define AUTH_SHADOW			0
 #define AUTH_PAM			0
 #define AUTH_PAM_USERPASS		0
 
@@ -196,8 +196,8 @@
  *
  * *BSDs use flock(2), others typically use fcntl(2).
  */
-#define LOCK_FCNTL			1
-#define LOCK_FLOCK			0
+#define LOCK_FCNTL			0
+#define LOCK_FLOCK			1
 
 /*
  * How do we talk to syslogd? These should be fine for most systems.