/[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.3 by slords, Mon Jun 20 19:27:01 2011 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: 1%{?dist}.1
22  License: PHP  License: PHP and LGPLv2 and LGPLv2+
23  Group: Development/Languages  Group: Development/Languages
24  URL: http://www.php.net/  URL: http://www.php.net/
25    
# Line 18  Source1: php.conf Line 28  Source1: php.conf
28  Source2: php.ini  Source2: php.ini
29  Source3: macros.php  Source3: macros.php
30    
31  Patch1: php-5.2.4-gnusrc.patch  # Build fixes
32  Patch2: php-4.3.3-install.patch  Patch1: php-5.3.3-gnusrc.patch
33    Patch2: php-5.3.0-install.patch
34  Patch3: php-5.2.4-norpath.patch  Patch3: php-5.2.4-norpath.patch
35  Patch5: php-5.0.2-phpize64.patch  Patch4: php-5.3.0-phpize64.patch
36  Patch8: php-5.2.0-includedir.patch  Patch5: php-5.2.0-includedir.patch
37  Patch9: php-5.2.4-embed.patch  Patch8: php-5.3.3-aconf26x.patch
38    
39  # Fixes for extension modules  # Fixes for extensions
40  Patch21: php-5.2.4-odbc.patch  Patch20: php-4.3.11-shutdown.patch
 Patch22: php-4.3.11-shutdown.patch  
 Patch24: php-5.2.3-macropen.patch  
41    
42  # Functional changes  # Functional changes
43  Patch30: php-5.0.4-dlopen.patch  Patch40: php-5.0.4-dlopen.patch
44  Patch31: php-5.2.4-easter.patch  Patch41: php-5.3.0-easter.patch
45  Patch32: php-5.2.5-systzdata.patch  Patch42: php-5.3.1-systzdata-v7.patch
46    
47  # Fixes for tests  # Fixes for tests
48  Patch51: php-5.0.4-tests-wddx.patch  Patch61: php-5.0.4-tests-wddx.patch
49    Patch62: php-5.3.2-testfail.patch
50    
51    # Bug fixes
52    Patch100: php-5.3.2-r305570.patch
53    Patch101: php-5.3.3-r305043.patch
54    
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    
62  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
63    
64  BuildRequires: bzip2-devel, curl-devel >= 7.9, db4-devel, expat-devel  BuildRequires: bzip2-devel, curl-devel >= 7.9, db4-devel, gmp-devel
65  BuildRequires: gmp-devel, aspell-devel >= 0.50.0  BuildRequires: httpd-devel >= 2.0.46-1, pam-devel
66  BuildRequires: httpd-devel >= 2.0.46-1, libjpeg-devel, libpng-devel, pam-devel  BuildRequires: libstdc++-devel, openssl-devel, sqlite-devel
67  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  
68  BuildRequires: bzip2, perl, libtool >= 1.4.3, gcc-c++  BuildRequires: bzip2, perl, libtool >= 1.4.3, gcc-c++
69  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)  
70  Provides: mod_php = %{version}-%{release}  Provides: mod_php = %{version}-%{release}
71  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
72  # For backwards-compatibility, require php-cli for the time being:  # For backwards-compatibility, require php-cli for the time being:
73  Requires: php-cli = %{version}-%{release}  Requires: %{name}-cli = %{version}-%{release}
74  # To ensure correct /var/lib/php/session ownership:  # To ensure correct /var/lib/php/session ownership:
75  Requires(pre): httpd  Requires(pre): httpd
76    
# Line 70  language to Apache HTTP Server. Line 88  language to Apache HTTP Server.
88  %package cli  %package cli
89  Group: Development/Languages  Group: Development/Languages
90  Summary: Command-line interface for PHP  Summary: Command-line interface for PHP
91  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
92  Provides: php-cgi = %{version}-%{release}  Provides: php-cgi = %{version}-%{release}, php-cli = %{version}-%{release}
93  Provides: php-pcntl, php-readline  Provides: php-pcntl
94    
95  %description cli  %description cli
96  The php-cli package contains the command-line interface  The php-cli package contains the command-line interface
# Line 83  Group: Development/Languages Line 101  Group: Development/Languages
101  Summary: Common files for PHP  Summary: Common files for PHP
102  Provides: php-api = %{apiver}, php-zend-abi = %{zendver}  Provides: php-api = %{apiver}, php-zend-abi = %{zendver}
103  Provides: php(api) = %{apiver}, php(zend-abi) = %{zendver}  Provides: php(api) = %{apiver}, php(zend-abi) = %{zendver}
104    Conflicts: php-common
105  # Provides for all builtin modules:  # Provides for all builtin modules:
106  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
107  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  
108  Provides: php-reflection, php-session, php-shmop, php-simplexml, php-sockets  Provides: php-reflection, php-session, php-shmop, php-simplexml, php-sockets
109  Provides: php-spl, php-sysvsem, php-sysvshm, php-sysvmsg, php-tokenizer  Provides: php-spl, php-tokenizer, php-openssl, php-pcre
110  Provides: php-wddx, php-zlib, php-json, php-zip, php-dbase  Provides: php-zlib, php-json, php-zip, php-fileinfo
111  Obsoletes: php-openssl, php-pecl-zip, php-json, php-dbase  # For obsoleted pecl extension
112    Provides: php-pecl-json = %{jsonver}, php-pecl(json) = %{jsonver}
113    Provides: php-pecl-zip = %{zipver}, php-pecl(zip) = %{zipver}
114    Provides: php-pecl-phar = %{pharver}, php-pecl(phar) = %{pharver}
115    Provides: php-pecl-Fileinfo = %{fileinfover}, php-pecl(Fileinfo) = %{fileinfover}
116    
117  %description common  %description common
118  The php-common package contains files used by both the php  The %{name}-common package contains files used by both the php
119  package and the php-cli package.  package and the php-cli package.
120    
121  %package devel  %package devel
122  Group: Development/Libraries  Group: Development/Libraries
123  Summary: Files needed for building PHP extensions  Summary: Files needed for building PHP extensions
124  Requires: php = %{version}-%{release}, autoconf, automake  Requires: %{name} = %{version}-%{release}, autoconf, automake
125  Obsoletes: php-pecl-pdo-devel  Provides: php-devel = %{version}-%{release}
126    
127  %description devel  %description devel
128  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 132  need to install this package.
132  %package imap  %package imap
133  Summary: A module for PHP applications that use IMAP  Summary: A module for PHP applications that use IMAP
134  Group: Development/Languages  Group: Development/Languages
135  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
 Obsoletes: mod_php3-imap, stronghold-php-imap  
