/[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.11 - (show annotations) (download)
Mon Jul 15 13:51:22 2013 UTC (10 years, 10 months ago) by slords
Branch: MAIN
CVS Tags: php-5_3_3-13_el5_sme_2
Changes since 1.10: +7 -4 lines
* Mon Jul 15 2013 Shad L. Lords <slords@mail.com> - 5.3.3-13.sme.2
- Add php53-* provides to provide compatibility
- Obsolete php-domxml and php-dom [SME: 6733]
- Update Obsoletes and Conflicts [SME: 6436]

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

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