summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2004-06-03 07:23:54 +0000
committerSeemant Kulleen <seemant@gentoo.org>2004-06-03 07:23:54 +0000
commitf8bb9cbb7949c03584da5f39b823d3e2afc2cf09 (patch)
tree050494448216a12274e3c57f807e379665d4010f /mail-filter
parentMoving to mail-filter/procmail (diff)
downloadhistorical-f8bb9cbb7949c03584da5f39b823d3e2afc2cf09.tar.gz
historical-f8bb9cbb7949c03584da5f39b823d3e2afc2cf09.tar.bz2
historical-f8bb9cbb7949c03584da5f39b823d3e2afc2cf09.zip
Moved from net-mail/procmail to mail-filter/procmail.
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/procmail/ChangeLog129
-rw-r--r--mail-filter/procmail/Manifest5
-rw-r--r--mail-filter/procmail/files/digest-procmail-3.22-r61
-rw-r--r--mail-filter/procmail/files/gentoo-maildir2.diff20
-rw-r--r--mail-filter/procmail/metadata.xml5
-rw-r--r--mail-filter/procmail/procmail-3.22-r6.ebuild67
6 files changed, 227 insertions, 0 deletions
diff --git a/mail-filter/procmail/ChangeLog b/mail-filter/procmail/ChangeLog
new file mode 100644
index 000000000000..c7446faaa43c
--- /dev/null
+++ b/mail-filter/procmail/ChangeLog
@@ -0,0 +1,129 @@
+# ChangeLog for net-mail/procmail
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/procmail/ChangeLog,v 1.1 2004/06/03 07:23:54 seemant Exp $
+
+*procmail-3.22-r6 (03 Jun 2004)
+
+ 03 Jun 2004; Seemant Kulleen <seemant@gentoo.org> +metadata.xml,
+ +files/gentoo-maildir2.diff, +procmail-3.22-r6.ebuild:
+ Moved from net-mail/procmail to mail-filter/procmail.
+
+ 11 May 2004; Michael McCabe <randy@gentoo.org> procmail-3.22-r6.ebuild:
+ Added s390 keywords
+
+ 29 Jan 2004; Stewart <blkdeath@gentoo.org> procmail-3.22-r6.ebuild:
+ Re: Bug #39793 - reset insopts to 0644 for man pages, docs, config files
+
+ 19 Jan 2004; <tuxus@gentoo.org> procmail-3.22-r6.ebuild:
+ Added ~mips to KEYWORDS.
+
+ 05 Jan 2004; Robin H. Johnson <robbat2@gentoo.org> procmail-3.22-r5.ebuild,
+ procmail-3.22-r6.ebuild:
+ fix copyright headers, fix bug #35949 properly as opposed to the old broken
+ -O2 fix.
+
+*procmail-3.22-r6 (21 Jun 2003)
+
+ 21 Jun 2003; Brandon Low <lostlogic@gentoo.org> procmail-3.22-r6.ebuild:
+ Fix USE=maildir
+
+ 05 Feb 2003; Aron Griffis <agriffis@gentoo.org> procmail-3.22-r5.ebuild :
+ Mark stable on alpha
+
+*procmail-3.22-r5 (28 Oct 2002)
+
+ 17 Jun 2003; Guy Martin <gmsoft@gentoo.org> procmail-3.22-r5.ebuild :
+ Added hppa to KEYWORDS.
+
+ 05 Apr 2003; Zach Welch <zwelch@gentoo.org> procmail-3.22-r5.ebuild:
+ add arm keyword
+
+ 22 Dec 2002; Christian Birchinger <joker@gentoo.org> :
+ Removed sparc64 keyword.
+
+ 28 Oct 2002; Grant Goodyear <g2boojum@gentoo.org> procmail-3.22-r5.ebuild :
+
+ It seems that _both_ the /etc/procmailrc entry and the patch are required
+ for procmail to deliver to ${HOME}/.maildir properly. At least, w/o the
+ /etc/procmailrc entry my mail was being delivered to ~/.maildir but not
+ in maildir form (meaning messages were dumped into ~/.maildir instead of
+ ~/.maildir/new. So, I restored the creation of /etc/procmailrc.
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+ 09 Dec 2002; Jon Portnoy <avenj@gentoo.org> procmail-3.22-r5.ebuild :
+
+ Updated ebuild to respect icc USE flag, no revision bump necessary.
+
+ 10 Dec 2002; Jon Portnoy <avenj@gentoo.org> procmail-3.22-r5.ebuild :
+
+ Revert USE to prevent a dependency blockage.
+
+ 14 Dec 2002; Aron Griffis <agriffis@gentoo.org> procmail-3.22-r5.ebuild :
+
+ Added ~alpha to KEYWORDS
+
+*procmail-3.22-r4 (5 Sep 2002)
+
+ 5 Sep 2002; Jared H. Hudson <jhhudso@gentoo.org> procmail-3.22-r4.ebuild :
+
+ Added PROVIDE of virtual/mda. Thanks goes to Eric Renfro
+ <psi-jack@myrealbox.com> in reference to bug #6806.
+
+*procmail-3.22-r3 (26 Jul 2002)
+
+ 3 Aug 2002; Calum Selkirk <cselkirk@gentoo.org> procmail-3.22-r3.ebuild
+ procmail-3.22-r2.ebuild files/gentoo-maildir.diff digest-procmail-3.22-r3 :
+
+ Add ppc to KEYWORDS (procmail-3.22-r2.ebuild).
+ Changed from *.patch to *.diff
+ Seems i neglected to cvs add the diff.
+
+ 26 Jul 2002; Calum Selkirk <cselkirk@gentoo.org> procmail-3.22-r3.ebuild
+ files/gentoo-maildir.patch digest-procmail-3.22-r3 :
+
+ Added patch to remove MAILSPOOLDIR and define MAILSPOOLHOME when
+ we are delivering to Maildir style mailboxes (USE="maildir"). The
+ /etc/procmailrc soultion (below) doesn't seem to work, procmail still
+ attempts to deliver to /var/spool/mail (see bug #5630).
+ Added ppc to KEYWORDS
+ Added RDEPEND
+
+*procmail-3.22-r2 (16 Jul 2002)
+
+ 26 Jul 2002; Calum Selkirk <cselkirk@gentoo.org> procmail-3.22-r2.ebuild :
+
+ Added ppc to KEYWORDS
+ Added RDEPEND
+ Fixed Copyright year .. s/2000/2002
+ Fixed illegal space characters
+
+ 16 Jul 2002; Nick Hadaway <raker@gentoo.org> procmail-3.22-r2.ebuild :
+
+ Updated sed statement to include a "-O2" so procmail doesn't barf
+ on the strstr() tests.
+
+*procmail-3.22-r2 (18 Jun 2002)
+
+ 18 Jun 2002; Grant Goodyear <g2boojum@gentoo.org> ChangeLog :
+
+ Thanks to Jose Fonseca procmail now uses /etc/procmailrc to determine the
+ default mailbox instead of patching the source.
+
+*procmail-3.22-r1 (1 Feb 2002)
+
+ 3 May 2002; J.Hudson <jhhudso@gentoo.org> procmail-3.22-r1.ebuild :
+
+ Added mbox use item to ebuild. When used, procmail will not change
+ the location of mail spool to a maildir style location. Instead, it
+ will use the /var/spool/mail/* default.
+
+*procmail-3.22 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/mail-filter/procmail/Manifest b/mail-filter/procmail/Manifest
new file mode 100644
index 000000000000..c2273cb60ad3
--- /dev/null
+++ b/mail-filter/procmail/Manifest
@@ -0,0 +1,5 @@
+MD5 fe03fa01dce9e1be52fc5458b1c7ad66 ChangeLog 4525
+MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
+MD5 78faa474c91be2f263342d480c57fa5d procmail-3.22-r6.ebuild 1771
+MD5 3b583fb1759a67d82e1f304ea40c2859 files/digest-procmail-3.22-r6 65
+MD5 280e86cd3850b13629b0beee3c2c5522 files/gentoo-maildir2.diff 797
diff --git a/mail-filter/procmail/files/digest-procmail-3.22-r6 b/mail-filter/procmail/files/digest-procmail-3.22-r6
new file mode 100644
index 000000000000..d14b9662a1d7
--- /dev/null
+++ b/mail-filter/procmail/files/digest-procmail-3.22-r6
@@ -0,0 +1 @@
+MD5 1678ea99b973eb77eda4ecf6acae53f1 procmail-3.22.tar.gz 226817
diff --git a/mail-filter/procmail/files/gentoo-maildir2.diff b/mail-filter/procmail/files/gentoo-maildir2.diff
new file mode 100644
index 000000000000..e3b6e75600a0
--- /dev/null
+++ b/mail-filter/procmail/files/gentoo-maildir2.diff
@@ -0,0 +1,20 @@
+--- procmail-3.22/src/authenticate.c.orig 2002-07-26 20:38:52.000000000 -0400
++++ procmail-3.22/src/authenticate.c 2002-07-26 20:57:56.000000000 -0400
+@@ -39,7 +39,7 @@
+ #include "authenticate.h"
+
+ #ifndef MAILSPOOLDIR
+-#define MAILSPOOLDIR "/var/spool/mail/" /* watch the trailing / */
++#define MAILSPOOLDIR "" /* watch the trailing / */
+ #endif
+ #ifndef MAILSPOOLSUFFIX
+ #define MAILSPOOLSUFFIX "" /* suffix to force maildir or MH style */
+@@ -47,7 +47,7 @@
+ #ifndef MAILSPOOLHASH
+ #define MAILSPOOLHASH 0 /* 2 would deliver to /var/spool/mail/b/a/bar */
+ #endif
+-/*#define MAILSPOOLHOME "/.mail" /* watch the leading / */
++#define MAILSPOOLHOME "/.maildir/" /* watch the leading / */
+ /* delivers to $HOME/.mail */
+ #define STRLEN(x) (sizeof(x)-1)
+
diff --git a/mail-filter/procmail/metadata.xml b/mail-filter/procmail/metadata.xml
new file mode 100644
index 000000000000..51f94e3fbe0e
--- /dev/null
+++ b/mail-filter/procmail/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-mail</herd>
+</pkgmetadata>
diff --git a/mail-filter/procmail/procmail-3.22-r6.ebuild b/mail-filter/procmail/procmail-3.22-r6.ebuild
new file mode 100644
index 000000000000..e6ce638472e8
--- /dev/null
+++ b/mail-filter/procmail/procmail-3.22-r6.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/procmail/procmail-3.22-r6.ebuild,v 1.1 2004/06/03 07:23:54 seemant Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Mail delivery agent/filter"
+SRC_URI="http://www.procmail.org/${P}.tar.gz"
+HOMEPAGE="http://www.procmail.org/"
+IUSE=""
+DEPEND="virtual/glibc
+ virtual/mta"
+RDEPEND="virtual/glibc"
+PROVIDE="virtual/mda"
+SLOT="0"
+LICENSE="Artistic | GPL-2"
+KEYWORDS="x86 ppc sparc alpha hppa amd64 ia64 ~mips s390"
+
+src_compile() {
+
+# With gcc-3.1 and newer, there is a bug with aggressive optimization caused by
+# -finline-functions (implied by -O3) that leaves strstr() is an infinite loop.
+# To work around this, we append -fno-inline-functions to CFLAGS disable just
+# that optimization and avoid the bug.
+ CFLAGS="${CFLAGS} -fno-inline-functions"
+ sed -e "s:CFLAGS0 = -O:CFLAGS0 = ${CFLAGS}:" \
+ -e "s:LOCKINGTEST=__defaults__:#LOCKINGTEST=__defaults__:" \
+ -e "s:#LOCKINGTEST=/tmp:LOCKINGTEST=/tmp:" \
+ -i Makefile
+
+ if [ -z "`use mbox`" ];
+ then
+ echo "# Use maildir-style mailbox in user's home directory" > ${S}/procmailrc
+ echo 'DEFAULT=$HOME/.maildir/' >> ${S}/procmailrc
+ cd ${S}
+ patch -p1 <${FILESDIR}/gentoo-maildir2.diff
+ else
+ echo '# Use mbox-style mailbox in /var/spool/mail' > ${S}/procmail
+ echo 'DEFAULT=/var/spool/mail/$LOGNAME' >> ${S}/procmailrc
+ fi
+
+ emake || die
+}
+
+src_install () {
+ cd ${S}/new
+ insinto /usr/bin
+ insopts -m 6755
+ doins procmail
+
+ insopts -m 2755
+ doins lockfile
+
+ dobin formail mailstat
+ insopts -m 0644
+
+ doman *.1 *.5
+
+ cd ${S}
+ dodoc Artistic COPYING FAQ FEATURES HISTORY INSTALL KNOWN_BUGS README
+
+ insinto /etc
+ doins procmailrc
+
+ docinto examples
+ dodoc examples/*
+}
+