summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hartmann <ian@gentoo.org>2006-06-14 08:22:57 +0000
committerChristian Hartmann <ian@gentoo.org>2006-06-14 08:22:57 +0000
commit00b554cb4575b6a5201bfe7fc3832a61407e7697 (patch)
tree3c07f09a6182af53ab91e9e6a4272234ddcc36dc /mail-filter/amavisd-new
parentSomebody left out ppc. It works fine here. (diff)
downloadgentoo-2-00b554cb4575b6a5201bfe7fc3832a61407e7697.tar.gz
gentoo-2-00b554cb4575b6a5201bfe7fc3832a61407e7697.tar.bz2
gentoo-2-00b554cb4575b6a5201bfe7fc3832a61407e7697.zip
Fixed chown troubles (Commit authorized by Ticho)
(Portage version: 2.1)
Diffstat (limited to 'mail-filter/amavisd-new')
-rw-r--r--mail-filter/amavisd-new/ChangeLog6
-rw-r--r--mail-filter/amavisd-new/amavisd-new-2.3.3-r2.ebuild5
2 files changed, 7 insertions, 4 deletions
diff --git a/mail-filter/amavisd-new/ChangeLog b/mail-filter/amavisd-new/ChangeLog
index e19a41ea7cd0..79a20fc4354e 100644
--- a/mail-filter/amavisd-new/ChangeLog
+++ b/mail-filter/amavisd-new/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-filter/amavisd-new
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/ChangeLog,v 1.85 2006/06/09 21:02:48 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/ChangeLog,v 1.86 2006/06/14 08:22:57 ian Exp $
+
+ 14 Jun 2006; Christian Hartmann <ian@gentoo.org>
+ amavisd-new-2.3.3-r2.ebuild:
+ Fixed chown troubles (Commit authorized by Ticho)
09 Jun 2006; Andrej Kacian <ticho@gentoo.org>
-files/amavisd-new-2.4.0-amavisd.conf-gentoo.patch,
diff --git a/mail-filter/amavisd-new/amavisd-new-2.3.3-r2.ebuild b/mail-filter/amavisd-new/amavisd-new-2.3.3-r2.ebuild
index d0219535002c..b1769d69c852 100644
--- a/mail-filter/amavisd-new/amavisd-new-2.3.3-r2.ebuild
+++ b/mail-filter/amavisd-new/amavisd-new-2.3.3-r2.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/mail-filter/amavisd-new/amavisd-new-2.3.3-r2.ebuild,v 1.11 2006/04/10 20:35:05 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/amavisd-new-2.3.3-r2.ebuild,v 1.12 2006/06/14 08:22:57 ian Exp $
inherit eutils
@@ -102,7 +102,6 @@ src_install() {
insinto /etc
insopts -m0640
newins amavisd.conf-sample amavisd.conf
- fowners root:amavis /etc/amavisd.conf
dosed "s:^#\\?\\\$MYHOME[^;]*;:\$MYHOME = '$AMAVIS_ROOT';:" \
/etc/amavisd.conf
if [ "$(dnsdomainname)" = "(none)" ] ; then
@@ -165,7 +164,6 @@ src_install() {
fi
fi
- chown -R amavis:amavis ${D}/${AMAVIS_ROOT}
find ${D}/${AMAVIS_ROOT} -name "*" -type d -exec chmod 0750 \{\} \;
find ${D}/${AMAVIS_ROOT} -name "*" -type f -exec chmod 0640 \{\} \;
}
@@ -184,4 +182,5 @@ pkg_postinst() {
echo
chmod o-rwx /etc/amavisd.conf
chown root:amavis /etc/amavisd.conf
+ chown -R amavis:amavis ${AMAVIS_ROOT}
}