summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2002-11-17 22:32:30 +0000
committerNick Hadaway <raker@gentoo.org>2002-11-17 22:32:30 +0000
commit63325ff953b8b5f8674e337255e4ef158106285a (patch)
treedaa1109b7f3b8030017215b0ffafc78e91e692df /net-mail
parentadded prepgames (diff)
downloadgentoo-2-63325ff953b8b5f8674e337255e4ef158106285a.tar.gz
gentoo-2-63325ff953b8b5f8674e337255e4ef158106285a.tar.bz2
gentoo-2-63325ff953b8b5f8674e337255e4ef158106285a.zip
Fixed a typo and changed permissions and ownership on /var/amavis
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/amavis/ChangeLog5
-rw-r--r--net-mail/amavis/amavis-0.3.12_pre8.ebuild13
2 files changed, 10 insertions, 8 deletions
diff --git a/net-mail/amavis/ChangeLog b/net-mail/amavis/ChangeLog
index 0d28978b764e..313debb0797e 100644
--- a/net-mail/amavis/ChangeLog
+++ b/net-mail/amavis/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for net-mail/amavis
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-mail/amavis/ChangeLog,v 1.4 2002/11/15 17:14:54 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/amavis/ChangeLog,v 1.5 2002/11/17 22:32:30 raker Exp $
*amavis-0.3.12_pre8 (23 Oct 2002)
+ 17 Nov 2002; Nick Hadaway <raker@gentoo.org> amavis-0.3.12_pre8.ebuild :
+ Fixed a typo and changed /var/amavis permissions and ownership.
+
15 Nov 2002; Nick Hadaway <raker@gentoo.org> amavis-0.3.12_pre8.ebuild :
The ebuild should now detect what mail system you are using.
postfix, exim, qmail, and sendmail are detected.
diff --git a/net-mail/amavis/amavis-0.3.12_pre8.ebuild b/net-mail/amavis/amavis-0.3.12_pre8.ebuild
index 574a36019ca1..070c41322e4a 100644
--- a/net-mail/amavis/amavis-0.3.12_pre8.ebuild
+++ b/net-mail/amavis/amavis-0.3.12_pre8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 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_pre8.ebuild,v 1.3 2002/11/15 17:14:54 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/amavis/amavis-0.3.12_pre8.ebuild,v 1.4 2002/11/17 22:32:30 raker Exp $
DESCRIPTION="A perl module which integrates virus scanning software with your MTA"
HOMEPAGE="http://www.amavis.org"
@@ -86,7 +86,7 @@ src_compile() {
elif [ "$mymta" == "exim" ]; then
myconf="--enable-exim"
elif [ "$mymta" == "sendmail" ]; then
- mycfonf="--enable-sendmail"
+ myconf="--enable-sendmail"
fi
# The quarantine directory for infected emails
@@ -102,12 +102,11 @@ src_install() {
dodir /var/amavis/quarantine
- if [ "$mymta" == "postfix" ]; then
- chown -R postfix:postfix ${D}/var/amavis
- elif [ "$mymta" == "qmail" ]; then
+ if [ "$mymta" == "qmail" ]; then
chown -R qmailq:qmail ${D}/var/amavis
- fi
-
+ else
+ chown -R amavis:amavis ${D}/var/amavis
+ fi
chmod -R 770 ${D}/var/amavis