Accepting request 74297 from home:computersalat:devel:php
fix bnc#697748 OBS-URL: https://build.opensuse.org/request/show/74297 OBS-URL: https://build.opensuse.org/package/show/server:php:applications/phpMyAdmin?expand=0&rev=9
This commit is contained in:
parent
c72882c133
commit
97f1dcf46a
@ -1,7 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 22 09:01:52 UTC 2011 - chris@computersalat.de
|
||||||
|
|
||||||
|
- fix changelog
|
||||||
|
o update to 3.4.2.0 -> update to 3.4.2
|
||||||
|
- fix bnc#697748 (suhosin customization)
|
||||||
|
o moved from spec's %post to http_conf file
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 09 14:41:00 UTC 2011 - jweberhofer@weberhofer.at
|
Thu Jun 09 14:41:00 UTC 2011 - jweberhofer@weberhofer.at
|
||||||
|
|
||||||
- update to 3.4.2.0
|
- update to 3.4.2
|
||||||
- bug #3301249 [interface] Iconic table operations does not remove inline edit label
|
- bug #3301249 [interface] Iconic table operations does not remove inline edit label
|
||||||
- bug #3303869 [interface] Unnecessary scrolling on Databases page
|
- bug #3303869 [interface] Unnecessary scrolling on Databases page
|
||||||
- patch #3303813 [setup] Define a label that was missing
|
- patch #3303813 [setup] Define a label that was missing
|
||||||
|
@ -9,6 +9,13 @@
|
|||||||
php_admin_flag zend.ze1_compatibility_mode off
|
php_admin_flag zend.ze1_compatibility_mode off
|
||||||
php_admin_flag safe_mode Off
|
php_admin_flag safe_mode Off
|
||||||
php_admin_value open_basedir "@ap_docroot@/@name@:/var/lib/php5:/tmp:@docdir@/@name@:/etc/@name@"
|
php_admin_value open_basedir "@ap_docroot@/@name@:/var/lib/php5:/tmp:@docdir@/@name@:/etc/@name@"
|
||||||
|
# customize suhosin
|
||||||
|
php_admin_value suhosin.post.max_array_index_length 256
|
||||||
|
php_admin_value suhosin.post.max_totalname_length 8192
|
||||||
|
php_admin_value suhosin.post.max_vars 2048
|
||||||
|
php_admin_value suhosin.request.max_array_index_length 256
|
||||||
|
php_admin_value suhosin.request.max_totalname_length 8192
|
||||||
|
php_admin_value suhosin.request.max_vars 2048
|
||||||
</IfModule>
|
</IfModule>
|
||||||
</Directory>
|
</Directory>
|
||||||
<Directory @ap_docroot@/@name@/libraries>
|
<Directory @ap_docroot@/@name@/libraries>
|
||||||
|
@ -136,16 +136,6 @@ find $RPM_BUILD_ROOT%{ap_docroot}/%{name} -maxdepth 1 -type f | grep -v 'config.
|
|||||||
# set PmaAbsoluteUri ### generate blowfish secret
|
# set PmaAbsoluteUri ### generate blowfish secret
|
||||||
%{__sed} -i -e "s,@FQDN@,$(cat /etc/HOSTNAME)," \
|
%{__sed} -i -e "s,@FQDN@,$(cat /etc/HOSTNAME)," \
|
||||||
-e "s/\\\$cfg\['blowfish_secret'\] = ''/\$cfg['blowfish_secret'] = '`pwgen -s -1 46`'/" %{pma_config}
|
-e "s/\\\$cfg\['blowfish_secret'\] = ''/\$cfg['blowfish_secret'] = '`pwgen -s -1 46`'/" %{pma_config}
|
||||||
if [ -f /etc/php5/conf.d/suhosin.ini ]; then
|
|
||||||
%{__sed} -i \
|
|
||||||
-e "s/^;\(suhosin.post.max_array_index_length =\).*/\1 256/" \
|
|
||||||
-e "s/^;\(suhosin.post.max_totalname_length =\).*/\1 8192/" \
|
|
||||||
-e "s/^;\(suhosin.post.max_vars =\).*/\1 2048/" \
|
|
||||||
-e "s/^;\(suhosin.request.max_array_index_length =\).*/\1 256/" \
|
|
||||||
-e "s/^;\(suhosin.request.max_totalname_length =\).*/\1 8192/" \
|
|
||||||
-e "s/^;\(suhosin.request.max_vars =\).*/\1 2048/" \
|
|
||||||
%{_sysconfdir}/php5/conf.d/suhosin.ini
|
|
||||||
fi
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%restart_on_update apache2
|
%restart_on_update apache2
|
||||||
|
Loading…
Reference in New Issue
Block a user