136  BuildRequires: krb5-devel, openssl-devel, libc-client-devel  BuildRequires: krb5-devel, openssl-devel, libc-client-devel
137    
138  %description imap  %description imap
139  The php-imap package contains a dynamic shared object (DSO) for the  The php-imap package contains a dynamic shared object that will
140  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.  
141    
142  %package ldap  %package ldap
143  Summary: A module for PHP applications that use LDAP  Summary: A module for PHP applications that use LDAP
144  Group: Development/Languages  Group: Development/Languages
145  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
 Obsoletes: mod_php3-ldap, stronghold-php-ldap  
146  BuildRequires: cyrus-sasl-devel, openldap-devel, openssl-devel  BuildRequires: cyrus-sasl-devel, openldap-devel, openssl-devel
147    
148  %description ldap  %description ldap
# Line 141  need to install this package in addition Line 156  need to install this package in addition
156  %package pdo  %package pdo
157  Summary: A database access abstraction module for PHP applications  Summary: A database access abstraction module for PHP applications
158  Group: Development/Languages  Group: Development/Languages
159  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
 Obsoletes: php-pecl-pdo-sqlite, php-pecl-pdo  
160  Provides: php-pdo-abi = %{pdover}  Provides: php-pdo-abi = %{pdover}
161    Provides: php-pdo_sqlite
162    
163  %description pdo  %description pdo
164  The php-pdo package contains a dynamic shared object that will add  The %{name}-pdo package contains a dynamic shared object that will add
165  a database access abstraction layer to PHP.  This module provides  a database access abstraction layer to PHP.  This module provides
166  a common interface for accessing MySQL, PostgreSQL or other  a common interface for accessing MySQL, PostgreSQL or other
167  databases.  databases.
# Line 154  databases. Line 169  databases.
169  %package mysql  %package mysql
170  Summary: A module for PHP applications that use MySQL databases  Summary: A module for PHP applications that use MySQL databases
171  Group: Development/Languages  Group: Development/Languages
172  Requires: php-common = %{version}-%{release}, php-pdo  Requires: %{name}-common = %{version}-%{release}, %{name}-pdo
173  Provides: php_database, php-mysqli  Provides: php_database, php-mysqli, php-pdo_mysql
 Obsoletes: mod_php3-mysql, stronghold-php-mysql  
174  BuildRequires: mysql-devel >= 4.1.0  BuildRequires: mysql-devel >= 4.1.0
175    
176  %description mysql  %description mysql
# Line 169  this package and the php package. Line 183  this package and the php package.
183  %package pgsql  %package pgsql
184  Summary: A PostgreSQL database module for PHP  Summary: A PostgreSQL database module for PHP
185  Group: Development/Languages  Group: Development/Languages
186  Requires: php-common = %{version}-%{release}, php-pdo  Requires: %{name}-common = %{version}-%{release}, %{name}-pdo
187  Provides: php_database  Provides: php_database, php-pdo_pgsql
 Obsoletes: mod_php3-pgsql, stronghold-php-pgsql  
188  BuildRequires: krb5-devel, openssl-devel, postgresql-devel  BuildRequires: krb5-devel, openssl-devel, postgresql-devel
189    
190  %description pgsql  %description pgsql
# Line 183  HTML-embedded scripting language. If you Line 196  HTML-embedded scripting language. If you
196  PostgreSQL, you should install this package in addition to the main  PostgreSQL, you should install this package in addition to the main
197  php package.  php package.
198    
199    %package process
200    Summary: Modules for PHP script using system process interfaces
201    Group: Development/Languages
202    Requires: %{name}-common = %{version}-%{release}
203    Provides: php-posix, php-sysvsem, php-sysvshm, php-sysvmsg
204    
205    %description process
206    The php-process package contains dynamic shared objects which add
207    support to PHP using system interfaces for inter-process
208    communication.
209    
210  %package odbc  %package odbc
211  Group: Development/Languages  Group: Development/Languages
212  Requires: php-common = %{version}-%{release}, php-pdo  Requires: %{name}-common = %{version}-%{release}, %{name}-pdo
213  Summary: A module for PHP applications that use ODBC databases  Summary: A module for PHP applications that use ODBC databases
214  Provides: php_database  Provides: php_database, php-pdo_odbc
 Obsoletes: stronghold-php-odbc  
