summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared H.Hudson <jhhudso@gentoo.org>2003-07-09 08:21:33 +0000
committerJared H.Hudson <jhhudso@gentoo.org>2003-07-09 08:21:33 +0000
commitd174b6654d46f989917c0b6a36b2df176ac87a3c (patch)
treeb778324eeb5e1eb25743f172cc455756842c1061 /net-mail
parentVersion bump. (diff)
downloadgentoo-2-d174b6654d46f989917c0b6a36b2df176ac87a3c.tar.gz
gentoo-2-d174b6654d46f989917c0b6a36b2df176ac87a3c.tar.bz2
gentoo-2-d174b6654d46f989917c0b6a36b2df176ac87a3c.zip
Version bump.
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/maildrop/ChangeLog5
-rw-r--r--net-mail/maildrop/Manifest5
-rw-r--r--net-mail/maildrop/files/digest-maildrop-1.5.31
-rw-r--r--net-mail/maildrop/maildrop-1.5.3.ebuild94
4 files changed, 101 insertions, 4 deletions
diff --git a/net-mail/maildrop/ChangeLog b/net-mail/maildrop/ChangeLog
index 93a478812d55..44b54c148a88 100644
--- a/net-mail/maildrop/ChangeLog
+++ b/net-mail/maildrop/ChangeLog
@@ -1,7 +1,10 @@
# ChangeLog for net-mail/maildrop
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/maildrop/ChangeLog,v 1.20 2003/06/12 02:21:57 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/maildrop/ChangeLog,v 1.21 2003/07/09 08:21:27 jhhudso Exp $
+*maildrop-1.5.3 (09 Jul 2003)
+ 09 Jul 2003; Jared Hudson <jhhudso@gentoo.org> : Version bump.
+
*maildir-1.5.2 (14 Feb 2003)
11 Jun 2003; Robin Johnson <robbat2@gentoo.org> maildrop-1.5.2.ebuild:
diff --git a/net-mail/maildrop/Manifest b/net-mail/maildrop/Manifest
index 89d59ae8940a..b54d6cb8ab63 100644
--- a/net-mail/maildrop/Manifest
+++ b/net-mail/maildrop/Manifest
@@ -1,7 +1,6 @@
-MD5 f9f0183aa4d8c2db90614d69841271db ChangeLog 3977
+MD5 9f6793c5f87bf19c06f45ebfaa11a98f ChangeLog 4074
MD5 9d8eada46e12b4725b47e02f548da7ec maildrop-1.4.0-r1.ebuild 1651
-MD5 687dc84805729551cc63cfb617edfb26 maildrop-1.5.3.ebuild 2576
-MD5 a91c072782e205ff5664c5f0d3755e0b maildrop-1.5.3.ebuild~ 2577
+MD5 bb4b18e519d95843448386ca00b3554b maildrop-1.5.3.ebuild 2576
MD5 191c67615c74e0bceea7d00391fc857a maildrop-1.5.2.ebuild 2561
MD5 afbd9f7ee066fa84ac9efd57bce9f461 files/digest-maildrop-1.5.3 67
MD5 953fc332e6ec019b91dba0b85d9745e9 files/digest-maildrop-1.4.0-r1 66
diff --git a/net-mail/maildrop/files/digest-maildrop-1.5.3 b/net-mail/maildrop/files/digest-maildrop-1.5.3
new file mode 100644
index 000000000000..019de69a27d9
--- /dev/null
+++ b/net-mail/maildrop/files/digest-maildrop-1.5.3
@@ -0,0 +1 @@
+MD5 6c7d95b2af87ae471b4447d368e97bd4 maildrop-1.5.3.tar.bz2 632313
diff --git a/net-mail/maildrop/maildrop-1.5.3.ebuild b/net-mail/maildrop/maildrop-1.5.3.ebuild
new file mode 100644
index 000000000000..2b61ef9f554a
--- /dev/null
+++ b/net-mail/maildrop/maildrop-1.5.3.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2003 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.3.ebuild,v 1.1 2003/07/09 08:21:27 jhhudso Exp $
+
+IUSE="mysql ldap gdbm berkdb"
+
+inherit flag-o-matic
+filter-flags -funroll-loops
+filter-flags -fomit-frame-pointer
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Mail delivery agent/filter"
+HOMEPAGE="http://www.flounder.net/~mrsam/maildrop/index.html"
+SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ~sparc"
+
+DEPEND="dev-lang/perl
+ virtual/mta
+ berkdb? ( >=sys-libs/db-3.2 )
+ gdbm? ( >=sys-libs/gdbm-1.8.0 )
+ mysql? ( >=dev-db/mysql-3.23.51 )
+ ldap? ( >=net-nds/openldap-2.0.23 )"
+RDEPEND="$DEPEND"
+PROVIDE="virtual/mda"
+
+src_compile() {
+ local myconf
+ use mysql \
+ && myconf="${myconf} --enable-maildropmysql \
+ --with-mysqlconfig=/etc/maildrop/maildropmysql.cf" \
+ || myconf="${myconf} --disable-maildropmysql"
+
+ use ldap \
+ && myconf="${myconf} --enable-maildropldap \
+ --with-ldapconfig=/etc/maildrop/maildropldap.cf" \
+ || myconf="${myconf} --disable-maildropldap"
+
+ if use berkdb; then
+ myconf="${myconf} --with-db=db"
+ elif use gdbm; then
+ myconf="${myconf} --with-db=gdbm"
+ fi
+
+ econf \
+ --with-devel \
+ --enable-userdb \
+ --disable-tempdir \
+ --enable-syslog=1 \
+ --enable-use-flock=1 \
+ --enable-maildirquota \
+ --enable-use-dotlock=1 \
+ --enable-restrict-trusted=1 \
+ --enable-trusted-users='root mail daemon postmaster qmaild mmdf vmail' \
+ --with-default-maildrop=./.maildir/ \
+ --enable-sendmail=/usr/sbin/sendmail \
+ ${myconf} || die
+
+ emake || die "compile problem"
+}
+
+src_install() {
+ local i
+ make DESTDIR=${D} install || die
+
+ dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README \
+ README.postfix UPGRADE maildroptips.txt
+ 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
+ doins ${FILESDIR}/maildroprc
+
+ insinto /etc/maildrop
+ if [ -n "`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
+}