summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2011-08-13 04:19:26 +0000
committerEray Aslan <eras@gentoo.org>2011-08-13 04:19:26 +0000
commit8053dd15d4d712e41ca2effa35f3489126371293 (patch)
tree4ebabf886a14771865dc4c0ea87995fdd1630998 /mail-filter
parentRev bumps to force fix for bug #377633. No other changes. (diff)
downloadgentoo-2-8053dd15d4d712e41ca2effa35f3489126371293.tar.gz
gentoo-2-8053dd15d4d712e41ca2effa35f3489126371293.tar.bz2
gentoo-2-8053dd15d4d712e41ca2effa35f3489126371293.zip
stop logwatch from complaining - bug #378877
(Portage version: 2.1.10.10/cvs/Linux x86_64)
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/dspam/ChangeLog5
-rw-r--r--mail-filter/dspam/dspam-3.10.1.ebuild9
2 files changed, 11 insertions, 3 deletions
diff --git a/mail-filter/dspam/ChangeLog b/mail-filter/dspam/ChangeLog
index 992fa433c9f4..56a3e2434cff 100644
--- a/mail-filter/dspam/ChangeLog
+++ b/mail-filter/dspam/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for mail-filter/dspam
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/dspam/ChangeLog,v 1.136 2011/08/11 19:00:19 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/dspam/ChangeLog,v 1.137 2011/08/13 04:19:26 eras Exp $
+
+ 13 Aug 2011; Eray Aslan <eras@gentoo.org> dspam-3.10.1.ebuild:
+ stop logwatch from complaining - bug #378877
*dspam-3.10.1 (11 Aug 2011)
diff --git a/mail-filter/dspam/dspam-3.10.1.ebuild b/mail-filter/dspam/dspam-3.10.1.ebuild
index 967801b59e8f..923271f981a0 100644
--- a/mail-filter/dspam/dspam-3.10.1.ebuild
+++ b/mail-filter/dspam/dspam-3.10.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/dspam/dspam-3.10.1.ebuild,v 1.1 2011/08/11 19:00:19 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/dspam/dspam-3.10.1.ebuild,v 1.2 2011/08/13 04:19:26 eras Exp $
EAPI=4
@@ -189,12 +189,17 @@ src_install() {
newins "${FILESDIR}/dspam.logrotate" dspam
dodoc CHANGELOG README* RELEASE.NOTES UPGRADING doc/*.txt
+
+ # stop logrotate-3.8 from complaining
+ dodir /var/log/dspam
+ fowners dspam:dspam /var/log/dspam
+ fperms 0750 /var/log/dspam
}
pkg_preinst() {
# dspam-3.10.0: config dir change, should be removed at some later point
- ewarn "The configuration directory of DSPAM has been relocated from /etc/mail/dspam to ${DSPAM_CONF}."
if [ -d "${ROOT}/etc/mail/dspam" ]; then
+ ewarn "The configuration directory of DSPAM has been relocated from /etc/mail/dspam to ${DSPAM_CONF}."
if [ -h "${ROOT}${DSPAM_CONF}" ]; then
# symlink, this is the setup in older ebuilds
ewarn "Moving contents of /etc/mail/dspam to ${DSPAM_CONF} ..."