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

Diff of /rpms/php/sme8/php.spec

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

Revision 1.2 by slords, Thu Mar 4 16:31:07 2010 UTC Revision 1.10 by slords, Thu Aug 23 02:39:15 2012 UTC
# Line 1  Line 1 
1  # $Id$  %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 contentdir /var/www  Summary: PHP scripting language for creating dynamic web sites
 %define apiver 20041225  
 %define zendver 20060613  
 %define pdover 20060511  
   
 Summary: The PHP HTML-embedded scripting language  
19  Name: php  Name: php
20  Version: 5.2.10  Version: 5.3.3
21  Release: 1%{?dist}  Release: 13%{?dist}.1
22  License: PHP  License: PHP and LGPLv2 and LGPLv2+
23  Group: Development/Languages  Group: Development/Languages
24  URL: http://www.php.net/  URL: http://www.php.net/
25    
# Line 18  Source1: php.conf Line 28  Source1: php.conf
28  Source2: php.ini  Source2: php.ini
29  Source3: macros.php  Source3: macros.php
30    
31  Patch1: php-5.2.4-gnusrc.patch  # Build fixes
32  Patch2: php-4.3.3-install.patch  Patch1: php-5.3.3-gnusrc.patch
33    Patch2: php-5.3.0-install.patch
34  Patch3: php-5.2.4-norpath.patch  Patch3: php-5.2.4-norpath.patch
35  Patch5: php-5.0.2-phpize64.patch  Patch4: php-5.3.0-phpize64.patch
36  Patch8: php-5.2.0-includedir.patch  Patch5: php-5.2.0-includedir.patch
37  Patch9: php-5.2.4-embed.patch  Patch8: php-5.3.3-aconf26x.patch
38    
39  # Fixes for extension modules  # Fixes for extensions
40  Patch21: php-5.2.4-odbc.patch  Patch20: php-4.3.11-shutdown.patch
 Patch22: php-4.3.11-shutdown.patch  
 Patch24: php-5.2.3-macropen.patch  
41    
42  # Functional changes  # Functional changes
43  Patch30: php-5.0.4-dlopen.patch  Patch40: php-5.0.4-dlopen.patch
44  Patch31: php-5.2.4-easter.patch  Patch41: php-5.3.0-easter.patch
45  Patch32: php-5.2.5-systzdata.patch  Patch42: php-5.3.1-systzdata-v7.patch
46    
47  # Fixes for tests  # Fixes for tests
48  Patch51: php-5.0.4-tests-wddx.patch  Patch61: php-5.0.4-tests-wddx.patch
49    Patch62: php-5.3.2-testfail.patch
50    
51    # Bug fixes
52    Patch100: php-5.3.2-r305570.patch
53    Patch101: php-5.3.3-r305043.patch
54    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    
84  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
85    
86  BuildRequires: bzip2-devel, curl-devel >= 7.9, db4-devel, expat-devel  BuildRequires: bzip2-devel, curl-devel >= 7.9, db4-devel, gmp-devel
87  BuildRequires: gmp-devel, aspell-devel >= 0.50.0  BuildRequires: httpd-devel >= 2.0.46-1, pam-devel
88  BuildRequires: httpd-devel >= 2.0.46-1, libjpeg-devel, libpng-devel, pam-devel  BuildRequires: libstdc++-devel, openssl-devel, sqlite-devel
89  BuildRequires: libstdc++-devel, openssl-devel, sqlite-devel >= 3.0.0  BuildRequires: zlib-devel, pcre-devel >= 6.6, smtpdaemon
 BuildRequires: zlib-devel, pcre-devel >= 6.6, smtpdaemon, readline-devel  
90  BuildRequires: bzip2, perl, libtool >= 1.4.3, gcc-c++  BuildRequires: bzip2, perl, libtool >= 1.4.3, gcc-c++
91  Obsoletes: php-dbg, php3, phpfi, stronghold-php  Requires: httpd-mmn = %{httpd_mmn}
 # Enforce Apache module ABI compatibility  
 Requires: httpd-mmn = %(cat %{_includedir}/httpd/.mmn || echo missing-httpd-devel)  
92  Provides: mod_php = %{version}-%{release}  Provides: mod_php = %{version}-%{release}
93  Requires: php-common = %{version}-%{release}  Provides: php53 = %{version}-%{release}, config(php53) = %{version}-%{release}
94    Requires: %{name}-common = %{version}-%{release}
95  # For backwards-compatibility, require php-cli for the time being:  # For backwards-compatibility, require php-cli for the time being:
96  Requires: php-cli = %{version}-%{release}  Requires: %{name}-cli = %{version}-%{release}
97  # To ensure correct /var/lib/php/session ownership:  # To ensure correct /var/lib/php/session ownership:
98  Requires(pre): httpd  Requires(pre): httpd
99    
# Line 70  language to Apache HTTP Server. Line 111  language to Apache HTTP Server.
111  %package cli  %package cli
112  Group: Development/Languages  Group: Development/Languages
113  Summary: Command-line interface for PHP  Summary: Command-line interface for PHP
114  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
115  Provides: php-cgi = %{version}-%{release}  Provides: php-cgi = %{version}-%{release}, php53-cli = %{version}-%{release}
116  Provides: php-pcntl, php-readline  Provides: php-pcntl
117    
118  %description cli  %description cli
119  The php-cli package contains the command-line interface  The php-cli package contains the command-line interface
# Line 86  Provides: php(api) = %{apiver}, php(zend Line 127  Provides: php(api) = %{apiver}, php(zend
127  # Provides for all builtin modules:  # Provides for all builtin modules:
128  Provides: php-bz2, php-calendar, php-ctype, php-curl, php-date, php-exif  Provides: php-bz2, php-calendar, php-ctype, php-curl, php-date, php-exif
129  Provides: php-ftp, php-gettext, php-gmp, php-hash, php-iconv, php-libxml  Provides: php-ftp, php-gettext, php-gmp, php-hash, php-iconv, php-libxml
 Provides: php-openssl, php-pcre, php-posix, php-pspell  