215  BuildRequires: unixODBC-devel  BuildRequires: unixODBC-devel
216    
217  %description odbc  %description odbc
# Line 202  package. Line 225  package.
225    
226  %package soap  %package soap
227  Group: Development/Languages  Group: Development/Languages
228  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
229  Summary: A module for PHP applications that use the SOAP protocol  Summary: A module for PHP applications that use the SOAP protocol
230  BuildRequires: libxml2-devel  BuildRequires: libxml2-devel
231    
# Line 213  support to PHP for using the SOAP web se Line 236  support to PHP for using the SOAP web se
236  %package snmp  %package snmp
237  Summary: A module for PHP applications that query SNMP-managed devices  Summary: A module for PHP applications that query SNMP-managed devices
238  Group: Development/Languages  Group: Development/Languages
239  Requires: php-common = %{version}-%{release}, net-snmp  Requires: %{name}-common = %{version}-%{release}, net-snmp
240  BuildRequires: net-snmp-devel  BuildRequires: net-snmp-devel
241    
242  %description snmp  %description snmp
# Line 225  will need to install this package and th Line 248  will need to install this package and th
248  %package xml  %package xml
249  Summary: A module for PHP applications which use XML  Summary: A module for PHP applications which use XML
250  Group: Development/Languages  Group: Development/Languages
251  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
252  Obsoletes: php-domxml, php-dom  Provides: php-dom, php-xsl, php-domxml, php-wddx
 Provides: php-dom, php-xsl, php-domxml  
253  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
254    
255  %description xml  %description xml
# Line 238  and performing XSL transformations on XM Line 260  and performing XSL transformations on XM
260  %package xmlrpc  %package xmlrpc
261  Summary: A module for PHP applications which use the XML-RPC protocol  Summary: A module for PHP applications which use the XML-RPC protocol
262  Group: Development/Languages  Group: Development/Languages
263  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
 BuildRequires: expat-devel  
264    
265  %description xmlrpc  %description xmlrpc
266  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 269  support for the XML-RPC protocol to PHP.
269  %package mbstring  %package mbstring
270  Summary: A module for PHP applications which need multi-byte string handling  Summary: A module for PHP applications which need multi-byte string handling
271  Group: Development/Languages  Group: Development/Languages
272  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
273    
274  %description mbstring  %description mbstring
275  The php-mbstring package contains a dynamic shared object that will add  The php-mbstring package contains a dynamic shared object that will add
276  support for multi-byte string handling to PHP.  support for multi-byte string handling to PHP.
277    
 %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.  
   
278  %package gd  %package gd
279  Summary: A module for PHP applications for using the gd graphics library  Summary: A module for PHP applications for using the gd graphics library
280  Group: Development/Languages  Group: Development/Languages
281  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
282  BuildRequires: gd-devel, freetype-devel  # Required to build the bundled GD library
283    BuildRequires: libXpm-devel, libjpeg-devel, libpng-devel, freetype-devel
284    
285  %description gd  %description gd
286  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 289  support for using the gd graphics librar
289  %package bcmath  %package bcmath
290  Summary: A module for PHP applications for using the bcmath library  Summary: A module for PHP applications for using the bcmath library
291  Group: Development/Languages  Group: Development/Languages
292  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
293    
294  %description bcmath  %description bcmath
295  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 298  support for using the bcmath library to
298  %package dba  %package dba
299  Summary: A database abstraction layer module for PHP applications  Summary: A database abstraction layer module for PHP applications
300  Group: Development/Languages  Group: Development/Languages
301  Requires: php-common = %{version}-%{release}  Requires: %{name}-common = %{version}-%{release}
302    
303  %description dba  %description dba
304  The php-dba package contains a dynamic shared object that will add  The php-dba package contains a dynamic shared object that will add
305  support for using the DBA database abstraction layer to PHP.  support for using the DBA database abstraction layer to PHP.
306    
307    %package pspell
308    Summary: A module for PHP applications for using pspell interfaces
309    Group: System Environment/Libraries
310    Requires: %{name}-common = %{version}-%{release}
311    BuildRequires: aspell-devel >= 0.50.0
312    
313    %description pspell
314    The php-pspell package contains a dynamic shared object that will add
315    support for using the pspell library to PHP.
316    
317    %package intl
318    Summary: Internationalization extension for PHP applications
319    Group: System Environment/Libraries
320    Requires: %{name}-common = %{version}-%{release}
321    BuildRequires: libicu-devel >= 3.6
322    
323    %description intl
324    The php-intl package contains a dynamic shared object that will add
325    support for using the ICU library to PHP.
326    
327  %prep  %prep
328  %setup -q  %setup -q -n php-%{version}
329  %patch1 -p1 -b .gnusrc  %patch1 -p1 -b .gnusrc
330  %patch2 -p1 -b .install  %patch2 -p1 -b .install
331  %patch3 -p1 -b .norpath  %patch3 -p1 -b .norpath
332  %patch5 -p1 -b .phpize64  %patch4 -p1 -b .phpize64
333  %patch8 -p1 -b .includedir  %patch5 -p1 -b .includedir
334  %patch9 -p1 -b .embed  %patch8 -p1 -b .aconf26x
335    
336  %patch21 -p1 -b .odbc  %patch20 -p1 -b .shutdown
 %patch22 -p1 -b .shutdown  
 %patch24 -p1 -b .macropen  
   
 %patch30 -p1 -b .dlopen  
 %patch31 -p1 -b .easter  
 %patch32 -p1 -b .systzdata  
