summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2010-02-06 09:11:26 +0000
committerTorsten Veller <tove@gentoo.org>2010-02-06 09:11:26 +0000
commite309137bd492fde13af73842b8971e5032961353 (patch)
tree8a915a39fce726f29f01001f28bd48bb0fd3fb01 /mail-filter
parentVersion bump. Cleanup (diff)
downloadhistorical-e309137bd492fde13af73842b8971e5032961353.tar.gz
historical-e309137bd492fde13af73842b8971e5032961353.tar.bz2
historical-e309137bd492fde13af73842b8971e5032961353.zip
Version bump
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/maildrop/ChangeLog9
-rw-r--r--mail-filter/maildrop/Manifest4
-rw-r--r--mail-filter/maildrop/maildrop-2.4.0.ebuild112
3 files changed, 122 insertions, 3 deletions
diff --git a/mail-filter/maildrop/ChangeLog b/mail-filter/maildrop/ChangeLog
index 588fa531eb76..61a36ece4922 100644
--- a/mail-filter/maildrop/ChangeLog
+++ b/mail-filter/maildrop/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-filter/maildrop
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v 1.92 2009/11/18 18:24:27 armin76 Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v 1.93 2010/02/06 09:11:26 tove Exp $
+
+*maildrop-2.4.0 (06 Feb 2010)
+
+ 06 Feb 2010; Torsten Veller <tove@gentoo.org> +maildrop-2.4.0.ebuild:
+ Version bump
18 Nov 2009; Raúl Porcel <armin76@gentoo.org> maildrop-2.2.0.ebuild:
arm/ia64/s390/sh/sparc stable wrt #290547
diff --git a/mail-filter/maildrop/Manifest b/mail-filter/maildrop/Manifest
index 2ffd6934334d..f9e1932a24d7 100644
--- a/mail-filter/maildrop/Manifest
+++ b/mail-filter/maildrop/Manifest
@@ -7,8 +7,10 @@ AUX maildroprc 58 RMD160 1d53d6c05cb809bb9d637ae347d9dee1362f1b09 SHA1 a2fd60599
DIST maildrop-2.0.4.tar.bz2 2286125 RMD160 9c0a349879cc0791ad01e5bae04b680de3a7a606 SHA1 df2755c1d0e00d19506b0659e59bf5d4756cce17 SHA256 573032d6525ac7454377eb400372c363446bb3d9abd9249da9cf6676aef85671
DIST maildrop-2.1.0.tar.bz2 2482163 RMD160 3ff0a331ae59f3ebc48370f24aa244540f841e33 SHA1 4da332b51ed899da320844ba05ab532b8881c449 SHA256 f041f387d3785886ac9c8e404b60760b109daf96c5e3ae0de764243fd4c877f1
DIST maildrop-2.2.0.tar.bz2 2412329 RMD160 8c715af18693c375ca197450cdb57e39813ea8cd SHA1 a6af98724fda72c4d1ebfd6e6f5fc5f38caf9e38 SHA256 15c99c3c1e7b1d7c078da92bcf643da411be414994eff7f387e3302baa189b3f
+DIST maildrop-2.4.0.tar.bz2 2415851 RMD160 bf9febe5db917920f4a0b3ddefe9d6d40246e1ca SHA1 982bdeb25c975cd14f64a0135f92e989c2d42050 SHA256 93eb5868f52cf430646b7bc688f7da6db3da8e61a3d2e3bdbc8e54e01d887c85
EBUILD maildrop-2.0.4.ebuild 2898 RMD160 49a430ee5fe7537f311ab6c2feab41283c1250a5 SHA1 1549b2ab56cd8018b49ba1de9510a6c8d5de7309 SHA256 4423b58c9e17987aea07beaa1ffff9df8081d5b54d196aa7d664e022db4c7d9a
EBUILD maildrop-2.1.0.ebuild 2878 RMD160 5dbb8126ea259f1780f2545df628ca69f7661d3a SHA1 a029234e7895faef97bccf3bc018bacbcec6db1c SHA256 7f60a7f13da2bdfebe70f72843eef210fd044ccf0bec396160b039e096329783
EBUILD maildrop-2.2.0.ebuild 2878 RMD160 9a24e77468316227efb0fb6774a71e691855de4d SHA1 ab4a8f0dcd1f552e9b5e72b648003bc0b3db55e9 SHA256 5bb5cacc0f0e60318edf1299eed8173c36bc5bfd66fbaadc2f47718444c8a3e3
-MISC ChangeLog 19200 RMD160 c696346555594c47ab051955240cbf7d553ee8fc SHA1 6786789e5be91b66732a2c59b054b0783c41b1fa SHA256 eef46aa1fa7d72470a5d4e9b286d9a4d349ecf575c16bc8f0bc7f06e34164b95
+EBUILD maildrop-2.4.0.ebuild 2875 RMD160 7df9f7b46b338ade02eecd07888f6103b559b5ef SHA1 c146ab55bf8e1e1d4627c280a383e8afc53937c5 SHA256 57c63cc20e9d2e9ab71090498a4f0be5f396d3aed1008389c52e5b0ece41e9bb
+MISC ChangeLog 19316 RMD160 a366f16aa6d7a870fc55747f37cccc439aecfd4e SHA1 766cb2ea8568e5923c58f173c7b7e748f38a57b7 SHA256 561b1d0c5df58b16104fdf0dba21f4664ee74f97668ed49daeb792cee718b117
MISC metadata.xml 240 RMD160 e5b053c0a14b143e22acb63661529b036ac18428 SHA1 4a9701163fe5473fdbd5eaf6f286bc0a539519b1 SHA256 4e7e2f285c777bc7c6657086935b69d68e8c248546dda4e87b9279ca732308bb
diff --git a/mail-filter/maildrop/maildrop-2.4.0.ebuild b/mail-filter/maildrop/maildrop-2.4.0.ebuild
new file mode 100644
index 000000000000..b99c3ae3026e
--- /dev/null
+++ b/mail-filter/maildrop/maildrop-2.4.0.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-2.4.0.ebuild,v 1.1 2010/02/06 09:11:26 tove Exp $
+
+EAPI=2
+
+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-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sh ~sparc ~x86"
+IUSE="berkdb debug fam gdbm ldap mysql postgres authlib"
+
+DEPEND="!mail-mta/courier
+ net-mail/mailbase
+ dev-libs/libpcre
+ net-dns/libidn
+ 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_prepare() {
+# epatch "${FILESDIR}"/${PN}-2.0.4-makedat.patch
+
+ # Prefer gdbm over berkdb
+ if use gdbm ; then
+ use berkdb && elog "Both gdbm and berkdb selected. Using gdbm."
+ elif use berkdb ; then
+ epatch "${FILESDIR}"/${PN}-2.2.0-db4.patch
+ fi
+
+ if ! use fam ; then
+ epatch "${FILESDIR}"/${PN}-1.8.1-disable-fam.patch
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+ local mytrustedusers="apache dspam root mail fetchmail \
+ 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-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}
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+
+ fperms 4755 /usr/bin/maildrop
+
+ dodoc AUTHORS ChangeLog INSTALL NEWS README \
+ README.postfix UPGRADE maildroptips.txt || die
+
+ dodir /usr/share/doc/${PF}
+ mv "${D}"/usr/share/maildrop/html "${D}"/usr/share/doc/${PF}/
+
+ dohtml {INSTALL,README,UPGRADE}.html || die
+
+ insinto /etc
+ doins "${FILESDIR}"/maildroprc || die
+}