mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
39b42805b7
* Fixes a recently discovered security hole. * Introduces a new port hook for nmh locking style, which defaults to flock(2). PR: 17055 Submitted by: maintainer
50 lines
1.5 KiB
Plaintext
50 lines
1.5 KiB
Plaintext
diff -ur ../../../nmh-1.0.3-DIST/acconfig.h ./acconfig.h
|
|
--- ../../../nmh-1.0.3-DIST/acconfig.h Mon Jan 24 22:13:38 2000
|
|
+++ ./acconfig.h Mon Feb 28 10:20:34 2000
|
|
@@ -22,10 +22,13 @@
|
|
* other programs which may modify your maildrops.
|
|
* Currently you can only use one type.
|
|
*/
|
|
+#if 0
|
|
+/* Patched to be specified in CFLAGS by FreeBSD port. */
|
|
#define DOT_LOCKING 1
|
|
/* #define FCNTL_LOCKING 1 */
|
|
/* #define LOCKF_LOCKING 1 */
|
|
/* #define FLOCK_LOCKING 1 */
|
|
+#endif
|
|
|
|
/*
|
|
* If you have defined DOT_LOCKING, then the default is to
|
|
@@ -104,7 +107,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 +131,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 +234,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. */
|