# 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.8 2002/09/12 14:43:26 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/maildrop/ChangeLog,v 1.9 2002/10/27 08:27:29 woodchip Exp $
+
+*maildrop-1.5.0 (27 Oct 2002)
+
+ 27 Oct 2002; Donny Davies <woodchip@gentoo.org> : Chase latest release.
+ Downloads .bz2 instead of .gz.
*maildrop-1.4.0-r1 (5 Sep 2002)
*maildrop-1.3.9-r1 (23 Jun 2002)
23 Jun 2002; Ben Lutgens <lamer@gentoo.org> :
-
I'm explicitly stripping out -funroll-loops cause it's causing maildrop
to not compile.
*maildrop-1.3.8-r1 (2 May 2002)
2 May 2002; Donny Davies <woodchip@gentoo.org> :
-
Zap -fomit-frame-pointer and -ffast-math from CFLAGS if present.
*maildrop-1.3.8 (1 May 2002)
1 May 2002; Donny Davies <woodchip@gentoo.org> maildrop-1.3.8.ebuild,
- files/maildroprc :
-
- Updated to latest release, added a system default maildroprc file,
- added the documentation, added the development files, cleaned up
- the /usr/share/maildrop dir, added SLOT and LICENSE.
+ files/maildroprc : Updated to latest release, added a system default
+ maildroprc file, added the documentation, added the development files,
+ cleaned up the /usr/share/maildrop dir, added SLOT and LICENSE.
*maildrop-1.3.6 (1 Feb 2002)
1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
-
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
--- /dev/null
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/maildrop/maildrop-1.5.0.ebuild,v 1.1 2002/10/27 08:27:29 woodchip Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Mail delivery agent/filter"
+SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
+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 \
+ --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
+}