summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-06-16 04:35:29 +0000
committerAlin Năstac <mrness@gentoo.org>2007-06-16 04:35:29 +0000
commit1cad839a9293ae72c9576cfda596a6b41a62c5a9 (patch)
tree829d0485880279a6de62ca4aaed6f1e3dd863bab /www-apps
parentquoting.. (diff)
downloadgentoo-2-1cad839a9293ae72c9576cfda596a6b41a62c5a9.tar.gz
gentoo-2-1cad839a9293ae72c9576cfda596a6b41a62c5a9.tar.bz2
gentoo-2-1cad839a9293ae72c9576cfda596a6b41a62c5a9.zip
Die in pkg_setup if dspam is installed with user-homedirs enabled (bug 179400 comment 15).
(Portage version: 2.1.2.7)
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/dspam-web/ChangeLog6
-rw-r--r--www-apps/dspam-web/dspam-web-3.8.0.ebuild10
2 files changed, 14 insertions, 2 deletions
diff --git a/www-apps/dspam-web/ChangeLog b/www-apps/dspam-web/ChangeLog
index 73684636703b..16715bcf2dc8 100644
--- a/www-apps/dspam-web/ChangeLog
+++ b/www-apps/dspam-web/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-apps/dspam-web
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/dspam-web/ChangeLog,v 1.34 2007/06/13 17:25:54 tsunam Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/dspam-web/ChangeLog,v 1.35 2007/06/16 04:35:29 mrness Exp $
+
+ 16 Jun 2007; Alin Năstac <mrness@gentoo.org> dspam-web-3.8.0.ebuild:
+ Die in pkg_setup if dspam is installed with user-homedirs enabled (bug
+ 179400 comment 15).
13 Jun 2007; Joshua Jackson <tsunam@gentoo.org> dspam-web-3.8.0.ebuild:
x86 stable
diff --git a/www-apps/dspam-web/dspam-web-3.8.0.ebuild b/www-apps/dspam-web/dspam-web-3.8.0.ebuild
index 193cf7f3e6a7..3755e6b88723 100644
--- a/www-apps/dspam-web/dspam-web-3.8.0.ebuild
+++ b/www-apps/dspam-web/dspam-web-3.8.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/dspam-web/dspam-web-3.8.0.ebuild,v 1.4 2007/06/13 17:25:54 tsunam Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/dspam-web/dspam-web-3.8.0.ebuild,v 1.5 2007/06/16 04:35:29 mrness Exp $
inherit webapp eutils autotools
@@ -26,6 +26,14 @@ CONFDIR="/etc/mail/dspam"
S="${WORKDIR}/dspam-${PV}"
+pkg_setup() {
+ if built_with_use mail-filter/dspam user-homedirs; then
+ eerror "The DSPAM web interface requires that dspam be installed without user-homedirs USE flag."
+ eerror "Please disable this flag and re-emerge dspam."
+ die "Incompatible mail-filter/dspam installation"
+ fi
+}
+
src_unpack() {
unpack ${A}
cd "${S}"