diff options
author | Nick Hadaway <raker@gentoo.org> | 2003-10-27 09:58:49 +0000 |
---|---|---|
committer | Nick Hadaway <raker@gentoo.org> | 2003-10-27 09:58:49 +0000 |
commit | c3e97c8b9313347d81d4fc2dae5f712862217f26 (patch) | |
tree | d85eed955663b3ac3d32c5d96420d35505090306 /net-mail/amavis | |
parent | Switch to mirror:// in SRC_URId (diff) | |
download | gentoo-2-c3e97c8b9313347d81d4fc2dae5f712862217f26.tar.gz gentoo-2-c3e97c8b9313347d81d4fc2dae5f712862217f26.tar.bz2 gentoo-2-c3e97c8b9313347d81d4fc2dae5f712862217f26.zip |
fixing mta detection
Diffstat (limited to 'net-mail/amavis')
-rw-r--r-- | net-mail/amavis/ChangeLog | 5 | ||||
-rw-r--r-- | net-mail/amavis/Manifest | 8 | ||||
-rw-r--r-- | net-mail/amavis/amavis-0.3.12.ebuild | 20 |
3 files changed, 18 insertions, 15 deletions
diff --git a/net-mail/amavis/ChangeLog b/net-mail/amavis/ChangeLog index 6aafa5eee7f1..2a4ce78e823b 100644 --- a/net-mail/amavis/ChangeLog +++ b/net-mail/amavis/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-mail/amavis # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/amavis/ChangeLog,v 1.13 2003/06/22 20:49:38 prez Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/amavis/ChangeLog,v 1.14 2003/10/27 09:58:43 raker Exp $ + + 27 Oct 2003; Nick Hadaway <raker@gentoo.org> amavis-0.3.12.ebuild: + Fixing the mta detection. *amavis-0.3.12 (23 Oct 2002) diff --git a/net-mail/amavis/Manifest b/net-mail/amavis/Manifest index b6a98e644627..1643f758eec3 100644 --- a/net-mail/amavis/Manifest +++ b/net-mail/amavis/Manifest @@ -1,9 +1,9 @@ -MD5 2b11a0696cc33aadd43399e0738dd287 amavis-0.3.12.ebuild 3020 +MD5 8fa961f847d1a82990b397054c682964 amavis-0.3.12.ebuild 3033 +MD5 6383a5d6505884cb4e9a7304a98447d3 amavis-0.2.1-r3.ebuild 2022 +MD5 c81659cc722ba760eb814e22384845f5 ChangeLog 2536 +MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161 MD5 587d7c8f2f2fce495116525321748c66 files/amavis-0.2.1-gentoo.diff 706 MD5 5eb67922799dba116044631c52860bd4 files/digest-amavis-0.2.1-r3 64 MD5 c21bb514e50b3103fbf00d4e877018f9 files/0.3.12-postfix.diff 969 MD5 08dee7bd07762dc8704f4d6a13f86d64 files/amavis-0.2.1-securetar.patch 479 MD5 dd107599b6f61744ffb5e84f36a2a93d files/digest-amavis-0.3.12 65 -MD5 6383a5d6505884cb4e9a7304a98447d3 amavis-0.2.1-r3.ebuild 2022 -MD5 55802fa83de944f651979bf3afdd84f0 ChangeLog 2437 -MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161 diff --git a/net-mail/amavis/amavis-0.3.12.ebuild b/net-mail/amavis/amavis-0.3.12.ebuild index ec3616b2520a..89187decda52 100644 --- a/net-mail/amavis/amavis-0.3.12.ebuild +++ b/net-mail/amavis/amavis-0.3.12.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/amavis/amavis-0.3.12.ebuild,v 1.5 2003/09/05 02:35:44 msterret Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/amavis/amavis-0.3.12.ebuild,v 1.6 2003/10/27 09:58:43 raker Exp $ + +IUSE="" DESCRIPTION="A perl module which integrates virus scanning software with your MTA" HOMEPAGE="http://www.amavis.org" @@ -10,8 +12,6 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" -IUSE="" - DEPEND="dev-lang/perl sys-apps/file app-arch/arc @@ -56,14 +56,14 @@ pkg_setup() { } -mymta=`grep "^virtual/mta net-mail\/\(exim\|postfix\|qmail\)" /var/cache/edb/virtuals | awk -F/ '{print $3}'` +mymta=`grep "^virtual/mta net-mail\/\(exim\|postfix\|qmail\|sendmail\)" /var/cache/edb/virtuals | awk -F/ '{print $3}'` 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 @@ -79,13 +79,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 @@ -102,7 +102,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 |