summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail-filter/maildrop')
-rw-r--r--mail-filter/maildrop/ChangeLog8
-rw-r--r--mail-filter/maildrop/Manifest12
-rw-r--r--mail-filter/maildrop/files/digest-maildrop-2.0.21
-rw-r--r--mail-filter/maildrop/maildrop-2.0.2.ebuild135
4 files changed, 145 insertions, 11 deletions
diff --git a/mail-filter/maildrop/ChangeLog b/mail-filter/maildrop/ChangeLog
index eb29f21cce14..6d0e0df9c026 100644
--- a/mail-filter/maildrop/ChangeLog
+++ b/mail-filter/maildrop/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for mail-filter/maildrop
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v 1.55 2006/02/17 22:13:13 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v 1.56 2006/03/01 22:27:19 ferdy Exp $
+
+*maildrop-2.0.2 (01 Mar 2006)
+
+ 01 Mar 2006; Fernando J. Pereda <ferdy@gentoo.org> +maildrop-2.0.2.ebuild:
+ New upstream version. Add authlib USE-flag, bug #113846. Reported by Remy
+ Blank <remy.blank@pobox.com>
17 Feb 2006; Aron Griffis <agriffis@gentoo.org> maildrop-2.0.1.ebuild:
Mark 2.0.1 stable on ia64
diff --git a/mail-filter/maildrop/Manifest b/mail-filter/maildrop/Manifest
index b2e2492b9bf3..b94df8d48c5e 100644
--- a/mail-filter/maildrop/Manifest
+++ b/mail-filter/maildrop/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 10d476b6e853bc0871eae376d47707db ChangeLog 14109
MD5 5db4117db5eca1f36f1778625e85d190 files/digest-maildrop-1.7.0-r3 68
MD5 be89a292c7c2bd4365fd160f4db22fb9 files/digest-maildrop-1.7.0.20040907-r1 77
@@ -8,6 +5,7 @@ MD5 eb7acda28529a85c74150a140f143d75 files/digest-maildrop-1.8.0-r3 68
MD5 7e45a27e2694fb9f4d62724fb0ad25f8 files/digest-maildrop-1.8.1-r2 68
MD5 95b2557a809befe8206f23973a7012bc files/digest-maildrop-2.0.1 68
MD5 95b2557a809befe8206f23973a7012bc files/digest-maildrop-2.0.1-r1 68
+MD5 8236b9e4c30c863a0002ac4b562a8c82 files/digest-maildrop-2.0.2 68
MD5 54e776919d1cd1729e5c6c1f27c40444 files/maildrop-1.7.0-0x0B-fix.patch 525
MD5 532cc225eb7ae73b01639168857445be files/maildrop-1.7.0-db4-bdbobj_configure.in.patch 1211
MD5 72eeead0d2cb72de0ee2571af5c63bd5 files/maildrop-1.7.0-db4-configure.in.patch 1290
@@ -20,11 +18,5 @@ MD5 3cbb6f6a6e1be7d2339173ab6d4a23cd maildrop-1.8.0-r3.ebuild 3642
MD5 3afda1bc9f2b87b3b5bd598cb2097421 maildrop-1.8.1-r2.ebuild 3326
MD5 089de69d87a8ffbeaed10ebf4bf9c0ab maildrop-2.0.1-r1.ebuild 3517
MD5 f846ac496f3c8e757caaa2f15b7bd410 maildrop-2.0.1.ebuild 3442
+MD5 7cab38dc49286a2341aa0a28e649b92a maildrop-2.0.2.ebuild 3582
MD5 2fc9863fa18fa7e25fedaa87a92a3c43 metadata.xml 259
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFD9kqCJrHF4yAQTrARAu2nAJ0SFkIMKuCi1cebIIW59yKfyl3W2ACeNJm4
-vTXlyCYjNCIl4UT5uyC+Vjo=
-=33vA
------END PGP SIGNATURE-----
diff --git a/mail-filter/maildrop/files/digest-maildrop-2.0.2 b/mail-filter/maildrop/files/digest-maildrop-2.0.2
new file mode 100644
index 000000000000..39f6cfdd7da8
--- /dev/null
+++ b/mail-filter/maildrop/files/digest-maildrop-2.0.2
@@ -0,0 +1 @@
+MD5 69c7cb0c93669c0831eb3ee304da8eac maildrop-2.0.2.tar.bz2 2139549
diff --git a/mail-filter/maildrop/maildrop-2.0.2.ebuild b/mail-filter/maildrop/maildrop-2.0.2.ebuild
new file mode 100644
index 000000000000..2b66adc1491c
--- /dev/null
+++ b/mail-filter/maildrop/maildrop-2.0.2.ebuild
@@ -0,0 +1,135 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-2.0.2.ebuild,v 1.1 2006/03/01 22:27:19 ferdy Exp $
+
+inherit eutils gnuconfig flag-o-matic
+
+DESCRIPTION="Mail delivery agent/filter"
+[[ -z ${PV/?.?/} ]] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
+[[ -z ${PV/?.?.?/} ]] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
+[[ -z ${SRC_URI} ]] && SRC_URI="http://www.courier-mta.org/beta/${PN}/${P%%_pre}.tar.bz2"
+HOMEPAGE="http://www.courier-mta.org/maildrop/"
+S="${WORKDIR}/${P%%_pre}"
+
+SLOT="0"
+LICENSE="GPL-2"
+
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE="berkdb debug fam gdbm ldap mysql postgres authlib"
+
+PROVIDE="virtual/mda"
+
+DEPEND="!mail-mta/courier
+ dev-libs/libpcre
+ gdbm? ( >=sys-libs/gdbm-1.8.0 )
+ mysql? ( net-libs/courier-authlib )
+ postgres? ( net-libs/courier-authlib )
+ ldap? ( net-libs/courier-authlib )
+ authlib? ( net-libs/courier-authlib )
+ fam? ( virtual/fam )
+ !fam? ( ~sys-devel/autoconf-2.59 )
+ !gdbm? (
+ berkdb? (
+ >=sys-libs/db-3
+ ~sys-devel/autoconf-2.59
+ )
+ )
+ >=sys-devel/automake-1.9.3"
+
+RDEPEND="${DEPEND}
+ dev-lang/perl"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # Do not use lazy bindings on /usr/bin/maildrop
+ sed -i -e "s~^maildrop_LDFLAGS =~& $(bindnow-flags)~g" maildrop/Makefile.in
+
+ # Be nice with uclibc also
+ use elibc_uclibc && sed -i -e 's~linux-gnu\*~& | linux-uclibc~' config.sub
+
+ # Prefer gdbm over berkdb
+ if use gdbm ; then
+ use berkdb && einfo "Both gdbm and berkdb selected. Using gdbm."
+ elif use berkdb ; then
+ epatch ${FILESDIR}/${PN}-1.8.0-db4.patch
+ cd ${S}/bdbobj
+ libtoolize --copy --force
+ WANT_AUTOCONF=2.59 autoconf || die "recreate configure failed (bdbobj)"
+ fi
+
+ if ! use fam ; then
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-1.8.1-disable-fam.patch
+ cd ${S}/maildir
+ WANT_AUTOCONF=2.59 autoconf || die "recreate configure failed (maildir)"
+ fi
+
+ # Only recreate configure if needed
+ if ! use fam || { ! use gdbm && use berkdb ; } ; then
+ cd ${S}
+ gnuconfig_update
+ libtoolize --copy --force
+ WANT_AUTOCONF=2.59 autoconf || die "recreate configure failed (topdir)"
+ fi
+}
+
+src_compile() {
+ local myconf
+ local mytrustedusers="apache dspam root mail \
+ daemon postmaster qmaild mmdf vmail alias"
+
+ # These flags make maildrop cry
+ replace-flags -Os -O2
+ filter-flags -fomit-frame-pointer
+
+ if use gdbm ; then
+ myconf="${myconf} --with-db=gdbm"
+ elif use berkdb ; then
+ myconf="${myconf} --with-db=db"
+ else
+ myconf="${myconf} --without-db"
+ fi
+
+ if ! use mysql && ! use postgres && ! use ldap && ! use authlib ; then
+ myconf="${myconf} --disable-authlib"
+ fi
+
+ econf \
+ $(use_enable fam) \
+ --disable-dependency-tracker \
+ --with-devel \
+ --disable-tempdir \
+ --enable-syslog=1 \
+ --enable-use-flock=1 \
+ --enable-maildirquota \
+ --enable-use-dotlock=1 \
+ --enable-restrict-trusted=1 \
+ --enable-trusted-users="${mytrustedusers}" \
+ --enable-maildrop-uid=root \
+ --enable-maildrop-gid=mail \
+ --with-default-maildrop=./.maildir/ \
+ --enable-sendmail=/usr/sbin/sendmail \
+ --cache-file=${S}/configuring.cache \
+ ${myconf} || die
+
+ emake || die "compile problem"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ fperms 4755 /usr/bin/maildrop
+
+ dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README \
+ README.postfix UPGRADE maildroptips.txt
+
+ dodir /usr/share/doc/${PF}
+ mv ${D}/usr/share/maildrop/html ${D}/usr/share/doc/${PF}
+
+ dohtml {INSTALL,README,UPGRADE}.html
+
+ insinto /etc
+ doins ${FILESDIR}/maildroprc
+}