1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-13 23:36:08 +00:00
freebsd-ports/mail/nmh/files/patch-aa
Steve Price a68ac6d3d3 From maintainer:
I was confused creating the most recent nmh port patch and
        reverted the locking to "dot locking" as I'd thought that sendmail
        used that.  Upon using the new 'inc' command and closer
        examination of sendmail, then mail.local, it looks like "flock"
        locking is more appropriate (to match mail.local's behavior).

PR:		15674
Submitted by:	maintainer
1999-12-25 18:57:16 +00:00

48 lines
1.4 KiB
Plaintext

--- ../../../nmh-1.0.2-DIST/acconfig.h Thu Oct 21 11:58:09 1999
+++ ./acconfig.h Fri Dec 24 13:50:12 1999
@@ -22,10 +22,10 @@
* other programs which may modify your maildrops.
* Currently you can only use one type.
*/
-#define DOT_LOCKING 1
+/* #define DOT_LOCKING 1 */
/* #define FCNTL_LOCKING 1 */
/* #define LOCKF_LOCKING 1 */
-/* #define FLOCK_LOCKING 1 */
+#define FLOCK_LOCKING 1
/*
* If you have defined DOT_LOCKING, then the default is to
@@ -104,7 +104,7 @@
* The prefix which is prepended to the name of messages when they
* are "removed" by rmm. This should typically be `,' or `#'
*/
-#define BACKUP_PREFIX ","
+#define BACKUP_PREFIX "#"
/*
* Name of link to file to which you are replying.
@@ -128,11 +128,11 @@
/* Defined for Solaris 2.x, Irix, OSF/1, HP-UX, AIX */
#undef SVR4
/* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS, Mac OS X/Rhapsody */
-#undef BSD44
+#define BSD44
/* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS, Mac OS X/Rhapsody
* -- does PicoBSD have uname? :) */
-#undef BSD42
+#define BSD42
/* Defined for SCO5 */
#undef SCO_5_STDIO
@@ -231,7 +231,7 @@
* not world writable. There are no guarantees as to the safety of doing this,
* but this #define will add some extra security checks.
*/
-#undef MAILGROUP
+#define MAILGROUP
/* Define ruserpass as _ruserpass if your libraries have a bug *
* such that it can't find ruserpass, but can find _ruserpass. */