summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando J. Pereda <ferdy@gentoo.org>2006-06-27 10:10:20 +0000
committerFernando J. Pereda <ferdy@gentoo.org>2006-06-27 10:10:20 +0000
commit45e41d68a0cd836cff70913b92ce580fc62c82f8 (patch)
treeedf1ecbac15371bcc220870e8660ee51ef703414 /mail-filter/maildrop
parentChange autoconf dep to >=2.5 to work even with 2.60, change maintainer to mai... (diff)
downloadgentoo-2-45e41d68a0cd836cff70913b92ce580fc62c82f8.tar.gz
gentoo-2-45e41d68a0cd836cff70913b92ce580fc62c82f8.tar.bz2
gentoo-2-45e41d68a0cd836cff70913b92ce580fc62c82f8.zip
Use autotools.eclass to remove an old hand-made hack. Thanks to Diego Pettenò <flameeyes@gentoo.org>
(Portage version: 2.1-r1)
Diffstat (limited to 'mail-filter/maildrop')
-rw-r--r--mail-filter/maildrop/ChangeLog9
-rw-r--r--mail-filter/maildrop/files/digest-maildrop-1.7.0-r32
-rw-r--r--mail-filter/maildrop/files/digest-maildrop-1.7.0.20040907-r12
-rw-r--r--mail-filter/maildrop/files/digest-maildrop-1.8.0-r32
-rw-r--r--mail-filter/maildrop/files/digest-maildrop-1.8.1-r22
-rw-r--r--mail-filter/maildrop/files/digest-maildrop-2.0.12
-rw-r--r--mail-filter/maildrop/files/digest-maildrop-2.0.1-r12
-rw-r--r--mail-filter/maildrop/files/digest-maildrop-2.0.2-r13
-rw-r--r--mail-filter/maildrop/maildrop-2.0.2-r1.ebuild118
9 files changed, 141 insertions, 1 deletions
diff --git a/mail-filter/maildrop/ChangeLog b/mail-filter/maildrop/ChangeLog
index 3fcc159af17e..623480374358 100644
--- a/mail-filter/maildrop/ChangeLog
+++ b/mail-filter/maildrop/ChangeLog
@@ -1,6 +1,13 @@
# 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.58 2006/06/26 06:28:20 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v 1.59 2006/06/27 10:10:20 ferdy Exp $
+
+*maildrop-2.0.2-r1 (27 Jun 2006)
+
+ 27 Jun 2006; Fernando J. Pereda <ferdy@gentoo.org>
+ +maildrop-2.0.2-r1.ebuild:
+ Use autotools.eclass to remove an old hand-made hack. Thanks to Diego
+ Pettenò <flameeyes@gentoo.org>
26 Jun 2006; Diego Pettenò <flameeyes@gentoo.org> maildrop-2.0.2.ebuild:
Don't depend strictly on autoconf 2.59 to avoid up/down grade cycles.
diff --git a/mail-filter/maildrop/files/digest-maildrop-1.7.0-r3 b/mail-filter/maildrop/files/digest-maildrop-1.7.0-r3
index 3dee98c621e4..6c22739000de 100644
--- a/mail-filter/maildrop/files/digest-maildrop-1.7.0-r3
+++ b/mail-filter/maildrop/files/digest-maildrop-1.7.0-r3
@@ -1 +1,3 @@
MD5 fa2dbbb84795e459db36ea0013f6f214 maildrop-1.7.0.tar.bz2 1209721
+RMD160 ad9ae25b961bcce3e08956b6caafb3b453f70484 maildrop-1.7.0.tar.bz2 1209721
+SHA256 61f0e1bdf5448b853d070530f7f782933bc7d110683f02387344d4324dfb7cee maildrop-1.7.0.tar.bz2 1209721
diff --git a/mail-filter/maildrop/files/digest-maildrop-1.7.0.20040907-r1 b/mail-filter/maildrop/files/digest-maildrop-1.7.0.20040907-r1
index 0ed5befa6046..400d9e2fc636 100644
--- a/mail-filter/maildrop/files/digest-maildrop-1.7.0.20040907-r1
+++ b/mail-filter/maildrop/files/digest-maildrop-1.7.0.20040907-r1
@@ -1 +1,3 @@
MD5 19c3ee25c71e3508c953cfae2f1fb17e maildrop-1.7.0.20040907.tar.bz2 1210399
+RMD160 7cf27028f53365fc2ff2476dc7de4c9c139edcc3 maildrop-1.7.0.20040907.tar.bz2 1210399
+SHA256 3b04a9a002aebc898d1a08f649ea09bd92ba53d4a4d8c6bc5217f61069d0b86c maildrop-1.7.0.20040907.tar.bz2 1210399
diff --git a/mail-filter/maildrop/files/digest-maildrop-1.8.0-r3 b/mail-filter/maildrop/files/digest-maildrop-1.8.0-r3
index 70344e5442cc..f456296a72b1 100644
--- a/mail-filter/maildrop/files/digest-maildrop-1.8.0-r3
+++ b/mail-filter/maildrop/files/digest-maildrop-1.8.0-r3
@@ -1 +1,3 @@
MD5 caf59c78d6689b4cfba98d979af63407 maildrop-1.8.0.tar.bz2 2013203
+RMD160 0f33519721f01305d99dcf055a11a38a5ddf8877 maildrop-1.8.0.tar.bz2 2013203
+SHA256 bc5a596033f10fc8cc9635b23f4cf6a14bfc9172ac53ef8d693c6b22a7c62cce maildrop-1.8.0.tar.bz2 2013203
diff --git a/mail-filter/maildrop/files/digest-maildrop-1.8.1-r2 b/mail-filter/maildrop/files/digest-maildrop-1.8.1-r2
index a58f5fb55245..dd931d7579f7 100644
--- a/mail-filter/maildrop/files/digest-maildrop-1.8.1-r2
+++ b/mail-filter/maildrop/files/digest-maildrop-1.8.1-r2
@@ -1 +1,3 @@
MD5 da7b312da069f8bacf7388804e0d7cc3 maildrop-1.8.1.tar.bz2 2014670
+RMD160 3cbcbe2ebaa3f42894ac79d7445d3b369a4eb83a maildrop-1.8.1.tar.bz2 2014670
+SHA256 2803d0ddadcda420b5756629d71ad59a0dbc6338f0f792ae9ddb7cbbfc685b34 maildrop-1.8.1.tar.bz2 2014670
diff --git a/mail-filter/maildrop/files/digest-maildrop-2.0.1 b/mail-filter/maildrop/files/digest-maildrop-2.0.1
index 313939bd2863..c2eb525ff6c4 100644
--- a/mail-filter/maildrop/files/digest-maildrop-2.0.1
+++ b/mail-filter/maildrop/files/digest-maildrop-2.0.1
@@ -1 +1,3 @@
MD5 6ea97cb4e6757579873218adf212dbf0 maildrop-2.0.1.tar.bz2 2105424
+RMD160 c8f5e3b450bdf1d458a81dd54a9c9486d361ebd8 maildrop-2.0.1.tar.bz2 2105424
+SHA256 2de43cb4536e71ca54ce8dce663d6d264b80fdadb2cd6b1007579efd727b31fb maildrop-2.0.1.tar.bz2 2105424
diff --git a/mail-filter/maildrop/files/digest-maildrop-2.0.1-r1 b/mail-filter/maildrop/files/digest-maildrop-2.0.1-r1
index 313939bd2863..c2eb525ff6c4 100644
--- a/mail-filter/maildrop/files/digest-maildrop-2.0.1-r1
+++ b/mail-filter/maildrop/files/digest-maildrop-2.0.1-r1
@@ -1 +1,3 @@
MD5 6ea97cb4e6757579873218adf212dbf0 maildrop-2.0.1.tar.bz2 2105424
+RMD160 c8f5e3b450bdf1d458a81dd54a9c9486d361ebd8 maildrop-2.0.1.tar.bz2 2105424
+SHA256 2de43cb4536e71ca54ce8dce663d6d264b80fdadb2cd6b1007579efd727b31fb maildrop-2.0.1.tar.bz2 2105424
diff --git a/mail-filter/maildrop/files/digest-maildrop-2.0.2-r1 b/mail-filter/maildrop/files/digest-maildrop-2.0.2-r1
new file mode 100644
index 000000000000..e3920606d06b
--- /dev/null
+++ b/mail-filter/maildrop/files/digest-maildrop-2.0.2-r1
@@ -0,0 +1,3 @@
+MD5 69c7cb0c93669c0831eb3ee304da8eac maildrop-2.0.2.tar.bz2 2139549
+RMD160 7b2bd7fc0b3d9e7f8cefd9236e7e387d9d5ae1ce maildrop-2.0.2.tar.bz2 2139549
+SHA256 6f10d3b503a8bf878b8d270543a15acca645667504803c586a2a0cc0642413cd maildrop-2.0.2.tar.bz2 2139549
diff --git a/mail-filter/maildrop/maildrop-2.0.2-r1.ebuild b/mail-filter/maildrop/maildrop-2.0.2-r1.ebuild
new file mode 100644
index 000000000000..040f6c69ba56
--- /dev/null
+++ b/mail-filter/maildrop/maildrop-2.0.2-r1.ebuild
@@ -0,0 +1,118 @@
+# 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-r1.ebuild,v 1.1 2006/06/27 10:10:20 ferdy Exp $
+
+inherit eutils flag-o-matic autotools
+
+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/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~sparc ~x86"
+IUSE="berkdb debug fam gdbm ldap mysql postgres authlib"
+
+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 )
+ !gdbm? (
+ berkdb? (
+ >=sys-libs/db-3
+ )
+ )"
+RDEPEND="${DEPEND}
+ dev-lang/perl"
+PROVIDE="virtual/mda"
+
+S=${WORKDIR}/${P%%_pre}
+
+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
+
+ # 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-r1.patch
+ fi
+
+ if ! use fam ; then
+ epatch "${FILESDIR}"/${PN}-1.8.1-disable-fam.patch
+ fi
+
+ # Only recreate configure if needed
+ if ! use fam || { ! use gdbm && use berkdb ; } ; then
+ eautoreconf
+ 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 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
+}