From 1cad839a9293ae72c9576cfda596a6b41a62c5a9 Mon Sep 17 00:00:00 2001 From: Alin Năstac Date: Sat, 16 Jun 2007 04:35:29 +0000 Subject: Die in pkg_setup if dspam is installed with user-homedirs enabled (bug 179400 comment 15). (Portage version: 2.1.2.7) --- www-apps/dspam-web/ChangeLog | 6 +++++- www-apps/dspam-web/dspam-web-3.8.0.ebuild | 10 +++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'www-apps') 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 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 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}" -- cgit v1.2.3-65-gdbad