diff options
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/procmail/ChangeLog | 7 | ||||
-rw-r--r-- | mail-filter/procmail/files/gentoo-maildir2.diff | 20 | ||||
-rw-r--r-- | mail-filter/procmail/procmail-3.22-r7.ebuild | 72 | ||||
-rw-r--r-- | mail-filter/procmail/procmail-3.22-r8.ebuild | 75 | ||||
-rw-r--r-- | mail-filter/procmail/procmail-3.22-r9.ebuild | 90 |
5 files changed, 6 insertions, 258 deletions
diff --git a/mail-filter/procmail/ChangeLog b/mail-filter/procmail/ChangeLog index 360ff5bf66a2..cd31f920f230 100644 --- a/mail-filter/procmail/ChangeLog +++ b/mail-filter/procmail/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for mail-filter/procmail # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/procmail/ChangeLog,v 1.43 2009/02/16 16:55:58 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/procmail/ChangeLog,v 1.44 2009/02/16 18:18:41 dertobi123 Exp $ + + 16 Feb 2009; Tobias Scherbaum <dertobi123@gentoo.org> + -files/gentoo-maildir2.diff, -procmail-3.22-r7.ebuild, + -procmail-3.22-r8.ebuild, -procmail-3.22-r9.ebuild: + Cleanup 16 Feb 2009; Brent Baude <ranger@gentoo.org> procmail-3.22-r10.ebuild: stable ppc64, bug 257184 diff --git a/mail-filter/procmail/files/gentoo-maildir2.diff b/mail-filter/procmail/files/gentoo-maildir2.diff deleted file mode 100644 index e3b6e75600a0..000000000000 --- a/mail-filter/procmail/files/gentoo-maildir2.diff +++ /dev/null @@ -1,20 +0,0 @@ ---- 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/procmail-3.22-r7.ebuild b/mail-filter/procmail/procmail-3.22-r7.ebuild deleted file mode 100644 index 900f92b8e24c..000000000000 --- a/mail-filter/procmail/procmail-3.22-r7.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/procmail/procmail-3.22-r7.ebuild,v 1.11 2006/10/08 00:38:39 vapier Exp $ - -inherit eutils flag-o-matic - -DESCRIPTION="Mail delivery agent/filter" -HOMEPAGE="http://www.procmail.org/" -SRC_URI="http://www.procmail.org/${P}.tar.gz" - -LICENSE="|| ( Artistic GPL-2 )" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86" -IUSE="mbox selinux" -PROVIDE="virtual/mda" - -DEPEND="virtual/libc virtual/mta" -RDEPEND="virtual/libc - selinux? ( sec-policy/selinux-procmail )" - -src_compile() { - # -finline-functions (implied by -O3) leaves strstr() in an infinite loop. - # To work around this, we append -fno-inline-functions to CFLAGS - append-flags -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 ! use mbox ; then - echo "# Use maildir-style mailbox in user's home directory" > ${S}/procmailrc - echo 'DEFAULT=$HOME/.maildir/' >> ${S}/procmailrc - cd ${S} - epatch ${FILESDIR}/gentoo-maildir2.diff - else - echo '# Use mbox-style mailbox in /var/spool/mail' > ${S}/procmailrc - echo 'DEFAULT=/var/spool/mail/$LOGNAME' >> ${S}/procmailrc - fi - - # Do not use lazy bindings on lockfile and procmail - epatch "${FILESDIR}/${PN}-lazy-bindings.diff" - - # Fix for bug #102340 - epatch "${FILESDIR}/${PN}-comsat-segfault.diff" - - 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/* -} diff --git a/mail-filter/procmail/procmail-3.22-r8.ebuild b/mail-filter/procmail/procmail-3.22-r8.ebuild deleted file mode 100644 index f41f6bcd0ea6..000000000000 --- a/mail-filter/procmail/procmail-3.22-r8.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/procmail/procmail-3.22-r8.ebuild,v 1.2 2006/10/08 00:38:39 vapier Exp $ - -inherit eutils flag-o-matic - -DESCRIPTION="Mail delivery agent/filter" -HOMEPAGE="http://www.procmail.org/" -SRC_URI="http://www.procmail.org/${P}.tar.gz" - -LICENSE="|| ( Artistic GPL-2 )" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="mbox selinux" - -DEPEND="virtual/libc virtual/mta" -RDEPEND="virtual/libc - selinux? ( sec-policy/selinux-procmail )" -PROVIDE="virtual/mda" - -src_compile() { - # -finline-functions (implied by -O3) leaves strstr() in an infinite loop. - # To work around this, we append -fno-inline-functions to CFLAGS - append-flags -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 ! use mbox ; then - echo "# Use maildir-style mailbox in user's home directory" > ${S}/procmailrc - echo 'DEFAULT=$HOME/.maildir/' >> ${S}/procmailrc - cd ${S} - epatch ${FILESDIR}/gentoo-maildir2.diff - else - echo '# Use mbox-style mailbox in /var/spool/mail' > ${S}/procmailrc - echo 'DEFAULT=/var/spool/mail/$LOGNAME' >> ${S}/procmailrc - fi - - # Do not use lazy bindings on lockfile and procmail - epatch "${FILESDIR}/${PN}-lazy-bindings.diff" - - # Fix for bug #102340 - epatch "${FILESDIR}/${PN}-comsat-segfault.diff" - - # Fix for bug #119890 - epatch "${FILESDIR}/${PN}-maxprocs-fix.diff" - - emake || die -} - -src_install() { - cd "${S}"/new - insinto /usr/bin - insopts -m 6755 - doins procmail || die - - insopts -m 2755 - doins lockfile || die - - dobin formail mailstat || die - insopts -m 0644 - - doman *.1 *.5 - - cd "${S}" - dodoc Artistic FAQ FEATURES HISTORY INSTALL KNOWN_BUGS README - - insinto /etc - doins procmailrc || die - - docinto examples - dodoc examples/* -} diff --git a/mail-filter/procmail/procmail-3.22-r9.ebuild b/mail-filter/procmail/procmail-3.22-r9.ebuild deleted file mode 100644 index 96437bf547fe..000000000000 --- a/mail-filter/procmail/procmail-3.22-r9.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/procmail/procmail-3.22-r9.ebuild,v 1.8 2008/12/07 18:05:08 vapier Exp $ - -inherit eutils flag-o-matic - -DESCRIPTION="Mail delivery agent/filter" -HOMEPAGE="http://www.procmail.org/" -SRC_URI="http://www.procmail.org/${P}.tar.gz" - -LICENSE="|| ( Artistic GPL-2 )" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86" -IUSE="mbox selinux" - -DEPEND="virtual/libc virtual/mta" -RDEPEND="virtual/libc - selinux? ( sec-policy/selinux-procmail )" -PROVIDE="virtual/mda" - -src_unpack() { - unpack ${A} - cd "${S}" - - # disable flock, using both fcntl and flock style locking - # doesn't work with NFS with 2.6.17+ kernels, bug #156493 - - sed -e "s:/\*#define NO_flock_LOCK:#define NO_flock_LOCK:" \ - -i config.h || die "sed failed" - - if ! use mbox ; then - echo "# Use maildir-style mailbox in user's home directory" > "${S}"/procmailrc - echo 'DEFAULT=$HOME/.maildir/' >> "${S}"/procmailrc - cd "${S}" - epatch "${FILESDIR}/gentoo-maildir3.diff" - else - echo '# Use mbox-style mailbox in /var/spool/mail' > "${S}"/procmailrc - echo 'DEFAULT=/var/spool/mail/$LOGNAME' >> "${S}"/procmailrc - fi - - # Do not use lazy bindings on lockfile and procmail - epatch "${FILESDIR}/${PN}-lazy-bindings.diff" - - # Fix for bug #102340 - epatch "${FILESDIR}/${PN}-comsat-segfault.diff" - - # Fix for bug #119890 - epatch "${FILESDIR}/${PN}-maxprocs-fix.diff" - - # Fix for bug #200006 - epatch "${FILESDIR}/${PN}-pipealloc.diff" -} - -src_compile() { - # -finline-functions (implied by -O3) leaves strstr() in an infinite loop. - # To work around this, we append -fno-inline-functions to CFLAGS - append-flags -fno-inline-functions - - sed -e "s:CFLAGS0 = -O:CFLAGS0 = ${CFLAGS}:" \ - -e "s:LOCKINGTEST=__defaults__:#LOCKINGTEST=__defaults__:" \ - -e "s:#LOCKINGTEST=/tmp:LOCKINGTEST=/tmp:" \ - -i Makefile || die "sed failed" - - emake || die -} - -src_install() { - cd "${S}"/new - insinto /usr/bin - insopts -m 6755 - doins procmail || die - - doins lockfile || die - fowners root:mail /usr/bin/lockfile - fperms 2775 /usr/bin/lockfile - - dobin formail mailstat || die - insopts -m 0644 - - doman *.1 *.5 - - cd "${S}" - dodoc Artistic FAQ FEATURES HISTORY INSTALL KNOWN_BUGS README - - insinto /etc - doins procmailrc || die - - docinto examples - dodoc examples/* -} |