diff options
author | frueauf <frueauf@pkgsrc.org> | 1998-07-09 11:18:53 +0000 |
---|---|---|
committer | frueauf <frueauf@pkgsrc.org> | 1998-07-09 11:18:53 +0000 |
commit | 4e6f6f7a0f67f08f52d4e90a0f8104f4dd9bd83c (patch) | |
tree | a02b095746bce977d552841306f247822cb6eb47 /mail/procmail | |
parent | 71a9dbbd6abc29134a457ac4f173f281824a51cb (diff) | |
download | pkgsrc-4e6f6f7a0f67f08f52d4e90a0f8104f4dd9bd83c.tar.gz |
Adjust manpages to reflect where procmail expects the system wide
procmailrcs.
Diffstat (limited to 'mail/procmail')
-rw-r--r-- | mail/procmail/Makefile | 6 | ||||
-rw-r--r-- | mail/procmail/patches/patch-ae | 29 |
2 files changed, 34 insertions, 1 deletions
diff --git a/mail/procmail/Makefile b/mail/procmail/Makefile index 6bcef455da9..f36a0571af4 100644 --- a/mail/procmail/Makefile +++ b/mail/procmail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 1998/07/03 14:57:05 frueauf Exp $ +# $NetBSD: Makefile,v 1.9 1998/07/09 11:18:53 frueauf Exp $ # FreeBSD Id: Makefile,v 1.24 1997/05/14 14:40:34 ache Exp # @@ -15,5 +15,9 @@ post-patch: ${MV} ${WRKSRC}/config.h ${WRKSRC}/config.h-orig ${SED} -e 's|@LOCALBASE@|${LOCALBASE}|g' < ${WRKSRC}/config.h-orig \ > ${WRKSRC}/config.h + ${MV} ${WRKSRC}/man/procmail.man ${WRKSRC}/man/procmail.man-orig + ${SED} -e 's|@LOCALBASE@|${LOCALBASE}|g' \ + < ${WRKSRC}/man/procmail.man-orig \ + > ${WRKSRC}/man/procmail.man .include "../../mk/bsd.pkg.mk" diff --git a/mail/procmail/patches/patch-ae b/mail/procmail/patches/patch-ae new file mode 100644 index 00000000000..5526419e5ac --- /dev/null +++ b/mail/procmail/patches/patch-ae @@ -0,0 +1,29 @@ +--- man/procmail.man-orig Fri Apr 11 12:28:59 1997 ++++ man/procmail.man Thu Jul 9 13:04:00 1998 +@@ -215,11 +215,11 @@ + to continue the rule, and the tab to separate the comments): + .Sx 4 + R$*<@some.where>$* +- $#procmail $@/etc/procmailrcs/some.rc $:$1@some.where.procmail$2 ++ $#procmail $@@LOCALBASE@/etc/procmailrcs/some.rc $:$1@some.where.procmail$2 + R$*<@$*.procmail>$* + $1<@$2>$3 Already filtered, map back + .Ex +-And /etc/procmailrcs/some.rc could be as simple as: ++And @LOCALBASE@/etc/procmailrcs/some.rc could be as simple as: + .Sx 6 + :0 # sink all junk mail + * ^Subject:.*junk +@@ -228,9 +228,9 @@ + :0 # pass along all other mail + ! \-oi \-f "$@" + .Ex +-Do watch out when sending mail from within the /etc/procmailrcs/some.rc file, +-if you send mail to addresses which match the first rule again, you could +-be creating an endless mail loop. ++Do watch out when sending mail from within the ++@LOCALBASE@/etc/procmailrcs/some.rc file, if you send mail to addresses which ++match the first rule again, you could be creating an endless mail loop. + .SH FILES + .TP 2.3i + .B /etc/passwd |