/[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.1 by slords, Sat Feb 6 20:36:50 2010 UTC Revision 1.5.2.1 by slords, Thu Nov 3 22:49:53 2011 UTC
# Line 1  Line 1 
1  %define contentdir /var/www  %global contentdir  /var/www
2  %define apiver 20041225  # API/ABI check
3  %define zendver 20060613  %global apiver      20090626
4  %define pdover 20060511  %global zendver     20090626
5    %global pdover      20080721
6    # Extension version
7    %global fileinfover 1.0.5-dev
8    %global pharver     2.0.1
9    %global zipver      1.9.1
10    %global jsonver     1.2.1
11    
12    %define httpd_mmn %(cat %{_includedir}/httpd/.mmn || echo missing-httpd-devel)
13    
14    # Use the arch-specific mysql_config binary to avoid mismatch with the
15    # heuristic used by bindir/mysql_config.
16    %define mysql_config %{_libdir}/mysql/mysql_config
17    
18  Summary: The PHP HTML-embedded scripting language  Summary: PHP scripting language for creating dynamic web sites
19  Name: php  Name: php
20  Version: 5.2.10  Version: 5.3.3
21  Release: 1%{?dist}  Release: 1%{?dist}.3
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 16  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    
55    # Fixes for security bugs
56    Patch207: php-5.3.2-CVE-2010-3709.patch
57    Patch208: php-5.3.2-CVE-2010-3870.patch
58    Patch209: php-5.3.3-CVE-2010-4156.patch
59    Patch210: php-5.3.3-CVE-2010-3710.patch
60    Patch211: php-5.3.2-CVE-2010-4645.patch
61    Patch212: php-5.3.3-CVE-2011-0708.patch
62    Patch213: php-5.3.3-CVE-2011-1148.patch
63    Patch214: php-5.3.3-CVE-2011-1466.patch
64    Patch215: php-5.3.3-CVE-2011-1468.patch
65    Patch216: php-5.3.3-CVE-2011-1469.patch
66    Patch217: php-5.3.3-CVE-2011-1470.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    
72  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
73    
74  BuildRequires: bzip2-devel, curl-devel >= 7.9, db4-devel, expat-devel  BuildRequires: bzip2-devel, curl-devel >= 7.9, db4-devel, gmp-devel
75  BuildRequires: gmp-devel, aspell-devel >= 0.50.0  BuildRequires: httpd-devel >= 2.0.46-1, pam-devel
76  BuildRequires: httpd-devel >= 2.0.46-1, libjpeg-devel, libpng-devel, pam-devel  BuildRequires: libstdc++-devel, openssl-devel, sqlite-devel
77  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  
78  BuildRequires: bzip2, perl, libtool >= 1.4.3, gcc-c++  BuildRequires: bzip2, perl, libtool >= 1.4.3, gcc-c++
79  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)  
80  Provides: mod_php = %{version}-%{release}  Provides: mod_php = %{version}-%{release}
81  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
82  # For backwards-compatibility, require php-cli for the time being:  # For backwards-compatibility, require php-cli for the time being:
83  Requires: php-cli = %{version}-%{release}  Requires: %{name}-cli = %{version}-%{release}
84  # To ensure correct /var/lib/php/session ownership:  # To ensure correct /var/lib/php/session ownership:
85  Requires(pre): httpd  Requires(pre): httpd
86    
# Line 68  language to Apache HTTP Server. Line 98  language to Apache HTTP Server.
98  %package cli  %package cli
99  Group: Development/Languages  Group: Development/Languages
100  Summary: Command-line interface for PHP  Summary: Command-line interface for PHP
101  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
102  Provides: php-cgi = %{version}-%{release}  Provides: php-cgi = %{version}-%{release}, php-cli = %{version}-%{release}
103  Provides: php-pcntl, php-readline  Provides: php-pcntl
104    
105  %description cli  %description cli
106  The php-cli package contains the command-line interface  The php-cli package contains the command-line interface
# Line 81  Group: Development/Languages Line 111  Group: Development/Languages
111  Summary: Common files for PHP  Summary: Common files for PHP
112  Provides: php-api = %{apiver}, php-zend-abi = %{zendver}  Provides: php-api = %{apiver}, php-zend-abi = %{zendver}
113  Provides: php(api) = %{apiver}, php(zend-abi) = %{zendver}  Provides: php(api) = %{apiver}, php(zend-abi) = %{zendver}
114    Conflicts: php-common
115  # Provides for all builtin modules:  # Provides for all builtin modules:
116  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
117  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  
118  Provides: php-reflection, php-session, php-shmop, php-simplexml, php-sockets  Provides: php-reflection, php-session, php-shmop, php-simplexml, php-sockets
119  Provides: php-spl, php-sysvsem, php-sysvshm, php-sysvmsg, php-tokenizer  Provides: php-spl, php-tokenizer, php-openssl, php-pcre
120  Provides: php-wddx, php-zlib, php-json, php-zip, php-dbase  Provides: php-zlib, php-json, php-zip, php-fileinfo
121  Obsoletes: php-openssl, php-pecl-zip, php-json, php-dbase  # For obsoleted pecl extension
122    Provides: php-pecl-json = %{jsonver}, php-pecl(json) = %{jsonver}
123    Provides: php-pecl-zip = %{zipver}, php-pecl(zip) = %{zipver}
124    Provides: php-pecl-phar = %{pharver}, php-pecl(phar) = %{pharver}
125    Provides: php-pecl-Fileinfo = %{fileinfover}, php-pecl(Fileinfo) = %{fileinfover}
126    
127  %description common  %description common
128  The php-common package contains files used by both the php  The %{name}-common package contains files used by both the php
129  package and the php-cli package.  package and the php-cli package.
130    
131  %package devel  %package devel
132  Group: Development/Libraries  Group: Development/Libraries
133  Summary: Files needed for building PHP extensions  Summary: Files needed for building PHP extensions
134  Requires: php = %{version}-%{release}, autoconf, automake  Requires: %{name} = %{version}-%{release}, autoconf, automake
135  Obsoletes: php-pecl-pdo-devel  Provides: php-devel = %{version}-%{release}
136    
137  %description devel  %description devel
138  The php-devel package contains the files needed for building PHP  The php-devel package contains the files needed for building PHP
# Line 108  need to install this package. Line 142  need to install this package.
142  %package imap  %package imap
143  Summary: A module for PHP applications that use IMAP  Summary: A module for PHP applications that use IMAP
144  Group: Development/Languages  Group: Development/Languages
145  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
 Obsoletes: mod_php3-imap, stronghold-php-imap  
146  BuildRequires: krb5-devel, openssl-devel, libc-client-devel  BuildRequires: krb5-devel, openssl-devel, libc-client-devel
147    
148  %description imap  %description imap
149  The php-imap package contains a dynamic shared object (DSO) for the  The php-imap package contains a dynamic shared object that will
150  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.  
151    
152  %package ldap  %package ldap
153  Summary: A module for PHP applications that use LDAP  Summary: A module for PHP applications that use LDAP
154  Group: Development/Languages  Group: Development/Languages
155  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
 Obsoletes: mod_php3-ldap, stronghold-php-ldap  
156  BuildRequires: cyrus-sasl-devel, openldap-devel, openssl-devel  BuildRequires: cyrus-sasl-devel, openldap-devel, openssl-devel
157    
158  %description ldap  %description ldap
# Line 139  need to install this package in addition Line 166  need to install this package in addition
166  %package pdo  %package pdo
167  Summary: A database access abstraction module for PHP applications  Summary: A database access abstraction module for PHP applications
168  Group: Development/Languages  Group: Development/Languages
169  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
 Obsoletes: php-pecl-pdo-sqlite, php-pecl-pdo  
170  Provides: php-pdo-abi = %{pdover}  Provides: php-pdo-abi = %{pdover}
171    Provides: php-pdo_sqlite
172    
173  %description pdo  %description pdo
174  The php-pdo package contains a dynamic shared object that will add  The %{name}-pdo package contains a dynamic shared object that will add
175  a database access abstraction layer to PHP.  This module provides  a database access abstraction layer to PHP.  This module provides
176  a common interface for accessing MySQL, PostgreSQL or other  a common interface for accessing MySQL, PostgreSQL or other
177  databases.  databases.
# Line 152  databases. Line 179  databases.
179  %package mysql  %package mysql
180  Summary: A module for PHP applications that use MySQL databases  Summary: A module for PHP applications that use MySQL databases
181  Group: Development/Languages  Group: Development/Languages
182  Requires: php-common = %{version}-%{release}, php-pdo  Requires: %{name}-common = %{version}-%{release}, %{name}-pdo
183  Provides: php_database, php-mysqli  Provides: php_database, php-mysqli, php-pdo_mysql
 Obsoletes: mod_php3-mysql, stronghold-php-mysql  
184  BuildRequires: mysql-devel >= 4.1.0  BuildRequires: mysql-devel >= 4.1.0
185    
186  %description mysql  %description mysql
# Line 167  this package and the php package. Line 193  this package and the php package.
193  %package pgsql  %package pgsql
194  Summary: A PostgreSQL database module for PHP  Summary: A PostgreSQL database module for PHP
195  Group: Development/Languages  Group: Development/Languages
196  Requires: php-common = %{version}-%{release}, php-pdo  Requires: %{name}-common = %{version}-%{release}, %{name}-pdo
197  Provides: php_database  Provides: php_database, php-pdo_pgsql
 Obsoletes: mod_php3-pgsql, stronghold-php-pgsql  
198  BuildRequires: krb5-devel, openssl-devel, postgresql-devel  BuildRequires: krb5-devel, openssl-devel, postgresql-devel
199    
200  %description pgsql  %description pgsql
# Line 181  HTML-embedded scripting language. If you Line 206  HTML-embedded scripting language. If you
206  PostgreSQL, you should install this package in addition to the main  PostgreSQL, you should install this package in addition to the main
207  php package.  php package.
208    
209    %package process
210    Summary: Modules for PHP script using system process interfaces
211    Group: Development/Languages
212    Requires: %{name}-common = %{version}-%{release}
213    Provides: php-posix, php-sysvsem, php-sysvshm, php-sysvmsg
214    
215    %description process
216    The php-process package contains dynamic shared objects which add
217    support to PHP using system interfaces for inter-process
218    communication.
219    
220  %package odbc  %package odbc
221  Group: Development/Languages  Group: Development/Languages
222  Requires: php-common = %{version}-%{release}, php-pdo  Requires: %{name}-common = %{version}-%{release}, %{name}-pdo
223  Summary: A module for PHP applications that use ODBC databases  Summary: A module for PHP applications that use ODBC databases
224  Provides: php_database  Provides: php_database, php-pdo_odbc
 Obsoletes: stronghold-php-odbc  
225  BuildRequires: unixODBC-devel  BuildRequires: unixODBC-devel
226    
227  %description odbc  %description odbc
# Line 200  package. Line 235  package.
235    
236  %package soap  %package soap
237  Group: Development/Languages  Group: Development/Languages
238  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
239  Summary: A module for PHP applications that use the SOAP protocol  Summary: A module for PHP applications that use the SOAP protocol
240  BuildRequires: libxml2-devel  BuildRequires: libxml2-devel
241    
# Line 211  support to PHP for using the SOAP web se Line 246  support to PHP for using the SOAP web se
246  %package snmp  %package snmp
247  Summary: A module for PHP applications that query SNMP-managed devices  Summary: A module for PHP applications that query SNMP-managed devices
248  Group: Development/Languages  Group: Development/Languages
249  Requires: php-common = %{version}-%{release}, net-snmp  Requires: %{name}-common = %{version}-%{release}, net-snmp
250  BuildRequires: net-snmp-devel  BuildRequires: net-snmp-devel
251    
252  %description snmp  %description snmp
# Line 223  will need to install this package and th Line 258  will need to install this package and th
258  %package xml  %package xml
259  Summary: A module for PHP applications which use XML  Summary: A module for PHP applications which use XML
260  Group: Development/Languages  Group: Development/Languages
261  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
262  Obsoletes: php-domxml, php-dom  Provides: php-dom, php-xsl, php-domxml, php-wddx
 Provides: php-dom, php-xsl, php-domxml  
