/[smeserver]/rpms/php/sme8/php.spec
ViewVC logotype

Contents of /rpms/php/sme8/php.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.14 - (show annotations) (download)
Mon Dec 16 11:15:42 2013 UTC (10 years, 10 months ago) by vip-ire
Branch: MAIN
Changes since 1.13: +1 -1 lines
Add bug reference in the changelog

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed