Upgrade to 3.22

PR:		30881
Submitted by:	Cyrille Lefevre <clefevre@citeweb.net>
This commit is contained in:
Andrey A. Chernov 2001-09-29 09:00:32 +00:00
parent bc582f8d87
commit 41b16dcb8b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48263
6 changed files with 103 additions and 13 deletions

View File

@ -6,26 +6,79 @@
#
PORTNAME= procmail
PORTVERSION= 3.21
PORTVERSION= 3.22
CATEGORIES= mail
MASTER_SITES= ftp://ftp.procmail.org/pub/procmail/ \
ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/
ftp://ftp.psg.com/pub/unix/procmail/ \
ftp://ftp.ucsb.edu/pub/mirrors/procmail/ \
ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/ \
ftp://ftp.fu-berlin.de/pub/unix/mail/procmail/ \
ftp://ftp.net.ohio-state.edu/pub/networking/mail/procmail/ \
ftp://ftp.fdt.net/pub/unix/packages/procmail/ \
ftp://ftp.tamu.edu/pub/mirrors/procmail/ \
ftp://ftp.kfki.hu/pub/packages/mail/procmail/ \
ftp://giswitch.sggw.waw.pl/pub/unix/procmail/ \
ftp://ftp.solarisguide.com/pub/procmail/ \
ftp://ftp.win.ne.jp/pub/network/mail/procmail/ \
http://www.ring.gr.jp/archives/net/mail/procmail/ \
ftp://ftp.ring.gr.jp/pub/net/mail/procmail/ \
ftp://ftp.ayamura.org/pub/procmail/ \
ftp://sunsite.cnlab-switch.ch/mirror/procmail/ \
ftp://ftp.gigabell.net/pub/procmail/ \
ftp://ftp.linja.net/pub/mirrors/procmail/ \
ftp://ftp.stealth.net/pub/mirrors/ftp.procmail.org/pub/procmail/ \
ftp://ftp.mirror.ac.uk/sites/ftp.procmail.org/pub/procmail/
MAINTAINER= ache@FreeBSD.org
INSTALL_TARGET= install-suid install.man
# Global variables
#
# It asks for list of directories to do test for file locking
# (defaults to /tmp and ".", so return should suffice in most cases).
.if !defined(PACKAGE_BUILDING) # handled in patch-aa
.if !defined(BATCH) # handled in patch-aa
IS_INTERACTIVE= yes
.endif
INSTALL_TARGET= install-suid install.man
MAN1= procmail.1 formail.1 lockfile.1
MAN5= procmailex.5 procmailrc.5 procmailsc.5
.include <bsd.port.pre.mk>
# Local variables
#
post-configure:
@${PERL} -pi -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/config.h
DOC_FILES= FAQ FEATURES HISTORY KNOWN_BUGS README
.include <bsd.port.post.mk>
SAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}
SAMPLE_FILES= 1procmailrc 1rmail 2procmailrc 2rmail 3procmailrc 3rmail \
advanced dirname forward local_procmail_lmtp.m4 mailstat
# Post-configure
#
post-configure: patch-config
patch-config:
@${PERL} -pi.fbsd -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/config.h
# Post-install
#
post-install: install-sample install-doc
install-sample:
@${MKDIR} ${SAMPLESDIR}
.for file in ${SAMPLE_FILES}
@${INSTALL_DATA} ${WRKSRC}/examples/${file} ${SAMPLESDIR}
.endfor
install-doc:
.if !defined(NOPORTSDOC)
@${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (procmail-3.21.tar.gz) = 2a0491030e7bff3292257d02a93cbe91
MD5 (procmail-3.22.tar.gz) = 1678ea99b973eb77eda4ecf6acae53f1

View File

@ -23,7 +23,7 @@
# Makefile.0 - mark, don't (re)move this, a sed script needs it
+ .if defined(PACKAGE_BUILDING)
+ .if defined(BATCH)
+ LOCKINGTEST=/tmp .
+ .else
LOCKINGTEST=__defaults__

View File

@ -38,11 +38,11 @@
is not found, maildelivery will proceed as normal to the default
system mailbox. */
! #define ETCRC "/usr/local/etc/procmailrc" /* optional global procmailrc startup
! #define ETCRC "%%PREFIX%%/etc/procmailrc" /* optional global procmailrc startup
file (will only be read if procmail
is started with no rcfile on the command line). */
! #define ETCRCS "/usr/local/etc/procmailrcs/" /* optional trusted path prefix for
! #define ETCRCS "%%PREFIX%%/etc/procmailrcs/" /* optional trusted path prefix for
rcfiles which will be executed with
the uid of the owner of the rcfile (this only happens if procmail is
called with the -m option, without variable assignments on the command

View File

@ -1,3 +1,21 @@
This is ProcMail, the ultimate incoming mail processor.
The procmail mail processing program can be used to create mail-servers,
mailing lists, sort your incoming mail into separate folders/files (real
convenient when subscribing to one or more mailing lists or for prioritising
your mail), preprocess your mail, start any programs upon mail arrival
(e.g. to generate different chimes on your workstation for different
types of mail) or selectively forward certain incoming mail automatically
to someone.
Procmail can be used:
- and installed by an unprivileged user (for himself only).
- as a drop in replacement for the local delivery agent /bin/mail
(with biff/comsat support).
- as a general mailfilter for whole groups of messages (e.g. when
called from within sendmail.cf rules).
The accompanying formail program enables you to generate autoreplies,
split up digests/mailboxes into the original messages, do some very
simple header-munging/extraction, or force mail into mail-format (with
leading From line).
WWW: http://www.procmail.org/

View File

@ -1,4 +1,23 @@
@comment $FreeBSD$
bin/procmail
bin/formail
bin/lockfile
bin/mailstat
%%PORTDOCS%%share/doc/procmail/FAQ
%%PORTDOCS%%share/doc/procmail/FEATURES
%%PORTDOCS%%share/doc/procmail/HISTORY
%%PORTDOCS%%share/doc/procmail/KNOWN_BUGS
%%PORTDOCS%%share/doc/procmail/README
share/examples/procmail/1procmailrc
share/examples/procmail/1rmail
share/examples/procmail/2procmailrc
share/examples/procmail/2rmail
share/examples/procmail/3procmailrc
share/examples/procmail/3rmail
share/examples/procmail/advanced
share/examples/procmail/dirname
share/examples/procmail/forward
share/examples/procmail/local_procmail_lmtp.m4
share/examples/procmail/mailstat
@dirrm share/examples/procmail
%%PORTDOCS%%@dirrm share/doc/procmail