- update to 5.4.9RC1
- improves php.conf (use FilesMatch + SetHandler) - improves filter (httpd module) - apply ldap_r patch on fedora >= 18 only
This commit is contained in:
parent
2d008f8a3b
commit
b7e61e5ed6
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,3 +6,4 @@ php-5.3*.bz2
|
|||||||
/php-5.4.6.tar.bz2
|
/php-5.4.6.tar.bz2
|
||||||
/php-5.4.7.tar.bz2
|
/php-5.4.7.tar.bz2
|
||||||
/php-5.4.8.tar.bz2
|
/php-5.4.8.tar.bz2
|
||||||
|
/php-5.4.9RC1.tar.bz2
|
||||||
|
11
php.conf
11
php.conf
@ -1,8 +1,9 @@
|
|||||||
#
|
#
|
||||||
# Cause the PHP interpreter to handle files with a .php extension.
|
# Cause the PHP interpreter to handle files with a .php extension.
|
||||||
#
|
#
|
||||||
AddHandler php5-script .php
|
<FilesMatch \.php$>
|
||||||
AddType text/html .php
|
SetHandler application/x-httpd-php
|
||||||
|
</FilesMatch>
|
||||||
|
|
||||||
#
|
#
|
||||||
# Add index.php to the list of files that will be served as directory
|
# Add index.php to the list of files that will be served as directory
|
||||||
@ -11,10 +12,12 @@ AddType text/html .php
|
|||||||
DirectoryIndex index.php
|
DirectoryIndex index.php
|
||||||
|
|
||||||
#
|
#
|
||||||
# Uncomment the following line to allow PHP to pretty-print .phps
|
# Uncomment the following lines to allow PHP to pretty-print .phps
|
||||||
# files as PHP source code:
|
# files as PHP source code:
|
||||||
#
|
#
|
||||||
#AddType application/x-httpd-php-source .phps
|
#<FilesMatch \.phps$>
|
||||||
|
# SetHandler application/x-httpd-php-source
|
||||||
|
#</FilesMatch>
|
||||||
|
|
||||||
#
|
#
|
||||||
# Apache specific PHP configuration options
|
# Apache specific PHP configuration options
|
||||||
|
19
php.spec
19
php.spec
@ -52,10 +52,12 @@
|
|||||||
%global db_devel libdb-devel
|
%global db_devel libdb-devel
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%global rcver RC1
|
||||||
|
|
||||||
Summary: PHP scripting language for creating dynamic web sites
|
Summary: PHP scripting language for creating dynamic web sites
|
||||||
Name: php
|
Name: php
|
||||||
Version: 5.4.8
|
Version: 5.4.9
|
||||||
Release: 6%{?dist}
|
Release: 0.1.%{rcver}%{?dist}
|
||||||
# All files licensed under PHP version 3.01, except
|
# All files licensed under PHP version 3.01, except
|
||||||
# Zend is licensed under Zend
|
# Zend is licensed under Zend
|
||||||
# TSRM is licensed under BSD
|
# TSRM is licensed under BSD
|
||||||
@ -133,13 +135,10 @@ Requires(pre): httpd
|
|||||||
|
|
||||||
|
|
||||||
# Don't provides extensions, which are not shared library, as .so
|
# Don't provides extensions, which are not shared library, as .so
|
||||||
# RPM 4.8
|
|
||||||
%{?filter_provides_in: %filter_provides_in %{_libdir}/php/modules/.*\.so$}
|
%{?filter_provides_in: %filter_provides_in %{_libdir}/php/modules/.*\.so$}
|
||||||
%{?filter_provides_in: %filter_provides_in %{_libdir}/php-zts/modules/.*\.so$}
|
%{?filter_provides_in: %filter_provides_in %{_libdir}/php-zts/modules/.*\.so$}
|
||||||
|
%{?filter_provides_in: %filter_provides_in %{_libdir}/httpd/modules/.*\.so$}
|
||||||
%{?filter_setup}
|
%{?filter_setup}
|
||||||
# RPM 4.9
|
|
||||||
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}%{_libdir}/php/modules/.*\\.so$
|
|
||||||
%global __provides_exclude_from %{__provides_exclude_from}|%{_libdir}/php-zts/modules/.*\\.so$
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -675,7 +674,9 @@ support for using the enchant library to PHP.
|
|||||||
%if %{with_libzip}
|
%if %{with_libzip}
|
||||||
%patch44 -p1 -b .systzip
|
%patch44 -p1 -b .systzip
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?fedora} >= 18
|
||||||
%patch45 -p1 -b .ldap_r
|
%patch45 -p1 -b .ldap_r
|
||||||
|
%endif
|
||||||
|
|
||||||
# Prevent %%doc confusion over LICENSE files
|
# Prevent %%doc confusion over LICENSE files
|
||||||
cp Zend/LICENSE Zend/ZEND_LICENSE
|
cp Zend/LICENSE Zend/ZEND_LICENSE
|
||||||
@ -1407,6 +1408,12 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 14 2012 Remi Collet <remi@fedoraproject.org> 5.4.9-0.1.RC1
|
||||||
|
- update to 5.4.9RC1
|
||||||
|
- improves php.conf (use FilesMatch + SetHandler)
|
||||||
|
- improves filter (httpd module)
|
||||||
|
- apply ldap_r patch on fedora >= 18 only
|
||||||
|
|
||||||
* Fri Nov 9 2012 Remi Collet <rcollet@redhat.com> 5.4.8-6
|
* Fri Nov 9 2012 Remi Collet <rcollet@redhat.com> 5.4.8-6
|
||||||
- clarify Licenses
|
- clarify Licenses
|
||||||
- missing provides xmlreader and xmlwriter
|
- missing provides xmlreader and xmlwriter
|
||||||
|
Loading…
Reference in New Issue
Block a user