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
commita377ba6f60a1422876b396c86ffe0c380d8fa0b3 (patch)
treed78477c34c3da8a874626cc47a1a46762548473d /mail-filter
parentpunt old ebuilds (diff)
downloadhistorical-a377ba6f60a1422876b396c86ffe0c380d8fa0b3.tar.gz
historical-a377ba6f60a1422876b396c86ffe0c380d8fa0b3.tar.bz2
historical-a377ba6f60a1422876b396c86ffe0c380d8fa0b3.zip
Fixed bug #61301.
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/dspam/Manifest4
-rw-r--r--mail-filter/dspam/dspam-3.1.0.ebuild4
-rw-r--r--mail-filter/dspam/dspam-3.1.1.ebuild9
3 files changed, 7 insertions, 10 deletions
diff --git a/mail-filter/dspam/Manifest b/mail-filter/dspam/Manifest
index 2fad54fc4184..de7db2e33c77 100644
--- a/mail-filter/dspam/Manifest
+++ b/mail-filter/dspam/Manifest
@@ -1,6 +1,6 @@
-MD5 aef3fd8ad052e39a73eec6b5f8296c60 dspam-3.1.1.ebuild 15347
+MD5 accdcf08117d91240736a275cee8a5e9 dspam-3.1.1.ebuild 15327
MD5 ae3a688715ae77f8c9acfa862adbb8e8 dspam-3.0.0.ebuild 6928
-MD5 0b670a5ca13881c4f77d70935c913dcf dspam-3.1.0.ebuild 9277
+MD5 6fbb854953f451952104d86d4d175a7c dspam-3.1.0.ebuild 9312
MD5 9236dfdbe8e221e9ad393888c2ab6a6d ChangeLog 2694
MD5 02610fe17122bb3a27ca3dcbf7374fcc metadata.xml 311
MD5 2cd345708a9889a04c472a9e5be7400e files/untrusted.mailer_args 24
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() {