diff options
author | Nick Hadaway <raker@gentoo.org> | 2003-01-01 21:25:27 +0000 |
---|---|---|
committer | Nick Hadaway <raker@gentoo.org> | 2003-01-01 21:25:27 +0000 |
commit | 7cab8d0dc525741e2f145094b57ae8961720a92e (patch) | |
tree | 3a0b3c97d22719f653cae12e5b0f0996ce1a7865 /net-mail | |
parent | Marked stable. (diff) | |
download | historical-7cab8d0dc525741e2f145094b57ae8961720a92e.tar.gz historical-7cab8d0dc525741e2f145094b57ae8961720a92e.tar.bz2 historical-7cab8d0dc525741e2f145094b57ae8961720a92e.zip |
Version bump.
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/maildrop/ChangeLog | 8 | ||||
-rw-r--r-- | net-mail/maildrop/files/digest-maildrop-1.5.1 | 1 | ||||
-rw-r--r-- | net-mail/maildrop/maildrop-1.5.1.ebuild | 91 |
3 files changed, 99 insertions, 1 deletions
diff --git a/net-mail/maildrop/ChangeLog b/net-mail/maildrop/ChangeLog index 4efba64aa8c1..0cb7aa2c509b 100644 --- a/net-mail/maildrop/ChangeLog +++ b/net-mail/maildrop/ChangeLog @@ -1,6 +1,12 @@ # 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.14 2002/12/21 22:19:56 raker Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/maildrop/ChangeLog,v 1.15 2003/01/01 21:25:27 raker Exp $ + +*maildrop-1.5.1 (01 Jan 2002) + + 01 Jan 2002; Nick Hadaway <raker@gentoo.org> maildrop-1.5.1.ebuild, + files/digest-maildrop-1.5.1 : + Version bump. 21 Dec 2002; Nick Hadaway <raker@gentoo.org> maildrop-*.ebuild : Updated all maildrop ebuilds to filter -fomit-frame-pointer and diff --git a/net-mail/maildrop/files/digest-maildrop-1.5.1 b/net-mail/maildrop/files/digest-maildrop-1.5.1 new file mode 100644 index 000000000000..6c5dac052444 --- /dev/null +++ b/net-mail/maildrop/files/digest-maildrop-1.5.1 @@ -0,0 +1 @@ +MD5 1baeca6c54afd0f77cc633fb2b17c6c4 maildrop-1.5.1.tar.bz2 615190 diff --git a/net-mail/maildrop/maildrop-1.5.1.ebuild b/net-mail/maildrop/maildrop-1.5.1.ebuild new file mode 100644 index 000000000000..d57dd8dc33d5 --- /dev/null +++ b/net-mail/maildrop/maildrop-1.5.1.ebuild @@ -0,0 +1,91 @@ +# 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.1.ebuild,v 1.1 2003/01/01 21:25:27 raker Exp $ + +IUSE="mysql ldap gdbm berkdb" + +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-devel/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 )" +PROVIDE="virtual/mda" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~sparc" + +inherit flag-o-matic +filter-flags -funroll-loops +filter-flags -fomit-frame-pointer + +src_compile() { + + local myconf + use mysql && myconf="${myconf} --enable-maildropmysql --with-mysqlconfig=/etc/maildrop/maildropmysql.cf" + use ldap && myconf="${myconf} --enable-maildropldap --with-ldapconfig=/etc/maildrop/maildropldap.cf" + if use berkdb; then + myconf="${myconf} --with-db=db" + elif use gdbm; then + myconf="${myconf} --with-db=gdbm" + fi + + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --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' \ + --mandir=/usr/share/man \ + --with-etcdir=/etc \ + --with-default-maildrop=./.maildir/ \ + --enable-sendmail=/usr/sbin/sendmail \ + ${myconf} || 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 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/maildrop + doins ${FILESDIR}/maildroprc + + if [ -n "`use mysql`" ] + then + cp ${S}/maildropmysql.config ${S}/maildropmysql.cf + 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 +} |