Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2001 02:08:18 +0200 (CEST)
From:      Cyrille Lefevre <clefevre@citeweb.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        ache@freebsd.org
Subject:   ports/30881: Updated port: mail/procmail - 3.22
Message-ID:  <200109280008.f8S08It81149@gits.dyndns.org>

next in thread | raw e-mail | index | archive | help

>Number:         30881
>Category:       ports
>Synopsis:       Updated port: mail/procmail - 3.22
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 27 17:10:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Cyrille Lefevre
>Release:        FreeBSD 4.4-RC i386
>Organization:
ACME
>Environment:
System: FreeBSD gits 4.4-RC FreeBSD 4.4-RC #7: Thu Sep 20 12:40:17 CEST 2001 root@gits:/disk2/4.x-stable/src/sys/compile/CUSTOM i386

>Description:
	Makefile
		PORTVERSION bumped
		MASTER_SITES updated
		PACKAGE_BUILDING replaced w/ BATCH
		post configure changed a lot
		post installation of sample and docs added
	distinfo
		updated
	pkg-descr
		extracted from the readme file
	pkg-plist
		@comment $FreeBSD$ added
		docs and samples added
	files/patch-aa
		PACKAGE_BUILDING replaced w/ BATCH
	files/patch-ab
		/usr/local replaced w/ %%PREFIX%% as most port does
>How-To-Repeat:
	n/a
>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/procmail/Makefile,v
retrieving revision 1.39
diff -u -r1.39 Makefile
--- Makefile	2001/06/30 08:00:58	1.39
+++ Makefile	2001/09/27 23:55:13
@@ -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
+
+# Local variables
+#
+
+DOC_FILES=	FAQ FEATURES HISTORY KNOWN_BUGS README
+
+SAMPLESDIR=	${PREFIX}/share/examples/${PORTNAME}
+SAMPLE_FILES=	1procmailrc 1rmail 2procmailrc 2rmail 3procmailrc 3rmail \
+		advanced dirname forward local_procmail_lmtp.m4 mailstat
 
-.include <bsd.port.pre.mk>
+# Post-configure
+#
 
-post-configure:
-	@${PERL} -pi -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/config.h
+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.post.mk>
+.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/mail/procmail/distinfo,v
retrieving revision 1.12
diff -u -r1.12 distinfo
--- distinfo	2001/06/30 08:00:58	1.12
+++ distinfo	2001/09/27 23:29:11
@@ -1 +1 @@
-MD5 (procmail-3.21.tar.gz) = 2a0491030e7bff3292257d02a93cbe91
+MD5 (procmail-3.22.tar.gz) = 1678ea99b973eb77eda4ecf6acae53f1
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/mail/procmail/pkg-descr,v
retrieving revision 1.3
diff -u -r1.3 pkg-descr
--- pkg-descr	1999/12/29 15:36:01	1.3
+++ pkg-descr	2001/09/27 23:28:35
@@ -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/
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/mail/procmail/pkg-plist,v
retrieving revision 1.5
diff -u -r1.5 pkg-plist
--- pkg-plist	1999/03/07 18:04:01	1.5
+++ pkg-plist	2001/09/27 23:58:07
@@ -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
Index: files/patch-aa
===================================================================
RCS file: /home/ncvs/ports/mail/procmail/files/patch-aa,v
retrieving revision 1.10
diff -u -r1.10 patch-aa
--- files/patch-aa	1997/05/14 14:40:41	1.10
+++ files/patch-aa	2001/09/27 23:49:13
@@ -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__
Index: files/patch-ab
===================================================================
RCS file: /home/ncvs/ports/mail/procmail/files/patch-ab,v
retrieving revision 1.2
diff -u -r1.2 patch-ab
--- files/patch-ab	1998/04/22 02:10:19	1.2
+++ files/patch-ab	2001/09/27 23:49:30
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109280008.f8S08It81149>