From: Fernando J. Pereda Date: Mon, 23 Apr 2007 20:46:08 +0000 (+0000) Subject: New upstream version. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=adeaa948e3b34701d5278eb59ee4162b070a266b;p=gentoo.git New upstream version. Package-Manager: portage-2.1.2.2 --- diff --git a/mail-filter/maildrop/ChangeLog b/mail-filter/maildrop/ChangeLog index 5628fef4198c..f7ab0fc64beb 100644 --- a/mail-filter/maildrop/ChangeLog +++ b/mail-filter/maildrop/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for mail-filter/maildrop # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v 1.72 2007/03/18 04:28:25 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v 1.73 2007/04/23 20:46:08 ferdy Exp $ + +*maildrop-2.0.4 (23 Apr 2007) + + 23 Apr 2007; Fernando J. Pereda +maildrop-2.0.4.ebuild: + New upstream version. 18 Mar 2007; Marius Mauch maildrop-2.0.2-r1.ebuild, maildrop-2.0.3.ebuild: diff --git a/mail-filter/maildrop/Manifest b/mail-filter/maildrop/Manifest index f1e0f3ff9696..5131f5979fb8 100644 --- a/mail-filter/maildrop/Manifest +++ b/mail-filter/maildrop/Manifest @@ -15,6 +15,7 @@ RMD160 1d53d6c05cb809bb9d637ae347d9dee1362f1b09 files/maildroprc 58 SHA256 2feec7b63d9b3fae442ddab96810929ce4080871c31a1f23401cd3b61d00add1 files/maildroprc 58 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 +DIST maildrop-2.0.4.tar.bz2 2286125 RMD160 9c0a349879cc0791ad01e5bae04b680de3a7a606 SHA1 df2755c1d0e00d19506b0659e59bf5d4756cce17 SHA256 573032d6525ac7454377eb400372c363446bb3d9abd9249da9cf6676aef85671 EBUILD maildrop-2.0.2-r1.ebuild 3129 RMD160 0ef18f3bd982ef7177f6dbe219953ce19581416e SHA1 c6be65b888ee4a13ed3a5b23552f0e40ba82bc12 SHA256 476c3710b0606b96fce3cb4065f7e7183f1a778a0830e904b5c1a0e99732c4d2 MD5 8e4ca6b813ebeb3085e81077362fecd0 maildrop-2.0.2-r1.ebuild 3129 RMD160 0ef18f3bd982ef7177f6dbe219953ce19581416e maildrop-2.0.2-r1.ebuild 3129 @@ -23,10 +24,14 @@ EBUILD maildrop-2.0.3.ebuild 3135 RMD160 8be4506a9edc67d88e44ec8490fa4540c83b6c8 MD5 ce2b185fb81cf59e53dcae143a99dff9 maildrop-2.0.3.ebuild 3135 RMD160 8be4506a9edc67d88e44ec8490fa4540c83b6c8a maildrop-2.0.3.ebuild 3135 SHA256 f4b359faf06120e98d19f7518dc2402d1b84bf12d01c7ba2f50937cc2f372377 maildrop-2.0.3.ebuild 3135 -MISC ChangeLog 16845 RMD160 6fe387f2924aba024a496bc9c4d66bc546dad3c2 SHA1 fe3c7f292dcd86444bedd3d2609688cb949c7c08 SHA256 1c9e9c0cad9cc5e4073669a17a6d53cf49b690a2a11ca4a8df2183f126a30470 -MD5 cdd976baf81aa744358e07269bb8ca0c ChangeLog 16845 -RMD160 6fe387f2924aba024a496bc9c4d66bc546dad3c2 ChangeLog 16845 -SHA256 1c9e9c0cad9cc5e4073669a17a6d53cf49b690a2a11ca4a8df2183f126a30470 ChangeLog 16845 +EBUILD maildrop-2.0.4.ebuild 3134 RMD160 3a2a5bba87e2aea1cd3e122c60ab5f40c4bb591e SHA1 9ed0f40a43100b6dac682117f51566f6f7c315c7 SHA256 922d495713b844f363422e83e90c90f71d32e5cd593ab99ae3c5f5399347f9db +MD5 916efc49b06c4e813e205ed20cd4a69e maildrop-2.0.4.ebuild 3134 +RMD160 3a2a5bba87e2aea1cd3e122c60ab5f40c4bb591e maildrop-2.0.4.ebuild 3134 +SHA256 922d495713b844f363422e83e90c90f71d32e5cd593ab99ae3c5f5399347f9db maildrop-2.0.4.ebuild 3134 +MISC ChangeLog 16977 RMD160 e5a1071510ea21f09ab02141c9b5fe3aabec8936 SHA1 bf06eda13fdd513084f88aae367946aea1955bc0 SHA256 da179b4125cc9b2f024171ca5fab14eaae836d5cd1216f059a448fdeeaa6a90e +MD5 1ccc33b7e64bf5d152815708e44b714c ChangeLog 16977 +RMD160 e5a1071510ea21f09ab02141c9b5fe3aabec8936 ChangeLog 16977 +SHA256 da179b4125cc9b2f024171ca5fab14eaae836d5cd1216f059a448fdeeaa6a90e ChangeLog 16977 MISC metadata.xml 259 RMD160 ce66370016fba0ddf047802d9dc8463041b4a585 SHA1 9f7a04d0cab1654d39498db3f124fc755202adb7 SHA256 d0e8725b6ece5de6014dd4b18064854b993b1e3ab04d838370d7744756656ae5 MD5 2fc9863fa18fa7e25fedaa87a92a3c43 metadata.xml 259 RMD160 ce66370016fba0ddf047802d9dc8463041b4a585 metadata.xml 259 @@ -37,10 +42,13 @@ SHA256 78431eb9d4c6051cbab5179e262d754b4fea3883832c0630050dbbc1d19ee3f4 files/di 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 +MD5 6f18c60b27ea206ca248d1a57a5cfd11 files/digest-maildrop-2.0.4 250 +RMD160 8d6bd76c383093c16bb6859e56111728ba1b59c4 files/digest-maildrop-2.0.4 250 +SHA256 9b0b2c79f758315978db7627a85415130e8d80e211975efaafa68cd0d6cc6d7a files/digest-maildrop-2.0.4 250 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.3 (GNU/Linux) +Version: GnuPG v1.4.6 (GNU/Linux) -iD8DBQFF/MD46J2i8a8J4okRArHqAJ9BlnZg4to0Y/uPJAaJ/mxvedXRfACdFC80 -kJsZIfZ4RNc5Kc/Au3Dg7Ec= -=prWA +iD8DBQFGLRsdViELBEf1JB0RAveKAJ436ptleSZGftBSe0qdYPUbDsAYUgCghI/Y +Fby99m/kf0whxNZKr/hYrE0= +=/LDv -----END PGP SIGNATURE----- diff --git a/mail-filter/maildrop/files/digest-maildrop-2.0.4 b/mail-filter/maildrop/files/digest-maildrop-2.0.4 new file mode 100644 index 000000000000..7d35e4793713 --- /dev/null +++ b/mail-filter/maildrop/files/digest-maildrop-2.0.4 @@ -0,0 +1,3 @@ +MD5 6a760efe429716ab0be67a1ddc554ed7 maildrop-2.0.4.tar.bz2 2286125 +RMD160 9c0a349879cc0791ad01e5bae04b680de3a7a606 maildrop-2.0.4.tar.bz2 2286125 +SHA256 573032d6525ac7454377eb400372c363446bb3d9abd9249da9cf6676aef85671 maildrop-2.0.4.tar.bz2 2286125 diff --git a/mail-filter/maildrop/maildrop-2.0.4.ebuild b/mail-filter/maildrop/maildrop-2.0.4.ebuild new file mode 100644 index 000000000000..2c5256dcbfd2 --- /dev/null +++ b/mail-filter/maildrop/maildrop-2.0.4.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.4.ebuild,v 1.1 2007/04/23 20:46:08 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 && elog "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 +}