diff options
author | Jared H.Hudson <jhhudso@gentoo.org> | 2002-09-06 04:18:09 +0000 |
---|---|---|
committer | Jared H.Hudson <jhhudso@gentoo.org> | 2002-09-06 04:18:09 +0000 |
commit | 5a5be7943a8592b56d8ad5a885918a8ea58e817c (patch) | |
tree | 70e9a51ea5ddc769095233e32ec2e6933cf127be /net-mail/maildrop | |
parent | new version (diff) | |
download | historical-5a5be7943a8592b56d8ad5a885918a8ea58e817c.tar.gz historical-5a5be7943a8592b56d8ad5a885918a8ea58e817c.tar.bz2 historical-5a5be7943a8592b56d8ad5a885918a8ea58e817c.zip |
Added DEPEND support for virtual/mta and PROVIDE support for virtual/mda
Diffstat (limited to 'net-mail/maildrop')
-rw-r--r-- | net-mail/maildrop/ChangeLog | 9 | ||||
-rw-r--r-- | net-mail/maildrop/files/digest-maildrop-1.4.0-r1 | 1 | ||||
-rw-r--r-- | net-mail/maildrop/maildrop-1.4.0-r1.ebuild | 64 |
3 files changed, 73 insertions, 1 deletions
diff --git a/net-mail/maildrop/ChangeLog b/net-mail/maildrop/ChangeLog index 6ea101af480d..02ecb07acd50 100644 --- a/net-mail/maildrop/ChangeLog +++ b/net-mail/maildrop/ChangeLog @@ -1,7 +1,14 @@ # ChangeLog for net-mail/maildrop # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-mail/maildrop/ChangeLog,v 1.6 2002/08/20 01:19:57 raker Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/maildrop/ChangeLog,v 1.7 2002/09/06 04:18:09 jhhudso Exp $ +*maildrop-1.4.0-r1 (5 Sep 2002) + + 5 Sep 2002; Jared H. Hudson <jhhudso@gentoo.org> maildrop-1.4.0-r1.ebuild : + Added dependency checking for virtual/mta and made maildrop provide + virtual/mda. Thanks to Eric Renfro <psi-jack@myrealbox.com> for suggesting + these improvements in bug #6806. + *maildrop-1.4.0 (24 Jun 2002) 19 Aug 2002; Nick Hadaway <raker@gentoo.org> maildrop-1.4.0.ebuild : diff --git a/net-mail/maildrop/files/digest-maildrop-1.4.0-r1 b/net-mail/maildrop/files/digest-maildrop-1.4.0-r1 new file mode 100644 index 000000000000..d3c39d7fd81d --- /dev/null +++ b/net-mail/maildrop/files/digest-maildrop-1.4.0-r1 @@ -0,0 +1 @@ +MD5 7a2ad503be8d0bb6bbeb4a0422f4eb45 maildrop-1.4.0.tar.gz 638305 diff --git a/net-mail/maildrop/maildrop-1.4.0-r1.ebuild b/net-mail/maildrop/maildrop-1.4.0-r1.ebuild new file mode 100644 index 000000000000..fc11ba43f04a --- /dev/null +++ b/net-mail/maildrop/maildrop-1.4.0-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-mail/maildrop/maildrop-1.4.0-r1.ebuild,v 1.1 2002/09/06 04:18:09 jhhudso Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Mail delivery agent/filter" +SRC_URI="mirror://sourceforge/courier/${P}.tar.gz" +HOMEPAGE="http://www.flounder.net/~mrsam/maildrop/index.html" + +DEPEND=">=sys-libs/gdbm-1.8.0 + sys-devel/perl + virtual/mta" + +PROVIDE="virtual/mda" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 sparc sparc64" + +src_compile() { + # These next two lines are a MUST! If tries to unroll the loops in + # CFLAGS or CXXFLAGS maildrop will not compile :-( <lamer@gentoo.org> + export CFLAGS="${CFLAGS/-funroll-loops/}" + export CXXFLAGS="${CXXFLAGS/-funroll-loops/}" + ./configure \ + --prefix=/usr \ + --with-devel \ + --enable-userdb \ + --disable-tempdir \ + --enable-syslog=1 \ + --enable-use-flock=1 \ + --enable-maildirquota \ + --enable-use-dotlock=1 \ + --mandir=/usr/share/man \ + --with-etcdir=/etc/maildrop \ + --with-default-maildrop=./.maildir/ \ + --enable-sendmail=/usr/sbin/sendmail \ + --host=${CHOST} || die "bad ./configure" + + emake || die "compile problem" +} + +src_install() { + local i + make DESTDIR=${D} install || die + + dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README \ + README.postfix UPGRADE + mv ${D}/usr/share/maildrop/html ${D}/usr/share/doc/${PF} + dohtml {INSTALL,README,UPGRADE}.html + + # this just cleans up /usr/share/maildrop a little bit.. + for i in makedat makeuserdb pw2userdb userdb userdbpw vchkpw2userdb + do + rm -f ${D}/usr/bin/$i + mv -f ${D}/usr/share/maildrop/scripts/$i \ + ${D}/usr/share/maildrop + dosym /usr/share/maildrop/$i /usr/bin/$i + done + rm -rf ${D}/usr/share/maildrop/scripts + + insinto /etc/maildrop + doins ${FILESDIR}/maildroprc +} |