From 77d0121d3bf3eb5ec74e7b2a24c8abf054e3b397 Mon Sep 17 00:00:00 2001 From: Tim Harder Date: Sun, 23 Oct 2011 20:16:39 +0000 Subject: [PATCH] Remove old. Package-Manager: portage-2.2.0_alpha70/cvs/Linux x86_64 --- mail-filter/maildrop/ChangeLog | 7 +- mail-filter/maildrop/Manifest | 24 ++-- .../maildrop/files/maildrop-2.2.0-db4.patch | 67 ---------- mail-filter/maildrop/maildrop-2.4.2-r1.ebuild | 117 ------------------ mail-filter/maildrop/maildrop-2.4.2.ebuild | 111 ----------------- mail-filter/maildrop/maildrop-2.5.1.ebuild | 113 ----------------- mail-filter/maildrop/maildrop-2.5.3.ebuild | 115 ----------------- 7 files changed, 16 insertions(+), 538 deletions(-) delete mode 100644 mail-filter/maildrop/files/maildrop-2.2.0-db4.patch delete mode 100644 mail-filter/maildrop/maildrop-2.4.2-r1.ebuild delete mode 100644 mail-filter/maildrop/maildrop-2.4.2.ebuild delete mode 100644 mail-filter/maildrop/maildrop-2.5.1.ebuild delete mode 100644 mail-filter/maildrop/maildrop-2.5.3.ebuild diff --git a/mail-filter/maildrop/ChangeLog b/mail-filter/maildrop/ChangeLog index c27a130fa89d..014594d51b05 100644 --- a/mail-filter/maildrop/ChangeLog +++ b/mail-filter/maildrop/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for mail-filter/maildrop # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v 1.121 2011/10/11 19:28:28 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v 1.122 2011/10/23 20:16:39 radhermit Exp $ + + 23 Oct 2011; Tim Harder + -files/maildrop-2.2.0-db4.patch, -maildrop-2.4.2.ebuild, + -maildrop-2.4.2-r1.ebuild, -maildrop-2.5.1.ebuild, -maildrop-2.5.3.ebuild: + Remove old. 11 Oct 2011; Jeroen Roovers maildrop-2.5.4.ebuild: Stable for HPPA (bug #376563). diff --git a/mail-filter/maildrop/Manifest b/mail-filter/maildrop/Manifest index 62a692e27760..d85f0f4af5ff 100644 --- a/mail-filter/maildrop/Manifest +++ b/mail-filter/maildrop/Manifest @@ -1,27 +1,23 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA512 AUX maildrop-1.8.1-disable-fam.patch 2511 RMD160 3fc7bf21d425c6e676475458c99a5ed2d4e93469 SHA1 7b6148b485bbc0379fa849a8af2706b93ea22432 SHA256 e4621bbe990d7a90d703e7a8b8cf07bb59655a22a96e62c275352d28c79684a3 -AUX maildrop-2.2.0-db4.patch 2509 RMD160 15d213da460130f30cdfae26686883f127dd20c9 SHA1 2a46020bd957c198306acbb695d9b92ac3c48282 SHA256 d42b04c4d8557d2c82f9dea6f176b3cd935c839bcc2ccc2212f0356cf42edecb AUX maildrop-2.5.1-db.patch 2498 RMD160 c39895d8df8cad8fa1a5a82657d115bb950c30af SHA1 1c7f5a3c1eae47186684a6833b3653710119bccb SHA256 9740a68669d31e7b7a234f0ddeec8604bd72dff63006ebd98018e955d94d5f8c AUX maildrop-2.5.4-reformime.patch 1066 RMD160 789fa7c527e736b4b66fdbaa9299496920317e0c SHA1 eb573520a272b54abfbc100a0c390ee1c426eaf4 SHA256 fc4877c7df306b3fe4df10209a3d4879c05fa4216da998e9f00cb3ec99177e52 AUX maildrop-testsuite.patch 2141 RMD160 3011d0fcef89cb5ca1b2e566c85b3f95a0daee5b SHA1 b7002eb05132a6dde2e5561f3437f59f5fdd0322 SHA256 ab1fc5d152bf59a1063ea51a3a25e68b0ba096c6a8842fddb7d9f2fd735c3ec2 AUX maildroprc 58 RMD160 1d53d6c05cb809bb9d637ae347d9dee1362f1b09 SHA1 a2fd605991606a3bf89296f2d3f3a5f7a7327aba SHA256 2feec7b63d9b3fae442ddab96810929ce4080871c31a1f23401cd3b61d00add1 -DIST maildrop-2.4.2.tar.bz2 2413925 RMD160 8f7a93ab242ea83f7c9cc07abd13c0e3acae52f0 SHA1 191f580cc05a4935d9061514017713f025437c73 SHA256 e020bfebb8287ff81f9d8668e871c3c252c0e6f2a7d3c5ec21e8377131635303 -DIST maildrop-2.5.1.tar.bz2 2422151 RMD160 0ff5483790e10cc0a4658278c1154b82f2533d03 SHA1 0d44027e4a19195ab92fbb2d4b3480058690882e SHA256 3bf0d63345b5736b82720fdf0ef1b975b502749c9aed968cae4a51e1d2c3e1e9 -DIST maildrop-2.5.3.tar.bz2 2082338 RMD160 412f95503013b6745ec0e4ff98815149b0d3fb04 SHA1 cb1d82264a0d1afe6bfb8745605017864bcc135e SHA256 460cfd948d3cca0f47b55c0570a6c0827a541b371de90228f994f666109e1e65 DIST maildrop-2.5.4.tar.bz2 2082167 RMD160 a71c08fc2951dd122740870186693ac112e59ebd SHA1 6d9514bb1df207a2036779e14e4f0ea350f5d1ee SHA256 7621b4aede007d478dbd8bf88216e0289c18beddd36bbf429e85e3e66ca9e002 -EBUILD maildrop-2.4.2-r1.ebuild 3150 RMD160 8c362e9cb8e4092301b4d157df223e4de43cd74c SHA1 9c75f5bc2148a87d41f314305d5d84e768ad02c3 SHA256 d229ac945014070fdcaf06f9237755c5ca61f1b52bfbb1f66646483217dbb91f -EBUILD maildrop-2.4.2.ebuild 2843 RMD160 949aa62027ded33663700dea267b60c3e9094f37 SHA1 04a8fe51df3bccd3cc21381a1785f34633721d00 SHA256 3780da207704b88d6fe75e049aa34a3746bded8a328427dabc2e1d20961686e8 -EBUILD maildrop-2.5.1.ebuild 2891 RMD160 32c81f58c8a46dc388487c006aeaf3b28e217a65 SHA1 872e7718a1260efb0bee45543fa19a65604f33da SHA256 b7ab48048d48ac1d7988fbe0691aa2aa7891067fc71ecf80c76f51cf1ad456a9 -EBUILD maildrop-2.5.3.ebuild 2978 RMD160 c4f9f698af140adabd1afdc5fab3bac62165535e SHA1 a1ce6c7183da491271316691e0d030d2ff3337af SHA256 9819725773e66a16be7838353fc5abc52a979f2f3e6e35c6309dd912f159e747 EBUILD maildrop-2.5.4.ebuild 3779 RMD160 376e13e47b7c7e98c8400060eb1dec1c806cbcb4 SHA1 14098bc0446f39946e4158d49d54d7c1db4d15b1 SHA256 a5aa4400a5cffba21818b631be971f8431d1e575ab606c20d23c09f0e4b39387 -MISC ChangeLog 22904 RMD160 e2f1cd530fb493fe8a5a3eb2ecdef3f269a0da9c SHA1 c43e0b9d65ec2dc84da14cfca5f1cc7b9766164c SHA256 b9856638e180476629cceb59b2ef18bf337fa3aec5670ea4b40757a8bdb76a7e +MISC ChangeLog 23110 RMD160 94e7b4cc35460a44add44459ebd1b7ac22545f3d SHA1 a363499ad36497e114d3cc334a3bcac269ffd94b SHA256 278e7c2a54d58cde09713b60fa82a70a4f687db86f3a216ce1e8e41efcdb7445 MISC metadata.xml 313 RMD160 a54c7c17c1fb1708ba9987cdad3e1f91bafd5e7e SHA1 c030dc401f831ea71224dbec6685200e34798962 SHA256 8e4845f749808afe7959162a14069b0eb59436401ee3a2ed8661a3bdc18fb5fe -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAk6UmOIACgkQVWmRsqeSphN3LwCeKb8E+7ODrI0PWYCc/LQgd3fz -L3wAmwWD6wUyJj9DqcdbvmpDuTxKS6Z4 -=Nfgp +iQEcBAEBCgAGBQJOpHYtAAoJEEqz6FtPBkyj7tsH/3+78M+CgyR1rT9+m8e1vuGQ +gUJKsYMXKGK1FllmFxEvV4g1OoCl27D9XN/0CU+vsCkCO9IGsW1IndoE8bHYbnqi +c9DgCLvtG6NvwjhJM3VUoQ1I2m/RmoOw/JSdjGM90ttYCm9pkatsCaiK7GsdvK6l +w8Kr9OPvF4Ui74+fb2ZOSE8lV0DYXy6GL18nSeD5FQFN2K4aIyy5REJ73wDyKq5j +jad8CbDnKq+uRhpLIso8v5c7zr5q6moD8zBmFdhyXaqr4ODk5WZVQ/t3jFI6t5qC +ycDYel1F50+joiXehrDdZA/jsK8qHLjnLhlaaxuK9vAHI6SZRfcYPKfYxhVzOTc= +=ijLB -----END PGP SIGNATURE----- diff --git a/mail-filter/maildrop/files/maildrop-2.2.0-db4.patch b/mail-filter/maildrop/files/maildrop-2.2.0-db4.patch deleted file mode 100644 index f70b23ee67a8..000000000000 --- a/mail-filter/maildrop/files/maildrop-2.2.0-db4.patch +++ /dev/null @@ -1,67 +0,0 @@ ---- maildrop/bdbobj/configure.in -+++ maildrop/bdbobj/configure.in -@@ -23,15 +23,19 @@ - dnl Checks for libraries. - - saveLIBS="$LIBS" --AC_CHECK_LIB(db, dbopen, [ LIBDB=-ldb ; LIBS="-ldb $LIBS" ], -- AC_CHECK_LIB(db, db_open, [ LIBDB=-ldb ; LIBS="-ldb $LIBS"], -- AC_CHECK_LIB(db, db_env_create, [ LIBDB=-ldb; LIBS="-ldb $LIBS"]) -- )) -+for dbname in db-4.8 db-4.7 db-4.6 db-4.5 db-4.4 db-4.3 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db -+ do -+ AC_CHECK_LIB($dbname, db_create_4002, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], -+ AC_CHECK_LIB($dbname, db_create_4001, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], -+ AC_CHECK_LIB($dbname, db_create_4000, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], -+ AC_CHECK_LIB($dbname, db_create, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ])))) - -+ done - FOUND_DB=0 --AC_CHECK_FUNC(dbopen, FOUND_DB=1) --AC_CHECK_FUNC(db_open, FOUND_DB=1) --AC_CHECK_FUNC(db_env_create, FOUND_DB=1) -+AC_CHECK_FUNC(db_create, FOUND_DB=1) -+AC_CHECK_FUNC(db_create_4002, FOUND_DB=1) -+AC_CHECK_FUNC(db_create_4001, FOUND_DB=1) -+AC_CHECK_FUNC(db_create_4000, FOUND_DB=1) - - LIBS="$saveLIBS" - ---- maildrop/configure.in -+++ maildrop/configure.in -@@ -99,21 +99,24 @@ - USE_GDBM=1 - ;; - db) -- AC_CHECK_LIB(db, dbopen, [ LIBDB=-ldb ; LIBS="-ldb $LIBS" ], -- AC_CHECK_LIB(db, db_open, [ LIBDB=-ldb ; LIBS="-ldb $LIBS"], -- AC_CHECK_LIB(db, db_env_create, -- [ LIBDB=-ldb; LIBS="-ldb $LIBS"]) -- )) -- -- AC_CHECK_FUNC(dbopen, HAVE_BDB=1) -- AC_CHECK_FUNC(db_open, HAVE_BDB=1) -- AC_CHECK_FUNC(db_env_create, HAVE_BDB=1) -+ for dbname in db-4.8 db-4.7 db-4.6 db-4.5 db-4.4 db-4.3 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db -+ do -+ AC_CHECK_LIB($dbname, db_create_4002, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], -+ AC_CHECK_LIB($dbname, db_create_4001, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], -+ AC_CHECK_LIB($dbname, db_create_4000, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], -+ AC_CHECK_LIB($dbname, db_create, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ])))) -+ done -+ AC_CHECK_FUNC(db_create, HAVE_BDB=1) -+ AC_CHECK_FUNC(db_create_4002, HAVE_BDB=1) -+ AC_CHECK_FUNC(db_create_4001, HAVE_BDB=1) -+ AC_CHECK_FUNC(db_create_4000, HAVE_BDB=1) -+ - if test "$HAVE_BDB" != "1" - then -- AC_MSG_ERROR(GDBM library not found) -+ AC_MSG_ERROR(DB library not found) - fi - dblibrary=bdbobj/libbdbobj.la -- USE_GDBM=0 -+ USE_DB=1 - ;; - *) - ;; diff --git a/mail-filter/maildrop/maildrop-2.4.2-r1.ebuild b/mail-filter/maildrop/maildrop-2.4.2-r1.ebuild deleted file mode 100644 index bc385ed1522f..000000000000 --- a/mail-filter/maildrop/maildrop-2.4.2-r1.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-2.4.2-r1.ebuild,v 1.1 2011/07/27 18:24:29 eras Exp $ - -EAPI=2 - -inherit eutils flag-o-matic autotools - -DESCRIPTION="Mail delivery agent/filter" -[[ -z ${PV/?.?/} ]] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" -[[ -z ${PV/?.?.?/} ]] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" -[[ -z ${SRC_URI} ]] && SRC_URI="http://www.courier-mta.org/beta/${PN}/${P%%_pre}.tar.bz2" -HOMEPAGE="http://www.courier-mta.org/maildrop/" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sh ~sparc ~x86" -IUSE="berkdb debug fam gdbm ldap mysql postgres authlib" - -DEPEND="!mail-mta/courier - net-mail/mailbase - dev-libs/libpcre - net-dns/libidn - gdbm? ( >=sys-libs/gdbm-1.8.0 ) - mysql? ( net-libs/courier-authlib ) - postgres? ( net-libs/courier-authlib ) - ldap? ( net-libs/courier-authlib ) - authlib? ( net-libs/courier-authlib ) - fam? ( virtual/fam ) - !gdbm? ( - berkdb? ( - >=sys-libs/db-3 - ) - )" -RDEPEND="${DEPEND} - dev-lang/perl" - -S=${WORKDIR}/${P%%_pre} - -src_prepare() { -# epatch "${FILESDIR}"/${PN}-2.0.4-makedat.patch - - # Prefer gdbm over berkdb - if use gdbm ; then - use berkdb && elog "Both gdbm and berkdb selected. Using gdbm." - elif use berkdb ; then - epatch "${FILESDIR}"/${PN}-2.2.0-db4.patch - fi - - if ! use fam ; then - epatch "${FILESDIR}"/${PN}-1.8.1-disable-fam.patch - fi - - # no need to error out if no default - it will be given to configure anyway - sed -i -e \ - 's~AC_MSG_ERROR(Cannot determine default mailbox)~SPOOLDIR="./.maildir"~' \ - "${S}"/maildrop/configure.in - - eautoreconf -} - -src_configure() { - local myconf - local mytrustedusers="apache dspam root mail fetchmail \ - daemon postmaster qmaild mmdf vmail alias" - - # These flags make maildrop cry - replace-flags -Os -O2 - filter-flags -fomit-frame-pointer - - if use gdbm ; then - myconf="${myconf} --with-db=gdbm" - elif use berkdb ; then - myconf="${myconf} --with-db=db" - else - myconf="${myconf} --without-db" - fi - - if ! use mysql && ! use postgres && ! use ldap && ! use authlib ; then - myconf="${myconf} --disable-authlib" - fi - - # Default mailbox is $HOME/.maildir for Gentoo - maildrop_cv_SYS_INSTALL_MBOXDIR="./.maildir" econf \ - $(use_enable fam) \ - --disable-dependency-tracker \ - --with-devel \ - --disable-tempdir \ - --enable-syslog=1 \ - --enable-use-flock=1 \ - --enable-use-dotlock=1 \ - --enable-restrict-trusted=1 \ - --enable-trusted-users="${mytrustedusers}" \ - --enable-maildrop-uid=root \ - --enable-maildrop-gid=mail \ - --with-default-maildrop=./.maildir/ \ - --enable-sendmail=/usr/sbin/sendmail \ - --cache-file="${S}"/configuring.cache \ - ${myconf} -} - -src_install() { - make DESTDIR="${D}" install || die - - fperms 4755 /usr/bin/maildrop - - dodoc AUTHORS ChangeLog INSTALL NEWS README \ - README.postfix UPGRADE maildroptips.txt || die - - dodir /usr/share/doc/${PF} - mv "${D}"/usr/share/maildrop/html "${D}"/usr/share/doc/${PF}/ - - dohtml {INSTALL,README,UPGRADE}.html || die - - insinto /etc - doins "${FILESDIR}"/maildroprc || die -} diff --git a/mail-filter/maildrop/maildrop-2.4.2.ebuild b/mail-filter/maildrop/maildrop-2.4.2.ebuild deleted file mode 100644 index c752a1e24759..000000000000 --- a/mail-filter/maildrop/maildrop-2.4.2.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-2.4.2.ebuild,v 1.8 2011/03/16 10:37:53 eras Exp $ - -EAPI=2 - -inherit eutils flag-o-matic autotools - -DESCRIPTION="Mail delivery agent/filter" -[[ -z ${PV/?.?/} ]] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" -[[ -z ${PV/?.?.?/} ]] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" -[[ -z ${SRC_URI} ]] && SRC_URI="http://www.courier-mta.org/beta/${PN}/${P%%_pre}.tar.bz2" -HOMEPAGE="http://www.courier-mta.org/maildrop/" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ppc s390 sh sparc x86" -IUSE="berkdb debug fam gdbm ldap mysql postgres authlib" - -DEPEND="!mail-mta/courier - net-mail/mailbase - dev-libs/libpcre - net-dns/libidn - gdbm? ( >=sys-libs/gdbm-1.8.0 ) - mysql? ( net-libs/courier-authlib ) - postgres? ( net-libs/courier-authlib ) - ldap? ( net-libs/courier-authlib ) - authlib? ( net-libs/courier-authlib ) - fam? ( virtual/fam ) - !gdbm? ( - berkdb? ( - >=sys-libs/db-3 - ) - )" -RDEPEND="${DEPEND} - dev-lang/perl" - -S=${WORKDIR}/${P%%_pre} - -src_prepare() { -# epatch "${FILESDIR}"/${PN}-2.0.4-makedat.patch - - # Prefer gdbm over berkdb - if use gdbm ; then - use berkdb && elog "Both gdbm and berkdb selected. Using gdbm." - elif use berkdb ; then - epatch "${FILESDIR}"/${PN}-2.2.0-db4.patch - fi - - if ! use fam ; then - epatch "${FILESDIR}"/${PN}-1.8.1-disable-fam.patch - fi - - eautoreconf -} - -src_configure() { - local myconf - local mytrustedusers="apache dspam root mail fetchmail \ - daemon postmaster qmaild mmdf vmail alias" - - # These flags make maildrop cry - replace-flags -Os -O2 - filter-flags -fomit-frame-pointer - - if use gdbm ; then - myconf="${myconf} --with-db=gdbm" - elif use berkdb ; then - myconf="${myconf} --with-db=db" - else - myconf="${myconf} --without-db" - fi - - if ! use mysql && ! use postgres && ! use ldap && ! use authlib ; then - myconf="${myconf} --disable-authlib" - fi - - econf \ - $(use_enable fam) \ - --disable-dependency-tracker \ - --with-devel \ - --disable-tempdir \ - --enable-syslog=1 \ - --enable-use-flock=1 \ - --enable-use-dotlock=1 \ - --enable-restrict-trusted=1 \ - --enable-trusted-users="${mytrustedusers}" \ - --enable-maildrop-uid=root \ - --enable-maildrop-gid=mail \ - --with-default-maildrop=./.maildir/ \ - --enable-sendmail=/usr/sbin/sendmail \ - --cache-file="${S}"/configuring.cache \ - ${myconf} -} - -src_install() { - make DESTDIR="${D}" install || die - - fperms 4755 /usr/bin/maildrop - - dodoc AUTHORS ChangeLog INSTALL NEWS README \ - README.postfix UPGRADE maildroptips.txt || die - - dodir /usr/share/doc/${PF} - mv "${D}"/usr/share/maildrop/html "${D}"/usr/share/doc/${PF}/ - - dohtml {INSTALL,README,UPGRADE}.html || die - - insinto /etc - doins "${FILESDIR}"/maildroprc || die -} diff --git a/mail-filter/maildrop/maildrop-2.5.1.ebuild b/mail-filter/maildrop/maildrop-2.5.1.ebuild deleted file mode 100644 index 8fcab7316dac..000000000000 --- a/mail-filter/maildrop/maildrop-2.5.1.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-2.5.1.ebuild,v 1.2 2011/03/16 10:37:53 eras Exp $ - -EAPI=2 - -inherit eutils flag-o-matic autotools - -DESCRIPTION="Mail delivery agent/filter" -[[ -z ${PV/?.?/} ]] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" -[[ -z ${PV/?.?.?/} ]] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" -[[ -z ${SRC_URI} ]] && SRC_URI="http://www.courier-mta.org/beta/${PN}/${P%%_pre}.tar.bz2" -HOMEPAGE="http://www.courier-mta.org/maildrop/" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sh ~sparc ~x86" -IUSE="berkdb debug fam gdbm ldap mysql postgres authlib" - -DEPEND="!mail-mta/courier - net-mail/mailbase - dev-libs/libpcre - net-dns/libidn - gdbm? ( >=sys-libs/gdbm-1.8.0 ) - mysql? ( net-libs/courier-authlib ) - postgres? ( net-libs/courier-authlib ) - ldap? ( net-libs/courier-authlib ) - authlib? ( net-libs/courier-authlib ) - fam? ( virtual/fam ) - !gdbm? ( - berkdb? ( - >=sys-libs/db-3 - ) - )" -RDEPEND="${DEPEND} - dev-lang/perl" -DEPEND="${DEPEND} - dev-util/pkgconfig" - -S=${WORKDIR}/${P%%_pre} - -src_prepare() { -# epatch "${FILESDIR}"/${PN}-2.0.4-makedat.patch - - # Prefer gdbm over berkdb - if use gdbm ; then - use berkdb && elog "Both gdbm and berkdb selected. Using gdbm." - elif use berkdb ; then - epatch "${FILESDIR}"/${PN}-2.5.1-db.patch - fi - - if ! use fam ; then - epatch "${FILESDIR}"/${PN}-1.8.1-disable-fam.patch - fi - - eautoreconf -} - -src_configure() { - local myconf - local mytrustedusers="apache dspam root mail fetchmail \ - daemon postmaster qmaild mmdf vmail alias" - - # These flags make maildrop cry - replace-flags -Os -O2 - filter-flags -fomit-frame-pointer - - if use gdbm ; then - myconf="${myconf} --with-db=gdbm" - elif use berkdb ; then - myconf="${myconf} --with-db=db" - else - myconf="${myconf} --without-db" - fi - - if ! use mysql && ! use postgres && ! use ldap && ! use authlib ; then - myconf="${myconf} --disable-authlib" - fi - - econf \ - $(use_enable fam) \ - --disable-dependency-tracker \ - --with-devel \ - --disable-tempdir \ - --enable-syslog=1 \ - --enable-use-flock=1 \ - --enable-use-dotlock=1 \ - --enable-restrict-trusted=1 \ - --enable-trusted-users="${mytrustedusers}" \ - --enable-maildrop-uid=root \ - --enable-maildrop-gid=mail \ - --with-default-maildrop=./.maildir/ \ - --enable-sendmail=/usr/sbin/sendmail \ - --cache-file="${S}"/configuring.cache \ - ${myconf} -} - -src_install() { - make DESTDIR="${D}" install || die - - fperms 4755 /usr/bin/maildrop - - dodoc AUTHORS ChangeLog INSTALL NEWS README \ - README.postfix UPGRADE maildroptips.txt || die - - dodir /usr/share/doc/${PF} - mv "${D}"/usr/share/maildrop/html "${D}"/usr/share/doc/${PF}/ - - dohtml {INSTALL,README,UPGRADE}.html || die - - insinto /etc - doins "${FILESDIR}"/maildroprc || die -} diff --git a/mail-filter/maildrop/maildrop-2.5.3.ebuild b/mail-filter/maildrop/maildrop-2.5.3.ebuild deleted file mode 100644 index 64cd21225e50..000000000000 --- a/mail-filter/maildrop/maildrop-2.5.3.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-2.5.3.ebuild,v 1.2 2011/05/15 10:10:31 xarthisius Exp $ - -EAPI=2 - -inherit eutils flag-o-matic autotools - -DESCRIPTION="Mail delivery agent/filter" -[[ -z ${PV/?.?/} ]] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" -[[ -z ${PV/?.?.?/} ]] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" -[[ -z ${SRC_URI} ]] && SRC_URI="http://www.courier-mta.org/beta/${PN}/${P%%_pre}.tar.bz2" -HOMEPAGE="http://www.courier-mta.org/maildrop/" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="berkdb debug fam gdbm ldap mysql postgres authlib" - -DEPEND="!mail-mta/courier - net-mail/mailbase - dev-libs/libpcre - net-dns/libidn - gdbm? ( >=sys-libs/gdbm-1.8.0 ) - mysql? ( net-libs/courier-authlib ) - postgres? ( net-libs/courier-authlib ) - ldap? ( net-libs/courier-authlib ) - authlib? ( net-libs/courier-authlib ) - fam? ( virtual/fam ) - !gdbm? ( - berkdb? ( - >=sys-libs/db-3 - ) - )" -RDEPEND="${DEPEND} - dev-lang/perl" -DEPEND="${DEPEND} - dev-util/pkgconfig" - -S=${WORKDIR}/${P%%_pre} - -src_prepare() { - # Prefer gdbm over berkdb - if use gdbm ; then - use berkdb && elog "Both gdbm and berkdb selected. Using gdbm." - elif use berkdb ; then - epatch "${FILESDIR}"/${PN}-2.5.1-db.patch - fi - - if ! use fam ; then - epatch "${FILESDIR}"/${PN}-1.8.1-disable-fam.patch - fi - - eautoreconf -} - -src_configure() { - local myconf - local mytrustedusers="apache dspam root mail fetchmail \ - daemon postmaster qmaild mmdf vmail alias" - - # These flags make maildrop cry - replace-flags -Os -O2 - filter-flags -fomit-frame-pointer - - if use gdbm ; then - myconf="${myconf} --with-db=gdbm" - elif use berkdb ; then - myconf="${myconf} --with-db=db" - else - myconf="${myconf} --without-db" - fi - - if ! use mysql && ! use postgres && ! use ldap && ! use authlib ; then - myconf="${myconf} --disable-authlib" - fi - - econf \ - $(use_enable fam) \ - --disable-dependency-tracker \ - --with-devel \ - --disable-tempdir \ - --enable-syslog=1 \ - --enable-use-flock=1 \ - --enable-use-dotlock=1 \ - --enable-restrict-trusted=1 \ - --enable-trusted-users="${mytrustedusers}" \ - --enable-maildrop-uid=root \ - --enable-maildrop-gid=mail \ - --with-default-maildrop=./.maildir/ \ - --enable-sendmail=/usr/sbin/sendmail \ - --cache-file="${S}"/configuring.cache \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" install || die - - fperms 4755 /usr/bin/maildrop - - dodoc AUTHORS ChangeLog INSTALL NEWS README \ - README.postfix UPGRADE maildroptips.txt || die - docinto unicode - dodoc unicode/README || die - docinto maildir - dodoc maildir/AUTHORS maildir/INSTALL maildir/README*.txt || die - - dodir "/usr/share/doc/${PF}" - mv "${D}/usr/share/maildrop/html" "${D}/usr/share/doc/${PF}/" - - dohtml *.html maildir/*.html || die - - insinto /etc - doins "${FILESDIR}"/maildroprc || die -} -- 2.26.2