130  Provides: php-reflection, php-session, php-shmop, php-simplexml, php-sockets  Provides: php-reflection, php-session, php-shmop, php-simplexml, php-sockets
131  Provides: php-spl, php-sysvsem, php-sysvshm, php-sysvmsg, php-tokenizer  Provides: php-spl, php-tokenizer, php-openssl, php-pcre
132  Provides: php-wddx, php-zlib, php-json, php-zip, php-dbase  Provides: php-zlib, php-json, php-zip, php-fileinfo
133  Obsoletes: php-openssl, php-pecl-zip, php-json, php-dbase  Provides: php53-common = %{version}-%{release}, config(php53-common) = %{version}-%{release}
134    Obsoletes: php-openssl, php-json
135    # For obsoleted pecl extension
136    Provides: php-pecl-json = %{jsonver}, php-pecl(json) = %{jsonver}
137    Provides: php-pecl-zip = %{zipver}, php-pecl(zip) = %{zipver}
138    Provides: php-pecl-phar = %{pharver}, php-pecl(phar) = %{pharver}
139    Provides: php-pecl-Fileinfo = %{fileinfover}, php-pecl(Fileinfo) = %{fileinfover}
140    Obsoletes: php-pecl-json, php-pecl-zip, php-pecl-phar, php-pecl-Fileinfo
141    
142  %description common  %description common
143  The php-common package contains files used by both the php  The %{name}-common package contains files used by both the php
144  package and the php-cli package.  package and the php-cli package.
145    
146  %package devel  %package devel
147  Group: Development/Libraries  Group: Development/Libraries
148  Summary: Files needed for building PHP extensions  Summary: Files needed for building PHP extensions
149  Requires: php = %{version}-%{release}, autoconf, automake  Requires: %{name} = %{version}-%{release}, autoconf, automake
150  Obsoletes: php-pecl-pdo-devel  Provides: php53-devel = %{version}-%{release}, config(php53-devel) = %{version}-%{release}
151    
152  %description devel  %description devel
153  The php-devel package contains the files needed for building PHP  The php-devel package contains the files needed for building PHP
# Line 110  need to install this package. Line 157  need to install this package.
157  %package imap  %package imap
158  Summary: A module for PHP applications that use IMAP  Summary: A module for PHP applications that use IMAP
159  Group: Development/Languages  Group: Development/Languages
160  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
 Obsoletes: mod_php3-imap, stronghold-php-imap  
161  BuildRequires: krb5-devel, openssl-devel, libc-client-devel  BuildRequires: krb5-devel, openssl-devel, libc-client-devel
162    Provides: php53-imap = %{version}-%{release}, config(php53-imap) = %{version}-%{release}
163    
164  %description imap  %description imap
165  The php-imap package contains a dynamic shared object (DSO) for the  The php-imap package contains a dynamic shared object that will
166  Apache Web server. When compiled into Apache, the php-imap module will  add support for the IMAP protocol to PHP.
 add IMAP (Internet Message Access Protocol) support to PHP. IMAP is a  
 protocol for retrieving and uploading e-mail messages on mail  
 servers. PHP is an HTML-embedded scripting language. If you need IMAP  
 support for PHP applications, you will need to install this package  
 and the php package.  
167    
168  %package ldap  %package ldap
169  Summary: A module for PHP applications that use LDAP  Summary: A module for PHP applications that use LDAP
170  Group: Development/Languages  Group: Development/Languages
171  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
 Obsoletes: mod_php3-ldap, stronghold-php-ldap  
172  BuildRequires: cyrus-sasl-devel, openldap-devel, openssl-devel  BuildRequires: cyrus-sasl-devel, openldap-devel, openssl-devel
173    Provides: php53-ldap = %{version}-%{release}, config(php53-ldap) = %{version}-%{release}
174    
175  %description ldap  %description ldap
176  The php-ldap package is a dynamic shared object (DSO) for the Apache  The php-ldap package is a dynamic shared object (DSO) for the Apache
# Line 141  need to install this package in addition Line 183  need to install this package in addition
183  %package pdo  %package pdo
184  Summary: A database access abstraction module for PHP applications  Summary: A database access abstraction module for PHP applications
185  Group: Development/Languages  Group: Development/Languages
186  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
 Obsoletes: php-pecl-pdo-sqlite, php-pecl-pdo  
187  Provides: php-pdo-abi = %{pdover}  Provides: php-pdo-abi = %{pdover}
188    Provides: php-pdo_sqlite
189    Provides: php53-pdo = %{version}-%{release}, config(php53-pdo) = %{version}-%{release}
190    
191  %description pdo  %description pdo
192  The php-pdo package contains a dynamic shared object that will add  The %{name}-pdo package contains a dynamic shared object that will add
193  a database access abstraction layer to PHP.  This module provides  a database access abstraction layer to PHP.  This module provides
194  a common interface for accessing MySQL, PostgreSQL or other  a common interface for accessing MySQL, PostgreSQL or other
195  databases.  databases.
# Line 154  databases. Line 197  databases.
197  %package mysql  %package mysql
198  Summary: A module for PHP applications that use MySQL databases  Summary: A module for PHP applications that use MySQL databases
199  Group: Development/Languages  Group: Development/Languages
200  Requires: php-common = %{version}-%{release}, php-pdo  Requires: %{name}-common = %{version}-%{release}, %{name}-pdo
201  Provides: php_database, php-mysqli  Provides: php_database, php-mysqli, php-pdo_mysql
 Obsoletes: mod_php3-mysql, stronghold-php-mysql  
202  BuildRequires: mysql-devel >= 4.1.0  BuildRequires: mysql-devel >= 4.1.0
203    Provides: php53-mysql = %{version}-%{release}, config(php53-mysql) = %{version}-%{release}
204    
205  %description mysql  %description mysql
206  The php-mysql package contains a dynamic shared object that will add  The php-mysql package contains a dynamic shared object that will add
# Line 169  this package and the php package. Line 212  this package and the php package.
212  %package pgsql  %package pgsql
213  Summary: A PostgreSQL database module for PHP  Summary: A PostgreSQL database module for PHP
214  Group: Development/Languages  Group: Development/Languages
215  Requires: php-common = %{version}-%{release}, php-pdo  Requires: %{name}-common = %{version}-%{release}, %{name}-pdo
216  Provides: php_database  Provides: php_database, php-pdo_pgsql
 Obsoletes: mod_php3-pgsql, stronghold-php-pgsql  
217  BuildRequires: krb5-devel, openssl-devel, postgresql-devel  BuildRequires: krb5-devel, openssl-devel, postgresql-devel
218    Provides: php53-pgsql = %{version}-%{release}, config(php53-pgsql) = %{version}-%{release}
219    
220  %description pgsql  %description pgsql
221  The php-pgsql package includes a dynamic shared object (DSO) that can  The php-pgsql package includes a dynamic shared object (DSO) that can
# Line 183  HTML-embedded scripting language. If you Line 226  HTML-embedded scripting language. If you
226  PostgreSQL, you should install this package in addition to the main  PostgreSQL, you should install this package in addition to the main
227  php package.  php package.
228    
229    %package process
230    Summary: Modules for PHP script using system process interfaces
231    Group: Development/Languages
232    Requires: %{name}-common = %{version}-%{release}
233    Provides: php-posix, php-sysvsem, php-sysvshm, php-sysvmsg
234    Provides: php53-process = %{version}-%{release}, config(php53-process) = %{version}-%{release}
235    
236    %description process
237    The php-process package contains dynamic shared objects which add
238    support to PHP using system interfaces for inter-process
239    communication.
240    
241  %package odbc  %package odbc
242  Group: Development/Languages  Group: Development/Languages
243  Requires: php-common = %{version}-%{release}, php-pdo  Requires: %{name}-common = %{version}-%{release}, %{name}-pdo
244  Summary: A module for PHP applications that use ODBC databases  Summary: A module for PHP applications that use ODBC databases
245  Provides: php_database  Provides: php_database, php-pdo_odbc
 Obsoletes: stronghold-php-odbc  
