summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuan Van <langthang@gentoo.org>2004-07-10 23:34:08 +0000
committerTuan Van <langthang@gentoo.org>2004-07-10 23:34:08 +0000
commitf0a16ba72ef15cc8e1f6c428c546a8ba2322fd40 (patch)
treed900a6de7269092ae32a10f2b1f4c24034c22459 /mail-filter/amavis
parentmacos keyword (diff)
downloadgentoo-2-f0a16ba72ef15cc8e1f6c428c546a8ba2322fd40.tar.gz
gentoo-2-f0a16ba72ef15cc8e1f6c428c546a8ba2322fd40.tar.bz2
gentoo-2-f0a16ba72ef15cc8e1f6c428c546a8ba2322fd40.zip
fixed MTA detect.
Diffstat (limited to 'mail-filter/amavis')
-rw-r--r--mail-filter/amavis/ChangeLog5
-rw-r--r--mail-filter/amavis/amavis-0.3.12.ebuild14
2 files changed, 11 insertions, 8 deletions
diff --git a/mail-filter/amavis/ChangeLog b/mail-filter/amavis/ChangeLog
index 72ab55b14e37..044afcf96d1a 100644
--- a/mail-filter/amavis/ChangeLog
+++ b/mail-filter/amavis/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-mail/amavis
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavis/ChangeLog,v 1.6 2004/07/07 22:56:01 langthang Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavis/ChangeLog,v 1.7 2004/07/10 23:34:08 langthang Exp $
+
+ 10 Jul 2004; Tuan Van <langthang@gentoo.org> amavis-0.3.12.ebuild:
+ fixed MTA detect.
07 Jul 2004; Tuan Van<langthang@gentoo.org> amavis-0.3.12.ebuild:
Fix bug #50518. Thanks to David Westley <dave@fragalot.com>
diff --git a/mail-filter/amavis/amavis-0.3.12.ebuild b/mail-filter/amavis/amavis-0.3.12.ebuild
index 35d97e97a46f..8cb38a279bbc 100644
--- a/mail-filter/amavis/amavis-0.3.12.ebuild
+++ b/mail-filter/amavis/amavis-0.3.12.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavis/amavis-0.3.12.ebuild,v 1.5 2004/07/07 22:56:01 langthang Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavis/amavis-0.3.12.ebuild,v 1.6 2004/07/10 23:34:08 langthang Exp $
inherit eutils
@@ -64,7 +64,7 @@ src_unpack() {
unpack ${A}
cd ${S}
- if [ "$mymta" == "postfix " ]; then
+ if [ "$mymta" == "postfix" ]; then
patch -p1 < ${FILESDIR}/0.3.12-postfix.diff || die "patch failed"
fi
@@ -80,13 +80,13 @@ src_compile() {
local myconf
- if [ "$mymta" == "postfix " ]; then
+ if [ "$mymta" == "postfix" ]; then
myconf="--enable-postfix"
- elif [ "$mymta" == "qmail " ]; then
+ elif [ "$mymta" == "qmail" ]; then
myconf="--enable-qmail"
- elif [ "$mymta" == "exim " ]; then
+ elif [ "$mymta" == "exim" ]; then
myconf="--enable-exim"
- elif [ "$mymta" == "sendmail " ]; then
+ elif [ "$mymta" == "sendmail" ]; then
myconf="--enable-sendmail"
fi
@@ -103,7 +103,7 @@ src_install() {
dodir /var/amavis/quarantine
- if [ "$mymta" == "qmail " ]; then
+ if [ "$mymta" == "qmail" ]; then
chown -R qmailq:qmail ${D}/var/amavis
else
chown -R amavis:amavis ${D}/var/amavis