pkgsrc/mail/popa3d/patches/patch-aa
wiz 2f4fe5a2b1 Update to 1.0.2.
Drop maintainership, I'm not using this any longer.

	Changes made between 1.0.1 and 1.0.2 (2006/05/23).

A couple of optimizations specific to x86-64 have been applied to the
included MD5 routines.


	Changes made between 1.0 and 1.0.1 (2006/03/07).

Use sysconf(_SC_CLK_TCK) instead of CLK_TCK when _SC_CLK_TCK is known to
be available or CLK_TCK is not.  This is needed for portability to glibc
2.3.90+ and possibly to other recent and future systems.

Use socklen_t where appropriate.
2006-07-19 22:41:45 +00:00

53 lines
1.3 KiB
Text

$NetBSD: patch-aa,v 1.11 2006/07/19 22:41:45 wiz Exp $
--- params.h.orig 2006-03-05 12:44:52.000000000 +0000
+++ 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
/*
@@ -103,7 +103,7 @@
* 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 @@POPA3D_USER@@
/*
* An empty directory to chroot to before authentication. The directory
@@ -154,8 +154,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
#define USE_LIBPAM_USERPASS 0
@@ -208,8 +208,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.