246  BuildRequires: unixODBC-devel  BuildRequires: unixODBC-devel
247    Provides: php53-odbc = %{version}-%{release}, config(php53-odbc) = %{version}-%{release}
248    
249  %description odbc  %description odbc
250  The php-odbc package contains a dynamic shared object that will add  The php-odbc package contains a dynamic shared object that will add
# Line 202  package. Line 257  package.
257    
258  %package soap  %package soap
259  Group: Development/Languages  Group: Development/Languages
260  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
261  Summary: A module for PHP applications that use the SOAP protocol  Summary: A module for PHP applications that use the SOAP protocol
262  BuildRequires: libxml2-devel  BuildRequires: libxml2-devel
263    Provides: php53-soap = %{version}-%{release}, config(php53-soap) = %{version}-%{release}
264    
265  %description soap  %description soap
266  The php-soap package contains a dynamic shared object that will add  The php-soap package contains a dynamic shared object that will add
# Line 213  support to PHP for using the SOAP web se Line 269  support to PHP for using the SOAP web se
269  %package snmp  %package snmp
270  Summary: A module for PHP applications that query SNMP-managed devices  Summary: A module for PHP applications that query SNMP-managed devices
271  Group: Development/Languages  Group: Development/Languages
272  Requires: php-common = %{version}-%{release}, net-snmp  Requires: %{name}-common = %{version}-%{release}, net-snmp
273  BuildRequires: net-snmp-devel  BuildRequires: net-snmp-devel
274    Provides: php53-snmp = %{version}-%{release}, config(php53-snmp) = %{version}-%{release}
275    
276  %description snmp  %description snmp
277  The php-snmp package contains a dynamic shared object that will add  The php-snmp package contains a dynamic shared object that will add
# Line 225  will need to install this package and th Line 282  will need to install this package and th
282  %package xml  %package xml
283  Summary: A module for PHP applications which use XML  Summary: A module for PHP applications which use XML
284  Group: Development/Languages  Group: Development/Languages
285  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
286  Obsoletes: php-domxml, php-dom  Provides: php-dom, php-xsl, php-domxml, php-wddx
 Provides: php-dom, php-xsl, php-domxml  
287  BuildRequires: libxslt-devel >= 1.0.18-1, libxml2-devel >= 2.4.14-1  BuildRequires: libxslt-devel >= 1.0.18-1, libxml2-devel >= 2.4.14-1
288    Obsoletes: php-domxml, php-dom
289    Provides: php53-xml = %{version}-%{release}, config(php53-xml) = %{version}-%{release}
290    
291  %description xml  %description xml
292  The php-xml package contains dynamic shared objects which add support  The php-xml package contains dynamic shared objects which add support
# Line 238  and performing XSL transformations on XM Line 296  and performing XSL transformations on XM
296  %package xmlrpc  %package xmlrpc
297  Summary: A module for PHP applications which use the XML-RPC protocol  Summary: A module for PHP applications which use the XML-RPC protocol
298  Group: Development/Languages  Group: Development/Languages
299  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
300  BuildRequires: expat-devel  Provides: php53-xmlrpc = %{version}-%{release}, config(php53-xmlrpc) = %{version}-%{release}
301    
302  %description xmlrpc  %description xmlrpc
303  The php-xmlrpc package contains a dynamic shared object that will add  The php-xmlrpc package contains a dynamic shared object that will add
# Line 248  support for the XML-RPC protocol to PHP. Line 306  support for the XML-RPC protocol to PHP.
306  %package mbstring  %package mbstring
307  Summary: A module for PHP applications which need multi-byte string handling  Summary: A module for PHP applications which need multi-byte string handling
308  Group: Development/Languages  Group: Development/Languages
309  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
310    Provides: php53-mbstring = %{version}-%{release}, config(php53-mbstring) = %{version}-%{release}
311    
312  %description mbstring  %description mbstring
313  The php-mbstring package contains a dynamic shared object that will add  The php-mbstring package contains a dynamic shared object that will add
314  support for multi-byte string handling to PHP.  support for multi-byte string handling to PHP.
315    
 %package ncurses  
 Summary: A module for PHP applications for using ncurses interfaces  
 Group: Development/Languages  
 Requires: php-common = %{version}-%{release}  
 BuildRequires: ncurses-devel  
   
 %description ncurses  
 The php-ncurses package contains a dynamic shared object that will add  
 support for using the ncurses terminal output interfaces.  
   
316  %package gd  %package gd
317  Summary: A module for PHP applications for using the gd graphics library  Summary: A module for PHP applications for using the gd graphics library
318  Group: Development/Languages  Group: Development/Languages
319  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
320  BuildRequires: gd-devel, freetype-devel  # Required to build the bundled GD library
321    BuildRequires: libXpm-devel, libjpeg-devel, libpng-devel, freetype-devel
322    Provides: php53-gd = %{version}-%{release}, config(php53-gd) = %{version}-%{release}
323    
324  %description gd  %description gd
325  The php-gd package contains a dynamic shared object that will add  The php-gd package contains a dynamic shared object that will add
# Line 277  support for using the gd graphics librar Line 328  support for using the gd graphics librar
328  %package bcmath  %package bcmath
329  Summary: A module for PHP applications for using the bcmath library  Summary: A module for PHP applications for using the bcmath library
330  Group: Development/Languages  Group: Development/Languages
331  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
332    Provides: php53-bcmath = %{version}-%{release}, config(php53-bcmath) = %{version}-%{release}
333    
334  %description bcmath  %description bcmath
335  The php-bcmath package contains a dynamic shared object that will add  The php-bcmath package contains a dynamic shared object that will add
# Line 286  support for using the bcmath library to Line 338  support for using the bcmath library to
338  %package dba  %package dba
339  Summary: A database abstraction layer module for PHP applications  Summary: A database abstraction layer module for PHP applications
340  Group: Development/Languages  Group: Development/Languages
341  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
342    Provides: php53-dba = %{version}-%{release}, config(php53-dba) = %{version}-%{release}
343    
344  %description dba  %description dba
345  The php-dba package contains a dynamic shared object that will add  The php-dba package contains a dynamic shared object that will add
346  support for using the DBA database abstraction layer to PHP.  support for using the DBA database abstraction layer to PHP.
347    
348    %package pspell
349    Summary: A module for PHP applications for using pspell interfaces
350    Group: System Environment/Libraries
351    Requires: %{name}-common = %{version}-%{release}
352    BuildRequires: aspell-devel >= 0.50.0
353    Provides: php53-pspell = %{version}-%{release}, config(php53-pspell) = %{version}-%{release}
354    
355    %description pspell
356    The php-pspell package contains a dynamic shared object that will add
357    support for using the pspell library to PHP.
358    
359    %package intl
360    Summary: Internationalization extension for PHP applications
361    Group: System Environment/Libraries
362    Requires: %{name}-common = %{version}-%{release}
363    BuildRequires: libicu-devel >= 3.6
364    Provides: php53-intl = %{version}-%{release}, config(php53-intl) = %{version}-%{release}
365    
366    %description intl
367    The php-intl package contains a dynamic shared object that will add
368    support for using the ICU library to PHP.
369    
370  %prep  %prep
371  %setup -q  %setup -q -n php-%{version}
372  %patch1 -p1 -b .gnusrc  %patch1 -p1 -b .gnusrc
373  %patch2 -p1 -b .install  %patch2 -p1 -b .install
374  %patch3 -p1 -b .norpath  %patch3 -p1 -b .norpath
375  %patch5 -p1 -b .phpize64  %patch4 -p1 -b .phpize64
376  %patch8 -p1 -b .includedir  %patch5 -p1 -b .includedir
377  %patch9 -p1 -b .embed  %patch8 -p1 -b .aconf26x
378    
379  %patch21 -p1 -b .odbc  %patch20 -p1 -b .shutdown
380  %patch22 -p1 -b .shutdown  
381  %patch24 -p1 -b .macropen  %patch40 -p1 -b .dlopen
382    %patch41 -p1 -b .easter
383  %patch30 -p1 -b .dlopen  %patch42 -p1 -b .systzdata
384  %patch31 -p1 -b .easter  
385  %patch32 -p1 -b .systzdata  %patch61 -p1 -b .tests-wddx
386    %patch62 -p1 -b .testfail
387  %patch51 -p1 -b .tests-wddx  
388    %patch100 -p1 -b .r305570
389    %patch101 -p1 -b .r305043
390    %patch102 -p1 -b .varnegidx
391    
392    %patch207 -p1 -b .cve3709
393    %patch208 -p1 -b .cve3870
394    %patch209 -p1 -b .cve4645
395    %patch210 -p1 -b .cve3710
396    %patch211 -p1 -b .cve4156
397    %patch212 -p1 -b .cve0708
398    %patch213 -p1 -b .cve1148
399    %patch214 -p1 -b .cve1466
400    %patch215 -p1 -b .cve1468
401    %patch216 -p1 -b .cve1469
402    %patch218 -p1 -b .cve1471
403    %patch219 -p1 -b .cve1938
404    %patch220 -p1 -b .cve2202
405    %patch221 -p1 -b .cve2483
406    %patch222 -p1 -b .cve4885
407    %patch223 -p1 -b .cve4566
408    %patch224 -p1 -b .cve0830
409    %patch225 -p1 -b .cve1823
410    %patch226 -p1 -b .cve2336
411    
412    %patch230 -p1 -b .cve4153
413    %patch232 -p1 -b .cve1172
414    %patch233 -p1 -b .cve2143
415    %patch234 -p1 -b .cve2386
416    %patch235 -p1 -b .cve0057
417    %patch236 -p1 -b .cve0789
418    %patch237 -p1 -b .cve2950
419    
420  # Prevent %%doc confusion over LICENSE files  # Prevent %%doc confusion over LICENSE files
421  cp Zend/LICENSE Zend/ZEND_LICENSE  cp -p Zend/LICENSE Zend/ZEND_LICENSE
422  cp TSRM/LICENSE TSRM_LICENSE  cp -p TSRM/LICENSE TSRM_LICENSE
423  cp regex/COPYRIGHT regex_COPYRIGHT  cp -p ext/ereg/regex/COPYRIGHT regex_COPYRIGHT
424  cp ext/gd/libgd/README gd_README  cp -p ext/gd/libgd/README gd_README
425    
426  # Source is built twice: once for /usr/bin/php, once for the Apache DSO.  # Multiple builds for multiple SAPIs
427  mkdir build-cgi build-apache  mkdir build-cgi build-apache
428    
429  # Remove bogus test; position of read position after fopen(, "a+")  # Remove bogus test; position of read position after fopen(, "a+")
# Line 328  rm -f ext/standard/tests/file/bug21131.p Line 434  rm -f ext/standard/tests/file/bug21131.p
434  rm -f ext/standard/tests/file/bug22414.phpt \  rm -f ext/standard/tests/file/bug22414.phpt \
435        ext/iconv/tests/bug16069.phpt        ext/iconv/tests/bug16069.phpt
436    
437    # Remove tests which require external network access
438    rm -f ext/sockets/tests/socket_bind.diff
439    
440    # Easter eggs no not shipped
441    rm -f tests/basic/php_egg_logo_guid.diff
442    
443  # Safety check for API version change.  # Safety check for API version change.
444  vapi=`sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h`  vapi=`sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h`
445  if test "x${vapi}" != "x%{apiver}"; then  if test "x${vapi}" != "x%{apiver}"; then
# Line 351  if test "x${vpdo}" != "x%{pdover}"; then Line 463  if test "x${vpdo}" != "x%{pdover}"; then
463     exit 1     exit 1
464  fi  fi
465    
466    # Check for some extension version
467    ver=$(sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h)
468    if test "$ver" != "%{fileinfover}"; then
469       : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
470       : Update the fileinfover macro and rebuild.
471       exit 1
472    fi
473    ver=$(sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h)
474    if test "$ver" != "%{pharver}"; then
475       : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
476       : Update the pharver macro and rebuild.
477       exit 1
478    fi
479    ver=$(sed -n '/#define PHP_ZIP_VERSION_STRING /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
480    if test "$ver" != "%{zipver}"; then
481       : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
482       : Update the zipver macro and rebuild.
483       exit 1
484    fi
485    ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h)
486    if test "$ver" != "%{jsonver}"; then
487       : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
488       : Update the jsonver macro and rebuild.
489       exit 1
490    fi
491    
492    # Fix some bogus permissions
493    find . -name \*.[ch] -exec chmod 644 {} \;
494    chmod 644 README.*
495    
496  %build  %build
497    # aclocal workaround - to be improved
498    cat `aclocal --print-ac-dir`/libtool.m4 >>aclocal.m4
499    
500  # Force use of system libtool:  # Force use of system libtool:
501  libtoolize --force --copy  libtoolize --force --copy
502  cat `aclocal --print-ac-dir`/libtool.m4 > build/libtool.m4  cat `aclocal --print-ac-dir`/libtool.m4 >build/libtool.m4
503    
504  # Regenerate configure scripts (patches change config.m4's)  # Regenerate configure scripts (patches change config.m4's)
505    touch configure.in
506  ./buildconf --force  ./buildconf --force
507    
508  CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign"  CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign"
# Line 385  ln -sf ../configure Line 531  ln -sf ../configure
531          --disable-rpath \          --disable-rpath \
532          --without-pear \          --without-pear \
533          --with-bz2 \          --with-bz2 \
         --with-curl \  
534          --with-exec-dir=%{_bindir} \          --with-exec-dir=%{_bindir} \
535          --with-freetype-dir=%{_prefix} \          --with-freetype-dir=%{_prefix} \
536          --with-png-dir=%{_prefix} \          --with-png-dir=%{_prefix} \
537            --with-xpm-dir=%{_prefix} \
538          --enable-gd-native-ttf \          --enable-gd-native-ttf \
539          --without-gdbm \          --without-gdbm \
540          --with-gettext \          --with-gettext \
# Line 396  ln -sf ../configure Line 542  ln -sf ../configure
542          --with-iconv \          --with-iconv \
543          --with-jpeg-dir=%{_prefix} \          --with-jpeg-dir=%{_prefix} \
544          --with-openssl \          --with-openssl \
         --with-png \  
         --with-pspell \  
         --with-expat-dir=%{_prefix} \  
