summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/maildrop/ChangeLog8
-rw-r--r--mail-filter/maildrop/Manifest5
-rw-r--r--mail-filter/maildrop/files/digest-maildrop-1.7.01
-rw-r--r--mail-filter/maildrop/files/maildrop-1.7.0-db3.patch207
-rw-r--r--mail-filter/maildrop/maildrop-1.7.0.ebuild103
5 files changed, 322 insertions, 2 deletions
diff --git a/mail-filter/maildrop/ChangeLog b/mail-filter/maildrop/ChangeLog
index e532ec0ff7c8..692e5d6267f0 100644
--- a/mail-filter/maildrop/ChangeLog
+++ b/mail-filter/maildrop/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for mail-filter/maildrop
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v 1.4 2004/07/18 15:40:36 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v 1.5 2004/08/05 19:54:48 slarti Exp $
+
+*maildrop-1.7.0 (05 Aug 2004)
+
+ 05 Aug 2004; Tom Martin <slarti@gentoo.org> +files/maildrop-1.7.0-db3.patch,
+ +maildrop-1.7.0.ebuild:
+ Version bump, thanks to all contributors in bug 34316.
07 Jun 2004; Aron Griffis <agriffis@gentoo.org> maildrop-1.5.2.ebuild,
maildrop-1.5.3-r1.ebuild, maildrop-1.5.3.ebuild:
diff --git a/mail-filter/maildrop/Manifest b/mail-filter/maildrop/Manifest
index 252d9755af08..5056c5e233b7 100644
--- a/mail-filter/maildrop/Manifest
+++ b/mail-filter/maildrop/Manifest
@@ -1,11 +1,14 @@
MD5 fb31c25d1d61faf8f4defab191ab24b4 maildrop-1.5.2.ebuild 2548
MD5 f8e475410c508e77c0cf9dc29cc47c4b maildrop-1.4.0-r1.ebuild 1634
+MD5 47cf3b98d69f288ca2f14ab68b71f55d maildrop-1.7.0.ebuild 2485
MD5 02359a95f5fd8598379aa92aee334f61 maildrop-1.5.3.ebuild 2525
MD5 4248dcfe4907ba9b2247bd2736b82513 maildrop-1.5.3-r1.ebuild 2467
-MD5 29190e52405a7afd3a4ba598827930a0 ChangeLog 5418
+MD5 c89e0a8a86aaa5e8f9671683882f29c1 ChangeLog 5612
MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
MD5 a0e238f4cd5c4a52dfb06754051b6dfe files/digest-maildrop-1.5.2 67
MD5 afbd9f7ee066fa84ac9efd57bce9f461 files/digest-maildrop-1.5.3 67
+MD5 5db4117db5eca1f36f1778625e85d190 files/digest-maildrop-1.7.0 68
+MD5 80d5477c591d4bfdea9a3e2295af3c8e files/maildrop-1.7.0-db3.patch 6935
MD5 953fc332e6ec019b91dba0b85d9745e9 files/digest-maildrop-1.4.0-r1 66
MD5 afbd9f7ee066fa84ac9efd57bce9f461 files/digest-maildrop-1.5.3-r1 67
MD5 c9c1f6d4020a5fd19162f20c537eb5cf files/maildroprc 58
diff --git a/mail-filter/maildrop/files/digest-maildrop-1.7.0 b/mail-filter/maildrop/files/digest-maildrop-1.7.0
new file mode 100644
index 000000000000..3dee98c621e4
--- /dev/null
+++ b/mail-filter/maildrop/files/digest-maildrop-1.7.0
@@ -0,0 +1 @@
+MD5 fa2dbbb84795e459db36ea0013f6f214 maildrop-1.7.0.tar.bz2 1209721
diff --git a/mail-filter/maildrop/files/maildrop-1.7.0-db3.patch b/mail-filter/maildrop/files/maildrop-1.7.0-db3.patch
new file mode 100644
index 000000000000..c649f85d106b
--- /dev/null
+++ b/mail-filter/maildrop/files/maildrop-1.7.0-db3.patch
@@ -0,0 +1,207 @@
+--- configure 2003-10-30 00:24:54.000000000 +0000
++++ configure 2004-03-14 20:47:39.382752947 +0000
+@@ -2914,13 +2914,13 @@
+
+ if test "$db" = ""
+ then
+- echo "$as_me:$LINENO: checking for dbopen in -ldb" >&5
+-echo $ECHO_N "checking for dbopen in -ldb... $ECHO_C" >&6
++ echo "$as_me:$LINENO: checking for dbopen in -ldb-3" >&5
++echo $ECHO_N "checking for dbopen in -ldb-3... $ECHO_C" >&6
+ if test "${ac_cv_lib_db_dbopen+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-ldb $LIBS"
++LIBS="-ldb-3 $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ /* confdefs.h. */
+@@ -2971,13 +2971,13 @@
+ if test $ac_cv_lib_db_dbopen = yes; then
+ :
+ else
+- echo "$as_me:$LINENO: checking for db_open in -ldb" >&5
+-echo $ECHO_N "checking for db_open in -ldb... $ECHO_C" >&6
++ echo "$as_me:$LINENO: checking for db_open in -ldb-3" >&5
++echo $ECHO_N "checking for db_open in -ldb-3... $ECHO_C" >&6
+ if test "${ac_cv_lib_db_db_open+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-ldb $LIBS"
++LIBS="-ldb-3 $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ /* confdefs.h. */
+@@ -3028,13 +3028,13 @@
+ if test $ac_cv_lib_db_db_open = yes; then
+ :
+ else
+- echo "$as_me:$LINENO: checking for db_env_create in -ldb" >&5
+-echo $ECHO_N "checking for db_env_create in -ldb... $ECHO_C" >&6
++ echo "$as_me:$LINENO: checking for db_env_create in -ldb-3" >&5
++echo $ECHO_N "checking for db_env_create in -ldb-3... $ECHO_C" >&6
+ if test "${ac_cv_lib_db_db_env_create+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-ldb $LIBS"
++LIBS="-ldb-3 $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ /* confdefs.h. */
+@@ -3483,13 +3483,13 @@
+ MAILBOT=mailbot
+ ;;
+ db)
+- echo "$as_me:$LINENO: checking for dbopen in -ldb" >&5
+-echo $ECHO_N "checking for dbopen in -ldb... $ECHO_C" >&6
++ echo "$as_me:$LINENO: checking for dbopen in -ldb-3" >&5
++echo $ECHO_N "checking for dbopen in -ldb-3... $ECHO_C" >&6
+ if test "${ac_cv_lib_db_dbopen+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-ldb $LIBS"
++LIBS="-ldb-3 $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ /* confdefs.h. */
+@@ -3538,15 +3538,15 @@
+ echo "$as_me:$LINENO: result: $ac_cv_lib_db_dbopen" >&5
+ echo "${ECHO_T}$ac_cv_lib_db_dbopen" >&6
+ if test $ac_cv_lib_db_dbopen = yes; then
+- LIBDB=-ldb ; LIBS="-ldb $LIBS"
++ LIBDB=-ldb-3 ; LIBS="-ldb-3 $LIBS"
+ else
+- echo "$as_me:$LINENO: checking for db_open in -ldb" >&5
+-echo $ECHO_N "checking for db_open in -ldb... $ECHO_C" >&6
++ echo "$as_me:$LINENO: checking for db_open in -ldb-3" >&5
++echo $ECHO_N "checking for db_open in -ldb-3... $ECHO_C" >&6
+ if test "${ac_cv_lib_db_db_open+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-ldb $LIBS"
++LIBS="-ldb-3 $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ /* confdefs.h. */
+@@ -3595,15 +3595,15 @@
+ echo "$as_me:$LINENO: result: $ac_cv_lib_db_db_open" >&5
+ echo "${ECHO_T}$ac_cv_lib_db_db_open" >&6
+ if test $ac_cv_lib_db_db_open = yes; then
+- LIBDB=-ldb ; LIBS="-ldb $LIBS"
++ LIBDB=-ldb-3 ; LIBS="-ldb-3 $LIBS"
+ else
+- echo "$as_me:$LINENO: checking for db_env_create in -ldb" >&5
+-echo $ECHO_N "checking for db_env_create in -ldb... $ECHO_C" >&6
++ echo "$as_me:$LINENO: checking for db_env_create in -ldb-3" >&5
++echo $ECHO_N "checking for db_env_create in -ldb-3... $ECHO_C" >&6
+ if test "${ac_cv_lib_db_db_env_create+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-ldb $LIBS"
++LIBS="-ldb-3 $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ /* confdefs.h. */
+@@ -3652,7 +3652,7 @@
+ echo "$as_me:$LINENO: result: $ac_cv_lib_db_db_env_create" >&5
+ echo "${ECHO_T}$ac_cv_lib_db_db_env_create" >&6
+ if test $ac_cv_lib_db_db_env_create = yes; then
+- LIBDB=-ldb; LIBS="-ldb $LIBS"
++ LIBDB=-ldb-3; LIBS="-ldb-3 $LIBS"
+ fi
+
+
+@@ -3891,8 +3891,8 @@
+
+ if test "$HAVE_BDB" != "1"
+ then
+- { { echo "$as_me:$LINENO: error: GDBM library not found" >&5
+-echo "$as_me: error: GDBM library not found" >&2;}
++ { { echo "$as_me:$LINENO: error: DB library not found" >&5
++echo "$as_me: error: DB library not found" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+ MAILBOT=mailbot
+--- bdbobj/configure 2003-04-24 06:30:09.000000000 +0100
++++ bdbobj/configure 2004-03-14 20:42:13.012527928 +0000
+@@ -3892,13 +3892,13 @@
+
+
+ saveLIBS="$LIBS"
+-echo "$as_me:$LINENO: checking for dbopen in -ldb" >&5
+-echo $ECHO_N "checking for dbopen in -ldb... $ECHO_C" >&6
++echo "$as_me:$LINENO: checking for dbopen in -ldb-3" >&5
++echo $ECHO_N "checking for dbopen in -ldb-3... $ECHO_C" >&6
+ if test "${ac_cv_lib_db_dbopen+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-ldb $LIBS"
++LIBS="-ldb-3 $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ /* confdefs.h. */
+@@ -3947,15 +3947,15 @@
+ echo "$as_me:$LINENO: result: $ac_cv_lib_db_dbopen" >&5
+ echo "${ECHO_T}$ac_cv_lib_db_dbopen" >&6
+ if test $ac_cv_lib_db_dbopen = yes; then
+- LIBDB=-ldb ; LIBS="-ldb $LIBS"
++ LIBDB=-ldb-3 ; LIBS="-ldb-3 $LIBS"
+ else
+- echo "$as_me:$LINENO: checking for db_open in -ldb" >&5
+-echo $ECHO_N "checking for db_open in -ldb... $ECHO_C" >&6
++ echo "$as_me:$LINENO: checking for db_open in -ldb-3" >&5
++echo $ECHO_N "checking for db_open in -ldb-3... $ECHO_C" >&6
+ if test "${ac_cv_lib_db_db_open+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-ldb $LIBS"
++LIBS="-ldb-3 $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ /* confdefs.h. */
+@@ -4004,7 +4004,7 @@
+ echo "$as_me:$LINENO: result: $ac_cv_lib_db_db_open" >&5
+ echo "${ECHO_T}$ac_cv_lib_db_db_open" >&6
+ if test $ac_cv_lib_db_db_open = yes; then
+- LIBDB=-ldb ; LIBS="-ldb $LIBS"
++ LIBDB=-ldb-3 ; LIBS="-ldb-3 $LIBS"
+ else
+ echo "$as_me:$LINENO: checking for db_env_create in -ldb" >&5
+ echo $ECHO_N "checking for db_env_create in -ldb... $ECHO_C" >&6
+@@ -4012,7 +4012,7 @@
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-ldb $LIBS"
++LIBS="-ldb-3 $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ /* confdefs.h. */
+@@ -4061,7 +4061,7 @@
+ echo "$as_me:$LINENO: result: $ac_cv_lib_db_db_env_create" >&5
+ echo "${ECHO_T}$ac_cv_lib_db_db_env_create" >&6
+ if test $ac_cv_lib_db_db_env_create = yes; then
+- LIBDB=-ldb; LIBS="-ldb $LIBS"
++ LIBDB=-ldb-3; LIBS="-ldb-3 $LIBS"
+ fi
+
+
+--- bdbobj/bdbobj.h 1999-12-06 13:13:46.000000000 +0000
++++ bdbobj/bdbobj.h 2004-03-14 20:32:29.672154565 +0000
+@@ -18,7 +18,7 @@
+ #include <limits.h>
+ #endif
+
+-#include <db.h>
++#include <db3/db.h>
+ #include <stdlib.h>
+
+ #ifdef __cplusplus
diff --git a/mail-filter/maildrop/maildrop-1.7.0.ebuild b/mail-filter/maildrop/maildrop-1.7.0.ebuild
new file mode 100644
index 000000000000..df64ac536660
--- /dev/null
+++ b/mail-filter/maildrop/maildrop-1.7.0.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-1.7.0.ebuild,v 1.1 2004/08/05 19:54:48 slarti 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 ~alpha ~amd64"
+
+DEPEND="dev-lang/perl
+ virtual/mta
+ berkdb? ( =sys-libs/db-3* )
+ gdbm? ( >=sys-libs/gdbm-1.8.0 )
+ mysql? ( >=dev-db/mysql-3.23.51 )
+ ldap? ( >=net-nds/openldap-2.0.23 )"
+PROVIDE="virtual/mda"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/maildrop-1.7.0-db3.patch
+}
+
+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 gdbm; then
+ myconf="${myconf} --with-db=gdbm \
+ --enable-userdb"
+ elif use berkdb; then
+ myconf="${myconf} --with-db=db \
+ --enable-userdb"
+ else
+ myconf="${myconf} --without-db"
+ 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='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
+}
+