337    
338  %patch51 -p1 -b .tests-wddx  %patch40 -p1 -b .dlopen
339    %patch41 -p1 -b .easter
340    %patch42 -p1 -b .systzdata
341    
342    %patch61 -p1 -b .tests-wddx
343    %patch62 -p1 -b .testfail
344    
345    %patch100 -p1 -b .r305570
346    %patch101 -p1 -b .r305043
347    
348    %patch207 -p1 -b .cve3709
349    %patch208 -p1 -b .cve3870
350    
351    %patch209 -p1 -b .cve4156
352    %patch210 -p1 -b .cve3710
353    %patch211 -p1 -b .cve4645
354    
355  # Prevent %%doc confusion over LICENSE files  # Prevent %%doc confusion over LICENSE files
356  cp Zend/LICENSE Zend/ZEND_LICENSE  cp -p Zend/LICENSE Zend/ZEND_LICENSE
357  cp TSRM/LICENSE TSRM_LICENSE  cp -p TSRM/LICENSE TSRM_LICENSE
358  cp regex/COPYRIGHT regex_COPYRIGHT  cp -p ext/ereg/regex/COPYRIGHT regex_COPYRIGHT
359  cp ext/gd/libgd/README gd_README  cp -p ext/gd/libgd/README gd_README
360    
361  # Source is built twice: once for /usr/bin/php, once for the Apache DSO.  # Multiple builds for multiple SAPIs
362  mkdir build-cgi build-apache  mkdir build-cgi build-apache
363    
364  # 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 369  rm -f ext/standard/tests/file/bug21131.p
369  rm -f ext/standard/tests/file/bug22414.phpt \  rm -f ext/standard/tests/file/bug22414.phpt \
370        ext/iconv/tests/bug16069.phpt        ext/iconv/tests/bug16069.phpt
371    
372    # Remove tests which require external network access
373    rm -f ext/sockets/tests/socket_bind.diff
374    
375    # Easter eggs no not shipped
376    rm -f tests/basic/php_egg_logo_guid.diff
377    
378  # Safety check for API version change.  # Safety check for API version change.
379  vapi=`sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h`  vapi=`sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h`
380  if test "x${vapi}" != "x%{apiver}"; then  if test "x${vapi}" != "x%{apiver}"; then
# Line 351  if test "x${vpdo}" != "x%{pdover}"; then Line 398  if test "x${vpdo}" != "x%{pdover}"; then
398     exit 1     exit 1
399  fi  fi
400    
401    # Check for some extension version
402    ver=$(sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h)
403    if test "$ver" != "%{fileinfover}"; then
404       : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
405       : Update the fileinfover macro and rebuild.
406       exit 1
407    fi
408    ver=$(sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h)
409    if test "$ver" != "%{pharver}"; then
410       : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
411       : Update the pharver macro and rebuild.
412       exit 1
413    fi
414    ver=$(sed -n '/#define PHP_ZIP_VERSION_STRING /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
415    if test "$ver" != "%{zipver}"; then
416       : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
417       : Update the zipver macro and rebuild.
418       exit 1
419    fi
420    ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h)
421    if test "$ver" != "%{jsonver}"; then
422       : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
423       : Update the jsonver macro and rebuild.
424       exit 1
425    fi
426    
427    # Fix some bogus permissions
428    find . -name \*.[ch] -exec chmod 644 {} \;
429    chmod 644 README.*
430    
431  %build  %build
432    # aclocal workaround - to be improved
433    cat `aclocal --print-ac-dir`/libtool.m4 >>aclocal.m4
434    
435  # Force use of system libtool:  # Force use of system libtool:
436  libtoolize --force --copy  libtoolize --force --copy
437  cat `aclocal --print-ac-dir`/libtool.m4 > build/libtool.m4  cat `aclocal --print-ac-dir`/libtool.m4 >build/libtool.m4
438    
439  # Regenerate configure scripts (patches change config.m4's)  # Regenerate configure scripts (patches change config.m4's)
440    touch configure.in
441  ./buildconf --force  ./buildconf --force
442    
443  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 466  ln -sf ../configure
466          --disable-rpath \          --disable-rpath \
467          --without-pear \          --without-pear \
468          --with-bz2 \          --with-bz2 \
         --with-curl \  
469          --with-exec-dir=%{_bindir} \          --with-exec-dir=%{_bindir} \
470          --with-freetype-dir=%{_prefix} \          --with-freetype-dir=%{_prefix} \
471          --with-png-dir=%{_prefix} \          --with-png-dir=%{_prefix} \
472            --with-xpm-dir=%{_prefix} \
473          --enable-gd-native-ttf \          --enable-gd-native-ttf \
474          --without-gdbm \          --without-gdbm \
475          --with-gettext \          --with-gettext \
# Line 396  ln -sf ../configure Line 477  ln -sf ../configure
477          --with-iconv \          --with-iconv \
478          --with-jpeg-dir=%{_prefix} \          --with-jpeg-dir=%{_prefix} \
479          --with-openssl \          --with-openssl \
         --with-png \  
         --with-pspell \  
         --with-expat-dir=%{_prefix} \  
480          --with-pcre-regex=%{_prefix} \          --with-pcre-regex=%{_prefix} \
481          --with-zlib \          --with-zlib \
482          --with-layout=GNU \          --with-layout=GNU \
# Line 407  ln -sf ../configure Line 485  ln -sf ../configure
485          --enable-magic-quotes \          --enable-magic-quotes \
486          --enable-sockets \          --enable-sockets \
487          --enable-sysvsem --enable-sysvshm --enable-sysvmsg \          --enable-sysvsem --enable-sysvshm --enable-sysvmsg \
         --enable-track-vars \  
         --enable-trans-sid \  
         --enable-yp \  
         --enable-wddx \  
488          --with-kerberos \          --with-kerberos \
489          --enable-ucd-snmp-hack \          --enable-ucd-snmp-hack \
         --with-unixODBC=shared,%{_prefix} \  
         --enable-memory-limit \  
490          --enable-shmop \          --enable-shmop \
491          --enable-calendar \          --enable-calendar \
         --enable-dbx \  
         --enable-dio \  
         --without-mime-magic \  
