summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2005-06-11 09:09:00 +0000
committerStuart Herbert <stuart@gentoo.org>2005-06-11 09:09:00 +0000
commite33cf9746770ba1e0a445cac8e095e5b4cf262d3 (patch)
tree0966ec187950ec147008da8db96340830476d187 /eclass/php5-sapi-r2.eclass
parentRemoved old ebuilds (diff)
downloadhistorical-e33cf9746770ba1e0a445cac8e095e5b4cf262d3.tar.gz
historical-e33cf9746770ba1e0a445cac8e095e5b4cf262d3.tar.bz2
historical-e33cf9746770ba1e0a445cac8e095e5b4cf262d3.zip
Disabled hardenedphp for now
Diffstat (limited to 'eclass/php5-sapi-r2.eclass')
-rw-r--r--eclass/php5-sapi-r2.eclass15
1 files changed, 14 insertions, 1 deletions
diff --git a/eclass/php5-sapi-r2.eclass b/eclass/php5-sapi-r2.eclass
index 03302b0ea8d2..86f60f4d09fe 100644
--- a/eclass/php5-sapi-r2.eclass
+++ b/eclass/php5-sapi-r2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi-r2.eclass,v 1.16 2005/06/11 00:17:28 stuart Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi-r2.eclass,v 1.17 2005/06/11 09:09:00 stuart Exp $
#
# eclass/php5-sapi-r2.eclass
# Eclass for building different php5 SAPI instances
@@ -122,6 +122,19 @@ EXPORT_FUNCTIONS pkg_setup src_compile src_install src_unpack pkg_postinst
php5-sapi-r2_check_awkward_uses() {
+ # disabled hardenedphp after many reports of problems w/ apache
+ # need to look into this at some point
+
+ if useq hardenedphp ; then
+ eerror
+ eerror "hardenedphp is reported to break php for some users."
+ eerror "We've disabled this feature for now until it has been"
+ eerror "thoroughly investigated."
+ eerror
+ eerror "Please disable the hardenedphp USE flag"
+ die "hardenedphp support disabled"
+ fi
+
# snmp support seems broken, haven't looked into a fix for it yet
if useq snmp && [ "$PHP_PV" = "5.0.3" ] ; then