Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 202023 Details for
Bug 256080
dev-php5/xdebug-2.0.5 and dev-php/xdebug-client-2.0.5 version bumps
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
adding use flag defaulton and warnings
xdebug-2.0.5.ebuild.patch (text/plain), 1.92 KB, created by
Daniel Neugebauer
on 2009-08-23 13:09:32 UTC
(
hide
)
Description:
adding use flag defaulton and warnings
Filename:
MIME Type:
Creator:
Daniel Neugebauer
Created:
2009-08-23 13:09:32 UTC
Size:
1.92 KB
patch
obsolete
>--- xdebug-2.0.5.ebuild.old 2009-08-23 13:55:29.000000000 +0200 >+++ xdebug-2.0.5.ebuild 2009-08-23 14:45:53.000000000 +0200 >@@ -18,7 +18,7 @@ > SRC_URI="http://pecl.php.net/get/${PN}-${MY_PV}.tgz" > LICENSE="Xdebug" > SLOT="0" >-IUSE="" >+IUSE="defaulton" > > S="${WORKDIR}/${PN}-${MY_PV}" > >@@ -41,7 +41,11 @@ > php-ext-base-r1_addtoinifiles "xdebug.collect_params" '"0"' > php-ext-base-r1_addtoinifiles "xdebug.collect_return" '"0"' > php-ext-base-r1_addtoinifiles "xdebug.collect_vars" '"0"' >- php-ext-base-r1_addtoinifiles "xdebug.default_enable" '"0"' >+ if use defaulton ; then >+ php-ext-base-r1_addtoinifiles "xdebug.default_enable" '"1"' >+ else >+ php-ext-base-r1_addtoinifiles "xdebug.default_enable" '"0"' >+ fi > php-ext-base-r1_addtoinifiles "xdebug.extended_info" '"1"' > php-ext-base-r1_addtoinifiles "xdebug.manual_url" '"http://www.php.net"' > php-ext-base-r1_addtoinifiles "xdebug.max_nesting_level" '"100"' >@@ -77,3 +81,24 @@ > php-ext-base-r1_addtoinifiles "xdebug.var_display_max_depth" '"2"' > php-ext-base-r1_addtoinifiles "xdebug.var_display_max_children" '"128"' > } >+ >+pkg_postinst() { >+ if ! use defaulton ; then >+ ewarn "Deviating from Xdebug's default setting xdebug.default_enable is set" >+ ewarn "to 0 if not emerged with defaulton USE flag. This is done to prevent" >+ ewarn "Xdebug to become globally enabled if emerged accidentally as a" >+ ewarn "dependency." >+ ewarn " " >+ ewarn "You will have to activate it manually by setting xdebug.default_enable" >+ ewarn "to 1 in php.ini, adding a php_admin_value directive to your vhost or by" >+ ewarn "calling xdebug_enable() in your code." >+ ewarn " " >+ ewarn "If you really intend to activate Xdebug globally you can also reemerge" >+ ewarn "with USE flag 'defaulton'." >+ ewarn " " >+ ewarn "Disabling Xdebug by default has been introduced in ebuild 2.0.5." >+ else >+ ewarn "Xdebug is globally enabled by default - unset USE flag defaulton to" >+ ewarn "prevent this behavior." >+ fi >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 256080
:
179446
|
179447
|
197918
|
197920
| 202023