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