545          --with-pcre-regex=%{_prefix} \          --with-pcre-regex=%{_prefix} \
546          --with-zlib \          --with-zlib \
547          --with-layout=GNU \          --with-layout=GNU \
# Line 407  ln -sf ../configure Line 550  ln -sf ../configure
550          --enable-magic-quotes \          --enable-magic-quotes \
551          --enable-sockets \          --enable-sockets \
552          --enable-sysvsem --enable-sysvshm --enable-sysvmsg \          --enable-sysvsem --enable-sysvshm --enable-sysvmsg \
         --enable-track-vars \  
         --enable-trans-sid \  
         --enable-yp \  
         --enable-wddx \  
553          --with-kerberos \          --with-kerberos \
554          --enable-ucd-snmp-hack \          --enable-ucd-snmp-hack \
         --with-unixODBC=shared,%{_prefix} \  
         --enable-memory-limit \  
555          --enable-shmop \          --enable-shmop \
556          --enable-calendar \          --enable-calendar \
         --enable-dbx \  
         --enable-dio \  
         --without-mime-magic \  
557          --without-sqlite \          --without-sqlite \
558            --without-sqlite3 \
559          --with-libxml-dir=%{_prefix} \          --with-libxml-dir=%{_prefix} \
560          --with-xml \          --enable-xml \
561          --with-system-tzdata \          --with-system-tzdata \
562          $*          $*
563  if test $? != 0; then  if test $? != 0; then
# Line 439  pushd build-cgi Line 574  pushd build-cgi
574  build --enable-force-cgi-redirect \  build --enable-force-cgi-redirect \
575        --enable-pcntl \        --enable-pcntl \
576        --with-imap=shared --with-imap-ssl \        --with-imap=shared --with-imap-ssl \
577        --enable-mbstring=shared --enable-mbstr-enc-trans \        --enable-mbstring=shared \
578        --enable-mbregex \        --enable-mbregex \
       --with-ncurses=shared \  
579        --with-gd=shared \        --with-gd=shared \
580        --enable-bcmath=shared \        --enable-bcmath=shared \
581        --enable-dba=shared --with-db4=%{_prefix} \        --enable-dba=shared --with-db4=%{_prefix} \
582        --with-xmlrpc=shared \        --with-xmlrpc=shared \
583        --with-ldap=shared --with-ldap-sasl \        --with-ldap=shared --with-ldap-sasl \
584        --with-mysql=shared,%{_prefix} \        --with-mysql=shared,%{_prefix} \
585        --with-mysqli=shared,%{_bindir}/mysql_config \        --with-mysqli=shared,%{mysql_config} \
586        --enable-dom=shared \        --enable-dom=shared \
       --with-dom-xslt=%{_prefix} --with-dom-exslt=%{_prefix} \  
587        --with-pgsql=shared \        --with-pgsql=shared \
588          --enable-wddx=shared \
589        --with-snmp=shared,%{_prefix} \        --with-snmp=shared,%{_prefix} \
590        --enable-soap=shared \        --enable-soap=shared \
591        --with-xsl=shared,%{_prefix} \        --with-xsl=shared,%{_prefix} \
592        --enable-xmlreader=shared --enable-xmlwriter=shared \        --enable-xmlreader=shared --enable-xmlwriter=shared \
593          --with-curl=shared,%{_prefix} \
594        --enable-fastcgi \        --enable-fastcgi \
595        --enable-pdo=shared \        --enable-pdo=shared \
596        --with-pdo-odbc=shared,unixODBC,%{_prefix} \        --with-pdo-odbc=shared,unixODBC,%{_prefix} \
597        --with-pdo-mysql=shared,%{_prefix} \        --with-pdo-mysql=shared,%{mysql_config} \
598        --with-pdo-pgsql=shared,%{_prefix} \        --with-pdo-pgsql=shared,%{_prefix} \
599        --with-pdo-sqlite=shared,%{_prefix} \        --with-pdo-sqlite=shared,%{_prefix} \
600        --enable-json=shared \        --enable-json=shared \
601        --enable-zip=shared \        --enable-zip=shared \
602        --with-readline \        --without-readline \
603        --enable-dbase=shared        --with-pspell=shared \
604          --enable-phar=shared \
605          --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \
606          --enable-posix=shared \
607          --with-unixODBC=shared,%{_prefix} \
608          --enable-fileinfo=shared \
609          --enable-intl=shared \
610          --with-icu-dir=%{_prefix}
611  popd  popd
612    
613    without_shared="--without-mysql --without-gd \
614          --disable-dom --disable-dba --without-unixODBC \
615          --disable-pdo --disable-xmlreader --disable-xmlwriter \
616          --without-sqlite3 --disable-phar --disable-fileinfo \
617          --disable-json --without-pspell --disable-wddx \
618          --without-curl --disable-posix \
619          --disable-sysvmsg --disable-sysvshm --disable-sysvsem"
620    
621  # Build Apache module, and the CLI SAPI, /usr/bin/php  # Build Apache module, and the CLI SAPI, /usr/bin/php
622  pushd build-apache  pushd build-apache
623  build --with-apxs2=%{_sbindir}/apxs \  build --with-apxs2=%{_sbindir}/apxs ${without_shared}
       --without-mysql --without-gd \  
       --without-odbc --disable-dom \  
       --disable-dba --without-unixODBC \  
       --disable-pdo --disable-xmlreader --disable-xmlwriter \  
       --disable-json  
624  popd  popd
625    
626  %check  %check
# Line 488  if ! make test; then Line 633  if ! make test; then
633    for f in `find .. -name \*.diff -type f -print`; do    for f in `find .. -name \*.diff -type f -print`; do
634      echo "TEST FAILURE: $f --"      echo "TEST FAILURE: $f --"
635      cat "$f"      cat "$f"
636      echo "-- $f result ends."      echo -e "\n-- $f result ends.\n"
637    done    done
638    set -x    set -x
639    #exit 1    #exit 1
# Line 501  unset NO_INTERACTION REPORT_EXIT_STATUS Line 646  unset NO_INTERACTION REPORT_EXIT_STATUS
646  # Install everything from the CGI SAPI build  # Install everything from the CGI SAPI build
647  make -C build-cgi install INSTALL_ROOT=$RPM_BUILD_ROOT  make -C build-cgi install INSTALL_ROOT=$RPM_BUILD_ROOT
648    
 # Install the Apache module  
 make -C build-apache install-sapi INSTALL_ROOT=$RPM_BUILD_ROOT  
   
649  # Install the default configuration file and icons  # Install the default configuration file and icons
650  install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/  install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/
651  install -m 644 $RPM_SOURCE_DIR/php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini  install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
652  install -m 755 -d $RPM_BUILD_ROOT%{contentdir}/icons  install -m 755 -d $RPM_BUILD_ROOT%{contentdir}/icons
653  install -m 644    *.gif $RPM_BUILD_ROOT%{contentdir}/icons/  install -m 644    *.gif $RPM_BUILD_ROOT%{contentdir}/icons/
654    
# Line 514  install -m 644    *.gif $RPM_BUILD_ROOT% Line 656  install -m 644    *.gif $RPM_BUILD_ROOT%
656  install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/php/pear \  install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/php/pear \
657                    $RPM_BUILD_ROOT%{_datadir}/php                    $RPM_BUILD_ROOT%{_datadir}/php
658    
 # Use correct libdir  
 sed -i -e 's|%{_prefix}/lib|%{_libdir}|' $RPM_BUILD_ROOT%{_sysconfdir}/php.ini  
   
