From eac6c57021df83d2bf2f5cc0ae5dad2ed42ecad4 Mon Sep 17 00:00:00 2001 From: "Fernando J. Pereda" Date: Wed, 3 Jan 2007 13:07:37 +0000 Subject: [PATCH] New upstream version. Package-Manager: portage-2.1.1-r2 --- mail-filter/maildrop/ChangeLog | 9 +- mail-filter/maildrop/Manifest | 26 +++- .../maildrop/files/digest-maildrop-2.0.3 | 3 + mail-filter/maildrop/maildrop-2.0.3.ebuild | 122 ++++++++++++++++++ 4 files changed, 154 insertions(+), 6 deletions(-) create mode 100644 mail-filter/maildrop/files/digest-maildrop-2.0.3 create mode 100644 mail-filter/maildrop/maildrop-2.0.3.ebuild diff --git a/mail-filter/maildrop/ChangeLog b/mail-filter/maildrop/ChangeLog index 6998170f4656..f6df3d3c9a0e 100644 --- a/mail-filter/maildrop/ChangeLog +++ b/mail-filter/maildrop/ChangeLog @@ -1,6 +1,11 @@ # 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.68 2006/11/13 20:10:52 killerfox Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v 1.69 2007/01/03 13:07:37 ferdy Exp $ + +*maildrop-2.0.3 (03 Jan 2007) + + 03 Jan 2007; Fernando J. Pereda +maildrop-2.0.3.ebuild: + New upstream version. 13 Nov 2006; René Nussbaumer maildrop-2.0.2-r1.ebuild: diff --git a/mail-filter/maildrop/Manifest b/mail-filter/maildrop/Manifest index b823596661c9..849e051d1813 100644 --- a/mail-filter/maildrop/Manifest +++ b/mail-filter/maildrop/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX maildrop-1.8.0-db4-r1.patch 2529 RMD160 bf6e31be2227b53f5e7cbc5838b819f81dcd62d9 SHA1 4ba67fa469c422deef77c461e0ea33d97c511687 SHA256 1e5eef7afba0c496e8e6ee627bb8ccf182ffd39ea4c8f8fc8f9723fce97c51ae MD5 903a0ac519b0a5a2f988e001072a5736 files/maildrop-1.8.0-db4-r1.patch 2529 RMD160 bf6e31be2227b53f5e7cbc5838b819f81dcd62d9 files/maildrop-1.8.0-db4-r1.patch 2529 @@ -16,6 +19,7 @@ RMD160 1d53d6c05cb809bb9d637ae347d9dee1362f1b09 files/maildroprc 58 SHA256 2feec7b63d9b3fae442ddab96810929ce4080871c31a1f23401cd3b61d00add1 files/maildroprc 58 DIST maildrop-2.0.1.tar.bz2 2105424 RMD160 c8f5e3b450bdf1d458a81dd54a9c9486d361ebd8 SHA1 f9b69d7071c25def5af60893687c00ddb252d75e SHA256 2de43cb4536e71ca54ce8dce663d6d264b80fdadb2cd6b1007579efd727b31fb DIST maildrop-2.0.2.tar.bz2 2139549 RMD160 7b2bd7fc0b3d9e7f8cefd9236e7e387d9d5ae1ce SHA1 a7f3ac17cd1e14256b047e36810d3e8ec6cb872e SHA256 6f10d3b503a8bf878b8d270543a15acca645667504803c586a2a0cc0642413cd +DIST maildrop-2.0.3.tar.bz2 2149708 RMD160 35375a63a41fd790f65c65eb7e63ce138bc55cdd SHA1 873976836de7dd3cff8ce96b1b17593752edff55 SHA256 3a752582ed296ea15afe7f2e8a7a5f82333245b4dc2fd78ce7f659e775665bbc EBUILD maildrop-2.0.1-r1.ebuild 3514 RMD160 ebd8fc1139ac5d7cc83c915ab31b53af878cd240 SHA1 cfc1222dbd9e38df140755e35d7ec073c5e3ebc3 SHA256 0183c8b08a92ac484fa5d5efce8e50c4ab4cc783ecdbbf4d4539ebd8ee774b83 MD5 20e3bd80436c4fee121b51bba66afef8 maildrop-2.0.1-r1.ebuild 3514 RMD160 ebd8fc1139ac5d7cc83c915ab31b53af878cd240 maildrop-2.0.1-r1.ebuild 3514 @@ -28,10 +32,14 @@ EBUILD maildrop-2.0.2-r1.ebuild 3134 RMD160 c0b11cc0c3b8f46c0d032966a78b6b6f1a74 MD5 7ec0c1b80136e6a43dbdc72dfdea6bc3 maildrop-2.0.2-r1.ebuild 3134 RMD160 c0b11cc0c3b8f46c0d032966a78b6b6f1a74a2e0 maildrop-2.0.2-r1.ebuild 3134 SHA256 e385155b0cbdb3596ec895e6282da4fcb68217f634ed9fff5b33d551f6298960 maildrop-2.0.2-r1.ebuild 3134 -MISC ChangeLog 16278 RMD160 6ee679f2a0b84f9bdd71b9809163a5ce645e7433 SHA1 3b1d8ab5e8d7a78424439cf64679f0a72c146f93 SHA256 6d35bdb11950679aae01e38410c8da45732bbc893af26c7dbd1214f01420148e -MD5 f01918a77813e4e98596ae191346fcb7 ChangeLog 16278 -RMD160 6ee679f2a0b84f9bdd71b9809163a5ce645e7433 ChangeLog 16278 -SHA256 6d35bdb11950679aae01e38410c8da45732bbc893af26c7dbd1214f01420148e ChangeLog 16278 +EBUILD maildrop-2.0.3.ebuild 3135 RMD160 c9359eb4fae789fa1a317ea98225ff1e8ab662df SHA1 8ee1f87b0f493bd03156782a8ac9f5b3285afa7e SHA256 6f927ca5e0931e2daaf77d308bd8b5c427ae3e06a8656334de3d6f2b7a1db6e7 +MD5 7eca6181cc25e6ec5aa235c1b43d0f26 maildrop-2.0.3.ebuild 3135 +RMD160 c9359eb4fae789fa1a317ea98225ff1e8ab662df maildrop-2.0.3.ebuild 3135 +SHA256 6f927ca5e0931e2daaf77d308bd8b5c427ae3e06a8656334de3d6f2b7a1db6e7 maildrop-2.0.3.ebuild 3135 +MISC ChangeLog 16407 RMD160 054db7d7c989134d0c640d0189939ecb3f9596ba SHA1 f9fae786492e1e455eb9531d39cc8f94aee04501 SHA256 c43ba84aebd0b7f3e308b3cccd7e1837755f52057e3d734521ce3d82e10412ff +MD5 394b18e8f768c8094bbdbfa7952a9a3e ChangeLog 16407 +RMD160 054db7d7c989134d0c640d0189939ecb3f9596ba ChangeLog 16407 +SHA256 c43ba84aebd0b7f3e308b3cccd7e1837755f52057e3d734521ce3d82e10412ff ChangeLog 16407 MISC metadata.xml 259 RMD160 ce66370016fba0ddf047802d9dc8463041b4a585 SHA1 9f7a04d0cab1654d39498db3f124fc755202adb7 SHA256 d0e8725b6ece5de6014dd4b18064854b993b1e3ab04d838370d7744756656ae5 MD5 2fc9863fa18fa7e25fedaa87a92a3c43 metadata.xml 259 RMD160 ce66370016fba0ddf047802d9dc8463041b4a585 metadata.xml 259 @@ -45,3 +53,13 @@ SHA256 8beacc6143d9811b3efbf84228ca24f43550be3b3e2e9dfbdae0fdf33aa1b156 files/di MD5 314f55ae652c9de7988cceea00abef5e files/digest-maildrop-2.0.2-r1 250 RMD160 3d91f12684eb8796bef3ce82fa4877e6e11e2a5c files/digest-maildrop-2.0.2-r1 250 SHA256 78431eb9d4c6051cbab5179e262d754b4fea3883832c0630050dbbc1d19ee3f4 files/digest-maildrop-2.0.2-r1 250 +MD5 2281078914983d671d994d6020febeff files/digest-maildrop-2.0.3 250 +RMD160 c19036ff57923a3f2a888c000f5db61a54554370 files/digest-maildrop-2.0.3 250 +SHA256 13c83770ebeecd81e6149b867f24f6f4f26b20ac67a9e22e6b76c07404acba8a files/digest-maildrop-2.0.3 250 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2.2 (GNU/Linux) + +iD8DBQFFm7m/ViELBEf1JB0RAtDwAJ9la3t0+BsLZWN4s1LhDvPsMyloVQCeJgZ7 +/GsOMYSUs/Gte72dRhAqX0E= +=taUK +-----END PGP SIGNATURE----- diff --git a/mail-filter/maildrop/files/digest-maildrop-2.0.3 b/mail-filter/maildrop/files/digest-maildrop-2.0.3 new file mode 100644 index 000000000000..98101a8a9f30 --- /dev/null +++ b/mail-filter/maildrop/files/digest-maildrop-2.0.3 @@ -0,0 +1,3 @@ +MD5 800ad722584ae5b9b012f912d5353f14 maildrop-2.0.3.tar.bz2 2149708 +RMD160 35375a63a41fd790f65c65eb7e63ce138bc55cdd maildrop-2.0.3.tar.bz2 2149708 +SHA256 3a752582ed296ea15afe7f2e8a7a5f82333245b4dc2fd78ce7f659e775665bbc maildrop-2.0.3.tar.bz2 2149708 diff --git a/mail-filter/maildrop/maildrop-2.0.3.ebuild b/mail-filter/maildrop/maildrop-2.0.3.ebuild new file mode 100644 index 000000000000..aec52da64a85 --- /dev/null +++ b/mail-filter/maildrop/maildrop-2.0.3.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-2.0.3.ebuild,v 1.1 2007/01/03 13:07:37 ferdy Exp $ + +WANT_AUTOMAKE="latest" +WANT_AUTOCONF="latest" + +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 ~s390 ~sh ~sparc ~x86" +IUSE="berkdb debug fam gdbm ldap mysql postgres authlib" + +DEPEND="!mail-mta/courier + net-mail/mailbase + 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 +} -- 2.26.2