1 |
%define contentdir /var/www |
%global contentdir /var/www |
2 |
%define apiver 20041225 |
# API/ABI check |
3 |
%define zendver 20060613 |
%global apiver 20090626 |
4 |
%define pdover 20060511 |
%global zendver 20090626 |
5 |
|
%global pdover 20080721 |
6 |
|
# Extension version |
7 |
|
%global fileinfover 1.0.5-dev |
8 |
|
%global pharver 2.0.1 |
9 |
|
%global zipver 1.9.1 |
10 |
|
%global jsonver 1.2.1 |
11 |
|
|
12 |
|
%define httpd_mmn %(cat %{_includedir}/httpd/.mmn || echo missing-httpd-devel) |
13 |
|
|
14 |
|
# Use the arch-specific mysql_config binary to avoid mismatch with the |
15 |
|
# heuristic used by bindir/mysql_config. |
16 |
|
%define mysql_config %{_libdir}/mysql/mysql_config |
17 |
|
|
18 |
Summary: The PHP HTML-embedded scripting language |
Summary: PHP scripting language for creating dynamic web sites |
19 |
Name: php |
Name: php |
20 |
Version: 5.2.10 |
Version: 5.3.3 |
21 |
Release: 1%{?dist} |
Release: 1%{?dist}.3 |
22 |
License: PHP |
License: PHP and LGPLv2 and LGPLv2+ |
23 |
Group: Development/Languages |
Group: Development/Languages |
24 |
URL: http://www.php.net/ |
URL: http://www.php.net/ |
25 |
|
|
28 |
Source2: php.ini |
Source2: php.ini |
29 |
Source3: macros.php |
Source3: macros.php |
30 |
|
|
31 |
Patch1: php-5.2.4-gnusrc.patch |
# Build fixes |
32 |
Patch2: php-4.3.3-install.patch |
Patch1: php-5.3.3-gnusrc.patch |
33 |
|
Patch2: php-5.3.0-install.patch |
34 |
Patch3: php-5.2.4-norpath.patch |
Patch3: php-5.2.4-norpath.patch |
35 |
Patch5: php-5.0.2-phpize64.patch |
Patch4: php-5.3.0-phpize64.patch |
36 |
Patch8: php-5.2.0-includedir.patch |
Patch5: php-5.2.0-includedir.patch |
37 |
Patch9: php-5.2.4-embed.patch |
Patch8: php-5.3.3-aconf26x.patch |
38 |
|
|
39 |
# Fixes for extension modules |
# Fixes for extensions |
40 |
Patch21: php-5.2.4-odbc.patch |
Patch20: php-4.3.11-shutdown.patch |
|
Patch22: php-4.3.11-shutdown.patch |
|
|
Patch24: php-5.2.3-macropen.patch |
|
41 |
|
|
42 |
# Functional changes |
# Functional changes |
43 |
Patch30: php-5.0.4-dlopen.patch |
Patch40: php-5.0.4-dlopen.patch |
44 |
Patch31: php-5.2.4-easter.patch |
Patch41: php-5.3.0-easter.patch |
45 |
Patch32: php-5.2.5-systzdata.patch |
Patch42: php-5.3.1-systzdata-v7.patch |
46 |
|
|
47 |
# Fixes for tests |
# Fixes for tests |
48 |
Patch51: php-5.0.4-tests-wddx.patch |
Patch61: php-5.0.4-tests-wddx.patch |
49 |
|
Patch62: php-5.3.2-testfail.patch |
50 |
|
|
51 |
|
# Bug fixes |
52 |
|
Patch100: php-5.3.2-r305570.patch |
53 |
|
Patch101: php-5.3.3-r305043.patch |
54 |
|
|
55 |
|
# Fixes for security bugs |
56 |
|
Patch207: php-5.3.2-CVE-2010-3709.patch |
57 |
|
Patch208: php-5.3.2-CVE-2010-3870.patch |
58 |
|
Patch209: php-5.3.3-CVE-2010-4156.patch |
59 |
|
Patch210: php-5.3.3-CVE-2010-3710.patch |
60 |
|
Patch211: php-5.3.2-CVE-2010-4645.patch |
61 |
|
Patch212: php-5.3.3-CVE-2011-0708.patch |
62 |
|
Patch213: php-5.3.3-CVE-2011-1148.patch |
63 |
|
Patch214: php-5.3.3-CVE-2011-1466.patch |
64 |
|
Patch215: php-5.3.3-CVE-2011-1468.patch |
65 |
|
Patch216: php-5.3.3-CVE-2011-1469.patch |
66 |
|
Patch217: php-5.3.3-CVE-2011-1470.patch |
67 |
|
Patch218: php-5.3.3-CVE-2011-1471.patch |
68 |
|
Patch219: php-5.3.3-CVE-2011-1938.patch |
69 |
|
Patch220: php-5.3.3-CVE-2011-2202.patch |
70 |
|
Patch221: php-5.3.3-CVE-2011-2483.patch |
71 |
|
|
72 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
73 |
|
|
74 |
BuildRequires: bzip2-devel, curl-devel >= 7.9, db4-devel, expat-devel |
BuildRequires: bzip2-devel, curl-devel >= 7.9, db4-devel, gmp-devel |
75 |
BuildRequires: gmp-devel, aspell-devel >= 0.50.0 |
BuildRequires: httpd-devel >= 2.0.46-1, pam-devel |
76 |
BuildRequires: httpd-devel >= 2.0.46-1, libjpeg-devel, libpng-devel, pam-devel |
BuildRequires: libstdc++-devel, openssl-devel, sqlite-devel |
77 |
BuildRequires: libstdc++-devel, openssl-devel, sqlite-devel >= 3.0.0 |
BuildRequires: zlib-devel, pcre-devel >= 6.6, smtpdaemon |
|
BuildRequires: zlib-devel, pcre-devel >= 6.6, smtpdaemon, readline-devel |
|
78 |
BuildRequires: bzip2, perl, libtool >= 1.4.3, gcc-c++ |
BuildRequires: bzip2, perl, libtool >= 1.4.3, gcc-c++ |
79 |
Obsoletes: php-dbg, php3, phpfi, stronghold-php |
Requires: httpd-mmn = %{httpd_mmn} |
|
# Enforce Apache module ABI compatibility |
|
|
Requires: httpd-mmn = %(cat %{_includedir}/httpd/.mmn || echo missing-httpd-devel) |
|
80 |
Provides: mod_php = %{version}-%{release} |
Provides: mod_php = %{version}-%{release} |
81 |
Requires: php-common = %{version}-%{release} |
Requires: %{name}-common = %{version}-%{release} |
82 |
# For backwards-compatibility, require php-cli for the time being: |
# For backwards-compatibility, require php-cli for the time being: |
83 |
Requires: php-cli = %{version}-%{release} |
Requires: %{name}-cli = %{version}-%{release} |
84 |
# To ensure correct /var/lib/php/session ownership: |
# To ensure correct /var/lib/php/session ownership: |
85 |
Requires(pre): httpd |
Requires(pre): httpd |
86 |
|
|
98 |
%package cli |
%package cli |
99 |
Group: Development/Languages |
Group: Development/Languages |
100 |
Summary: Command-line interface for PHP |
Summary: Command-line interface for PHP |
101 |
Requires: php-common = %{version}-%{release} |
Requires: %{name}-common = %{version}-%{release} |
102 |
Provides: php-cgi = %{version}-%{release} |
Provides: php-cgi = %{version}-%{release}, php-cli = %{version}-%{release} |
103 |
Provides: php-pcntl, php-readline |
Provides: php-pcntl |
104 |
|
|
105 |
%description cli |
%description cli |
106 |
The php-cli package contains the command-line interface |
The php-cli package contains the command-line interface |
114 |
# Provides for all builtin modules: |
# Provides for all builtin modules: |
115 |
Provides: php-bz2, php-calendar, php-ctype, php-curl, php-date, php-exif |
Provides: php-bz2, php-calendar, php-ctype, php-curl, php-date, php-exif |
116 |
Provides: php-ftp, php-gettext, php-gmp, php-hash, php-iconv, php-libxml |
Provides: php-ftp, php-gettext, php-gmp, php-hash, php-iconv, php-libxml |
|
Provides: php-openssl, php-pcre, php-posix, php-pspell |
|
117 |
Provides: php-reflection, php-session, php-shmop, php-simplexml, php-sockets |
Provides: php-reflection, php-session, php-shmop, php-simplexml, php-sockets |
118 |
Provides: php-spl, php-sysvsem, php-sysvshm, php-sysvmsg, php-tokenizer |
Provides: php-spl, php-tokenizer, php-openssl, php-pcre |
119 |
Provides: php-wddx, php-zlib, php-json, php-zip, php-dbase |
Provides: php-zlib, php-json, php-zip, php-fileinfo |
120 |
Obsoletes: php-openssl, php-pecl-zip, php-json, php-dbase |
Obsoletes: php-openssl, php-json |
121 |
|
# For obsoleted pecl extension |
122 |
|
Provides: php-pecl-json = %{jsonver}, php-pecl(json) = %{jsonver} |
123 |
|
Provides: php-pecl-zip = %{zipver}, php-pecl(zip) = %{zipver} |
124 |
|
Provides: php-pecl-phar = %{pharver}, php-pecl(phar) = %{pharver} |
125 |
|
Provides: php-pecl-Fileinfo = %{fileinfover}, php-pecl(Fileinfo) = %{fileinfover} |
126 |
|
Obsoletes: php-pecl-json, php-pecl-zip, php-pecl-phar, php-pecl-Fileinfo |
127 |
|
|
128 |
%description common |
%description common |
129 |
The php-common package contains files used by both the php |
The %{name}-common package contains files used by both the php |
130 |
package and the php-cli package. |
package and the php-cli package. |
131 |
|
|
132 |
%package devel |
%package devel |
133 |
Group: Development/Libraries |
Group: Development/Libraries |
134 |
Summary: Files needed for building PHP extensions |
Summary: Files needed for building PHP extensions |
135 |
Requires: php = %{version}-%{release}, autoconf, automake |
Requires: %{name} = %{version}-%{release}, autoconf, automake |
136 |
Obsoletes: php-pecl-pdo-devel |
Provides: php-devel = %{version}-%{release} |
137 |
|
|
138 |
%description devel |
%description devel |
139 |
The php-devel package contains the files needed for building PHP |
The php-devel package contains the files needed for building PHP |
143 |
%package imap |
%package imap |
144 |
Summary: A module for PHP applications that use IMAP |
Summary: A module for PHP applications that use IMAP |
145 |
Group: Development/Languages |
Group: Development/Languages |
146 |
Requires: php-common = %{version}-%{release} |
Requires: %{name}-common = %{version}-%{release} |
|
Obsoletes: mod_php3-imap, stronghold-php-imap |
|
147 |
BuildRequires: krb5-devel, openssl-devel, libc-client-devel |
BuildRequires: krb5-devel, openssl-devel, libc-client-devel |
148 |
|
|
149 |
%description imap |
%description imap |
150 |
The php-imap package contains a dynamic shared object (DSO) for the |
The php-imap package contains a dynamic shared object that will |
151 |
Apache Web server. When compiled into Apache, the php-imap module will |
add support for the IMAP protocol to PHP. |
|
add IMAP (Internet Message Access Protocol) support to PHP. IMAP is a |
|
|
protocol for retrieving and uploading e-mail messages on mail |
|
|
servers. PHP is an HTML-embedded scripting language. If you need IMAP |
|
|
support for PHP applications, you will need to install this package |
|
|
and the php package. |
|
152 |
|
|
153 |
%package ldap |
%package ldap |
154 |
Summary: A module for PHP applications that use LDAP |
Summary: A module for PHP applications that use LDAP |
155 |
Group: Development/Languages |
Group: Development/Languages |
156 |
Requires: php-common = %{version}-%{release} |
Requires: %{name}-common = %{version}-%{release} |
|
Obsoletes: mod_php3-ldap, stronghold-php-ldap |
|
157 |
BuildRequires: cyrus-sasl-devel, openldap-devel, openssl-devel |
BuildRequires: cyrus-sasl-devel, openldap-devel, openssl-devel |
158 |
|
|
159 |
%description ldap |
%description ldap |
167 |
%package pdo |
%package pdo |
168 |
Summary: A database access abstraction module for PHP applications |
Summary: A database access abstraction module for PHP applications |
169 |
Group: Development/Languages |
Group: Development/Languages |
170 |
Requires: php-common = %{version}-%{release} |
Requires: %{name}-common = %{version}-%{release} |
|
Obsoletes: php-pecl-pdo-sqlite, php-pecl-pdo |
|
171 |
Provides: php-pdo-abi = %{pdover} |
Provides: php-pdo-abi = %{pdover} |
172 |
|
Provides: php-pdo_sqlite |
173 |
|
|
174 |
%description pdo |
%description pdo |
175 |
The php-pdo package contains a dynamic shared object that will add |
The %{name}-pdo package contains a dynamic shared object that will add |
176 |
a database access abstraction layer to PHP. This module provides |
a database access abstraction layer to PHP. This module provides |
177 |
a common interface for accessing MySQL, PostgreSQL or other |
a common interface for accessing MySQL, PostgreSQL or other |
178 |
databases. |
databases. |
180 |
%package mysql |
%package mysql |
181 |
Summary: A module for PHP applications that use MySQL databases |
Summary: A module for PHP applications that use MySQL databases |
182 |
Group: Development/Languages |
Group: Development/Languages |
183 |
Requires: php-common = %{version}-%{release}, php-pdo |
Requires: %{name}-common = %{version}-%{release}, %{name}-pdo |
184 |
Provides: php_database, php-mysqli |
Provides: php_database, php-mysqli, php-pdo_mysql |
|
Obsoletes: mod_php3-mysql, stronghold-php-mysql |
|
185 |
BuildRequires: mysql-devel >= 4.1.0 |
BuildRequires: mysql-devel >= 4.1.0 |
186 |
|
|
187 |
%description mysql |
%description mysql |
194 |
%package pgsql |
%package pgsql |
195 |
Summary: A PostgreSQL database module for PHP |
Summary: A PostgreSQL database module for PHP |
196 |
Group: Development/Languages |
Group: Development/Languages |
197 |
Requires: php-common = %{version}-%{release}, php-pdo |
Requires: %{name}-common = %{version}-%{release}, %{name}-pdo |
198 |
Provides: php_database |
Provides: php_database, php-pdo_pgsql |
|
Obsoletes: mod_php3-pgsql, stronghold-php-pgsql |
|
199 |
BuildRequires: krb5-devel, openssl-devel, postgresql-devel |
BuildRequires: krb5-devel, openssl-devel, postgresql-devel |
200 |
|
|
201 |
%description pgsql |
%description pgsql |
207 |
PostgreSQL, you should install this package in addition to the main |
PostgreSQL, you should install this package in addition to the main |
208 |
php package. |
php package. |
209 |
|
|
210 |
|
%package process |
211 |
|
Summary: Modules for PHP script using system process interfaces |
212 |
|
Group: Development/Languages |
213 |
|
Requires: %{name}-common = %{version}-%{release} |
214 |
|
Provides: php-posix, php-sysvsem, php-sysvshm, php-sysvmsg |
215 |
|
|
216 |
|
%description process |
217 |
|
The php-process package contains dynamic shared objects which add |
218 |
|
support to PHP using system interfaces for inter-process |
219 |
|
communication. |
220 |
|
|
221 |
%package odbc |
%package odbc |
222 |
Group: Development/Languages |
Group: Development/Languages |
223 |
Requires: php-common = %{version}-%{release}, php-pdo |
Requires: %{name}-common = %{version}-%{release}, %{name}-pdo |
224 |
Summary: A module for PHP applications that use ODBC databases |
Summary: A module for PHP applications that use ODBC databases |
225 |
Provides: php_database |
Provides: php_database, php-pdo_odbc |
|
Obsoletes: stronghold-php-odbc |
|
226 |
BuildRequires: unixODBC-devel |
BuildRequires: unixODBC-devel |
227 |
|
|
228 |
%description odbc |
%description odbc |
236 |
|
|
237 |
%package soap |
%package soap |
238 |
Group: Development/Languages |
Group: Development/Languages |
239 |
Requires: php-common = %{version}-%{release} |
Requires: %{name}-common = %{version}-%{release} |
240 |
Summary: A module for PHP applications that use the SOAP protocol |
Summary: A module for PHP applications that use the SOAP protocol |
241 |
BuildRequires: libxml2-devel |
BuildRequires: libxml2-devel |
242 |
|
|
247 |
%package snmp |
%package snmp |
248 |
Summary: A module for PHP applications that query SNMP-managed devices |
Summary: A module for PHP applications that query SNMP-managed devices |
249 |
Group: Development/Languages |
Group: Development/Languages |
250 |
Requires: php-common = %{version}-%{release}, net-snmp |
Requires: %{name}-common = %{version}-%{release}, net-snmp |
251 |
BuildRequires: net-snmp-devel |
BuildRequires: net-snmp-devel |
252 |
|
|
253 |
%description snmp |
%description snmp |
259 |
%package xml |
%package xml |
260 |
Summary: A module for PHP applications which use XML |
Summary: A module for PHP applications which use XML |
261 |
Group: Development/Languages |
Group: Development/Languages |
262 |
Requires: php-common = %{version}-%{release} |
Requires: %{name}-common = %{version}-%{release} |
263 |
Obsoletes: php-domxml, php-dom |
Provides: php-dom, php-xsl, php-domxml, php-wddx |
|
Provides: php-dom, php-xsl, php-domxml |
|
264 |
BuildRequires: libxslt-devel >= 1.0.18-1, libxml2-devel >= 2.4.14-1 |
BuildRequires: libxslt-devel >= 1.0.18-1, libxml2-devel >= 2.4.14-1 |
265 |
|
Obsoletes: php-domxml, php-dom |
266 |
|
|
267 |
%description xml |
%description xml |
268 |
The php-xml package contains dynamic shared objects which add support |
The php-xml package contains dynamic shared objects which add support |
272 |
%package xmlrpc |
%package xmlrpc |
273 |
Summary: A module for PHP applications which use the XML-RPC protocol |
Summary: A module for PHP applications which use the XML-RPC protocol |
274 |
Group: Development/Languages |
Group: Development/Languages |
275 |
Requires: php-common = %{version}-%{release} |
Requires: %{name}-common = %{version}-%{release} |
|
BuildRequires: expat-devel |
|
276 |
|
|
277 |
%description xmlrpc |
%description xmlrpc |
278 |
The php-xmlrpc package contains a dynamic shared object that will add |
The php-xmlrpc package contains a dynamic shared object that will add |
281 |
%package mbstring |
%package mbstring |
282 |
Summary: A module for PHP applications which need multi-byte string handling |
Summary: A module for PHP applications which need multi-byte string handling |
283 |
Group: Development/Languages |
Group: Development/Languages |
284 |
Requires: php-common = %{version}-%{release} |
Requires: %{name}-common = %{version}-%{release} |
285 |
|
|
286 |
%description mbstring |
%description mbstring |
287 |
The php-mbstring package contains a dynamic shared object that will add |
The php-mbstring package contains a dynamic shared object that will add |
288 |
support for multi-byte string handling to PHP. |
support for multi-byte string handling to PHP. |
289 |
|
|
|
%package ncurses |
|
|
Summary: A module for PHP applications for using ncurses interfaces |
|
|
Group: Development/Languages |
|
|
Requires: php-common = %{version}-%{release} |
|
|
BuildRequires: ncurses-devel |
|
|
|
|
|
%description ncurses |
|
|
The php-ncurses package contains a dynamic shared object that will add |
|
|
support for using the ncurses terminal output interfaces. |
|
|
|
|
290 |
%package gd |
%package gd |
291 |
Summary: A module for PHP applications for using the gd graphics library |
Summary: A module for PHP applications for using the gd graphics library |
292 |
Group: Development/Languages |
Group: Development/Languages |
293 |
Requires: php-common = %{version}-%{release} |
Requires: %{name}-common = %{version}-%{release} |
294 |
BuildRequires: gd-devel, freetype-devel |
# Required to build the bundled GD library |
295 |
|
BuildRequires: libXpm-devel, libjpeg-devel, libpng-devel, freetype-devel |
296 |
|
|
297 |
%description gd |
%description gd |
298 |
The php-gd package contains a dynamic shared object that will add |
The php-gd package contains a dynamic shared object that will add |
301 |
%package bcmath |
%package bcmath |
302 |
Summary: A module for PHP applications for using the bcmath library |
Summary: A module for PHP applications for using the bcmath library |
303 |
Group: Development/Languages |
Group: Development/Languages |
304 |
Requires: php-common = %{version}-%{release} |
Requires: %{name}-common = %{version}-%{release} |
305 |
|
|
306 |
%description bcmath |
%description bcmath |
307 |
The php-bcmath package contains a dynamic shared object that will add |
The php-bcmath package contains a dynamic shared object that will add |
310 |
%package dba |
%package dba |
311 |
Summary: A database abstraction layer module for PHP applications |
Summary: A database abstraction layer module for PHP applications |
312 |
Group: Development/Languages |
Group: Development/Languages |
313 |
Requires: php-common = %{version}-%{release} |
Requires: %{name}-common = %{version}-%{release} |
314 |
|
|
315 |
%description dba |
%description dba |
316 |
The php-dba package contains a dynamic shared object that will add |
The php-dba package contains a dynamic shared object that will add |
317 |
support for using the DBA database abstraction layer to PHP. |
support for using the DBA database abstraction layer to PHP. |
318 |
|
|
319 |
|
%package pspell |
320 |
|
Summary: A module for PHP applications for using pspell interfaces |
321 |
|
Group: System Environment/Libraries |
322 |
|
Requires: %{name}-common = %{version}-%{release} |
323 |
|
BuildRequires: aspell-devel >= 0.50.0 |
324 |
|
|
325 |
|
%description pspell |
326 |
|
The php-pspell package contains a dynamic shared object that will add |
327 |
|
support for using the pspell library to PHP. |
328 |
|
|
329 |
|
%package intl |
330 |
|
Summary: Internationalization extension for PHP applications |
331 |
|
Group: System Environment/Libraries |
332 |
|
Requires: %{name}-common = %{version}-%{release} |
333 |
|
BuildRequires: libicu-devel >= 3.6 |
334 |
|
|
335 |
|
%description intl |
336 |
|
The php-intl package contains a dynamic shared object that will add |
337 |
|
support for using the ICU library to PHP. |
338 |
|
|
339 |
%prep |
%prep |
340 |
%setup -q |
%setup -q -n php-%{version} |
341 |
%patch1 -p1 -b .gnusrc |
%patch1 -p1 -b .gnusrc |
342 |
%patch2 -p1 -b .install |
%patch2 -p1 -b .install |
343 |
%patch3 -p1 -b .norpath |
%patch3 -p1 -b .norpath |
344 |
%patch5 -p1 -b .phpize64 |
%patch4 -p1 -b .phpize64 |
345 |
%patch8 -p1 -b .includedir |
%patch5 -p1 -b .includedir |
346 |
%patch9 -p1 -b .embed |
%patch8 -p1 -b .aconf26x |
347 |
|
|
348 |
%patch21 -p1 -b .odbc |
%patch20 -p1 -b .shutdown |
349 |
%patch22 -p1 -b .shutdown |
|
350 |
%patch24 -p1 -b .macropen |
%patch40 -p1 -b .dlopen |
351 |
|
%patch41 -p1 -b .easter |
352 |
%patch30 -p1 -b .dlopen |
%patch42 -p1 -b .systzdata |
353 |
%patch31 -p1 -b .easter |
|
354 |
%patch32 -p1 -b .systzdata |
%patch61 -p1 -b .tests-wddx |
355 |
|
%patch62 -p1 -b .testfail |
356 |
%patch51 -p1 -b .tests-wddx |
|
357 |
|
%patch100 -p1 -b .r305570 |
358 |
|
%patch101 -p1 -b .r305043 |
359 |
|
|
360 |
|
%patch207 -p1 -b .cve3709 |
361 |
|
%patch208 -p1 -b .cve3870 |
362 |
|
|
363 |
|
%patch209 -p1 -b .cve4156 |
364 |
|
%patch210 -p1 -b .cve3710 |
365 |
|
%patch211 -p1 -b .cve4645 |
366 |
|
%patch212 -p1 -b .cve0708 |
367 |
|
%patch213 -p1 -b .cve1148 |
368 |
|
%patch214 -p1 -b .cve1466 |
369 |
|
%patch215 -p1 -b .cve1468 |
370 |
|
%patch216 -p1 -b .cve1469 |
371 |
|
%patch217 -p1 -b .cve1470 |
372 |
|
%patch218 -p1 -b .cve1471 |
373 |
|
%patch219 -p1 -b .cve1938 |
374 |
|
%patch220 -p1 -b .cve2202 |
375 |
|
%patch221 -p1 -b .cve2483 |
376 |
|
|
377 |
# Prevent %%doc confusion over LICENSE files |
# Prevent %%doc confusion over LICENSE files |
378 |
cp Zend/LICENSE Zend/ZEND_LICENSE |
cp -p Zend/LICENSE Zend/ZEND_LICENSE |
379 |
cp TSRM/LICENSE TSRM_LICENSE |
cp -p TSRM/LICENSE TSRM_LICENSE |
380 |
cp regex/COPYRIGHT regex_COPYRIGHT |
cp -p ext/ereg/regex/COPYRIGHT regex_COPYRIGHT |
381 |
cp ext/gd/libgd/README gd_README |
cp -p ext/gd/libgd/README gd_README |
382 |
|
|
383 |
# Source is built twice: once for /usr/bin/php, once for the Apache DSO. |
# Multiple builds for multiple SAPIs |
384 |
mkdir build-cgi build-apache |
mkdir build-cgi build-apache |
385 |
|
|
386 |
# Remove bogus test; position of read position after fopen(, "a+") |
# Remove bogus test; position of read position after fopen(, "a+") |
391 |
rm -f ext/standard/tests/file/bug22414.phpt \ |
rm -f ext/standard/tests/file/bug22414.phpt \ |
392 |
ext/iconv/tests/bug16069.phpt |
ext/iconv/tests/bug16069.phpt |
393 |
|
|
394 |
|
# Remove tests which require external network access |
395 |
|
rm -f ext/sockets/tests/socket_bind.diff |
396 |
|
|
397 |
|
# Easter eggs no not shipped |
398 |
|
rm -f tests/basic/php_egg_logo_guid.diff |
399 |
|
|
400 |
# Safety check for API version change. |
# Safety check for API version change. |
401 |
vapi=`sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h` |
vapi=`sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h` |
402 |
if test "x${vapi}" != "x%{apiver}"; then |
if test "x${vapi}" != "x%{apiver}"; then |
420 |
exit 1 |
exit 1 |
421 |
fi |
fi |
422 |
|
|
423 |
|
# Check for some extension version |
424 |
|
ver=$(sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h) |
425 |
|
if test "$ver" != "%{fileinfover}"; then |
426 |
|
: Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}. |
427 |
|
: Update the fileinfover macro and rebuild. |
428 |
|
exit 1 |
429 |
|
fi |
430 |
|
ver=$(sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h) |
431 |
|
if test "$ver" != "%{pharver}"; then |
432 |
|
: Error: Upstream PHAR version is now ${ver}, expecting %{pharver}. |
433 |
|
: Update the pharver macro and rebuild. |
434 |
|
exit 1 |
435 |
|
fi |
436 |
|
ver=$(sed -n '/#define PHP_ZIP_VERSION_STRING /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h) |
437 |
|
if test "$ver" != "%{zipver}"; then |
438 |
|
: Error: Upstream ZIP version is now ${ver}, expecting %{zipver}. |
439 |
|
: Update the zipver macro and rebuild. |
440 |
|
exit 1 |
441 |
|
fi |
442 |
|
ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h) |
443 |
|
if test "$ver" != "%{jsonver}"; then |
444 |
|
: Error: Upstream JSON version is now ${ver}, expecting %{jsonver}. |
445 |
|
: Update the jsonver macro and rebuild. |
446 |
|
exit 1 |
447 |
|
fi |
448 |
|
|
449 |
|
# Fix some bogus permissions |
450 |
|
find . -name \*.[ch] -exec chmod 644 {} \; |
451 |
|
chmod 644 README.* |
452 |
|
|
453 |
%build |
%build |
454 |
|
# aclocal workaround - to be improved |
455 |
|
cat `aclocal --print-ac-dir`/libtool.m4 >>aclocal.m4 |
456 |
|
|
457 |
# Force use of system libtool: |
# Force use of system libtool: |
458 |
libtoolize --force --copy |
libtoolize --force --copy |
459 |
cat `aclocal --print-ac-dir`/libtool.m4 > build/libtool.m4 |
cat `aclocal --print-ac-dir`/libtool.m4 >build/libtool.m4 |
460 |
|
|
461 |
# Regenerate configure scripts (patches change config.m4's) |
# Regenerate configure scripts (patches change config.m4's) |
462 |
|
touch configure.in |
463 |
./buildconf --force |
./buildconf --force |
464 |
|
|
465 |
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign" |
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign" |
488 |
--disable-rpath \ |
--disable-rpath \ |
489 |
--without-pear \ |
--without-pear \ |
490 |
--with-bz2 \ |
--with-bz2 \ |
|
--with-curl \ |
|
491 |
--with-exec-dir=%{_bindir} \ |
--with-exec-dir=%{_bindir} \ |
492 |
--with-freetype-dir=%{_prefix} \ |
--with-freetype-dir=%{_prefix} \ |
493 |
--with-png-dir=%{_prefix} \ |
--with-png-dir=%{_prefix} \ |
494 |
|
--with-xpm-dir=%{_prefix} \ |
495 |
--enable-gd-native-ttf \ |
--enable-gd-native-ttf \ |
496 |
--without-gdbm \ |
--without-gdbm \ |
497 |
--with-gettext \ |
--with-gettext \ |
499 |
--with-iconv \ |
--with-iconv \ |
500 |
--with-jpeg-dir=%{_prefix} \ |
--with-jpeg-dir=%{_prefix} \ |
501 |
--with-openssl \ |
--with-openssl \ |
|
--with-png \ |
|
|
--with-pspell \ |
|
|
--with-expat-dir=%{_prefix} \ |
|
502 |
--with-pcre-regex=%{_prefix} \ |
--with-pcre-regex=%{_prefix} \ |
503 |
--with-zlib \ |
--with-zlib \ |
504 |
--with-layout=GNU \ |
--with-layout=GNU \ |
507 |
--enable-magic-quotes \ |
--enable-magic-quotes \ |
508 |
--enable-sockets \ |
--enable-sockets \ |
509 |
--enable-sysvsem --enable-sysvshm --enable-sysvmsg \ |
--enable-sysvsem --enable-sysvshm --enable-sysvmsg \ |
|
--enable-track-vars \ |
|
|
--enable-trans-sid \ |
|
|
--enable-yp \ |
|
|
--enable-wddx \ |
|
510 |
--with-kerberos \ |
--with-kerberos \ |
511 |
--enable-ucd-snmp-hack \ |
--enable-ucd-snmp-hack \ |
|
--with-unixODBC=shared,%{_prefix} \ |
|
|
--enable-memory-limit \ |
|
512 |
--enable-shmop \ |
--enable-shmop \ |
513 |
--enable-calendar \ |
--enable-calendar \ |
|
--enable-dbx \ |
|
|
--enable-dio \ |
|
|
--without-mime-magic \ |
|
514 |
--without-sqlite \ |
--without-sqlite \ |
515 |
|
--without-sqlite3 \ |
516 |
--with-libxml-dir=%{_prefix} \ |
--with-libxml-dir=%{_prefix} \ |
517 |
--with-xml \ |
--enable-xml \ |
518 |
--with-system-tzdata \ |
--with-system-tzdata \ |
519 |
$* |
$* |
520 |
if test $? != 0; then |
if test $? != 0; then |
531 |
build --enable-force-cgi-redirect \ |
build --enable-force-cgi-redirect \ |
532 |
--enable-pcntl \ |
--enable-pcntl \ |
533 |
--with-imap=shared --with-imap-ssl \ |
--with-imap=shared --with-imap-ssl \ |
534 |
--enable-mbstring=shared --enable-mbstr-enc-trans \ |
--enable-mbstring=shared \ |
535 |
--enable-mbregex \ |
--enable-mbregex \ |
|
--with-ncurses=shared \ |
|
536 |
--with-gd=shared \ |
--with-gd=shared \ |
537 |
--enable-bcmath=shared \ |
--enable-bcmath=shared \ |
538 |
--enable-dba=shared --with-db4=%{_prefix} \ |
--enable-dba=shared --with-db4=%{_prefix} \ |
539 |
--with-xmlrpc=shared \ |
--with-xmlrpc=shared \ |
540 |
--with-ldap=shared --with-ldap-sasl \ |
--with-ldap=shared --with-ldap-sasl \ |
541 |
--with-mysql=shared,%{_prefix} \ |
--with-mysql=shared,%{_prefix} \ |
542 |
--with-mysqli=shared,%{_bindir}/mysql_config \ |
--with-mysqli=shared,%{mysql_config} \ |
543 |
--enable-dom=shared \ |
--enable-dom=shared \ |
|
--with-dom-xslt=%{_prefix} --with-dom-exslt=%{_prefix} \ |
|
544 |
--with-pgsql=shared \ |
--with-pgsql=shared \ |
545 |
|
--enable-wddx=shared \ |
546 |
--with-snmp=shared,%{_prefix} \ |
--with-snmp=shared,%{_prefix} \ |
547 |
--enable-soap=shared \ |
--enable-soap=shared \ |
548 |
--with-xsl=shared,%{_prefix} \ |
--with-xsl=shared,%{_prefix} \ |
549 |
--enable-xmlreader=shared --enable-xmlwriter=shared \ |
--enable-xmlreader=shared --enable-xmlwriter=shared \ |
550 |
|
--with-curl=shared,%{_prefix} \ |
551 |
--enable-fastcgi \ |
--enable-fastcgi \ |
552 |
--enable-pdo=shared \ |
--enable-pdo=shared \ |
553 |
--with-pdo-odbc=shared,unixODBC,%{_prefix} \ |
--with-pdo-odbc=shared,unixODBC,%{_prefix} \ |
554 |
--with-pdo-mysql=shared,%{_prefix} \ |
--with-pdo-mysql=shared,%{mysql_config} \ |
555 |
--with-pdo-pgsql=shared,%{_prefix} \ |
--with-pdo-pgsql=shared,%{_prefix} \ |
556 |
--with-pdo-sqlite=shared,%{_prefix} \ |
--with-pdo-sqlite=shared,%{_prefix} \ |
557 |
--enable-json=shared \ |
--enable-json=shared \ |
558 |
--enable-zip=shared \ |
--enable-zip=shared \ |
559 |
--with-readline \ |
--without-readline \ |
560 |
--enable-dbase=shared |
--with-pspell=shared \ |
561 |
|
--enable-phar=shared \ |
562 |
|
--enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \ |
563 |
|
--enable-posix=shared \ |
564 |
|
--with-unixODBC=shared,%{_prefix} \ |
565 |
|
--enable-fileinfo=shared \ |
566 |
|
--enable-intl=shared \ |
567 |
|
--with-icu-dir=%{_prefix} |
568 |
popd |
popd |
569 |
|
|
570 |
|
without_shared="--without-mysql --without-gd \ |
571 |
|
--disable-dom --disable-dba --without-unixODBC \ |
572 |
|
--disable-pdo --disable-xmlreader --disable-xmlwriter \ |
573 |
|
--without-sqlite3 --disable-phar --disable-fileinfo \ |
574 |
|
--disable-json --without-pspell --disable-wddx \ |
575 |
|
--without-curl --disable-posix \ |
576 |
|
--disable-sysvmsg --disable-sysvshm --disable-sysvsem" |
577 |
|
|
578 |
# Build Apache module, and the CLI SAPI, /usr/bin/php |
# Build Apache module, and the CLI SAPI, /usr/bin/php |
579 |
pushd build-apache |
pushd build-apache |
580 |
build --with-apxs2=%{_sbindir}/apxs \ |
build --with-apxs2=%{_sbindir}/apxs ${without_shared} |
|
--without-mysql --without-gd \ |
|
|
--without-odbc --disable-dom \ |
|
|
--disable-dba --without-unixODBC \ |
|
|
--disable-pdo --disable-xmlreader --disable-xmlwriter \ |
|
|
--disable-json |
|
581 |
popd |
popd |
582 |
|
|
583 |
%check |
%check |
590 |
for f in `find .. -name \*.diff -type f -print`; do |
for f in `find .. -name \*.diff -type f -print`; do |
591 |
echo "TEST FAILURE: $f --" |
echo "TEST FAILURE: $f --" |
592 |
cat "$f" |
cat "$f" |
593 |
echo "-- $f result ends." |
echo -e "\n-- $f result ends.\n" |
594 |
done |
done |
595 |
set -x |
set -x |
596 |
#exit 1 |
#exit 1 |
603 |
# Install everything from the CGI SAPI build |
# Install everything from the CGI SAPI build |
604 |
make -C build-cgi install INSTALL_ROOT=$RPM_BUILD_ROOT |
make -C build-cgi install INSTALL_ROOT=$RPM_BUILD_ROOT |
605 |
|
|
|
# Install the Apache module |
|
|
make -C build-apache install-sapi INSTALL_ROOT=$RPM_BUILD_ROOT |
|
|
|
|
606 |
# Install the default configuration file and icons |
# Install the default configuration file and icons |
607 |
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/ |
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/ |
608 |
install -m 644 $RPM_SOURCE_DIR/php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini |
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/php.ini |
609 |
install -m 755 -d $RPM_BUILD_ROOT%{contentdir}/icons |
install -m 755 -d $RPM_BUILD_ROOT%{contentdir}/icons |
610 |
install -m 644 *.gif $RPM_BUILD_ROOT%{contentdir}/icons/ |
install -m 644 *.gif $RPM_BUILD_ROOT%{contentdir}/icons/ |
611 |
|
|
613 |
install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/php/pear \ |
install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/php/pear \ |
614 |
$RPM_BUILD_ROOT%{_datadir}/php |
$RPM_BUILD_ROOT%{_datadir}/php |
615 |
|
|
|
# Use correct libdir |
|
|
sed -i -e 's|%{_prefix}/lib|%{_libdir}|' $RPM_BUILD_ROOT%{_sysconfdir}/php.ini |
|
|
|
|
616 |
# install the DSO |
# install the DSO |
617 |
install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/httpd/modules |
install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/httpd/modules |
618 |
install -m 755 build-apache/libs/libphp5.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules |
install -m 755 build-apache/libs/libphp5.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules |
619 |
|
|
620 |
# Apache config fragment |
# Apache config fragment |
621 |
install -m 755 -d $RPM_BUILD_ROOT/etc/httpd/conf.d |
install -m 755 -d $RPM_BUILD_ROOT/etc/httpd/conf.d |
622 |
|
# %{SOURCE1} used here -> |
623 |
install -m 644 $RPM_SOURCE_DIR/php.conf $RPM_BUILD_ROOT/etc/httpd/conf.d |
install -m 644 $RPM_SOURCE_DIR/php.conf $RPM_BUILD_ROOT/etc/httpd/conf.d |
624 |
|
|
625 |
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php.d |
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php.d |
626 |
install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php |
install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php |
627 |
install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/session |
install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/session |
628 |
|
|
629 |
|
# Fix the link |
630 |
|
(cd $RPM_BUILD_ROOT%{_bindir}; ln -sfn phar.phar phar) |
631 |
|
|
632 |
# Generate files lists and stub .ini files for each subpackage |
# Generate files lists and stub .ini files for each subpackage |
633 |
for mod in pgsql mysql mysqli odbc ldap snmp xmlrpc imap \ |
for mod in pgsql mysql mysqli odbc ldap snmp xmlrpc imap \ |
634 |
mbstring ncurses gd dom xsl soap bcmath dba xmlreader xmlwriter \ |
mbstring gd dom xsl soap bcmath dba xmlreader xmlwriter \ |
635 |
pdo pdo_mysql pdo_pgsql pdo_odbc pdo_sqlite json zip \ |
pdo pdo_mysql pdo_pgsql pdo_odbc pdo_sqlite json zip \ |
636 |
dbase; do |
phar fileinfo intl pspell curl wddx \ |
637 |
|
posix sysvshm sysvsem sysvmsg; do |
638 |
cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${mod}.ini <<EOF |
cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${mod}.ini <<EOF |
639 |
; Enable ${mod} extension module |
; Enable ${mod} extension module |
640 |
extension=${mod}.so |
extension=${mod}.so |
646 |
done |
done |
647 |
|
|
648 |
# The dom, xsl and xml* modules are all packaged in php-xml |
# The dom, xsl and xml* modules are all packaged in php-xml |
649 |
cat files.dom files.xsl files.xml{reader,writer} > files.xml |
cat files.dom files.xsl files.xml{reader,writer} files.wddx > files.xml |
650 |
|
|
651 |
# The mysql and mysqli modules are both packaged in php-mysql |
# The mysql and mysqli modules are both packaged in php-mysql |
652 |
cat files.mysqli >> files.mysql |
cat files.mysqli >> files.mysql |
656 |
cat files.pdo_pgsql >> files.pgsql |
cat files.pdo_pgsql >> files.pgsql |
657 |
cat files.pdo_odbc >> files.odbc |
cat files.pdo_odbc >> files.odbc |
658 |
|
|
659 |
# Package pdo_sqlite with pdo; isolating the sqlite dependency |
# sysv* and posix in packaged in php-process |
660 |
# isn't useful at this time since rpm itself requires sqlite. |
cat files.sysv* files.posix > files.process |
661 |
|
|
662 |
|
# Package pdo_sqlite with pdo. |
663 |
cat files.pdo_sqlite >> files.pdo |
cat files.pdo_sqlite >> files.pdo |
664 |
|
|
665 |
# Package json, dbase and zip in -common. |
# Package json, zip, curl, phar and fileinfo in -common. |
666 |
cat files.json files.dbase files.zip > files.common |
cat files.json files.zip files.curl files.phar files.fileinfo > files.common |
667 |
|
|
668 |
# Install the macros file: |
# Install the macros file: |
669 |
install -d $RPM_BUILD_ROOT%{_sysconfdir}/rpm |
install -d $RPM_BUILD_ROOT%{_sysconfdir}/rpm |
670 |
|
# %{SOURCE3} used here -> |
671 |
sed -e "s/@PHP_APIVER@/%{apiver}/;s/@PHP_ZENDVER@/%{zendver}/;s/@PHP_PDOVER@/%{pdover}/" \ |
sed -e "s/@PHP_APIVER@/%{apiver}/;s/@PHP_ZENDVER@/%{zendver}/;s/@PHP_PDOVER@/%{pdover}/" \ |
672 |
< $RPM_SOURCE_DIR/macros.php > macros.php |
< $RPM_SOURCE_DIR/macros.php > macros.php |
673 |
install -m 644 -c macros.php \ |
install -m 644 -c macros.php \ |
676 |
# Remove unpackaged files |
# Remove unpackaged files |
677 |
rm -rf $RPM_BUILD_ROOT%{_libdir}/php/modules/*.a \ |
rm -rf $RPM_BUILD_ROOT%{_libdir}/php/modules/*.a \ |
678 |
$RPM_BUILD_ROOT%{_bindir}/{phptar} \ |
$RPM_BUILD_ROOT%{_bindir}/{phptar} \ |
679 |
$RPM_BUILD_ROOT%{_datadir}/pear |
$RPM_BUILD_ROOT%{_datadir}/pear \ |
680 |
|
$RPM_BUILD_ROOT%{_libdir}/libphp5.la |
681 |
|
|
682 |
# Remove irrelevant docs |
# Remove irrelevant docs |
683 |
rm -f README.{Zeus,QNX,CVS-RULES} |
rm -f README.{Zeus,QNX,CVS-RULES} |
695 |
|
|
696 |
%files common -f files.common |
%files common -f files.common |
697 |
%defattr(-,root,root) |
%defattr(-,root,root) |
698 |
%doc CODING_STANDARDS CREDITS EXTENSIONS INSTALL LICENSE NEWS README* |
%doc CODING_STANDARDS CREDITS INSTALL LICENSE NEWS README* |
699 |
%doc Zend/ZEND_* gd_README TSRM_LICENSE regex_COPYRIGHT |
%doc Zend/ZEND_* TSRM_LICENSE regex_COPYRIGHT |
700 |
|
%doc php.ini-* |
701 |
%config(noreplace) %{_sysconfdir}/php.ini |
%config(noreplace) %{_sysconfdir}/php.ini |
702 |
%dir %{_sysconfdir}/php.d |
%dir %{_sysconfdir}/php.d |
703 |
%dir %{_libdir}/php |
%dir %{_libdir}/php |
710 |
%defattr(-,root,root) |
%defattr(-,root,root) |
711 |
%{_bindir}/php |
%{_bindir}/php |
712 |
%{_bindir}/php-cgi |
%{_bindir}/php-cgi |
713 |
|
%{_bindir}/phar.phar |
714 |
|
%{_bindir}/phar |
715 |
%{_mandir}/man1/php.1* |
%{_mandir}/man1/php.1* |
716 |
%doc sapi/cgi/README* sapi/cli/README |
%doc sapi/cgi/README* sapi/cli/README |
717 |
|
|
734 |
%files xml -f files.xml |
%files xml -f files.xml |
735 |
%files xmlrpc -f files.xmlrpc |
%files xmlrpc -f files.xmlrpc |
736 |
%files mbstring -f files.mbstring |
%files mbstring -f files.mbstring |
737 |
%files ncurses -f files.ncurses |
%defattr(-,root,root) |
738 |
|
%doc ext/mbstring/libmbfl/DISCLAIMER ext/mbstring/libmbfl/LICENSE |
739 |
%files gd -f files.gd |
%files gd -f files.gd |
740 |
|
%defattr(-,root,root) |
741 |
|
%doc gd_README |
742 |
%files soap -f files.soap |
%files soap -f files.soap |
743 |
%files bcmath -f files.bcmath |
%files bcmath -f files.bcmath |
744 |
|
%defattr(-,root,root) |
745 |
|
%doc ext/bcmath/libbcmath/COPYING.LIB |
746 |
%files dba -f files.dba |
%files dba -f files.dba |
747 |
%files pdo -f files.pdo |
%files pdo -f files.pdo |
748 |
|
%files pspell -f files.pspell |
749 |
|
%files intl -f files.intl |
750 |
|
%files process -f files.process |
751 |
|
|
752 |
%changelog |
%changelog |
753 |
* Mon Aug 10 2009 Joe Orton <jorton@redhat.com> 5.2.10-1.el5s2 |
* Thu Nov 3 2011 Shad L. Lords <slords@mail.com> - 5.3.3-1.3.sme |
754 |
- update to 5.2.10 |
- Obsolete php-domxml and php-dom [SME: 6733] |
755 |
|
- Update Obsoletes and Conflicts [SME: 6436] |
756 |
|
|
757 |
* Wed Apr 15 2009 Joe Orton <jorton@redhat.com> 5.2.9-2.el5s2 |
* Mon Oct 24 2011 Joe Orton <jorton@redhat.com> - 5.3.3-1.3 |
758 |
- update to r3 of systzdata patch |
- improve CVE-2011-1466 fix to cover CAL_GREGORIAN, CAL_JEWISH |
759 |
|
|
760 |
|
* Mon Sep 26 2011 Joe Orton <jorton@redhat.com> - 5.3.3-1.2 |
761 |
|
- add security fixes for CVE-2011-2483, CVE-2011-0708, CVE-2011-1148, |
762 |
|
CVE-2011-1466, CVE-2011-1468, CVE-2011-1469, CVE-2011-1470, |
763 |
|
CVE-2011-1471, CVE-2011-1938, and CVE-2011-2202 (#740733) |
764 |
|
|
765 |
|
* Wed Jan 19 2011 Joe Orton <jorton@redhat.com> - 5.3.3-1.1 |
766 |
|
- add security fixes for CVE-2010-3710, CVE-2010-4156, |
767 |
|
CVE-2010-4645 (#670463) |
768 |
|
|
769 |
|
* Wed Dec 1 2010 Joe Orton <jorton@redhat.com> - 5.3.3-1 |
770 |
|
- update to 5.3.3 (#658315) |
771 |
|
|
772 |
|
* Mon Nov 22 2010 Joe Orton <jorton@redhat.com> - 5.3.2-7 |
773 |
|
- prevent extract() from clobering $GLOBALS (#655330) |
774 |
|
|
775 |
|
* Wed Nov 10 2010 Joe Orton <jorton@redhat.com> - 5.3.2-6 |
776 |
|
- add security fixes for CVE-2010-3870 CVE-2010-3709 (#650877) |
777 |
|
- provide php-devel from -devel (#642701) |
778 |
|
|
779 |
|
* Mon Nov 1 2010 Joe Orton <jorton@redhat.com> - 5.3.2-5 |
780 |
|
- use correct mysql_config for pdo-mysql also (#642701) |
781 |
|
|
782 |
* Tue Apr 14 2009 Joe Orton <jorton@redhat.com> 5.2.9-1.el5s2 |
* Thu Sep 30 2010 Joe Orton <jorton@redhat.com> - 5.3.2-4 |
783 |
|
- use mysql_config from libdir |
784 |
|
|
785 |
|
* Tue Sep 7 2010 Joe Orton <jorton@redhat.com> - 5.3.2-3 |
786 |
|
- add defattr for -mbstring and -bcmath |
787 |
|
|
788 |
|
* Tue Sep 7 2010 Joe Orton <jorton@redhat.com> - 5.3.2-2 |
789 |
|
- add LGPLv2{,+} to License; ship text in -bcmath, -mbstring |
790 |
|
- apply phar patch correctly |
791 |
|
- fix permissions on sources, README.namespaces |
792 |
|
- drop EXTENSIONS from %%doc |
793 |
|
- fix Provides for php-cli |
794 |
|
- drop inappropriate/obsolete Obsoletes |
795 |
|
|
796 |
|
* Thu Sep 2 2010 Joe Orton <jorton@redhat.com> - 5.3.2-1 |
797 |
|
- convert to php53 |
798 |
|
- remove subpackages: embeded, zts, tidy, recode, enchant |
799 |
|
|
800 |
|
* Tue Aug 17 2010 Joe Orton <jorton@redhat.com> - 5.3.2-6 |
801 |
|
- add security fixes for CVE-2010-1866, CVE-2010-2094, CVE-2010-1917, |
802 |
|
CVE-2010-2531, MOPS-2010-060 (#624469) |
803 |
|
|
804 |
|
* Fri Aug 13 2010 Joe Orton <jorton@redhat.com> - 5.3.2-5 |
805 |
|
- add security fix for CVE-2010-0397 (#575712) |
806 |
|
|
807 |
|
* Thu Jun 24 2010 Joe Orton <jorton@redhat.com> - 5.3.2-4 |
808 |
|
- add security fix for CVE-2010-2225 (#605644) |
809 |
|
|
810 |
|
* Wed May 5 2010 Joe Orton <jorton@redhat.com> - 5.3.2-3 |
811 |
|
- restore -imap (#586050) |
812 |
|
|
813 |
|
* Fri Mar 26 2010 Joe Orton <jorton@redhat.com> - 5.3.2-2 |
814 |
|
- remove mcrypt support (#459804, #577257) |
815 |
|
|
816 |
|
* Wed Mar 24 2010 Joe Orton <jorton@redhat.com> - 5.3.2-1 |
817 |
|
- update to 5.3.2 (#575158, #575712) |
818 |
|
|
819 |
|
* Sat Mar 06 2010 Remi Collet <Fedora@famillecollet.com> |
820 |
|
- PHP 5.3.2 Released! |
821 |
|
- remove mime_magic option (now provided by fileinfo, by emu) |
822 |
|
- add patch for http://bugs.php.net/50578 |
823 |
|
- remove patch for libedit (upstream) |
824 |
|
|
825 |
|
* Fri Jan 15 2010 Joe Orton <jorton@redhat.com> - 5.3.1-7 |
826 |
|
- add security fix for CVE-2009-4142 (#552268) |
827 |
|
|
828 |
|
* Fri Dec 18 2009 Joe Orton <jorton@redhat.com> - 5.3.1-6 |
829 |
|
- drop mssql, pdo_dblib |
830 |
|
|
831 |
|
* Fri Dec 11 2009 Joe Orton <jorton@redhat.com> - 5.3.1-5 |
832 |
|
- drop imap |
833 |
|
|
834 |
|
* Fri Dec 11 2009 Joe Orton <jorton@redhat.com> - 5.3.1-4 |
835 |
|
- drop t1lib, interbase/firebird support |
836 |
|
|
837 |
|
* Fri Nov 27 2009 Joe Orton <jorton@redhat.com> - 5.3.1-3 |
838 |
|
- update to v7 of systzdata patch |
839 |
|
|
840 |
|
* Wed Nov 25 2009 Joe Orton <jorton@redhat.com> - 5.3.1-2 |
841 |
|
- fix build with autoconf 2.6x |
842 |
|
|
843 |
|
* Fri Nov 20 2009 Remi Collet <Fedora@famillecollet.com> 5.3.1-1 |
844 |
|
- update to 5.3.1 |
845 |
|
- remove openssl patch (merged upstream) |
846 |
|
- add provides for php-pecl-json |
847 |
|
- add prod/devel php.ini in doc |
848 |
|
|
849 |
|
* Tue Nov 17 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 5.3.0-7 |
850 |
|
- use libedit instead of readline to resolve licensing issues |
851 |
|
|
852 |
|
* Tue Aug 25 2009 Tomas Mraz <tmraz@redhat.com> - 5.3.0-6 |
853 |
|
- rebuilt with new openssl |
854 |
|
|
855 |
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-5 |
856 |
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
857 |
|
|
858 |
|
* Thu Jul 16 2009 Joe Orton <jorton@redhat.com> 5.3.0-4 |
859 |
|
- rediff systzdata patch |
860 |
|
|
861 |
|
* Thu Jul 16 2009 Joe Orton <jorton@redhat.com> 5.3.0-3 |
862 |
|
- update to v6 of systzdata patch; various fixes |
863 |
|
|
864 |
|
* Tue Jul 14 2009 Joe Orton <jorton@redhat.com> 5.3.0-2 |
865 |
|
- update to v5 of systzdata patch; parses zone.tab and extracts |
866 |
|
timezone->{country-code,long/lat,comment} mapping table |
867 |
|
|
868 |
|
* Sun Jul 12 2009 Remi Collet <Fedora@famillecollet.com> 5.3.0-1 |
869 |
|
- update to 5.3.0 |
870 |
|
- remove ncurses, dbase, mhash extensions |
871 |
|
- add enchant, sqlite3, intl, phar, fileinfo extensions |
872 |
|
- raise sqlite version to 3.6.0 (for sqlite3, build with --enable-load-extension) |
873 |
|
- sync with upstream "production" php.ini |
874 |
|
|
875 |
|
* Sat Jun 21 2009 Remi Collet <Fedora@famillecollet.com> 5.2.10-1 |
876 |
|
- update to 5.2.10 |
877 |
|
- add interbase sub-package |
878 |
|
|
879 |
|
* Sat Feb 28 2009 Remi Collet <Fedora@FamilleCollet.com> - 5.2.9-1 |
880 |
- update to 5.2.9 |
- update to 5.2.9 |
881 |
|
|
882 |
* Tue Mar 31 2009 Joe Orton <jorton@redhat.com> 5.2.6-4.el5s2 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.8-10 |
883 |
- add security fixes for json_decode() crash (#494530), |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
884 |
and CVE-2008-5658 - including regression fix (#494531) |
|
885 |
|
* Thu Feb 5 2009 Joe Orton <jorton@redhat.com> 5.2.8-9 |
886 |
* Thu Feb 26 2009 Joe Orton <jorton@redhat.com> 5.2.6-3.el5s2 |
- add recode support, -recode subpackage (#106755) |
887 |
- add security fixes for CVE-2008-3658, CVE-2008-3660, |
- add -zts subpackage with ZTS-enabled build of httpd SAPI |
888 |
CVE-2008-5498, CVE-2008-5557, CVE-2008-5814, CVE-2009-0754 |
- adjust php.conf to use -zts SAPI build for worker MPM |
889 |
(#487371) |
|
890 |
|
* Wed Feb 4 2009 Joe Orton <jorton@redhat.com> 5.2.8-8 |
891 |
|
- fix patch fuzz, renumber patches |
892 |
|
|
893 |
|
* Wed Feb 4 2009 Joe Orton <jorton@redhat.com> 5.2.8-7 |
894 |
|
- drop obsolete configure args |
895 |
|
- drop -odbc patch (#483690) |
896 |
|
|
897 |
|
* Mon Jan 26 2009 Joe Orton <jorton@redhat.com> 5.2.8-5 |
898 |
|
- split out sysvshm, sysvsem, sysvmsg, posix into php-process |
899 |
|
|
900 |
|
* Sun Jan 25 2009 Joe Orton <jorton@redhat.com> 5.2.8-4 |
901 |
|
- move wddx to php-xml, build curl shared in -common |
902 |
|
- remove BR for expat-devel, bogus configure option |
903 |
|
|
904 |
|
* Fri Jan 23 2009 Joe Orton <jorton@redhat.com> 5.2.8-3 |
905 |
|
- rebuild for new MySQL |
906 |
|
|
907 |
* Fri May 9 2008 Joe Orton <jorton@redhat.com> 5.2.6-2.el5s2 |
* Sat Dec 13 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.8-2 |
908 |
|
- libtool 2 workaround for phpize (#476004) |
909 |
|
- add missing php_embed.h (#457777) |
910 |
|
|
911 |
|
* Tue Dec 09 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.8-1 |
912 |
|
- update to 5.2.8 |
913 |
|
|
914 |
|
* Sat Dec 06 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.7-1.1 |
915 |
|
- libtool 2 workaround |
916 |
|
|
917 |
|
* Fri Dec 05 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.7-1 |
918 |
|
- update to 5.2.7 |
919 |
|
- enable pdo_dblib driver in php-mssql |
920 |
|
|
921 |
|
* Mon Nov 24 2008 Joe Orton <jorton@redhat.com> 5.2.6-7 |
922 |
|
- tweak Summary, thanks to Richard Hughes |
923 |
|
|
924 |
|
* Tue Nov 4 2008 Joe Orton <jorton@redhat.com> 5.2.6-6 |
925 |
|
- move gd_README to php-gd |
926 |
|
- update to r4 of systzdata patch; introduces a default timezone |
927 |
|
name of "System/Localtime", which uses /etc/localtime (#469532) |
928 |
|
|
929 |
|
* Sat Sep 13 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.6-5 |
930 |
|
- enable XPM support in php-gd |
931 |
|
- Fix BR for php-gd |
932 |
|
|
933 |
|
* Sun Jul 20 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.6-4 |
934 |
|
- enable T1lib support in php-gd |
935 |
|
|
936 |
|
* Mon Jul 14 2008 Joe Orton <jorton@redhat.com> 5.2.6-3 |
937 |
- update to 5.2.6 |
- update to 5.2.6 |
938 |
|
- sync default php.ini with upstream |
939 |
|
- drop extension_dir from default php.ini, rely on hard-coded |
940 |
|
default, to make php-common multilib-safe (#455091) |
941 |
|
- update to r3 of systzdata patch |
942 |
|
|
943 |
|
* Thu Apr 24 2008 Joe Orton <jorton@redhat.com> 5.2.5-7 |
944 |
|
- split pspell extension out into php-spell (#443857) |
945 |
|
|
946 |
* Wed Feb 20 2008 Joe Orton <jorton@redhat.com> 5.2.5-1.el5s2 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.2.5-6 |
947 |
- rebuild for StackV2 |
- Autorebuild for GCC 4.3 |
948 |
|
|
949 |
* Fri Jan 11 2008 Joe Orton <jorton@redhat.com> 5.2.5-5 |
* Fri Jan 11 2008 Joe Orton <jorton@redhat.com> 5.2.5-5 |
950 |
- ext/date: use system timezone database |
- ext/date: use system timezone database |