Bug #69643.
authorRobin H. Johnson <robbat2@gentoo.org>
Tue, 14 Dec 2004 09:15:02 +0000 (09:15 +0000)
committerRobin H. Johnson <robbat2@gentoo.org>
Tue, 14 Dec 2004 09:15:02 +0000 (09:15 +0000)
eclass/php-sapi.eclass
eclass/php5-sapi.eclass

index 584ba6af0bfa0245da20e456088648ce6b35b851..0883aacf446ea34e065eb4fe51897c34cfc9b78d 100644 (file)
@@ -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/eclass/php-sapi.eclass,v 1.51 2004/11/02 02:13:29 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-sapi.eclass,v 1.52 2004/12/14 09:15:02 robbat2 Exp $
 # Author: Robin H. Johnson <robbat2@gentoo.org>
 
 inherit eutils flag-o-matic
@@ -642,6 +642,9 @@ php-sapi_pkg_postinst() {
        fi
        ewarn "If you have additional third party PHP extensions (such as"
        ewarn "dev-php/turck-mmcache) you may need to recompile them now."
+       if use curl; then
+               ewarn "Please be aware that CURL can allow the bypass of open_basedir restrictions."
+       fi
 }
 
 php-sapi_securityupgrade() {
index 49f5fdd93f67aba89471140d107951eeaf1eaa89..293b72f7ab4a10d38199da284bdee9c1b9b1a678 100644 (file)
@@ -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/eclass/php5-sapi.eclass,v 1.33 2004/11/28 22:51:03 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi.eclass,v 1.34 2004/12/14 09:15:02 robbat2 Exp $
 #
 # eclass/php5-sapi.eclass
 #              Eclass for building different php5 SAPI instances
@@ -500,5 +500,9 @@ php5-sapi_pkg_postinst() {
 
        ewarn "If you have additional third party PHP extensions (such as"
        ewarn "dev-php/turck-mmcache) you may need to recompile them now."
+
+       if use curl; then
+               ewarn "Please be aware that CURL can allow the bypass of open_basedir restrictions."
+       fi
 }