1 |
slords |
1.3 |
%global contentdir /var/www |
2 |
|
|
# API/ABI check |
3 |
|
|
%global apiver 20090626 |
4 |
|
|
%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 |
slords |
1.2 |
|
18 |
slords |
1.3 |
Summary: PHP scripting language for creating dynamic web sites |
19 |
slords |
1.1 |
Name: php |
20 |
slords |
1.3 |
Version: 5.3.3 |
21 |
slords |
1.5.2.4 |
Release: 13%{?dist}.1 |
22 |
slords |
1.3 |
License: PHP and LGPLv2 and LGPLv2+ |
23 |
slords |
1.1 |
Group: Development/Languages |
24 |
|
|
URL: http://www.php.net/ |
25 |
|
|
|
26 |
|
|
Source0: http://www.php.net/distributions/php-%{version}.tar.bz2 |
27 |
|
|
Source1: php.conf |
28 |
|
|
Source2: php.ini |
29 |
|
|
Source3: macros.php |
30 |
|
|
|
31 |
slords |
1.3 |
# Build fixes |
32 |
|
|
Patch1: php-5.3.3-gnusrc.patch |
33 |
|
|
Patch2: php-5.3.0-install.patch |
34 |
slords |
1.1 |
Patch3: php-5.2.4-norpath.patch |
35 |
slords |
1.3 |
Patch4: php-5.3.0-phpize64.patch |
36 |
|
|
Patch5: php-5.2.0-includedir.patch |
37 |
|
|
Patch8: php-5.3.3-aconf26x.patch |
38 |
|
|
|
39 |
|
|
# Fixes for extensions |
40 |
|
|
Patch20: php-4.3.11-shutdown.patch |
41 |
slords |
1.1 |
|
42 |
|
|
# Functional changes |
43 |
slords |
1.3 |
Patch40: php-5.0.4-dlopen.patch |
44 |
|
|
Patch41: php-5.3.0-easter.patch |
45 |
|
|
Patch42: php-5.3.1-systzdata-v7.patch |
46 |
slords |
1.1 |
|
47 |
|
|
# Fixes for tests |
48 |
slords |
1.3 |
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 |
slords |
1.5.2.3 |
Patch102: php-5.3.3-varnegidx.patch |
55 |
slords |
1.3 |
|
56 |
|
|
# Fixes for security bugs |
57 |
|
|
Patch207: php-5.3.2-CVE-2010-3709.patch |
58 |
|
|
Patch208: php-5.3.2-CVE-2010-3870.patch |
59 |
slords |
1.5.2.3 |
Patch209: php-5.3.2-CVE-2010-4645.patch |
60 |
slords |
1.3 |
Patch210: php-5.3.3-CVE-2010-3710.patch |
61 |
slords |
1.5.2.3 |
Patch211: php-5.3.3-CVE-2010-4156.patch |
62 |
slords |
1.5.2.1 |
Patch212: php-5.3.3-CVE-2011-0708.patch |
63 |
|
|
Patch213: php-5.3.3-CVE-2011-1148.patch |
64 |
|
|
Patch214: php-5.3.3-CVE-2011-1466.patch |
65 |
|
|
Patch215: php-5.3.3-CVE-2011-1468.patch |
66 |
|
|
Patch216: php-5.3.3-CVE-2011-1469.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 |
slords |
1.5.2.2 |
Patch222: php-5.3.3-CVE-2011-4885.patch |
72 |
|
|
Patch223: php-5.3.3-CVE-2011-4566.patch |
73 |
|
|
Patch224: php-5.3.3-CVE-2012-0830.patch |
74 |
slords |
1.5.2.3 |
Patch225: php-5.3.3-CVE-2012-1823.patch |
75 |
|
|
Patch226: php-5.3.3-CVE-2012-2336.patch |
76 |
|
|
Patch230: php-5.3.3-CVE-2011-4153.patch |
77 |
|
|
Patch232: php-5.3.3-CVE-2012-1172.patch |
78 |
|
|
Patch233: php-5.3.3-CVE-2012-2143.patch |
79 |
|
|
Patch234: php-5.3.3-CVE-2012-2386.patch |
80 |
|
|
Patch235: php-5.3.3-CVE-2012-0057.patch |
81 |
|
|
Patch236: php-5.3.3-CVE-2012-0789.patch |
82 |
|
|
Patch237: php-5.3.3-CVE-2010-2950.patch |
83 |
slords |
1.5.2.4 |
Patch238: php-5.3.3-CVE-2013-4113.patch |
84 |
slords |
1.1 |
|
85 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
86 |
|
|
|
87 |
slords |
1.3 |
BuildRequires: bzip2-devel, curl-devel >= 7.9, db4-devel, gmp-devel |
88 |
|
|
BuildRequires: httpd-devel >= 2.0.46-1, pam-devel |
89 |
|
|
BuildRequires: libstdc++-devel, openssl-devel, sqlite-devel |
90 |
|
|
BuildRequires: zlib-devel, pcre-devel >= 6.6, smtpdaemon |
91 |
slords |
1.1 |
BuildRequires: bzip2, perl, libtool >= 1.4.3, gcc-c++ |
92 |
slords |
1.3 |
Requires: httpd-mmn = %{httpd_mmn} |
93 |
slords |
1.1 |
Provides: mod_php = %{version}-%{release} |
94 |
slords |
1.3 |
Requires: %{name}-common = %{version}-%{release} |
95 |
slords |
1.1 |
# For backwards-compatibility, require php-cli for the time being: |
96 |
slords |
1.3 |
Requires: %{name}-cli = %{version}-%{release} |
97 |
slords |
1.1 |
# To ensure correct /var/lib/php/session ownership: |
98 |
|
|
Requires(pre): httpd |
99 |
|
|
|
100 |
|
|
%description |
101 |
|
|
PHP is an HTML-embedded scripting language. PHP attempts to make it |
102 |
|
|
easy for developers to write dynamically generated webpages. PHP also |
103 |
|
|
offers built-in database integration for several commercial and |
104 |
|
|
non-commercial database management systems, so writing a |
105 |
|
|
database-enabled webpage with PHP is fairly simple. The most common |
106 |
|
|
use of PHP coding is probably as a replacement for CGI scripts. |
107 |
|
|
|
108 |
|
|
The php package contains the module which adds support for the PHP |
109 |
|
|
language to Apache HTTP Server. |
110 |
|
|
|
111 |
|
|
%package cli |
112 |
|
|
Group: Development/Languages |
113 |
|
|
Summary: Command-line interface for PHP |
114 |
slords |
1.3 |
Requires: %{name}-common = %{version}-%{release} |
115 |
|
|
Provides: php-cgi = %{version}-%{release}, php-cli = %{version}-%{release} |
116 |
|
|
Provides: php-pcntl |
117 |
slords |
1.1 |
|
118 |
|
|
%description cli |
119 |
|
|
The php-cli package contains the command-line interface |
120 |
|
|
executing PHP scripts, /usr/bin/php, and the CGI interface. |
121 |
|
|
|
122 |
|
|
%package common |
123 |
|
|
Group: Development/Languages |
124 |
|
|
Summary: Common files for PHP |
125 |
|
|
Provides: php-api = %{apiver}, php-zend-abi = %{zendver} |
126 |
|
|
Provides: php(api) = %{apiver}, php(zend-abi) = %{zendver} |
127 |
slords |
1.5.2.1 |
Conflicts: php-common |
128 |
slords |
1.1 |
# Provides for all builtin modules: |
129 |
|
|
Provides: php-bz2, php-calendar, php-ctype, php-curl, php-date, php-exif |
130 |
|
|
Provides: php-ftp, php-gettext, php-gmp, php-hash, php-iconv, php-libxml |
131 |
|
|
Provides: php-reflection, php-session, php-shmop, php-simplexml, php-sockets |
132 |
slords |
1.3 |
Provides: php-spl, php-tokenizer, php-openssl, php-pcre |
133 |
|
|
Provides: php-zlib, php-json, php-zip, php-fileinfo |
134 |
|
|
# For obsoleted pecl extension |
135 |
|
|
Provides: php-pecl-json = %{jsonver}, php-pecl(json) = %{jsonver} |
136 |
|
|
Provides: php-pecl-zip = %{zipver}, php-pecl(zip) = %{zipver} |
137 |
|
|
Provides: php-pecl-phar = %{pharver}, php-pecl(phar) = %{pharver} |
138 |
|
|
Provides: php-pecl-Fileinfo = %{fileinfover}, php-pecl(Fileinfo) = %{fileinfover} |
139 |
slords |
1.1 |
|
140 |
|
|
%description common |
141 |
slords |
1.3 |
The %{name}-common package contains files used by both the php |
142 |
slords |
1.1 |
package and the php-cli package. |
143 |
|
|
|
144 |
|
|
%package devel |
145 |
|
|
Group: Development/Libraries |
146 |
|
|
Summary: Files needed for building PHP extensions |
147 |
slords |
1.3 |
Requires: %{name} = %{version}-%{release}, autoconf, automake |
148 |
|
|
Provides: php-devel = %{version}-%{release} |
149 |
slords |
1.1 |
|
150 |
|
|
%description devel |
151 |
|
|
The php-devel package contains the files needed for building PHP |
152 |
|
|
extensions. If you need to compile your own PHP extensions, you will |
153 |
|
|
need to install this package. |
154 |
|
|
|
155 |
|
|
%package imap |
156 |
|
|
Summary: A module for PHP applications that use IMAP |
157 |
|
|
Group: Development/Languages |
158 |
slords |
1.3 |
Requires: %{name}-common = %{version}-%{release} |
159 |
slords |
1.1 |
BuildRequires: krb5-devel, openssl-devel, libc-client-devel |
160 |
slords |
1.5.2.3 |
Provides: php-imap = %{version}-%{release} |
161 |
slords |
1.1 |
|
162 |
|
|
%description imap |
163 |
slords |
1.3 |
The php-imap package contains a dynamic shared object that will |
164 |
|
|
add support for the IMAP protocol to PHP. |
165 |
slords |
1.1 |
|
166 |
|
|
%package ldap |
167 |
|
|
Summary: A module for PHP applications that use LDAP |
168 |
|
|
Group: Development/Languages |
169 |
slords |
1.3 |
Requires: %{name}-common = %{version}-%{release} |
170 |
slords |
1.1 |
BuildRequires: cyrus-sasl-devel, openldap-devel, openssl-devel |
171 |
slords |
1.5.2.3 |
Provides: php-ldap = %{version}-%{release} |
172 |
slords |
1.1 |
|
173 |
|
|
%description ldap |
174 |
|
|
The php-ldap package is a dynamic shared object (DSO) for the Apache |
175 |
|
|
Web server that adds Lightweight Directory Access Protocol (LDAP) |
176 |
|
|
support to PHP. LDAP is a set of protocols for accessing directory |
177 |
|
|
services over the Internet. PHP is an HTML-embedded scripting |
178 |
|
|
language. If you need LDAP support for PHP applications, you will |
179 |
|
|
need to install this package in addition to the php package. |
180 |
|
|
|
181 |
|
|
%package pdo |
182 |
|
|
Summary: A database access abstraction module for PHP applications |
183 |
|
|
Group: Development/Languages |
184 |
slords |
1.3 |
Requires: %{name}-common = %{version}-%{release} |
185 |
slords |
1.1 |
Provides: php-pdo-abi = %{pdover} |
186 |
slords |
1.3 |
Provides: php-pdo_sqlite |
187 |
slords |
1.5.2.3 |
Provides: php-pdo = %{version}-%{release} |
188 |
slords |
1.1 |
|
189 |
|
|
%description pdo |
190 |
slords |
1.3 |
The %{name}-pdo package contains a dynamic shared object that will add |
191 |
slords |
1.1 |
a database access abstraction layer to PHP. This module provides |
192 |
|
|
a common interface for accessing MySQL, PostgreSQL or other |
193 |
|
|
databases. |
194 |
|
|
|
195 |
|
|
%package mysql |
196 |
|
|
Summary: A module for PHP applications that use MySQL databases |
197 |
|
|
Group: Development/Languages |
198 |
slords |
1.3 |
Requires: %{name}-common = %{version}-%{release}, %{name}-pdo |
199 |
|
|
Provides: php_database, php-mysqli, php-pdo_mysql |
200 |
slords |
1.1 |
BuildRequires: mysql-devel >= 4.1.0 |
201 |
slords |
1.5.2.3 |
Provides: php-mysql = %{version}-%{release} |
202 |
slords |
1.1 |
|
203 |
|
|
%description mysql |
204 |
|
|
The php-mysql package contains a dynamic shared object that will add |
205 |
|
|
MySQL database support to PHP. MySQL is an object-relational database |
206 |
|
|
management system. PHP is an HTML-embeddable scripting language. If |
207 |
|
|
you need MySQL support for PHP applications, you will need to install |
208 |
|
|
this package and the php package. |
209 |
|
|
|
210 |
|
|
%package pgsql |
211 |
|
|
Summary: A PostgreSQL database module for PHP |
212 |
|
|
Group: Development/Languages |
213 |
slords |
1.3 |
Requires: %{name}-common = %{version}-%{release}, %{name}-pdo |
214 |
|
|
Provides: php_database, php-pdo_pgsql |
215 |
slords |
1.1 |
BuildRequires: krb5-devel, openssl-devel, postgresql-devel |
216 |
slords |
1.5.2.3 |
Provides: php-pgsql = %{version}-%{release} |
217 |
slords |
1.1 |
|
218 |
|
|
%description pgsql |
219 |
|
|
The php-pgsql package includes a dynamic shared object (DSO) that can |
220 |
|
|
be compiled in to the Apache Web server to add PostgreSQL database |
221 |
|
|
support to PHP. PostgreSQL is an object-relational database management |
222 |
|
|
system that supports almost all SQL constructs. PHP is an |
223 |
|
|
HTML-embedded scripting language. If you need back-end support for |
224 |
|
|
PostgreSQL, you should install this package in addition to the main |
225 |
|
|
php package. |
226 |
|
|
|
227 |
slords |
1.3 |
%package process |
228 |
|
|
Summary: Modules for PHP script using system process interfaces |
229 |
|
|
Group: Development/Languages |
230 |
|
|
Requires: %{name}-common = %{version}-%{release} |
231 |
|
|
Provides: php-posix, php-sysvsem, php-sysvshm, php-sysvmsg |
232 |
slords |
1.5.2.3 |
Provides: php-process = %{version}-%{release} |
233 |
slords |
1.3 |
|
234 |
|
|
%description process |
235 |
|
|
The php-process package contains dynamic shared objects which add |
236 |
|
|
support to PHP using system interfaces for inter-process |
237 |
|
|
communication. |
238 |
|
|
|
239 |
slords |
1.1 |
%package odbc |
240 |
|
|
Group: Development/Languages |
241 |
slords |
1.3 |
Requires: %{name}-common = %{version}-%{release}, %{name}-pdo |
242 |
slords |
1.1 |
Summary: A module for PHP applications that use ODBC databases |
243 |
slords |
1.3 |
Provides: php_database, php-pdo_odbc |
244 |
slords |
1.1 |
BuildRequires: unixODBC-devel |
245 |
slords |
1.5.2.3 |
Provides: php-odbc = %{version}-%{release} |
246 |
slords |
1.1 |
|
247 |
|
|
%description odbc |
248 |
|
|
The php-odbc package contains a dynamic shared object that will add |
249 |
|
|
database support through ODBC to PHP. ODBC is an open specification |
250 |
|
|
which provides a consistent API for developers to use for accessing |
251 |
|
|
data sources (which are often, but not always, databases). PHP is an |
252 |
|
|
HTML-embeddable scripting language. If you need ODBC support for PHP |
253 |
|
|
applications, you will need to install this package and the php |
254 |
|
|
package. |
255 |
|
|
|
256 |
|
|
%package soap |
257 |
|
|
Group: Development/Languages |
258 |
slords |
1.3 |
Requires: %{name}-common = %{version}-%{release} |
259 |
slords |
1.1 |
Summary: A module for PHP applications that use the SOAP protocol |
260 |
|
|
BuildRequires: libxml2-devel |
261 |
slords |
1.5.2.3 |
Provides: php-soap = %{version}-%{release} |
262 |
slords |
1.1 |
|
263 |
|
|
%description soap |
264 |
|
|
The php-soap package contains a dynamic shared object that will add |
265 |
|
|
support to PHP for using the SOAP web services protocol. |
266 |
|
|
|
267 |
|
|
%package snmp |
268 |
|
|
Summary: A module for PHP applications that query SNMP-managed devices |
269 |
|
|
Group: Development/Languages |
270 |
slords |
1.3 |
Requires: %{name}-common = %{version}-%{release}, net-snmp |
271 |
slords |
1.1 |
BuildRequires: net-snmp-devel |
272 |
slords |
1.5.2.3 |
Provides: php-snmp = %{version}-%{release} |
273 |
slords |
1.1 |
|
274 |
|
|
%description snmp |
275 |
|
|
The php-snmp package contains a dynamic shared object that will add |
276 |
|
|
support for querying SNMP devices to PHP. PHP is an HTML-embeddable |
277 |
|
|
scripting language. If you need SNMP support for PHP applications, you |
278 |
|
|
will need to install this package and the php package. |
279 |
|
|
|
280 |
|
|
%package xml |
281 |
|
|
Summary: A module for PHP applications which use XML |
282 |
|
|
Group: Development/Languages |
283 |
slords |
1.3 |
Requires: %{name}-common = %{version}-%{release} |
284 |
|
|
Provides: php-dom, php-xsl, php-domxml, php-wddx |
285 |
slords |
1.1 |
BuildRequires: libxslt-devel >= 1.0.18-1, libxml2-devel >= 2.4.14-1 |
286 |
slords |
1.5.2.3 |
Provides: php-xml = %{version}-%{release} |
287 |
slords |
1.1 |
|
288 |
|
|
%description xml |
289 |
|
|
The php-xml package contains dynamic shared objects which add support |
290 |
|
|
to PHP for manipulating XML documents using the DOM tree, |
291 |
|
|
and performing XSL transformations on XML documents. |
292 |
|
|
|
293 |
|
|
%package xmlrpc |
294 |
|
|
Summary: A module for PHP applications which use the XML-RPC protocol |
295 |
|
|
Group: Development/Languages |
296 |
slords |
1.3 |
Requires: %{name}-common = %{version}-%{release} |
297 |
slords |
1.5.2.3 |
Provides: php-xmlrpc = %{version}-%{release} |
298 |
slords |
1.1 |
|
299 |
|
|
%description xmlrpc |
300 |
|
|
The php-xmlrpc package contains a dynamic shared object that will add |
301 |
|
|
support for the XML-RPC protocol to PHP. |
302 |
|
|
|
303 |
|
|
%package mbstring |
304 |
|
|
Summary: A module for PHP applications which need multi-byte string handling |
305 |
|
|
Group: Development/Languages |
306 |
slords |
1.3 |
Requires: %{name}-common = %{version}-%{release} |
307 |
slords |
1.5.2.3 |
Provides: php-mbstring = %{version}-%{release} |
308 |
slords |
1.1 |
|
309 |
|
|
%description mbstring |
310 |
|
|
The php-mbstring package contains a dynamic shared object that will add |
311 |
|
|
support for multi-byte string handling to PHP. |
312 |
|
|
|
313 |
|
|
%package gd |
314 |
|
|
Summary: A module for PHP applications for using the gd graphics library |
315 |
|
|
Group: Development/Languages |
316 |
slords |
1.3 |
Requires: %{name}-common = %{version}-%{release} |
317 |
|
|
# Required to build the bundled GD library |
318 |
|
|
BuildRequires: libXpm-devel, libjpeg-devel, libpng-devel, freetype-devel |
319 |
slords |
1.5.2.3 |
Provides: php-gd = %{version}-%{release} |
320 |
slords |
1.1 |
|
321 |
|
|
%description gd |
322 |
|
|
The php-gd package contains a dynamic shared object that will add |
323 |
|
|
support for using the gd graphics library to PHP. |
324 |
|
|
|
325 |
|
|
%package bcmath |
326 |
|
|
Summary: A module for PHP applications for using the bcmath library |
327 |
|
|
Group: Development/Languages |
328 |
slords |
1.3 |
Requires: %{name}-common = %{version}-%{release} |
329 |
slords |
1.5.2.3 |
Provides: php-bcmath = %{version}-%{release} |
330 |
slords |
1.1 |
|
331 |
|
|
%description bcmath |
332 |
|
|
The php-bcmath package contains a dynamic shared object that will add |
333 |
|
|
support for using the bcmath library to PHP. |
334 |
|
|
|
335 |
|
|
%package dba |
336 |
|
|
Summary: A database abstraction layer module for PHP applications |
337 |
|
|
Group: Development/Languages |
338 |
slords |
1.3 |
Requires: %{name}-common = %{version}-%{release} |
339 |
slords |
1.5.2.3 |
Provides: php-dba = %{version}-%{release} |
340 |
slords |
1.1 |
|
341 |
|
|
%description dba |
342 |
|
|
The php-dba package contains a dynamic shared object that will add |
343 |
|
|
support for using the DBA database abstraction layer to PHP. |
344 |
|
|
|
345 |
slords |
1.3 |
%package pspell |
346 |
|
|
Summary: A module for PHP applications for using pspell interfaces |
347 |
|
|
Group: System Environment/Libraries |
348 |
|
|
Requires: %{name}-common = %{version}-%{release} |
349 |
|
|
BuildRequires: aspell-devel >= 0.50.0 |
350 |
slords |
1.5.2.3 |
Provides: php-pspell = %{version}-%{release} |
351 |
slords |
1.3 |
|
352 |
|
|
%description pspell |
353 |
|
|
The php-pspell package contains a dynamic shared object that will add |
354 |
|
|
support for using the pspell library to PHP. |
355 |
|
|
|
356 |
|
|
%package intl |
357 |
|
|
Summary: Internationalization extension for PHP applications |
358 |
|
|
Group: System Environment/Libraries |
359 |
|
|
Requires: %{name}-common = %{version}-%{release} |
360 |
|
|
BuildRequires: libicu-devel >= 3.6 |
361 |
slords |
1.5.2.3 |
Provides: php-intl = %{version}-%{release} |
362 |
slords |
1.3 |
|
363 |
|
|
%description intl |
364 |
|
|
The php-intl package contains a dynamic shared object that will add |
365 |
|
|
support for using the ICU library to PHP. |
366 |
|
|
|
367 |
slords |
1.1 |
%prep |
368 |
slords |
1.3 |
%setup -q -n php-%{version} |
369 |
slords |
1.1 |
%patch1 -p1 -b .gnusrc |
370 |
|
|
%patch2 -p1 -b .install |
371 |
|
|
%patch3 -p1 -b .norpath |
372 |
slords |
1.3 |
%patch4 -p1 -b .phpize64 |
373 |
|
|
%patch5 -p1 -b .includedir |
374 |
|
|
%patch8 -p1 -b .aconf26x |
375 |
|
|
|
376 |
|
|
%patch20 -p1 -b .shutdown |
377 |
slords |
1.1 |
|
378 |
slords |
1.3 |
%patch40 -p1 -b .dlopen |
379 |
|
|
%patch41 -p1 -b .easter |
380 |
|
|
%patch42 -p1 -b .systzdata |
381 |
|
|
|
382 |
|
|
%patch61 -p1 -b .tests-wddx |
383 |
|
|
%patch62 -p1 -b .testfail |
384 |
|
|
|
385 |
|
|
%patch100 -p1 -b .r305570 |
386 |
|
|
%patch101 -p1 -b .r305043 |
387 |
slords |
1.5.2.3 |
%patch102 -p1 -b .varnegidx |
388 |
slords |
1.3 |
|
389 |
|
|
%patch207 -p1 -b .cve3709 |
390 |
|
|
%patch208 -p1 -b .cve3870 |
391 |
slords |
1.5.2.3 |
%patch209 -p1 -b .cve4645 |
392 |
slords |
1.3 |
%patch210 -p1 -b .cve3710 |
393 |
slords |
1.5.2.3 |
%patch211 -p1 -b .cve4156 |
394 |
slords |
1.5.2.1 |
%patch212 -p1 -b .cve0708 |
395 |
|
|
%patch213 -p1 -b .cve1148 |
396 |
|
|
%patch214 -p1 -b .cve1466 |
397 |
|
|
%patch215 -p1 -b .cve1468 |
398 |
|
|
%patch216 -p1 -b .cve1469 |
399 |
|
|
%patch218 -p1 -b .cve1471 |
400 |
|
|
%patch219 -p1 -b .cve1938 |
401 |
|
|
%patch220 -p1 -b .cve2202 |
402 |
|
|
%patch221 -p1 -b .cve2483 |
403 |
slords |
1.5.2.2 |
%patch222 -p1 -b .cve4885 |
404 |
|
|
%patch223 -p1 -b .cve4566 |
405 |
|
|
%patch224 -p1 -b .cve0830 |
406 |
slords |
1.5.2.3 |
%patch225 -p1 -b .cve1823 |
407 |
|
|
%patch226 -p1 -b .cve2336 |
408 |
slords |
1.5.2.2 |
|
409 |
slords |
1.5.2.3 |
%patch230 -p1 -b .cve4153 |
410 |
|
|
%patch232 -p1 -b .cve1172 |
411 |
|
|
%patch233 -p1 -b .cve2143 |
412 |
|
|
%patch234 -p1 -b .cve2386 |
413 |
|
|
%patch235 -p1 -b .cve0057 |
414 |
|
|
%patch236 -p1 -b .cve0789 |
415 |
|
|
%patch237 -p1 -b .cve2950 |
416 |
slords |
1.5.2.4 |
%patch238 -p1 -b .cve4113 |
417 |
slords |
1.1 |
|
418 |
|
|
# Prevent %%doc confusion over LICENSE files |
419 |
slords |
1.3 |
cp -p Zend/LICENSE Zend/ZEND_LICENSE |
420 |
|
|
cp -p TSRM/LICENSE TSRM_LICENSE |
421 |
|
|
cp -p ext/ereg/regex/COPYRIGHT regex_COPYRIGHT |
422 |
|
|
cp -p ext/gd/libgd/README gd_README |
423 |
slords |
1.1 |
|
424 |
slords |
1.3 |
# Multiple builds for multiple SAPIs |
425 |
slords |
1.1 |
mkdir build-cgi build-apache |
426 |
|
|
|
427 |
|
|
# Remove bogus test; position of read position after fopen(, "a+") |
428 |
|
|
# is not defined by C standard, so don't presume anything. |
429 |
|
|
rm -f ext/standard/tests/file/bug21131.phpt |
430 |
|
|
|
431 |
|
|
# Tests that fail. |
432 |
|
|
rm -f ext/standard/tests/file/bug22414.phpt \ |
433 |
|
|
ext/iconv/tests/bug16069.phpt |
434 |
|
|
|
435 |
slords |
1.3 |
# Remove tests which require external network access |
436 |
|
|
rm -f ext/sockets/tests/socket_bind.diff |
437 |
|
|
|
438 |
|
|
# Easter eggs no not shipped |
439 |
|
|
rm -f tests/basic/php_egg_logo_guid.diff |
440 |
|
|
|
441 |
slords |
1.1 |
# Safety check for API version change. |
442 |
|
|
vapi=`sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h` |
443 |
|
|
if test "x${vapi}" != "x%{apiver}"; then |
444 |
|
|
: Error: Upstream API version is now ${vapi}, expecting %{apiver}. |
445 |
|
|
: Update the apiver macro and rebuild. |
446 |
|
|
exit 1 |
447 |
|
|
fi |
448 |
|
|
|
449 |
|
|
vzend=`sed -n '/#define ZEND_MODULE_API_NO/{s/^[^0-9]*//;p;}' Zend/zend_modules.h` |
450 |
|
|
if test "x${vzend}" != "x%{zendver}"; then |
451 |
|
|
: Error: Upstream Zend ABI version is now ${vzend}, expecting %{zendver}. |
452 |
|
|
: Update the zendver macro and rebuild. |
453 |
|
|
exit 1 |
454 |
|
|
fi |
455 |
|
|
|
456 |
|
|
# Safety check for PDO ABI version change |
457 |
|
|
vpdo=`sed -n '/#define PDO_DRIVER_API/{s/.*[ ]//;p}' ext/pdo/php_pdo_driver.h` |
458 |
|
|
if test "x${vpdo}" != "x%{pdover}"; then |
459 |
|
|
: Error: Upstream PDO ABI version is now ${vpdo}, expecting %{pdover}. |
460 |
|
|
: Update the pdover macro and rebuild. |
461 |
|
|
exit 1 |
462 |
|
|
fi |
463 |
|
|
|
464 |
slords |
1.3 |
# Check for some extension version |
465 |
|
|
ver=$(sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h) |
466 |
|
|
if test "$ver" != "%{fileinfover}"; then |
467 |
|
|
: Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}. |
468 |
|
|
: Update the fileinfover macro and rebuild. |
469 |
|
|
exit 1 |
470 |
|
|
fi |
471 |
|
|
ver=$(sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h) |
472 |
|
|
if test "$ver" != "%{pharver}"; then |
473 |
|
|
: Error: Upstream PHAR version is now ${ver}, expecting %{pharver}. |
474 |
|
|
: Update the pharver macro and rebuild. |
475 |
|
|
exit 1 |
476 |
|
|
fi |
477 |
|
|
ver=$(sed -n '/#define PHP_ZIP_VERSION_STRING /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h) |
478 |
|
|
if test "$ver" != "%{zipver}"; then |
479 |
|
|
: Error: Upstream ZIP version is now ${ver}, expecting %{zipver}. |
480 |
|
|
: Update the zipver macro and rebuild. |
481 |
|
|
exit 1 |
482 |
|
|
fi |
483 |
|
|
ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h) |
484 |
|
|
if test "$ver" != "%{jsonver}"; then |
485 |
|
|
: Error: Upstream JSON version is now ${ver}, expecting %{jsonver}. |
486 |
|
|
: Update the jsonver macro and rebuild. |
487 |
|
|
exit 1 |
488 |
|
|
fi |
489 |
|
|
|
490 |
|
|
# Fix some bogus permissions |
491 |
|
|
find . -name \*.[ch] -exec chmod 644 {} \; |
492 |
|
|
chmod 644 README.* |
493 |
|
|
|
494 |
slords |
1.1 |
%build |
495 |
slords |
1.3 |
# aclocal workaround - to be improved |
496 |
|
|
cat `aclocal --print-ac-dir`/libtool.m4 >>aclocal.m4 |
497 |
|
|
|
498 |
slords |
1.1 |
# Force use of system libtool: |
499 |
|
|
libtoolize --force --copy |
500 |
slords |
1.3 |
cat `aclocal --print-ac-dir`/libtool.m4 >build/libtool.m4 |
501 |
slords |
1.1 |
|
502 |
|
|
# Regenerate configure scripts (patches change config.m4's) |
503 |
slords |
1.3 |
touch configure.in |
504 |
slords |
1.1 |
./buildconf --force |
505 |
|
|
|
506 |
|
|
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign" |
507 |
|
|
export CFLAGS |
508 |
|
|
|
509 |
|
|
# Install extension modules in %{_libdir}/php/modules. |
510 |
|
|
EXTENSION_DIR=%{_libdir}/php/modules; export EXTENSION_DIR |
511 |
|
|
|
512 |
|
|
# Set PEAR_INSTALLDIR to ensure that the hard-coded include_path |
513 |
|
|
# includes the PEAR directory even though pear is packaged |
514 |
|
|
# separately. |
515 |
|
|
PEAR_INSTALLDIR=%{_datadir}/pear; export PEAR_INSTALLDIR |
516 |
|
|
|
517 |
|
|
# Shell function to configure and build a PHP tree. |
518 |
|
|
build() { |
519 |
|
|
# bison-1.875-2 seems to produce a broken parser; workaround. |
520 |
|
|
mkdir Zend && cp ../Zend/zend_{language,ini}_{parser,scanner}.[ch] Zend |
521 |
|
|
ln -sf ../configure |
522 |
|
|
%configure \ |
523 |
|
|
--cache-file=../config.cache \ |
524 |
|
|
--with-libdir=%{_lib} \ |
525 |
|
|
--with-config-file-path=%{_sysconfdir} \ |
526 |
|
|
--with-config-file-scan-dir=%{_sysconfdir}/php.d \ |
527 |
|
|
--disable-debug \ |
528 |
|
|
--with-pic \ |
529 |
|
|
--disable-rpath \ |
530 |
|
|
--without-pear \ |
531 |
|
|
--with-bz2 \ |
532 |
|
|
--with-exec-dir=%{_bindir} \ |
533 |
|
|
--with-freetype-dir=%{_prefix} \ |
534 |
|
|
--with-png-dir=%{_prefix} \ |
535 |
slords |
1.3 |
--with-xpm-dir=%{_prefix} \ |
536 |
slords |
1.1 |
--enable-gd-native-ttf \ |
537 |
|
|
--without-gdbm \ |
538 |
|
|
--with-gettext \ |
539 |
|
|
--with-gmp \ |
540 |
|
|
--with-iconv \ |
541 |
|
|
--with-jpeg-dir=%{_prefix} \ |
542 |
|
|
--with-openssl \ |
543 |
|
|
--with-pcre-regex=%{_prefix} \ |
544 |
|
|
--with-zlib \ |
545 |
|
|
--with-layout=GNU \ |
546 |
|
|
--enable-exif \ |
547 |
|
|
--enable-ftp \ |
548 |
|
|
--enable-magic-quotes \ |
549 |
|
|
--enable-sockets \ |
550 |
|
|
--enable-sysvsem --enable-sysvshm --enable-sysvmsg \ |
551 |
|
|
--with-kerberos \ |
552 |
|
|
--enable-ucd-snmp-hack \ |
553 |
|
|
--enable-shmop \ |
554 |
|
|
--enable-calendar \ |
555 |
|
|
--without-sqlite \ |
556 |
slords |
1.3 |
--without-sqlite3 \ |
557 |
slords |
1.1 |
--with-libxml-dir=%{_prefix} \ |
558 |
slords |
1.3 |
--enable-xml \ |
559 |
slords |
1.1 |
--with-system-tzdata \ |
560 |
|
|
$* |
561 |
|
|
if test $? != 0; then |
562 |
|
|
tail -500 config.log |
563 |
|
|
: configure failed |
564 |
|
|
exit 1 |
565 |
|
|
fi |
566 |
|
|
|
567 |
|
|
make %{?_smp_mflags} |
568 |
|
|
} |
569 |
|
|
|
570 |
|
|
# Build /usr/bin/php-cgi with the CGI SAPI, and all the shared extensions |
571 |
|
|
pushd build-cgi |
572 |
|
|
build --enable-force-cgi-redirect \ |
573 |
|
|
--enable-pcntl \ |
574 |
|
|
--with-imap=shared --with-imap-ssl \ |
575 |
slords |
1.3 |
--enable-mbstring=shared \ |
576 |
slords |
1.1 |
--enable-mbregex \ |
577 |
|
|
--with-gd=shared \ |
578 |
|
|
--enable-bcmath=shared \ |
579 |
|
|
--enable-dba=shared --with-db4=%{_prefix} \ |
580 |
|
|
--with-xmlrpc=shared \ |
581 |
|
|
--with-ldap=shared --with-ldap-sasl \ |
582 |
|
|
--with-mysql=shared,%{_prefix} \ |
583 |
slords |
1.3 |
--with-mysqli=shared,%{mysql_config} \ |
584 |
slords |
1.1 |
--enable-dom=shared \ |
585 |
|
|
--with-pgsql=shared \ |
586 |
slords |
1.3 |
--enable-wddx=shared \ |
587 |
slords |
1.1 |
--with-snmp=shared,%{_prefix} \ |
588 |
|
|
--enable-soap=shared \ |
589 |
|
|
--with-xsl=shared,%{_prefix} \ |
590 |
|
|
--enable-xmlreader=shared --enable-xmlwriter=shared \ |
591 |
slords |
1.3 |
--with-curl=shared,%{_prefix} \ |
592 |
slords |
1.1 |
--enable-fastcgi \ |
593 |
|
|
--enable-pdo=shared \ |
594 |
|
|
--with-pdo-odbc=shared,unixODBC,%{_prefix} \ |
595 |
slords |
1.3 |
--with-pdo-mysql=shared,%{mysql_config} \ |
596 |
slords |
1.1 |
--with-pdo-pgsql=shared,%{_prefix} \ |
597 |
|
|
--with-pdo-sqlite=shared,%{_prefix} \ |
598 |
|
|
--enable-json=shared \ |
599 |
|
|
--enable-zip=shared \ |
600 |
slords |
1.3 |
--without-readline \ |
601 |
|
|
--with-pspell=shared \ |
602 |
|
|
--enable-phar=shared \ |
603 |
|
|
--enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \ |
604 |
|
|
--enable-posix=shared \ |
605 |
|
|
--with-unixODBC=shared,%{_prefix} \ |
606 |
|
|
--enable-fileinfo=shared \ |
607 |
|
|
--enable-intl=shared \ |
608 |
|
|
--with-icu-dir=%{_prefix} |
609 |
slords |
1.1 |
popd |
610 |
|
|
|
611 |
slords |
1.3 |
without_shared="--without-mysql --without-gd \ |
612 |
|
|
--disable-dom --disable-dba --without-unixODBC \ |
613 |
|
|
--disable-pdo --disable-xmlreader --disable-xmlwriter \ |
614 |
|
|
--without-sqlite3 --disable-phar --disable-fileinfo \ |
615 |
|
|
--disable-json --without-pspell --disable-wddx \ |
616 |
|
|
--without-curl --disable-posix \ |
617 |
|
|
--disable-sysvmsg --disable-sysvshm --disable-sysvsem" |
618 |
|
|
|
619 |
slords |
1.1 |
# Build Apache module, and the CLI SAPI, /usr/bin/php |
620 |
|
|
pushd build-apache |
621 |
slords |
1.3 |
build --with-apxs2=%{_sbindir}/apxs ${without_shared} |
622 |
slords |
1.1 |
popd |
623 |
|
|
|
624 |
|
|
%check |
625 |
|
|
cd build-apache |
626 |
|
|
# Run tests, using the CLI SAPI |
627 |
|
|
export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2 |
628 |
|
|
unset TZ LANG LC_ALL |
629 |
|
|
if ! make test; then |
630 |
|
|
set +x |
631 |
|
|
for f in `find .. -name \*.diff -type f -print`; do |
632 |
|
|
echo "TEST FAILURE: $f --" |
633 |
|
|
cat "$f" |
634 |
slords |
1.3 |
echo -e "\n-- $f result ends.\n" |
635 |
slords |
1.1 |
done |
636 |
|
|
set -x |
637 |
|
|
#exit 1 |
638 |
|
|
fi |
639 |
|
|
unset NO_INTERACTION REPORT_EXIT_STATUS MALLOC_CHECK_ |
640 |
|
|
|
641 |
|
|
%install |
642 |
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
643 |
|
|
|
644 |
|
|
# Install everything from the CGI SAPI build |
645 |
|
|
make -C build-cgi install INSTALL_ROOT=$RPM_BUILD_ROOT |
646 |
|
|
|
647 |
|
|
# Install the default configuration file and icons |
648 |
|
|
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/ |
649 |
slords |
1.3 |
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/php.ini |
650 |
slords |
1.1 |
install -m 755 -d $RPM_BUILD_ROOT%{contentdir}/icons |
651 |
|
|
install -m 644 *.gif $RPM_BUILD_ROOT%{contentdir}/icons/ |
652 |
|
|
|
653 |
|
|
# For third-party packaging: |
654 |
|
|
install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/php/pear \ |
655 |
|
|
$RPM_BUILD_ROOT%{_datadir}/php |
656 |
|
|
|
657 |
|
|
# install the DSO |
658 |
|
|
install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/httpd/modules |
659 |
|
|
install -m 755 build-apache/libs/libphp5.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules |
660 |
|
|
|
661 |
slords |
1.3 |
# Apache config fragment |
662 |
slords |
1.1 |
install -m 755 -d $RPM_BUILD_ROOT/etc/httpd/conf.d |
663 |
slords |
1.3 |
# %{SOURCE1} used here -> |
664 |
slords |
1.1 |
install -m 644 $RPM_SOURCE_DIR/php.conf $RPM_BUILD_ROOT/etc/httpd/conf.d |
665 |
|
|
|
666 |
|
|
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php.d |
667 |
|
|
install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php |
668 |
|
|
install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/session |
669 |
|
|
|
670 |
slords |
1.3 |
# Fix the link |
671 |
|
|
(cd $RPM_BUILD_ROOT%{_bindir}; ln -sfn phar.phar phar) |
672 |
|
|
|
673 |
slords |
1.1 |
# Generate files lists and stub .ini files for each subpackage |
674 |
|
|
for mod in pgsql mysql mysqli odbc ldap snmp xmlrpc imap \ |
675 |
slords |
1.3 |
mbstring gd dom xsl soap bcmath dba xmlreader xmlwriter \ |
676 |
slords |
1.1 |
pdo pdo_mysql pdo_pgsql pdo_odbc pdo_sqlite json zip \ |
677 |
slords |
1.3 |
phar fileinfo intl pspell curl wddx \ |
678 |
|
|
posix sysvshm sysvsem sysvmsg; do |
679 |
slords |
1.1 |
cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${mod}.ini <<EOF |
680 |
|
|
; Enable ${mod} extension module |
681 |
|
|
extension=${mod}.so |
682 |
|
|
EOF |
683 |
|
|
cat > files.${mod} <<EOF |
684 |
|
|
%attr(755,root,root) %{_libdir}/php/modules/${mod}.so |
685 |
|
|
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/php.d/${mod}.ini |
686 |
|
|
EOF |
687 |
|
|
done |
688 |
|
|
|
689 |
|
|
# The dom, xsl and xml* modules are all packaged in php-xml |
690 |
slords |
1.3 |
cat files.dom files.xsl files.xml{reader,writer} files.wddx > files.xml |
691 |
slords |
1.1 |
|
692 |
|
|
# The mysql and mysqli modules are both packaged in php-mysql |
693 |
|
|
cat files.mysqli >> files.mysql |
694 |
|
|
|
695 |
|
|
# Split out the PDO modules |
696 |
|
|
cat files.pdo_mysql >> files.mysql |
697 |
|
|
cat files.pdo_pgsql >> files.pgsql |
698 |
|
|
cat files.pdo_odbc >> files.odbc |
699 |
|
|
|
700 |
slords |
1.3 |
# sysv* and posix in packaged in php-process |
701 |
|
|
cat files.sysv* files.posix > files.process |
702 |
|
|
|
703 |
|
|
# Package pdo_sqlite with pdo. |
704 |
slords |
1.1 |
cat files.pdo_sqlite >> files.pdo |
705 |
|
|
|
706 |
slords |
1.3 |
# Package json, zip, curl, phar and fileinfo in -common. |
707 |
|
|
cat files.json files.zip files.curl files.phar files.fileinfo > files.common |
708 |
slords |
1.1 |
|
709 |
|
|
# Install the macros file: |
710 |
|
|
install -d $RPM_BUILD_ROOT%{_sysconfdir}/rpm |
711 |
slords |
1.3 |
# %{SOURCE3} used here -> |
712 |
slords |
1.1 |
sed -e "s/@PHP_APIVER@/%{apiver}/;s/@PHP_ZENDVER@/%{zendver}/;s/@PHP_PDOVER@/%{pdover}/" \ |
713 |
|
|
< $RPM_SOURCE_DIR/macros.php > macros.php |
714 |
|
|
install -m 644 -c macros.php \ |
715 |
|
|
$RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.php |
716 |
|
|
|
717 |
|
|
# Remove unpackaged files |
718 |
|
|
rm -rf $RPM_BUILD_ROOT%{_libdir}/php/modules/*.a \ |
719 |
|
|
$RPM_BUILD_ROOT%{_bindir}/{phptar} \ |
720 |
slords |
1.3 |
$RPM_BUILD_ROOT%{_datadir}/pear \ |
721 |
|
|
$RPM_BUILD_ROOT%{_libdir}/libphp5.la |
722 |
slords |
1.1 |
|
723 |
|
|
# Remove irrelevant docs |
724 |
|
|
rm -f README.{Zeus,QNX,CVS-RULES} |
725 |
|
|
|
726 |
|
|
%clean |
727 |
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
728 |
|
|
rm files.* macros.php |
729 |
|
|
|
730 |
|
|
%files |
731 |
|
|
%defattr(-,root,root) |
732 |
|
|
%{_libdir}/httpd/modules/libphp5.so |
733 |
|
|
%attr(0770,root,apache) %dir %{_localstatedir}/lib/php/session |
734 |
|
|
%config(noreplace) %{_sysconfdir}/httpd/conf.d/php.conf |
735 |
|
|
%{contentdir}/icons/php.gif |
736 |
|
|
|
737 |
|
|
%files common -f files.common |
738 |
|
|
%defattr(-,root,root) |
739 |
slords |
1.3 |
%doc CODING_STANDARDS CREDITS INSTALL LICENSE NEWS README* |
740 |
|
|
%doc Zend/ZEND_* TSRM_LICENSE regex_COPYRIGHT |
741 |
slords |
1.5.2.2 |
%doc php.ini-production php.ini-development |
742 |
slords |
1.1 |
%config(noreplace) %{_sysconfdir}/php.ini |
743 |
|
|
%dir %{_sysconfdir}/php.d |
744 |
|
|
%dir %{_libdir}/php |
745 |
|
|
%dir %{_libdir}/php/modules |
746 |
|
|
%dir %{_localstatedir}/lib/php |
747 |
|
|
%dir %{_libdir}/php/pear |
748 |
|
|
%dir %{_datadir}/php |
749 |
|
|
|
750 |
|
|
%files cli |
751 |
|
|
%defattr(-,root,root) |
752 |
|
|
%{_bindir}/php |
753 |
|
|
%{_bindir}/php-cgi |
754 |
slords |
1.3 |
%{_bindir}/phar.phar |
755 |
|
|
%{_bindir}/phar |
756 |
slords |
1.1 |
%{_mandir}/man1/php.1* |
757 |
|
|
%doc sapi/cgi/README* sapi/cli/README |
758 |
|
|
|
759 |
|
|
%files devel |
760 |
|
|
%defattr(-,root,root) |
761 |
|
|
%{_bindir}/php-config |
762 |
|
|
%{_bindir}/phpize |
763 |
|
|
%{_includedir}/php |
764 |
|
|
%{_libdir}/php/build |
765 |
|
|
%{_mandir}/man1/php-config.1* |
766 |
|
|
%{_mandir}/man1/phpize.1* |
767 |
|
|
%config %{_sysconfdir}/rpm/macros.php |
768 |
|
|
|
769 |
|
|
%files pgsql -f files.pgsql |
770 |
|
|
%files mysql -f files.mysql |
771 |
|
|
%files odbc -f files.odbc |
772 |
|
|
%files imap -f files.imap |
773 |
|
|
%files ldap -f files.ldap |
774 |
|
|
%files snmp -f files.snmp |
775 |
|
|
%files xml -f files.xml |
776 |
|
|
%files xmlrpc -f files.xmlrpc |
777 |
|
|
%files mbstring -f files.mbstring |
778 |
slords |
1.3 |
%defattr(-,root,root) |
779 |
|
|
%doc ext/mbstring/libmbfl/DISCLAIMER ext/mbstring/libmbfl/LICENSE |
780 |
slords |
1.1 |
%files gd -f files.gd |
781 |
slords |
1.3 |
%defattr(-,root,root) |
782 |
|
|
%doc gd_README |
783 |
slords |
1.1 |
%files soap -f files.soap |
784 |
|
|
%files bcmath -f files.bcmath |
785 |
slords |
1.3 |
%defattr(-,root,root) |
786 |
|
|
%doc ext/bcmath/libbcmath/COPYING.LIB |
787 |
slords |
1.1 |
%files dba -f files.dba |
788 |
|
|
%files pdo -f files.pdo |
789 |
slords |
1.3 |
%files pspell -f files.pspell |
790 |
|
|
%files intl -f files.intl |
791 |
|
|
%files process -f files.process |
792 |
slords |
1.1 |
|
793 |
|
|
%changelog |
794 |
slords |
1.5.2.4 |
* Fri Jul 12 2013 Remi Collet <rcollet@redhat.com> - 5.3.3-13.1 |
795 |
|
|
- add security fix for CVE-2013-4113 |
796 |
|
|
|
797 |
slords |
1.5.2.3 |
* Mon Jun 25 2012 Joe Orton <jorton@redhat.com> - 5.3.3-13 |
798 |
|
|
- add security fix for CVE-2010-2950 |
799 |
slords |
1.5.2.2 |
|
800 |
slords |
1.5.2.3 |
* Wed Jun 13 2012 Joe Orton <jorton@redhat.com> - 5.3.3-11 |
801 |
|
|
- fix tests for CVE-2012-2143, CVE-2012-0789 |
802 |
slords |
1.5.2.2 |
|
803 |
slords |
1.5.2.3 |
* Tue Jun 12 2012 Joe Orton <jorton@redhat.com> - 5.3.3-10 |
804 |
|
|
- add security fix for CVE-2012-2336 |
805 |
slords |
1.5.2.2 |
|
806 |
slords |
1.5.2.3 |
* Tue Jun 12 2012 Joe Orton <jorton@redhat.com> - 5.3.3-9 |
807 |
|
|
- add security fixes for CVE-2011-4153, CVE-2012-0057, CVE-2012-0789, |
808 |
|
|
CVE-2012-1172, CVE-2012-2143, CVE-2012-2386 |
809 |
snetram |
1.5 |
|
810 |
slords |
1.5.2.3 |
* Thu May 3 2012 Joe Orton <jorton@redhat.com> - 5.3.3-7 |
811 |
|
|
- correct detection of = in CVE-2012-1823 fix (#818607) |
812 |
|
|
|
813 |
|
|
* Thu May 3 2012 Joe Orton <jorton@redhat.com> - 5.3.3-6 |
814 |
|
|
- add security fix for CVE-2012-1823 (#818607) |
815 |
|
|
|
816 |
|
|
* Thu Feb 2 2012 Joe Orton <jorton@redhat.com> - 5.3.3-5 |
817 |
|
|
- add security fix for CVE-2012-0830 (#786758) |
818 |
slords |
1.4 |
|
819 |
slords |
1.5.2.3 |
* Wed Jan 04 2012 Vojtech Vitek (V-Teq) <vvitek@redhat.com> - 5.3.3-4 |
820 |
|
|
- remove extra php.ini-prod/devel files caused by %%patch -b |
821 |
|
|
|
822 |
|
|
* Tue Jan 03 2012 Vojtech Vitek (V-Teq) <vvitek@redhat.com> - 5.3.3-3 |
823 |
|
|
- add security fixes for CVE-2011-4885, CVE-2011-4566 (#740734) |
824 |
|
|
|
825 |
|
|
* Fri Oct 28 2011 Joe Orton <jorton@redhat.com> - 5.3.3-2 |
826 |
|
|
- add php-$subpkg = V-R provides (#717158) |
827 |
|
|
- add security fixes for CVE-2010-3710, CVE-2010-4156, CVE-2010-4645 (#670464) |
828 |
|
|
- add security fixes for CVE-2011-2483, CVE-2011-0708, CVE-2011-1148, |
829 |
|
|
CVE-2011-1466, CVE-2011-1468, CVE-2011-1469, CVE-2011-1471, |
830 |
|
|
CVE-2011-1938, CVE-2011-2202 (#740734) |
831 |
|
|
- fix negative keys with var_export (#700724) |
832 |
slords |
1.3 |
|
833 |
|
|
* Wed Dec 1 2010 Joe Orton <jorton@redhat.com> - 5.3.3-1 |
834 |
|
|
- update to 5.3.3 (#658315) |
835 |
|
|
|
836 |
|
|
* Mon Nov 22 2010 Joe Orton <jorton@redhat.com> - 5.3.2-7 |
837 |
|
|
- prevent extract() from clobering $GLOBALS (#655330) |
838 |
|
|
|
839 |
|
|
* Wed Nov 10 2010 Joe Orton <jorton@redhat.com> - 5.3.2-6 |
840 |
|
|
- add security fixes for CVE-2010-3870 CVE-2010-3709 (#650877) |
841 |
|
|
- provide php-devel from -devel (#642701) |
842 |
|
|
|
843 |
|
|
* Mon Nov 1 2010 Joe Orton <jorton@redhat.com> - 5.3.2-5 |
844 |
|
|
- use correct mysql_config for pdo-mysql also (#642701) |
845 |
|
|
|
846 |
|
|
* Thu Sep 30 2010 Joe Orton <jorton@redhat.com> - 5.3.2-4 |
847 |
|
|
- use mysql_config from libdir |
848 |
|
|
|
849 |
|
|
* Tue Sep 7 2010 Joe Orton <jorton@redhat.com> - 5.3.2-3 |
850 |
|
|
- add defattr for -mbstring and -bcmath |
851 |
|
|
|
852 |
|
|
* Tue Sep 7 2010 Joe Orton <jorton@redhat.com> - 5.3.2-2 |
853 |
|
|
- add LGPLv2{,+} to License; ship text in -bcmath, -mbstring |
854 |
|
|
- apply phar patch correctly |
855 |
|
|
- fix permissions on sources, README.namespaces |
856 |
|
|
- drop EXTENSIONS from %%doc |
857 |
|
|
- fix Provides for php-cli |
858 |
|
|
- drop inappropriate/obsolete Obsoletes |
859 |
|
|
|
860 |
|
|
* Thu Sep 2 2010 Joe Orton <jorton@redhat.com> - 5.3.2-1 |
861 |
|
|
- convert to php53 |
862 |
|
|
- remove subpackages: embeded, zts, tidy, recode, enchant |
863 |
|
|
|
864 |
|
|
* Tue Aug 17 2010 Joe Orton <jorton@redhat.com> - 5.3.2-6 |
865 |
|
|
- add security fixes for CVE-2010-1866, CVE-2010-2094, CVE-2010-1917, |
866 |
|
|
CVE-2010-2531, MOPS-2010-060 (#624469) |
867 |
|
|
|
868 |
|
|
* Fri Aug 13 2010 Joe Orton <jorton@redhat.com> - 5.3.2-5 |
869 |
|
|
- add security fix for CVE-2010-0397 (#575712) |
870 |
|
|
|
871 |
|
|
* Thu Jun 24 2010 Joe Orton <jorton@redhat.com> - 5.3.2-4 |
872 |
|
|
- add security fix for CVE-2010-2225 (#605644) |
873 |
|
|
|
874 |
|
|
* Wed May 5 2010 Joe Orton <jorton@redhat.com> - 5.3.2-3 |
875 |
|
|
- restore -imap (#586050) |
876 |
|
|
|
877 |
|
|
* Fri Mar 26 2010 Joe Orton <jorton@redhat.com> - 5.3.2-2 |
878 |
|
|
- remove mcrypt support (#459804, #577257) |
879 |
|
|
|
880 |
|
|
* Wed Mar 24 2010 Joe Orton <jorton@redhat.com> - 5.3.2-1 |
881 |
|
|
- update to 5.3.2 (#575158, #575712) |
882 |
|
|
|
883 |
|
|
* Sat Mar 06 2010 Remi Collet <Fedora@famillecollet.com> |
884 |
|
|
- PHP 5.3.2 Released! |
885 |
|
|
- remove mime_magic option (now provided by fileinfo, by emu) |
886 |
|
|
- add patch for http://bugs.php.net/50578 |
887 |
|
|
- remove patch for libedit (upstream) |
888 |
|
|
|
889 |
|
|
* Fri Jan 15 2010 Joe Orton <jorton@redhat.com> - 5.3.1-7 |
890 |
|
|
- add security fix for CVE-2009-4142 (#552268) |
891 |
|
|
|
892 |
|
|
* Fri Dec 18 2009 Joe Orton <jorton@redhat.com> - 5.3.1-6 |
893 |
|
|
- drop mssql, pdo_dblib |
894 |
|
|
|
895 |
|
|
* Fri Dec 11 2009 Joe Orton <jorton@redhat.com> - 5.3.1-5 |
896 |
|
|
- drop imap |
897 |
|
|
|
898 |
|
|
* Fri Dec 11 2009 Joe Orton <jorton@redhat.com> - 5.3.1-4 |
899 |
|
|
- drop t1lib, interbase/firebird support |
900 |
|
|
|
901 |
|
|
* Fri Nov 27 2009 Joe Orton <jorton@redhat.com> - 5.3.1-3 |
902 |
|
|
- update to v7 of systzdata patch |
903 |
|
|
|
904 |
|
|
* Wed Nov 25 2009 Joe Orton <jorton@redhat.com> - 5.3.1-2 |
905 |
|
|
- fix build with autoconf 2.6x |
906 |
|
|
|
907 |
|
|
* Fri Nov 20 2009 Remi Collet <Fedora@famillecollet.com> 5.3.1-1 |
908 |
|
|
- update to 5.3.1 |
909 |
|
|
- remove openssl patch (merged upstream) |
910 |
|
|
- add provides for php-pecl-json |
911 |
|
|
- add prod/devel php.ini in doc |
912 |
|
|
|
913 |
|
|
* Tue Nov 17 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 5.3.0-7 |
914 |
|
|
- use libedit instead of readline to resolve licensing issues |
915 |
|
|
|
916 |
|
|
* Tue Aug 25 2009 Tomas Mraz <tmraz@redhat.com> - 5.3.0-6 |
917 |
|
|
- rebuilt with new openssl |
918 |
|
|
|
919 |
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-5 |
920 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
921 |
|
|
|
922 |
|
|
* Thu Jul 16 2009 Joe Orton <jorton@redhat.com> 5.3.0-4 |
923 |
|
|
- rediff systzdata patch |
924 |
|
|
|
925 |
|
|
* Thu Jul 16 2009 Joe Orton <jorton@redhat.com> 5.3.0-3 |
926 |
|
|
- update to v6 of systzdata patch; various fixes |
927 |
|
|
|
928 |
|
|
* Tue Jul 14 2009 Joe Orton <jorton@redhat.com> 5.3.0-2 |
929 |
|
|
- update to v5 of systzdata patch; parses zone.tab and extracts |
930 |
|
|
timezone->{country-code,long/lat,comment} mapping table |
931 |
|
|
|
932 |
|
|
* Sun Jul 12 2009 Remi Collet <Fedora@famillecollet.com> 5.3.0-1 |
933 |
|
|
- update to 5.3.0 |
934 |
|
|
- remove ncurses, dbase, mhash extensions |
935 |
|
|
- add enchant, sqlite3, intl, phar, fileinfo extensions |
936 |
|
|
- raise sqlite version to 3.6.0 (for sqlite3, build with --enable-load-extension) |
937 |
|
|
- sync with upstream "production" php.ini |
938 |
|
|
|
939 |
|
|
* Sat Jun 21 2009 Remi Collet <Fedora@famillecollet.com> 5.2.10-1 |
940 |
slords |
1.1 |
- update to 5.2.10 |
941 |
slords |
1.3 |
- add interbase sub-package |
942 |
|
|
|
943 |
|
|
* Sat Feb 28 2009 Remi Collet <Fedora@FamilleCollet.com> - 5.2.9-1 |
944 |
|
|
- update to 5.2.9 |
945 |
|
|
|
946 |
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.8-10 |
947 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
948 |
|
|
|
949 |
|
|
* Thu Feb 5 2009 Joe Orton <jorton@redhat.com> 5.2.8-9 |
950 |
|
|
- add recode support, -recode subpackage (#106755) |
951 |
|
|
- add -zts subpackage with ZTS-enabled build of httpd SAPI |
952 |
|
|
- adjust php.conf to use -zts SAPI build for worker MPM |
953 |
|
|
|
954 |
|
|
* Wed Feb 4 2009 Joe Orton <jorton@redhat.com> 5.2.8-8 |
955 |
|
|
- fix patch fuzz, renumber patches |
956 |
|
|
|
957 |
|
|
* Wed Feb 4 2009 Joe Orton <jorton@redhat.com> 5.2.8-7 |
958 |
|
|
- drop obsolete configure args |
959 |
|
|
- drop -odbc patch (#483690) |
960 |
|
|
|
961 |
|
|
* Mon Jan 26 2009 Joe Orton <jorton@redhat.com> 5.2.8-5 |
962 |
|
|
- split out sysvshm, sysvsem, sysvmsg, posix into php-process |
963 |
|
|
|
964 |
|
|
* Sun Jan 25 2009 Joe Orton <jorton@redhat.com> 5.2.8-4 |
965 |
|
|
- move wddx to php-xml, build curl shared in -common |
966 |
|
|
- remove BR for expat-devel, bogus configure option |
967 |
slords |
1.1 |
|
968 |
slords |
1.3 |
* Fri Jan 23 2009 Joe Orton <jorton@redhat.com> 5.2.8-3 |
969 |
|
|
- rebuild for new MySQL |
970 |
|
|
|
971 |
|
|
* Sat Dec 13 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.8-2 |
972 |
|
|
- libtool 2 workaround for phpize (#476004) |
973 |
|
|
- add missing php_embed.h (#457777) |
974 |
|
|
|
975 |
|
|
* Tue Dec 09 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.8-1 |
976 |
|
|
- update to 5.2.8 |
977 |
|
|
|
978 |
|
|
* Sat Dec 06 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.7-1.1 |
979 |
|
|
- libtool 2 workaround |
980 |
|
|
|
981 |
|
|
* Fri Dec 05 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.7-1 |
982 |
|
|
- update to 5.2.7 |
983 |
|
|
- enable pdo_dblib driver in php-mssql |
984 |
|
|
|
985 |
|
|
* Mon Nov 24 2008 Joe Orton <jorton@redhat.com> 5.2.6-7 |
986 |
|
|
- tweak Summary, thanks to Richard Hughes |
987 |
|
|
|
988 |
|
|
* Tue Nov 4 2008 Joe Orton <jorton@redhat.com> 5.2.6-6 |
989 |
|
|
- move gd_README to php-gd |
990 |
|
|
- update to r4 of systzdata patch; introduces a default timezone |
991 |
|
|
name of "System/Localtime", which uses /etc/localtime (#469532) |
992 |
slords |
1.1 |
|
993 |
slords |
1.3 |
* Sat Sep 13 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.6-5 |
994 |
|
|
- enable XPM support in php-gd |
995 |
|
|
- Fix BR for php-gd |
996 |
slords |
1.1 |
|
997 |
slords |
1.3 |
* Sun Jul 20 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.6-4 |
998 |
|
|
- enable T1lib support in php-gd |
999 |
slords |
1.1 |
|
1000 |
slords |
1.3 |
* Mon Jul 14 2008 Joe Orton <jorton@redhat.com> 5.2.6-3 |
1001 |
slords |
1.1 |
- update to 5.2.6 |
1002 |
slords |
1.3 |
- sync default php.ini with upstream |
1003 |
|
|
- drop extension_dir from default php.ini, rely on hard-coded |
1004 |
|
|
default, to make php-common multilib-safe (#455091) |
1005 |
|
|
- update to r3 of systzdata patch |
1006 |
|
|
|
1007 |
|
|
* Thu Apr 24 2008 Joe Orton <jorton@redhat.com> 5.2.5-7 |
1008 |
|
|
- split pspell extension out into php-spell (#443857) |
1009 |
slords |
1.1 |
|
1010 |
slords |
1.3 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.2.5-6 |
1011 |
|
|
- Autorebuild for GCC 4.3 |
1012 |
slords |
1.1 |
|
1013 |
|
|
* Fri Jan 11 2008 Joe Orton <jorton@redhat.com> 5.2.5-5 |
1014 |
|
|
- ext/date: use system timezone database |
1015 |
|
|
|
1016 |
|
|
* Fri Dec 28 2007 Joe Orton <jorton@redhat.com> 5.2.5-4 |
1017 |
|
|
- rebuild for libc-client bump |
1018 |
|
|
|
1019 |
|
|
* Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 5.2.5-3 |
1020 |
|
|
- Rebuild for openssl bump |
1021 |
|
|
|
1022 |
|
|
* Wed Dec 5 2007 Joe Orton <jorton@redhat.com> 5.2.5-2 |
1023 |
|
|
- update to 5.2.5 |
1024 |
|
|
|
1025 |
|
|
* Mon Oct 15 2007 Joe Orton <jorton@redhat.com> 5.2.4-3 |
1026 |
|
|
- correct pcre BR version (#333021) |
1027 |
|
|
- restore metaphone fix (#205714) |
1028 |
|
|
- add READMEs to php-cli |
1029 |
|
|
|
1030 |
|
|
* Sun Sep 16 2007 Joe Orton <jorton@redhat.com> 5.2.4-2 |
1031 |
|
|
- update to 5.2.4 |
1032 |
|
|
|
1033 |
|
|
* Sun Sep 2 2007 Joe Orton <jorton@redhat.com> 5.2.3-9 |
1034 |
|
|
- rebuild for fixed APR |
1035 |
|
|
|
1036 |
|
|
* Tue Aug 28 2007 Joe Orton <jorton@redhat.com> 5.2.3-8 |
1037 |
|
|
- add ldconfig post/postun for -embedded (Hans de Goede) |
1038 |
|
|
|
1039 |
|
|
* Fri Aug 10 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 5.2.3-7 |
1040 |
|
|
- add php-embedded sub-package |
1041 |
|
|
|
1042 |
|
|
* Fri Aug 10 2007 Joe Orton <jorton@redhat.com> 5.2.3-6 |
1043 |
|
|
- fix build with new glibc |
1044 |
|
|
- fix License |
1045 |
|
|
|
1046 |
|
|
* Mon Jul 16 2007 Joe Orton <jorton@redhat.com> 5.2.3-5 |
1047 |
|
|
- define php_extdir in macros.php |
1048 |
|
|
|
1049 |
|
|
* Mon Jul 2 2007 Joe Orton <jorton@redhat.com> 5.2.3-4 |
1050 |
|
|
- obsolete php-dbase |
1051 |
|
|
|
1052 |
|
|
* Tue Jun 19 2007 Joe Orton <jorton@redhat.com> 5.2.3-3 |
1053 |
|
|
- add mcrypt, mhash, tidy, mssql subpackages (Dmitry Butskoy) |
1054 |
|
|
- enable dbase extension and package in -common |
1055 |
|
|
|
1056 |
|
|
* Fri Jun 8 2007 Joe Orton <jorton@redhat.com> 5.2.3-2 |
1057 |
|
|
- update to 5.2.3 (thanks to Jeff Sheltren) |
1058 |
|
|
|
1059 |
|
|
* Wed May 9 2007 Joe Orton <jorton@redhat.com> 5.2.2-4 |
1060 |
|
|
- fix php-pdo *_arg_force_ref global symbol abuse (#216125) |
1061 |
|
|
|
1062 |
|
|
* Tue May 8 2007 Joe Orton <jorton@redhat.com> 5.2.2-3 |
1063 |
|
|
- rebuild against uw-imap-devel |
1064 |
|
|
|
1065 |
|
|
* Fri May 4 2007 Joe Orton <jorton@redhat.com> 5.2.2-2 |
1066 |
|
|
- update to 5.2.2 |
1067 |
|
|
- synch changes from upstream recommended php.ini |
1068 |
|
|
|
1069 |
|
|
* Thu Mar 29 2007 Joe Orton <jorton@redhat.com> 5.2.1-5 |
1070 |
|
|
- enable SASL support in LDAP extension (#205772) |
1071 |
|
|
|
1072 |
|
|
* Wed Mar 21 2007 Joe Orton <jorton@redhat.com> 5.2.1-4 |
1073 |
|
|
- drop mime_magic extension (deprecated by php-pecl-Fileinfo) |
1074 |
|
|
|
1075 |
|
|
* Mon Feb 19 2007 Joe Orton <jorton@redhat.com> 5.2.1-3 |
1076 |
|
|
- fix regression in str_{i,}replace (from upstream) |
1077 |
|
|
|
1078 |
|
|
* Thu Feb 15 2007 Joe Orton <jorton@redhat.com> 5.2.1-2 |
1079 |
|
|
- update to 5.2.1 |
1080 |
|
|
- add Requires(pre) for httpd |
1081 |
|
|
- trim %%changelog to versions >= 5.0.0 |
1082 |
|
|
|
1083 |
|
|
* Thu Feb 8 2007 Joe Orton <jorton@redhat.com> 5.2.0-10 |
1084 |
|
|
- bump default memory_limit to 32M (#220821) |
1085 |
|
|
- mark config files noreplace again (#174251) |
1086 |
|
|
- drop trailing dots from Summary fields |
1087 |
|
|
- use standard BuildRoot |
1088 |
|
|
- drop libtool15 patch (#226294) |
1089 |
|
|
|
1090 |
|
|
* Tue Jan 30 2007 Joe Orton <jorton@redhat.com> 5.2.0-9 |
1091 |
|
|
- add php(api), php(zend-abi) provides (#221302) |
1092 |
|
|
- package /usr/share/php and append to default include_path (#225434) |
1093 |
|
|
|
1094 |
|
|
* Tue Dec 5 2006 Joe Orton <jorton@redhat.com> 5.2.0-8 |
1095 |
|
|
- fix filter.h installation path |
1096 |
|
|
- fix php-zend-abi version (Remi Collet, #212804) |
1097 |
|
|
|
1098 |
|
|
* Tue Nov 28 2006 Joe Orton <jorton@redhat.com> 5.2.0-7 |
1099 |
|
|
- rebuild again |
1100 |
|
|
|
1101 |
|
|
* Tue Nov 28 2006 Joe Orton <jorton@redhat.com> 5.2.0-6 |
1102 |
|
|
- rebuild for net-snmp soname bump |
1103 |
|
|
|
1104 |
|
|
* Mon Nov 27 2006 Joe Orton <jorton@redhat.com> 5.2.0-5 |
1105 |
|
|
- build json and zip shared, in -common (Remi Collet, #215966) |
1106 |
|
|
- obsolete php-json and php-pecl-zip |
1107 |
|
|
- build readline extension into /usr/bin/php* (#210585) |
1108 |
|
|
- change module subpackages to require php-common not php (#177821) |
1109 |
|
|
|
1110 |
|
|
* Wed Nov 15 2006 Joe Orton <jorton@redhat.com> 5.2.0-4 |
1111 |
|
|
- provide php-zend-abi (#212804) |
1112 |
|
|
- add /etc/rpm/macros.php exporting interface versions |
1113 |
|
|
- synch with upstream recommended php.ini |
1114 |
|
|
|
1115 |
|
|
* Wed Nov 15 2006 Joe Orton <jorton@redhat.com> 5.2.0-3 |
1116 |
|
|
- update to 5.2.0 (#213837) |
1117 |
|
|
- php-xml provides php-domxml (#215656) |
1118 |
|
|
- fix php-pdo-abi provide (#214281) |
1119 |
|
|
|
1120 |
|
|
* Tue Oct 31 2006 Joseph Orton <jorton@redhat.com> 5.1.6-4 |
1121 |
|
|
- rebuild for curl soname bump |
1122 |
|
|
- add build fix for curl 7.16 API |
1123 |
|
|
|
1124 |
|
|
* Wed Oct 4 2006 Joe Orton <jorton@redhat.com> 5.1.6-3 |
1125 |
|
|
- from upstream: add safety checks against integer overflow in _ecalloc |
1126 |
|
|
|
1127 |
|
|
* Tue Aug 29 2006 Joe Orton <jorton@redhat.com> 5.1.6-2 |
1128 |
|
|
- update to 5.1.6 (security fixes) |
1129 |
|
|
- bump default memory_limit to 16M (#196802) |
1130 |
|
|
|
1131 |
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 5.1.4-8.1 |
1132 |
|
|
- rebuild |
1133 |
|
|
|
1134 |
|
|
* Fri Jun 9 2006 Joe Orton <jorton@redhat.com> 5.1.4-8 |
1135 |
|
|
- Provide php-posix (#194583) |
1136 |
|
|
- only provide php-pcntl from -cli subpackage |
1137 |
|
|
- add missing defattr's (thanks to Matthias Saou) |
1138 |
|
|
|
1139 |
|
|
* Fri Jun 9 2006 Joe Orton <jorton@redhat.com> 5.1.4-7 |
1140 |
|
|
- move Obsoletes for php-openssl to -common (#194501) |
1141 |
|
|
- Provide: php-cgi from -cli subpackage |
1142 |
|
|
|
1143 |
|
|
* Fri Jun 2 2006 Joe Orton <jorton@redhat.com> 5.1.4-6 |
1144 |
|
|
- split out php-cli, php-common subpackages (#177821) |
1145 |
|
|
- add php-pdo-abi version export (#193202) |
1146 |
|
|
|
1147 |
|
|
* Wed May 24 2006 Radek Vokal <rvokal@redhat.com> 5.1.4-5.1 |
1148 |
|
|
- rebuilt for new libnetsnmp |
1149 |
|
|
|
1150 |
|
|
* Thu May 18 2006 Joe Orton <jorton@redhat.com> 5.1.4-5 |
1151 |
|
|
- provide mod_php (#187891) |
1152 |
|
|
- provide php-cli (#192196) |
1153 |
|
|
- use correct LDAP fix (#181518) |
1154 |
|
|
- define _GNU_SOURCE in php_config.h and leave it defined |
1155 |
|
|
- drop (circular) dependency on php-pear |
1156 |
|
|
|
1157 |
|
|
* Mon May 8 2006 Joe Orton <jorton@redhat.com> 5.1.4-3 |
1158 |
|
|
- update to 5.1.4 |
1159 |
|
|
|
1160 |
|
|
* Wed May 3 2006 Joe Orton <jorton@redhat.com> 5.1.3-3 |
1161 |
|
|
- update to 5.1.3 |
1162 |
|
|
|
1163 |
|
|
* Tue Feb 28 2006 Joe Orton <jorton@redhat.com> 5.1.2-5 |
1164 |
|
|
- provide php-api (#183227) |
1165 |
|
|
- add provides for all builtin modules (Tim Jackson, #173804) |
1166 |
|
|
- own %%{_libdir}/php/pear for PEAR packages (per #176733) |
1167 |
|
|
- add obsoletes to allow upgrade from FE4 PDO packages (#181863) |
1168 |
|
|
|
1169 |
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 5.1.2-4.3 |
1170 |
|
|
- bump again for double-long bug on ppc(64) |
1171 |
|
|
|
1172 |
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 5.1.2-4.1 |
1173 |
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes |
1174 |
|
|
|
1175 |
|
|
* Tue Jan 31 2006 Joe Orton <jorton@redhat.com> 5.1.2-4 |
1176 |
|
|
- rebuild for new libc-client soname |
1177 |
|
|
|
1178 |
|
|
* Mon Jan 16 2006 Joe Orton <jorton@redhat.com> 5.1.2-3 |
1179 |
|
|
- only build xmlreader and xmlwriter shared (#177810) |
1180 |
|
|
|
1181 |
|
|
* Fri Jan 13 2006 Joe Orton <jorton@redhat.com> 5.1.2-2 |
1182 |
|
|
- update to 5.1.2 |
1183 |
|
|
|
1184 |
|
|
* Thu Jan 5 2006 Joe Orton <jorton@redhat.com> 5.1.1-8 |
1185 |
|
|
- rebuild again |
1186 |
|
|
|
1187 |
|
|
* Mon Jan 2 2006 Joe Orton <jorton@redhat.com> 5.1.1-7 |
1188 |
|
|
- rebuild for new net-snmp |
1189 |
|
|
|
1190 |
|
|
* Mon Dec 12 2005 Joe Orton <jorton@redhat.com> 5.1.1-6 |
1191 |
|
|
- enable short_open_tag in default php.ini again (#175381) |
1192 |
|
|
|
1193 |
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
1194 |
|
|
- rebuilt |
1195 |
|
|
|
1196 |
|
|
* Thu Dec 8 2005 Joe Orton <jorton@redhat.com> 5.1.1-5 |
1197 |
|
|
- require net-snmp for php-snmp (#174800) |
1198 |
|
|
|
1199 |
|
|
* Sun Dec 4 2005 Joe Orton <jorton@redhat.com> 5.1.1-4 |
1200 |
|
|
- add /usr/share/pear back to hard-coded include_path (#174885) |
1201 |
|
|
|
1202 |
|
|
* Fri Dec 2 2005 Joe Orton <jorton@redhat.com> 5.1.1-3 |
1203 |
|
|
- rebuild for httpd 2.2 |
1204 |
|
|
|
1205 |
|
|
* Mon Nov 28 2005 Joe Orton <jorton@redhat.com> 5.1.1-2 |
1206 |
|
|
- update to 5.1.1 |
1207 |
|
|
- remove pear subpackage |
1208 |
|
|
- enable pdo extensions (php-pdo subpackage) |
1209 |
|
|
- remove non-standard conditional module builds |
1210 |
|
|
- enable xmlreader extension |
1211 |
|
|
|
1212 |
|
|
* Thu Nov 10 2005 Tomas Mraz <tmraz@redhat.com> 5.0.5-6 |
1213 |
|
|
- rebuilt against new openssl |
1214 |
|
|
|
1215 |
|
|
* Mon Nov 7 2005 Joe Orton <jorton@redhat.com> 5.0.5-5 |
1216 |
|
|
- pear: update to XML_RPC 1.4.4, XML_Parser 1.2.7, Mail 1.1.9 (#172528) |
1217 |
|
|
|
1218 |
|
|
* Tue Nov 1 2005 Joe Orton <jorton@redhat.com> 5.0.5-4 |
1219 |
|
|
- rebuild for new libnetsnmp |
1220 |
|
|
|
1221 |
|
|
* Wed Sep 14 2005 Joe Orton <jorton@redhat.com> 5.0.5-3 |
1222 |
|
|
- update to 5.0.5 |
1223 |
|
|
- add fix for upstream #34435 |
1224 |
|
|
- devel: require autoconf, automake (#159283) |
1225 |
|
|
- pear: update to HTTP-1.3.6, Mail-1.1.8, Net_SMTP-1.2.7, XML_RPC-1.4.1 |
1226 |
|
|
- fix imagettftext et al (upstream, #161001) |
1227 |
|
|
|
1228 |
|
|
* Thu Jun 16 2005 Joe Orton <jorton@redhat.com> 5.0.4-11 |
1229 |
|
|
- ldap: restore ldap_start_tls() function |
1230 |
|
|
|
1231 |
|
|
* Fri May 6 2005 Joe Orton <jorton@redhat.com> 5.0.4-10 |
1232 |
|
|
- disable RPATHs in shared extensions (#156974) |
1233 |
|
|
|
1234 |
|
|
* Tue May 3 2005 Joe Orton <jorton@redhat.com> 5.0.4-9 |
1235 |
|
|
- build simplexml_import_dom even with shared dom (#156434) |
1236 |
|
|
- prevent truncation of copied files to ~2Mb (#155916) |
1237 |
|
|
- install /usr/bin/php from CLI build alongside CGI |
1238 |
|
|
- enable sysvmsg extension (#142988) |
1239 |
|
|
|
1240 |
|
|
* Mon Apr 25 2005 Joe Orton <jorton@redhat.com> 5.0.4-8 |
1241 |
|
|
- prevent build of builtin dba as well as shared extension |
1242 |
|
|
|
1243 |
|
|
* Wed Apr 13 2005 Joe Orton <jorton@redhat.com> 5.0.4-7 |
1244 |
|
|
- split out dba and bcmath extensions into subpackages |
1245 |
|
|
- BuildRequire gcc-c++ to avoid AC_PROG_CXX{,CPP} failure (#155221) |
1246 |
|
|
- pear: update to DB-1.7.6 |
1247 |
|
|
- enable FastCGI support in /usr/bin/php-cgi (#149596) |
1248 |
|
|
|
1249 |
|
|
* Wed Apr 13 2005 Joe Orton <jorton@redhat.com> 5.0.4-6 |
1250 |
|
|
- build /usr/bin/php with the CLI SAPI, and add /usr/bin/php-cgi, |
1251 |
|
|
built with the CGI SAPI (thanks to Edward Rudd, #137704) |
1252 |
|
|
- add php(1) man page for CLI |
1253 |
|
|
- fix more test cases to use -n when invoking php |
1254 |
|
|
|
1255 |
|
|
* Wed Apr 13 2005 Joe Orton <jorton@redhat.com> 5.0.4-5 |
1256 |
|
|
- rebuild for new libpq soname |
1257 |
|
|
|
1258 |
|
|
* Tue Apr 12 2005 Joe Orton <jorton@redhat.com> 5.0.4-4 |
1259 |
|
|
- bundle from PEAR: HTTP, Mail, XML_Parser, Net_Socket, Net_SMTP |
1260 |
|
|
- snmp: disable MSHUTDOWN function to prevent error_log noise (#153988) |
1261 |
|
|
- mysqli: add fix for crash on x86_64 (Georg Richter, upstream #32282) |
1262 |
|
|
|
1263 |
|
|
* Mon Apr 11 2005 Joe Orton <jorton@redhat.com> 5.0.4-3 |
1264 |
|
|
- build shared objects as PIC (#154195) |
1265 |
|
|
|
1266 |
|
|
* Mon Apr 4 2005 Joe Orton <jorton@redhat.com> 5.0.4-2 |
1267 |
|
|
- fix PEAR installation and bundle PEAR DB-1.7.5 package |
1268 |
|
|
|
1269 |
|
|
* Fri Apr 1 2005 Joe Orton <jorton@redhat.com> 5.0.4-1 |
1270 |
|
|
- update to 5.0.4 (#153068) |
1271 |
|
|
- add .phps AddType to php.conf (#152973) |
1272 |
|
|
- better gcc4 fix for libxmlrpc |
1273 |
|
|
|
1274 |
|
|
* Wed Mar 30 2005 Joe Orton <jorton@redhat.com> 5.0.3-5 |
1275 |
|
|
- BuildRequire mysql-devel >= 4.1 |
1276 |
|
|
- don't mark php.ini as noreplace to make upgrades work (#152171) |
1277 |
|
|
- fix subpackage descriptions (#152628) |
1278 |
|
|
- fix memset(,,0) in Zend (thanks to Dave Jones) |
1279 |
|
|
- fix various compiler warnings in Zend |
1280 |
|
|
|
1281 |
|
|
* Thu Mar 24 2005 Joe Orton <jorton@redhat.com> 5.0.3-4 |
1282 |
|
|
- package mysqli extension in php-mysql |
1283 |
|
|
- really enable pcntl (#142903) |
1284 |
|
|
- don't build with --enable-safe-mode (#148969) |
1285 |
|
|
- use "Instant Client" libraries for oci8 module (Kai Bolay, #149873) |
1286 |
|
|
|
1287 |
|
|
* Fri Feb 18 2005 Joe Orton <jorton@redhat.com> 5.0.3-3 |
1288 |
|
|
- fix build with GCC 4 |
1289 |
|
|
|
1290 |
|
|
* Wed Feb 9 2005 Joe Orton <jorton@redhat.com> 5.0.3-2 |
1291 |
|
|
- install the ext/gd headers (#145891) |
1292 |
|
|
- enable pcntl extension in /usr/bin/php (#142903) |
1293 |
|
|
- add libmbfl array arithmetic fix (dcb314@hotmail.com, #143795) |
1294 |
|
|
- add BuildRequire for recent pcre-devel (#147448) |
1295 |
|
|
|
1296 |
|
|
* Wed Jan 12 2005 Joe Orton <jorton@redhat.com> 5.0.3-1 |
1297 |
|
|
- update to 5.0.3 (thanks to Robert Scheck et al, #143101) |
1298 |
|
|
- enable xsl extension (#142174) |
1299 |
|
|
- package both the xsl and dom extensions in php-xml |
1300 |
|
|
- enable soap extension, shared (php-soap package) (#142901) |
1301 |
|
|
- add patches from upstream 5.0 branch: |
1302 |
|
|
* Zend_strtod.c compile fixes |
1303 |
|
|
* correct php_sprintf return value usage |
1304 |
|
|
|
1305 |
|
|
* Mon Nov 22 2004 Joe Orton <jorton@redhat.com> 5.0.2-8 |
1306 |
|
|
- update for db4-4.3 (Robert Scheck, #140167) |
1307 |
|
|
- build against mysql-devel |
1308 |
|
|
- run tests in %%check |
1309 |
|
|
|
1310 |
|
|
* Wed Nov 10 2004 Joe Orton <jorton@redhat.com> 5.0.2-7 |
1311 |
|
|
- truncate changelog at 4.3.1-1 |
1312 |
|
|
- merge from 4.3.x package: |
1313 |
|
|
- enable mime_magic extension and Require: file (#130276) |
1314 |
|
|
|
1315 |
|
|
* Mon Nov 8 2004 Joe Orton <jorton@redhat.com> 5.0.2-6 |
1316 |
|
|
- fix dom/sqlite enable/without confusion |
1317 |
|
|
|
1318 |
|
|
* Mon Nov 8 2004 Joe Orton <jorton@redhat.com> 5.0.2-5 |
1319 |
|
|
- fix phpize installation for lib64 platforms |
1320 |
|
|
- add fix for segfault in variable parsing introduced in 5.0.2 |
1321 |
|
|
|
1322 |
|
|
* Mon Nov 8 2004 Joe Orton <jorton@redhat.com> 5.0.2-4 |
1323 |
|
|
- update to 5.0.2 (#127980) |
1324 |
|
|
- build against mysqlclient10-devel |
1325 |
|
|
- use new RTLD_DEEPBIND to load extension modules |
1326 |
|
|
- drop explicit requirement for elfutils-devel |
1327 |
|
|
- use AddHandler in default conf.d/php.conf (#135664) |
1328 |
|
|
- "fix" round() fudging for recent gcc on x86 |
1329 |
|
|
- disable sqlite pending audit of warnings and subpackage split |
1330 |
|
|
|
1331 |
|
|
* Fri Sep 17 2004 Joe Orton <jorton@redhat.com> 5.0.1-4 |
1332 |
|
|
- don't build dom extension into 2.0 SAPI |
1333 |
|
|
|
1334 |
|
|
* Fri Sep 17 2004 Joe Orton <jorton@redhat.com> 5.0.1-3 |
1335 |
|
|
- ExclusiveArch: x86 ppc x86_64 for the moment |
1336 |
|
|
|
1337 |
|
|
* Fri Sep 17 2004 Joe Orton <jorton@redhat.com> 5.0.1-2 |
1338 |
|
|
- fix default extension_dir and conf.d/php.conf |
1339 |
|
|
|
1340 |
|
|
* Thu Sep 9 2004 Joe Orton <jorton@redhat.com> 5.0.1-1 |
1341 |
|
|
- update to 5.0.1 |
1342 |
|
|
- only build shared modules once |
1343 |
|
|
- put dom extension in php-dom subpackage again |
1344 |
|
|
- move extension modules into %%{_libdir}/php/modules |
1345 |
|
|
- don't use --with-regex=system, it's ignored for the apache* SAPIs |
1346 |
|
|
|
1347 |
|
|
* Wed Aug 11 2004 Tom Callaway <tcallawa@redhat.com> |
1348 |
|
|
- Merge in some spec file changes from Jeff Stern (jastern@uci.edu) |
1349 |
|
|
|
1350 |
|
|
* Mon Aug 09 2004 Tom Callaway <tcallawa@redhat.com> |
1351 |
|
|
- bump to 5.0.0 |
1352 |
|
|
- add patch to prevent clobbering struct re_registers from regex.h |
1353 |
|
|
- remove domxml references, replaced with dom now built-in |
1354 |
|
|
- fix php.ini to refer to php5 not php4 |