summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLim Swee Tat <st_lim@gentoo.org>2004-08-28 04:21:17 +0000
committerLim Swee Tat <st_lim@gentoo.org>2004-08-28 04:21:17 +0000
commitec95d9a7119b39fb4197d6e48ac4015de209ff0c (patch)
tree0922d4030f1d87ac8bf36f8be9b68467ba5c5119 /mail-filter
parentpunt old ebuilds (Manifest recommit) (diff)
downloadgentoo-2-ec95d9a7119b39fb4197d6e48ac4015de209ff0c.tar.gz
gentoo-2-ec95d9a7119b39fb4197d6e48ac4015de209ff0c.tar.bz2
gentoo-2-ec95d9a7119b39fb4197d6e48ac4015de209ff0c.zip
Fixed bug #61301.
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/dspam/dspam-3.1.0.ebuild4
-rw-r--r--mail-filter/dspam/dspam-3.1.1.ebuild9
2 files changed, 5 insertions, 8 deletions
diff --git a/mail-filter/dspam/dspam-3.1.0.ebuild b/mail-filter/dspam/dspam-3.1.0.ebuild
index 319d26943310..54a92e6aa224 100644
--- a/mail-filter/dspam/dspam-3.1.0.ebuild
+++ b/mail-filter/dspam/dspam-3.1.0.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/dspam/dspam-3.1.0.ebuild,v 1.1 2004/07/31 04:36:40 st_lim Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/dspam/dspam-3.1.0.ebuild,v 1.2 2004/08/28 04:21:17 st_lim Exp $
inherit eutils
@@ -146,7 +146,7 @@ src_install () {
# install some initial configuration
insinto ${HOMEDIR}
insopts -m0640 -o dspam -g dspam
- doins ${FILESDIR}/trusted.users
+ [ -f ${HOMEDIR}/trusted.users ] || doins ${FILESDIR}/trusted.users
if use cyrus; then
echo "/usr/lib/cyrus/deliver %u" > ${T}/untrusted.mailer_args
elif use exim; then
diff --git a/mail-filter/dspam/dspam-3.1.1.ebuild b/mail-filter/dspam/dspam-3.1.1.ebuild
index 8102c0beda2c..d56db8f31065 100644
--- a/mail-filter/dspam/dspam-3.1.1.ebuild
+++ b/mail-filter/dspam/dspam-3.1.1.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/dspam/dspam-3.1.1.ebuild,v 1.3 2004/08/26 09:53:08 st_lim Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/dspam/dspam-3.1.1.ebuild,v 1.4 2004/08/28 04:21:17 st_lim Exp $
inherit eutils
@@ -191,7 +191,7 @@ src_install () {
# install some initial configuration
insinto ${HOMEDIR}
insopts -m0640 -o dspam -g dspam
- doins ${FILESDIR}/trusted.users
+ [ ! -f ${HOMEDIR}/trusted.users ] && doins ${FILESDIR}/trusted.users
doins ${T}/untrusted.mailer_args
doins ${T}/default.prefs
doins ${T}/group
@@ -299,11 +299,8 @@ src_install () {
dosym ${LOGDIR}/dspam.messages ${HOMEDIR}/dspam.messages
# dspam enviroment
- dodir /etc/env.d
- keepdir /etc/env.d
- insinto /etc/env.d
echo -ne "CONFIG_PROTECT_MASK=\"${HOMEDIR} ${CONFIGDIR}\"\n\n" > ${T}/40dspam
- doins ${T}/40dspam || die
+ doenvd ${T}/40dspam || die
}
pkg_postinst() {