263  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
264    
265  %description xml  %description xml
# Line 236  and performing XSL transformations on XM Line 270  and performing XSL transformations on XM
270  %package xmlrpc  %package xmlrpc
271  Summary: A module for PHP applications which use the XML-RPC protocol  Summary: A module for PHP applications which use the XML-RPC protocol
272  Group: Development/Languages  Group: Development/Languages
273  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
 BuildRequires: expat-devel  
274    
275  %description xmlrpc  %description xmlrpc
276  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 246  support for the XML-RPC protocol to PHP. Line 279  support for the XML-RPC protocol to PHP.
279  %package mbstring  %package mbstring
280  Summary: A module for PHP applications which need multi-byte string handling  Summary: A module for PHP applications which need multi-byte string handling
281  Group: Development/Languages  Group: Development/Languages
282  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
283    
284  %description mbstring  %description mbstring
285  The php-mbstring package contains a dynamic shared object that will add  The php-mbstring package contains a dynamic shared object that will add
286  support for multi-byte string handling to PHP.  support for multi-byte string handling to PHP.
287    
 %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.  
   
288  %package gd  %package gd
289  Summary: A module for PHP applications for using the gd graphics library  Summary: A module for PHP applications for using the gd graphics library
290  Group: Development/Languages  Group: Development/Languages
291  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
292  BuildRequires: gd-devel, freetype-devel  # Required to build the bundled GD library
293    BuildRequires: libXpm-devel, libjpeg-devel, libpng-devel, freetype-devel
294    
295  %description gd  %description gd
296  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 275  support for using the gd graphics librar Line 299  support for using the gd graphics librar
299  %package bcmath  %package bcmath
300  Summary: A module for PHP applications for using the bcmath library  Summary: A module for PHP applications for using the bcmath library
301  Group: Development/Languages  Group: Development/Languages
302  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
303    
304  %description bcmath  %description bcmath
305  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 284  support for using the bcmath library to Line 308  support for using the bcmath library to
308  %package dba  %package dba
309  Summary: A database abstraction layer module for PHP applications  Summary: A database abstraction layer module for PHP applications
310  Group: Development/Languages  Group: Development/Languages
311  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
312    
313  %description dba  %description dba
314  The php-dba package contains a dynamic shared object that will add  The php-dba package contains a dynamic shared object that will add
315  support for using the DBA database abstraction layer to PHP.  support for using the DBA database abstraction layer to PHP.
316    
317    %package pspell
318    Summary: A module for PHP applications for using pspell interfaces
319    Group: System Environment/Libraries
320    Requires: %{name}-common = %{version}-%{release}
321    BuildRequires: aspell-devel >= 0.50.0
322    
323    %description pspell
324    The php-pspell package contains a dynamic shared object that will add
325    support for using the pspell library to PHP.
326    
327    %package intl
328    Summary: Internationalization extension for PHP applications
329    Group: System Environment/Libraries
330    Requires: %{name}-common = %{version}-%{release}
331    BuildRequires: libicu-devel >= 3.6
332    
333    %description intl
334    The php-intl package contains a dynamic shared object that will add
335    support for using the ICU library to PHP.
336    
337  %prep  %prep
338  %setup -q  %setup -q -n php-%{version}
339  %patch1 -p1 -b .gnusrc  %patch1 -p1 -b .gnusrc
340  %patch2 -p1 -b .install  %patch2 -p1 -b .install
341  %patch3 -p1 -b .norpath  %patch3 -p1 -b .norpath
342  %patch5 -p1 -b .phpize64  %patch4 -p1 -b .phpize64
343  %patch8 -p1 -b .includedir  %patch5 -p1 -b .includedir
344  %patch9 -p1 -b .embed  %patch8 -p1 -b .aconf26x
345    
346  %patch21 -p1 -b .odbc  %patch20 -p1 -b .shutdown
347  %patch22 -p1 -b .shutdown  
348  %patch24 -p1 -b .macropen  %patch40 -p1 -b .dlopen
349    %patch41 -p1 -b .easter
350  %patch30 -p1 -b .dlopen  %patch42 -p1 -b .systzdata
351  %patch31 -p1 -b .easter  
352  %patch32 -p1 -b .systzdata  %patch61 -p1 -b .tests-wddx
353    %patch62 -p1 -b .testfail
354  %patch51 -p1 -b .tests-wddx  
355    %patch100 -p1 -b .r305570
356    %patch101 -p1 -b .r305043
357    
358    %patch207 -p1 -b .cve3709
359    %patch208 -p1 -b .cve3870
360    
361    %patch209 -p1 -b .cve4156
362    %patch210 -p1 -b .cve3710
363    %patch211 -p1 -b .cve4645
364    %patch212 -p1 -b .cve0708
365    %patch213 -p1 -b .cve1148
366    %patch214 -p1 -b .cve1466
367    %patch215 -p1 -b .cve1468
368    %patch216 -p1 -b .cve1469
369    %patch217 -p1 -b .cve1470
370    %patch218 -p1 -b .cve1471
371    %patch219 -p1 -b .cve1938
372    %patch220 -p1 -b .cve2202
373    %patch221 -p1 -b .cve2483
374    
375  # Prevent %%doc confusion over LICENSE files  # Prevent %%doc confusion over LICENSE files
376  cp Zend/LICENSE Zend/ZEND_LICENSE  cp -p Zend/LICENSE Zend/ZEND_LICENSE
377  cp TSRM/LICENSE TSRM_LICENSE  cp -p TSRM/LICENSE TSRM_LICENSE
378  cp regex/COPYRIGHT regex_COPYRIGHT  cp -p ext/ereg/regex/COPYRIGHT regex_COPYRIGHT
379  cp ext/gd/libgd/README gd_README  cp -p ext/gd/libgd/README gd_README
380    
381  # Source is built twice: once for /usr/bin/php, once for the Apache DSO.  # Multiple builds for multiple SAPIs
382  mkdir build-cgi build-apache  mkdir build-cgi build-apache
383    
384  # Remove bogus test; position of read position after fopen(, "a+")  # Remove bogus test; position of read position after fopen(, "a+")
# Line 326  rm -f ext/standard/tests/file/bug21131.p Line 389  rm -f ext/standard/tests/file/bug21131.p
389  rm -f ext/standard/tests/file/bug22414.phpt \  rm -f ext/standard/tests/file/bug22414.phpt \
390        ext/iconv/tests/bug16069.phpt        ext/iconv/tests/bug16069.phpt
391    
392    # Remove tests which require external network access
393    rm -f ext/sockets/tests/socket_bind.diff
394    
395    # Easter eggs no not shipped
396    rm -f tests/basic/php_egg_logo_guid.diff
397    
398  # Safety check for API version change.  # Safety check for API version change.
399  vapi=`sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h`  vapi=`sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h`
400  if test "x${vapi}" != "x%{apiver}"; then  if test "x${vapi}" != "x%{apiver}"; then
# Line 349  if test "x${vpdo}" != "x%{pdover}"; then Line 418  if test "x${vpdo}" != "x%{pdover}"; then
418     exit 1     exit 1
419  fi  fi
420    
421    # Check for some extension version
422    ver=$(sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h)
423    if test "$ver" != "%{fileinfover}"; then
424       : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
425       : Update the fileinfover macro and rebuild.
426       exit 1
427    fi
428    ver=$(sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h)
429    if test "$ver" != "%{pharver}"; then
430       : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
431       : Update the pharver macro and rebuild.
432       exit 1
433    fi
434    ver=$(sed -n '/#define PHP_ZIP_VERSION_STRING /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
435    if test "$ver" != "%{zipver}"; then
436       : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
437       : Update the zipver macro and rebuild.
438       exit 1
439    fi
440    ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h)
441    if test "$ver" != "%{jsonver}"; then
442       : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
443       : Update the jsonver macro and rebuild.
444       exit 1
445    fi
446    
447    # Fix some bogus permissions
448    find . -name \*.[ch] -exec chmod 644 {} \;
449    chmod 644 README.*
450    
451  %build  %build
452    # aclocal workaround - to be improved
453    cat `aclocal --print-ac-dir`/libtool.m4 >>aclocal.m4
454    
455  # Force use of system libtool:  # Force use of system libtool:
456  libtoolize --force --copy  libtoolize --force --copy
457  cat `aclocal --print-ac-dir`/libtool.m4 > build/libtool.m4  cat `aclocal --print-ac-dir`/libtool.m4 >build/libtool.m4
458    
459  # Regenerate configure scripts (patches change config.m4's)  # Regenerate configure scripts (patches change config.m4's)
460    touch configure.in
461  ./buildconf --force  ./buildconf --force
462    
463  CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign"  CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign"
# Line 383  ln -sf ../configure Line 486  ln -sf ../configure
486          --disable-rpath \          --disable-rpath \
487          --without-pear \          --without-pear \
488          --with-bz2 \          --with-bz2 \
         --with-curl \  
