Add a patch for correct maildir delivery from krw@ and an lmtp flavor
from jakob@.
This commit is contained in:
parent
85b611ecbd
commit
249032938e
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.21 2001/07/06 00:13:51 rohee Exp $
|
||||
# $OpenBSD: Makefile,v 1.22 2001/07/26 21:37:31 rohee Exp $
|
||||
|
||||
COMMENT= "filtering local mail delivery agent"
|
||||
|
||||
@ -29,6 +29,13 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
FLAVORS= lmtp
|
||||
FLAVOR?=
|
||||
|
||||
.if ${FLAVOR:L:Mlmtp}
|
||||
CFLAGS+= -DLMTP
|
||||
.endif
|
||||
|
||||
MAKE_FLAGS= BASENAME="${PREFIX}" CFLAGS0="${CFLAGS}" LOCKINGTEST="110"
|
||||
|
||||
do-install:
|
||||
|
15
mail/procmail/patches/patch-exopen_c
Normal file
15
mail/procmail/patches/patch-exopen_c
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-exopen_c,v 1.1 2001/07/26 21:37:31 rohee Exp $
|
||||
|
||||
In case of maildir format delivery, actually deliver in the right directory.
|
||||
|
||||
--- src/exopen.c.orig Thu Jul 26 23:28:10 2001
|
||||
+++ src/exopen.c Thu Jul 26 23:28:59 2001
|
||||
@@ -47,7 +47,7 @@ in: if(flags&doMAILDIR)
|
||||
ultstr(0,(long)thepid,dot+1);
|
||||
*(dot=strchr(p,'\0'))='_';
|
||||
*(++dot+1)='.';
|
||||
- strlcat(dot+2,hostname(),end-dot);
|
||||
+ strlcpy(dot+2,hostname(),end-dot-2);
|
||||
}
|
||||
else
|
||||
{ p=ultoan((long)t,dot+1);
|
Loading…
Reference in New Issue
Block a user