diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-04-12 00:42:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-04-12 00:42:38 +0000 |
commit | 8e448b22d6871ad17f6a7f4dfbe4cdaf4cedbe84 (patch) | |
tree | 2b6d71ee710f74a44144ad602457d18052acd08a /net-mail/qmailadmin | |
parent | +net-mail/qmailadmin:maildrop (diff) | |
download | gentoo-2-8e448b22d6871ad17f6a7f4dfbe4cdaf4cedbe84.tar.gz gentoo-2-8e448b22d6871ad17f6a7f4dfbe4cdaf4cedbe84.tar.bz2 gentoo-2-8e448b22d6871ad17f6a7f4dfbe4cdaf4cedbe84.zip |
Add support for USE=maildrop #117233 by Jeff Thompson.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'net-mail/qmailadmin')
-rw-r--r-- | net-mail/qmailadmin/ChangeLog | 5 | ||||
-rw-r--r-- | net-mail/qmailadmin/qmailadmin-1.2.9.ebuild | 28 |
2 files changed, 23 insertions, 10 deletions
diff --git a/net-mail/qmailadmin/ChangeLog b/net-mail/qmailadmin/ChangeLog index 2f70539ce5c7..0184d18a610b 100644 --- a/net-mail/qmailadmin/ChangeLog +++ b/net-mail/qmailadmin/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-mail/qmailadmin # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/qmailadmin/ChangeLog,v 1.9 2006/04/12 00:22:39 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/qmailadmin/ChangeLog,v 1.10 2006/04/12 00:42:38 vapier Exp $ + + 12 Apr 2006; Mike Frysinger <vapier@gentoo.org> qmailadmin-1.2.9.ebuild: + Add support for USE=maildrop #117233 by Jeff Thompson. *qmailadmin-1.2.9 (12 Apr 2006) diff --git a/net-mail/qmailadmin/qmailadmin-1.2.9.ebuild b/net-mail/qmailadmin/qmailadmin-1.2.9.ebuild index 95e47c891536..7aee9eb28942 100644 --- a/net-mail/qmailadmin/qmailadmin-1.2.9.ebuild +++ b/net-mail/qmailadmin/qmailadmin-1.2.9.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/qmailadmin/qmailadmin-1.2.9.ebuild,v 1.1 2006/04/12 00:22:39 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/qmailadmin/qmailadmin-1.2.9.ebuild,v 1.2 2006/04/12 00:42:38 vapier Exp $ inherit eutils @@ -13,21 +13,17 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86" -IUSE="" +IUSE="maildrop" DEPEND="virtual/qmail >=net-mail/vpopmail-5.3 - net-mail/autorespond" + net-mail/autorespond + maildrop? ( >=mail-filter/maildrop-2.0.1 )" RDEPEND="${DEPEND} net-www/apache" S=${WORKDIR}/${MY_P} -pkg_preinst() { - einfo "If you would like support for ezmlm mailing lists inside qmailadmin," - einfo "please emerge some variant of ezmlm-idx." -} - src_unpack() { unpack ${A} cd "${S}" @@ -48,7 +44,15 @@ src_compile() { local dir_ezmlm="/usr/bin" local dir_autorespond="/var/qmail/bin" - econf ${myopts} \ + # Pass spam stuff through $@ so we get the quoting right + if use maildrop ; then + set -- --enable-modify-spam \ + --enable-spam-command='|preline maildrop /etc/maildroprc' + else + set -- + fi + + econf \ --enable-valias \ --enable-vpopmaildir=${dir_vpopmail} \ --enable-htmldir=${dir_htdocs} \ @@ -68,6 +72,7 @@ src_compile() { --enable-maxaliasesperpage=50 \ --enable-vpopuser=vpopmail \ --enable-vpopgroup=vpopmail \ + "$@" \ || die "econf failed" emake || die } @@ -76,3 +81,8 @@ src_install() { make DESTDIR="${D}" install || die dodoc AUTHORS INSTALL README.hooks BUGS TODO ChangeLog TRANSLATORS NEWS FAQ README contrib/* } + +pkg_postinst() { + einfo "If you would like support for ezmlm mailing lists inside qmailadmin," + einfo "please emerge some variant of ezmlm-idx." +} |