pkgsrc/mail/procmail/Makefile
bouyer 62355b0bfa Update to 3.22.
Changes to procmail:
               - Regression bugs from 3.20:
                  - Broke compilation with K&R compilers
                  - procmail -p -m was overridding PATH
                  - maildir delivery included garbage in filenames
                  - Mismatched HOST in last rcfile didn't discard the message
                  - COMSAT wasn't turned off by an rcfile on the command line
               - Catch overly long command line variable assignments
               - If a command expansion is truncated, set PROCMAIL_OVERFLOW
                 and don't trim trailing (really middle) newlines
               - If the comsat host can't be resolved, set COMSAT to "no"
            Some fixes to the man pages
            More paranoia: start to use strlcpy()
            Generate safe temp and maildir filenames when the hostname
               contains / or : by mapping them to \ooo

I've also seen corrupted From lines (missing F) when I upgraded to 3.21.
Someone reported in the Esd-l mailing list (see
http://www.spconnect.com/pipermail/esd-l/
for archives) that 3.22 solved the problem for him.
2001-11-08 12:05:58 +00:00

47 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.26 2001/11/08 12:05:58 bouyer Exp $
#
DISTNAME= procmail-3.22
CATEGORIES= mail
MASTER_SITES= ftp://ftp.procmail.org/pub/procmail/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.procmail.org/
COMMENT= Local mail delivery agent
INSTALL_TARGET= install-suid install.man
MAKE_ENV= SHELL=/bin/sh
USE_BUILDLINK_ONLY= YES
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= PROCMAIL_MAILSPOOLHOME PROCMAIL_TRUSTED_IDS
PROCMAIL_TRUSTED_IDS?=\
"root","daemon","uucp","mail","x400","network","list","slist","lists","news",0
pre-configure:
${ECHO} "#define TRUSTED_IDS {${PROCMAIL_TRUSTED_IDS:Q}}" \
>> ${WRKSRC}/config.h
.ifdef(PROCMAIL_MAILSPOOLHOME)
${ECHO} "#define MAILSPOOLHOME \"/${PROCMAIL_MAILSPOOLHOME}\"" \
>> ${WRKSRC}/src/authenticate.h
.endif
.if ${OPSYS} == "SunOS"
do-install:
cd ${WRKSRC}/new; \
for f in procmail formail lockfile; do \
${INSTALL_PROGRAM} $$f ${LOCALBASE}/bin/$$f; \
done; \
${INSTALL_SCRIPT} mailstat ${LOCALBASE}/bin/mailstat; \
for f in procmail.1 formail.1 lockfile.1; do \
${INSTALL_MAN} $$f ${LOCALBASE}/man/man1/$$f; \
done; \
for f in procmailex.5 procmailrc.5 procmailsc.5; do \
${INSTALL_MAN} $$f ${LOCALBASE}/man/man5/$$f; \
done
${SH} ${WRKSRC}/suid.sh
.endif
.include "../../mk/bsd.pkg.mk"