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