diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2008-01-10 15:49:54 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2008-01-10 15:49:54 +0000 |
commit | a3eb51b2de11615df42973b11cfea3c3d6cc98ed (patch) | |
tree | 6dc16bc030c433e4d43902559b53e7eff40b7e57 /www-apache/mod_backtrace | |
parent | Version bump, bug #205156. (diff) | |
download | gentoo-2-a3eb51b2de11615df42973b11cfea3c3d6cc98ed.tar.gz gentoo-2-a3eb51b2de11615df42973b11cfea3c3d6cc98ed.tar.bz2 gentoo-2-a3eb51b2de11615df42973b11cfea3c3d6cc98ed.zip |
fix #205172
(Portage version: 2.1.4_rc11)
Diffstat (limited to 'www-apache/mod_backtrace')
-rw-r--r-- | www-apache/mod_backtrace/ChangeLog | 8 | ||||
-rw-r--r-- | www-apache/mod_backtrace/files/10_mod_backtrace.conf | 8 | ||||
-rw-r--r-- | www-apache/mod_backtrace/mod_backtrace-0.0.1.ebuild | 11 |
3 files changed, 18 insertions, 9 deletions
diff --git a/www-apache/mod_backtrace/ChangeLog b/www-apache/mod_backtrace/ChangeLog index 6ffb2098fa49..2f6d2a11b00d 100644 --- a/www-apache/mod_backtrace/ChangeLog +++ b/www-apache/mod_backtrace/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-apache/mod_backtrace -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_backtrace/ChangeLog,v 1.1 2007/09/08 17:10:36 hollow Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_backtrace/ChangeLog,v 1.2 2008/01/10 15:49:54 hollow Exp $ + + 10 Jan 2008; Benedikt Böhm <hollow@gentoo.org> + files/10_mod_backtrace.conf, mod_backtrace-0.0.1.ebuild: + fix #205172 *mod_backtrace-0.0.1 (08 Sep 2007) diff --git a/www-apache/mod_backtrace/files/10_mod_backtrace.conf b/www-apache/mod_backtrace/files/10_mod_backtrace.conf index aacfc06e9bfc..3127477a2fc4 100644 --- a/www-apache/mod_backtrace/files/10_mod_backtrace.conf +++ b/www-apache/mod_backtrace/files/10_mod_backtrace.conf @@ -1,7 +1,5 @@ <IfDefine BACKTRACE> - <IfModule !mod_backtrace.c> - LoadModule backtrace_module modules/mod_backtrace.so - </IfModule> - EnableExceptionHook On - BacktraceLog /var/log/apache2/backtrace_log +LoadModule backtrace_module modules/mod_backtrace.so +EnableExceptionHook On +BacktraceLog /var/log/apache2/backtrace_log </IfDefine> diff --git a/www-apache/mod_backtrace/mod_backtrace-0.0.1.ebuild b/www-apache/mod_backtrace/mod_backtrace-0.0.1.ebuild index d33ae8d1a179..5fc8e140cb9f 100644 --- a/www-apache/mod_backtrace/mod_backtrace-0.0.1.ebuild +++ b/www-apache/mod_backtrace/mod_backtrace-0.0.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_backtrace/mod_backtrace-0.0.1.ebuild,v 1.1 2007/09/08 17:10:36 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_backtrace/mod_backtrace-0.0.1.ebuild,v 1.2 2008/01/10 15:49:54 hollow Exp $ inherit apache-module eutils @@ -21,6 +21,13 @@ APACHE2_MOD_DEFINE="BACKTRACE" need_apache2 +pkg_setup() { + apache-module_pkg_setup + if ! built_with_use www-servers/apache debug; then + die "you need to build www-servers/apache with USE=debug" + fi +} + src_unpack() { mkdir -p "${S}" || die "mkdir S failed" cp -f "${DISTDIR}/${P}.c" "${S}/${PN}.c" || die "source copy failed" |