pkgsrc/mail/deliver/patches/patch-ae
wiz 2705e5091e Initial import of deliver-2.1.14, provided by Jim Bernard in pkg/9317.
Extract from DESCR:
Deliver allows any user to write a shell script that processes all
incoming mail messages for that user.  The system administrator may
also install scripts that process all messages.
The output of a script is a list of mail addresses, files and programs
that should receive the message.  It has access to each message as it
is processed, so the action can be content dependent.  The script may
also generate automatic replies, like the "vacation" program, or pass
along a modified version of the original message.
2001-04-27 14:06:05 +00:00

26 lines
787 B
Text

$NetBSD: patch-ae,v 1.1.1.1 2001/04/27 14:06:05 wiz Exp $
--- conf/finish-os.h.orig Wed Dec 1 19:16:36 1999
+++ conf/finish-os.h Sat Jan 29 20:43:18 2000
@@ -87,8 +87,8 @@
* Validate time configuration.
*/
-#if !defined(HAS_TIMEZONE) && !defined(HAS_GETTOD) && !defined(HAS_FTIME)
-ACK! "Define either HAS_TIMEZONE, HAS_GETTOD or HAS_FTIME.";
+#if !defined(HAS_TIMEZONE) && !defined(HAS_GETTOD) && !defined(HAS_MKTIME)
+ACK! "Define one of HAS_TIMEZONE, HAS_GETTOD or HAS_MKTIME.";
#endif
/*----------------------------------------------------------------------
@@ -328,6 +328,10 @@
#define MBX_GROUP "mail"
#else
/* #define MBX_NAME "mbox" */
+#ifndef MBX_DIR
#define MBX_DIR "/usr/spool/mail"
+#endif
+#ifndef MBX_MODE
#define MBX_MODE 0600
+#endif
#endif