489          --with-exec-dir=%{_bindir} \          --with-exec-dir=%{_bindir} \
490          --with-freetype-dir=%{_prefix} \          --with-freetype-dir=%{_prefix} \
491          --with-png-dir=%{_prefix} \          --with-png-dir=%{_prefix} \
492            --with-xpm-dir=%{_prefix} \
493          --enable-gd-native-ttf \          --enable-gd-native-ttf \
494          --without-gdbm \          --without-gdbm \
495          --with-gettext \          --with-gettext \
# Line 394  ln -sf ../configure Line 497  ln -sf ../configure
497          --with-iconv \          --with-iconv \
498          --with-jpeg-dir=%{_prefix} \          --with-jpeg-dir=%{_prefix} \
499          --with-openssl \          --with-openssl \
         --with-png \  
         --with-pspell \  
         --with-expat-dir=%{_prefix} \  
500          --with-pcre-regex=%{_prefix} \          --with-pcre-regex=%{_prefix} \
501          --with-zlib \          --with-zlib \
502          --with-layout=GNU \          --with-layout=GNU \
# Line 405  ln -sf ../configure Line 505  ln -sf ../configure
505          --enable-magic-quotes \          --enable-magic-quotes \
506          --enable-sockets \          --enable-sockets \
507          --enable-sysvsem --enable-sysvshm --enable-sysvmsg \          --enable-sysvsem --enable-sysvshm --enable-sysvmsg \
         --enable-track-vars \  
         --enable-trans-sid \  
         --enable-yp \  
         --enable-wddx \  
508          --with-kerberos \          --with-kerberos \
509          --enable-ucd-snmp-hack \          --enable-ucd-snmp-hack \
         --with-unixODBC=shared,%{_prefix} \  
         --enable-memory-limit \  
510          --enable-shmop \          --enable-shmop \
511          --enable-calendar \          --enable-calendar \
         --enable-dbx \  
         --enable-dio \  
         --without-mime-magic \  