492          --without-sqlite \          --without-sqlite \
493            --without-sqlite3 \
494          --with-libxml-dir=%{_prefix} \          --with-libxml-dir=%{_prefix} \
495          --with-xml \          --enable-xml \
496          --with-system-tzdata \          --with-system-tzdata \
497          $*          $*
498  if test $? != 0; then  if test $? != 0; then
# Line 439  pushd build-cgi Line 509  pushd build-cgi
509  build --enable-force-cgi-redirect \  build --enable-force-cgi-redirect \
510        --enable-pcntl \        --enable-pcntl \
511        --with-imap=shared --with-imap-ssl \        --with-imap=shared --with-imap-ssl \
512        --enable-mbstring=shared --enable-mbstr-enc-trans \        --enable-mbstring=shared \
513        --enable-mbregex \        --enable-mbregex \
       --with-ncurses=shared \  
514        --with-gd=shared \        --with-gd=shared \
515        --enable-bcmath=shared \        --enable-bcmath=shared \
516        --enable-dba=shared --with-db4=%{_prefix} \        --enable-dba=shared --with-db4=%{_prefix} \
517        --with-xmlrpc=shared \        --with-xmlrpc=shared \
518        --with-ldap=shared --with-ldap-sasl \        --with-ldap=shared --with-ldap-sasl \
519        --with-mysql=shared,%{_prefix} \        --with-mysql=shared,%{_prefix} \
520        --with-mysqli=shared,%{_bindir}/mysql_config \        --with-mysqli=shared,%{mysql_config} \
521        --enable-dom=shared \        --enable-dom=shared \
       --with-dom-xslt=%{_prefix} --with-dom-exslt=%{_prefix} \  
522        --with-pgsql=shared \        --with-pgsql=shared \
523          --enable-wddx=shared \
524        --with-snmp=shared,%{_prefix} \        --with-snmp=shared,%{_prefix} \
525        --enable-soap=shared \        --enable-soap=shared \
526        --with-xsl=shared,%{_prefix} \        --with-xsl=shared,%{_prefix} \
527        --enable-xmlreader=shared --enable-xmlwriter=shared \        --enable-xmlreader=shared --enable-xmlwriter=shared \
528          --with-curl=shared,%{_prefix} \
529        --enable-fastcgi \        --enable-fastcgi \
530        --enable-pdo=shared \        --enable-pdo=shared \
531        --with-pdo-odbc=shared,unixODBC,%{_prefix} \        --with-pdo-odbc=shared,unixODBC,%{_prefix} \
532        --with-pdo-mysql=shared,%{_prefix} \        --with-pdo-mysql=shared,%{mysql_config} \
533        --with-pdo-pgsql=shared,%{_prefix} \        --with-pdo-pgsql=shared,%{_prefix} \
534        --with-pdo-sqlite=shared,%{_prefix} \        --with-pdo-sqlite=shared,%{_prefix} \
535        --enable-json=shared \        --enable-json=shared \
536        --enable-zip=shared \        --enable-zip=shared \
537        --with-readline \        --without-readline \
538        --enable-dbase=shared        --with-pspell=shared \
539          --enable-phar=shared \
540          --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \
541          --enable-posix=shared \
542          --with-unixODBC=shared,%{_prefix} \
543          --enable-fileinfo=shared \
544          --enable-intl=shared \
545          --with-icu-dir=%{_prefix}
546  popd  popd
547    
548    without_shared="--without-mysql --without-gd \
549          --disable-dom --disable-dba --without-unixODBC \
550          --disable-pdo --disable-xmlreader --disable-xmlwriter \
551          --without-sqlite3 --disable-phar --disable-fileinfo \
552          --disable-json --without-pspell --disable-wddx \
553          --without-curl --disable-posix \
554          --disable-sysvmsg --disable-sysvshm --disable-sysvsem"
555    
556  # Build Apache module, and the CLI SAPI, /usr/bin/php  # Build Apache module, and the CLI SAPI, /usr/bin/php
557  pushd build-apache  pushd build-apache
558  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  
559  popd  popd
560    
561  %check  %check
# Line 488  if ! make test; then Line 568  if ! make test; then
568    for f in `find .. -name \*.diff -type f -print`; do    for f in `find .. -name \*.diff -type f -print`; do
569      echo "TEST FAILURE: $f --"      echo "TEST FAILURE: $f --"
570      cat "$f"      cat "$f"
571      echo "-- $f result ends."      echo -e "\n-- $f result ends.\n"
572    done    done
573    set -x    set -x
574    #exit 1    #exit 1
# Line 501  unset NO_INTERACTION REPORT_EXIT_STATUS Line 581  unset NO_INTERACTION REPORT_EXIT_STATUS
581  # Install everything from the CGI SAPI build  # Install everything from the CGI SAPI build
582  make -C build-cgi install INSTALL_ROOT=$RPM_BUILD_ROOT  make -C build-cgi install INSTALL_ROOT=$RPM_BUILD_ROOT
583    
 # Install the Apache module  
 make -C build-apache install-sapi INSTALL_ROOT=$RPM_BUILD_ROOT  
   
584  # Install the default configuration file and icons  # Install the default configuration file and icons
585  install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/  install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/
586  install -m 644 $RPM_SOURCE_DIR/php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini  install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
587  install -m 755 -d $RPM_BUILD_ROOT%{contentdir}/icons  install -m 755 -d $RPM_BUILD_ROOT%{contentdir}/icons
588  install -m 644    *.gif $RPM_BUILD_ROOT%{contentdir}/icons/  install -m 644    *.gif $RPM_BUILD_ROOT%{contentdir}/icons/
589    
# Line 514  install -m 644    *.gif $RPM_BUILD_ROOT% Line 591  install -m 644    *.gif $RPM_BUILD_ROOT%
591  install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/php/pear \  install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/php/pear \
592                    $RPM_BUILD_ROOT%{_datadir}/php                    $RPM_BUILD_ROOT%{_datadir}/php
593    
 # Use correct libdir  
 sed -i -e 's|%{_prefix}/lib|%{_libdir}|' $RPM_BUILD_ROOT%{_sysconfdir}/php.ini  
   
594  # install the DSO  # install the DSO
595  install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/httpd/modules  install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/httpd/modules
596  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
597    
598  # Apache config fragment  # Apache config fragment
599  install -m 755 -d $RPM_BUILD_ROOT/etc/httpd/conf.d  install -m 755 -d $RPM_BUILD_ROOT/etc/httpd/conf.d
600    # %{SOURCE1} used here ->
601  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
602    
603  install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php.d  install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/php.d
604  install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php  install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php
605  install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/session  install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/session
606    
607    # Fix the link
608    (cd $RPM_BUILD_ROOT%{_bindir}; ln -sfn phar.phar phar)
609    
610  # Generate files lists and stub .ini files for each subpackage  # Generate files lists and stub .ini files for each subpackage
611  for mod in pgsql mysql mysqli odbc ldap snmp xmlrpc imap \  for mod in pgsql mysql mysqli odbc ldap snmp xmlrpc imap \
612      mbstring ncurses gd dom xsl soap bcmath dba xmlreader xmlwriter \      mbstring gd dom xsl soap bcmath dba xmlreader xmlwriter \
613      pdo pdo_mysql pdo_pgsql pdo_odbc pdo_sqlite json zip \      pdo pdo_mysql pdo_pgsql pdo_odbc pdo_sqlite json zip \
614      dbase; do      phar fileinfo intl pspell curl wddx \
615        posix sysvshm sysvsem sysvmsg; do
616      cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${mod}.ini <<EOF      cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${mod}.ini <<EOF
617  ; Enable ${mod} extension module  ; Enable ${mod} extension module
618  extension=${mod}.so  extension=${mod}.so
# Line 545  EOF Line 624  EOF
624  done  done
625    
626  # The dom, xsl and xml* modules are all packaged in php-xml  # The dom, xsl and xml* modules are all packaged in php-xml
627  cat files.dom files.xsl files.xml{reader,writer} > files.xml  cat files.dom files.xsl files.xml{reader,writer} files.wddx > files.xml
628    
629  # The mysql and mysqli modules are both packaged in php-mysql  # The mysql and mysqli modules are both packaged in php-mysql
630  cat files.mysqli >> files.mysql  cat files.mysqli >> files.mysql
# Line 555  cat files.pdo_mysql >> files.mysql Line 634  cat files.pdo_mysql >> files.mysql
634  cat files.pdo_pgsql >> files.pgsql  cat files.pdo_pgsql >> files.pgsql
635  cat files.pdo_odbc >> files.odbc  cat files.pdo_odbc >> files.odbc
636    
637  # Package pdo_sqlite with pdo; isolating the sqlite dependency  # sysv* and posix in packaged in php-process
638  # isn't useful at this time since rpm itself requires sqlite.  cat files.sysv* files.posix > files.process
639    
640    # Package pdo_sqlite with pdo.
641  cat files.pdo_sqlite >> files.pdo  cat files.pdo_sqlite >> files.pdo
642    
643  # Package json, dbase and zip in -common.  # Package json, zip, curl, phar and fileinfo in -common.
644  cat files.json files.dbase files.zip > files.common  cat files.json files.zip files.curl files.phar files.fileinfo > files.common
645    
646  # Install the macros file:  # Install the macros file:
647  install -d $RPM_BUILD_ROOT%{_sysconfdir}/rpm  install -d $RPM_BUILD_ROOT%{_sysconfdir}/rpm
648    # %{SOURCE3} used here ->
649  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}/" \
650      < $RPM_SOURCE_DIR/macros.php > macros.php      < $RPM_SOURCE_DIR/macros.php > macros.php
651  install -m 644 -c macros.php \  install -m 644 -c macros.php \
# Line 572  install -m 644 -c macros.php \ Line 654  install -m 644 -c macros.php \
654  # Remove unpackaged files  # Remove unpackaged files
655  rm -rf $RPM_BUILD_ROOT%{_libdir}/php/modules/*.a \  rm -rf $RPM_BUILD_ROOT%{_libdir}/php/modules/*.a \
656         $RPM_BUILD_ROOT%{_bindir}/{phptar} \         $RPM_BUILD_ROOT%{_bindir}/{phptar} \
657         $RPM_BUILD_ROOT%{_datadir}/pear         $RPM_BUILD_ROOT%{_datadir}/pear \
658           $RPM_BUILD_ROOT%{_libdir}/libphp5.la
659    
660  # Remove irrelevant docs  # Remove irrelevant docs
661  rm -f README.{Zeus,QNX,CVS-RULES}  rm -f README.{Zeus,QNX,CVS-RULES}
# Line 590  rm files.* macros.php Line 673  rm files.* macros.php
673    
674  %files common -f files.common  %files common -f files.common
675  %defattr(-,root,root)  %defattr(-,root,root)
676  %doc CODING_STANDARDS CREDITS EXTENSIONS INSTALL LICENSE NEWS README*  %doc CODING_STANDARDS CREDITS INSTALL LICENSE NEWS README*
677  %doc Zend/ZEND_* gd_README TSRM_LICENSE regex_COPYRIGHT  %doc Zend/ZEND_* TSRM_LICENSE regex_COPYRIGHT
678    %doc php.ini-*
679  %config(noreplace) %{_sysconfdir}/php.ini  %config(noreplace) %{_sysconfdir}/php.ini
680  %dir %{_sysconfdir}/php.d  %dir %{_sysconfdir}/php.d
681  %dir %{_libdir}/php  %dir %{_libdir}/php
# Line 604  rm files.* macros.php Line 688  rm files.* macros.php
688  %defattr(-,root,root)  %defattr(-,root,root)
689  %{_bindir}/php  %{_bindir}/php
690  %{_bindir}/php-cgi  %{_bindir}/php-cgi
691    %{_bindir}/phar.phar
692    %{_bindir}/phar
693  %{_mandir}/man1/php.1*  %{_mandir}/man1/php.1*
694  %doc sapi/cgi/README* sapi/cli/README  %doc sapi/cgi/README* sapi/cli/README
695    
# Line 626  rm files.* macros.php Line 712  rm files.* macros.php
712  %files xml -f files.xml  %files xml -f files.xml
713  %files xmlrpc -f files.xmlrpc  %files xmlrpc -f files.xmlrpc
714  %files mbstring -f files.mbstring  %files mbstring -f files.mbstring
715  %files ncurses -f files.ncurses  %defattr(-,root,root)
716    %doc ext/mbstring/libmbfl/DISCLAIMER ext/mbstring/libmbfl/LICENSE
717  %files gd -f files.gd  %files gd -f files.gd
718    %defattr(-,root,root)
719    %doc gd_README
720  %files soap -f files.soap  %files soap -f files.soap
721  %files bcmath -f files.bcmath  %files bcmath -f files.bcmath
722    %defattr(-,root,root)
723    %doc ext/bcmath/libbcmath/COPYING.LIB
724  %files dba -f files.dba  %files dba -f files.dba
725  %files pdo -f files.pdo  %files pdo -f files.pdo
726    %files pspell -f files.pspell
727    %files intl -f files.intl
728    %files process -f files.process
729    
730  %changelog  %changelog
731  * Mon Aug 10 2009 Joe Orton <jorton@redhat.com> 5.2.10-1.el5s2  * Wed Jan 19 2011 Joe Orton <jorton@redhat.com> - 5.3.3-1.1
732  - update to 5.2.10  - add security fixes for CVE-2010-3710, CVE-2010-4156,
733      CVE-2010-4645 (#670463)
734    
735  * Wed Apr 15 2009 Joe Orton <jorton@redhat.com> 5.2.9-2.el5s2  * Wed Dec  1 2010 Joe Orton <jorton@redhat.com> - 5.3.3-1
736  - update to r3 of systzdata patch  - update to 5.3.3 (#658315)
737    
738    * Mon Nov 22 2010 Joe Orton <jorton@redhat.com> - 5.3.2-7
739    - prevent extract() from clobering $GLOBALS (#655330)
740    
741    * Wed Nov 10 2010 Joe Orton <jorton@redhat.com> - 5.3.2-6
742    - add security fixes for CVE-2010-3870 CVE-2010-3709 (#650877)
743    - provide php-devel from -devel (#642701)
744    
745    * Mon Nov  1 2010 Joe Orton <jorton@redhat.com> - 5.3.2-5
746    - use correct mysql_config for pdo-mysql also (#642701)
747    
748  * Tue Apr 14 2009 Joe Orton <jorton@redhat.com> 5.2.9-1.el5s2  * Thu Sep 30 2010 Joe Orton <jorton@redhat.com> - 5.3.2-4
749    - use mysql_config from libdir
750    
751    * Tue Sep  7 2010 Joe Orton <jorton@redhat.com> - 5.3.2-3
752    - add defattr for -mbstring and -bcmath
753    
754    * Tue Sep  7 2010 Joe Orton <jorton@redhat.com> - 5.3.2-2
755    - add LGPLv2{,+} to License; ship text in -bcmath, -mbstring
756    - apply phar patch correctly
757    - fix permissions on sources, README.namespaces
758    - drop EXTENSIONS from %%doc
759    - fix Provides for php-cli
760    - drop inappropriate/obsolete Obsoletes
761    
762    * Thu Sep  2 2010 Joe Orton <jorton@redhat.com> - 5.3.2-1
763    - convert to php53
764    - remove subpackages: embeded, zts, tidy, recode, enchant
765    
766    * Tue Aug 17 2010 Joe Orton <jorton@redhat.com> - 5.3.2-6
767    - add security fixes for CVE-2010-1866, CVE-2010-2094, CVE-2010-1917,
768      CVE-2010-2531, MOPS-2010-060 (#624469)
769    
770    * Fri Aug 13 2010 Joe Orton <jorton@redhat.com> - 5.3.2-5
771    - add security fix for CVE-2010-0397 (#575712)
772    
773    * Thu Jun 24 2010 Joe Orton <jorton@redhat.com> - 5.3.2-4
774    - add security fix for CVE-2010-2225 (#605644)
775    
776    * Wed May  5 2010 Joe Orton <jorton@redhat.com> - 5.3.2-3
777    - restore -imap (#586050)
778    
779    * Fri Mar 26 2010 Joe Orton <jorton@redhat.com> - 5.3.2-2
780    - remove mcrypt support (#459804, #577257)
781    
782    * Wed Mar 24 2010 Joe Orton <jorton@redhat.com> - 5.3.2-1
783    - update to 5.3.2 (#575158, #575712)
784    
785    * Sat Mar 06 2010 Remi Collet <Fedora@famillecollet.com>
786    - PHP 5.3.2 Released!
787    - remove mime_magic option (now provided by fileinfo, by emu)
788    - add patch for http://bugs.php.net/50578
789    - remove patch for libedit (upstream)
790    
791    * Fri Jan 15 2010 Joe Orton <jorton@redhat.com> - 5.3.1-7
792    - add security fix for CVE-2009-4142 (#552268)
793    
794    * Fri Dec 18 2009 Joe Orton <jorton@redhat.com> - 5.3.1-6
795    - drop mssql, pdo_dblib
796    
797    * Fri Dec 11 2009 Joe Orton <jorton@redhat.com> - 5.3.1-5
798    - drop imap
799    
800    * Fri Dec 11 2009 Joe Orton <jorton@redhat.com> - 5.3.1-4
801    - drop t1lib, interbase/firebird support
802    
803    * Fri Nov 27 2009 Joe Orton <jorton@redhat.com> - 5.3.1-3
804    - update to v7 of systzdata patch
805    
806    * Wed Nov 25 2009 Joe Orton <jorton@redhat.com> - 5.3.1-2
807    - fix build with autoconf 2.6x
808    
809    * Fri Nov 20 2009 Remi Collet <Fedora@famillecollet.com> 5.3.1-1
810    - update to 5.3.1
811    - remove openssl patch (merged upstream)
812    - add provides for php-pecl-json
813    - add prod/devel php.ini in doc
814    
815    * Tue Nov 17 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 5.3.0-7
816    - use libedit instead of readline to resolve licensing issues
817    
818    * Tue Aug 25 2009 Tomas Mraz <tmraz@redhat.com> - 5.3.0-6
819    - rebuilt with new openssl
820    
821    * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-5
822    - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
823    
824    * Thu Jul 16 2009 Joe Orton <jorton@redhat.com> 5.3.0-4
825    - rediff systzdata patch
826    
827    * Thu Jul 16 2009 Joe Orton <jorton@redhat.com> 5.3.0-3
828    - update to v6 of systzdata patch; various fixes
829    
830    * Tue Jul 14 2009 Joe Orton <jorton@redhat.com> 5.3.0-2
831    - update to v5 of systzdata patch; parses zone.tab and extracts
832      timezone->{country-code,long/lat,comment} mapping table
833    
834    * Sun Jul 12 2009 Remi Collet <Fedora@famillecollet.com> 5.3.0-1
835    - update to 5.3.0
836    - remove ncurses, dbase, mhash extensions
837    - add enchant, sqlite3, intl, phar, fileinfo extensions
838    - raise sqlite version to 3.6.0 (for sqlite3, build with --enable-load-extension)
839    - sync with upstream "production" php.ini
840    
841    * Sat Jun 21 2009 Remi Collet <Fedora@famillecollet.com> 5.2.10-1
842    - update to 5.2.10
843    - add interbase sub-package
844    
845    * Sat Feb 28 2009 Remi Collet <Fedora@FamilleCollet.com> - 5.2.9-1
846  - update to 5.2.9  - update to 5.2.9
847    
848  * 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
849  - add security fixes for json_decode() crash (#494530),  - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
850    and CVE-2008-5658 - including regression fix (#494531)  
851    * Thu Feb  5 2009 Joe Orton <jorton@redhat.com> 5.2.8-9
852  * Thu Feb 26 2009 Joe Orton <jorton@redhat.com> 5.2.6-3.el5s2  - add recode support, -recode subpackage (#106755)
853  - add security fixes for CVE-2008-3658, CVE-2008-3660,  - add -zts subpackage with ZTS-enabled build of httpd SAPI
854    CVE-2008-5498, CVE-2008-5557, CVE-2008-5814, CVE-2009-0754  - adjust php.conf to use -zts SAPI build for worker MPM
855    (#487371)  
856    * Wed Feb  4 2009 Joe Orton <jorton@redhat.com> 5.2.8-8
857    - fix patch fuzz, renumber patches
858    
859    * Wed Feb  4 2009 Joe Orton <jorton@redhat.com> 5.2.8-7
860    - drop obsolete configure args
861    - drop -odbc patch (#483690)
862    
863    * Mon Jan 26 2009 Joe Orton <jorton@redhat.com> 5.2.8-5
864    - split out sysvshm, sysvsem, sysvmsg, posix into php-process
865    
866    * Sun Jan 25 2009 Joe Orton <jorton@redhat.com> 5.2.8-4
867    - move wddx to php-xml, build curl shared in -common
868    - remove BR for expat-devel, bogus configure option
869    
870    * Fri Jan 23 2009 Joe Orton <jorton@redhat.com> 5.2.8-3
871    - rebuild for new MySQL
872    
873  * 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
874    - libtool 2 workaround for phpize (#476004)
875    - add missing php_embed.h (#457777)
876    
877    * Tue Dec 09 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.8-1
878    - update to 5.2.8
879    
880    * Sat Dec 06 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.7-1.1
881    - libtool 2 workaround
882    
883    * Fri Dec 05 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.7-1
884    - update to 5.2.7
885    - enable pdo_dblib driver in php-mssql
886    
887    * Mon Nov 24 2008 Joe Orton <jorton@redhat.com> 5.2.6-7
888    - tweak Summary, thanks to Richard Hughes
889    
890    * Tue Nov  4 2008 Joe Orton <jorton@redhat.com> 5.2.6-6
891    - move gd_README to php-gd
892    - update to r4 of systzdata patch; introduces a default timezone
893      name of "System/Localtime", which uses /etc/localtime (#469532)
894    
895    * Sat Sep 13 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.6-5
896    - enable XPM support in php-gd
897    - Fix BR for php-gd
898    
899    * Sun Jul 20 2008 Remi Collet <Fedora@FamilleCollet.com> 5.2.6-4
900    - enable T1lib support in php-gd
901    
902    * Mon Jul 14 2008 Joe Orton <jorton@redhat.com> 5.2.6-3
903  - update to 5.2.6  - update to 5.2.6
904    - sync default php.ini with upstream
905    - drop extension_dir from default php.ini, rely on hard-coded
906      default, to make php-common multilib-safe (#455091)
907    - update to r3 of systzdata patch
908    
909    * Thu Apr 24 2008 Joe Orton <jorton@redhat.com> 5.2.5-7
910    - split pspell extension out into php-spell (#443857)
911    
912  * 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
913  - rebuild for StackV2  - Autorebuild for GCC 4.3
914    
915  * 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
916  - 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