diff options
author | Fernando J. Pereda <ferdy@gentoo.org> | 2005-03-10 18:25:40 +0000 |
---|---|---|
committer | Fernando J. Pereda <ferdy@gentoo.org> | 2005-03-10 18:25:40 +0000 |
commit | 26ae424e3c59ef75b5e7de9befd7868273a3c147 (patch) | |
tree | 265b3360a8f5cf1eb86070ec009964c0d3dabe03 /mail-filter | |
parent | added ~amd64 to KEYWORDS, fixes #77280 (diff) | |
download | gentoo-2-26ae424e3c59ef75b5e7de9befd7868273a3c147.tar.gz gentoo-2-26ae424e3c59ef75b5e7de9befd7868273a3c147.tar.bz2 gentoo-2-26ae424e3c59ef75b5e7de9befd7868273a3c147.zip |
ebuild cleanup wrt #84684. Thanks to Diego Pettenò <dgp85@users.sourceforge.net>
(Portage version: 2.0.51.19)
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/maildrop/ChangeLog | 9 | ||||
-rw-r--r-- | mail-filter/maildrop/Manifest | 14 | ||||
-rw-r--r-- | mail-filter/maildrop/files/digest-maildrop-1.8.0-r3 | 1 | ||||
-rw-r--r-- | mail-filter/maildrop/maildrop-1.8.0-r3.ebuild | 115 |
4 files changed, 127 insertions, 12 deletions
diff --git a/mail-filter/maildrop/ChangeLog b/mail-filter/maildrop/ChangeLog index ab443be4ab8f..3348bf5cd6a3 100644 --- a/mail-filter/maildrop/ChangeLog +++ b/mail-filter/maildrop/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for mail-filter/maildrop # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v 1.22 2005/02/16 09:13:58 ferdy Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v 1.23 2005/03/10 18:25:40 ferdy Exp $ + +*maildrop-1.8.0-r3 (10 Mar 2005) + + 10 Mar 2005; Fernando J. Pereda <ferdy@gentoo.org> + +maildrop-1.8.0-r3.ebuild: + ebuild cleanup wrt #84684. Thanks to Diego Pettenò + <dgp85@users.sourceforge.net> *maildrop-1.8.0-r2 (16 Feb 2005) diff --git a/mail-filter/maildrop/Manifest b/mail-filter/maildrop/Manifest index c7b71973c28a..26259ee0b534 100644 --- a/mail-filter/maildrop/Manifest +++ b/mail-filter/maildrop/Manifest @@ -1,16 +1,14 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 82c63c5d17a6b106d8d5b68f9998d2e6 maildrop-1.7.0.20040907.ebuild 3110 MD5 9e67ce523864322ba8e622f5312b066c maildrop-1.5.2.ebuild 2531 MD5 9450abd9af48a08d64cc44ae9896e9f3 maildrop-1.8.0-r1.ebuild 3094 MD5 3e1454badff95e0e8a01a24260f77a06 maildrop-1.4.0-r1.ebuild 1617 MD5 5f8fb2e1e1e2e6941232e47f31d1520c maildrop-1.7.0.ebuild 2580 +MD5 8b293059d569b2330bc0dd7b445898af maildrop-1.8.0-r3.ebuild 3201 MD5 e02bab1f875ba079e6e5d2ad5d267851 maildrop-1.8.0.ebuild 3322 MD5 288de83476470795423e4631cb9c6abf maildrop-1.5.3.ebuild 2508 MD5 e42d4d7c6fe30f0bef7229527f2da340 maildrop-1.7.0-r2.ebuild 3296 MD5 d7d4dcd6aaeea931bfcdfb353611c171 maildrop-1.5.3-r1.ebuild 2432 -MD5 85dd3182b93a09b4e547d28daeb2c860 ChangeLog 8838 +MD5 0356aaba5b01c53a5c8d371ac00f256e ChangeLog 9040 MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161 MD5 8a32128755e871bc9134651be6f208a1 maildrop-1.8.0-r2.ebuild 3177 MD5 88b7f06e9f2d03007db22e431920e29c maildrop-1.7.0.20040907-r1.ebuild 3246 @@ -26,14 +24,8 @@ MD5 5db4117db5eca1f36f1778625e85d190 files/digest-maildrop-1.7.0-r2 68 MD5 72eeead0d2cb72de0ee2571af5c63bd5 files/maildrop-1.7.0-db4-configure.in.patch 1290 MD5 eb7acda28529a85c74150a140f143d75 files/digest-maildrop-1.8.0-r1 68 MD5 eb7acda28529a85c74150a140f143d75 files/digest-maildrop-1.8.0-r2 68 +MD5 eb7acda28529a85c74150a140f143d75 files/digest-maildrop-1.8.0-r3 68 MD5 c9c1f6d4020a5fd19162f20c537eb5cf files/maildroprc 58 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 2f8014fea76e32d9bb682d00ee5ce7c7 files/maildrop-1.8.0-db4.patch 2501 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.0 (GNU/Linux) - -iD8DBQFCEw7hViELBEf1JB0RAhaNAJ95Vvn/SjY568T2rVWmTX/8PbWKEACfbYNv -5bweUrbXrNWV9hCE/pCP3e4= -=tYsv ------END PGP SIGNATURE----- diff --git a/mail-filter/maildrop/files/digest-maildrop-1.8.0-r3 b/mail-filter/maildrop/files/digest-maildrop-1.8.0-r3 new file mode 100644 index 000000000000..70344e5442cc --- /dev/null +++ b/mail-filter/maildrop/files/digest-maildrop-1.8.0-r3 @@ -0,0 +1 @@ +MD5 caf59c78d6689b4cfba98d979af63407 maildrop-1.8.0.tar.bz2 2013203 diff --git a/mail-filter/maildrop/maildrop-1.8.0-r3.ebuild b/mail-filter/maildrop/maildrop-1.8.0-r3.ebuild new file mode 100644 index 000000000000..4a92c695f407 --- /dev/null +++ b/mail-filter/maildrop/maildrop-1.8.0-r3.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-1.8.0-r3.ebuild,v 1.1 2005/03/10 18:25:40 ferdy Exp $ + +inherit eutils gnuconfig + +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/courier/${P%%_pre}.tar.bz2" +HOMEPAGE="http://www.courier-mta.org/maildrop/" +S="${WORKDIR}/${P%%_pre}" + +SLOT="0" +LICENSE="GPL-2" +# not in keywords due to missing dependencies: ~arm ~s390 ~ppc64 +KEYWORDS="~x86 ~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc" +IUSE="mysql ldap gdbm berkdb uclibc debug postgres" + +PROVIDE="virtual/mda" + +DEPEND="gdbm? ( >=sys-libs/gdbm-1.8.0 ) + !gdbm? ( berkdb? ( >=sys-libs/db-3* ) ) + mysql? ( net-libs/courier-authlib ) + postgres? ( net-libs/courier-authlib ) + ldap? ( net-libs/courier-authlib )" + +RDEPEND="${DEPEND} + dev-lang/perl" + +src_unpack() { + unpack ${A} + cd ${S} + use uclibc && sed -i -e 's:linux-gnu\*:linux-gnu\*\ \|\ linux-uclibc:' config.sub + if use gdbm ; then + use berkdb && einfo "Both gdbm and berkdb selected. Using gdbm." + else + if use berkdb ; then + epatch ${FILESDIR}/maildrop-1.8.0-db4.patch \ + || die "patch failed." + export WANT_AUTOCONF="2.5" + gnuconfig_update + libtoolize --copy --force + ebegin "Recreating configure." + autoconf || die "recreate configure failed." + eend $? + cd ${S}/bdbobj + libtoolize --copy --force + ebegin "Recreating configure in bdbobj." + autoconf || die "recreate configure failed." + eend $? + else + einfo "Building without database support" + fi + fi +} + +src_compile() { + local myconf + + if use gdbm ; then + myconf="${myconf} --with-db=gdbm" + else + [ use berkdb ] && myconf="${myconf} --with-db=db" || \ + myconf="${myconf} --without-db" + fi + + if ! use mysql && ! use postgres && ! use ldap ; then + myconf="${myconf} --disable-authlib" + fi + + econf \ + --with-devel \ + --disable-tempdir \ + --enable-syslog=1 \ + --enable-use-flock=1 \ + --enable-maildirquota \ + --enable-use-dotlock=1 \ + --enable-restrict-trusted=1 \ + --enable-trusted-users='apache dspam root mail daemon postmaster qmaild mmdf vmail' \ + --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 + + insinto /etc/maildrop + if use mysql + then + sed -e "s:/var/lib/mysql/mysql.sock:/var/run/mysqld/mysqld.sock:" \ + ${S}/maildropmysql.config > ${S}/maildropmysql.cf + newins ${S}/maildropmysql.cf maildropmysql.cf + fi + use ldap && newins ${S}/maildropldap.config maildropldap.cf +} |