512          --without-sqlite \          --without-sqlite \
513            --without-sqlite3 \
514          --with-libxml-dir=%{_prefix} \          --with-libxml-dir=%{_prefix} \
515          --with-xml \          --enable-xml \
516          --with-system-tzdata \          --with-system-tzdata \
517          $*          $*
518  if test $? != 0; then  if test $? != 0; then
# Line 437  pushd build-cgi Line 529  pushd build-cgi
529  build --enable-force-cgi-redirect \  build --enable-force-cgi-redirect \
530        --enable-pcntl \        --enable-pcntl \
531        --with-imap=shared --with-imap-ssl \        --with-imap=shared --with-imap-ssl \
532        --enable-mbstring=shared --enable-mbstr-enc-trans \        --enable-mbstring=shared \
533        --enable-mbregex \        --enable-mbregex \
       --with-ncurses=shared \  
534        --with-gd=shared \        --with-gd=shared \
535        --enable-bcmath=shared \        --enable-bcmath=shared \
536        --enable-dba=shared --with-db4=%{_prefix} \        --enable-dba=shared --with-db4=%{_prefix} \
537        --with-xmlrpc=shared \        --with-xmlrpc=shared \
538        --with-ldap=shared --with-ldap-sasl \        --with-ldap=shared --with-ldap-sasl \
539        --with-mysql=shared,%{_prefix} \        --with-mysql=shared,%{_prefix} \
540        --with-mysqli=shared,%{_bindir}/mysql_config \        --with-mysqli=shared,%{mysql_config} \
541        --enable-dom=shared \        --enable-dom=shared \
       --with-dom-xslt=%{_prefix} --with-dom-exslt=%{_prefix} \  
542        --with-pgsql=shared \        --with-pgsql=shared \
543          --enable-wddx=shared \
544        --with-snmp=shared,%{_prefix} \        --with-snmp=shared,%{_prefix} \
545        --enable-soap=shared \        --enable-soap=shared \
546        --with-xsl=shared,%{_prefix} \        --with-xsl=shared,%{_prefix} \
547        --enable-xmlreader=shared --enable-xmlwriter=shared \        --enable-xmlreader=shared --enable-xmlwriter=shared \
548          --with-curl=shared,%{_prefix} \
549        --enable-fastcgi \        --enable-fastcgi \
550        --enable-pdo=shared \        --enable-pdo=shared \
551        --with-pdo-odbc=shared,unixODBC,%{_prefix} \        --with-pdo-odbc=shared,unixODBC,%{_prefix} \
552        --with-pdo-mysql=shared,%{_prefix} \        --with-pdo-mysql=shared,%{mysql_config} \
553        --with-pdo-pgsql=shared,%{_prefix} \        --with-pdo-pgsql=shared,%{_prefix} \
554        --with-pdo-sqlite=shared,%{_prefix} \        --with-pdo-sqlite=shared,%{_prefix} \
555        --enable-json=shared \        --enable-json=shared \
556        --enable-zip=shared \        --enable-zip=shared \
557        --with-readline \        --without-readline \
558        --enable-dbase=shared        --with-pspell=shared \
559          --enable-phar=shared \
560          --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \
561          --enable-posix=shared \
562          --with-unixODBC=shared,%{_prefix} \
563          --enable-fileinfo=shared \
564          --enable-intl=shared \
565          --with-icu-dir=%{_prefix}
566  popd  popd
567    
568    without_shared="--without-mysql --without-gd \
569          --disable-dom --disable-dba --without-unixODBC \
570          --disable-pdo --disable-xmlreader --disable-xmlwriter \
571          --without-sqlite3 --disable-phar --disable-fileinfo \
572          --disable-json --without-pspell --disable-wddx \
573          --without-curl --disable-posix \
574          --disable-sysvmsg --disable-sysvshm --disable-sysvsem"
575    
576  # Build Apache module, and the CLI SAPI, /usr/bin/php  # Build Apache module, and the CLI SAPI, /usr/bin/php
577  pushd build-apache  pushd build-apache
578  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  
579  popd  popd
580    
581  %check  %check
# Line 486  if ! make test; then Line 588  if ! make test; then
588    for f in `find .. -name \*.diff -type f -print`; do    for f in `find .. -name \*.diff -type f -print`; do
589      echo "TEST FAILURE: $f --"      echo "TEST FAILURE: $f --"
590      cat "$f"      cat "$f"
591      echo "-- $f result ends."      echo -e "\n-- $f result ends.\n"
592    done    done
593    set -x    set -x
594    #exit 1    #exit 1
# Line 499  unset NO_INTERACTION REPORT_EXIT_STATUS Line 601  unset NO_INTERACTION REPORT_EXIT_STATUS
601  # Install everything from the CGI SAPI build  # Install everything from the CGI SAPI build
602  make -C build-cgi install INSTALL_ROOT=$RPM_BUILD_ROOT  make -C build-cgi install INSTALL_ROOT=$RPM_BUILD_ROOT
603    
 # Install the Apache module  
 make -C build-apache install-sapi INSTALL_ROOT=$RPM_BUILD_ROOT  
   
604  # Install the default configuration file and icons  # Install the default configuration file and icons
605  install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/  install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/
606  install -m 644 $RPM_SOURCE_DIR/php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini  install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
607  install -m 755 -d $RPM_BUILD_ROOT%{contentdir}/icons  install -m 755 -d $RPM_BUILD_ROOT%{contentdir}/icons
608  install -m 644    *.gif $RPM_BUILD_ROOT%{contentdir}/icons/  install -m 644    *.gif $RPM_BUILD_ROOT%{contentdir}/icons/
609    
# Line 512  install -m 644    *.gif $RPM_BUILD_ROOT% Line 611  install -m 644    *.gif $RPM_BUILD_ROOT%
611  install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/php/pear \  install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/php/pear \
612                    $RPM_BUILD_ROOT%{_datadir}/php                    $RPM_BUILD_ROOT%{_datadir}/php
613    
 # Use correct libdir  
 sed -i -e 's|%{_prefix}/lib|%{_libdir}|' $RPM_BUILD_ROOT%{_sysconfdir}/php.ini  
   