659  # install the DSO  # install the DSO
660  install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/httpd/modules  install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/httpd/modules
661  install -m 755 build-apache/libs/libphp5.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules  install -m 755 build-apache/libs/libphp5.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules
662    
663  # Apache config fragment  # Apache config fragment
664  install -m 755 -d $RPM_BUILD_ROOT/etc/httpd/conf.d  install -m 755 -d $RPM_BUILD_ROOT/etc/httpd/conf.d
665    # %{SOURCE1} used here ->
666  install -m 644 $RPM_SOURCE_DIR/php.conf $RPM_BUILD_ROOT/etc/httpd/conf.d  install -m 644 $RPM_SOURCE_DIR/php.conf $RPM_BUILD_ROOT/etc/httpd/conf.d
667    
668  install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php.d  install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php.d
669  install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php  install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php
670  install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/session  install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/session
671    
672    # Fix the link
673    (cd $RPM_BUILD_ROOT%{_bindir}; ln -sfn phar.phar phar)
674    
675  # Generate files lists and stub .ini files for each subpackage  # Generate files lists and stub .ini files for each subpackage
676  for mod in pgsql mysql mysqli odbc ldap snmp xmlrpc imap \  for mod in pgsql mysql mysqli odbc ldap snmp xmlrpc imap \
677      mbstring ncurses gd dom xsl soap bcmath dba xmlreader xmlwriter \      mbstring gd dom xsl soap bcmath dba xmlreader xmlwriter \
678      pdo pdo_mysql pdo_pgsql pdo_odbc pdo_sqlite json zip \      pdo pdo_mysql pdo_pgsql pdo_odbc pdo_sqlite json zip \
679      dbase; do      phar fileinfo intl pspell curl wddx \
680        posix sysvshm sysvsem sysvmsg; do
681      cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${mod}.ini <<EOF      cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${mod}.ini <<EOF
682  ; Enable ${mod} extension module  ; Enable ${mod} extension module
683  extension=${mod}.so  extension=${mod}.so
# Line 545  EOF Line 689  EOF
689  done  done
690    
691  # The dom, xsl and xml* modules are all packaged in php-xml  # The dom, xsl and xml* modules are all packaged in php-xml
692  cat files.dom files.xsl files.xml{reader,writer} > files.xml  cat files.dom files.xsl files.xml{reader,writer} files.wddx > files.xml
693    
694  # The mysql and mysqli modules are both packaged in php-mysql  # The mysql and mysqli modules are both packaged in php-mysql
695  cat files.mysqli >> files.mysql  cat files.mysqli >> files.mysql
# Line 555  cat files.pdo_mysql >> files.mysql Line 699  cat files.pdo_mysql >> files.mysql
699  cat files.pdo_pgsql >> files.pgsql  cat files.pdo_pgsql >> files.pgsql
700  cat files.pdo_odbc >> files.odbc  cat files.pdo_odbc >> files.odbc
701    
702  # Package pdo_sqlite with pdo; isolating the sqlite dependency  # sysv* and posix in packaged in php-process
703  # isn't useful at this time since rpm itself requires sqlite.  cat files.sysv* files.posix > files.process
704    
705    # Package pdo_sqlite with pdo.
706  cat files.pdo_sqlite >> files.pdo  cat files.pdo_sqlite >> files.pdo
707    
708  # Package json, dbase and zip in -common.  # Package json, zip, curl, phar and fileinfo in -common.
709  cat files.json files.dbase files.zip > files.common  cat files.json files.zip files.curl files.phar files.fileinfo > files.common
710    
711  # Install the macros file:  # Install the macros file:
712  install -d $RPM_BUILD_ROOT%{_sysconfdir}/rpm  install -d $RPM_BUILD_ROOT%{_sysconfdir}/rpm
713    # %{SOURCE3} used here ->
714  sed -e "s/@PHP_APIVER@/%{apiver}/;s/@PHP_ZENDVER@/%{zendver}/;s/@PHP_PDOVER@/%{pdover}/" \  sed -e "s/@PHP_APIVER@/%{apiver}/;s/@PHP_ZENDVER@/%{zendver}/;s/@PHP_PDOVER@/%{pdover}/" \
715      < $RPM_SOURCE_DIR/macros.php > macros.php      < $RPM_SOURCE_DIR/macros.php > macros.php
716  install -m 644 -c macros.php \  install -m 644 -c macros.php \
# Line 572  install -m 644 -c macros.php \ Line 719  install -m 644 -c macros.php \
719  # Remove unpackaged files  # Remove unpackaged files
720  rm -rf $RPM_BUILD_ROOT%{_libdir}/php/modules/*.a \  rm -rf $RPM_BUILD_ROOT%{_libdir}/php/modules/*.a \
721         $RPM_BUILD_ROOT%{_bindir}/{phptar} \         $RPM_BUILD_ROOT%{_bindir}/{phptar} \
722         $RPM_BUILD_ROOT%{_datadir}/pear         $RPM_BUILD_ROOT%{_datadir}/pear \
723           $RPM_BUILD_ROOT%{_libdir}/libphp5.la
724    
725  # Remove irrelevant docs  # Remove irrelevant docs
726  rm -f README.{Zeus,QNX,CVS-RULES}  rm -f README.{Zeus,QNX,CVS-RULES}
# Line 590  rm files.* macros.php Line 738  rm files.* macros.php
738    
739  %files common -f files.common  %files common -f files.common
740  %defattr(-,root,root)  %defattr(-,root,root)
741  %doc CODING_STANDARDS CREDITS EXTENSIONS INSTALL LICENSE NEWS README*  %doc CODING_STANDARDS CREDITS INSTALL LICENSE NEWS README*
742  %doc Zend/ZEND_* gd_README TSRM_LICENSE regex_COPYRIGHT  %doc Zend/ZEND_* TSRM_LICENSE regex_COPYRIGHT
743    %doc php.ini-production php.ini-development
744  %config(noreplace) %{_sysconfdir}/php.ini  %config(noreplace) %{_sysconfdir}/php.ini
745  %dir %{_sysconfdir}/php.d  %dir %{_sysconfdir}/php.d
746  %dir %{_libdir}/php  %dir %{_libdir}/php
# Line 604  rm files.* macros.php Line 753  rm files.* macros.php
753  %defattr(-,root,root)  %defattr(-,root,root)
754  %{_bindir}/php  %{_bindir}/php
755  %{_bindir}/php-cgi  %{_bindir}/php-cgi
756    %{_bindir}/phar.phar
757    %{_bindir}/phar
758  %{_mandir}/man1/php.1*  %{_mandir}/man1/php.1*
759  %doc sapi/cgi/README* sapi/cli/README  %doc sapi/cgi/README* sapi/cli/README
760    
# Line 626  rm files.* macros.php Line 777  rm files.* macros.php
777  %files xml -f files.xml  %files xml -f files.xml
778  %files xmlrpc -f files.xmlrpc  %files xmlrpc -f files.xmlrpc
779  %files mbstring -f files.mbstring  %files mbstring -f files.mbstring
780  %files ncurses -f files.ncurses  %defattr(-,root,root)
781    %doc ext/mbstring/libmbfl/DISCLAIMER ext/mbstring/libmbfl/LICENSE
782  %files gd -f files.gd  %files gd -f files.gd
783    %defattr(-,root,root)
784    %doc gd_README
785  %files soap -f files.soap  %files soap -f files.soap
786  %files bcmath -f files.bcmath  %files bcmath -f files.bcmath
787    %defattr(-,root,root)
788    %doc ext/bcmath/libbcmath/COPYING.LIB
789  %files dba -f files.dba  %files dba -f files.dba
790  %files pdo -f files.pdo  %files pdo -f files.pdo
791    %files pspell -f files.pspell
792    %files intl -f files.intl
793    %files process -f files.process
794    
795  %changelog  %changelog
796  * Mon Aug 10 2009 Joe Orton <jorton@redhat.com> 5.2.10-1.el5s2  * Wed Aug 22 2012 Shad L. Lords <slords@mail.com> - 5.3.3-13.sme.1
797  - update to 5.2.10  - Add php53-* provides to provide compatibility
798    
799  * Wed Apr 15 2009 Joe Orton <jorton@redhat.com> 5.2.9-2.el5s2  * Fri Jun 29 2012 Shad L. Lords <slords@mail.com> - 5.3.3-13.sme
800  - update to r3 of systzdata patch  - Obsolete php-domxml and php-dom [SME: 6733]
801    - Update Obsoletes and Conflicts [SME: 6436]
802    
803    * Mon Jun 25 2012 Joe Orton <jorton@redhat.com> - 5.3.3-13
804    - add security fix for CVE-2010-2950
805    
806    * Wed Jun 13 2012 Joe Orton <jorton@redhat.com> - 5.3.3-11
807    - fix tests for CVE-2012-2143, CVE-2012-0789
808    
809    * Tue Jun 12 2012 Joe Orton <jorton@redhat.com> - 5.3.3-10
810    - add security fix for CVE-2012-2336
811    
812    * Tue Jun 12 2012 Joe Orton <jorton@redhat.com> - 5.3.3-9
813    - add security fixes for CVE-2011-4153, CVE-2012-0057, CVE-2012-0789,
814      CVE-2012-1172, CVE-2012-2143, CVE-2012-2386
815    
816    * Thu May  3 2012 Joe Orton <jorton@redhat.com> - 5.3.3-7
817    - correct detection of = in CVE-2012-1823 fix (#818607)
818    
819    * Thu May  3 2012 Joe Orton <jorton@redhat.com> - 5.3.3-6
820    - add security fix for CVE-2012-1823 (#818607)
821    
822    * Thu Feb  2 2012 Joe Orton <jorton@redhat.com> - 5.3.3-5
823    - add security fix for CVE-2012-0830 (#786758)
824    
825    * Wed Jan 04 2012 Vojtech Vitek (V-Teq) <vvitek@redhat.com> - 5.3.3-4
826    - remove extra php.ini-prod/devel files caused by %%patch -b
827    
828    * Tue Jan 03 2012 Vojtech Vitek (V-Teq) <vvitek@redhat.com> - 5.3.3-3
829    - add security fixes for CVE-2011-4885, CVE-2011-4566 (#740734)
830    
831    * Fri Oct 28 2011 Joe Orton <jorton@redhat.com> - 5.3.3-2
832    - add php-$subpkg = V-R provides (#717158)
833    - add security fixes for CVE-2010-3710, CVE-2010-4156, CVE-2010-4645 (#670464)
834    - add security fixes for CVE-2011-2483, CVE-2011-0708, CVE-2011-1148,
835      CVE-2011-1466, CVE-2011-1468, CVE-2011-1469, CVE-2011-1471,
836      CVE-2011-1938, CVE-2011-2202 (#740734)
837    - fix negative keys with var_export (#700724)
838    
839  * Tue Apr 14 2009 Joe Orton <jorton@redhat.com> 5.2.9-1.el5s2  * Wed Dec  1 2010 Joe Orton <jorton@redhat.com> - 5.3.3-1
840    - update to 5.3.3 (#658315)
841    
842    * Mon Nov 22 2010 Joe Orton <jorton@redhat.com> - 5.3.2-7
843    - prevent extract() from clobering $GLOBALS (#655330)
844    
845    * Wed Nov 10 2010 Joe Orton <jorton@redhat.com> - 5.3.2-6
846    - add security fixes for CVE-2010-3870 CVE-2010-3709 (#650877)
847    - provide php-devel from -devel (#642701)
848    
849    * Mon Nov  1 2010 Joe Orton <jorton@redhat.com> - 5.3.2-5
850    - use correct mysql_config for pdo-mysql also (#642701)
851    
852    * Thu Sep 30 2010 Joe Orton <jorton@redhat.com> - 5.3.2-4
853    - use mysql_config from libdir
854    
855    * Tue Sep  7 2010 Joe Orton <jorton@redhat.com> - 5.3.2-3
856    - add defattr for -mbstring and -bcmath
857    
858    * Tue Sep  7 2010 Joe Orton <jorton@redhat.com> - 5.3.2-2
859    - add LGPLv2{,+} to License; ship text in -bcmath, -mbstring
860    - apply phar patch correctly
861    - fix permissions on sources, README.namespaces
862    - drop EXTENSIONS from %%doc
863    - fix Provides for php-cli
864    - drop inappropriate/obsolete Obsoletes
865    
866    * Thu Sep  2 2010 Joe Orton <jorton@redhat.com> - 5.3.2-1
867    - convert to php53
868    - remove subpackages: embeded, zts, tidy, recode, enchant
869    
870    * Tue Aug 17 2010 Joe Orton <jorton@redhat.com> - 5.3.2-6
871    - add security fixes for CVE-2010-1866, CVE-2010-2094, CVE-2010-1917,
872      CVE-2010-2531, MOPS-2010-060 (#624469)
873    
874    * Fri Aug 13 2010 Joe Orton <jorton@redhat.com> - 5.3.2-5
875    - add security fix for CVE-2010-0397 (#575712)
876    
877    * Thu Jun 24 2010 Joe Orton <jorton@redhat.com> - 5.3.2-4
878    - add security fix for CVE-2010-2225 (#605644)
879    
880    * Wed May  5 2010 Joe Orton <jorton@redhat.com> - 5.3.2-3
881    - restore -imap (#586050)
882    
883    * Fri Mar 26 2010 Joe Orton <jorton@redhat.com> - 5.3.2-2
884    - remove mcrypt support (#459804, #577257)
885    
886    * Wed Mar 24 2010 Joe Orton <jorton@redhat.com> - 5.3.2-1
887    - update to 5.3.2 (#575158, #575712)
888    
889    * Sat Mar 06 2010 Remi Collet <Fedora@famillecollet.com>
890    - PHP 5.3.2 Released!
891    - remove mime_magic option (now provided by fileinfo, by emu)
892    - add patch for http://bugs.php.net/50578
893    - remove patch for libedit (upstream)
894    
895    * Fri Jan 15 2010 Joe Orton <jorton@redhat.com> - 5.3.1-7
896    - add security fix for CVE-2009-4142 (#552268)
897    
898    * Fri Dec 18 2009 Joe Orton <jorton@redhat.com> - 5.3.1-6
899    - drop mssql, pdo_dblib
900    
901    * Fri Dec 11 2009 Joe Orton <jorton@redhat.com> - 5.3.1-5
902    - drop imap
903    
904    * Fri Dec 11 2009 Joe Orton <jorton@redhat.com> - 5.3.1-4
905    - drop t1lib, interbase/firebird support
906    
907    * Fri Nov 27 2009 Joe Orton <jorton@redhat.com> - 5.3.1-3
908    - update to v7 of systzdata patch
909    
910    * Wed Nov 25 2009 Joe Orton <jorton@redhat.com> - 5.3.1-2
911    - fix build with autoconf 2.6x
912    
913    * Fri Nov 20 2009 Remi Collet <Fedora@famillecollet.com> 5.3.1-1
914    - update to 5.3.1
915    - remove openssl patch (merged upstream)
916    - add provides for php-pecl-json
917    - add prod/devel php.ini in doc
918    
919    * Tue Nov 17 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 5.3.0-7
920    - use libedit instead of readline to resolve licensing issues
921    
922    * Tue Aug 25 2009 Tomas Mraz <tmraz@redhat.com> - 5.3.0-6
923    - rebuilt with new openssl
924    
925    * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-5
926    - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
927    
928    * Thu Jul 16 2009 Joe Orton <jorton@redhat.com> 5.3.0-4
929    - rediff systzdata patch
930    
931    * Thu Jul 16 2009 Joe Orton <jorton@redhat.com> 5.3.0-3
932    - update to v6 of systzdata patch; various fixes
933    
934    * Tue Jul 14 2009 Joe Orton <jorton@redhat.com> 5.3.0-2
935    - update to v5 of systzdata patch; parses zone.tab and extracts
936      timezone->{country-code,long/lat,comment} mapping table
937    
938    * Sun Jul 12 2009 Remi Collet <Fedora@famillecollet.com> 5.3.0-1
939    - update to 5.3.0
940    - remove ncurses, dbase, mhash extensions
941    - add enchant, sqlite3, intl, phar, fileinfo extensions
942    - raise sqlite version to 3.6.0 (for sqlite3, build with --enable-load-extension)
943    - sync with upstream "production" php.ini
944    
945    * Sat Jun 21 2009 Remi Collet <Fedora@famillecollet.com> 5.2.10-1
946    - update to 5.2.10
947    - add interbase sub-package
948    
949    * Sat Feb 28 2009 Remi Collet <Fedora@FamilleCollet.com> - 5.2.9-1
950  - update to 5.2.9  - update to 5.2.9
951    
952  * Tue Mar 31 2009 Joe Orton <jorton@redhat.com> 5.2.6-4.el5s2  * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.8-10
953  - add security fixes for json_decode() crash (#494530),  - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
954    and CVE-2008-5658 - including regression fix (#494531)  
955    * Thu Feb  5 2009 Joe Orton <jorton@redhat.com> 5.2.8-9
956  * Thu Feb 26 2009 Joe Orton <jorton@redhat.com> 5.2.6-3.el5s2  - add recode support, -recode subpackage (#106755)
957  - add security fixes for CVE-2008-3658, CVE-2008-3660,  - add -zts subpackage with ZTS-enabled build of httpd SAPI
958    CVE-2008-5498, CVE-2008-5557, CVE-2008-5814, CVE-2009-0754  - adjust php.conf to use -zts SAPI build for worker MPM
959    (#487371)  
960    * Wed Feb  4 2009 Joe Orton <jorton@redhat.com> 5.2.8-8
961    - fix patch fuzz, renumber patches
962    
963    * Wed Feb  4 2009 Joe Orton <jorton@redhat.com> 5.2.8-7
964    - drop obsolete configure args
965    - drop -odbc patch (#483690)
966    
967    * Mon Jan 26 2009 Joe Orton <jorton@redhat.com> 5.2.8-5
968    - split out sysvshm, sysvsem, sysvmsg, posix into php-process
969    
970    * Sun Jan 25 2009 Joe Orton <jorton@redhat.com> 5.2.8-4
971    - move wddx to php-xml, build curl shared in -common
972    - remove BR for expat-devel, bogus configure option
973    
974  * Fri May  9 2008 Joe Orton <jorton@redhat.com> 5.2.6-2.el5s2  * Fri Jan 23 2009 Joe Orton <jorton@redhat.com> 5.2.8-3
975    - rebuild for new MySQL
976    
977    * Sat Dec 13 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.8-2
978    - libtool 2 workaround for phpize (#476004)
979    - add missing php_embed.h (#457777)
980    
981    * Tue Dec 09 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.8-1
982    - update to 5.2.8
983    
984    * Sat Dec 06 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.7-1.1
985    - libtool 2 workaround
986    
987    * Fri Dec 05 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.7-1
988    - update to 5.2.7
989    - enable pdo_dblib driver in php-mssql
990    
991    * Mon Nov 24 2008 Joe Orton <jorton@redhat.com> 5.2.6-7
992    - tweak Summary, thanks to Richard Hughes
993    
994    * Tue Nov  4 2008 Joe Orton <jorton@redhat.com> 5.2.6-6
995    - move gd_README to php-gd
996    - update to r4 of systzdata patch; introduces a default timezone
997      name of "System/Localtime", which uses /etc/localtime (#469532)
998    
999    * Sat Sep 13 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.6-5
1000    - enable XPM support in php-gd
1001    - Fix BR for php-gd
1002    
1003    * Sun Jul 20 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.6-4
1004    - enable T1lib support in php-gd
1005    
1006    * Mon Jul 14 2008 Joe Orton <jorton@redhat.com> 5.2.6-3
1007  - update to 5.2.6  - update to 5.2.6
1008    - sync default php.ini with upstream
1009    - drop extension_dir from default php.ini, rely on hard-coded
1010      default, to make php-common multilib-safe (#455091)
1011    - update to r3 of systzdata patch
1012    
1013    * Thu Apr 24 2008 Joe Orton <jorton@redhat.com> 5.2.5-7
1014    - split pspell extension out into php-spell (#443857)
1015    
1016  * Wed Feb 20 2008 Joe Orton <jorton@redhat.com> 5.2.5-1.el5s2  * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.2.5-6
1017  - rebuild for StackV2  - Autorebuild for GCC 4.3
1018    
1019  * Fri Jan 11 2008 Joe Orton <jorton@redhat.com> 5.2.5-5  * Fri Jan 11 2008 Joe Orton <jorton@redhat.com> 5.2.5-5
1020  - ext/date: use system timezone database  - ext/date: use system timezone database


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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