614  # install the DSO  # install the DSO
615  install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/httpd/modules  install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/httpd/modules
616  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
617    
618  # Apache config fragment  # Apache config fragment
619  install -m 755 -d $RPM_BUILD_ROOT/etc/httpd/conf.d  install -m 755 -d $RPM_BUILD_ROOT/etc/httpd/conf.d
620    # %{SOURCE1} used here ->
621  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
622    
623  install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php.d  install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php.d
624  install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php  install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php
625  install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/session  install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/session
626    
627    # Fix the link
628    (cd $RPM_BUILD_ROOT%{_bindir}; ln -sfn phar.phar phar)
629    
630  # Generate files lists and stub .ini files for each subpackage  # Generate files lists and stub .ini files for each subpackage
631  for mod in pgsql mysql mysqli odbc ldap snmp xmlrpc imap \  for mod in pgsql mysql mysqli odbc ldap snmp xmlrpc imap \
632      mbstring ncurses gd dom xsl soap bcmath dba xmlreader xmlwriter \      mbstring gd dom xsl soap bcmath dba xmlreader xmlwriter \
633      pdo pdo_mysql pdo_pgsql pdo_odbc pdo_sqlite json zip \      pdo pdo_mysql pdo_pgsql pdo_odbc pdo_sqlite json zip \
634      dbase; do      phar fileinfo intl pspell curl wddx \
635        posix sysvshm sysvsem sysvmsg; do
636      cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${mod}.ini <<EOF      cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${mod}.ini <<EOF
637  ; Enable ${mod} extension module  ; Enable ${mod} extension module
638  extension=${mod}.so  extension=${mod}.so
# Line 543  EOF Line 644  EOF
644  done  done
645    
646  # The dom, xsl and xml* modules are all packaged in php-xml  # The dom, xsl and xml* modules are all packaged in php-xml
647  cat files.dom files.xsl files.xml{reader,writer} > files.xml  cat files.dom files.xsl files.xml{reader,writer} files.wddx > files.xml
648    
649  # The mysql and mysqli modules are both packaged in php-mysql  # The mysql and mysqli modules are both packaged in php-mysql
650  cat files.mysqli >> files.mysql  cat files.mysqli >> files.mysql
# Line 553  cat files.pdo_mysql >> files.mysql Line 654  cat files.pdo_mysql >> files.mysql
654  cat files.pdo_pgsql >> files.pgsql  cat files.pdo_pgsql >> files.pgsql
655  cat files.pdo_odbc >> files.odbc  cat files.pdo_odbc >> files.odbc
656    
657  # Package pdo_sqlite with pdo; isolating the sqlite dependency  # sysv* and posix in packaged in php-process
658  # isn't useful at this time since rpm itself requires sqlite.  cat files.sysv* files.posix > files.process
659    
660    # Package pdo_sqlite with pdo.
661  cat files.pdo_sqlite >> files.pdo  cat files.pdo_sqlite >> files.pdo
662    
663  # Package json, dbase and zip in -common.  # Package json, zip, curl, phar and fileinfo in -common.
664  cat files.json files.dbase files.zip > files.common  cat files.json files.zip files.curl files.phar files.fileinfo > files.common
665    
666  # Install the macros file:  # Install the macros file:
667  install -d $RPM_BUILD_ROOT%{_sysconfdir}/rpm  install -d $RPM_BUILD_ROOT%{_sysconfdir}/rpm
668    # %{SOURCE3} used here ->
669  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}/" \
670      < $RPM_SOURCE_DIR/macros.php > macros.php      < $RPM_SOURCE_DIR/macros.php > macros.php
671  install -m 644 -c macros.php \  install -m 644 -c macros.php \
# Line 570  install -m 644 -c macros.php \ Line 674  install -m 644 -c macros.php \
674  # Remove unpackaged files  # Remove unpackaged files
675  rm -rf $RPM_BUILD_ROOT%{_libdir}/php/modules/*.a \  rm -rf $RPM_BUILD_ROOT%{_libdir}/php/modules/*.a \
676         $RPM_BUILD_ROOT%{_bindir}/{phptar} \         $RPM_BUILD_ROOT%{_bindir}/{phptar} \
677         $RPM_BUILD_ROOT%{_datadir}/pear         $RPM_BUILD_ROOT%{_datadir}/pear \
678           $RPM_BUILD_ROOT%{_libdir}/libphp5.la
679    
680  # Remove irrelevant docs  # Remove irrelevant docs
681  rm -f README.{Zeus,QNX,CVS-RULES}  rm -f README.{Zeus,QNX,CVS-RULES}
# Line 588  rm files.* macros.php Line 693  rm files.* macros.php
693    
694  %files common -f files.common  %files common -f files.common
695  %defattr(-,root,root)  %defattr(-,root,root)
696  %doc CODING_STANDARDS CREDITS EXTENSIONS INSTALL LICENSE NEWS README*  %doc CODING_STANDARDS CREDITS INSTALL LICENSE NEWS README*
697  %doc Zend/ZEND_* gd_README TSRM_LICENSE regex_COPYRIGHT  %doc Zend/ZEND_* TSRM_LICENSE regex_COPYRIGHT
698    %doc php.ini-*
699  %config(noreplace) %{_sysconfdir}/php.ini  %config(noreplace) %{_sysconfdir}/php.ini
700  %dir %{_sysconfdir}/php.d  %dir %{_sysconfdir}/php.d
701  %dir %{_libdir}/php  %dir %{_libdir}/php
# Line 602  rm files.* macros.php Line 708  rm files.* macros.php
708  %defattr(-,root,root)  %defattr(-,root,root)
709  %{_bindir}/php  %{_bindir}/php
710  %{_bindir}/php-cgi  %{_bindir}/php-cgi
711    %{_bindir}/phar.phar
712    %{_bindir}/phar
713  %{_mandir}/man1/php.1*  %{_mandir}/man1/php.1*
714  %doc sapi/cgi/README* sapi/cli/README  %doc sapi/cgi/README* sapi/cli/README
715    
# Line 624  rm files.* macros.php Line 732  rm files.* macros.php
732  %files xml -f files.xml  %files xml -f files.xml
733  %files xmlrpc -f files.xmlrpc  %files xmlrpc -f files.xmlrpc
734  %files mbstring -f files.mbstring  %files mbstring -f files.mbstring
735  %files ncurses -f files.ncurses  %defattr(-,root,root)
736    %doc ext/mbstring/libmbfl/DISCLAIMER ext/mbstring/libmbfl/LICENSE
737  %files gd -f files.gd  %files gd -f files.gd
738    %defattr(-,root,root)
739    %doc gd_README
740  %files soap -f files.soap  %files soap -f files.soap
741  %files bcmath -f files.bcmath  %files bcmath -f files.bcmath
742    %defattr(-,root,root)
743    %doc ext/bcmath/libbcmath/COPYING.LIB
744  %files dba -f files.dba  %files dba -f files.dba
745  %files pdo -f files.pdo  %files pdo -f files.pdo
746    %files pspell -f files.pspell
747    %files intl -f files.intl
748    %files process -f files.process
749    
750  %changelog  %changelog
751  * Mon Aug 10 2009 Joe Orton <jorton@redhat.com> 5.2.10-1.el5s2  * Mon Oct 24 2011 Joe Orton <jorton@redhat.com> - 5.3.3-1.3
752  - update to 5.2.10  - improve CVE-2011-1466 fix to cover CAL_GREGORIAN, CAL_JEWISH
753    
754  * Wed Apr 15 2009 Joe Orton <jorton@redhat.com> 5.2.9-2.el5s2  * Mon Sep 26 2011 Joe Orton <jorton@redhat.com> - 5.3.3-1.2
755  - update to r3 of systzdata patch  - add security fixes for CVE-2011-2483, CVE-2011-0708, CVE-2011-1148,
756      CVE-2011-1466, CVE-2011-1468, CVE-2011-1469, CVE-2011-1470,
757      CVE-2011-1471, CVE-2011-1938, and CVE-2011-2202 (#740733)
758    
759    * Wed Jan 19 2011 Joe Orton <jorton@redhat.com> - 5.3.3-1.1
760    - add security fixes for CVE-2010-3710, CVE-2010-4156,
761      CVE-2010-4645 (#670463)
762    
763    * Wed Dec  1 2010 Joe Orton <jorton@redhat.com> - 5.3.3-1
764    - update to 5.3.3 (#658315)
765    
766    * Mon Nov 22 2010 Joe Orton <jorton@redhat.com> - 5.3.2-7
767    - prevent extract() from clobering $GLOBALS (#655330)
768    
769    * Wed Nov 10 2010 Joe Orton <jorton@redhat.com> - 5.3.2-6
770    - add security fixes for CVE-2010-3870 CVE-2010-3709 (#650877)
771    - provide php-devel from -devel (#642701)
772    
773    * Mon Nov  1 2010 Joe Orton <jorton@redhat.com> - 5.3.2-5
774    - use correct mysql_config for pdo-mysql also (#642701)
775    
776    * Thu Sep 30 2010 Joe Orton <jorton@redhat.com> - 5.3.2-4
777    - use mysql_config from libdir
778    
779    * Tue Sep  7 2010 Joe Orton <jorton@redhat.com> - 5.3.2-3
780    - add defattr for -mbstring and -bcmath
781    
782  * Tue Apr 14 2009 Joe Orton <jorton@redhat.com> 5.2.9-1.el5s2  * Tue Sep  7 2010 Joe Orton <jorton@redhat.com> - 5.3.2-2
783    - add LGPLv2{,+} to License; ship text in -bcmath, -mbstring
784    - apply phar patch correctly
785    - fix permissions on sources, README.namespaces
786    - drop EXTENSIONS from %%doc
787    - fix Provides for php-cli
788    - drop inappropriate/obsolete Obsoletes
789    
790    * Thu Sep  2 2010 Joe Orton <jorton@redhat.com> - 5.3.2-1
791    - convert to php53
792    - remove subpackages: embeded, zts, tidy, recode, enchant
793    
794    * Tue Aug 17 2010 Joe Orton <jorton@redhat.com> - 5.3.2-6
795    - add security fixes for CVE-2010-1866, CVE-2010-2094, CVE-2010-1917,
796      CVE-2010-2531, MOPS-2010-060 (#624469)
797    
798    * Fri Aug 13 2010 Joe Orton <jorton@redhat.com> - 5.3.2-5
799    - add security fix for CVE-2010-0397 (#575712)
800    
801    * Thu Jun 24 2010 Joe Orton <jorton@redhat.com> - 5.3.2-4
802    - add security fix for CVE-2010-2225 (#605644)
803    
804    * Wed May  5 2010 Joe Orton <jorton@redhat.com> - 5.3.2-3
805    - restore -imap (#586050)
806    
807    * Fri Mar 26 2010 Joe Orton <jorton@redhat.com> - 5.3.2-2
808    - remove mcrypt support (#459804, #577257)
809    
810    * Wed Mar 24 2010 Joe Orton <jorton@redhat.com> - 5.3.2-1
811    - update to 5.3.2 (#575158, #575712)
812    
813    * Sat Mar 06 2010 Remi Collet <Fedora@famillecollet.com>
814    - PHP 5.3.2 Released!
815    - remove mime_magic option (now provided by fileinfo, by emu)
816    - add patch for http://bugs.php.net/50578
817    - remove patch for libedit (upstream)
818    
819    * Fri Jan 15 2010 Joe Orton <jorton@redhat.com> - 5.3.1-7
820    - add security fix for CVE-2009-4142 (#552268)
821    
822    * Fri Dec 18 2009 Joe Orton <jorton@redhat.com> - 5.3.1-6
823    - drop mssql, pdo_dblib
824    
825    * Fri Dec 11 2009 Joe Orton <jorton@redhat.com> - 5.3.1-5
826    - drop imap
827    
828    * Fri Dec 11 2009 Joe Orton <jorton@redhat.com> - 5.3.1-4
829    - drop t1lib, interbase/firebird support
830    
831    * Fri Nov 27 2009 Joe Orton <jorton@redhat.com> - 5.3.1-3
832    - update to v7 of systzdata patch
833    
834    * Wed Nov 25 2009 Joe Orton <jorton@redhat.com> - 5.3.1-2
835    - fix build with autoconf 2.6x
836    
837    * Fri Nov 20 2009 Remi Collet <Fedora@famillecollet.com> 5.3.1-1
838    - update to 5.3.1
839    - remove openssl patch (merged upstream)
840    - add provides for php-pecl-json
841    - add prod/devel php.ini in doc
842    
843    * Tue Nov 17 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 5.3.0-7
844    - use libedit instead of readline to resolve licensing issues
845    
846    * Tue Aug 25 2009 Tomas Mraz <tmraz@redhat.com> - 5.3.0-6
847    - rebuilt with new openssl
848    
849    * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-5
850    - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
851    
852    * Thu Jul 16 2009 Joe Orton <jorton@redhat.com> 5.3.0-4
853    - rediff systzdata patch
854    
855    * Thu Jul 16 2009 Joe Orton <jorton@redhat.com> 5.3.0-3
856    - update to v6 of systzdata patch; various fixes
857    
858    * Tue Jul 14 2009 Joe Orton <jorton@redhat.com> 5.3.0-2
859    - update to v5 of systzdata patch; parses zone.tab and extracts
860      timezone->{country-code,long/lat,comment} mapping table
861    
862    * Sun Jul 12 2009 Remi Collet <Fedora@famillecollet.com> 5.3.0-1
863    - update to 5.3.0
864    - remove ncurses, dbase, mhash extensions
865    - add enchant, sqlite3, intl, phar, fileinfo extensions
866    - raise sqlite version to 3.6.0 (for sqlite3, build with --enable-load-extension)
867    - sync with upstream "production" php.ini
868    
869    * Sat Jun 21 2009 Remi Collet <Fedora@famillecollet.com> 5.2.10-1
870    - update to 5.2.10
871    - add interbase sub-package
872    
873    * Sat Feb 28 2009 Remi Collet <Fedora@FamilleCollet.com> - 5.2.9-1
874  - update to 5.2.9  - update to 5.2.9
875    
876  * 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
877  - add security fixes for json_decode() crash (#494530),  - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
878    and CVE-2008-5658 - including regression fix (#494531)  
879    * Thu Feb  5 2009 Joe Orton <jorton@redhat.com> 5.2.8-9
880  * Thu Feb 26 2009 Joe Orton <jorton@redhat.com> 5.2.6-3.el5s2  - add recode support, -recode subpackage (#106755)
881  - add security fixes for CVE-2008-3658, CVE-2008-3660,  - add -zts subpackage with ZTS-enabled build of httpd SAPI
882    CVE-2008-5498, CVE-2008-5557, CVE-2008-5814, CVE-2009-0754  - adjust php.conf to use -zts SAPI build for worker MPM
883    (#487371)  
884    * Wed Feb  4 2009 Joe Orton <jorton@redhat.com> 5.2.8-8
885    - fix patch fuzz, renumber patches
886    
887    * Wed Feb  4 2009 Joe Orton <jorton@redhat.com> 5.2.8-7
888    - drop obsolete configure args
889    - drop -odbc patch (#483690)
890    
891    * Mon Jan 26 2009 Joe Orton <jorton@redhat.com> 5.2.8-5
892    - split out sysvshm, sysvsem, sysvmsg, posix into php-process
893    
894    * Sun Jan 25 2009 Joe Orton <jorton@redhat.com> 5.2.8-4
895    - move wddx to php-xml, build curl shared in -common
896    - remove BR for expat-devel, bogus configure option
897    
898    * Fri Jan 23 2009 Joe Orton <jorton@redhat.com> 5.2.8-3
899    - rebuild for new MySQL
900    
901  * Fri May  9 2008 Joe Orton <jorton@redhat.com> 5.2.6-2.el5s2  * Sat Dec 13 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.8-2
902    - libtool 2 workaround for phpize (#476004)
903    - add missing php_embed.h (#457777)
904    
905    * Tue Dec 09 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.8-1
906    - update to 5.2.8
907    
908    * Sat Dec 06 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.7-1.1
909    - libtool 2 workaround
910    
911    * Fri Dec 05 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.7-1
912    - update to 5.2.7
913    - enable pdo_dblib driver in php-mssql
914    
915    * Mon Nov 24 2008 Joe Orton <jorton@redhat.com> 5.2.6-7
916    - tweak Summary, thanks to Richard Hughes
917    
918    * Tue Nov  4 2008 Joe Orton <jorton@redhat.com> 5.2.6-6
919    - move gd_README to php-gd
920    - update to r4 of systzdata patch; introduces a default timezone
921      name of "System/Localtime", which uses /etc/localtime (#469532)
922    
923    * Sat Sep 13 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.6-5
924    - enable XPM support in php-gd
925    - Fix BR for php-gd
926    
927    * Sun Jul 20 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.6-4
928    - enable T1lib support in php-gd
929    
930    * Mon Jul 14 2008 Joe Orton <jorton@redhat.com> 5.2.6-3
931  - update to 5.2.6  - update to 5.2.6
932    - sync default php.ini with upstream
933    - drop extension_dir from default php.ini, rely on hard-coded
934      default, to make php-common multilib-safe (#455091)
935    - update to r3 of systzdata patch
936    
937    * Thu Apr 24 2008 Joe Orton <jorton@redhat.com> 5.2.5-7
938    - split pspell extension out into php-spell (#443857)
939    
940  * 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
941  - rebuild for StackV2  - Autorebuild for GCC 4.3
942    
943  * 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
944  - 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